mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
21 lines
423 B
TypeScript
21 lines
423 B
TypeScript
|
import * as config from "config";
|
||
|
import { LogConfig } from "matrix-js-snippets";
|
||
|
|
||
|
export interface DimensionConfig {
|
||
|
web: {
|
||
|
port: number;
|
||
|
address: string;
|
||
|
};
|
||
|
homeserver: {
|
||
|
name: string;
|
||
|
accessToken: string;
|
||
|
};
|
||
|
widgetBlacklist: string[];
|
||
|
database: {
|
||
|
file: string;
|
||
|
};
|
||
|
admins: string[];
|
||
|
logging: LogConfig;
|
||
|
}
|
||
|
|
||
|
export default <DimensionConfig>config;
|