mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
feat(confluence-api-import): add import mappings type
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
import { Json, Timestamp, Generated } from '@docmost/db/types/db';
|
||||
|
||||
export interface ConfluenceApiImportMappings {
|
||||
id: Generated<string>;
|
||||
workspaceId: string;
|
||||
entityType: string;
|
||||
confluenceId: string;
|
||||
docmostId: string;
|
||||
status: Generated<string>;
|
||||
createdAt: Generated<Timestamp>;
|
||||
updatedAt: Generated<Timestamp>;
|
||||
}
|
||||
|
||||
export interface ConfluenceApiImports {
|
||||
id: Generated<string>;
|
||||
fileTaskId: string;
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { DB } from '@docmost/db/types/db';
|
||||
import { PageEmbeddings } from '@docmost/db/types/embeddings.types';
|
||||
import { ConfluenceApiImports } from './custom.types';
|
||||
import { ConfluenceApiImports, ConfluenceApiImportMappings } from './custom.types';
|
||||
|
||||
export interface DbInterface extends DB {
|
||||
pageEmbeddings: PageEmbeddings;
|
||||
confluenceApiImports: ConfluenceApiImports;
|
||||
confluenceApiImportMappings: ConfluenceApiImportMappings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user