@uniformdev/mesh-sdk 19.151.1-alpha.16 → 19.151.1-alpha.3

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
@@ -68,7 +68,7 @@ interface paths$1 {
68
68
  /** @enum {string} */
69
69
  localizable?: "default-yes" | "default-no" | "yes" | "no";
70
70
  }[];
71
- canvasEditorTools?: {
71
+ sideRail?: {
72
72
  url: string;
73
73
  };
74
74
  };
@@ -223,7 +223,7 @@ interface paths$1 {
223
223
  /** @enum {string} */
224
224
  localizable?: "default-yes" | "default-no" | "yes" | "no";
225
225
  }[];
226
- canvasEditorTools?: {
226
+ sideRail?: {
227
227
  url: string;
228
228
  };
229
229
  };
@@ -377,7 +377,7 @@ interface paths$1 {
377
377
  /** @enum {string} */
378
378
  localizable?: "default-yes" | "default-no" | "yes" | "no";
379
379
  }[];
380
- canvasEditorTools?: {
380
+ sideRail?: {
381
381
  url: string;
382
382
  };
383
383
  };
@@ -779,7 +779,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
779
779
  renderableInPropertyPanel?: boolean | undefined;
780
780
  localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
781
781
  }[];
782
- canvasEditorTools?: {
782
+ sideRail?: {
783
783
  url: string;
784
784
  } | undefined;
785
785
  } | undefined;
@@ -996,7 +996,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
996
996
  * Defines methods used for interacting with a Mesh location
997
997
  * To receive useful typings, check the `type` property of the location to narrow the typing.
998
998
  */
999
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
999
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorSideRailLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
1000
1000
  interface MeshContextData {
1001
1001
  locationKey: string;
1002
1002
  locationType: MeshLocationTypes;
@@ -1300,7 +1300,7 @@ type MeshLocationUserPermissions =
1300
1300
  /**
1301
1301
  * Known location types that can be passed to a mesh location
1302
1302
  */
1303
- type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorTools' | 'aiMetadata';
1303
+ type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorSideRail' | 'aiMetadata';
1304
1304
  type SetValueOptions = ValidationResult;
1305
1305
  type SetValueMessage = {
1306
1306
  uniformMeshLocationValue: unknown;
@@ -1339,7 +1339,7 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
1339
1339
  type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
1340
1340
  type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
1341
1341
 
1342
- type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1342
+ type CanvasEditorSideRailLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1343
1343
  releaseId?: string;
1344
1344
  state?: number;
1345
1345
  locales: {
@@ -1348,17 +1348,14 @@ type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = Co
1348
1348
  isDefault: boolean;
1349
1349
  }[];
1350
1350
  }, TIntegrationConfiguration>;
1351
- type CanvasEditorToolsData = {
1352
- patternNamesIndex?: Record<string, string>;
1353
- entryNamesIndex?: Record<string, string>;
1354
- } & ({
1351
+ type CanvasEditorSideRailData = {
1355
1352
  rootEntity: RootComponentInstance;
1356
1353
  type: 'composition';
1357
1354
  } | {
1358
1355
  rootEntity: EntryData;
1359
1356
  type: 'entry';
1360
- });
1361
- type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
1357
+ };
1358
+ type CanvasEditorSideRailLocation = MeshLocationCore<CanvasEditorSideRailData, CanvasEditorSideRailLocationMetadata, CanvasEditorSideRailData, 'canvasEditorSideRail'> & GetDataResourceLocation;
1362
1359
 
1363
1360
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1364
1361
  /** The Uniform project ID */
@@ -1469,4 +1466,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
1469
1466
  */
1470
1467
  declare const hasRole: (role: string, user: UniformUser) => boolean;
1471
1468
 
1472
- export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, 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 };
1469
+ export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorSideRailData, type CanvasEditorSideRailLocation, type CanvasEditorSideRailLocationMetadata, 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 };
package/dist/index.d.ts CHANGED
@@ -68,7 +68,7 @@ interface paths$1 {
68
68
  /** @enum {string} */
69
69
  localizable?: "default-yes" | "default-no" | "yes" | "no";
70
70
  }[];
71
- canvasEditorTools?: {
71
+ sideRail?: {
72
72
  url: string;
73
73
  };
74
74
  };
@@ -223,7 +223,7 @@ interface paths$1 {
223
223
  /** @enum {string} */
224
224
  localizable?: "default-yes" | "default-no" | "yes" | "no";
225
225
  }[];
226
- canvasEditorTools?: {
226
+ sideRail?: {
227
227
  url: string;
228
228
  };
229
229
  };
@@ -377,7 +377,7 @@ interface paths$1 {
377
377
  /** @enum {string} */
378
378
  localizable?: "default-yes" | "default-no" | "yes" | "no";
379
379
  }[];
380
- canvasEditorTools?: {
380
+ sideRail?: {
381
381
  url: string;
382
382
  };
383
383
  };
@@ -779,7 +779,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
779
779
  renderableInPropertyPanel?: boolean | undefined;
780
780
  localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
781
781
  }[];
782
- canvasEditorTools?: {
782
+ sideRail?: {
783
783
  url: string;
784
784
  } | undefined;
785
785
  } | undefined;
@@ -996,7 +996,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
996
996
  * Defines methods used for interacting with a Mesh location
997
997
  * To receive useful typings, check the `type` property of the location to narrow the typing.
998
998
  */
999
- type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
999
+ type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorSideRailLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
1000
1000
  interface MeshContextData {
1001
1001
  locationKey: string;
1002
1002
  locationType: MeshLocationTypes;
@@ -1300,7 +1300,7 @@ type MeshLocationUserPermissions =
1300
1300
  /**
1301
1301
  * Known location types that can be passed to a mesh location
1302
1302
  */
1303
- type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorTools' | 'aiMetadata';
1303
+ type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorSideRail' | 'aiMetadata';
1304
1304
  type SetValueOptions = ValidationResult;
1305
1305
  type SetValueMessage = {
1306
1306
  uniformMeshLocationValue: unknown;
@@ -1339,7 +1339,7 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
1339
1339
  type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
1340
1340
  type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
1341
1341
 
1342
- type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1342
+ type CanvasEditorSideRailLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1343
1343
  releaseId?: string;
1344
1344
  state?: number;
1345
1345
  locales: {
@@ -1348,17 +1348,14 @@ type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = Co
1348
1348
  isDefault: boolean;
1349
1349
  }[];
1350
1350
  }, TIntegrationConfiguration>;
1351
- type CanvasEditorToolsData = {
1352
- patternNamesIndex?: Record<string, string>;
1353
- entryNamesIndex?: Record<string, string>;
1354
- } & ({
1351
+ type CanvasEditorSideRailData = {
1355
1352
  rootEntity: RootComponentInstance;
1356
1353
  type: 'composition';
1357
1354
  } | {
1358
1355
  rootEntity: EntryData;
1359
1356
  type: 'entry';
1360
- });
1361
- type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
1357
+ };
1358
+ type CanvasEditorSideRailLocation = MeshLocationCore<CanvasEditorSideRailData, CanvasEditorSideRailLocationMetadata, CanvasEditorSideRailData, 'canvasEditorSideRail'> & GetDataResourceLocation;
1362
1359
 
1363
1360
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1364
1361
  /** The Uniform project ID */
@@ -1469,4 +1466,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
1469
1466
  */
1470
1467
  declare const hasRole: (role: string, user: UniformUser) => boolean;
1471
1468
 
1472
- export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, 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 };
1469
+ export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorSideRailData, type CanvasEditorSideRailLocation, type CanvasEditorSideRailLocationMetadata, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.151.1-alpha.16+083730f396",
3
+ "version": "19.151.1-alpha.3+1dc6c8c8fb",
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.151.1-alpha.16+083730f396",
37
- "@uniformdev/context": "19.151.1-alpha.16+083730f396",
38
- "@uniformdev/project-map": "19.151.1-alpha.16+083730f396",
36
+ "@uniformdev/canvas": "19.151.1-alpha.3+1dc6c8c8fb",
37
+ "@uniformdev/context": "19.151.1-alpha.3+1dc6c8c8fb",
38
+ "@uniformdev/project-map": "19.151.1-alpha.3+1dc6c8c8fb",
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": "083730f3965a6c60b2c475903ca146a5db44260f"
45
+ "gitHead": "1dc6c8c8fb32cefbdfaa3310a743d297db2c3749"
46
46
  }