mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
2c1366d9d7
Using the RSS Bot as an example. Notably missing features: * Configuration (feeds) not retrieved * No actual configuration page
18 lines
458 B
TypeScript
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");
|
|
}
|
|
} |