mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-10 12:38:43 +08:00
31 lines
563 B
TypeScript
31 lines
563 B
TypeScript
export default class DoubanSubject {
|
|
id: string;
|
|
title: string;
|
|
type: string;
|
|
score:number;
|
|
image:string;
|
|
url: string;
|
|
desc: string;
|
|
publisher:string;
|
|
datePublished:Date;
|
|
genre:string[];
|
|
}
|
|
|
|
const ParameterMap:Map<string, string> = new Map([
|
|
['id', ''],
|
|
]);
|
|
|
|
export const DoubanParameter = {
|
|
ID: '{{id}}',
|
|
TITLE: '{{title}}',
|
|
TYPE: '{{type}}',
|
|
SCORE: '{{score}}',
|
|
IMAGE: '{{image}}',
|
|
URL: '{{url}}',
|
|
DESC: '{{desc}}',
|
|
PUBLISHER: '{{publisher}}',
|
|
DATE_PUBLISHED: '{{datePublished}}',
|
|
TIME_PUBLISHED: '{{timePublished}}',
|
|
GENRE: '{{genre}}',
|
|
}
|