mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
38ea8d30db
Fixes https://github.com/turt2live/matrix-dimension/issues/234 Later support for MSC1711 will be done in https://github.com/turt2live/matrix-dimension/issues/238
60 lines
1.2 KiB
TypeScript
60 lines
1.2 KiB
TypeScript
import { FE_Integration } from "./integration";
|
|
|
|
export interface FE_DimensionConfig {
|
|
admins: string[];
|
|
widgetBlacklist: string[];
|
|
homesever: {
|
|
name: string;
|
|
userId: string;
|
|
federationUrl: string;
|
|
federationHostname: string;
|
|
clientServerUrl: string;
|
|
};
|
|
}
|
|
|
|
export interface FE_DimensionVersion {
|
|
version: string;
|
|
}
|
|
|
|
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[];
|
|
}
|
|
|
|
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;
|
|
} |