21 lines
357 B
TypeScript
21 lines
357 B
TypeScript
|
|
import type { Model } from "./base/model"
|
||
|
|
|
||
|
|
export type Article = Model & {
|
||
|
|
title: string
|
||
|
|
section_title: string
|
||
|
|
content: string
|
||
|
|
group_id: number
|
||
|
|
description?: string
|
||
|
|
cover_image?: string
|
||
|
|
sort: number
|
||
|
|
status: number
|
||
|
|
}
|
||
|
|
|
||
|
|
export type UploadImageResult = {
|
||
|
|
url: string
|
||
|
|
path: string
|
||
|
|
original_name: string
|
||
|
|
size: number
|
||
|
|
mime_type: string
|
||
|
|
}
|