@retailcrm/embed-ui-v1-contexts 0.8.0 → 0.8.2
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/meta.json
CHANGED
|
@@ -556,6 +556,15 @@
|
|
|
556
556
|
"ru-RU": "Идентификатор"
|
|
557
557
|
}
|
|
558
558
|
},
|
|
559
|
+
{
|
|
560
|
+
"name": "code",
|
|
561
|
+
"type": "string",
|
|
562
|
+
"description": {
|
|
563
|
+
"en-GB": "Character code",
|
|
564
|
+
"es-ES": "Código de caracteres",
|
|
565
|
+
"ru-RU": "Символьный код"
|
|
566
|
+
}
|
|
567
|
+
},
|
|
559
568
|
{
|
|
560
569
|
"name": "name",
|
|
561
570
|
"type": "string",
|
|
@@ -252,6 +252,7 @@ export declare const isProduct: Predicate<{
|
|
|
252
252
|
};
|
|
253
253
|
export declare const isStatus: Predicate<{
|
|
254
254
|
id: number;
|
|
255
|
+
code: string;
|
|
255
256
|
name: string;
|
|
256
257
|
isCancel: boolean | undefined;
|
|
257
258
|
}> & {
|
|
@@ -259,11 +260,13 @@ export declare const isStatus: Predicate<{
|
|
|
259
260
|
} & {
|
|
260
261
|
readonly fields: {
|
|
261
262
|
id: string;
|
|
263
|
+
code: string;
|
|
262
264
|
name: string;
|
|
263
265
|
isCancel: string;
|
|
264
266
|
};
|
|
265
267
|
readonly shape: {
|
|
266
268
|
id: [ PredicateWithMeta<number>, true];
|
|
269
|
+
code: [ PredicateWithMeta<string>, true];
|
|
267
270
|
name: [ PredicateWithMeta<string>, true];
|
|
268
271
|
isCancel: [ PredicateWithMeta<boolean>, false];
|
|
269
272
|
};
|
|
@@ -347,6 +350,7 @@ export declare const isItem: Predicate<{
|
|
|
347
350
|
comment: string;
|
|
348
351
|
status: {
|
|
349
352
|
id: number;
|
|
353
|
+
code: string;
|
|
350
354
|
name: string;
|
|
351
355
|
isCancel: boolean | undefined;
|
|
352
356
|
} | null;
|
|
@@ -452,6 +456,7 @@ export declare const isItem: Predicate<{
|
|
|
452
456
|
comment: [ PredicateWithMeta<string>, true];
|
|
453
457
|
status: [ PredicateWithMeta<{
|
|
454
458
|
id: number;
|
|
459
|
+
code: string;
|
|
455
460
|
name: string;
|
|
456
461
|
isCancel: boolean | undefined;
|
|
457
462
|
} | null>, true];
|
|
@@ -80,6 +80,7 @@ const isProduct = predicates.isShape({
|
|
|
80
80
|
}, "Product");
|
|
81
81
|
const isStatus = predicates.isShape({
|
|
82
82
|
id: [predicates.isNumber, true],
|
|
83
|
+
code: [predicates.isString, true],
|
|
83
84
|
name: [predicates.isString, true],
|
|
84
85
|
isCancel: [predicates.isBoolean, false]
|
|
85
86
|
}, "OrderItemStatus");
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@retailcrm/embed-ui-v1-contexts",
|
|
3
3
|
"description": "Reactive contexts for RetailCRM JS API",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "RetailDriverLLC <integration@retailcrm.ru>",
|
|
8
8
|
"repository": "git@github.com:retailcrm/embed-ui.git",
|
|
@@ -104,10 +104,10 @@
|
|
|
104
104
|
"@floating-ui/core": "^1.6.9",
|
|
105
105
|
"@floating-ui/dom": "^1.6.13",
|
|
106
106
|
"@omnicajs/symfony-router": "^1.0.0",
|
|
107
|
-
"@retailcrm/embed-ui-v1-types": "^0.8.
|
|
107
|
+
"@retailcrm/embed-ui-v1-types": "^0.8.2"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@retailcrm/embed-ui-v1-testing": "^0.8.
|
|
110
|
+
"@retailcrm/embed-ui-v1-testing": "^0.8.2",
|
|
111
111
|
"tsx": "^4.19.2",
|
|
112
112
|
"typescript": "^5.6.3",
|
|
113
113
|
"vite": "^5.4.11",
|