2019-09-25 22:13:20 -04:00
|
|
|
/*
|
|
|
|
Copyright 2019 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
import * as config from "config";
|
|
|
|
|
|
|
|
interface IConfig {
|
|
|
|
homeserverUrl: string;
|
|
|
|
accessToken: string;
|
2019-10-03 00:20:37 -04:00
|
|
|
pantalaimon: {
|
|
|
|
use: boolean;
|
|
|
|
username: string;
|
|
|
|
password: string;
|
|
|
|
};
|
2019-09-25 22:13:20 -04:00
|
|
|
dataPath: string;
|
|
|
|
autojoin: boolean;
|
2019-09-27 15:57:36 -04:00
|
|
|
managementRoom: string;
|
2019-10-04 22:59:30 -04:00
|
|
|
verboseLogging: boolean;
|
2019-10-04 23:02:37 -04:00
|
|
|
syncOnStartup: boolean;
|
2019-10-04 23:22:34 -04:00
|
|
|
verifyPermissionsOnStartup: boolean;
|
2019-09-27 17:44:28 -04:00
|
|
|
publishedBanListRoom: string;
|
2019-09-27 16:36:23 -04:00
|
|
|
protectedRooms: string[]; // matrix.to urls
|
2019-09-27 15:57:36 -04:00
|
|
|
banLists: string[]; // matrix.to urls
|
2019-09-25 22:13:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export default <IConfig>config;
|