mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-07 10:58:42 +08:00
18 lines
410 B
TypeScript
18 lines
410 B
TypeScript
import { DoubanSubjectState } from "src/org/wanxp/constant/DoubanUserState";
|
|
|
|
export interface UserStateSubject {
|
|
tags: string[];
|
|
rate: number;
|
|
state: DoubanSubjectState;
|
|
comment: string;
|
|
collectionDate: Date;
|
|
}
|
|
|
|
export const DoubanUserParameter = {
|
|
MY_TAGS: '{{myTags}}',
|
|
MY_RATING: '{{myRating}}',
|
|
MY_STATE: '{{myState}}',
|
|
MY_COMMENT: '{{myComment}}',
|
|
MY_COLLECTION_DATE: '{{myCollectionDate}}',
|
|
}
|