2017-12-28 20:22:50 -05:00
|
|
|
import { FE_Integration } from "./integration";
|
|
|
|
|
2017-12-24 04:02:57 -05:00
|
|
|
export interface FE_DimensionConfig {
|
2017-12-23 21:45:34 -05:00
|
|
|
admins: string[];
|
|
|
|
widgetBlacklist: string[];
|
2021-08-11 17:41:29 -04:00
|
|
|
homeserver: {
|
2017-12-23 21:45:34 -05:00
|
|
|
name: string;
|
|
|
|
userId: string;
|
|
|
|
federationUrl: string;
|
2019-02-07 23:17:50 -05:00
|
|
|
federationHostname: string;
|
2018-03-24 19:09:34 -04:00
|
|
|
clientServerUrl: string;
|
2017-12-23 21:45:34 -05:00
|
|
|
};
|
2019-03-12 21:08:12 -04:00
|
|
|
sessionInfo: {
|
|
|
|
numTokens: number;
|
|
|
|
};
|
2017-12-23 21:45:34 -05:00
|
|
|
}
|
|
|
|
|
2017-12-24 04:02:57 -05:00
|
|
|
export interface FE_DimensionVersion {
|
2017-12-23 21:45:34 -05:00
|
|
|
version: string;
|
2017-12-28 20:22:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface FE_Upstream {
|
|
|
|
id: number;
|
|
|
|
name: string;
|
|
|
|
type: string;
|
|
|
|
scalarUrl: string;
|
|
|
|
apiUrl: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface FE_Appservice {
|
|
|
|
id: number;
|
|
|
|
hsToken: string;
|
|
|
|
asToken: string;
|
|
|
|
userPrefix: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface FE_NebConfiguration {
|
|
|
|
id: number;
|
|
|
|
adminUrl?: string;
|
|
|
|
appserviceId?: string;
|
|
|
|
upstreamId?: string;
|
|
|
|
integrations: FE_Integration[];
|
2018-10-23 00:10:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface FE_CustomSimpleBot extends FE_CustomSimpleBotTemplate {
|
|
|
|
id: number;
|
|
|
|
type: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface FE_CustomSimpleBotTemplate {
|
|
|
|
name: string;
|
|
|
|
avatarUrl: string;
|
|
|
|
description: string;
|
|
|
|
isEnabled: boolean;
|
|
|
|
isPublic: boolean;
|
|
|
|
userId: string;
|
|
|
|
accessToken: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface FE_UserProfile {
|
|
|
|
name: string;
|
|
|
|
avatarUrl: string;
|
2017-12-23 21:45:34 -05:00
|
|
|
}
|