@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.
@@ -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.ExternalStorageConnectionNameNotString} if the name is not a string.
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>;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Represents the options for closing the SDK.
3
+ * @category Core
3
4
  */
4
5
  export interface ISDKCloseOptions {
5
6
  /**
@@ -3,6 +3,7 @@ import { IDataStream } from '../core';
3
3
  import { IExternalStorageListOptions } from '.';
4
4
  /**
5
5
  * The type of external storage.
6
+ * @category External Storage
6
7
  */
7
8
  export declare enum ExternalStorageType {
8
9
  /**
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The type of external storage.
3
+ * @category External Storage
3
4
  */
4
5
  export var ExternalStorageType;
5
6
  (function (ExternalStorageType) {
@@ -26,7 +26,7 @@ export interface IGenerativeAIContext {
26
26
  ratePrompt(parameters: IGenerativeAIRatingCreateJobParameters): Promise<IGenerativeAIRatingResult>;
27
27
  /**
28
28
  * Download a document.
29
- * @param parameters The parameters of the download document job.
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>;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The type of parameters supported for agentic functions
3
+ * @category AI
3
4
  */
4
5
  export declare enum PromptFunctionParamsType {
5
6
  /**
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The type of parameters supported for agentic functions
3
+ * @category AI
3
4
  */
4
5
  export var PromptFunctionParamsType;
5
6
  (function (PromptFunctionParamsType) {
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * The AI prompt type text
3
+ * @category AI
3
4
  */
4
5
  export type PromptTypeText = string | string[];
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * The AI prompt type vector
3
+ * @category AI
3
4
  */
4
5
  export type PromptTypeVector = number[];
@@ -1,4 +1,8 @@
1
1
  import { IJobParameters, IJobResult } from './Job';
2
+ /**
3
+ * The Job Worker options.
4
+ * @category Job
5
+ */
2
6
  export interface IJobWorkerOptions {
3
7
  }
4
8
  /**
@@ -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
- * @params callback The callback to call when the database table changes.
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
  /**
@@ -1,4 +1,8 @@
1
1
  import { IFile } from './File';
2
+ /**
3
+ * The interface for the document parser connector.
4
+ * @category Object Storage
5
+ */
2
6
  export interface IDocumentParserConnector {
3
7
  /**
4
8
  * Parses a document.
@@ -1,2 +1,6 @@
1
1
  import { IDocumentParserConnector } from './DocumentParserConnector';
2
+ /**
3
+ * The constructor for the document parser connector.
4
+ * @category Object Storage
5
+ */
2
6
  export type DocumentParserConnectorConstructor = new () => IDocumentParserConnector;
@@ -7,4 +7,8 @@ export interface IObjectStoreBucketOptions {
7
7
  * Whether to sync the content of the bucket.
8
8
  */
9
9
  syncContent?: boolean;
10
+ /**
11
+ * Whether the bucket is standalone.
12
+ */
13
+ standalone?: boolean;
10
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewdle/web-sdk-types",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "The Crewdle Mist Web SDK public types and interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",