@uniformdev/mesh-sdk 19.75.1-alpha.30 → 19.75.1-alpha.34

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,6 +95,11 @@ 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;
@@ -208,6 +213,11 @@ interface paths$1 {
208
213
  }[];
209
214
  unstable_assetLibrary?: {
210
215
  url: string;
216
+ dynamicAssets?: {
217
+ dataConnectorId: string;
218
+ assetsListArchetypeId: string;
219
+ singleAssetArchetypeId: string;
220
+ };
211
221
  };
212
222
  unstable_ai?: {
213
223
  generateUrl: string;
@@ -320,6 +330,11 @@ interface paths$1 {
320
330
  }[];
321
331
  unstable_assetLibrary?: {
322
332
  url: string;
333
+ dynamicAssets?: {
334
+ dataConnectorId: string;
335
+ assetsListArchetypeId: string;
336
+ singleAssetArchetypeId: string;
337
+ };
323
338
  };
324
339
  unstable_ai?: {
325
340
  generateUrl: string;
@@ -681,6 +696,11 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
681
696
  }[] | undefined;
682
697
  unstable_assetLibrary?: {
683
698
  url: string;
699
+ dynamicAssets?: {
700
+ dataConnectorId: string;
701
+ assetsListArchetypeId: string;
702
+ singleAssetArchetypeId: string;
703
+ } | undefined;
684
704
  } | undefined;
685
705
  unstable_ai?: {
686
706
  generateUrl: string;
@@ -734,6 +754,18 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
734
754
  sourceId: string;
735
755
  /** The resolved data if this source is connected to a data resource */
736
756
  dataResourceData?: unknown;
757
+ /**
758
+ * Asset Library location is used in two places: Global Asset Library and Asset Parameter.
759
+ * This flag is necessary to distinguish between the two, because Parameter context requires
760
+ * "value" and "setValue" properties to manipulate the value of the parameter.
761
+ */
762
+ isAssetParameterContext: boolean;
763
+ /**
764
+ * The maximum number of assets that can be selected in the Asset Library.
765
+ *
766
+ * Default: 1
767
+ */
768
+ maxAssets?: number;
737
769
  };
738
770
  type AssetParamValue = AssetParamValueItem[];
739
771
  type AssetParamValueItem = {
@@ -806,7 +838,7 @@ type AssetParamValueItem = {
806
838
  };
807
839
  };
808
840
  };
809
- type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
841
+ type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
810
842
 
811
843
  type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
812
844
  type DataConnectorInfo = {
package/dist/index.d.ts CHANGED
@@ -95,6 +95,11 @@ 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;
@@ -208,6 +213,11 @@ interface paths$1 {
208
213
  }[];
209
214
  unstable_assetLibrary?: {
210
215
  url: string;
216
+ dynamicAssets?: {
217
+ dataConnectorId: string;
218
+ assetsListArchetypeId: string;
219
+ singleAssetArchetypeId: string;
220
+ };
211
221
  };
212
222
  unstable_ai?: {
213
223
  generateUrl: string;
@@ -320,6 +330,11 @@ interface paths$1 {
320
330
  }[];
321
331
  unstable_assetLibrary?: {
322
332
  url: string;
333
+ dynamicAssets?: {
334
+ dataConnectorId: string;
335
+ assetsListArchetypeId: string;
336
+ singleAssetArchetypeId: string;
337
+ };
323
338
  };
324
339
  unstable_ai?: {
325
340
  generateUrl: string;
@@ -681,6 +696,11 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
681
696
  }[] | undefined;
682
697
  unstable_assetLibrary?: {
683
698
  url: string;
699
+ dynamicAssets?: {
700
+ dataConnectorId: string;
701
+ assetsListArchetypeId: string;
702
+ singleAssetArchetypeId: string;
703
+ } | undefined;
684
704
  } | undefined;
685
705
  unstable_ai?: {
686
706
  generateUrl: string;
@@ -734,6 +754,18 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
734
754
  sourceId: string;
735
755
  /** The resolved data if this source is connected to a data resource */
736
756
  dataResourceData?: unknown;
757
+ /**
758
+ * Asset Library location is used in two places: Global Asset Library and Asset Parameter.
759
+ * This flag is necessary to distinguish between the two, because Parameter context requires
760
+ * "value" and "setValue" properties to manipulate the value of the parameter.
761
+ */
762
+ isAssetParameterContext: boolean;
763
+ /**
764
+ * The maximum number of assets that can be selected in the Asset Library.
765
+ *
766
+ * Default: 1
767
+ */
768
+ maxAssets?: number;
737
769
  };
738
770
  type AssetParamValue = AssetParamValueItem[];
739
771
  type AssetParamValueItem = {
@@ -806,7 +838,7 @@ type AssetParamValueItem = {
806
838
  };
807
839
  };
808
840
  };
809
- type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
841
+ type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
810
842
 
811
843
  type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
812
844
  type DataConnectorInfo = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.75.1-alpha.30+4b3edf13d",
3
+ "version": "19.75.1-alpha.34+3ef8d22cef",
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.75.1-alpha.30+4b3edf13d",
37
- "@uniformdev/context": "19.75.1-alpha.30+4b3edf13d",
38
- "@uniformdev/project-map": "19.75.1-alpha.30+4b3edf13d",
36
+ "@uniformdev/canvas": "19.75.1-alpha.34+3ef8d22cef",
37
+ "@uniformdev/context": "19.75.1-alpha.34+3ef8d22cef",
38
+ "@uniformdev/project-map": "19.75.1-alpha.34+3ef8d22cef",
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": "4b3edf13dfea6d5d0ffa8c1ca1ac9a54013a3350"
45
+ "gitHead": "3ef8d22cef3702cfeb050947ecc05449e4794ac8"
46
46
  }