@retailcrm/embed-ui-v1-types 0.5.21 → 0.5.23-alpha.1
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/domain.d.ts +16 -0
- package/package.json +1 -1
package/domain.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type Dimensions = {
|
|
2
|
+
L: number | null;
|
|
3
|
+
W: number | null;
|
|
4
|
+
H: number | null;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export type Money = {
|
|
8
|
+
amount: number;
|
|
9
|
+
currency: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type WeightUnit = 'grams' | 'kilograms' | 'tons'
|
|
13
|
+
export type Weight = {
|
|
14
|
+
value: number;
|
|
15
|
+
unit: WeightUnit;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@retailcrm/embed-ui-v1-types",
|
|
3
3
|
"description": "Basic types declarations for RetailCRM JS API",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.23-alpha.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "RetailDriverLLC <integration@retailcrm.ru>",
|
|
8
8
|
"repository": "git@github.com:retailcrm/embed-ui.git",
|