@rxdrag/rxcms-models 0.3.35 → 0.3.37
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/MediaQueryOptions.d.ts +3 -0
- package/dist/classes/PostCategoryQueryOptions.d.ts +3 -0
- package/dist/classes/WebsiteFrameQueryOptions.d.ts +17 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +5 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/websiteFrameEntry.d.ts +2 -0
- package/dist/fields/LangFields.d.ts +3 -1
- package/dist/fields/MediaFields.d.ts +2 -1
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/WebsiteFields.d.ts +3 -1
- package/dist/fields/WebsiteFrameFields.d.ts +11 -0
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +164 -15
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Content.d.ts +3 -0
- package/dist/interfaces/FrontComponent.d.ts +2 -1
- package/dist/interfaces/FrontComponentInput.d.ts +2 -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/Media.d.ts +2 -0
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaInput.d.ts +2 -0
- package/dist/interfaces/PageType.d.ts +9 -5
- package/dist/interfaces/PostCategory.d.ts +2 -0
- package/dist/interfaces/PostCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/PostCategoryInput.d.ts +2 -0
- package/dist/interfaces/Product.d.ts +3 -2
- package/dist/interfaces/ProductInput.d.ts +3 -2
- package/dist/interfaces/Website.d.ts +3 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsiteContent.d.ts +2 -1
- package/dist/interfaces/WebsiteFrame.d.ts +13 -0
- package/dist/interfaces/WebsiteFrameBoolExp.d.ts +14 -0
- package/dist/interfaces/WebsiteFrameDistinctExp.d.ts +9 -0
- package/dist/interfaces/WebsiteFrameInput.d.ts +15 -0
- package/dist/interfaces/WebsiteFrameOrderBy.d.ts +7 -0
- package/dist/interfaces/WebsiteInput.d.ts +2 -0
- package/dist/interfaces/index.d.ts +6 -0
- package/package.json +3 -3
|
@@ -46,6 +46,9 @@ import { SpamFilterRuleBoolExp } from '../interfaces';
|
|
|
46
46
|
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
47
47
|
import { Media } from '../interfaces';
|
|
48
48
|
import { MediaBoolExp } from '../interfaces';
|
|
49
|
+
import { WebsiteFrameQueryOptions } from './WebsiteFrameQueryOptions';
|
|
50
|
+
import { WebsiteFrame } from '../interfaces';
|
|
51
|
+
import { WebsiteFrameBoolExp } from '../interfaces';
|
|
49
52
|
export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, LangOrderBy, LangDistinctExp> {
|
|
50
53
|
constructor(fields?: (keyof Lang)[], queryArgs?: IQueryArgs<LangBoolExp, LangOrderBy, LangDistinctExp>);
|
|
51
54
|
id(): this;
|
|
@@ -99,4 +102,6 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
|
|
|
99
102
|
webPartsOfSpamFilterRuleAggregate(aggregate: IAggregate<SpamFilterRuleBoolExp>): this;
|
|
100
103
|
webPartsOfMedia(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
101
104
|
webPartsOfMediaAggregate(aggregate: IAggregate<MediaBoolExp>): this;
|
|
105
|
+
webPartsOfWebsiteFrame(options?: WebsiteFrameQueryOptions | (keyof WebsiteFrame)[]): this;
|
|
106
|
+
webPartsOfWebsiteFrameAggregate(aggregate: IAggregate<WebsiteFrameBoolExp>): this;
|
|
102
107
|
}
|
|
@@ -33,6 +33,8 @@ import { WebsiteSettingsBoolExp } from '../interfaces';
|
|
|
33
33
|
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
34
34
|
import { Theme } from '../interfaces';
|
|
35
35
|
import { ThemeBoolExp } from '../interfaces';
|
|
36
|
+
import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
|
|
37
|
+
import { PostCategory } from '../interfaces';
|
|
36
38
|
export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp, MediaOrderBy, MediaDistinctExp> {
|
|
37
39
|
constructor(fields?: (keyof Media)[], queryArgs?: IQueryArgs<MediaBoolExp, MediaOrderBy, MediaDistinctExp>);
|
|
38
40
|
id(): this;
|
|
@@ -67,4 +69,5 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
|
|
|
67
69
|
usedByContactAggregate(aggregate: IAggregate<WebsiteSettingsBoolExp>): this;
|
|
68
70
|
coverOfTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
69
71
|
coverOfThemeAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
|
|
72
|
+
postCategory(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
70
73
|
}
|
|
@@ -6,6 +6,8 @@ import { Post } from '../interfaces';
|
|
|
6
6
|
import { PostBoolExp } from '../interfaces';
|
|
7
7
|
import { LangQueryOptions } from './LangQueryOptions';
|
|
8
8
|
import { Lang } from '../interfaces';
|
|
9
|
+
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
10
|
+
import { Media } from '../interfaces';
|
|
9
11
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
10
12
|
import { Website } from '../interfaces';
|
|
11
13
|
export declare class PostCategoryQueryOptions extends QueryOptions<PostCategory, PostCategoryBoolExp, PostCategoryOrderBy, PostCategoryDistinctExp> {
|
|
@@ -22,6 +24,7 @@ export declare class PostCategoryQueryOptions extends QueryOptions<PostCategory,
|
|
|
22
24
|
posts(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
23
25
|
postsAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
24
26
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
27
|
+
media(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
25
28
|
parent(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
26
29
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
27
30
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { WebsiteFrame, WebsiteFrameBoolExp, WebsiteFrameDistinctExp, WebsiteFrameOrderBy } from "../interfaces";
|
|
4
|
+
import { LangQueryOptions } from './LangQueryOptions';
|
|
5
|
+
import { Lang } from '../interfaces';
|
|
6
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
7
|
+
import { Website } from '../interfaces';
|
|
8
|
+
export declare class WebsiteFrameQueryOptions extends QueryOptions<WebsiteFrame, WebsiteFrameBoolExp, WebsiteFrameOrderBy, WebsiteFrameDistinctExp> {
|
|
9
|
+
constructor(fields?: (keyof WebsiteFrame)[], queryArgs?: IQueryArgs<WebsiteFrameBoolExp, WebsiteFrameOrderBy, WebsiteFrameDistinctExp>);
|
|
10
|
+
id(): this;
|
|
11
|
+
content(): this;
|
|
12
|
+
settings(): this;
|
|
13
|
+
createdAt(): this;
|
|
14
|
+
updatedAt(): this;
|
|
15
|
+
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
16
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
17
|
+
}
|
|
@@ -51,6 +51,9 @@ import { SpamFilterRuleBoolExp } from '../interfaces';
|
|
|
51
51
|
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
52
52
|
import { Media } from '../interfaces';
|
|
53
53
|
import { MediaBoolExp } from '../interfaces';
|
|
54
|
+
import { WebsiteFrameQueryOptions } from './WebsiteFrameQueryOptions';
|
|
55
|
+
import { WebsiteFrame } from '../interfaces';
|
|
56
|
+
import { WebsiteFrameBoolExp } from '../interfaces';
|
|
54
57
|
export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
|
|
55
58
|
constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
|
|
56
59
|
id(): this;
|
|
@@ -118,4 +121,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
118
121
|
partsOfSpamFilterRuleAggregate(aggregate: IAggregate<SpamFilterRuleBoolExp>): this;
|
|
119
122
|
partsOfMedia(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
120
123
|
partsOfMediaAggregate(aggregate: IAggregate<MediaBoolExp>): this;
|
|
124
|
+
partsOfWebsiteFrame(options?: WebsiteFrameQueryOptions | (keyof WebsiteFrame)[]): this;
|
|
125
|
+
partsOfWebsiteFrameAggregate(aggregate: IAggregate<WebsiteFrameBoolExp>): this;
|
|
121
126
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -25,5 +25,6 @@ export * from './AttachmentOnProductQueryOptions';
|
|
|
25
25
|
export * from './ProductRelatedPivotQueryOptions';
|
|
26
26
|
export * from './FrontComponentQueryOptions';
|
|
27
27
|
export * from './ComponentCategoryQueryOptions';
|
|
28
|
+
export * from './WebsiteFrameQueryOptions';
|
|
28
29
|
export * from './QueryOptions';
|
|
29
30
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -51,5 +51,7 @@ export declare enum LangAssciations {
|
|
|
51
51
|
webPartsOfSpamFilterRule = "webPartsOfSpamFilterRule",
|
|
52
52
|
webPartsOfSpamFilterRuleAggregate = "webPartsOfSpamFilterRuleAggregate",
|
|
53
53
|
webPartsOfMedia = "webPartsOfMedia",
|
|
54
|
-
webPartsOfMediaAggregate = "webPartsOfMediaAggregate"
|
|
54
|
+
webPartsOfMediaAggregate = "webPartsOfMediaAggregate",
|
|
55
|
+
webPartsOfWebsiteFrame = "webPartsOfWebsiteFrame",
|
|
56
|
+
webPartsOfWebsiteFrameAggregate = "webPartsOfWebsiteFrameAggregate"
|
|
55
57
|
}
|
|
@@ -32,5 +32,6 @@ export declare enum MediaAssciations {
|
|
|
32
32
|
usedByContact = "usedByContact",
|
|
33
33
|
usedByContactAggregate = "usedByContactAggregate",
|
|
34
34
|
coverOfTheme = "coverOfTheme",
|
|
35
|
-
coverOfThemeAggregate = "coverOfThemeAggregate"
|
|
35
|
+
coverOfThemeAggregate = "coverOfThemeAggregate",
|
|
36
|
+
postCategory = "postCategory"
|
|
36
37
|
}
|
|
@@ -65,5 +65,7 @@ export declare enum WebsiteAssciations {
|
|
|
65
65
|
partsOfSpamFilterRule = "partsOfSpamFilterRule",
|
|
66
66
|
partsOfSpamFilterRuleAggregate = "partsOfSpamFilterRuleAggregate",
|
|
67
67
|
partsOfMedia = "partsOfMedia",
|
|
68
|
-
partsOfMediaAggregate = "partsOfMediaAggregate"
|
|
68
|
+
partsOfMediaAggregate = "partsOfMediaAggregate",
|
|
69
|
+
partsOfWebsiteFrame = "partsOfWebsiteFrame",
|
|
70
|
+
partsOfWebsiteFrameAggregate = "partsOfWebsiteFrameAggregate"
|
|
69
71
|
}
|
package/dist/fields/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -43,7 +43,8 @@ const aggregateEntities = {
|
|
|
43
43
|
partsOfCustomerAggregate: "Customer",
|
|
44
44
|
partsOfProductCategoryAggregate: "ProductCategory",
|
|
45
45
|
partsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
46
|
-
partsOfMediaAggregate: "Media"
|
|
46
|
+
partsOfMediaAggregate: "Media",
|
|
47
|
+
partsOfWebsiteFrameAggregate: "WebsiteFrame"
|
|
47
48
|
},
|
|
48
49
|
Lang: {
|
|
49
50
|
webPartsOfWebsiteSettingsAggregate: "WebsiteSettings",
|
|
@@ -60,7 +61,8 @@ const aggregateEntities = {
|
|
|
60
61
|
webPartsOfCustomerAggregate: "Customer",
|
|
61
62
|
webPartsOfProductCategoryAggregate: "ProductCategory",
|
|
62
63
|
webPartsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
63
|
-
webPartsOfMediaAggregate: "Media"
|
|
64
|
+
webPartsOfMediaAggregate: "Media",
|
|
65
|
+
webPartsOfWebsiteFrameAggregate: "WebsiteFrame"
|
|
64
66
|
},
|
|
65
67
|
WebsiteType: {
|
|
66
68
|
websitesAggregate: "Website"
|
|
@@ -479,6 +481,7 @@ const postCategoryToInputCascade = (entity) => {
|
|
|
479
481
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
480
482
|
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInput(ent)) }) : void 0,
|
|
481
483
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
484
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInput(entity.media) }) : void 0,
|
|
482
485
|
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInput(entity.parent) }) : void 0,
|
|
483
486
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
484
487
|
};
|
|
@@ -490,6 +493,7 @@ const postCategoryToInput = (entity) => {
|
|
|
490
493
|
children: convertHasManyToInput(entity.children),
|
|
491
494
|
posts: convertHasManyToInput(entity.posts),
|
|
492
495
|
lang: convertHasOneToInput(entity.lang),
|
|
496
|
+
media: convertHasOneToInput(entity.media),
|
|
493
497
|
parent: convertHasOneToInput(entity.parent),
|
|
494
498
|
website: convertHasOneToInput(entity.website)
|
|
495
499
|
};
|
|
@@ -639,9 +643,23 @@ const spamFilterRuleToInput = (entity) => {
|
|
|
639
643
|
website: convertHasOneToInput(entity.website)
|
|
640
644
|
};
|
|
641
645
|
};
|
|
646
|
+
const websiteFrameToInputCascade = (entity) => {
|
|
647
|
+
return {
|
|
648
|
+
...entity,
|
|
649
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
650
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
const websiteFrameToInput = (entity) => {
|
|
654
|
+
return {
|
|
655
|
+
...entity,
|
|
656
|
+
lang: convertHasOneToInput(entity.lang),
|
|
657
|
+
website: convertHasOneToInput(entity.website)
|
|
658
|
+
};
|
|
659
|
+
};
|
|
642
660
|
const websiteToInputCascade = (entity) => {
|
|
643
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
644
|
-
const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfThemeAggregate, partsOfTemplateAggregate, partsOfTemplateCategoryAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfPageAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, ...rest } = entity;
|
|
661
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
662
|
+
const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfThemeAggregate, partsOfTemplateAggregate, partsOfTemplateCategoryAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfPageAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, partsOfWebsiteFrameAggregate, ...rest } = entity;
|
|
645
663
|
return {
|
|
646
664
|
...rest,
|
|
647
665
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
@@ -662,11 +680,12 @@ const websiteToInputCascade = (entity) => {
|
|
|
662
680
|
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_m = entity.partsOfCustomer) == null ? void 0 : _m.map((ent) => customerToInput(ent)) }) : void 0,
|
|
663
681
|
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_n = entity.partsOfProductCategory) == null ? void 0 : _n.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
664
682
|
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_o = entity.partsOfSpamFilterRule) == null ? void 0 : _o.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
665
|
-
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_p = entity.partsOfMedia) == null ? void 0 : _p.map((ent) => mediaToInput(ent)) }) : void 0
|
|
683
|
+
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_p = entity.partsOfMedia) == null ? void 0 : _p.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
684
|
+
partsOfWebsiteFrame: entity.partsOfWebsiteFrame ? processHasManyClear({ sync: (_q = entity.partsOfWebsiteFrame) == null ? void 0 : _q.map((ent) => websiteFrameToInput(ent)) }) : void 0
|
|
666
685
|
};
|
|
667
686
|
};
|
|
668
687
|
const websiteToInput = (entity) => {
|
|
669
|
-
const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfThemeAggregate, partsOfTemplateAggregate, partsOfTemplateCategoryAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfPageAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, ...rest } = entity;
|
|
688
|
+
const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfThemeAggregate, partsOfTemplateAggregate, partsOfTemplateCategoryAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfPageAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, partsOfWebsiteFrameAggregate, ...rest } = entity;
|
|
670
689
|
return {
|
|
671
690
|
...rest,
|
|
672
691
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -687,7 +706,8 @@ const websiteToInput = (entity) => {
|
|
|
687
706
|
partsOfCustomer: convertHasManyToInput(entity.partsOfCustomer),
|
|
688
707
|
partsOfProductCategory: convertHasManyToInput(entity.partsOfProductCategory),
|
|
689
708
|
partsOfSpamFilterRule: convertHasManyToInput(entity.partsOfSpamFilterRule),
|
|
690
|
-
partsOfMedia: convertHasManyToInput(entity.partsOfMedia)
|
|
709
|
+
partsOfMedia: convertHasManyToInput(entity.partsOfMedia),
|
|
710
|
+
partsOfWebsiteFrame: convertHasManyToInput(entity.partsOfWebsiteFrame)
|
|
691
711
|
};
|
|
692
712
|
};
|
|
693
713
|
const websiteSettingsToInputCascade = (entity) => {
|
|
@@ -707,8 +727,8 @@ const websiteSettingsToInput = (entity) => {
|
|
|
707
727
|
};
|
|
708
728
|
};
|
|
709
729
|
const langToInputCascade = (entity) => {
|
|
710
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
711
|
-
const { webPartsOfWebsiteSettingsAggregate, webPartsOfThemeAggregate, webPartsOfTemplateAggregate, webPartsOfTemplateCategoryAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfPageAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, ...rest } = entity;
|
|
730
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
731
|
+
const { webPartsOfWebsiteSettingsAggregate, webPartsOfThemeAggregate, webPartsOfTemplateAggregate, webPartsOfTemplateCategoryAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfPageAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, webPartsOfWebsiteFrameAggregate, ...rest } = entity;
|
|
712
732
|
return {
|
|
713
733
|
...rest,
|
|
714
734
|
webPartsOfWebsiteSettings: entity.webPartsOfWebsiteSettings ? processHasManyClear({ sync: (_a = entity.webPartsOfWebsiteSettings) == null ? void 0 : _a.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
@@ -725,11 +745,12 @@ const langToInputCascade = (entity) => {
|
|
|
725
745
|
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_l = entity.webPartsOfCustomer) == null ? void 0 : _l.map((ent) => customerToInput(ent)) }) : void 0,
|
|
726
746
|
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_m = entity.webPartsOfProductCategory) == null ? void 0 : _m.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
727
747
|
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_n = entity.webPartsOfSpamFilterRule) == null ? void 0 : _n.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
728
|
-
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_o = entity.webPartsOfMedia) == null ? void 0 : _o.map((ent) => mediaToInput(ent)) }) : void 0
|
|
748
|
+
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_o = entity.webPartsOfMedia) == null ? void 0 : _o.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
749
|
+
webPartsOfWebsiteFrame: entity.webPartsOfWebsiteFrame ? processHasManyClear({ sync: (_p = entity.webPartsOfWebsiteFrame) == null ? void 0 : _p.map((ent) => websiteFrameToInput(ent)) }) : void 0
|
|
729
750
|
};
|
|
730
751
|
};
|
|
731
752
|
const langToInput = (entity) => {
|
|
732
|
-
const { webPartsOfWebsiteSettingsAggregate, webPartsOfThemeAggregate, webPartsOfTemplateAggregate, webPartsOfTemplateCategoryAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfPageAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, ...rest } = entity;
|
|
753
|
+
const { webPartsOfWebsiteSettingsAggregate, webPartsOfThemeAggregate, webPartsOfTemplateAggregate, webPartsOfTemplateCategoryAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfPageAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, webPartsOfWebsiteFrameAggregate, ...rest } = entity;
|
|
733
754
|
return {
|
|
734
755
|
...rest,
|
|
735
756
|
webPartsOfWebsiteSettings: convertHasManyToInput(entity.webPartsOfWebsiteSettings),
|
|
@@ -746,7 +767,8 @@ const langToInput = (entity) => {
|
|
|
746
767
|
webPartsOfCustomer: convertHasManyToInput(entity.webPartsOfCustomer),
|
|
747
768
|
webPartsOfProductCategory: convertHasManyToInput(entity.webPartsOfProductCategory),
|
|
748
769
|
webPartsOfSpamFilterRule: convertHasManyToInput(entity.webPartsOfSpamFilterRule),
|
|
749
|
-
webPartsOfMedia: convertHasManyToInput(entity.webPartsOfMedia)
|
|
770
|
+
webPartsOfMedia: convertHasManyToInput(entity.webPartsOfMedia),
|
|
771
|
+
webPartsOfWebsiteFrame: convertHasManyToInput(entity.webPartsOfWebsiteFrame)
|
|
750
772
|
};
|
|
751
773
|
};
|
|
752
774
|
const mediaFolderToInputCascade = (entity) => {
|
|
@@ -789,7 +811,8 @@ const mediaToInputCascade = (entity) => {
|
|
|
789
811
|
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_g = entity.productAttacPivots) == null ? void 0 : _g.map((ent) => attachmentOnProductToInput(ent)) }) : void 0,
|
|
790
812
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
|
|
791
813
|
usedByContact: entity.usedByContact ? processHasManyClear({ sync: (_h = entity.usedByContact) == null ? void 0 : _h.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
792
|
-
coverOfTheme: entity.coverOfTheme ? processHasManyClear({ sync: (_i = entity.coverOfTheme) == null ? void 0 : _i.map((ent) => themeToInput(ent)) }) : void 0
|
|
814
|
+
coverOfTheme: entity.coverOfTheme ? processHasManyClear({ sync: (_i = entity.coverOfTheme) == null ? void 0 : _i.map((ent) => themeToInput(ent)) }) : void 0,
|
|
815
|
+
postCategory: entity.postCategory ? processHasOneClear({ sync: postCategoryToInput(entity.postCategory) }) : void 0
|
|
793
816
|
};
|
|
794
817
|
};
|
|
795
818
|
const mediaToInput = (entity) => {
|
|
@@ -808,7 +831,8 @@ const mediaToInput = (entity) => {
|
|
|
808
831
|
productAttacPivots: convertHasManyToInput(entity.productAttacPivots),
|
|
809
832
|
website: convertHasOneToInput(entity.website),
|
|
810
833
|
usedByContact: convertHasManyToInput(entity.usedByContact),
|
|
811
|
-
coverOfTheme: convertHasManyToInput(entity.coverOfTheme)
|
|
834
|
+
coverOfTheme: convertHasManyToInput(entity.coverOfTheme),
|
|
835
|
+
postCategory: convertHasOneToInput(entity.postCategory)
|
|
812
836
|
};
|
|
813
837
|
};
|
|
814
838
|
const userToInputCascade = (entity) => {
|
|
@@ -1357,11 +1381,12 @@ var PageType = /* @__PURE__ */ ((PageType2) => {
|
|
|
1357
1381
|
PageType2["Post"] = "Post";
|
|
1358
1382
|
PageType2["ProductCategory"] = "ProductCategory";
|
|
1359
1383
|
PageType2["Product"] = "Product";
|
|
1360
|
-
PageType2["Frame"] = "Frame";
|
|
1361
1384
|
PageType2["SearchList"] = "SearchList";
|
|
1362
1385
|
PageType2["Profile"] = "Profile";
|
|
1363
1386
|
PageType2["Home"] = "Home";
|
|
1364
1387
|
PageType2["Customized"] = "Customized";
|
|
1388
|
+
PageType2["Page404"] = "Page404";
|
|
1389
|
+
PageType2["PageError"] = "PageError";
|
|
1365
1390
|
return PageType2;
|
|
1366
1391
|
})(PageType || {});
|
|
1367
1392
|
const ProductCategoryEntityName = "ProductCategory";
|
|
@@ -1466,6 +1491,16 @@ var ComponentCategoryDistinctEnum = /* @__PURE__ */ ((ComponentCategoryDistinctE
|
|
|
1466
1491
|
ComponentCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1467
1492
|
return ComponentCategoryDistinctEnum2;
|
|
1468
1493
|
})(ComponentCategoryDistinctEnum || {});
|
|
1494
|
+
const WebsiteFrameEntityName = "WebsiteFrame";
|
|
1495
|
+
const WebsiteFrameEntityLabel = "";
|
|
1496
|
+
var WebsiteFrameDistinctEnum = /* @__PURE__ */ ((WebsiteFrameDistinctEnum2) => {
|
|
1497
|
+
WebsiteFrameDistinctEnum2["id"] = "id";
|
|
1498
|
+
WebsiteFrameDistinctEnum2["content"] = "content";
|
|
1499
|
+
WebsiteFrameDistinctEnum2["settings"] = "settings";
|
|
1500
|
+
WebsiteFrameDistinctEnum2["createdAt"] = "createdAt";
|
|
1501
|
+
WebsiteFrameDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1502
|
+
return WebsiteFrameDistinctEnum2;
|
|
1503
|
+
})(WebsiteFrameDistinctEnum || {});
|
|
1469
1504
|
class RoleQueryOptions extends QueryOptions {
|
|
1470
1505
|
constructor(fields, queryArgs) {
|
|
1471
1506
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -2395,6 +2430,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
2395
2430
|
}
|
|
2396
2431
|
return this;
|
|
2397
2432
|
}
|
|
2433
|
+
media(options) {
|
|
2434
|
+
if (Array.isArray(options)) {
|
|
2435
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
2436
|
+
} else {
|
|
2437
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
2438
|
+
}
|
|
2439
|
+
return this;
|
|
2440
|
+
}
|
|
2398
2441
|
parent(options) {
|
|
2399
2442
|
if (Array.isArray(options)) {
|
|
2400
2443
|
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
@@ -3059,6 +3102,47 @@ class SpamFilterRuleQueryOptions extends QueryOptions {
|
|
|
3059
3102
|
return this;
|
|
3060
3103
|
}
|
|
3061
3104
|
}
|
|
3105
|
+
class WebsiteFrameQueryOptions extends QueryOptions {
|
|
3106
|
+
constructor(fields, queryArgs) {
|
|
3107
|
+
super(WebsiteFrameEntityName, fields, queryArgs);
|
|
3108
|
+
}
|
|
3109
|
+
id() {
|
|
3110
|
+
this.addField("id");
|
|
3111
|
+
return this;
|
|
3112
|
+
}
|
|
3113
|
+
content() {
|
|
3114
|
+
this.addField("content");
|
|
3115
|
+
return this;
|
|
3116
|
+
}
|
|
3117
|
+
settings() {
|
|
3118
|
+
this.addField("settings");
|
|
3119
|
+
return this;
|
|
3120
|
+
}
|
|
3121
|
+
createdAt() {
|
|
3122
|
+
this.addField("createdAt");
|
|
3123
|
+
return this;
|
|
3124
|
+
}
|
|
3125
|
+
updatedAt() {
|
|
3126
|
+
this.addField("updatedAt");
|
|
3127
|
+
return this;
|
|
3128
|
+
}
|
|
3129
|
+
lang(options) {
|
|
3130
|
+
if (Array.isArray(options)) {
|
|
3131
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3132
|
+
} else {
|
|
3133
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3134
|
+
}
|
|
3135
|
+
return this;
|
|
3136
|
+
}
|
|
3137
|
+
website(options) {
|
|
3138
|
+
if (Array.isArray(options)) {
|
|
3139
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3140
|
+
} else {
|
|
3141
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3142
|
+
}
|
|
3143
|
+
return this;
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3062
3146
|
class WebsiteQueryOptions extends QueryOptions {
|
|
3063
3147
|
constructor(fields, queryArgs) {
|
|
3064
3148
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -3336,6 +3420,18 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3336
3420
|
this._aggregates["partsOfMediaAggregate"] = aggregate;
|
|
3337
3421
|
return this;
|
|
3338
3422
|
}
|
|
3423
|
+
partsOfWebsiteFrame(options) {
|
|
3424
|
+
if (Array.isArray(options)) {
|
|
3425
|
+
this._associations["partsOfWebsiteFrame"] = new WebsiteFrameQueryOptions(options);
|
|
3426
|
+
} else {
|
|
3427
|
+
this._associations["partsOfWebsiteFrame"] = options || new WebsiteFrameQueryOptions(["id"]);
|
|
3428
|
+
}
|
|
3429
|
+
return this;
|
|
3430
|
+
}
|
|
3431
|
+
partsOfWebsiteFrameAggregate(aggregate) {
|
|
3432
|
+
this._aggregates["partsOfWebsiteFrameAggregate"] = aggregate;
|
|
3433
|
+
return this;
|
|
3434
|
+
}
|
|
3339
3435
|
}
|
|
3340
3436
|
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
3341
3437
|
constructor(fields, queryArgs) {
|
|
@@ -3701,6 +3797,18 @@ class LangQueryOptions extends QueryOptions {
|
|
|
3701
3797
|
this._aggregates["webPartsOfMediaAggregate"] = aggregate;
|
|
3702
3798
|
return this;
|
|
3703
3799
|
}
|
|
3800
|
+
webPartsOfWebsiteFrame(options) {
|
|
3801
|
+
if (Array.isArray(options)) {
|
|
3802
|
+
this._associations["webPartsOfWebsiteFrame"] = new WebsiteFrameQueryOptions(options);
|
|
3803
|
+
} else {
|
|
3804
|
+
this._associations["webPartsOfWebsiteFrame"] = options || new WebsiteFrameQueryOptions(["id"]);
|
|
3805
|
+
}
|
|
3806
|
+
return this;
|
|
3807
|
+
}
|
|
3808
|
+
webPartsOfWebsiteFrameAggregate(aggregate) {
|
|
3809
|
+
this._aggregates["webPartsOfWebsiteFrameAggregate"] = aggregate;
|
|
3810
|
+
return this;
|
|
3811
|
+
}
|
|
3704
3812
|
}
|
|
3705
3813
|
class MediaFolderQueryOptions extends QueryOptions {
|
|
3706
3814
|
constructor(fields, queryArgs) {
|
|
@@ -3959,6 +4067,14 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
3959
4067
|
this._aggregates["coverOfThemeAggregate"] = aggregate;
|
|
3960
4068
|
return this;
|
|
3961
4069
|
}
|
|
4070
|
+
postCategory(options) {
|
|
4071
|
+
if (Array.isArray(options)) {
|
|
4072
|
+
this._associations["postCategory"] = new PostCategoryQueryOptions(options);
|
|
4073
|
+
} else {
|
|
4074
|
+
this._associations["postCategory"] = options || new PostCategoryQueryOptions(["id"]);
|
|
4075
|
+
}
|
|
4076
|
+
return this;
|
|
4077
|
+
}
|
|
3962
4078
|
}
|
|
3963
4079
|
class UserQueryOptions extends QueryOptions {
|
|
3964
4080
|
constructor(fields, queryArgs) {
|
|
@@ -4360,6 +4476,11 @@ const componentCategoryEntry = {
|
|
|
4360
4476
|
entityLabel: ComponentCategoryEntityLabel,
|
|
4361
4477
|
toInput: componentCategoryToInput
|
|
4362
4478
|
};
|
|
4479
|
+
const websiteFrameEntry = {
|
|
4480
|
+
entityName: WebsiteFrameEntityName,
|
|
4481
|
+
entityLabel: WebsiteFrameEntityLabel,
|
|
4482
|
+
toInput: websiteFrameToInput
|
|
4483
|
+
};
|
|
4363
4484
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4364
4485
|
UserFields2["id"] = "id";
|
|
4365
4486
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4458,6 +4579,7 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
4458
4579
|
MediaAssciations2["usedByContactAggregate"] = "usedByContactAggregate";
|
|
4459
4580
|
MediaAssciations2["coverOfTheme"] = "coverOfTheme";
|
|
4460
4581
|
MediaAssciations2["coverOfThemeAggregate"] = "coverOfThemeAggregate";
|
|
4582
|
+
MediaAssciations2["postCategory"] = "postCategory";
|
|
4461
4583
|
return MediaAssciations2;
|
|
4462
4584
|
})(MediaAssciations || {});
|
|
4463
4585
|
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
@@ -4527,6 +4649,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4527
4649
|
WebsiteAssciations2["partsOfSpamFilterRuleAggregate"] = "partsOfSpamFilterRuleAggregate";
|
|
4528
4650
|
WebsiteAssciations2["partsOfMedia"] = "partsOfMedia";
|
|
4529
4651
|
WebsiteAssciations2["partsOfMediaAggregate"] = "partsOfMediaAggregate";
|
|
4652
|
+
WebsiteAssciations2["partsOfWebsiteFrame"] = "partsOfWebsiteFrame";
|
|
4653
|
+
WebsiteAssciations2["partsOfWebsiteFrameAggregate"] = "partsOfWebsiteFrameAggregate";
|
|
4530
4654
|
return WebsiteAssciations2;
|
|
4531
4655
|
})(WebsiteAssciations || {});
|
|
4532
4656
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -4569,6 +4693,8 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
4569
4693
|
LangAssciations2["webPartsOfSpamFilterRuleAggregate"] = "webPartsOfSpamFilterRuleAggregate";
|
|
4570
4694
|
LangAssciations2["webPartsOfMedia"] = "webPartsOfMedia";
|
|
4571
4695
|
LangAssciations2["webPartsOfMediaAggregate"] = "webPartsOfMediaAggregate";
|
|
4696
|
+
LangAssciations2["webPartsOfWebsiteFrame"] = "webPartsOfWebsiteFrame";
|
|
4697
|
+
LangAssciations2["webPartsOfWebsiteFrameAggregate"] = "webPartsOfWebsiteFrameAggregate";
|
|
4572
4698
|
return LangAssciations2;
|
|
4573
4699
|
})(LangAssciations || {});
|
|
4574
4700
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
@@ -4865,6 +4991,7 @@ var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
|
4865
4991
|
PostCategoryAssciations2["posts"] = "posts";
|
|
4866
4992
|
PostCategoryAssciations2["postsAggregate"] = "postsAggregate";
|
|
4867
4993
|
PostCategoryAssciations2["lang"] = "lang";
|
|
4994
|
+
PostCategoryAssciations2["media"] = "media";
|
|
4868
4995
|
PostCategoryAssciations2["parent"] = "parent";
|
|
4869
4996
|
PostCategoryAssciations2["website"] = "website";
|
|
4870
4997
|
return PostCategoryAssciations2;
|
|
@@ -5010,6 +5137,19 @@ var ComponentCategoryAssciations = /* @__PURE__ */ ((ComponentCategoryAssciation
|
|
|
5010
5137
|
ComponentCategoryAssciations2["theme"] = "theme";
|
|
5011
5138
|
return ComponentCategoryAssciations2;
|
|
5012
5139
|
})(ComponentCategoryAssciations || {});
|
|
5140
|
+
var WebsiteFrameFields = /* @__PURE__ */ ((WebsiteFrameFields2) => {
|
|
5141
|
+
WebsiteFrameFields2["id"] = "id";
|
|
5142
|
+
WebsiteFrameFields2["content"] = "content";
|
|
5143
|
+
WebsiteFrameFields2["settings"] = "settings";
|
|
5144
|
+
WebsiteFrameFields2["createdAt"] = "createdAt";
|
|
5145
|
+
WebsiteFrameFields2["updatedAt"] = "updatedAt";
|
|
5146
|
+
return WebsiteFrameFields2;
|
|
5147
|
+
})(WebsiteFrameFields || {});
|
|
5148
|
+
var WebsiteFrameAssciations = /* @__PURE__ */ ((WebsiteFrameAssciations2) => {
|
|
5149
|
+
WebsiteFrameAssciations2["lang"] = "lang";
|
|
5150
|
+
WebsiteFrameAssciations2["website"] = "website";
|
|
5151
|
+
return WebsiteFrameAssciations2;
|
|
5152
|
+
})(WebsiteFrameAssciations || {});
|
|
5013
5153
|
export {
|
|
5014
5154
|
AbilityAssciations,
|
|
5015
5155
|
AbilityDistinctEnum,
|
|
@@ -5175,6 +5315,12 @@ export {
|
|
|
5175
5315
|
WebsiteEntityLabel,
|
|
5176
5316
|
WebsiteEntityName,
|
|
5177
5317
|
WebsiteFields,
|
|
5318
|
+
WebsiteFrameAssciations,
|
|
5319
|
+
WebsiteFrameDistinctEnum,
|
|
5320
|
+
WebsiteFrameEntityLabel,
|
|
5321
|
+
WebsiteFrameEntityName,
|
|
5322
|
+
WebsiteFrameFields,
|
|
5323
|
+
WebsiteFrameQueryOptions,
|
|
5178
5324
|
WebsitePartDistinctEnum,
|
|
5179
5325
|
WebsiteQueryOptions,
|
|
5180
5326
|
WebsiteSettingsAssciations,
|
|
@@ -5266,6 +5412,9 @@ export {
|
|
|
5266
5412
|
userToInput,
|
|
5267
5413
|
userToInputCascade,
|
|
5268
5414
|
websiteEntry,
|
|
5415
|
+
websiteFrameEntry,
|
|
5416
|
+
websiteFrameToInput,
|
|
5417
|
+
websiteFrameToInputCascade,
|
|
5269
5418
|
websiteSettingsEntry,
|
|
5270
5419
|
websiteSettingsToInput,
|
|
5271
5420
|
websiteSettingsToInputCascade,
|