migrate new model
This commit is contained in:
1 parent
5dae704649
commit
e2e17eef96
19 files changed
+202
-108
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user