@rxdrag/rxcms-models 0.3.97 → 0.3.98
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/classes/LangQueryOptions.d.ts +5 -0
- package/dist/classes/TagCategoryQueryOptions.d.ts +21 -0
- package/dist/classes/TagQueryOptions.d.ts +3 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/tagCategoryEntry.d.ts +2 -0
- package/dist/fields/LangFields.d.ts +3 -1
- package/dist/fields/TagCategoryFields.d.ts +14 -0
- package/dist/fields/TagFields.d.ts +2 -1
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +161 -8
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Lang.d.ts +3 -0
- package/dist/interfaces/LangBoolExp.d.ts +2 -0
- package/dist/interfaces/LangInput.d.ts +2 -0
- package/dist/interfaces/Tag.d.ts +2 -0
- package/dist/interfaces/TagBoolExp.d.ts +2 -0
- package/dist/interfaces/TagCategory.d.ts +17 -0
- package/dist/interfaces/TagCategoryBoolExp.d.ts +18 -0
- package/dist/interfaces/TagCategoryDistinctExp.d.ts +7 -0
- package/dist/interfaces/TagCategoryInput.d.ts +17 -0
- package/dist/interfaces/TagCategoryOrderBy.d.ts +7 -0
- package/dist/interfaces/TagInput.d.ts +2 -0
- package/dist/interfaces/index.d.ts +5 -0
- package/package.json +3 -3
|
@@ -40,6 +40,9 @@ import { BulletinBoolExp } from '../interfaces';
|
|
|
40
40
|
import { TagQueryOptions } from './TagQueryOptions';
|
|
41
41
|
import { Tag } from '../interfaces';
|
|
42
42
|
import { TagBoolExp } from '../interfaces';
|
|
43
|
+
import { TagCategoryQueryOptions } from './TagCategoryQueryOptions';
|
|
44
|
+
import { TagCategory } from '../interfaces';
|
|
45
|
+
import { TagCategoryBoolExp } from '../interfaces';
|
|
43
46
|
export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, LangOrderBy, LangDistinctExp> {
|
|
44
47
|
constructor(fields?: (keyof Lang)[], queryArgs?: IQueryArgs<LangBoolExp, LangOrderBy, LangDistinctExp>);
|
|
45
48
|
id(): this;
|
|
@@ -95,4 +98,6 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
|
|
|
95
98
|
bulletinsAggregate(aggregate: IAggregate<BulletinBoolExp>): this;
|
|
96
99
|
tags(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
97
100
|
tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
101
|
+
tagCategories(options?: TagCategoryQueryOptions | (keyof TagCategory)[]): this;
|
|
102
|
+
tagCategoriesAggregate(aggregate: IAggregate<TagCategoryBoolExp>): this;
|
|
98
103
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IAggregate, IQueryArgs } from "@rxdrag/entify-lib";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { TagCategory, TagCategoryBoolExp, TagCategoryDistinctExp, TagCategoryOrderBy } from "../interfaces";
|
|
4
|
+
import { TagQueryOptions } from './TagQueryOptions';
|
|
5
|
+
import { Tag } from '../interfaces';
|
|
6
|
+
import { TagBoolExp } from '../interfaces';
|
|
7
|
+
import { LangQueryOptions } from './LangQueryOptions';
|
|
8
|
+
import { Lang } from '../interfaces';
|
|
9
|
+
export declare class TagCategoryQueryOptions extends QueryOptions<TagCategory, TagCategoryBoolExp, TagCategoryOrderBy, TagCategoryDistinctExp> {
|
|
10
|
+
constructor(fields?: (keyof TagCategory)[], queryArgs?: IQueryArgs<TagCategoryBoolExp, TagCategoryOrderBy, TagCategoryDistinctExp>);
|
|
11
|
+
id(): this;
|
|
12
|
+
name(): this;
|
|
13
|
+
updateAt(): this;
|
|
14
|
+
createdAt(): this;
|
|
15
|
+
tags(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
16
|
+
tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
17
|
+
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
18
|
+
children(options?: TagCategoryQueryOptions | (keyof TagCategory)[]): this;
|
|
19
|
+
childrenAggregate(aggregate: IAggregate<TagCategoryBoolExp>): this;
|
|
20
|
+
parent(options?: TagCategoryQueryOptions | (keyof TagCategory)[]): this;
|
|
21
|
+
}
|
|
@@ -11,6 +11,8 @@ import { Product } from '../interfaces';
|
|
|
11
11
|
import { ProductBoolExp } from '../interfaces';
|
|
12
12
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
13
13
|
import { Website } from '../interfaces';
|
|
14
|
+
import { TagCategoryQueryOptions } from './TagCategoryQueryOptions';
|
|
15
|
+
import { TagCategory } from '../interfaces';
|
|
14
16
|
export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOrderBy, TagDistinctExp> {
|
|
15
17
|
constructor(fields?: (keyof Tag)[], queryArgs?: IQueryArgs<TagBoolExp, TagOrderBy, TagDistinctExp>);
|
|
16
18
|
id(): this;
|
|
@@ -27,4 +29,5 @@ export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOr
|
|
|
27
29
|
products(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
28
30
|
productsAggregate(aggregate: IAggregate<ProductBoolExp>): this;
|
|
29
31
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
32
|
+
category(options?: TagCategoryQueryOptions | (keyof TagCategory)[]): this;
|
|
30
33
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -45,5 +45,6 @@ export * from './ThemeQueryOptions';
|
|
|
45
45
|
export * from './SvgIconQueryOptions';
|
|
46
46
|
export * from './ThemeFileQueryOptions';
|
|
47
47
|
export * from './ThemeFileFolderQueryOptions';
|
|
48
|
+
export * from './TagCategoryQueryOptions';
|
|
48
49
|
export * from './QueryOptions';
|
|
49
50
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -53,5 +53,7 @@ export declare enum LangAssciations {
|
|
|
53
53
|
bulletins = "bulletins",
|
|
54
54
|
bulletinsAggregate = "bulletinsAggregate",
|
|
55
55
|
tags = "tags",
|
|
56
|
-
tagsAggregate = "tagsAggregate"
|
|
56
|
+
tagsAggregate = "tagsAggregate",
|
|
57
|
+
tagCategories = "tagCategories",
|
|
58
|
+
tagCategoriesAggregate = "tagCategoriesAggregate"
|
|
57
59
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum TagCategoryFields {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
updateAt = "updateAt",
|
|
5
|
+
createdAt = "createdAt"
|
|
6
|
+
}
|
|
7
|
+
export declare enum TagCategoryAssciations {
|
|
8
|
+
tags = "tags",
|
|
9
|
+
tagsAggregate = "tagsAggregate",
|
|
10
|
+
lang = "lang",
|
|
11
|
+
children = "children",
|
|
12
|
+
childrenAggregate = "childrenAggregate",
|
|
13
|
+
parent = "parent"
|
|
14
|
+
}
|
package/dist/fields/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -65,7 +65,8 @@ const aggregateEntities = {
|
|
|
65
65
|
baseLangOfAggregate: "Website",
|
|
66
66
|
themesAggregate: "ThemeBranch",
|
|
67
67
|
bulletinsAggregate: "Bulletin",
|
|
68
|
-
tagsAggregate: "Tag"
|
|
68
|
+
tagsAggregate: "Tag",
|
|
69
|
+
tagCategoriesAggregate: "TagCategory"
|
|
69
70
|
},
|
|
70
71
|
WebsiteType: {
|
|
71
72
|
websitesAggregate: "Website"
|
|
@@ -128,6 +129,10 @@ const aggregateEntities = {
|
|
|
128
129
|
ThemeFileFolder: {
|
|
129
130
|
foldersAggregate: "ThemeFileFolder",
|
|
130
131
|
filesAggregate: "ThemeFile"
|
|
132
|
+
},
|
|
133
|
+
TagCategory: {
|
|
134
|
+
tagsAggregate: "Tag",
|
|
135
|
+
childrenAggregate: "TagCategory"
|
|
131
136
|
}
|
|
132
137
|
};
|
|
133
138
|
class QueryOptions {
|
|
@@ -638,6 +643,27 @@ const postToInput = (entity) => {
|
|
|
638
643
|
website: convertHasOneToInput(entity.website)
|
|
639
644
|
};
|
|
640
645
|
};
|
|
646
|
+
const tagCategoryToInputCascade = (entity) => {
|
|
647
|
+
var _a, _b;
|
|
648
|
+
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
649
|
+
return {
|
|
650
|
+
...rest,
|
|
651
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
|
|
652
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
653
|
+
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => tagCategoryToInput(ent)) }) : void 0,
|
|
654
|
+
parent: entity.parent ? processHasOneClear({ sync: tagCategoryToInput(entity.parent) }) : void 0
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
const tagCategoryToInput = (entity) => {
|
|
658
|
+
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
659
|
+
return {
|
|
660
|
+
...rest,
|
|
661
|
+
tags: convertHasManyToInput(entity.tags),
|
|
662
|
+
lang: convertHasOneToInput(entity.lang),
|
|
663
|
+
children: convertHasManyToInput(entity.children),
|
|
664
|
+
parent: convertHasOneToInput(entity.parent)
|
|
665
|
+
};
|
|
666
|
+
};
|
|
641
667
|
const tagToInputCascade = (entity) => {
|
|
642
668
|
var _a, _b;
|
|
643
669
|
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
@@ -646,7 +672,8 @@ const tagToInputCascade = (entity) => {
|
|
|
646
672
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
647
673
|
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
648
674
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
649
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
675
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
|
|
676
|
+
category: entity.category ? processHasOneClear({ sync: tagCategoryToInput(entity.category) }) : void 0
|
|
650
677
|
};
|
|
651
678
|
};
|
|
652
679
|
const tagToInput = (entity) => {
|
|
@@ -656,7 +683,8 @@ const tagToInput = (entity) => {
|
|
|
656
683
|
lang: convertHasOneToInput(entity.lang),
|
|
657
684
|
posts: convertHasManyToInput(entity.posts),
|
|
658
685
|
products: convertHasManyToInput(entity.products),
|
|
659
|
-
website: convertHasOneToInput(entity.website)
|
|
686
|
+
website: convertHasOneToInput(entity.website),
|
|
687
|
+
category: convertHasOneToInput(entity.category)
|
|
660
688
|
};
|
|
661
689
|
};
|
|
662
690
|
const mediaOnProductToInputCascade = (entity) => {
|
|
@@ -973,8 +1001,8 @@ const enquiryToInput = (entity) => {
|
|
|
973
1001
|
};
|
|
974
1002
|
};
|
|
975
1003
|
const langToInputCascade = (entity) => {
|
|
976
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
977
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, ...rest } = entity;
|
|
1004
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
1005
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
978
1006
|
return {
|
|
979
1007
|
...rest,
|
|
980
1008
|
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
@@ -990,11 +1018,12 @@ const langToInputCascade = (entity) => {
|
|
|
990
1018
|
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_k = entity.baseLangOf) == null ? void 0 : _k.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
991
1019
|
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) => themeBranchToInput(ent)) }) : void 0,
|
|
992
1020
|
bulletins: entity.bulletins ? processHasManyClear({ sync: (_m = entity.bulletins) == null ? void 0 : _m.map((ent) => bulletinToInput(ent)) }) : void 0,
|
|
993
|
-
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) => tagToInput(ent)) }) : void 0
|
|
1021
|
+
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) => tagToInput(ent)) }) : void 0,
|
|
1022
|
+
tagCategories: entity.tagCategories ? processHasManyClear({ sync: (_o = entity.tagCategories) == null ? void 0 : _o.map((ent) => tagCategoryToInput(ent)) }) : void 0
|
|
994
1023
|
};
|
|
995
1024
|
};
|
|
996
1025
|
const langToInput = (entity) => {
|
|
997
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, ...rest } = entity;
|
|
1026
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
998
1027
|
return {
|
|
999
1028
|
...rest,
|
|
1000
1029
|
webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
|
|
@@ -1010,7 +1039,8 @@ const langToInput = (entity) => {
|
|
|
1010
1039
|
baseLangOf: convertHasManyToInput(entity.baseLangOf),
|
|
1011
1040
|
themes: convertHasManyToInput(entity.themes),
|
|
1012
1041
|
bulletins: convertHasManyToInput(entity.bulletins),
|
|
1013
|
-
tags: convertHasManyToInput(entity.tags)
|
|
1042
|
+
tags: convertHasManyToInput(entity.tags),
|
|
1043
|
+
tagCategories: convertHasManyToInput(entity.tagCategories)
|
|
1014
1044
|
};
|
|
1015
1045
|
};
|
|
1016
1046
|
const mediaFolderToInputCascade = (entity) => {
|
|
@@ -2069,6 +2099,15 @@ var ThemeFileFolderDistinctEnum = /* @__PURE__ */ ((ThemeFileFolderDistinctEnum2
|
|
|
2069
2099
|
ThemeFileFolderDistinctEnum2["createdAt"] = "createdAt";
|
|
2070
2100
|
return ThemeFileFolderDistinctEnum2;
|
|
2071
2101
|
})(ThemeFileFolderDistinctEnum || {});
|
|
2102
|
+
const TagCategoryEntityName = "TagCategory";
|
|
2103
|
+
const TagCategoryEntityLabel = "";
|
|
2104
|
+
var TagCategoryDistinctEnum = /* @__PURE__ */ ((TagCategoryDistinctEnum2) => {
|
|
2105
|
+
TagCategoryDistinctEnum2["id"] = "id";
|
|
2106
|
+
TagCategoryDistinctEnum2["name"] = "name";
|
|
2107
|
+
TagCategoryDistinctEnum2["updateAt"] = "updateAt";
|
|
2108
|
+
TagCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
2109
|
+
return TagCategoryDistinctEnum2;
|
|
2110
|
+
})(TagCategoryDistinctEnum || {});
|
|
2072
2111
|
class RoleVariableQueryOptions extends QueryOptions {
|
|
2073
2112
|
constructor(fields, queryArgs) {
|
|
2074
2113
|
super(RoleVariableEntityName, fields, queryArgs);
|
|
@@ -3460,6 +3499,67 @@ class PostQueryOptions extends QueryOptions {
|
|
|
3460
3499
|
return this;
|
|
3461
3500
|
}
|
|
3462
3501
|
}
|
|
3502
|
+
class TagCategoryQueryOptions extends QueryOptions {
|
|
3503
|
+
constructor(fields, queryArgs) {
|
|
3504
|
+
super(TagCategoryEntityName, fields, queryArgs);
|
|
3505
|
+
}
|
|
3506
|
+
id() {
|
|
3507
|
+
this.addField("id");
|
|
3508
|
+
return this;
|
|
3509
|
+
}
|
|
3510
|
+
name() {
|
|
3511
|
+
this.addField("name");
|
|
3512
|
+
return this;
|
|
3513
|
+
}
|
|
3514
|
+
updateAt() {
|
|
3515
|
+
this.addField("updateAt");
|
|
3516
|
+
return this;
|
|
3517
|
+
}
|
|
3518
|
+
createdAt() {
|
|
3519
|
+
this.addField("createdAt");
|
|
3520
|
+
return this;
|
|
3521
|
+
}
|
|
3522
|
+
tags(options) {
|
|
3523
|
+
if (Array.isArray(options)) {
|
|
3524
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
3525
|
+
} else {
|
|
3526
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
3527
|
+
}
|
|
3528
|
+
return this;
|
|
3529
|
+
}
|
|
3530
|
+
tagsAggregate(aggregate) {
|
|
3531
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
3532
|
+
return this;
|
|
3533
|
+
}
|
|
3534
|
+
lang(options) {
|
|
3535
|
+
if (Array.isArray(options)) {
|
|
3536
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3537
|
+
} else {
|
|
3538
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3539
|
+
}
|
|
3540
|
+
return this;
|
|
3541
|
+
}
|
|
3542
|
+
children(options) {
|
|
3543
|
+
if (Array.isArray(options)) {
|
|
3544
|
+
this._associations["children"] = new TagCategoryQueryOptions(options);
|
|
3545
|
+
} else {
|
|
3546
|
+
this._associations["children"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3547
|
+
}
|
|
3548
|
+
return this;
|
|
3549
|
+
}
|
|
3550
|
+
childrenAggregate(aggregate) {
|
|
3551
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
3552
|
+
return this;
|
|
3553
|
+
}
|
|
3554
|
+
parent(options) {
|
|
3555
|
+
if (Array.isArray(options)) {
|
|
3556
|
+
this._associations["parent"] = new TagCategoryQueryOptions(options);
|
|
3557
|
+
} else {
|
|
3558
|
+
this._associations["parent"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3559
|
+
}
|
|
3560
|
+
return this;
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3463
3563
|
class TagQueryOptions extends QueryOptions {
|
|
3464
3564
|
constructor(fields, queryArgs) {
|
|
3465
3565
|
super(TagEntityName, fields, queryArgs);
|
|
@@ -3527,6 +3627,14 @@ class TagQueryOptions extends QueryOptions {
|
|
|
3527
3627
|
}
|
|
3528
3628
|
return this;
|
|
3529
3629
|
}
|
|
3630
|
+
category(options) {
|
|
3631
|
+
if (Array.isArray(options)) {
|
|
3632
|
+
this._associations["category"] = new TagCategoryQueryOptions(options);
|
|
3633
|
+
} else {
|
|
3634
|
+
this._associations["category"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3635
|
+
}
|
|
3636
|
+
return this;
|
|
3637
|
+
}
|
|
3530
3638
|
}
|
|
3531
3639
|
class MediaOnProductQueryOptions extends QueryOptions {
|
|
3532
3640
|
constructor(fields, queryArgs) {
|
|
@@ -5071,6 +5179,18 @@ class LangQueryOptions extends QueryOptions {
|
|
|
5071
5179
|
this._aggregates["tagsAggregate"] = aggregate;
|
|
5072
5180
|
return this;
|
|
5073
5181
|
}
|
|
5182
|
+
tagCategories(options) {
|
|
5183
|
+
if (Array.isArray(options)) {
|
|
5184
|
+
this._associations["tagCategories"] = new TagCategoryQueryOptions(options);
|
|
5185
|
+
} else {
|
|
5186
|
+
this._associations["tagCategories"] = options || new TagCategoryQueryOptions(["id"]);
|
|
5187
|
+
}
|
|
5188
|
+
return this;
|
|
5189
|
+
}
|
|
5190
|
+
tagCategoriesAggregate(aggregate) {
|
|
5191
|
+
this._aggregates["tagCategoriesAggregate"] = aggregate;
|
|
5192
|
+
return this;
|
|
5193
|
+
}
|
|
5074
5194
|
}
|
|
5075
5195
|
class MediaFolderQueryOptions extends QueryOptions {
|
|
5076
5196
|
constructor(fields, queryArgs) {
|
|
@@ -6149,6 +6269,11 @@ const themeFileFolderEntry = {
|
|
|
6149
6269
|
entityLabel: ThemeFileFolderEntityLabel,
|
|
6150
6270
|
toInput: themeFileFolderToInput
|
|
6151
6271
|
};
|
|
6272
|
+
const tagCategoryEntry = {
|
|
6273
|
+
entityName: TagCategoryEntityName,
|
|
6274
|
+
entityLabel: TagCategoryEntityLabel,
|
|
6275
|
+
toInput: tagCategoryToInput
|
|
6276
|
+
};
|
|
6152
6277
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
6153
6278
|
UserFields2["id"] = "id";
|
|
6154
6279
|
UserFields2["loginName"] = "loginName";
|
|
@@ -6411,6 +6536,8 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
6411
6536
|
LangAssciations2["bulletinsAggregate"] = "bulletinsAggregate";
|
|
6412
6537
|
LangAssciations2["tags"] = "tags";
|
|
6413
6538
|
LangAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
6539
|
+
LangAssciations2["tagCategories"] = "tagCategories";
|
|
6540
|
+
LangAssciations2["tagCategoriesAggregate"] = "tagCategoriesAggregate";
|
|
6414
6541
|
return LangAssciations2;
|
|
6415
6542
|
})(LangAssciations || {});
|
|
6416
6543
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
@@ -6659,6 +6786,7 @@ var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|
|
|
6659
6786
|
TagAssciations2["products"] = "products";
|
|
6660
6787
|
TagAssciations2["productsAggregate"] = "productsAggregate";
|
|
6661
6788
|
TagAssciations2["website"] = "website";
|
|
6789
|
+
TagAssciations2["category"] = "category";
|
|
6662
6790
|
return TagAssciations2;
|
|
6663
6791
|
})(TagAssciations || {});
|
|
6664
6792
|
var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
@@ -7125,6 +7253,22 @@ var ThemeFileFolderAssciations = /* @__PURE__ */ ((ThemeFileFolderAssciations2)
|
|
|
7125
7253
|
ThemeFileFolderAssciations2["parent"] = "parent";
|
|
7126
7254
|
return ThemeFileFolderAssciations2;
|
|
7127
7255
|
})(ThemeFileFolderAssciations || {});
|
|
7256
|
+
var TagCategoryFields = /* @__PURE__ */ ((TagCategoryFields2) => {
|
|
7257
|
+
TagCategoryFields2["id"] = "id";
|
|
7258
|
+
TagCategoryFields2["name"] = "name";
|
|
7259
|
+
TagCategoryFields2["updateAt"] = "updateAt";
|
|
7260
|
+
TagCategoryFields2["createdAt"] = "createdAt";
|
|
7261
|
+
return TagCategoryFields2;
|
|
7262
|
+
})(TagCategoryFields || {});
|
|
7263
|
+
var TagCategoryAssciations = /* @__PURE__ */ ((TagCategoryAssciations2) => {
|
|
7264
|
+
TagCategoryAssciations2["tags"] = "tags";
|
|
7265
|
+
TagCategoryAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
7266
|
+
TagCategoryAssciations2["lang"] = "lang";
|
|
7267
|
+
TagCategoryAssciations2["children"] = "children";
|
|
7268
|
+
TagCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
7269
|
+
TagCategoryAssciations2["parent"] = "parent";
|
|
7270
|
+
return TagCategoryAssciations2;
|
|
7271
|
+
})(TagCategoryAssciations || {});
|
|
7128
7272
|
export {
|
|
7129
7273
|
AbilityAssciations,
|
|
7130
7274
|
AbilityDistinctEnum,
|
|
@@ -7325,6 +7469,12 @@ export {
|
|
|
7325
7469
|
SvgIconFields,
|
|
7326
7470
|
SvgIconQueryOptions,
|
|
7327
7471
|
TagAssciations,
|
|
7472
|
+
TagCategoryAssciations,
|
|
7473
|
+
TagCategoryDistinctEnum,
|
|
7474
|
+
TagCategoryEntityLabel,
|
|
7475
|
+
TagCategoryEntityName,
|
|
7476
|
+
TagCategoryFields,
|
|
7477
|
+
TagCategoryQueryOptions,
|
|
7328
7478
|
TagDistinctEnum,
|
|
7329
7479
|
TagEntityLabel,
|
|
7330
7480
|
TagEntityName,
|
|
@@ -7527,6 +7677,9 @@ export {
|
|
|
7527
7677
|
svgIconEntry,
|
|
7528
7678
|
svgIconToInput,
|
|
7529
7679
|
svgIconToInputCascade,
|
|
7680
|
+
tagCategoryEntry,
|
|
7681
|
+
tagCategoryToInput,
|
|
7682
|
+
tagCategoryToInputCascade,
|
|
7530
7683
|
tagEntry,
|
|
7531
7684
|
tagToInput,
|
|
7532
7685
|
tagToInputCascade,
|