migrate new model

This commit is contained in:
AceDataCloud committed 2023-01-31 16:30:00 +08:00
1 parent 5dae704649
commit e2e17eef96
19 files changed
+202 -108

No files matched your search

+2 -2
View File
@@ -1,2 +1,2 @@
export * from '../service/models';
export * from '../service/operator';
export * from './models';
export * from './operator';
+6 -2
View File
@@ -1,3 +1,4 @@
import { IDocument } from '../document';
import { IService } from '../service';
export interface IForm {
@@ -47,15 +48,18 @@ export interface IApi {
id: string;
path: string;
endpoint: string;
alias: string;
price?: number;
title?: string;
introduction?: string;
apply_count?: number;
free_count?: number;
tags?: string[];
request: IRequest;
request_id: string;
responses: IResponse[];
response_ids: string[];
is_free?: boolean;
document?: IDocument;
document_id?: string;
service?: IService;
service_id?: string;
created_at?: string;