import type { DatasetDataIndexItemType, DatasetDataSchemaType } from './type'; export type CreateDatasetDataProps = { teamId: string; tmbId: string; datasetId: string; collectionId: string; chunkIndex?: number; q: string; a?: string; indexes?: Omit[]; }; export type UpdateDatasetDataProps = { dataId: string; q?: string; a?: string; indexes?: (Omit & { dataId?: string; // pg data id })[]; }; export type PatchIndexesProps = { type: 'create' | 'update' | 'delete' | 'unChange'; index: Omit & { dataId?: string; }; };