Files
core/packages/api-client/models/recently.ts
Innei b22666694a chore: lint
Signed-off-by: Innei <tukon479@gmail.com>
2023-06-10 16:36:14 +08:00

23 lines
410 B
TypeScript

import type { BaseCommentIndexModel } from './base'
export enum RecentlyRefTypes {
Post = 'Post',
Note = 'Note',
Page = 'Page',
}
export type RecentlyRefType = {
title: string
url: string
}
export interface RecentlyModel extends BaseCommentIndexModel {
content: string
ref?: RecentlyRefType & { [key: string]: any }
refId?: string
refType?: RecentlyRefTypes
up: number
down: number
}