@crewdle/web-sdk-types 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/cluster/Cluster.d.ts +1 -1
- package/dist/core/sdk/SDKCloseOptions.d.ts +1 -0
- package/dist/external-storage/ExternalStorageConnection.d.ts +1 -0
- package/dist/external-storage/ExternalStorageConnection.js +1 -0
- package/dist/generative-ai/GenerativeAIContext.d.ts +1 -1
- package/dist/generative-ai/jobs/prompt/options/PromptFunctionParamsType.d.ts +1 -0
- package/dist/generative-ai/jobs/prompt/options/PromptFunctionParamsType.js +1 -0
- package/dist/generative-ai/jobs/prompt/result/PromptTypeText.d.ts +1 -0
- package/dist/generative-ai/jobs/prompt/result/PromptTypeVector.d.ts +1 -0
- package/dist/job/JobWorkerConnector.d.ts +4 -0
- package/dist/key-value-database/DatabaseTable.d.ts +1 -1
- package/dist/object-storage/DocumentParserConnector.d.ts +4 -0
- package/dist/object-storage/DocumentParserConnectorConstructor.d.ts +4 -0
- package/dist/object-storage/ObjectStoreBucketOptions.d.ts +4 -0
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ export interface ICluster extends IClusterEventEmitter {
|
|
|
41
41
|
* @param name The name of the external storage connection.
|
|
42
42
|
* @param type The type of the external storage connection.
|
|
43
43
|
* @throws {@link SDKClientErrorCodes.ExternalStorageConnectionAlreadyExists} if the external storage connection is already open.
|
|
44
|
-
* @throws {@link SDKClientErrorCodes.
|
|
44
|
+
* @throws {@link SDKClientErrorCodes.ExternalStorageNameNotString} if the name is not a string.
|
|
45
45
|
* @returns The external storage connection.
|
|
46
46
|
*/
|
|
47
47
|
openExternalStorageConnection(name: string, type: ExternalStorageType): Promise<IExternalStorageConnection>;
|
|
@@ -26,7 +26,7 @@ export interface IGenerativeAIContext {
|
|
|
26
26
|
ratePrompt(parameters: IGenerativeAIRatingCreateJobParameters): Promise<IGenerativeAIRatingResult>;
|
|
27
27
|
/**
|
|
28
28
|
* Download a document.
|
|
29
|
-
* @param
|
|
29
|
+
* @param documentPath The path of the document to download.
|
|
30
30
|
* @returns A promise that resolves with the result containing the document as an ArrayBuffer.
|
|
31
31
|
*/
|
|
32
32
|
downloadDocument(documentPath: string): Promise<IGenerativeAIDownloadDocumentResult>;
|
|
@@ -52,7 +52,7 @@ export interface IDatabaseTable<T extends IValueType> {
|
|
|
52
52
|
count(query?: IDatabaseTableQuery | IQueryBuilder): Promise<number>;
|
|
53
53
|
/**
|
|
54
54
|
* Subscribe to changes in the database table.
|
|
55
|
-
* @
|
|
55
|
+
* @param callback The callback to call when the database table changes.
|
|
56
56
|
*/
|
|
57
57
|
subscribe(callback: (event: IDatabaseTableEvent<T>) => void): void;
|
|
58
58
|
/**
|