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[];
|
|
|
|
homesever: {
|
|
|
|
name: string;
|
|
|
|
userId: string;
|
|
|
|
federationUrl: string;
|
2018-03-24 19:09:34 -04:00
|
|
|
clientServerUrl: string;
|
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
|
|
|
}
|