@rxdrag/rxcms-models 0.3.94 → 0.3.95
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 -5
- package/dist/classes/TagQueryOptions.d.ts +1 -2
- package/dist/classes/WebsiteQueryOptions.d.ts +5 -5
- package/dist/fields/LangFields.d.ts +3 -3
- package/dist/fields/TagFields.d.ts +1 -2
- package/dist/fields/WebsiteFields.d.ts +2 -2
- package/dist/index.mjs +65 -71
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Lang.d.ts +3 -3
- package/dist/interfaces/LangBoolExp.d.ts +2 -2
- package/dist/interfaces/LangInput.d.ts +2 -2
- package/dist/interfaces/Tag.d.ts +3 -2
- package/dist/interfaces/TagBoolExp.d.ts +4 -2
- package/dist/interfaces/TagDistinctExp.d.ts +2 -4
- package/dist/interfaces/TagInput.d.ts +3 -2
- package/dist/interfaces/TagOrderBy.d.ts +3 -2
- package/dist/interfaces/Website.d.ts +3 -3
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -2
- package/dist/interfaces/WebsiteInput.d.ts +2 -2
- package/package.json +1 -1
|
@@ -16,9 +16,6 @@ import { PostBoolExp } from '../interfaces';
|
|
|
16
16
|
import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
|
|
17
17
|
import { PostCategory } from '../interfaces';
|
|
18
18
|
import { PostCategoryBoolExp } from '../interfaces';
|
|
19
|
-
import { TagQueryOptions } from './TagQueryOptions';
|
|
20
|
-
import { Tag } from '../interfaces';
|
|
21
|
-
import { TagBoolExp } from '../interfaces';
|
|
22
19
|
import { CustomerQueryOptions } from './CustomerQueryOptions';
|
|
23
20
|
import { Customer } from '../interfaces';
|
|
24
21
|
import { CustomerBoolExp } from '../interfaces';
|
|
@@ -40,6 +37,9 @@ import { ThemeBranchBoolExp } from '../interfaces';
|
|
|
40
37
|
import { BulletinQueryOptions } from './BulletinQueryOptions';
|
|
41
38
|
import { Bulletin } from '../interfaces';
|
|
42
39
|
import { BulletinBoolExp } from '../interfaces';
|
|
40
|
+
import { TagQueryOptions } from './TagQueryOptions';
|
|
41
|
+
import { Tag } from '../interfaces';
|
|
42
|
+
import { TagBoolExp } from '../interfaces';
|
|
43
43
|
export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, LangOrderBy, LangDistinctExp> {
|
|
44
44
|
constructor(fields?: (keyof Lang)[], queryArgs?: IQueryArgs<LangBoolExp, LangOrderBy, LangDistinctExp>);
|
|
45
45
|
id(): this;
|
|
@@ -77,8 +77,6 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
|
|
|
77
77
|
webPartsOfPostAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
78
78
|
webPartsOfPostCategory(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
79
79
|
webPartsOfPostCategoryAggregate(aggregate: IAggregate<PostCategoryBoolExp>): this;
|
|
80
|
-
webPartsOfTag(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
81
|
-
webPartsOfTagAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
82
80
|
webPartsOfCustomer(options?: CustomerQueryOptions | (keyof Customer)[]): this;
|
|
83
81
|
webPartsOfCustomerAggregate(aggregate: IAggregate<CustomerBoolExp>): this;
|
|
84
82
|
webPartsOfProductCategory(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
|
|
@@ -95,4 +93,6 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
|
|
|
95
93
|
themesAggregate(aggregate: IAggregate<ThemeBranchBoolExp>): this;
|
|
96
94
|
bulletins(options?: BulletinQueryOptions | (keyof Bulletin)[]): this;
|
|
97
95
|
bulletinsAggregate(aggregate: IAggregate<BulletinBoolExp>): this;
|
|
96
|
+
tags(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
97
|
+
tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
98
98
|
}
|
|
@@ -19,9 +19,8 @@ export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOr
|
|
|
19
19
|
*/
|
|
20
20
|
name(): this;
|
|
21
21
|
color(): this;
|
|
22
|
-
createdAt(): this;
|
|
23
22
|
updatedAt(): this;
|
|
24
|
-
|
|
23
|
+
createdAt(): this;
|
|
25
24
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
26
25
|
posts(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
27
26
|
postsAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
@@ -21,9 +21,6 @@ import { PostBoolExp } from '../interfaces';
|
|
|
21
21
|
import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
|
|
22
22
|
import { PostCategory } from '../interfaces';
|
|
23
23
|
import { PostCategoryBoolExp } from '../interfaces';
|
|
24
|
-
import { TagQueryOptions } from './TagQueryOptions';
|
|
25
|
-
import { Tag } from '../interfaces';
|
|
26
|
-
import { TagBoolExp } from '../interfaces';
|
|
27
24
|
import { CustomerQueryOptions } from './CustomerQueryOptions';
|
|
28
25
|
import { Customer } from '../interfaces';
|
|
29
26
|
import { CustomerBoolExp } from '../interfaces';
|
|
@@ -64,6 +61,9 @@ import { UserOperationBoolExp } from '../interfaces';
|
|
|
64
61
|
import { SvgIconQueryOptions } from './SvgIconQueryOptions';
|
|
65
62
|
import { SvgIcon } from '../interfaces';
|
|
66
63
|
import { SvgIconBoolExp } from '../interfaces';
|
|
64
|
+
import { TagQueryOptions } from './TagQueryOptions';
|
|
65
|
+
import { Tag } from '../interfaces';
|
|
66
|
+
import { TagBoolExp } from '../interfaces';
|
|
67
67
|
export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
|
|
68
68
|
constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
|
|
69
69
|
id(): this;
|
|
@@ -111,8 +111,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
111
111
|
partsOfPostAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
112
112
|
partsOfPostCategory(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
113
113
|
partsOfPostCategoryAggregate(aggregate: IAggregate<PostCategoryBoolExp>): this;
|
|
114
|
-
partsOfTag(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
115
|
-
partsOfTagAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
116
114
|
partsOfCustomer(options?: CustomerQueryOptions | (keyof Customer)[]): this;
|
|
117
115
|
partsOfCustomerAggregate(aggregate: IAggregate<CustomerBoolExp>): this;
|
|
118
116
|
partsOfProductCategory(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
|
|
@@ -140,5 +138,7 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
140
138
|
userOperationsAggregate(aggregate: IAggregate<UserOperationBoolExp>): this;
|
|
141
139
|
svgIcons(options?: SvgIconQueryOptions | (keyof SvgIcon)[]): this;
|
|
142
140
|
svgIconsAggregate(aggregate: IAggregate<SvgIconBoolExp>): this;
|
|
141
|
+
tags(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
142
|
+
tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
143
143
|
mockBranch(options?: ThemeBranchQueryOptions | (keyof ThemeBranch)[]): this;
|
|
144
144
|
}
|
|
@@ -36,8 +36,6 @@ export declare enum LangAssciations {
|
|
|
36
36
|
webPartsOfPostAggregate = "webPartsOfPostAggregate",
|
|
37
37
|
webPartsOfPostCategory = "webPartsOfPostCategory",
|
|
38
38
|
webPartsOfPostCategoryAggregate = "webPartsOfPostCategoryAggregate",
|
|
39
|
-
webPartsOfTag = "webPartsOfTag",
|
|
40
|
-
webPartsOfTagAggregate = "webPartsOfTagAggregate",
|
|
41
39
|
webPartsOfCustomer = "webPartsOfCustomer",
|
|
42
40
|
webPartsOfCustomerAggregate = "webPartsOfCustomerAggregate",
|
|
43
41
|
webPartsOfProductCategory = "webPartsOfProductCategory",
|
|
@@ -53,5 +51,7 @@ export declare enum LangAssciations {
|
|
|
53
51
|
themes = "themes",
|
|
54
52
|
themesAggregate = "themesAggregate",
|
|
55
53
|
bulletins = "bulletins",
|
|
56
|
-
bulletinsAggregate = "bulletinsAggregate"
|
|
54
|
+
bulletinsAggregate = "bulletinsAggregate",
|
|
55
|
+
tags = "tags",
|
|
56
|
+
tagsAggregate = "tagsAggregate"
|
|
57
57
|
}
|
|
@@ -46,8 +46,6 @@ export declare enum WebsiteAssciations {
|
|
|
46
46
|
partsOfPostAggregate = "partsOfPostAggregate",
|
|
47
47
|
partsOfPostCategory = "partsOfPostCategory",
|
|
48
48
|
partsOfPostCategoryAggregate = "partsOfPostCategoryAggregate",
|
|
49
|
-
partsOfTag = "partsOfTag",
|
|
50
|
-
partsOfTagAggregate = "partsOfTagAggregate",
|
|
51
49
|
partsOfCustomer = "partsOfCustomer",
|
|
52
50
|
partsOfCustomerAggregate = "partsOfCustomerAggregate",
|
|
53
51
|
partsOfProductCategory = "partsOfProductCategory",
|
|
@@ -75,5 +73,7 @@ export declare enum WebsiteAssciations {
|
|
|
75
73
|
userOperationsAggregate = "userOperationsAggregate",
|
|
76
74
|
svgIcons = "svgIcons",
|
|
77
75
|
svgIconsAggregate = "svgIconsAggregate",
|
|
76
|
+
tags = "tags",
|
|
77
|
+
tagsAggregate = "tagsAggregate",
|
|
78
78
|
mockBranch = "mockBranch"
|
|
79
79
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,6 @@ const aggregateEntities = {
|
|
|
38
38
|
partsOfProductAggregate: "Product",
|
|
39
39
|
partsOfPostAggregate: "Post",
|
|
40
40
|
partsOfPostCategoryAggregate: "PostCategory",
|
|
41
|
-
partsOfTagAggregate: "Tag",
|
|
42
41
|
partsOfCustomerAggregate: "Customer",
|
|
43
42
|
partsOfProductCategoryAggregate: "ProductCategory",
|
|
44
43
|
partsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
@@ -50,7 +49,8 @@ const aggregateEntities = {
|
|
|
50
49
|
bulletinsAggregate: "Bulletin",
|
|
51
50
|
snapshotsAggregate: "WebsiteSnapshot",
|
|
52
51
|
userOperationsAggregate: "UserOperation",
|
|
53
|
-
svgIconsAggregate: "SvgIcon"
|
|
52
|
+
svgIconsAggregate: "SvgIcon",
|
|
53
|
+
tagsAggregate: "Tag"
|
|
54
54
|
},
|
|
55
55
|
Lang: {
|
|
56
56
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -58,7 +58,6 @@ const aggregateEntities = {
|
|
|
58
58
|
webPartsOfProductAggregate: "Product",
|
|
59
59
|
webPartsOfPostAggregate: "Post",
|
|
60
60
|
webPartsOfPostCategoryAggregate: "PostCategory",
|
|
61
|
-
webPartsOfTagAggregate: "Tag",
|
|
62
61
|
webPartsOfCustomerAggregate: "Customer",
|
|
63
62
|
webPartsOfProductCategoryAggregate: "ProductCategory",
|
|
64
63
|
webPartsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
@@ -66,7 +65,8 @@ const aggregateEntities = {
|
|
|
66
65
|
websitesAggregate: "Website",
|
|
67
66
|
baseLangOfAggregate: "Website",
|
|
68
67
|
themesAggregate: "ThemeBranch",
|
|
69
|
-
bulletinsAggregate: "Bulletin"
|
|
68
|
+
bulletinsAggregate: "Bulletin",
|
|
69
|
+
tagsAggregate: "Tag"
|
|
70
70
|
},
|
|
71
71
|
WebsiteType: {
|
|
72
72
|
websitesAggregate: "Website"
|
|
@@ -867,7 +867,7 @@ const svgIconToInput = (entity) => {
|
|
|
867
867
|
};
|
|
868
868
|
const websiteToInputCascade = (entity) => {
|
|
869
869
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
870
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate,
|
|
870
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, ...rest } = entity;
|
|
871
871
|
return {
|
|
872
872
|
...rest,
|
|
873
873
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
@@ -878,27 +878,27 @@ const websiteToInputCascade = (entity) => {
|
|
|
878
878
|
partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_d = entity.partsOfProduct) == null ? void 0 : _d.map((ent) => productToInput(ent)) }) : void 0,
|
|
879
879
|
partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_e = entity.partsOfPost) == null ? void 0 : _e.map((ent) => postToInput(ent)) }) : void 0,
|
|
880
880
|
partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_f = entity.partsOfPostCategory) == null ? void 0 : _f.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
langs: entity.langs ? processHasManyClear({ sync: (_l = entity.langs) == null ? void 0 : _l.map((ent) => langToInput(ent)) }) : void 0,
|
|
881
|
+
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_g = entity.partsOfCustomer) == null ? void 0 : _g.map((ent) => customerToInput(ent)) }) : void 0,
|
|
882
|
+
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_h = entity.partsOfProductCategory) == null ? void 0 : _h.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
883
|
+
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_i = entity.partsOfSpamFilterRule) == null ? void 0 : _i.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
884
|
+
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_j = entity.partsOfMedia) == null ? void 0 : _j.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
885
|
+
langs: entity.langs ? processHasManyClear({ sync: (_k = entity.langs) == null ? void 0 : _k.map((ent) => langToInput(ent)) }) : void 0,
|
|
887
886
|
baseLang: entity.baseLang ? processHasOneClear({ sync: langToInput(entity.baseLang) }) : void 0,
|
|
888
|
-
themes: entity.themes ? processHasManyClear({ sync: (
|
|
887
|
+
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) => themeBranchToInput(ent)) }) : void 0,
|
|
889
888
|
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0,
|
|
890
889
|
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0,
|
|
891
|
-
changelogs: entity.changelogs ? processHasManyClear({ sync: (
|
|
892
|
-
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (
|
|
893
|
-
bulletins: entity.bulletins ? processHasManyClear({ sync: (
|
|
894
|
-
snapshots: entity.snapshots ? processHasManyClear({ sync: (
|
|
895
|
-
userOperations: entity.userOperations ? processHasManyClear({ sync: (
|
|
896
|
-
svgIcons: entity.svgIcons ? processHasManyClear({ sync: (
|
|
890
|
+
changelogs: entity.changelogs ? processHasManyClear({ sync: (_m = entity.changelogs) == null ? void 0 : _m.map((ent) => changeLogToInput(ent)) }) : void 0,
|
|
891
|
+
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (_n = entity.searchIndexes) == null ? void 0 : _n.map((ent) => searchIndexToInput(ent)) }) : void 0,
|
|
892
|
+
bulletins: entity.bulletins ? processHasManyClear({ sync: (_o = entity.bulletins) == null ? void 0 : _o.map((ent) => bulletinToInput(ent)) }) : void 0,
|
|
893
|
+
snapshots: entity.snapshots ? processHasManyClear({ sync: (_p = entity.snapshots) == null ? void 0 : _p.map((ent) => websiteSnapshotToInput(ent)) }) : void 0,
|
|
894
|
+
userOperations: entity.userOperations ? processHasManyClear({ sync: (_q = entity.userOperations) == null ? void 0 : _q.map((ent) => userOperationToInput(ent)) }) : void 0,
|
|
895
|
+
svgIcons: entity.svgIcons ? processHasManyClear({ sync: (_r = entity.svgIcons) == null ? void 0 : _r.map((ent) => svgIconToInput(ent)) }) : void 0,
|
|
896
|
+
tags: entity.tags ? processHasManyClear({ sync: (_s = entity.tags) == null ? void 0 : _s.map((ent) => tagToInput(ent)) }) : void 0,
|
|
897
897
|
mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInput(entity.mockBranch) }) : void 0
|
|
898
898
|
};
|
|
899
899
|
};
|
|
900
900
|
const websiteToInput = (entity) => {
|
|
901
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate,
|
|
901
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, ...rest } = entity;
|
|
902
902
|
return {
|
|
903
903
|
...rest,
|
|
904
904
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -909,7 +909,6 @@ const websiteToInput = (entity) => {
|
|
|
909
909
|
partsOfProduct: convertHasManyToInput(entity.partsOfProduct),
|
|
910
910
|
partsOfPost: convertHasManyToInput(entity.partsOfPost),
|
|
911
911
|
partsOfPostCategory: convertHasManyToInput(entity.partsOfPostCategory),
|
|
912
|
-
partsOfTag: convertHasManyToInput(entity.partsOfTag),
|
|
913
912
|
partsOfCustomer: convertHasManyToInput(entity.partsOfCustomer),
|
|
914
913
|
partsOfProductCategory: convertHasManyToInput(entity.partsOfProductCategory),
|
|
915
914
|
partsOfSpamFilterRule: convertHasManyToInput(entity.partsOfSpamFilterRule),
|
|
@@ -925,6 +924,7 @@ const websiteToInput = (entity) => {
|
|
|
925
924
|
snapshots: convertHasManyToInput(entity.snapshots),
|
|
926
925
|
userOperations: convertHasManyToInput(entity.userOperations),
|
|
927
926
|
svgIcons: convertHasManyToInput(entity.svgIcons),
|
|
927
|
+
tags: convertHasManyToInput(entity.tags),
|
|
928
928
|
mockBranch: convertHasOneToInput(entity.mockBranch)
|
|
929
929
|
};
|
|
930
930
|
};
|
|
@@ -970,7 +970,7 @@ const enquiryToInput = (entity) => {
|
|
|
970
970
|
};
|
|
971
971
|
const langToInputCascade = (entity) => {
|
|
972
972
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
973
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate,
|
|
973
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, ...rest } = entity;
|
|
974
974
|
return {
|
|
975
975
|
...rest,
|
|
976
976
|
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
@@ -978,19 +978,19 @@ const langToInputCascade = (entity) => {
|
|
|
978
978
|
webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_c = entity.webPartsOfProduct) == null ? void 0 : _c.map((ent) => productToInput(ent)) }) : void 0,
|
|
979
979
|
webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_d = entity.webPartsOfPost) == null ? void 0 : _d.map((ent) => postToInput(ent)) }) : void 0,
|
|
980
980
|
webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_e = entity.webPartsOfPostCategory) == null ? void 0 : _e.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
981
|
+
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_f = entity.webPartsOfCustomer) == null ? void 0 : _f.map((ent) => customerToInput(ent)) }) : void 0,
|
|
982
|
+
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_g = entity.webPartsOfProductCategory) == null ? void 0 : _g.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
983
|
+
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_h = entity.webPartsOfSpamFilterRule) == null ? void 0 : _h.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
984
|
+
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_i = entity.webPartsOfMedia) == null ? void 0 : _i.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
985
|
+
websites: entity.websites ? processHasManyClear({ sync: (_j = entity.websites) == null ? void 0 : _j.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
986
|
+
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_k = entity.baseLangOf) == null ? void 0 : _k.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
987
|
+
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) => themeBranchToInput(ent)) }) : void 0,
|
|
988
|
+
bulletins: entity.bulletins ? processHasManyClear({ sync: (_m = entity.bulletins) == null ? void 0 : _m.map((ent) => bulletinToInput(ent)) }) : void 0,
|
|
989
|
+
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) => tagToInput(ent)) }) : void 0
|
|
990
990
|
};
|
|
991
991
|
};
|
|
992
992
|
const langToInput = (entity) => {
|
|
993
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate,
|
|
993
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, ...rest } = entity;
|
|
994
994
|
return {
|
|
995
995
|
...rest,
|
|
996
996
|
webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
|
|
@@ -998,7 +998,6 @@ const langToInput = (entity) => {
|
|
|
998
998
|
webPartsOfProduct: convertHasManyToInput(entity.webPartsOfProduct),
|
|
999
999
|
webPartsOfPost: convertHasManyToInput(entity.webPartsOfPost),
|
|
1000
1000
|
webPartsOfPostCategory: convertHasManyToInput(entity.webPartsOfPostCategory),
|
|
1001
|
-
webPartsOfTag: convertHasManyToInput(entity.webPartsOfTag),
|
|
1002
1001
|
webPartsOfCustomer: convertHasManyToInput(entity.webPartsOfCustomer),
|
|
1003
1002
|
webPartsOfProductCategory: convertHasManyToInput(entity.webPartsOfProductCategory),
|
|
1004
1003
|
webPartsOfSpamFilterRule: convertHasManyToInput(entity.webPartsOfSpamFilterRule),
|
|
@@ -1006,7 +1005,8 @@ const langToInput = (entity) => {
|
|
|
1006
1005
|
websites: convertHasManyToInput(entity.websites),
|
|
1007
1006
|
baseLangOf: convertHasManyToInput(entity.baseLangOf),
|
|
1008
1007
|
themes: convertHasManyToInput(entity.themes),
|
|
1009
|
-
bulletins: convertHasManyToInput(entity.bulletins)
|
|
1008
|
+
bulletins: convertHasManyToInput(entity.bulletins),
|
|
1009
|
+
tags: convertHasManyToInput(entity.tags)
|
|
1010
1010
|
};
|
|
1011
1011
|
};
|
|
1012
1012
|
const mediaFolderToInputCascade = (entity) => {
|
|
@@ -1489,9 +1489,8 @@ var TagDistinctEnum = /* @__PURE__ */ ((TagDistinctEnum2) => {
|
|
|
1489
1489
|
TagDistinctEnum2["id"] = "id";
|
|
1490
1490
|
TagDistinctEnum2["name"] = "name";
|
|
1491
1491
|
TagDistinctEnum2["color"] = "color";
|
|
1492
|
-
TagDistinctEnum2["createdAt"] = "createdAt";
|
|
1493
1492
|
TagDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1494
|
-
TagDistinctEnum2["
|
|
1493
|
+
TagDistinctEnum2["createdAt"] = "createdAt";
|
|
1495
1494
|
return TagDistinctEnum2;
|
|
1496
1495
|
})(TagDistinctEnum || {});
|
|
1497
1496
|
var PublishableDistinctEnum = /* @__PURE__ */ ((PublishableDistinctEnum2) => {
|
|
@@ -3460,16 +3459,12 @@ class TagQueryOptions extends QueryOptions {
|
|
|
3460
3459
|
this.addField("color");
|
|
3461
3460
|
return this;
|
|
3462
3461
|
}
|
|
3463
|
-
createdAt() {
|
|
3464
|
-
this.addField("createdAt");
|
|
3465
|
-
return this;
|
|
3466
|
-
}
|
|
3467
3462
|
updatedAt() {
|
|
3468
3463
|
this.addField("updatedAt");
|
|
3469
3464
|
return this;
|
|
3470
3465
|
}
|
|
3471
|
-
|
|
3472
|
-
this.addField("
|
|
3466
|
+
createdAt() {
|
|
3467
|
+
this.addField("createdAt");
|
|
3473
3468
|
return this;
|
|
3474
3469
|
}
|
|
3475
3470
|
lang(options) {
|
|
@@ -4407,18 +4402,6 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
4407
4402
|
this._aggregates["partsOfPostCategoryAggregate"] = aggregate;
|
|
4408
4403
|
return this;
|
|
4409
4404
|
}
|
|
4410
|
-
partsOfTag(options) {
|
|
4411
|
-
if (Array.isArray(options)) {
|
|
4412
|
-
this._associations["partsOfTag"] = new TagQueryOptions(options);
|
|
4413
|
-
} else {
|
|
4414
|
-
this._associations["partsOfTag"] = options || new TagQueryOptions(["id"]);
|
|
4415
|
-
}
|
|
4416
|
-
return this;
|
|
4417
|
-
}
|
|
4418
|
-
partsOfTagAggregate(aggregate) {
|
|
4419
|
-
this._aggregates["partsOfTagAggregate"] = aggregate;
|
|
4420
|
-
return this;
|
|
4421
|
-
}
|
|
4422
4405
|
partsOfCustomer(options) {
|
|
4423
4406
|
if (Array.isArray(options)) {
|
|
4424
4407
|
this._associations["partsOfCustomer"] = new CustomerQueryOptions(options);
|
|
@@ -4587,6 +4570,18 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
4587
4570
|
this._aggregates["svgIconsAggregate"] = aggregate;
|
|
4588
4571
|
return this;
|
|
4589
4572
|
}
|
|
4573
|
+
tags(options) {
|
|
4574
|
+
if (Array.isArray(options)) {
|
|
4575
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
4576
|
+
} else {
|
|
4577
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
4578
|
+
}
|
|
4579
|
+
return this;
|
|
4580
|
+
}
|
|
4581
|
+
tagsAggregate(aggregate) {
|
|
4582
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
4583
|
+
return this;
|
|
4584
|
+
}
|
|
4590
4585
|
mockBranch(options) {
|
|
4591
4586
|
if (Array.isArray(options)) {
|
|
4592
4587
|
this._associations["mockBranch"] = new ThemeBranchQueryOptions(options);
|
|
@@ -4948,18 +4943,6 @@ class LangQueryOptions extends QueryOptions {
|
|
|
4948
4943
|
this._aggregates["webPartsOfPostCategoryAggregate"] = aggregate;
|
|
4949
4944
|
return this;
|
|
4950
4945
|
}
|
|
4951
|
-
webPartsOfTag(options) {
|
|
4952
|
-
if (Array.isArray(options)) {
|
|
4953
|
-
this._associations["webPartsOfTag"] = new TagQueryOptions(options);
|
|
4954
|
-
} else {
|
|
4955
|
-
this._associations["webPartsOfTag"] = options || new TagQueryOptions(["id"]);
|
|
4956
|
-
}
|
|
4957
|
-
return this;
|
|
4958
|
-
}
|
|
4959
|
-
webPartsOfTagAggregate(aggregate) {
|
|
4960
|
-
this._aggregates["webPartsOfTagAggregate"] = aggregate;
|
|
4961
|
-
return this;
|
|
4962
|
-
}
|
|
4963
4946
|
webPartsOfCustomer(options) {
|
|
4964
4947
|
if (Array.isArray(options)) {
|
|
4965
4948
|
this._associations["webPartsOfCustomer"] = new CustomerQueryOptions(options);
|
|
@@ -5056,6 +5039,18 @@ class LangQueryOptions extends QueryOptions {
|
|
|
5056
5039
|
this._aggregates["bulletinsAggregate"] = aggregate;
|
|
5057
5040
|
return this;
|
|
5058
5041
|
}
|
|
5042
|
+
tags(options) {
|
|
5043
|
+
if (Array.isArray(options)) {
|
|
5044
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
5045
|
+
} else {
|
|
5046
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
5047
|
+
}
|
|
5048
|
+
return this;
|
|
5049
|
+
}
|
|
5050
|
+
tagsAggregate(aggregate) {
|
|
5051
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
5052
|
+
return this;
|
|
5053
|
+
}
|
|
5059
5054
|
}
|
|
5060
5055
|
class MediaFolderQueryOptions extends QueryOptions {
|
|
5061
5056
|
constructor(fields, queryArgs) {
|
|
@@ -6336,8 +6331,6 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
6336
6331
|
WebsiteAssciations2["partsOfPostAggregate"] = "partsOfPostAggregate";
|
|
6337
6332
|
WebsiteAssciations2["partsOfPostCategory"] = "partsOfPostCategory";
|
|
6338
6333
|
WebsiteAssciations2["partsOfPostCategoryAggregate"] = "partsOfPostCategoryAggregate";
|
|
6339
|
-
WebsiteAssciations2["partsOfTag"] = "partsOfTag";
|
|
6340
|
-
WebsiteAssciations2["partsOfTagAggregate"] = "partsOfTagAggregate";
|
|
6341
6334
|
WebsiteAssciations2["partsOfCustomer"] = "partsOfCustomer";
|
|
6342
6335
|
WebsiteAssciations2["partsOfCustomerAggregate"] = "partsOfCustomerAggregate";
|
|
6343
6336
|
WebsiteAssciations2["partsOfProductCategory"] = "partsOfProductCategory";
|
|
@@ -6365,6 +6358,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
6365
6358
|
WebsiteAssciations2["userOperationsAggregate"] = "userOperationsAggregate";
|
|
6366
6359
|
WebsiteAssciations2["svgIcons"] = "svgIcons";
|
|
6367
6360
|
WebsiteAssciations2["svgIconsAggregate"] = "svgIconsAggregate";
|
|
6361
|
+
WebsiteAssciations2["tags"] = "tags";
|
|
6362
|
+
WebsiteAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
6368
6363
|
WebsiteAssciations2["mockBranch"] = "mockBranch";
|
|
6369
6364
|
return WebsiteAssciations2;
|
|
6370
6365
|
})(WebsiteAssciations || {});
|
|
@@ -6392,8 +6387,6 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
6392
6387
|
LangAssciations2["webPartsOfPostAggregate"] = "webPartsOfPostAggregate";
|
|
6393
6388
|
LangAssciations2["webPartsOfPostCategory"] = "webPartsOfPostCategory";
|
|
6394
6389
|
LangAssciations2["webPartsOfPostCategoryAggregate"] = "webPartsOfPostCategoryAggregate";
|
|
6395
|
-
LangAssciations2["webPartsOfTag"] = "webPartsOfTag";
|
|
6396
|
-
LangAssciations2["webPartsOfTagAggregate"] = "webPartsOfTagAggregate";
|
|
6397
6390
|
LangAssciations2["webPartsOfCustomer"] = "webPartsOfCustomer";
|
|
6398
6391
|
LangAssciations2["webPartsOfCustomerAggregate"] = "webPartsOfCustomerAggregate";
|
|
6399
6392
|
LangAssciations2["webPartsOfProductCategory"] = "webPartsOfProductCategory";
|
|
@@ -6410,6 +6403,8 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
6410
6403
|
LangAssciations2["themesAggregate"] = "themesAggregate";
|
|
6411
6404
|
LangAssciations2["bulletins"] = "bulletins";
|
|
6412
6405
|
LangAssciations2["bulletinsAggregate"] = "bulletinsAggregate";
|
|
6406
|
+
LangAssciations2["tags"] = "tags";
|
|
6407
|
+
LangAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
6413
6408
|
return LangAssciations2;
|
|
6414
6409
|
})(LangAssciations || {});
|
|
6415
6410
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
@@ -6647,9 +6642,8 @@ var TagFields = /* @__PURE__ */ ((TagFields2) => {
|
|
|
6647
6642
|
TagFields2["id"] = "id";
|
|
6648
6643
|
TagFields2["name"] = "name";
|
|
6649
6644
|
TagFields2["color"] = "color";
|
|
6650
|
-
TagFields2["createdAt"] = "createdAt";
|
|
6651
6645
|
TagFields2["updatedAt"] = "updatedAt";
|
|
6652
|
-
TagFields2["
|
|
6646
|
+
TagFields2["createdAt"] = "createdAt";
|
|
6653
6647
|
return TagFields2;
|
|
6654
6648
|
})(TagFields || {});
|
|
6655
6649
|
var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|