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

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
@@ -93,7 +93,7 @@ interface paths$1 {
93
93
  };
94
94
  badgeIconUrl?: string;
95
95
  }[];
96
- assetLibrary?: {
96
+ unstable_assetLibrary?: {
97
97
  url: string;
98
98
  };
99
99
  unstable_ai?: {
@@ -187,7 +187,7 @@ interface paths$1 {
187
187
  };
188
188
  badgeIconUrl?: string;
189
189
  }[];
190
- assetLibrary?: {
190
+ unstable_assetLibrary?: {
191
191
  url: string;
192
192
  };
193
193
  unstable_ai?: {
@@ -280,7 +280,7 @@ interface paths$1 {
280
280
  };
281
281
  badgeIconUrl?: string;
282
282
  }[];
283
- assetLibrary?: {
283
+ unstable_assetLibrary?: {
284
284
  url: string;
285
285
  };
286
286
  unstable_ai?: {
@@ -622,7 +622,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
622
622
  } | undefined;
623
623
  badgeIconUrl?: string | undefined;
624
624
  }[] | undefined;
625
- assetLibrary?: {
625
+ unstable_assetLibrary?: {
626
626
  url: string;
627
627
  } | undefined;
628
628
  unstable_ai?: {
@@ -655,20 +655,35 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
655
655
  settings: TIntegrationConfiguration;
656
656
  /** The Uniform project ID */
657
657
  projectId: string;
658
+ /** The current Uniform integration source ID */
659
+ sourceId: string;
660
+ /**
661
+ * Asset Library location is used in two places: Global Asset Library and Asset Parameter.
662
+ * This flag is necessary to distinguish between the two, because Parameter context requires
663
+ * "value" and "setValue" properties to manipulate the value of the parameter.
664
+ */
665
+ isAssetParameterContext: boolean;
658
666
  };
667
+ type AssetParamValue = AssetParamValueItem[];
659
668
  type AssetParamValueItem = {
660
669
  id: string;
661
670
  url: string;
662
671
  type?: string;
672
+ /**
673
+ * Internal Uniform source ID or
674
+ * dataType ID of the global integration library
675
+ * which created this asset item
676
+ */
663
677
  source?: string;
664
678
  title?: string;
665
679
  description?: string;
666
680
  mediaType?: string;
667
681
  width?: number;
668
682
  height?: number;
683
+ size?: number;
669
684
  custom?: Record<string, unknown>;
670
685
  };
671
- type AssetLibraryLocation = MeshLocationCore<AssetParamValueItem, AssetLibraryLocationMetadata, AssetParamValueItem, 'assetLibrary'>;
686
+ type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
672
687
 
673
688
  type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
674
689
  type DataConnectorInfo = {
@@ -1093,4 +1108,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
1093
1108
  autoResizingDisabled?: boolean;
1094
1109
  }): Promise<UniformMeshSDK | undefined>;
1095
1110
 
1096
- export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -93,7 +93,7 @@ interface paths$1 {
93
93
  };
94
94
  badgeIconUrl?: string;
95
95
  }[];
96
- assetLibrary?: {
96
+ unstable_assetLibrary?: {
97
97
  url: string;
98
98
  };
99
99
  unstable_ai?: {
@@ -187,7 +187,7 @@ interface paths$1 {
187
187
  };
188
188
  badgeIconUrl?: string;
189
189
  }[];
190
- assetLibrary?: {
190
+ unstable_assetLibrary?: {
191
191
  url: string;
192
192
  };
193
193
  unstable_ai?: {
@@ -280,7 +280,7 @@ interface paths$1 {
280
280
  };
281
281
  badgeIconUrl?: string;
282
282
  }[];
283
- assetLibrary?: {
283
+ unstable_assetLibrary?: {
284
284
  url: string;
285
285
  };
286
286
  unstable_ai?: {
@@ -622,7 +622,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
622
622
  } | undefined;
623
623
  badgeIconUrl?: string | undefined;
624
624
  }[] | undefined;
625
- assetLibrary?: {
625
+ unstable_assetLibrary?: {
626
626
  url: string;
627
627
  } | undefined;
628
628
  unstable_ai?: {
@@ -655,20 +655,35 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
655
655
  settings: TIntegrationConfiguration;
656
656
  /** The Uniform project ID */
657
657
  projectId: string;
658
+ /** The current Uniform integration source ID */
659
+ sourceId: string;
660
+ /**
661
+ * Asset Library location is used in two places: Global Asset Library and Asset Parameter.
662
+ * This flag is necessary to distinguish between the two, because Parameter context requires
663
+ * "value" and "setValue" properties to manipulate the value of the parameter.
664
+ */
665
+ isAssetParameterContext: boolean;
658
666
  };
667
+ type AssetParamValue = AssetParamValueItem[];
659
668
  type AssetParamValueItem = {
660
669
  id: string;
661
670
  url: string;
662
671
  type?: string;
672
+ /**
673
+ * Internal Uniform source ID or
674
+ * dataType ID of the global integration library
675
+ * which created this asset item
676
+ */
663
677
  source?: string;
664
678
  title?: string;
665
679
  description?: string;
666
680
  mediaType?: string;
667
681
  width?: number;
668
682
  height?: number;
683
+ size?: number;
669
684
  custom?: Record<string, unknown>;
670
685
  };
671
- type AssetLibraryLocation = MeshLocationCore<AssetParamValueItem, AssetLibraryLocationMetadata, AssetParamValueItem, 'assetLibrary'>;
686
+ type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
672
687
 
673
688
  type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
674
689
  type DataConnectorInfo = {
@@ -1093,4 +1108,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
1093
1108
  autoResizingDisabled?: boolean;
1094
1109
  }): Promise<UniformMeshSDK | undefined>;
1095
1110
 
1096
- export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, 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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.61.1-alpha.10+8aa257167",
3
+ "version": "19.61.1-alpha.13+9ea7c72e6",
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.10+8aa257167",
37
- "@uniformdev/context": "19.61.1-alpha.10+8aa257167",
38
- "@uniformdev/project-map": "19.61.1-alpha.10+8aa257167",
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",
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": "8aa2571675505a90ba544863f87621dd90750c3a"
45
+ "gitHead": "9ea7c72e685bf1dd690149aa40a9b7a443d2ad28"
46
46
  }