update document integration
This commit is contained in:
1 parent
c7fdcd0a4b
commit
798de13a35
14 files changed
+209
-151
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { IApi } from '../api/models';
|
||||
|
||||
export interface IDocument {
|
||||
id?: string;
|
||||
name?: string;
|
||||
type: 'API' | 'TEXT';
|
||||
title?: string;
|
||||
content?: string;
|
||||
rank?: number;
|
||||
api?: IApi;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
export interface IDocumentListResponse {
|
||||
count: number;
|
||||
items: IDocument[];
|
||||
}
|
||||
|
||||
export type IDocumentDetailResponse = IDocument;
|
||||
Reference in new issue
Block a user