@uniformdev/canvas 19.206.0 → 19.207.1-alpha.20

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
@@ -1,6 +1,6 @@
1
1
  import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@uniformdev/context/api';
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
- import { AssetGetResponseSingle } from '@uniformdev/assets';
3
+ import { AssetGetResponseSingle, AssetDefinitionType } from '@uniformdev/assets';
4
4
  import { Quirks, StorageCommands, PersonalizedVariant, TestVariant } from '@uniformdev/context';
5
5
  import Pusher from 'pusher-js';
6
6
  import { Options as Options$1 } from 'p-retry';
@@ -9986,6 +9986,11 @@ type RichTextParamConfiguration = {
9986
9986
  elements?: {
9987
9987
  builtIn?: Array<RichTextBuiltInElement>;
9988
9988
  };
9989
+ elementsConfig?: {
9990
+ asset?: {
9991
+ allowedTypes?: AssetDefinitionType[];
9992
+ };
9993
+ };
9989
9994
  };
9990
9995
  type RichTextParamValue = ParameterRichTextValue;
9991
9996
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@uniformdev/context/api';
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
- import { AssetGetResponseSingle } from '@uniformdev/assets';
3
+ import { AssetGetResponseSingle, AssetDefinitionType } from '@uniformdev/assets';
4
4
  import { Quirks, StorageCommands, PersonalizedVariant, TestVariant } from '@uniformdev/context';
5
5
  import Pusher from 'pusher-js';
6
6
  import { Options as Options$1 } from 'p-retry';
@@ -9986,6 +9986,11 @@ type RichTextParamConfiguration = {
9986
9986
  elements?: {
9987
9987
  builtIn?: Array<RichTextBuiltInElement>;
9988
9988
  };
9989
+ elementsConfig?: {
9990
+ asset?: {
9991
+ allowedTypes?: AssetDefinitionType[];
9992
+ };
9993
+ };
9989
9994
  };
9990
9995
  type RichTextParamValue = ParameterRichTextValue;
9991
9996
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.206.0",
3
+ "version": "19.207.1-alpha.20+9dc4b12464",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,9 +38,9 @@
38
38
  "pusher-js": "8.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/assets": "19.206.0",
42
- "@uniformdev/context": "19.206.0",
43
- "@uniformdev/richtext": "19.206.0",
41
+ "@uniformdev/assets": "19.207.1-alpha.20+9dc4b12464",
42
+ "@uniformdev/context": "19.207.1-alpha.20+9dc4b12464",
43
+ "@uniformdev/richtext": "19.207.1-alpha.20+9dc4b12464",
44
44
  "immer": "10.1.1"
45
45
  },
46
46
  "files": [
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "1053420353bc9a7ec6930f9e65e18089c6497977"
52
+ "gitHead": "9dc4b1246494bc273e86dd22cd4818aa4ebd1c24"
53
53
  }