Files
Nexior/src/operators/service/models.ts
T
2023-03-03 01:40:49 +08:00

24 lines
439 B
TypeScript

import { IApi } from '../api/models';
export interface IService {
id: string;
title: string;
unit?: string;
price?: number;
description?: string;
tags?: string[];
thumbnail?: string;
introduction?: string;
api_ids?: string[];
apis?: IApi[];
created_at?: string;
updated_at?: string;
}
export interface IServiceListResponse {
count: number;
items: IService[];
}
export type IServiceDetailResponse = IService;