@infrab4a/connect 4.4.0-beta.9 → 4.4.0
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
CHANGED
|
@@ -562,6 +562,10 @@ tslib_1.__decorate([
|
|
|
562
562
|
classTransformer.Expose({ name: 'paid_amount' }),
|
|
563
563
|
tslib_1.__metadata("design:type", Number)
|
|
564
564
|
], Payment.prototype, "paidAmount", void 0);
|
|
565
|
+
tslib_1.__decorate([
|
|
566
|
+
classTransformer.Expose({ name: 'paid_at' }),
|
|
567
|
+
tslib_1.__metadata("design:type", String)
|
|
568
|
+
], Payment.prototype, "paidAt", void 0);
|
|
565
569
|
tslib_1.__decorate([
|
|
566
570
|
classTransformer.Expose({ name: 'refunded_amount' }),
|
|
567
571
|
tslib_1.__metadata("design:type", Number)
|
|
@@ -4921,7 +4925,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4921
4925
|
}
|
|
4922
4926
|
}
|
|
4923
4927
|
async getChildren(parentId) {
|
|
4924
|
-
const { category_tree } = await this.query('category_tree', ['id', 'name', 'parent_id'], {
|
|
4928
|
+
const { category_tree } = await this.query('category_tree', ['id', 'name', 'parent_id', 'slug', 'reference'], {
|
|
4925
4929
|
args: {
|
|
4926
4930
|
type: 'category_tree_args',
|
|
4927
4931
|
value: { parentid: parentId },
|
package/index.esm.js
CHANGED
|
@@ -538,6 +538,10 @@ __decorate([
|
|
|
538
538
|
Expose({ name: 'paid_amount' }),
|
|
539
539
|
__metadata("design:type", Number)
|
|
540
540
|
], Payment.prototype, "paidAmount", void 0);
|
|
541
|
+
__decorate([
|
|
542
|
+
Expose({ name: 'paid_at' }),
|
|
543
|
+
__metadata("design:type", String)
|
|
544
|
+
], Payment.prototype, "paidAt", void 0);
|
|
541
545
|
__decorate([
|
|
542
546
|
Expose({ name: 'refunded_amount' }),
|
|
543
547
|
__metadata("design:type", Number)
|
|
@@ -4897,7 +4901,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4897
4901
|
}
|
|
4898
4902
|
}
|
|
4899
4903
|
async getChildren(parentId) {
|
|
4900
|
-
const { category_tree } = await this.query('category_tree', ['id', 'name', 'parent_id'], {
|
|
4904
|
+
const { category_tree } = await this.query('category_tree', ['id', 'name', 'parent_id', 'slug', 'reference'], {
|
|
4901
4905
|
args: {
|
|
4902
4906
|
type: 'category_tree_args',
|
|
4903
4907
|
value: { parentid: parentId },
|
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { Shops } from '../../catalog';
|
|
1
2
|
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
3
|
import { MenuNav } from './types/menu-nav.type';
|
|
3
4
|
export declare class ShopMenu extends BaseModel<ShopMenu> {
|
|
4
5
|
menuNav: MenuNav[];
|
|
6
|
+
shop: Shops;
|
|
5
7
|
id: string;
|
|
6
8
|
static get identifiersFields(): GenericIdentifier[];
|
|
7
9
|
}
|