Files
huly-platform/dev/doc-import-tool/src/config.ts
T
2025-06-04 17:57:10 +05:00

22 lines
677 B
TypeScript

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