diff --git a/src/cloud.ts b/src/cloud.ts index 768aa32..b8ab880 100644 --- a/src/cloud.ts +++ b/src/cloud.ts @@ -1,10 +1,9 @@ import type { AnyObject, SearchParams, SearchResult } from './lib/types.ts' import type { Index } from './collection.ts' +import type { OramaCloudSearchParams } from './lib/types.ts' import { CollectionManager } from './collection.ts' -type OramaCloudSearchParams = Omit & { datasources: string[] } - export interface ProjectManagerConfig { cluster?: { writerURL?: string diff --git a/src/lib/types.ts b/src/lib/types.ts index 5a08e01..2c18c21 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -77,7 +77,7 @@ export type SearchParams = { userID?: string } -export type CloudSearchParams = Omit & { datasourceIDs?: string[] } +export type OramaCloudSearchParams = Omit & { datasources?: string[] } export type Hit = { id: string