@uniformdev/mesh-sdk 19.179.2-alpha.22 → 19.179.2-alpha.27

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
@@ -111,6 +111,7 @@ interface paths$1 {
111
111
  url: string;
112
112
  };
113
113
  };
114
+ contextualEditing?: string;
114
115
  };
115
116
  };
116
117
  badgeIconUrl?: string;
@@ -286,6 +287,7 @@ interface paths$1 {
286
287
  url: string;
287
288
  };
288
289
  };
290
+ contextualEditing?: string;
289
291
  };
290
292
  };
291
293
  badgeIconUrl?: string;
@@ -460,6 +462,7 @@ interface paths$1 {
460
462
  url: string;
461
463
  };
462
464
  };
465
+ contextualEditing?: string;
463
466
  };
464
467
  };
465
468
  badgeIconUrl?: string;
@@ -882,6 +885,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
882
885
  url: string;
883
886
  };
884
887
  };
888
+ contextualEditing?: string;
885
889
  };
886
890
  };
887
891
  badgeIconUrl?: string;
@@ -1080,7 +1084,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
1080
1084
  * Defines methods used for interacting with a Mesh location
1081
1085
  * To receive useful typings, check the `type` property of the location to narrow the typing.
1082
1086
  */
1083
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
1087
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | ContextualEditingLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
1084
1088
  interface MeshContextData {
1085
1089
  locationKey: string;
1086
1090
  locationType: MeshLocationTypes;
@@ -1389,7 +1393,7 @@ type MeshLocationUserPermissions =
1389
1393
  /**
1390
1394
  * Known location types that can be passed to a mesh location
1391
1395
  */
1392
- type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorTools' | 'aiMetadata';
1396
+ type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'contextualEditing' | 'canvasEditorTools' | 'aiMetadata';
1393
1397
  type SetValueOptions = ValidationResult;
1394
1398
  type SetValueMessage = {
1395
1399
  uniformMeshLocationValue: unknown;
@@ -1450,6 +1454,19 @@ type CanvasEditorToolsData = {
1450
1454
  });
1451
1455
  type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
1452
1456
 
1457
+ type ContextualEditingLocationValue = Record<string, string>;
1458
+ type ContextualEditingLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1459
+ resolvedData: any;
1460
+ dataType: DataType;
1461
+ /** The data type's archetype value. */
1462
+ archetype: string;
1463
+ /**
1464
+ * The current data resource's data source. NOTE: param and header values are not available in this context.
1465
+ */
1466
+ dataSource: DataSource;
1467
+ }, TIntegrationConfiguration>;
1468
+ type ContextualEditingLocation = MeshLocationCore<ContextualEditingLocationValue, ContextualEditingLocationMetadata, ContextualEditingLocationValue, 'contextualEditing'> & GetDataResourceLocation;
1469
+
1453
1470
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1454
1471
  /** The Uniform project ID */
1455
1472
  componentDefinition: ComponentDefinition;
@@ -1559,4 +1576,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
1559
1576
  */
1560
1577
  declare const hasRole: (role: string, user: UniformUser) => boolean;
1561
1578
 
1562
- export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
1579
+ export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ContextualEditingLocation, type ContextualEditingLocationMetadata, type ContextualEditingLocationValue, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
package/dist/index.d.ts CHANGED
@@ -111,6 +111,7 @@ interface paths$1 {
111
111
  url: string;
112
112
  };
113
113
  };
114
+ contextualEditing?: string;
114
115
  };
115
116
  };
116
117
  badgeIconUrl?: string;
@@ -286,6 +287,7 @@ interface paths$1 {
286
287
  url: string;
287
288
  };
288
289
  };
290
+ contextualEditing?: string;
289
291
  };
290
292
  };
291
293
  badgeIconUrl?: string;
@@ -460,6 +462,7 @@ interface paths$1 {
460
462
  url: string;
461
463
  };
462
464
  };
465
+ contextualEditing?: string;
463
466
  };
464
467
  };
465
468
  badgeIconUrl?: string;
@@ -882,6 +885,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
882
885
  url: string;
883
886
  };
884
887
  };
888
+ contextualEditing?: string;
885
889
  };
886
890
  };
887
891
  badgeIconUrl?: string;
@@ -1080,7 +1084,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
1080
1084
  * Defines methods used for interacting with a Mesh location
1081
1085
  * To receive useful typings, check the `type` property of the location to narrow the typing.
1082
1086
  */
1083
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
1087
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | ContextualEditingLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
1084
1088
  interface MeshContextData {
1085
1089
  locationKey: string;
1086
1090
  locationType: MeshLocationTypes;
@@ -1389,7 +1393,7 @@ type MeshLocationUserPermissions =
1389
1393
  /**
1390
1394
  * Known location types that can be passed to a mesh location
1391
1395
  */
1392
- type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorTools' | 'aiMetadata';
1396
+ type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'contextualEditing' | 'canvasEditorTools' | 'aiMetadata';
1393
1397
  type SetValueOptions = ValidationResult;
1394
1398
  type SetValueMessage = {
1395
1399
  uniformMeshLocationValue: unknown;
@@ -1450,6 +1454,19 @@ type CanvasEditorToolsData = {
1450
1454
  });
1451
1455
  type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
1452
1456
 
1457
+ type ContextualEditingLocationValue = Record<string, string>;
1458
+ type ContextualEditingLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1459
+ resolvedData: any;
1460
+ dataType: DataType;
1461
+ /** The data type's archetype value. */
1462
+ archetype: string;
1463
+ /**
1464
+ * The current data resource's data source. NOTE: param and header values are not available in this context.
1465
+ */
1466
+ dataSource: DataSource;
1467
+ }, TIntegrationConfiguration>;
1468
+ type ContextualEditingLocation = MeshLocationCore<ContextualEditingLocationValue, ContextualEditingLocationMetadata, ContextualEditingLocationValue, 'contextualEditing'> & GetDataResourceLocation;
1469
+
1453
1470
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1454
1471
  /** The Uniform project ID */
1455
1472
  componentDefinition: ComponentDefinition;
@@ -1559,4 +1576,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
1559
1576
  */
1560
1577
  declare const hasRole: (role: string, user: UniformUser) => boolean;
1561
1578
 
1562
- export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
1579
+ export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ContextualEditingLocation, type ContextualEditingLocationMetadata, type ContextualEditingLocationValue, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.179.2-alpha.22+79878be48f",
3
+ "version": "19.179.2-alpha.27+589d7d73ab",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -34,14 +34,14 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
- "@uniformdev/canvas": "19.179.2-alpha.22+79878be48f",
38
- "@uniformdev/context": "19.179.2-alpha.22+79878be48f",
39
- "@uniformdev/project-map": "19.179.2-alpha.22+79878be48f",
37
+ "@uniformdev/canvas": "19.179.2-alpha.27+589d7d73ab",
38
+ "@uniformdev/context": "19.179.2-alpha.27+589d7d73ab",
39
+ "@uniformdev/project-map": "19.179.2-alpha.27+589d7d73ab",
40
40
  "imagesloaded": "^5.0.0",
41
41
  "mitt": "^3.0.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/imagesloaded": "^4.1.2"
45
45
  },
46
- "gitHead": "79878be48f2d4b1c6158026aa632e71c91473ac6"
46
+ "gitHead": "589d7d73ab917d574180f715fd978df3cf99d978"
47
47
  }