| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- import type { IStudioApiResponse } from "./Auth";
- export interface IArticleListApiResponse {
- article: string;
- title: string;
- level: string;
- children: number;
- }
- export interface IAnthologyDataResponse {
- uid: string;
- title: string;
- subtitle: string;
- summary: string;
- article_list: IArticleListApiResponse[];
- studio: IStudioApiResponse;
- lang: string;
- status: number;
- childrenNumber: number;
- created_at: string;
- updated_at: string;
- }
- export interface IAnthologyResponse {
- ok: boolean;
- message: string;
- data: IAnthologyDataResponse;
- }
- export interface IAnthologyListResponse {
- ok: boolean;
- message: string;
- data: {
- rows: IAnthologyDataResponse[];
- count: number;
- };
- }
- export interface IAnthologyStudioListApiResponse {
- ok: boolean;
- message: string;
- data: {
- count: number;
- rows: IAnthologyStudioListDataApiResponse[];
- };
- }
- export interface IAnthologyStudioListDataApiResponse {
- count: number;
- studio: IStudioApiResponse;
- }
- export interface IArticleDataRequest {
- uid: string;
- title: string;
- subtitle: string;
- summary: string;
- content: string;
- content_type: string;
- status: number;
- lang: string;
- }
- export interface IArticleDataResponse {
- uid: string;
- title: string;
- subtitle: string;
- summary: string;
- content: string;
- content_type: string;
- status: number;
- lang: string;
- created_at: string;
- updated_at: string;
- }
- export interface IArticleResponse {
- ok: boolean;
- message: string;
- data: IArticleDataResponse;
- }
- export interface IArticleListResponse {
- ok: boolean;
- message: string;
- data: {
- rows: IArticleDataResponse[];
- count: number;
- };
- }
- export interface IArticleCreateRequest {
- title: string;
- lang: string;
- studio: string;
- }
|