obsidian-douban/src/org/wanxp/douban/data/model/UserStateSubject.ts

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}}',
}