matrix-dimension/web/app/shared/models/integration.ts
turt2live 58feb07119 Support vector's RSS bot. Adds #13
This has a side effect of adding #23 as well. A more performant caching method is probably needed (as this doesn't cache at all).
2017-05-28 22:51:04 -06:00

16 lines
No EOL
371 B
TypeScript

export interface Integration {
type: string;
integrationType: string;
userId: string;
name: string;
avatar: string;
about: string; // nullable
isEnabled: boolean;
isBroken: boolean;
hasConfig: boolean;
}
export interface RSSIntegration extends Integration {
feeds: string[];
immutableFeeds: {url: string, ownerId: string}[];
}