@uniformdev/mesh-sdk 19.213.1-alpha.1 → 19.213.1-alpha.14

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
@@ -2,6 +2,7 @@ import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api
2
2
  import { ProjectMapNode } from '@uniformdev/project-map';
3
3
  import { AssetParamValue, DataType, DataSource, DataSourceVariantsKeys, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, Locale, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
4
4
  export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
5
+ import { AssetDefinitionType } from '@uniformdev/assets';
5
6
  import { Emitter } from 'mitt';
6
7
 
7
8
  interface paths$1 {
@@ -1273,6 +1274,12 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = Commo
1273
1274
  * Default: 1
1274
1275
  */
1275
1276
  maxAssets?: number;
1277
+ /**
1278
+ * The list of allowed asset types for the current parameter.
1279
+ *
1280
+ * If empty, all asset types are allowed.
1281
+ */
1282
+ allowedAssetTypes?: AssetDefinitionType[];
1276
1283
  }, TIntegrationConfiguration>;
1277
1284
  type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
1278
1285
  type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api
2
2
  import { ProjectMapNode } from '@uniformdev/project-map';
3
3
  import { AssetParamValue, DataType, DataSource, DataSourceVariantsKeys, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, Locale, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
4
4
  export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
5
+ import { AssetDefinitionType } from '@uniformdev/assets';
5
6
  import { Emitter } from 'mitt';
6
7
 
7
8
  interface paths$1 {
@@ -1273,6 +1274,12 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = Commo
1273
1274
  * Default: 1
1274
1275
  */
1275
1276
  maxAssets?: number;
1277
+ /**
1278
+ * The list of allowed asset types for the current parameter.
1279
+ *
1280
+ * If empty, all asset types are allowed.
1281
+ */
1282
+ allowedAssetTypes?: AssetDefinitionType[];
1276
1283
  }, TIntegrationConfiguration>;
1277
1284
  type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
1278
1285
  type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.213.1-alpha.1+483dbf1bb7",
3
+ "version": "19.213.1-alpha.14+c4550ca9ec",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -34,14 +34,15 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
- "@uniformdev/canvas": "19.213.1-alpha.1+483dbf1bb7",
38
- "@uniformdev/context": "19.213.1-alpha.1+483dbf1bb7",
39
- "@uniformdev/project-map": "19.213.1-alpha.1+483dbf1bb7",
37
+ "@uniformdev/assets": "19.213.1-alpha.14+c4550ca9ec",
38
+ "@uniformdev/canvas": "19.213.1-alpha.14+c4550ca9ec",
39
+ "@uniformdev/context": "19.213.1-alpha.14+c4550ca9ec",
40
+ "@uniformdev/project-map": "19.213.1-alpha.14+c4550ca9ec",
40
41
  "imagesloaded": "^5.0.0",
41
42
  "mitt": "^3.0.1"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@types/imagesloaded": "^4.1.2"
45
46
  },
46
- "gitHead": "483dbf1bb7d5e56e95e1ed273da5fc577ad9d37b"
47
+ "gitHead": "c4550ca9ec413c467d404842e7873f0087b4e403"
47
48
  }