init
This commit is contained in:
commit
e176b1c094
17 changed files with 632 additions and 0 deletions
11
src/type/toml.d.ts
vendored
Normal file
11
src/type/toml.d.ts
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
declare module "*.toml" {
|
||||
const value: Record<string, {
|
||||
channel: string;
|
||||
tag: string;
|
||||
emoji: string;
|
||||
body: string;
|
||||
rss: string;
|
||||
category_filter?: string[];
|
||||
}>;
|
||||
export default value;
|
||||
}
|
||||
8
src/type/types.ts
Normal file
8
src/type/types.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export interface RssSource {
|
||||
channel: string;
|
||||
tag: string;
|
||||
emoji: string;
|
||||
body: string;
|
||||
rss: string;
|
||||
category_filter?: string[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue