@uniformdev/mesh-sdk 19.68.1-alpha.27 → 19.72.2-alpha.0

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/index.d.mts CHANGED
@@ -98,8 +98,27 @@ interface paths$1 {
98
98
  };
99
99
  unstable_ai?: {
100
100
  generateUrl: string;
101
+ metadataUrl?: string;
101
102
  };
102
103
  };
104
+ unstable_prompts?: {
105
+ /** Format: uuid */
106
+ id: string;
107
+ name: string;
108
+ text: string;
109
+ data?: {
110
+ arguments?: {
111
+ [key: string]: {
112
+ type: string;
113
+ displayName?: string | null;
114
+ helpText?: string | null;
115
+ default?: string | null;
116
+ };
117
+ } | null;
118
+ metadata?: unknown;
119
+ } | null;
120
+ parameterTypes: string[];
121
+ }[];
103
122
  }[];
104
123
  };
105
124
  };
@@ -192,8 +211,27 @@ interface paths$1 {
192
211
  };
193
212
  unstable_ai?: {
194
213
  generateUrl: string;
214
+ metadataUrl?: string;
195
215
  };
196
216
  };
217
+ unstable_prompts?: {
218
+ /** Format: uuid */
219
+ id: string;
220
+ name: string;
221
+ text: string;
222
+ data?: {
223
+ arguments?: {
224
+ [key: string]: {
225
+ type: string;
226
+ displayName?: string | null;
227
+ helpText?: string | null;
228
+ default?: string | null;
229
+ };
230
+ } | null;
231
+ metadata?: unknown;
232
+ } | null;
233
+ parameterTypes: string[];
234
+ }[];
197
235
  };
198
236
  };
199
237
  };
@@ -285,8 +323,27 @@ interface paths$1 {
285
323
  };
286
324
  unstable_ai?: {
287
325
  generateUrl: string;
326
+ metadataUrl?: string;
288
327
  };
289
328
  };
329
+ unstable_prompts?: {
330
+ /** Format: uuid */
331
+ id: string;
332
+ name: string;
333
+ text: string;
334
+ data?: {
335
+ arguments?: {
336
+ [key: string]: {
337
+ type: string;
338
+ displayName?: string | null;
339
+ helpText?: string | null;
340
+ default?: string | null;
341
+ };
342
+ } | null;
343
+ metadata?: unknown;
344
+ } | null;
345
+ parameterTypes: string[];
346
+ }[];
290
347
  };
291
348
  };
292
349
  };
@@ -627,8 +684,26 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
627
684
  } | undefined;
628
685
  unstable_ai?: {
629
686
  generateUrl: string;
687
+ metadataUrl?: string | undefined;
630
688
  } | undefined;
631
689
  };
690
+ unstable_prompts?: {
691
+ id: string;
692
+ name: string;
693
+ text: string;
694
+ data?: {
695
+ arguments?: {
696
+ [key: string]: {
697
+ type: string;
698
+ displayName?: string | null | undefined;
699
+ helpText?: string | null | undefined;
700
+ default?: string | null | undefined;
701
+ };
702
+ } | null | undefined;
703
+ metadata?: unknown;
704
+ } | null | undefined;
705
+ parameterTypes: string[];
706
+ }[] | undefined;
632
707
  }>;
633
708
  /** Deletes a mesh app from a team */
634
709
  remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
@@ -771,7 +846,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
771
846
  * Defines methods used for interacting with a Mesh location
772
847
  * To receive useful typings, check the `type` property of the location to narrow the typing.
773
848
  */
774
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
849
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
775
850
  interface MeshContextData {
776
851
  locationKey: string;
777
852
  locationType: MeshLocationTypes;
@@ -994,7 +1069,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
994
1069
  prompt: string;
995
1070
  promptMetadata: Record<string, unknown>;
996
1071
  };
1072
+ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
1073
+ settings: TIntegrationConfiguration;
1074
+ };
997
1075
  type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
1076
+ type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
998
1077
 
999
1078
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
1000
1079
  /** Settings defined at the integration level (arbitrary type used on settings location) */
@@ -1102,4 +1181,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
1102
1181
  autoResizingDisabled?: boolean;
1103
1182
  }): Promise<UniformMeshSDK | undefined>;
1104
1183
 
1105
- export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
1184
+ export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, PromptSettingsLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
package/dist/index.d.ts CHANGED
@@ -98,8 +98,27 @@ interface paths$1 {
98
98
  };
99
99
  unstable_ai?: {
100
100
  generateUrl: string;
101
+ metadataUrl?: string;
101
102
  };
102
103
  };
104
+ unstable_prompts?: {
105
+ /** Format: uuid */
106
+ id: string;
107
+ name: string;
108
+ text: string;
109
+ data?: {
110
+ arguments?: {
111
+ [key: string]: {
112
+ type: string;
113
+ displayName?: string | null;
114
+ helpText?: string | null;
115
+ default?: string | null;
116
+ };
117
+ } | null;
118
+ metadata?: unknown;
119
+ } | null;
120
+ parameterTypes: string[];
121
+ }[];
103
122
  }[];
104
123
  };
105
124
  };
@@ -192,8 +211,27 @@ interface paths$1 {
192
211
  };
193
212
  unstable_ai?: {
194
213
  generateUrl: string;
214
+ metadataUrl?: string;
195
215
  };
196
216
  };
217
+ unstable_prompts?: {
218
+ /** Format: uuid */
219
+ id: string;
220
+ name: string;
221
+ text: string;
222
+ data?: {
223
+ arguments?: {
224
+ [key: string]: {
225
+ type: string;
226
+ displayName?: string | null;
227
+ helpText?: string | null;
228
+ default?: string | null;
229
+ };
230
+ } | null;
231
+ metadata?: unknown;
232
+ } | null;
233
+ parameterTypes: string[];
234
+ }[];
197
235
  };
198
236
  };
199
237
  };
@@ -285,8 +323,27 @@ interface paths$1 {
285
323
  };
286
324
  unstable_ai?: {
287
325
  generateUrl: string;
326
+ metadataUrl?: string;
288
327
  };
289
328
  };
329
+ unstable_prompts?: {
330
+ /** Format: uuid */
331
+ id: string;
332
+ name: string;
333
+ text: string;
334
+ data?: {
335
+ arguments?: {
336
+ [key: string]: {
337
+ type: string;
338
+ displayName?: string | null;
339
+ helpText?: string | null;
340
+ default?: string | null;
341
+ };
342
+ } | null;
343
+ metadata?: unknown;
344
+ } | null;
345
+ parameterTypes: string[];
346
+ }[];
290
347
  };
291
348
  };
292
349
  };
@@ -627,8 +684,26 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
627
684
  } | undefined;
628
685
  unstable_ai?: {
629
686
  generateUrl: string;
687
+ metadataUrl?: string | undefined;
630
688
  } | undefined;
631
689
  };
690
+ unstable_prompts?: {
691
+ id: string;
692
+ name: string;
693
+ text: string;
694
+ data?: {
695
+ arguments?: {
696
+ [key: string]: {
697
+ type: string;
698
+ displayName?: string | null | undefined;
699
+ helpText?: string | null | undefined;
700
+ default?: string | null | undefined;
701
+ };
702
+ } | null | undefined;
703
+ metadata?: unknown;
704
+ } | null | undefined;
705
+ parameterTypes: string[];
706
+ }[] | undefined;
632
707
  }>;
633
708
  /** Deletes a mesh app from a team */
634
709
  remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
@@ -771,7 +846,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
771
846
  * Defines methods used for interacting with a Mesh location
772
847
  * To receive useful typings, check the `type` property of the location to narrow the typing.
773
848
  */
774
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
849
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
775
850
  interface MeshContextData {
776
851
  locationKey: string;
777
852
  locationType: MeshLocationTypes;
@@ -994,7 +1069,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
994
1069
  prompt: string;
995
1070
  promptMetadata: Record<string, unknown>;
996
1071
  };
1072
+ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
1073
+ settings: TIntegrationConfiguration;
1074
+ };
997
1075
  type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
1076
+ type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
998
1077
 
999
1078
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
1000
1079
  /** Settings defined at the integration level (arbitrary type used on settings location) */
@@ -1102,4 +1181,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
1102
1181
  autoResizingDisabled?: boolean;
1103
1182
  }): Promise<UniformMeshSDK | undefined>;
1104
1183
 
1105
- export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
1184
+ export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, PromptSettingsLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.68.1-alpha.27+9da5c6b31",
3
+ "version": "19.72.2-alpha.0+7c41d864e",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -33,14 +33,14 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@uniformdev/canvas": "19.68.1-alpha.27+9da5c6b31",
37
- "@uniformdev/context": "19.68.1-alpha.27+9da5c6b31",
38
- "@uniformdev/project-map": "19.68.1-alpha.27+9da5c6b31",
36
+ "@uniformdev/canvas": "19.72.2-alpha.0+7c41d864e",
37
+ "@uniformdev/context": "19.72.2-alpha.0+7c41d864e",
38
+ "@uniformdev/project-map": "19.72.2-alpha.0+7c41d864e",
39
39
  "imagesloaded": "^5.0.0",
40
40
  "mitt": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/imagesloaded": "^4.1.2"
44
44
  },
45
- "gitHead": "9da5c6b318807a05aa003ceb52317b27f4e1d8cf"
45
+ "gitHead": "7c41d864eb265bf902149f75d45ad2414ddb8c0e"
46
46
  }