UNPKG

@shencom/api

Version:
68 lines (63 loc) 1.27 kB
interface NcmsCategory { active: number; comCounters: any[]; createdAt: number; description: string; displayName: string; icon: string; id: string; isAudit: number; isComment: number; isUpvote: number; logo: string; pid: string; pids: string; sort: number; updatedAt: number; } interface CategoryIndex extends NcmsCategory { children: CategoryIndex[]; iconList: string[]; logo: string; } interface ArticlesIndex { active: number; digest: string; atype: string; author: string; categoryId: string; categoryIds: string; comCounters: any[]; count: number; counter: string; createdAt: number; displayName: string; id: string; isOriginal: number; isRecommend: number; isShare: number; isShowCover: number; isTopped: number; isTrend: number; mine: boolean; ncmsArticleSpecials: any[]; ncmsAttachments: any[]; ncmsCategory: NcmsCategory; needPage: boolean; participate: string; participateCount: number; picture: string; pictureUrl: string; shareType: number; sort: number; title: string; type: number; userId: string; } declare namespace SC { export namespace CSM { export type Category = CategoryIndex; export type Articles = ArticlesIndex; } } export { SC };