platform/dev/doc-import-tool/src/config.ts
2024-08-29 15:10:37 +07:00

21 lines
585 B
TypeScript

import { Employee } from '@hcengineering/contact'
import { Ref, WorkspaceId } from '@hcengineering/core'
import { DocumentSpace } from '@hcengineering/controlled-documents'
import { StorageAdapter } from '@hcengineering/server-core'
import { HtmlConversionBackend } from './convert/convert'
export interface Config {
doc: string
token: string
collaborator?: string
collaboratorURL: string
uploadURL: string
workspaceId: WorkspaceId
owner: Ref<Employee>
backend: HtmlConversionBackend
space: Ref<DocumentSpace>
storageAdapter: StorageAdapter
specFile?: string
}