@rxdrag/rxcms-models 0.3.34 → 0.3.36
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/FrontComponentQueryOptions.d.ts +1 -0
- package/dist/classes/LangQueryOptions.d.ts +5 -0
- package/dist/classes/MediaQueryOptions.d.ts +3 -0
- package/dist/classes/PageQueryOptions.d.ts +1 -1
- package/dist/classes/PostCategoryQueryOptions.d.ts +3 -0
- package/dist/classes/TemplateQueryOptions.d.ts +0 -4
- package/dist/classes/WebsiteFrameQueryOptions.d.ts +17 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +7 -3
- 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/FrontComponentFields.d.ts +1 -0
- package/dist/fields/LangFields.d.ts +3 -1
- package/dist/fields/MediaFields.d.ts +2 -1
- package/dist/fields/PageFields.d.ts +1 -1
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/TemplateFields.d.ts +0 -4
- package/dist/fields/WebsiteFields.d.ts +3 -2
- package/dist/fields/WebsiteFrameFields.d.ts +11 -0
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +324 -193
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Ability.d.ts +2 -2
- package/dist/interfaces/AbilityInput.d.ts +2 -2
- package/dist/interfaces/AttachmentOnProduct.d.ts +1 -1
- package/dist/interfaces/AttachmentOnProductInput.d.ts +1 -1
- package/dist/interfaces/ComponentCategory.d.ts +1 -1
- package/dist/interfaces/ComponentCategoryInput.d.ts +1 -1
- package/dist/interfaces/Content.d.ts +3 -0
- package/dist/interfaces/Customer.d.ts +1 -1
- package/dist/interfaces/CustomerInput.d.ts +1 -1
- package/dist/interfaces/Enquiry.d.ts +1 -1
- package/dist/interfaces/EnquiryInput.d.ts +1 -1
- package/dist/interfaces/FrontComponent.d.ts +4 -2
- package/dist/interfaces/FrontComponentBoolExp.d.ts +1 -0
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +1 -0
- package/dist/interfaces/FrontComponentInput.d.ts +4 -2
- package/dist/interfaces/FrontComponentOrderBy.d.ts +1 -0
- package/dist/interfaces/IdComparisonExp.d.ts +1 -1
- package/dist/interfaces/Lang.d.ts +4 -1
- package/dist/interfaces/LangBoolExp.d.ts +2 -0
- package/dist/interfaces/LangInput.d.ts +3 -1
- package/dist/interfaces/Mail.d.ts +1 -1
- package/dist/interfaces/MailInput.d.ts +1 -1
- package/dist/interfaces/Media.d.ts +3 -1
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaFolder.d.ts +1 -1
- package/dist/interfaces/MediaFolderInput.d.ts +1 -1
- package/dist/interfaces/MediaInput.d.ts +3 -1
- package/dist/interfaces/MediaOnProduct.d.ts +1 -1
- package/dist/interfaces/MediaOnProductInput.d.ts +1 -1
- package/dist/interfaces/OgMeta.d.ts +1 -1
- package/dist/interfaces/Page.d.ts +3 -2
- package/dist/interfaces/PageBoolExp.d.ts +3 -1
- package/dist/interfaces/PageDistinctExp.d.ts +1 -0
- package/dist/interfaces/PageInput.d.ts +3 -2
- package/dist/interfaces/PageOrderBy.d.ts +1 -0
- package/dist/interfaces/PageType.d.ts +42 -0
- package/dist/interfaces/Person.d.ts +1 -1
- package/dist/interfaces/Post.d.ts +1 -1
- package/dist/interfaces/PostCategory.d.ts +3 -1
- package/dist/interfaces/PostCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/PostCategoryInput.d.ts +3 -1
- package/dist/interfaces/PostInput.d.ts +1 -1
- package/dist/interfaces/Product.d.ts +4 -3
- package/dist/interfaces/ProductCategory.d.ts +1 -1
- package/dist/interfaces/ProductCategoryInput.d.ts +1 -1
- package/dist/interfaces/ProductInput.d.ts +4 -3
- package/dist/interfaces/ProductRelatedPivot.d.ts +1 -1
- package/dist/interfaces/ProductRelatedPivotInput.d.ts +1 -1
- package/dist/interfaces/Publishable.d.ts +1 -1
- package/dist/interfaces/Role.d.ts +1 -1
- package/dist/interfaces/RoleInput.d.ts +1 -1
- package/dist/interfaces/SeoMeta.d.ts +1 -1
- package/dist/interfaces/Slugable.d.ts +1 -1
- package/dist/interfaces/SpamFilterRule.d.ts +1 -1
- package/dist/interfaces/SpamFilterRuleInput.d.ts +1 -1
- package/dist/interfaces/Tag.d.ts +1 -1
- package/dist/interfaces/TagInput.d.ts +1 -1
- package/dist/interfaces/Template.d.ts +1 -6
- package/dist/interfaces/TemplateBoolExp.d.ts +0 -3
- package/dist/interfaces/TemplateCategory.d.ts +1 -1
- package/dist/interfaces/TemplateCategoryInput.d.ts +1 -1
- package/dist/interfaces/TemplateDistinctExp.d.ts +0 -4
- package/dist/interfaces/TemplateInput.d.ts +1 -6
- package/dist/interfaces/TemplateOrderBy.d.ts +0 -4
- package/dist/interfaces/Theme.d.ts +1 -1
- package/dist/interfaces/ThemeInput.d.ts +1 -1
- package/dist/interfaces/User.d.ts +1 -1
- package/dist/interfaces/UserInput.d.ts +1 -1
- package/dist/interfaces/Website.d.ts +7 -5
- package/dist/interfaces/WebsiteBoolExp.d.ts +3 -2
- package/dist/interfaces/WebsiteContent.d.ts +3 -2
- 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 +6 -5
- package/dist/interfaces/WebsitePart.d.ts +1 -1
- package/dist/interfaces/WebsiteSettings.d.ts +1 -1
- package/dist/interfaces/WebsiteSettingsInput.d.ts +1 -1
- package/dist/interfaces/WebsiteType.d.ts +1 -1
- package/dist/interfaces/WebsiteTypeInput.d.ts +1 -1
- package/dist/interfaces/WebsiteUser.d.ts +1 -1
- package/dist/interfaces/index.d.ts +7 -1
- package/package.json +3 -3
- package/dist/interfaces/TemplateType.d.ts +0 -34
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"
|
|
@@ -395,24 +397,6 @@ const themeToInput = (entity) => {
|
|
|
395
397
|
website: convertHasOneToInput(entity.website)
|
|
396
398
|
};
|
|
397
399
|
};
|
|
398
|
-
const pageToInputCascade = (entity) => {
|
|
399
|
-
return {
|
|
400
|
-
...entity,
|
|
401
|
-
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
402
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
403
|
-
homeOf: entity.homeOf ? processHasOneClear({ sync: websiteToInput(entity.homeOf) }) : void 0,
|
|
404
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
const pageToInput = (entity) => {
|
|
408
|
-
return {
|
|
409
|
-
...entity,
|
|
410
|
-
ogImage: convertHasOneToInput(entity.ogImage),
|
|
411
|
-
lang: convertHasOneToInput(entity.lang),
|
|
412
|
-
homeOf: convertHasOneToInput(entity.homeOf),
|
|
413
|
-
website: convertHasOneToInput(entity.website)
|
|
414
|
-
};
|
|
415
|
-
};
|
|
416
400
|
const customerToInputCascade = (entity) => {
|
|
417
401
|
var _a;
|
|
418
402
|
const { enquiresAggregate, ...rest } = entity;
|
|
@@ -448,6 +432,22 @@ const enquiryToInput = (entity) => {
|
|
|
448
432
|
website: convertHasOneToInput(entity.website)
|
|
449
433
|
};
|
|
450
434
|
};
|
|
435
|
+
const pageToInputCascade = (entity) => {
|
|
436
|
+
return {
|
|
437
|
+
...entity,
|
|
438
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
439
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
440
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
const pageToInput = (entity) => {
|
|
444
|
+
return {
|
|
445
|
+
...entity,
|
|
446
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
447
|
+
lang: convertHasOneToInput(entity.lang),
|
|
448
|
+
website: convertHasOneToInput(entity.website)
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
451
|
const productCategoryToInputCascade = (entity) => {
|
|
452
452
|
var _a, _b;
|
|
453
453
|
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
@@ -481,6 +481,7 @@ const postCategoryToInputCascade = (entity) => {
|
|
|
481
481
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
482
482
|
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInput(ent)) }) : void 0,
|
|
483
483
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
484
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInput(entity.media) }) : void 0,
|
|
484
485
|
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInput(entity.parent) }) : void 0,
|
|
485
486
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
486
487
|
};
|
|
@@ -492,6 +493,7 @@ const postCategoryToInput = (entity) => {
|
|
|
492
493
|
children: convertHasManyToInput(entity.children),
|
|
493
494
|
posts: convertHasManyToInput(entity.posts),
|
|
494
495
|
lang: convertHasOneToInput(entity.lang),
|
|
496
|
+
media: convertHasOneToInput(entity.media),
|
|
495
497
|
parent: convertHasOneToInput(entity.parent),
|
|
496
498
|
website: convertHasOneToInput(entity.website)
|
|
497
499
|
};
|
|
@@ -641,14 +643,27 @@ const spamFilterRuleToInput = (entity) => {
|
|
|
641
643
|
website: convertHasOneToInput(entity.website)
|
|
642
644
|
};
|
|
643
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
|
+
};
|
|
644
660
|
const websiteToInputCascade = (entity) => {
|
|
645
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
646
|
-
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;
|
|
647
663
|
return {
|
|
648
664
|
...rest,
|
|
649
665
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
650
666
|
selectedTheme: entity.selectedTheme ? processHasOneClear({ sync: themeToInput(entity.selectedTheme) }) : void 0,
|
|
651
|
-
homePage: entity.homePage ? processHasOneClear({ sync: pageToInput(entity.homePage) }) : void 0,
|
|
652
667
|
owner: entity.owner ? processHasOneClear({ sync: userToInput(entity.owner) }) : void 0,
|
|
653
668
|
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0,
|
|
654
669
|
partsOfWebsiteSettings: entity.partsOfWebsiteSettings ? processHasManyClear({ sync: (_b = entity.partsOfWebsiteSettings) == null ? void 0 : _b.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
@@ -665,16 +680,16 @@ const websiteToInputCascade = (entity) => {
|
|
|
665
680
|
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_m = entity.partsOfCustomer) == null ? void 0 : _m.map((ent) => customerToInput(ent)) }) : void 0,
|
|
666
681
|
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_n = entity.partsOfProductCategory) == null ? void 0 : _n.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
667
682
|
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_o = entity.partsOfSpamFilterRule) == null ? void 0 : _o.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
668
|
-
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
|
|
669
685
|
};
|
|
670
686
|
};
|
|
671
687
|
const websiteToInput = (entity) => {
|
|
672
|
-
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;
|
|
673
689
|
return {
|
|
674
690
|
...rest,
|
|
675
691
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
676
692
|
selectedTheme: convertHasOneToInput(entity.selectedTheme),
|
|
677
|
-
homePage: convertHasOneToInput(entity.homePage),
|
|
678
693
|
owner: convertHasOneToInput(entity.owner),
|
|
679
694
|
users: convertHasManyToInput(entity.users),
|
|
680
695
|
partsOfWebsiteSettings: convertHasManyToInput(entity.partsOfWebsiteSettings),
|
|
@@ -691,7 +706,8 @@ const websiteToInput = (entity) => {
|
|
|
691
706
|
partsOfCustomer: convertHasManyToInput(entity.partsOfCustomer),
|
|
692
707
|
partsOfProductCategory: convertHasManyToInput(entity.partsOfProductCategory),
|
|
693
708
|
partsOfSpamFilterRule: convertHasManyToInput(entity.partsOfSpamFilterRule),
|
|
694
|
-
partsOfMedia: convertHasManyToInput(entity.partsOfMedia)
|
|
709
|
+
partsOfMedia: convertHasManyToInput(entity.partsOfMedia),
|
|
710
|
+
partsOfWebsiteFrame: convertHasManyToInput(entity.partsOfWebsiteFrame)
|
|
695
711
|
};
|
|
696
712
|
};
|
|
697
713
|
const websiteSettingsToInputCascade = (entity) => {
|
|
@@ -711,8 +727,8 @@ const websiteSettingsToInput = (entity) => {
|
|
|
711
727
|
};
|
|
712
728
|
};
|
|
713
729
|
const langToInputCascade = (entity) => {
|
|
714
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
715
|
-
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;
|
|
716
732
|
return {
|
|
717
733
|
...rest,
|
|
718
734
|
webPartsOfWebsiteSettings: entity.webPartsOfWebsiteSettings ? processHasManyClear({ sync: (_a = entity.webPartsOfWebsiteSettings) == null ? void 0 : _a.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
@@ -729,11 +745,12 @@ const langToInputCascade = (entity) => {
|
|
|
729
745
|
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_l = entity.webPartsOfCustomer) == null ? void 0 : _l.map((ent) => customerToInput(ent)) }) : void 0,
|
|
730
746
|
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_m = entity.webPartsOfProductCategory) == null ? void 0 : _m.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
731
747
|
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_n = entity.webPartsOfSpamFilterRule) == null ? void 0 : _n.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
732
|
-
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
|
|
733
750
|
};
|
|
734
751
|
};
|
|
735
752
|
const langToInput = (entity) => {
|
|
736
|
-
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;
|
|
737
754
|
return {
|
|
738
755
|
...rest,
|
|
739
756
|
webPartsOfWebsiteSettings: convertHasManyToInput(entity.webPartsOfWebsiteSettings),
|
|
@@ -750,7 +767,8 @@ const langToInput = (entity) => {
|
|
|
750
767
|
webPartsOfCustomer: convertHasManyToInput(entity.webPartsOfCustomer),
|
|
751
768
|
webPartsOfProductCategory: convertHasManyToInput(entity.webPartsOfProductCategory),
|
|
752
769
|
webPartsOfSpamFilterRule: convertHasManyToInput(entity.webPartsOfSpamFilterRule),
|
|
753
|
-
webPartsOfMedia: convertHasManyToInput(entity.webPartsOfMedia)
|
|
770
|
+
webPartsOfMedia: convertHasManyToInput(entity.webPartsOfMedia),
|
|
771
|
+
webPartsOfWebsiteFrame: convertHasManyToInput(entity.webPartsOfWebsiteFrame)
|
|
754
772
|
};
|
|
755
773
|
};
|
|
756
774
|
const mediaFolderToInputCascade = (entity) => {
|
|
@@ -793,7 +811,8 @@ const mediaToInputCascade = (entity) => {
|
|
|
793
811
|
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_g = entity.productAttacPivots) == null ? void 0 : _g.map((ent) => attachmentOnProductToInput(ent)) }) : void 0,
|
|
794
812
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
|
|
795
813
|
usedByContact: entity.usedByContact ? processHasManyClear({ sync: (_h = entity.usedByContact) == null ? void 0 : _h.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
796
|
-
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
|
|
797
816
|
};
|
|
798
817
|
};
|
|
799
818
|
const mediaToInput = (entity) => {
|
|
@@ -812,7 +831,8 @@ const mediaToInput = (entity) => {
|
|
|
812
831
|
productAttacPivots: convertHasManyToInput(entity.productAttacPivots),
|
|
813
832
|
website: convertHasOneToInput(entity.website),
|
|
814
833
|
usedByContact: convertHasManyToInput(entity.usedByContact),
|
|
815
|
-
coverOfTheme: convertHasManyToInput(entity.coverOfTheme)
|
|
834
|
+
coverOfTheme: convertHasManyToInput(entity.coverOfTheme),
|
|
835
|
+
postCategory: convertHasOneToInput(entity.postCategory)
|
|
816
836
|
};
|
|
817
837
|
};
|
|
818
838
|
const userToInputCascade = (entity) => {
|
|
@@ -1006,6 +1026,7 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
|
1006
1026
|
PageDistinctEnum2["id"] = "id";
|
|
1007
1027
|
PageDistinctEnum2["title"] = "title";
|
|
1008
1028
|
PageDistinctEnum2["remark"] = "remark";
|
|
1029
|
+
PageDistinctEnum2["pageType"] = "pageType";
|
|
1009
1030
|
PageDistinctEnum2["content"] = "content";
|
|
1010
1031
|
PageDistinctEnum2["extends"] = "extends";
|
|
1011
1032
|
PageDistinctEnum2["createdAt"] = "createdAt";
|
|
@@ -1148,7 +1169,6 @@ var TemplateDistinctEnum = /* @__PURE__ */ ((TemplateDistinctEnum2) => {
|
|
|
1148
1169
|
TemplateDistinctEnum2["name"] = "name";
|
|
1149
1170
|
TemplateDistinctEnum2["seqValue"] = "seqValue";
|
|
1150
1171
|
TemplateDistinctEnum2["content"] = "content";
|
|
1151
|
-
TemplateDistinctEnum2["templateType"] = "templateType";
|
|
1152
1172
|
TemplateDistinctEnum2["createdAt"] = "createdAt";
|
|
1153
1173
|
TemplateDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1154
1174
|
return TemplateDistinctEnum2;
|
|
@@ -1356,17 +1376,19 @@ var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
|
1356
1376
|
UserType2["systemAdmin"] = "systemAdmin";
|
|
1357
1377
|
return UserType2;
|
|
1358
1378
|
})(UserType || {});
|
|
1359
|
-
var
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1379
|
+
var PageType = /* @__PURE__ */ ((PageType2) => {
|
|
1380
|
+
PageType2["PostCategory"] = "PostCategory";
|
|
1381
|
+
PageType2["Post"] = "Post";
|
|
1382
|
+
PageType2["ProductCategory"] = "ProductCategory";
|
|
1383
|
+
PageType2["Product"] = "Product";
|
|
1384
|
+
PageType2["SearchList"] = "SearchList";
|
|
1385
|
+
PageType2["Profile"] = "Profile";
|
|
1386
|
+
PageType2["Home"] = "Home";
|
|
1387
|
+
PageType2["Customized"] = "Customized";
|
|
1388
|
+
PageType2["Page404"] = "Page404";
|
|
1389
|
+
PageType2["PageError"] = "PageError";
|
|
1390
|
+
return PageType2;
|
|
1391
|
+
})(PageType || {});
|
|
1370
1392
|
const ProductCategoryEntityName = "ProductCategory";
|
|
1371
1393
|
const ProductCategoryEntityLabel = "";
|
|
1372
1394
|
var ProductCategoryDistinctEnum = /* @__PURE__ */ ((ProductCategoryDistinctEnum2) => {
|
|
@@ -1455,6 +1477,7 @@ var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2)
|
|
|
1455
1477
|
FrontComponentDistinctEnum2["testConfig"] = "testConfig";
|
|
1456
1478
|
FrontComponentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1457
1479
|
FrontComponentDistinctEnum2["createdAt"] = "createdAt";
|
|
1480
|
+
FrontComponentDistinctEnum2["slots"] = "slots";
|
|
1458
1481
|
FrontComponentDistinctEnum2["droppable"] = "droppable";
|
|
1459
1482
|
return FrontComponentDistinctEnum2;
|
|
1460
1483
|
})(FrontComponentDistinctEnum || {});
|
|
@@ -1468,6 +1491,16 @@ var ComponentCategoryDistinctEnum = /* @__PURE__ */ ((ComponentCategoryDistinctE
|
|
|
1468
1491
|
ComponentCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1469
1492
|
return ComponentCategoryDistinctEnum2;
|
|
1470
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 || {});
|
|
1471
1504
|
class RoleQueryOptions extends QueryOptions {
|
|
1472
1505
|
constructor(fields, queryArgs) {
|
|
1473
1506
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1655,13 +1688,6 @@ class TemplateQueryOptions extends QueryOptions {
|
|
|
1655
1688
|
this.addField("content");
|
|
1656
1689
|
return this;
|
|
1657
1690
|
}
|
|
1658
|
-
/**
|
|
1659
|
-
* 模板类型
|
|
1660
|
-
*/
|
|
1661
|
-
templateType() {
|
|
1662
|
-
this.addField("templateType");
|
|
1663
|
-
return this;
|
|
1664
|
-
}
|
|
1665
1691
|
createdAt() {
|
|
1666
1692
|
this.addField("createdAt");
|
|
1667
1693
|
return this;
|
|
@@ -1788,6 +1814,10 @@ class FrontComponentQueryOptions extends QueryOptions {
|
|
|
1788
1814
|
this.addField("createdAt");
|
|
1789
1815
|
return this;
|
|
1790
1816
|
}
|
|
1817
|
+
slots() {
|
|
1818
|
+
this.addField("slots");
|
|
1819
|
+
return this;
|
|
1820
|
+
}
|
|
1791
1821
|
droppable() {
|
|
1792
1822
|
this.addField("droppable");
|
|
1793
1823
|
return this;
|
|
@@ -1930,134 +1960,6 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
1930
1960
|
return this;
|
|
1931
1961
|
}
|
|
1932
1962
|
}
|
|
1933
|
-
class PageQueryOptions extends QueryOptions {
|
|
1934
|
-
constructor(fields, queryArgs) {
|
|
1935
|
-
super(PageEntityName, fields, queryArgs);
|
|
1936
|
-
}
|
|
1937
|
-
id() {
|
|
1938
|
-
this.addField("id");
|
|
1939
|
-
return this;
|
|
1940
|
-
}
|
|
1941
|
-
title() {
|
|
1942
|
-
this.addField("title");
|
|
1943
|
-
return this;
|
|
1944
|
-
}
|
|
1945
|
-
/**
|
|
1946
|
-
* 备注
|
|
1947
|
-
*/
|
|
1948
|
-
remark() {
|
|
1949
|
-
this.addField("remark");
|
|
1950
|
-
return this;
|
|
1951
|
-
}
|
|
1952
|
-
content() {
|
|
1953
|
-
this.addField("content");
|
|
1954
|
-
return this;
|
|
1955
|
-
}
|
|
1956
|
-
extends() {
|
|
1957
|
-
this.addField("extends");
|
|
1958
|
-
return this;
|
|
1959
|
-
}
|
|
1960
|
-
createdAt() {
|
|
1961
|
-
this.addField("createdAt");
|
|
1962
|
-
return this;
|
|
1963
|
-
}
|
|
1964
|
-
updatedAt() {
|
|
1965
|
-
this.addField("updatedAt");
|
|
1966
|
-
return this;
|
|
1967
|
-
}
|
|
1968
|
-
seoTitle() {
|
|
1969
|
-
this.addField("seoTitle");
|
|
1970
|
-
return this;
|
|
1971
|
-
}
|
|
1972
|
-
seoKeywords() {
|
|
1973
|
-
this.addField("seoKeywords");
|
|
1974
|
-
return this;
|
|
1975
|
-
}
|
|
1976
|
-
seoDescription() {
|
|
1977
|
-
this.addField("seoDescription");
|
|
1978
|
-
return this;
|
|
1979
|
-
}
|
|
1980
|
-
ogTitle() {
|
|
1981
|
-
this.addField("ogTitle");
|
|
1982
|
-
return this;
|
|
1983
|
-
}
|
|
1984
|
-
ogDescription() {
|
|
1985
|
-
this.addField("ogDescription");
|
|
1986
|
-
return this;
|
|
1987
|
-
}
|
|
1988
|
-
ogUrl() {
|
|
1989
|
-
this.addField("ogUrl");
|
|
1990
|
-
return this;
|
|
1991
|
-
}
|
|
1992
|
-
ogSiteName() {
|
|
1993
|
-
this.addField("ogSiteName");
|
|
1994
|
-
return this;
|
|
1995
|
-
}
|
|
1996
|
-
ogType() {
|
|
1997
|
-
this.addField("ogType");
|
|
1998
|
-
return this;
|
|
1999
|
-
}
|
|
2000
|
-
xCard() {
|
|
2001
|
-
this.addField("xCard");
|
|
2002
|
-
return this;
|
|
2003
|
-
}
|
|
2004
|
-
xSite() {
|
|
2005
|
-
this.addField("xSite");
|
|
2006
|
-
return this;
|
|
2007
|
-
}
|
|
2008
|
-
xTitle() {
|
|
2009
|
-
this.addField("xTitle");
|
|
2010
|
-
return this;
|
|
2011
|
-
}
|
|
2012
|
-
xDescription() {
|
|
2013
|
-
this.addField("xDescription");
|
|
2014
|
-
return this;
|
|
2015
|
-
}
|
|
2016
|
-
xUrl() {
|
|
2017
|
-
this.addField("xUrl");
|
|
2018
|
-
return this;
|
|
2019
|
-
}
|
|
2020
|
-
slug() {
|
|
2021
|
-
this.addField("slug");
|
|
2022
|
-
return this;
|
|
2023
|
-
}
|
|
2024
|
-
description() {
|
|
2025
|
-
this.addField("description");
|
|
2026
|
-
return this;
|
|
2027
|
-
}
|
|
2028
|
-
ogImage(options) {
|
|
2029
|
-
if (Array.isArray(options)) {
|
|
2030
|
-
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2031
|
-
} else {
|
|
2032
|
-
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2033
|
-
}
|
|
2034
|
-
return this;
|
|
2035
|
-
}
|
|
2036
|
-
lang(options) {
|
|
2037
|
-
if (Array.isArray(options)) {
|
|
2038
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
2039
|
-
} else {
|
|
2040
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2041
|
-
}
|
|
2042
|
-
return this;
|
|
2043
|
-
}
|
|
2044
|
-
homeOf(options) {
|
|
2045
|
-
if (Array.isArray(options)) {
|
|
2046
|
-
this._associations["homeOf"] = new WebsiteQueryOptions(options);
|
|
2047
|
-
} else {
|
|
2048
|
-
this._associations["homeOf"] = options || new WebsiteQueryOptions(["id"]);
|
|
2049
|
-
}
|
|
2050
|
-
return this;
|
|
2051
|
-
}
|
|
2052
|
-
website(options) {
|
|
2053
|
-
if (Array.isArray(options)) {
|
|
2054
|
-
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2055
|
-
} else {
|
|
2056
|
-
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2057
|
-
}
|
|
2058
|
-
return this;
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
1963
|
class CustomerQueryOptions extends QueryOptions {
|
|
2062
1964
|
constructor(fields, queryArgs) {
|
|
2063
1965
|
super(CustomerEntityName, fields, queryArgs);
|
|
@@ -2251,6 +2153,130 @@ class EnquiryQueryOptions extends QueryOptions {
|
|
|
2251
2153
|
return this;
|
|
2252
2154
|
}
|
|
2253
2155
|
}
|
|
2156
|
+
class PageQueryOptions extends QueryOptions {
|
|
2157
|
+
constructor(fields, queryArgs) {
|
|
2158
|
+
super(PageEntityName, fields, queryArgs);
|
|
2159
|
+
}
|
|
2160
|
+
id() {
|
|
2161
|
+
this.addField("id");
|
|
2162
|
+
return this;
|
|
2163
|
+
}
|
|
2164
|
+
title() {
|
|
2165
|
+
this.addField("title");
|
|
2166
|
+
return this;
|
|
2167
|
+
}
|
|
2168
|
+
/**
|
|
2169
|
+
* 备注
|
|
2170
|
+
*/
|
|
2171
|
+
remark() {
|
|
2172
|
+
this.addField("remark");
|
|
2173
|
+
return this;
|
|
2174
|
+
}
|
|
2175
|
+
pageType() {
|
|
2176
|
+
this.addField("pageType");
|
|
2177
|
+
return this;
|
|
2178
|
+
}
|
|
2179
|
+
content() {
|
|
2180
|
+
this.addField("content");
|
|
2181
|
+
return this;
|
|
2182
|
+
}
|
|
2183
|
+
extends() {
|
|
2184
|
+
this.addField("extends");
|
|
2185
|
+
return this;
|
|
2186
|
+
}
|
|
2187
|
+
createdAt() {
|
|
2188
|
+
this.addField("createdAt");
|
|
2189
|
+
return this;
|
|
2190
|
+
}
|
|
2191
|
+
updatedAt() {
|
|
2192
|
+
this.addField("updatedAt");
|
|
2193
|
+
return this;
|
|
2194
|
+
}
|
|
2195
|
+
seoTitle() {
|
|
2196
|
+
this.addField("seoTitle");
|
|
2197
|
+
return this;
|
|
2198
|
+
}
|
|
2199
|
+
seoKeywords() {
|
|
2200
|
+
this.addField("seoKeywords");
|
|
2201
|
+
return this;
|
|
2202
|
+
}
|
|
2203
|
+
seoDescription() {
|
|
2204
|
+
this.addField("seoDescription");
|
|
2205
|
+
return this;
|
|
2206
|
+
}
|
|
2207
|
+
ogTitle() {
|
|
2208
|
+
this.addField("ogTitle");
|
|
2209
|
+
return this;
|
|
2210
|
+
}
|
|
2211
|
+
ogDescription() {
|
|
2212
|
+
this.addField("ogDescription");
|
|
2213
|
+
return this;
|
|
2214
|
+
}
|
|
2215
|
+
ogUrl() {
|
|
2216
|
+
this.addField("ogUrl");
|
|
2217
|
+
return this;
|
|
2218
|
+
}
|
|
2219
|
+
ogSiteName() {
|
|
2220
|
+
this.addField("ogSiteName");
|
|
2221
|
+
return this;
|
|
2222
|
+
}
|
|
2223
|
+
ogType() {
|
|
2224
|
+
this.addField("ogType");
|
|
2225
|
+
return this;
|
|
2226
|
+
}
|
|
2227
|
+
xCard() {
|
|
2228
|
+
this.addField("xCard");
|
|
2229
|
+
return this;
|
|
2230
|
+
}
|
|
2231
|
+
xSite() {
|
|
2232
|
+
this.addField("xSite");
|
|
2233
|
+
return this;
|
|
2234
|
+
}
|
|
2235
|
+
xTitle() {
|
|
2236
|
+
this.addField("xTitle");
|
|
2237
|
+
return this;
|
|
2238
|
+
}
|
|
2239
|
+
xDescription() {
|
|
2240
|
+
this.addField("xDescription");
|
|
2241
|
+
return this;
|
|
2242
|
+
}
|
|
2243
|
+
xUrl() {
|
|
2244
|
+
this.addField("xUrl");
|
|
2245
|
+
return this;
|
|
2246
|
+
}
|
|
2247
|
+
slug() {
|
|
2248
|
+
this.addField("slug");
|
|
2249
|
+
return this;
|
|
2250
|
+
}
|
|
2251
|
+
description() {
|
|
2252
|
+
this.addField("description");
|
|
2253
|
+
return this;
|
|
2254
|
+
}
|
|
2255
|
+
ogImage(options) {
|
|
2256
|
+
if (Array.isArray(options)) {
|
|
2257
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2258
|
+
} else {
|
|
2259
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2260
|
+
}
|
|
2261
|
+
return this;
|
|
2262
|
+
}
|
|
2263
|
+
lang(options) {
|
|
2264
|
+
if (Array.isArray(options)) {
|
|
2265
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2266
|
+
} else {
|
|
2267
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2268
|
+
}
|
|
2269
|
+
return this;
|
|
2270
|
+
}
|
|
2271
|
+
website(options) {
|
|
2272
|
+
if (Array.isArray(options)) {
|
|
2273
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2274
|
+
} else {
|
|
2275
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2276
|
+
}
|
|
2277
|
+
return this;
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2254
2280
|
class ProductCategoryQueryOptions extends QueryOptions {
|
|
2255
2281
|
constructor(fields, queryArgs) {
|
|
2256
2282
|
super(ProductCategoryEntityName, fields, queryArgs);
|
|
@@ -2404,6 +2430,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
2404
2430
|
}
|
|
2405
2431
|
return this;
|
|
2406
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
|
+
}
|
|
2407
2441
|
parent(options) {
|
|
2408
2442
|
if (Array.isArray(options)) {
|
|
2409
2443
|
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
@@ -3068,6 +3102,47 @@ class SpamFilterRuleQueryOptions extends QueryOptions {
|
|
|
3068
3102
|
return this;
|
|
3069
3103
|
}
|
|
3070
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
|
+
}
|
|
3071
3146
|
class WebsiteQueryOptions extends QueryOptions {
|
|
3072
3147
|
constructor(fields, queryArgs) {
|
|
3073
3148
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -3145,14 +3220,6 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3145
3220
|
}
|
|
3146
3221
|
return this;
|
|
3147
3222
|
}
|
|
3148
|
-
homePage(options) {
|
|
3149
|
-
if (Array.isArray(options)) {
|
|
3150
|
-
this._associations["homePage"] = new PageQueryOptions(options);
|
|
3151
|
-
} else {
|
|
3152
|
-
this._associations["homePage"] = options || new PageQueryOptions(["id"]);
|
|
3153
|
-
}
|
|
3154
|
-
return this;
|
|
3155
|
-
}
|
|
3156
3223
|
owner(options) {
|
|
3157
3224
|
if (Array.isArray(options)) {
|
|
3158
3225
|
this._associations["owner"] = new UserQueryOptions(options);
|
|
@@ -3353,6 +3420,18 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3353
3420
|
this._aggregates["partsOfMediaAggregate"] = aggregate;
|
|
3354
3421
|
return this;
|
|
3355
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
|
+
}
|
|
3356
3435
|
}
|
|
3357
3436
|
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
3358
3437
|
constructor(fields, queryArgs) {
|
|
@@ -3718,6 +3797,18 @@ class LangQueryOptions extends QueryOptions {
|
|
|
3718
3797
|
this._aggregates["webPartsOfMediaAggregate"] = aggregate;
|
|
3719
3798
|
return this;
|
|
3720
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
|
+
}
|
|
3721
3812
|
}
|
|
3722
3813
|
class MediaFolderQueryOptions extends QueryOptions {
|
|
3723
3814
|
constructor(fields, queryArgs) {
|
|
@@ -3976,6 +4067,14 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
3976
4067
|
this._aggregates["coverOfThemeAggregate"] = aggregate;
|
|
3977
4068
|
return this;
|
|
3978
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
|
+
}
|
|
3979
4078
|
}
|
|
3980
4079
|
class UserQueryOptions extends QueryOptions {
|
|
3981
4080
|
constructor(fields, queryArgs) {
|
|
@@ -4377,6 +4476,11 @@ const componentCategoryEntry = {
|
|
|
4377
4476
|
entityLabel: ComponentCategoryEntityLabel,
|
|
4378
4477
|
toInput: componentCategoryToInput
|
|
4379
4478
|
};
|
|
4479
|
+
const websiteFrameEntry = {
|
|
4480
|
+
entityName: WebsiteFrameEntityName,
|
|
4481
|
+
entityLabel: WebsiteFrameEntityLabel,
|
|
4482
|
+
toInput: websiteFrameToInput
|
|
4483
|
+
};
|
|
4380
4484
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4381
4485
|
UserFields2["id"] = "id";
|
|
4382
4486
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4475,6 +4579,7 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
4475
4579
|
MediaAssciations2["usedByContactAggregate"] = "usedByContactAggregate";
|
|
4476
4580
|
MediaAssciations2["coverOfTheme"] = "coverOfTheme";
|
|
4477
4581
|
MediaAssciations2["coverOfThemeAggregate"] = "coverOfThemeAggregate";
|
|
4582
|
+
MediaAssciations2["postCategory"] = "postCategory";
|
|
4478
4583
|
return MediaAssciations2;
|
|
4479
4584
|
})(MediaAssciations || {});
|
|
4480
4585
|
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
@@ -4511,7 +4616,6 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
|
4511
4616
|
var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
4512
4617
|
WebsiteAssciations2["websiteType"] = "websiteType";
|
|
4513
4618
|
WebsiteAssciations2["selectedTheme"] = "selectedTheme";
|
|
4514
|
-
WebsiteAssciations2["homePage"] = "homePage";
|
|
4515
4619
|
WebsiteAssciations2["owner"] = "owner";
|
|
4516
4620
|
WebsiteAssciations2["users"] = "users";
|
|
4517
4621
|
WebsiteAssciations2["usersAggregate"] = "usersAggregate";
|
|
@@ -4545,6 +4649,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4545
4649
|
WebsiteAssciations2["partsOfSpamFilterRuleAggregate"] = "partsOfSpamFilterRuleAggregate";
|
|
4546
4650
|
WebsiteAssciations2["partsOfMedia"] = "partsOfMedia";
|
|
4547
4651
|
WebsiteAssciations2["partsOfMediaAggregate"] = "partsOfMediaAggregate";
|
|
4652
|
+
WebsiteAssciations2["partsOfWebsiteFrame"] = "partsOfWebsiteFrame";
|
|
4653
|
+
WebsiteAssciations2["partsOfWebsiteFrameAggregate"] = "partsOfWebsiteFrameAggregate";
|
|
4548
4654
|
return WebsiteAssciations2;
|
|
4549
4655
|
})(WebsiteAssciations || {});
|
|
4550
4656
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -4587,6 +4693,8 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
4587
4693
|
LangAssciations2["webPartsOfSpamFilterRuleAggregate"] = "webPartsOfSpamFilterRuleAggregate";
|
|
4588
4694
|
LangAssciations2["webPartsOfMedia"] = "webPartsOfMedia";
|
|
4589
4695
|
LangAssciations2["webPartsOfMediaAggregate"] = "webPartsOfMediaAggregate";
|
|
4696
|
+
LangAssciations2["webPartsOfWebsiteFrame"] = "webPartsOfWebsiteFrame";
|
|
4697
|
+
LangAssciations2["webPartsOfWebsiteFrameAggregate"] = "webPartsOfWebsiteFrameAggregate";
|
|
4590
4698
|
return LangAssciations2;
|
|
4591
4699
|
})(LangAssciations || {});
|
|
4592
4700
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
@@ -4611,6 +4719,7 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
4611
4719
|
PageFields2["id"] = "id";
|
|
4612
4720
|
PageFields2["title"] = "title";
|
|
4613
4721
|
PageFields2["remark"] = "remark";
|
|
4722
|
+
PageFields2["pageType"] = "pageType";
|
|
4614
4723
|
PageFields2["content"] = "content";
|
|
4615
4724
|
PageFields2["extends"] = "extends";
|
|
4616
4725
|
PageFields2["createdAt"] = "createdAt";
|
|
@@ -4635,7 +4744,6 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
4635
4744
|
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
4636
4745
|
PageAssciations2["ogImage"] = "ogImage";
|
|
4637
4746
|
PageAssciations2["lang"] = "lang";
|
|
4638
|
-
PageAssciations2["homeOf"] = "homeOf";
|
|
4639
4747
|
PageAssciations2["website"] = "website";
|
|
4640
4748
|
return PageAssciations2;
|
|
4641
4749
|
})(PageAssciations || {});
|
|
@@ -4795,7 +4903,6 @@ var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
|
4795
4903
|
TemplateFields2["name"] = "name";
|
|
4796
4904
|
TemplateFields2["seqValue"] = "seqValue";
|
|
4797
4905
|
TemplateFields2["content"] = "content";
|
|
4798
|
-
TemplateFields2["templateType"] = "templateType";
|
|
4799
4906
|
TemplateFields2["createdAt"] = "createdAt";
|
|
4800
4907
|
TemplateFields2["updatedAt"] = "updatedAt";
|
|
4801
4908
|
return TemplateFields2;
|
|
@@ -4884,6 +4991,7 @@ var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
|
4884
4991
|
PostCategoryAssciations2["posts"] = "posts";
|
|
4885
4992
|
PostCategoryAssciations2["postsAggregate"] = "postsAggregate";
|
|
4886
4993
|
PostCategoryAssciations2["lang"] = "lang";
|
|
4994
|
+
PostCategoryAssciations2["media"] = "media";
|
|
4887
4995
|
PostCategoryAssciations2["parent"] = "parent";
|
|
4888
4996
|
PostCategoryAssciations2["website"] = "website";
|
|
4889
4997
|
return PostCategoryAssciations2;
|
|
@@ -5006,6 +5114,7 @@ var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
|
|
|
5006
5114
|
FrontComponentFields2["testConfig"] = "testConfig";
|
|
5007
5115
|
FrontComponentFields2["updatedAt"] = "updatedAt";
|
|
5008
5116
|
FrontComponentFields2["createdAt"] = "createdAt";
|
|
5117
|
+
FrontComponentFields2["slots"] = "slots";
|
|
5009
5118
|
FrontComponentFields2["droppable"] = "droppable";
|
|
5010
5119
|
return FrontComponentFields2;
|
|
5011
5120
|
})(FrontComponentFields || {});
|
|
@@ -5028,6 +5137,19 @@ var ComponentCategoryAssciations = /* @__PURE__ */ ((ComponentCategoryAssciation
|
|
|
5028
5137
|
ComponentCategoryAssciations2["theme"] = "theme";
|
|
5029
5138
|
return ComponentCategoryAssciations2;
|
|
5030
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 || {});
|
|
5031
5153
|
export {
|
|
5032
5154
|
AbilityAssciations,
|
|
5033
5155
|
AbilityDistinctEnum,
|
|
@@ -5107,6 +5229,7 @@ export {
|
|
|
5107
5229
|
PageEntityName,
|
|
5108
5230
|
PageFields,
|
|
5109
5231
|
PageQueryOptions,
|
|
5232
|
+
PageType,
|
|
5110
5233
|
PersonDistinctEnum,
|
|
5111
5234
|
PostAssciations,
|
|
5112
5235
|
PostCategoryAssciations,
|
|
@@ -5173,7 +5296,6 @@ export {
|
|
|
5173
5296
|
TemplateEntityName,
|
|
5174
5297
|
TemplateFields,
|
|
5175
5298
|
TemplateQueryOptions,
|
|
5176
|
-
TemplateType,
|
|
5177
5299
|
ThemeAssciations,
|
|
5178
5300
|
ThemeDistinctEnum,
|
|
5179
5301
|
ThemeEntityLabel,
|
|
@@ -5193,6 +5315,12 @@ export {
|
|
|
5193
5315
|
WebsiteEntityLabel,
|
|
5194
5316
|
WebsiteEntityName,
|
|
5195
5317
|
WebsiteFields,
|
|
5318
|
+
WebsiteFrameAssciations,
|
|
5319
|
+
WebsiteFrameDistinctEnum,
|
|
5320
|
+
WebsiteFrameEntityLabel,
|
|
5321
|
+
WebsiteFrameEntityName,
|
|
5322
|
+
WebsiteFrameFields,
|
|
5323
|
+
WebsiteFrameQueryOptions,
|
|
5196
5324
|
WebsitePartDistinctEnum,
|
|
5197
5325
|
WebsiteQueryOptions,
|
|
5198
5326
|
WebsiteSettingsAssciations,
|
|
@@ -5284,6 +5412,9 @@ export {
|
|
|
5284
5412
|
userToInput,
|
|
5285
5413
|
userToInputCascade,
|
|
5286
5414
|
websiteEntry,
|
|
5415
|
+
websiteFrameEntry,
|
|
5416
|
+
websiteFrameToInput,
|
|
5417
|
+
websiteFrameToInputCascade,
|
|
5287
5418
|
websiteSettingsEntry,
|
|
5288
5419
|
websiteSettingsToInput,
|
|
5289
5420
|
websiteSettingsToInputCascade,
|