matrix-dimension/web/app/configs/complex-bot/rss/rss.complex-bot.component.ts
Travis Ralston 2c1366d9d7 Very early support for configuring complex bots
Using the RSS Bot as an example. Notably missing features:
* Configuration (feeds) not retrieved
* No actual configuration page
2018-03-25 21:02:32 -06:00

18 lines
458 B
TypeScript

import { ComplexBotComponent } from "../complex-bot.component";
import { Component } from "@angular/core";
interface RssConfig {
feeds: {
[feedUrl: string]: {}; // No options currently
};
}
@Component({
templateUrl: "rss.complex-bot.component.html",
styleUrls: ["rss.complex-bot.component.scss"],
})
export class RssComplexBotConfigComponent extends ComplexBotComponent<RssConfig> {
constructor() {
super("rss");
}
}