@retailcrm/embed-ui 0.4.1-beta.1 → 0.4.1-beta.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/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.4.1-beta.2](https://github.com/retailcrm/embed-ui/compare/v0.4.1-beta.1...v0.4.1-beta.2) (2024-11-29)
5
+
6
+ ### Features
7
+
8
+ * Replaced typeCode / siteCode with type / site in order/card schema ([102124b](https://github.com/retailcrm/embed-ui/commit/102124b2a591f034a89a53976b094979985fc48a))
4
9
  ## [0.4.1-beta.1](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.25...v0.4.1-beta.1) (2024-11-29)
5
10
 
6
11
  ### Features
package/dist/index.cjs CHANGED
@@ -164,12 +164,12 @@ const schema$1 = {
164
164
  defaults: () => null,
165
165
  readonly: true
166
166
  },
167
- "typeCode": {
167
+ "type": {
168
168
  accepts: oneOf(isString, isNull),
169
169
  defaults: () => null,
170
170
  readonly: true
171
171
  },
172
- "siteCode": {
172
+ "site": {
173
173
  accepts: oneOf(isString, isNull),
174
174
  defaults: () => null,
175
175
  readonly: true
package/dist/index.mjs CHANGED
@@ -162,12 +162,12 @@ const schema$1 = {
162
162
  defaults: () => null,
163
163
  readonly: true
164
164
  },
165
- "typeCode": {
165
+ "type": {
166
166
  accepts: oneOf(isString, isNull),
167
167
  defaults: () => null,
168
168
  readonly: true
169
169
  },
170
- "siteCode": {
170
+ "site": {
171
171
  accepts: oneOf(isString, isNull),
172
172
  defaults: () => null,
173
173
  readonly: true
package/dist/meta.json CHANGED
@@ -86,7 +86,7 @@
86
86
  "readonly": true
87
87
  },
88
88
  {
89
- "name": "typeCode",
89
+ "name": "type",
90
90
  "type": "string | null",
91
91
  "description": {
92
92
  "en-GB": "Order type code",
@@ -96,7 +96,7 @@
96
96
  "readonly": true
97
97
  },
98
98
  {
99
- "name": "siteCode",
99
+ "name": "site",
100
100
  "type": "string | null",
101
101
  "description": {
102
102
  "en-GB": "Store code associated with the order",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.4.1-beta.1",
4
+ "version": "0.4.1-beta.2",
5
5
  "description": "API and components for creating RetailCRM UI extensions",
6
6
  "repository": "git@github.com:retailcrm/embed-ui.git",
7
7
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
@@ -3,8 +3,8 @@ import type { Field, ReadonlyField } from '../schema'
3
3
  export type Schema = {
4
4
  'id': ReadonlyField<number | null>;
5
5
  'externalId': ReadonlyField<string | null>;
6
- 'typeCode': ReadonlyField<string | null>;
7
- 'siteCode': ReadonlyField<string | null>;
6
+ 'type': ReadonlyField<string | null>;
7
+ 'site': ReadonlyField<string | null>;
8
8
  'number': ReadonlyField<string | null>;
9
9
  'customer.type': ReadonlyField<'customer' | 'customer_corporate'>;
10
10
  'customer.lastName': Field<string | null>;