@infrab4a/connect 4.23.0-beta.3 → 4.23.0-beta.4
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/index.cjs.js +3 -1
- package/index.esm.js +3 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -339,7 +339,7 @@ class ProductErrors extends BaseModel {
|
|
|
339
339
|
this.errors = {};
|
|
340
340
|
}
|
|
341
341
|
setErrors(source, errors) {
|
|
342
|
-
this.errors[source] = errors
|
|
342
|
+
this.errors[source] = errors;
|
|
343
343
|
this.hasErrors = Object.values(this.errors).flat().length > 0;
|
|
344
344
|
}
|
|
345
345
|
getErrors(source) {
|
|
@@ -5856,6 +5856,8 @@ class ProductErrorsHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHas
|
|
|
5856
5856
|
'name',
|
|
5857
5857
|
'slug',
|
|
5858
5858
|
'published',
|
|
5859
|
+
'group',
|
|
5860
|
+
'validity',
|
|
5859
5861
|
{ createdAt: { columnName: 'created_at' } },
|
|
5860
5862
|
{ updatedAt: { columnName: 'updated_at' } },
|
|
5861
5863
|
],
|
package/index.esm.js
CHANGED
|
@@ -333,7 +333,7 @@ class ProductErrors extends BaseModel {
|
|
|
333
333
|
this.errors = {};
|
|
334
334
|
}
|
|
335
335
|
setErrors(source, errors) {
|
|
336
|
-
this.errors[source] = errors
|
|
336
|
+
this.errors[source] = errors;
|
|
337
337
|
this.hasErrors = Object.values(this.errors).flat().length > 0;
|
|
338
338
|
}
|
|
339
339
|
getErrors(source) {
|
|
@@ -5850,6 +5850,8 @@ class ProductErrorsHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHas
|
|
|
5850
5850
|
'name',
|
|
5851
5851
|
'slug',
|
|
5852
5852
|
'published',
|
|
5853
|
+
'group',
|
|
5854
|
+
'validity',
|
|
5853
5855
|
{ createdAt: { columnName: 'created_at' } },
|
|
5854
5856
|
{ updatedAt: { columnName: 'updated_at' } },
|
|
5855
5857
|
],
|