matrix-dimension/src-ts/config.ts
Travis Ralston 826364e803 Re-implement the Scalar API in typescript
This is part of a rewrite for Dimension to better support integrations. Only the bare minimum scalar APIs are implemented at this point - dimension is non-functional.
2017-12-17 19:22:13 -07:00

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;