mirror of
https://github.com/docmost/docmost.git
synced 2026-05-22 01:32:55 +08:00
types
This commit is contained in:
@@ -1,16 +1,5 @@
|
|||||||
import { Json, Timestamp, Generated } from '@docmost/db/types/db';
|
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 {
|
export interface ConfluenceApiImports {
|
||||||
id: Generated<string>;
|
id: Generated<string>;
|
||||||
fileTaskId: string;
|
fileTaskId: string;
|
||||||
@@ -25,6 +14,10 @@ export interface ConfluenceApiImports {
|
|||||||
importedPages: Generated<number>;
|
importedPages: Generated<number>;
|
||||||
totalUsers: Generated<number>;
|
totalUsers: Generated<number>;
|
||||||
importedUsers: Generated<number>;
|
importedUsers: Generated<number>;
|
||||||
|
totalAttachments: Generated<number>;
|
||||||
|
importedAttachments: Generated<number>;
|
||||||
|
totalLabels: Generated<number>;
|
||||||
|
importedLabels: Generated<number>;
|
||||||
idMapping: Generated<Json>;
|
idMapping: Generated<Json>;
|
||||||
warnings: Generated<Json>;
|
warnings: Generated<Json>;
|
||||||
currentPhase: string | null;
|
currentPhase: string | null;
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
import { DB } from '@docmost/db/types/db';
|
import { DB } from '@docmost/db/types/db';
|
||||||
import { PageEmbeddings } from '@docmost/db/types/embeddings.types';
|
import { PageEmbeddings } from '@docmost/db/types/embeddings.types';
|
||||||
import { ConfluenceApiImports, ConfluenceApiImportMappings } from './custom.types';
|
import { ConfluenceApiImports } from './custom.types';
|
||||||
|
|
||||||
export interface DbInterface extends DB {
|
export interface DbInterface extends DB {
|
||||||
pageEmbeddings: PageEmbeddings;
|
pageEmbeddings: PageEmbeddings;
|
||||||
confluenceApiImports: ConfluenceApiImports;
|
confluenceApiImports: ConfluenceApiImports;
|
||||||
confluenceApiImportMappings: ConfluenceApiImportMappings;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user