Type Alias DataSource

Specification on where to fetch the files for. This is required when the type == 'file'. Only one of path and files can be set. Path takes precedence if both are provided.

type DataSource = {
    chunking?: Chunking;
    contentSummary: ContentSummary;
    fileConfig?: DataSourceFileConfig;
    id: string;
    name?: string;
    sourceCount?: number;
    spaceId?: string;
    syncInfo?: DataSourceSyncStatus;
    type: "file" | "web" | "database";
}
Index

Properties

chunking?: Chunking
contentSummary: ContentSummary
id: string
name?: string
sourceCount?: number
spaceId?: string
type: "file" | "web" | "database"