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

+6 -1
View File
@@ -1,9 +1,14 @@
import { IApi } from '../api/models';
export enum IDocumentType {
API = 'Api',
TEXT = 'Text'
}
export interface IDocument {
id?: string;
name?: string;
type: 'API' | 'TEXT';
type: IDocumentType;
title?: string;
content?: string;
rank?: number;