mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
23 lines
601 B
TypeScript
23 lines
601 B
TypeScript
export interface Integration {
|
|
type: string;
|
|
integrationType: string;
|
|
userId: string;
|
|
name: string;
|
|
avatar: string;
|
|
about: string; // nullable
|
|
isEnabled: boolean;
|
|
isBroken: boolean;
|
|
hasConfig: boolean;
|
|
requirements?: any; // nullable
|
|
bridgeError: string; // nullable
|
|
}
|
|
|
|
export interface RSSIntegration extends Integration {
|
|
feeds: string[];
|
|
immutableFeeds: {url: string, ownerId: string}[];
|
|
}
|
|
|
|
export interface IRCIntegration extends Integration {
|
|
availableNetworks: {name: string, id: string}[];
|
|
channels: {[networkId: string]: string[]};
|
|
} |