@uniformdev/mesh-sdk 19.61.1-alpha.13 → 19.61.1-alpha.18

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
@@ -95,11 +95,35 @@ interface paths$1 {
95
95
  }[];
96
96
  unstable_assetLibrary?: {
97
97
  url: string;
98
+ dynamicAssets?: {
99
+ dataConnectorId: string;
100
+ assetsListArchetypeId: string;
101
+ singleAssetArchetypeId: string;
102
+ };
98
103
  };
99
104
  unstable_ai?: {
100
105
  generateUrl: string;
106
+ metadataUrl?: string;
101
107
  };
102
108
  };
109
+ unstable_prompts?: {
110
+ /** Format: uuid */
111
+ id: string;
112
+ name: string;
113
+ text: string;
114
+ data?: {
115
+ arguments?: {
116
+ [key: string]: {
117
+ type: string;
118
+ displayName?: string | null;
119
+ helpText?: string | null;
120
+ default?: string | null;
121
+ };
122
+ } | null;
123
+ metadata?: unknown;
124
+ } | null;
125
+ parameterTypes: string[];
126
+ }[];
103
127
  }[];
104
128
  };
105
129
  };
@@ -189,11 +213,35 @@ interface paths$1 {
189
213
  }[];
190
214
  unstable_assetLibrary?: {
191
215
  url: string;
216
+ dynamicAssets?: {
217
+ dataConnectorId: string;
218
+ assetsListArchetypeId: string;
219
+ singleAssetArchetypeId: string;
220
+ };
192
221
  };
193
222
  unstable_ai?: {
194
223
  generateUrl: string;
224
+ metadataUrl?: string;
195
225
  };
196
226
  };
227
+ unstable_prompts?: {
228
+ /** Format: uuid */
229
+ id: string;
230
+ name: string;
231
+ text: string;
232
+ data?: {
233
+ arguments?: {
234
+ [key: string]: {
235
+ type: string;
236
+ displayName?: string | null;
237
+ helpText?: string | null;
238
+ default?: string | null;
239
+ };
240
+ } | null;
241
+ metadata?: unknown;
242
+ } | null;
243
+ parameterTypes: string[];
244
+ }[];
197
245
  };
198
246
  };
199
247
  };
@@ -282,11 +330,35 @@ interface paths$1 {
282
330
  }[];
283
331
  unstable_assetLibrary?: {
284
332
  url: string;
333
+ dynamicAssets?: {
334
+ dataConnectorId: string;
335
+ assetsListArchetypeId: string;
336
+ singleAssetArchetypeId: string;
337
+ };
285
338
  };
286
339
  unstable_ai?: {
287
340
  generateUrl: string;
341
+ metadataUrl?: string;
288
342
  };
289
343
  };
344
+ unstable_prompts?: {
345
+ /** Format: uuid */
346
+ id: string;
347
+ name: string;
348
+ text: string;
349
+ data?: {
350
+ arguments?: {
351
+ [key: string]: {
352
+ type: string;
353
+ displayName?: string | null;
354
+ helpText?: string | null;
355
+ default?: string | null;
356
+ };
357
+ } | null;
358
+ metadata?: unknown;
359
+ } | null;
360
+ parameterTypes: string[];
361
+ }[];
290
362
  };
291
363
  };
292
364
  };
@@ -624,11 +696,34 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
624
696
  }[] | undefined;
625
697
  unstable_assetLibrary?: {
626
698
  url: string;
699
+ dynamicAssets?: {
700
+ dataConnectorId: string;
701
+ assetsListArchetypeId: string;
702
+ singleAssetArchetypeId: string;
703
+ } | undefined;
627
704
  } | undefined;
628
705
  unstable_ai?: {
629
706
  generateUrl: string;
707
+ metadataUrl?: string | undefined;
630
708
  } | undefined;
631
709
  };
710
+ unstable_prompts?: {
711
+ id: string;
712
+ name: string;
713
+ text: string;
714
+ data?: {
715
+ arguments?: {
716
+ [key: string]: {
717
+ type: string;
718
+ displayName?: string | null | undefined;
719
+ helpText?: string | null | undefined;
720
+ default?: string | null | undefined;
721
+ };
722
+ } | null | undefined;
723
+ metadata?: unknown;
724
+ } | null | undefined;
725
+ parameterTypes: string[];
726
+ }[] | undefined;
632
727
  }>;
633
728
  /** Deletes a mesh app from a team */
634
729
  remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
@@ -777,7 +872,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
777
872
  * Defines methods used for interacting with a Mesh location
778
873
  * To receive useful typings, check the `type` property of the location to narrow the typing.
779
874
  */
780
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
875
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
781
876
  interface MeshContextData {
782
877
  locationKey: string;
783
878
  locationType: MeshLocationTypes;
@@ -1000,7 +1095,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
1000
1095
  prompt: string;
1001
1096
  promptMetadata: Record<string, unknown>;
1002
1097
  };
1098
+ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
1099
+ settings: TIntegrationConfiguration;
1100
+ };
1003
1101
  type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
1102
+ type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
1004
1103
 
1005
1104
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
1006
1105
  /** Settings defined at the integration level (arbitrary type used on settings location) */
@@ -1108,4 +1207,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
1108
1207
  autoResizingDisabled?: boolean;
1109
1208
  }): Promise<UniformMeshSDK | undefined>;
1110
1209
 
1111
- 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 };
1210
+ 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
@@ -95,11 +95,35 @@ interface paths$1 {
95
95
  }[];
96
96
  unstable_assetLibrary?: {
97
97
  url: string;
98
+ dynamicAssets?: {
99
+ dataConnectorId: string;
100
+ assetsListArchetypeId: string;
101
+ singleAssetArchetypeId: string;
102
+ };
98
103
  };
99
104
  unstable_ai?: {
100
105
  generateUrl: string;
106
+ metadataUrl?: string;
101
107
  };
102
108
  };
109
+ unstable_prompts?: {
110
+ /** Format: uuid */
111
+ id: string;
112
+ name: string;
113
+ text: string;
114
+ data?: {
115
+ arguments?: {
116
+ [key: string]: {
117
+ type: string;
118
+ displayName?: string | null;
119
+ helpText?: string | null;
120
+ default?: string | null;
121
+ };
122
+ } | null;
123
+ metadata?: unknown;
124
+ } | null;
125
+ parameterTypes: string[];
126
+ }[];
103
127
  }[];
104
128
  };
105
129
  };
@@ -189,11 +213,35 @@ interface paths$1 {
189
213
  }[];
190
214
  unstable_assetLibrary?: {
191
215
  url: string;
216
+ dynamicAssets?: {
217
+ dataConnectorId: string;
218
+ assetsListArchetypeId: string;
219
+ singleAssetArchetypeId: string;
220
+ };
192
221
  };
193
222
  unstable_ai?: {
194
223
  generateUrl: string;
224
+ metadataUrl?: string;
195
225
  };
196
226
  };
227
+ unstable_prompts?: {
228
+ /** Format: uuid */
229
+ id: string;
230
+ name: string;
231
+ text: string;
232
+ data?: {
233
+ arguments?: {
234
+ [key: string]: {
235
+ type: string;
236
+ displayName?: string | null;
237
+ helpText?: string | null;
238
+ default?: string | null;
239
+ };
240
+ } | null;
241
+ metadata?: unknown;
242
+ } | null;
243
+ parameterTypes: string[];
244
+ }[];
197
245
  };
198
246
  };
199
247
  };
@@ -282,11 +330,35 @@ interface paths$1 {
282
330
  }[];
283
331
  unstable_assetLibrary?: {
284
332
  url: string;
333
+ dynamicAssets?: {
334
+ dataConnectorId: string;
335
+ assetsListArchetypeId: string;
336
+ singleAssetArchetypeId: string;
337
+ };
285
338
  };
286
339
  unstable_ai?: {
287
340
  generateUrl: string;
341
+ metadataUrl?: string;
288
342
  };
289
343
  };
344
+ unstable_prompts?: {
345
+ /** Format: uuid */
346
+ id: string;
347
+ name: string;
348
+ text: string;
349
+ data?: {
350
+ arguments?: {
351
+ [key: string]: {
352
+ type: string;
353
+ displayName?: string | null;
354
+ helpText?: string | null;
355
+ default?: string | null;
356
+ };
357
+ } | null;
358
+ metadata?: unknown;
359
+ } | null;
360
+ parameterTypes: string[];
361
+ }[];
290
362
  };
291
363
  };
292
364
  };
@@ -624,11 +696,34 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
624
696
  }[] | undefined;
625
697
  unstable_assetLibrary?: {
626
698
  url: string;
699
+ dynamicAssets?: {
700
+ dataConnectorId: string;
701
+ assetsListArchetypeId: string;
702
+ singleAssetArchetypeId: string;
703
+ } | undefined;
627
704
  } | undefined;
628
705
  unstable_ai?: {
629
706
  generateUrl: string;
707
+ metadataUrl?: string | undefined;
630
708
  } | undefined;
631
709
  };
710
+ unstable_prompts?: {
711
+ id: string;
712
+ name: string;
713
+ text: string;
714
+ data?: {
715
+ arguments?: {
716
+ [key: string]: {
717
+ type: string;
718
+ displayName?: string | null | undefined;
719
+ helpText?: string | null | undefined;
720
+ default?: string | null | undefined;
721
+ };
722
+ } | null | undefined;
723
+ metadata?: unknown;
724
+ } | null | undefined;
725
+ parameterTypes: string[];
726
+ }[] | undefined;
632
727
  }>;
633
728
  /** Deletes a mesh app from a team */
634
729
  remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
@@ -777,7 +872,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
777
872
  * Defines methods used for interacting with a Mesh location
778
873
  * To receive useful typings, check the `type` property of the location to narrow the typing.
779
874
  */
780
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
875
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
781
876
  interface MeshContextData {
782
877
  locationKey: string;
783
878
  locationType: MeshLocationTypes;
@@ -1000,7 +1095,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
1000
1095
  prompt: string;
1001
1096
  promptMetadata: Record<string, unknown>;
1002
1097
  };
1098
+ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
1099
+ settings: TIntegrationConfiguration;
1100
+ };
1003
1101
  type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
1102
+ type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
1004
1103
 
1005
1104
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
1006
1105
  /** Settings defined at the integration level (arbitrary type used on settings location) */
@@ -1108,4 +1207,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
1108
1207
  autoResizingDisabled?: boolean;
1109
1208
  }): Promise<UniformMeshSDK | undefined>;
1110
1209
 
1111
- 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 };
1210
+ 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.61.1-alpha.13+9ea7c72e6",
3
+ "version": "19.61.1-alpha.18+f26189658",
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.61.1-alpha.13+9ea7c72e6",
37
- "@uniformdev/context": "19.61.1-alpha.13+9ea7c72e6",
38
- "@uniformdev/project-map": "19.61.1-alpha.13+9ea7c72e6",
36
+ "@uniformdev/canvas": "19.61.1-alpha.18+f26189658",
37
+ "@uniformdev/context": "19.61.1-alpha.18+f26189658",
38
+ "@uniformdev/project-map": "19.61.1-alpha.18+f26189658",
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": "9ea7c72e685bf1dd690149aa40a9b7a443d2ad28"
45
+ "gitHead": "f2618965881c30f1e995f45a6e880bc2f4d10ebe"
46
46
  }