@uniformdev/canvas 20.25.2-alpha.0 → 20.25.2-alpha.5
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 +16 -3
- package/dist/index.d.ts +16 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@uniformdev/context/api';
|
2
2
|
export { ApiClientError } from '@uniformdev/context/api';
|
3
|
-
import { AssetGetResponseSingle, AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
|
3
|
+
import { AssetGetResponseSingle, AssetDefinitionType, AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
|
4
4
|
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
|
5
5
|
import { Quirks, StorageCommands, PersonalizedVariant, VariationMatchMetadata, TestVariant } from '@uniformdev/context';
|
6
6
|
import { Options as Options$1 } from 'p-retry';
|
7
7
|
import { Options } from 'p-throttle';
|
8
|
-
import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1,
|
8
|
+
import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1, ParameterRichTextValue } from '@uniformdev/richtext';
|
9
9
|
|
10
10
|
interface paths$k {
|
11
11
|
"/api/v1/canvas-definitions": {
|
@@ -10105,7 +10105,20 @@ type NumberParamValue = number | string;
|
|
10105
10105
|
|
10106
10106
|
type RichTextBuiltInFormat = RichTextBuiltInFormat$1;
|
10107
10107
|
type RichTextBuiltInElement = RichTextBuiltInElement$1;
|
10108
|
-
type RichTextParamConfiguration =
|
10108
|
+
type RichTextParamConfiguration = {
|
10109
|
+
required?: boolean;
|
10110
|
+
formatting?: {
|
10111
|
+
builtIn?: Array<RichTextBuiltInFormat>;
|
10112
|
+
};
|
10113
|
+
elements?: {
|
10114
|
+
builtIn?: Array<RichTextBuiltInElement>;
|
10115
|
+
};
|
10116
|
+
elementsConfig?: {
|
10117
|
+
asset?: {
|
10118
|
+
allowedTypes?: AssetDefinitionType[];
|
10119
|
+
};
|
10120
|
+
};
|
10121
|
+
};
|
10109
10122
|
type RichTextParamValue = ParameterRichTextValue;
|
10110
10123
|
|
10111
10124
|
type SelectParamOption = {
|
package/dist/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@uniformdev/context/api';
|
2
2
|
export { ApiClientError } from '@uniformdev/context/api';
|
3
|
-
import { AssetGetResponseSingle, AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
|
3
|
+
import { AssetGetResponseSingle, AssetDefinitionType, AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
|
4
4
|
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
|
5
5
|
import { Quirks, StorageCommands, PersonalizedVariant, VariationMatchMetadata, TestVariant } from '@uniformdev/context';
|
6
6
|
import { Options as Options$1 } from 'p-retry';
|
7
7
|
import { Options } from 'p-throttle';
|
8
|
-
import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1,
|
8
|
+
import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1, ParameterRichTextValue } from '@uniformdev/richtext';
|
9
9
|
|
10
10
|
interface paths$k {
|
11
11
|
"/api/v1/canvas-definitions": {
|
@@ -10105,7 +10105,20 @@ type NumberParamValue = number | string;
|
|
10105
10105
|
|
10106
10106
|
type RichTextBuiltInFormat = RichTextBuiltInFormat$1;
|
10107
10107
|
type RichTextBuiltInElement = RichTextBuiltInElement$1;
|
10108
|
-
type RichTextParamConfiguration =
|
10108
|
+
type RichTextParamConfiguration = {
|
10109
|
+
required?: boolean;
|
10110
|
+
formatting?: {
|
10111
|
+
builtIn?: Array<RichTextBuiltInFormat>;
|
10112
|
+
};
|
10113
|
+
elements?: {
|
10114
|
+
builtIn?: Array<RichTextBuiltInElement>;
|
10115
|
+
};
|
10116
|
+
elementsConfig?: {
|
10117
|
+
asset?: {
|
10118
|
+
allowedTypes?: AssetDefinitionType[];
|
10119
|
+
};
|
10120
|
+
};
|
10121
|
+
};
|
10109
10122
|
type RichTextParamValue = ParameterRichTextValue;
|
10110
10123
|
|
10111
10124
|
type SelectParamOption = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "20.25.2-alpha.
|
3
|
+
"version": "20.25.2-alpha.5+42c99fa29a",
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -40,9 +40,9 @@
|
|
40
40
|
"p-throttle": "5.0.0"
|
41
41
|
},
|
42
42
|
"dependencies": {
|
43
|
-
"@uniformdev/assets": "20.25.2-alpha.
|
44
|
-
"@uniformdev/context": "20.25.2-alpha.
|
45
|
-
"@uniformdev/richtext": "20.25.2-alpha.
|
43
|
+
"@uniformdev/assets": "20.25.2-alpha.5+42c99fa29a",
|
44
|
+
"@uniformdev/context": "20.25.2-alpha.5+42c99fa29a",
|
45
|
+
"@uniformdev/richtext": "20.25.2-alpha.5+42c99fa29a",
|
46
46
|
"immer": "10.1.1"
|
47
47
|
},
|
48
48
|
"files": [
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"publishConfig": {
|
52
52
|
"access": "public"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "42c99fa29a788d699389b1eca81d5077093c41e9"
|
55
55
|
}
|