matrix-dimension/src-ts/config.ts

21 lines
423 B
TypeScript
Raw Normal View History

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;