@rxdrag/rxcms-models 0.3.45 → 0.3.47

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.
Files changed (91) hide show
  1. package/dist/classes/ComponentCategoryQueryOptions.d.ts +1 -0
  2. package/dist/classes/FrontComponentQueryOptions.d.ts +1 -0
  3. package/dist/classes/PostQueryOptions.d.ts +0 -2
  4. package/dist/classes/ProductQueryOptions.d.ts +1 -9
  5. package/dist/classes/RoleQueryOptions.d.ts +1 -0
  6. package/dist/classes/SectionTemplateQueryOptions.d.ts +19 -0
  7. package/dist/classes/StyleConfigQueryOptions.d.ts +18 -0
  8. package/dist/classes/TemplateCategoryQueryOptions.d.ts +20 -0
  9. package/dist/classes/ThemeCategoryQueryOptions.d.ts +17 -0
  10. package/dist/classes/ThemeQueryOptions.d.ts +20 -5
  11. package/dist/classes/index.d.ts +4 -1
  12. package/dist/entries/index.d.ts +4 -1
  13. package/dist/entries/sectionTemplateEntry.d.ts +2 -0
  14. package/dist/entries/styleConfigEntry.d.ts +2 -0
  15. package/dist/entries/templateCategoryEntry.d.ts +2 -0
  16. package/dist/entries/themeCategoryEntry.d.ts +2 -0
  17. package/dist/fields/ComponentCategoryFields.d.ts +2 -1
  18. package/dist/fields/FrontComponentFields.d.ts +2 -1
  19. package/dist/fields/PostFields.d.ts +0 -2
  20. package/dist/fields/ProductFields.d.ts +2 -7
  21. package/dist/fields/RoleFields.d.ts +1 -0
  22. package/dist/fields/SectionTemplateFields.d.ts +13 -0
  23. package/dist/fields/StyleConfigFields.d.ts +14 -0
  24. package/dist/fields/TemplateCategoryFields.d.ts +13 -0
  25. package/dist/fields/ThemeCategoryFields.d.ts +12 -0
  26. package/dist/fields/ThemeFields.d.ts +12 -7
  27. package/dist/fields/index.d.ts +4 -1
  28. package/dist/index.mjs +528 -205
  29. package/dist/index.mjs.map +1 -1
  30. package/dist/interfaces/AbilityType.d.ts +5 -1
  31. package/dist/interfaces/ComponentCategory.d.ts +1 -0
  32. package/dist/interfaces/ComponentCategoryBoolExp.d.ts +2 -0
  33. package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +2 -1
  34. package/dist/interfaces/ComponentCategoryInput.d.ts +1 -0
  35. package/dist/interfaces/ComponentCategoryOrderBy.d.ts +1 -0
  36. package/dist/interfaces/ExtendField.d.ts +1 -2
  37. package/dist/interfaces/FrontComponent.d.ts +1 -0
  38. package/dist/interfaces/FrontComponentBoolExp.d.ts +1 -0
  39. package/dist/interfaces/FrontComponentDistinctExp.d.ts +2 -1
  40. package/dist/interfaces/FrontComponentInput.d.ts +1 -0
  41. package/dist/interfaces/FrontComponentOrderBy.d.ts +1 -0
  42. package/dist/interfaces/PageType.d.ts +9 -1
  43. package/dist/interfaces/Post.d.ts +0 -2
  44. package/dist/interfaces/PostBoolExp.d.ts +0 -2
  45. package/dist/interfaces/PostInput.d.ts +0 -2
  46. package/dist/interfaces/Product.d.ts +1 -7
  47. package/dist/interfaces/ProductBoolExp.d.ts +1 -5
  48. package/dist/interfaces/ProductDistinctExp.d.ts +1 -0
  49. package/dist/interfaces/ProductInput.d.ts +1 -5
  50. package/dist/interfaces/ProductOrderBy.d.ts +1 -0
  51. package/dist/interfaces/Role.d.ts +1 -0
  52. package/dist/interfaces/RoleBoolExp.d.ts +1 -0
  53. package/dist/interfaces/RoleDistinctExp.d.ts +1 -0
  54. package/dist/interfaces/RoleInput.d.ts +1 -0
  55. package/dist/interfaces/RoleOrderBy.d.ts +1 -0
  56. package/dist/interfaces/SectionTemplate.d.ts +15 -0
  57. package/dist/interfaces/SectionTemplateBoolExp.d.ts +20 -0
  58. package/dist/interfaces/SectionTemplateDistinctExp.d.ts +10 -0
  59. package/dist/interfaces/SectionTemplateInput.d.ts +17 -0
  60. package/dist/interfaces/SectionTemplateOrderBy.d.ts +10 -0
  61. package/dist/interfaces/StyleConfig.d.ts +15 -0
  62. package/dist/interfaces/StyleConfigBoolExp.d.ts +20 -0
  63. package/dist/interfaces/StyleConfigDistinctExp.d.ts +12 -0
  64. package/dist/interfaces/StyleConfigInput.d.ts +17 -0
  65. package/dist/interfaces/StyleConfigOrderBy.d.ts +12 -0
  66. package/dist/interfaces/TemplateCategory.d.ts +16 -0
  67. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +19 -0
  68. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +9 -0
  69. package/dist/interfaces/TemplateCategoryInput.d.ts +17 -0
  70. package/dist/interfaces/TemplateCategoryOrderBy.d.ts +9 -0
  71. package/dist/interfaces/Theme.d.ts +14 -5
  72. package/dist/interfaces/ThemeBoolExp.d.ts +12 -4
  73. package/dist/interfaces/ThemeCategory.d.ts +14 -0
  74. package/dist/interfaces/ThemeCategoryBoolExp.d.ts +17 -0
  75. package/dist/interfaces/ThemeCategoryDistinctExp.d.ts +9 -0
  76. package/dist/interfaces/ThemeCategoryInput.d.ts +14 -0
  77. package/dist/interfaces/ThemeCategoryOrderBy.d.ts +9 -0
  78. package/dist/interfaces/ThemeDistinctExp.d.ts +5 -6
  79. package/dist/interfaces/ThemeInput.d.ts +12 -5
  80. package/dist/interfaces/ThemeOrderBy.d.ts +4 -5
  81. package/dist/interfaces/index.d.ts +20 -6
  82. package/package.json +4 -4
  83. package/dist/classes/ProductRelatedPivotQueryOptions.d.ts +0 -12
  84. package/dist/entries/productRelatedPivotEntry.d.ts +0 -2
  85. package/dist/fields/ProductRelatedPivotFields.d.ts +0 -8
  86. package/dist/interfaces/ComponentType.d.ts +0 -58
  87. package/dist/interfaces/ProductRelatedPivot.d.ts +0 -9
  88. package/dist/interfaces/ProductRelatedPivotBoolExp.d.ts +0 -12
  89. package/dist/interfaces/ProductRelatedPivotDistinctExp.d.ts +0 -5
  90. package/dist/interfaces/ProductRelatedPivotInput.d.ts +0 -11
  91. package/dist/interfaces/ProductRelatedPivotOrderBy.d.ts +0 -5
package/dist/index.mjs CHANGED
@@ -66,14 +66,14 @@ const aggregateEntities = {
66
66
  Product: {
67
67
  tagsAggregate: "Tag",
68
68
  mediaPivotsAggregate: "MediaOnProduct",
69
- attachmentPivotsAggregate: "AttachmentOnProduct",
70
- relatedPivotAggregate: "ProductRelatedPivot",
71
- relatedByPivotAggregate: "ProductRelatedPivot"
69
+ attachmentPivotsAggregate: "AttachmentOnProduct"
72
70
  },
73
71
  Theme: {
74
72
  componentsAggregate: "FrontComponent",
75
73
  componentCategoriesAggregate: "ComponentCategory",
76
- pagesAggregate: "Page"
74
+ pagesAggregate: "Page",
75
+ templatesAggregate: "SectionTemplate",
76
+ templateCategoriesAggregate: "TemplateCategory"
77
77
  },
78
78
  MediaFolder: {
79
79
  childrenAggregate: "MediaFolder",
@@ -99,6 +99,12 @@ const aggregateEntities = {
99
99
  },
100
100
  ThemeInMarket: {
101
101
  versionsAggregate: "ThemeVersion"
102
+ },
103
+ ThemeCategory: {
104
+ themesAggregate: "Theme"
105
+ },
106
+ TemplateCategory: {
107
+ templatesAggregate: "SectionTemplate"
102
108
  }
103
109
  };
104
110
  class QueryOptions {
@@ -395,6 +401,49 @@ const themeConfigToInput = (entity) => {
395
401
  theme: convertHasOneToInput(entity.theme)
396
402
  };
397
403
  };
404
+ const templateCategoryToInputCascade = (entity) => {
405
+ var _a;
406
+ const { templatesAggregate, ...rest } = entity;
407
+ return {
408
+ ...rest,
409
+ templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => sectionTemplateToInput(ent)) }) : void 0,
410
+ theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
411
+ };
412
+ };
413
+ const templateCategoryToInput = (entity) => {
414
+ const { templatesAggregate, ...rest } = entity;
415
+ return {
416
+ ...rest,
417
+ templates: convertHasManyToInput(entity.templates),
418
+ theme: convertHasOneToInput(entity.theme)
419
+ };
420
+ };
421
+ const sectionTemplateToInputCascade = (entity) => {
422
+ return {
423
+ ...entity,
424
+ category: entity.category ? processHasOneClear({ sync: templateCategoryToInput(entity.category) }) : void 0,
425
+ theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
426
+ };
427
+ };
428
+ const sectionTemplateToInput = (entity) => {
429
+ return {
430
+ ...entity,
431
+ category: convertHasOneToInput(entity.category),
432
+ theme: convertHasOneToInput(entity.theme)
433
+ };
434
+ };
435
+ const styleConfigToInputCascade = (entity) => {
436
+ return {
437
+ ...entity,
438
+ theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
439
+ };
440
+ };
441
+ const styleConfigToInput = (entity) => {
442
+ return {
443
+ ...entity,
444
+ theme: convertHasOneToInput(entity.theme)
445
+ };
446
+ };
398
447
  const themeInMarketToInputCascade = (entity) => {
399
448
  var _a;
400
449
  const { versionsAggregate, ...rest } = entity;
@@ -424,9 +473,24 @@ const themeVersionToInput = (entity) => {
424
473
  themeInMarket: convertHasOneToInput(entity.themeInMarket)
425
474
  };
426
475
  };
476
+ const themeCategoryToInputCascade = (entity) => {
477
+ var _a;
478
+ const { themesAggregate, ...rest } = entity;
479
+ return {
480
+ ...rest,
481
+ themes: entity.themes ? processHasManyClear({ sync: (_a = entity.themes) == null ? void 0 : _a.map((ent) => themeToInput(ent)) }) : void 0
482
+ };
483
+ };
484
+ const themeCategoryToInput = (entity) => {
485
+ const { themesAggregate, ...rest } = entity;
486
+ return {
487
+ ...rest,
488
+ themes: convertHasManyToInput(entity.themes)
489
+ };
490
+ };
427
491
  const themeToInputCascade = (entity) => {
428
- var _a, _b, _c;
429
- const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, ...rest } = entity;
492
+ var _a, _b, _c, _d, _e;
493
+ const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, templatesAggregate, templateCategoriesAggregate, ...rest } = entity;
430
494
  return {
431
495
  ...rest,
432
496
  cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
@@ -435,12 +499,16 @@ const themeToInputCascade = (entity) => {
435
499
  pages: entity.pages ? processHasManyClear({ sync: (_c = entity.pages) == null ? void 0 : _c.map((ent) => pageToInput(ent)) }) : void 0,
436
500
  lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
437
501
  config: entity.config ? processHasOneClear({ sync: themeConfigToInput(entity.config) }) : void 0,
502
+ templates: entity.templates ? processHasManyClear({ sync: (_d = entity.templates) == null ? void 0 : _d.map((ent) => sectionTemplateToInput(ent)) }) : void 0,
503
+ templateCategories: entity.templateCategories ? processHasManyClear({ sync: (_e = entity.templateCategories) == null ? void 0 : _e.map((ent) => templateCategoryToInput(ent)) }) : void 0,
504
+ styleConfig: entity.styleConfig ? processHasOneClear({ sync: styleConfigToInput(entity.styleConfig) }) : void 0,
438
505
  marketVersion: entity.marketVersion ? processHasOneClear({ sync: themeVersionToInput(entity.marketVersion) }) : void 0,
439
- website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
506
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
507
+ category: entity.category ? processHasOneClear({ sync: themeCategoryToInput(entity.category) }) : void 0
440
508
  };
441
509
  };
442
510
  const themeToInput = (entity) => {
443
- const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, ...rest } = entity;
511
+ const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, templatesAggregate, templateCategoriesAggregate, ...rest } = entity;
444
512
  return {
445
513
  ...rest,
446
514
  cover: convertHasOneToInput(entity.cover),
@@ -449,8 +517,12 @@ const themeToInput = (entity) => {
449
517
  pages: convertHasManyToInput(entity.pages),
450
518
  lang: convertHasOneToInput(entity.lang),
451
519
  config: convertHasOneToInput(entity.config),
520
+ templates: convertHasManyToInput(entity.templates),
521
+ templateCategories: convertHasManyToInput(entity.templateCategories),
522
+ styleConfig: convertHasOneToInput(entity.styleConfig),
452
523
  marketVersion: convertHasOneToInput(entity.marketVersion),
453
- website: convertHasOneToInput(entity.website)
524
+ website: convertHasOneToInput(entity.website),
525
+ category: convertHasOneToInput(entity.category)
454
526
  };
455
527
  };
456
528
  const pageToInputCascade = (entity) => {
@@ -518,11 +590,9 @@ const postToInputCascade = (entity) => {
518
590
  tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
519
591
  author: entity.author ? processHasOneClear({ sync: userToInput(entity.author) }) : void 0,
520
592
  cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
521
- draftOf: entity.draftOf ? processHasOneClear({ sync: postToInput(entity.draftOf) }) : void 0,
522
593
  lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
523
594
  meta: entity.meta ? processHasOneClear({ sync: pageMetaToInput(entity.meta) }) : void 0,
524
595
  category: entity.category ? processHasOneClear({ sync: postCategoryToInput(entity.category) }) : void 0,
525
- draft: entity.draft ? processHasOneClear({ sync: postToInput(entity.draft) }) : void 0,
526
596
  website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
527
597
  };
528
598
  };
@@ -533,11 +603,9 @@ const postToInput = (entity) => {
533
603
  tags: convertHasManyToInput(entity.tags),
534
604
  author: convertHasOneToInput(entity.author),
535
605
  cover: convertHasOneToInput(entity.cover),
536
- draftOf: convertHasOneToInput(entity.draftOf),
537
606
  lang: convertHasOneToInput(entity.lang),
538
607
  meta: convertHasOneToInput(entity.meta),
539
608
  category: convertHasOneToInput(entity.category),
540
- draft: convertHasOneToInput(entity.draft),
541
609
  website: convertHasOneToInput(entity.website)
542
610
  };
543
611
  };
@@ -590,55 +658,33 @@ const attachmentOnProductToInput = (entity) => {
590
658
  product: convertHasOneToInput(entity.product)
591
659
  };
592
660
  };
593
- const productRelatedPivotToInputCascade = (entity) => {
594
- return {
595
- ...entity,
596
- target: entity.target ? processHasOneClear({ sync: productToInput(entity.target) }) : void 0,
597
- source: entity.source ? processHasOneClear({ sync: productToInput(entity.source) }) : void 0
598
- };
599
- };
600
- const productRelatedPivotToInput = (entity) => {
601
- return {
602
- ...entity,
603
- target: convertHasOneToInput(entity.target),
604
- source: convertHasOneToInput(entity.source)
605
- };
606
- };
607
661
  const productToInputCascade = (entity) => {
608
- var _a, _b, _c, _d, _e;
609
- const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, relatedPivotAggregate, relatedByPivotAggregate, ...rest } = entity;
662
+ var _a, _b, _c;
663
+ const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, ...rest } = entity;
610
664
  return {
611
665
  ...rest,
612
666
  category: entity.category ? processHasOneClear({ sync: productCategoryToInput(entity.category) }) : void 0,
613
667
  tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
614
- draftOf: entity.draftOf ? processHasOneClear({ sync: productToInput(entity.draftOf) }) : void 0,
615
668
  mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) => mediaOnProductToInput(ent)) }) : void 0,
616
669
  attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) => attachmentOnProductToInput(ent)) }) : void 0,
617
670
  lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
618
- relatedPivot: entity.relatedPivot ? processHasManyClear({ sync: (_d = entity.relatedPivot) == null ? void 0 : _d.map((ent) => productRelatedPivotToInput(ent)) }) : void 0,
619
671
  meta: entity.meta ? processHasOneClear({ sync: pageMetaToInput(entity.meta) }) : void 0,
620
672
  creator: entity.creator ? processHasOneClear({ sync: userToInput(entity.creator) }) : void 0,
621
- draft: entity.draft ? processHasOneClear({ sync: productToInput(entity.draft) }) : void 0,
622
- website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
623
- relatedByPivot: entity.relatedByPivot ? processHasManyClear({ sync: (_e = entity.relatedByPivot) == null ? void 0 : _e.map((ent) => productRelatedPivotToInput(ent)) }) : void 0
673
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
624
674
  };
625
675
  };
626
676
  const productToInput = (entity) => {
627
- const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, relatedPivotAggregate, relatedByPivotAggregate, ...rest } = entity;
677
+ const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, ...rest } = entity;
628
678
  return {
629
679
  ...rest,
630
680
  category: convertHasOneToInput(entity.category),
631
681
  tags: convertHasManyToInput(entity.tags),
632
- draftOf: convertHasOneToInput(entity.draftOf),
633
682
  mediaPivots: convertHasManyToInput(entity.mediaPivots),
634
683
  attachmentPivots: convertHasManyToInput(entity.attachmentPivots),
635
684
  lang: convertHasOneToInput(entity.lang),
636
- relatedPivot: convertHasManyToInput(entity.relatedPivot),
637
685
  meta: convertHasOneToInput(entity.meta),
638
686
  creator: convertHasOneToInput(entity.creator),
639
- draft: convertHasOneToInput(entity.draft),
640
- website: convertHasOneToInput(entity.website),
641
- relatedByPivot: convertHasManyToInput(entity.relatedByPivot)
687
+ website: convertHasOneToInput(entity.website)
642
688
  };
643
689
  };
644
690
  const spamFilterRuleToInputCascade = (entity) => {
@@ -885,6 +931,7 @@ const RoleEntityLabel = "";
885
931
  var RoleDistinctEnum = /* @__PURE__ */ ((RoleDistinctEnum2) => {
886
932
  RoleDistinctEnum2["id"] = "id";
887
933
  RoleDistinctEnum2["name"] = "name";
934
+ RoleDistinctEnum2["title"] = "title";
888
935
  RoleDistinctEnum2["description"] = "description";
889
936
  RoleDistinctEnum2["createdAt"] = "createdAt";
890
937
  RoleDistinctEnum2["updatedAt"] = "updatedAt";
@@ -917,6 +964,7 @@ var AbilityType = /* @__PURE__ */ ((AbilityType2) => {
917
964
  AbilityType2["read"] = "read";
918
965
  AbilityType2["update"] = "update";
919
966
  AbilityType2["delete"] = "delete";
967
+ AbilityType2["expand"] = "expand";
920
968
  return AbilityType2;
921
969
  })(AbilityType || {});
922
970
  const MediaEntityName = "Media";
@@ -1067,6 +1115,7 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
1067
1115
  ProductDistinctEnum2["content3"] = "content3";
1068
1116
  ProductDistinctEnum2["shortTitle"] = "shortTitle";
1069
1117
  ProductDistinctEnum2["externalVideoUrl"] = "externalVideoUrl";
1118
+ ProductDistinctEnum2["relatedSlugs"] = "relatedSlugs";
1070
1119
  ProductDistinctEnum2["publishedAt"] = "publishedAt";
1071
1120
  ProductDistinctEnum2["status"] = "status";
1072
1121
  ProductDistinctEnum2["title"] = "title";
@@ -1123,15 +1172,14 @@ const ThemeEntityLabel = "";
1123
1172
  var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
1124
1173
  ThemeDistinctEnum2["id"] = "id";
1125
1174
  ThemeDistinctEnum2["name"] = "name";
1126
- ThemeDistinctEnum2["styles"] = "styles";
1127
1175
  ThemeDistinctEnum2["settings"] = "settings";
1128
1176
  ThemeDistinctEnum2["description"] = "description";
1129
- ThemeDistinctEnum2["tailwindConfig"] = "tailwindConfig";
1130
- ThemeDistinctEnum2["css"] = "css";
1131
1177
  ThemeDistinctEnum2["isInMarket"] = "isInMarket";
1132
- ThemeDistinctEnum2["themeVersionId"] = "themeVersionId";
1178
+ ThemeDistinctEnum2["parentThemeId"] = "parentThemeId";
1133
1179
  ThemeDistinctEnum2["createdAt"] = "createdAt";
1134
1180
  ThemeDistinctEnum2["updatedAt"] = "updatedAt";
1181
+ ThemeDistinctEnum2["status"] = "status";
1182
+ ThemeDistinctEnum2["seqValue"] = "seqValue";
1135
1183
  return ThemeDistinctEnum2;
1136
1184
  })(ThemeDistinctEnum || {});
1137
1185
  const MediaFolderEntityName = "MediaFolder";
@@ -1283,6 +1331,8 @@ var PageType = /* @__PURE__ */ ((PageType2) => {
1283
1331
  PageType2["Page404"] = "Page404";
1284
1332
  PageType2["PageError"] = "PageError";
1285
1333
  PageType2["Thanks"] = "Thanks";
1334
+ PageType2["PostList"] = "PostList";
1335
+ PageType2["ProductList"] = "ProductList";
1286
1336
  return PageType2;
1287
1337
  })(PageType || {});
1288
1338
  const ProductCategoryEntityName = "ProductCategory";
@@ -1306,23 +1356,6 @@ var ExtendFieldType = /* @__PURE__ */ ((ExtendFieldType2) => {
1306
1356
  ExtendFieldType2["Date"] = "Date";
1307
1357
  return ExtendFieldType2;
1308
1358
  })(ExtendFieldType || {});
1309
- var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
1310
- ComponentType2["Input"] = "Input";
1311
- ComponentType2["Textarea"] = "Textarea";
1312
- ComponentType2["Select"] = "Select";
1313
- ComponentType2["Checkbox"] = "Checkbox";
1314
- ComponentType2["Radio"] = "Radio";
1315
- ComponentType2["DatePicker"] = "DatePicker";
1316
- ComponentType2["Switch"] = "Switch";
1317
- ComponentType2["RichText"] = "RichText";
1318
- ComponentType2["ImageSelect"] = "ImageSelect";
1319
- ComponentType2["ProductSelect"] = "ProductSelect";
1320
- ComponentType2["VideoSelect"] = "VideoSelect";
1321
- ComponentType2["NumberInput"] = "NumberInput";
1322
- ComponentType2["ColorPicker"] = "ColorPicker";
1323
- ComponentType2["LinkTarget"] = "LinkTarget";
1324
- return ComponentType2;
1325
- })(ComponentType || {});
1326
1359
  const SpamFilterRuleEntityName = "SpamFilterRule";
1327
1360
  const SpamFilterRuleEntityLabel = "垃圾过滤规则";
1328
1361
  var SpamFilterRuleDistinctEnum = /* @__PURE__ */ ((SpamFilterRuleDistinctEnum2) => {
@@ -1356,13 +1389,6 @@ var SlugableDistinctEnum = /* @__PURE__ */ ((SlugableDistinctEnum2) => {
1356
1389
  SlugableDistinctEnum2["description"] = "description";
1357
1390
  return SlugableDistinctEnum2;
1358
1391
  })(SlugableDistinctEnum || {});
1359
- const ProductRelatedPivotEntityName = "ProductRelatedPivot";
1360
- const ProductRelatedPivotEntityLabel = "";
1361
- var ProductRelatedPivotDistinctEnum = /* @__PURE__ */ ((ProductRelatedPivotDistinctEnum2) => {
1362
- ProductRelatedPivotDistinctEnum2["id"] = "id";
1363
- ProductRelatedPivotDistinctEnum2["seqValue"] = "seqValue";
1364
- return ProductRelatedPivotDistinctEnum2;
1365
- })(ProductRelatedPivotDistinctEnum || {});
1366
1392
  const FrontComponentEntityName = "FrontComponent";
1367
1393
  const FrontComponentEntityLabel = "";
1368
1394
  var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2) => {
@@ -1378,6 +1404,7 @@ var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2)
1378
1404
  FrontComponentDistinctEnum2["droppable"] = "droppable";
1379
1405
  FrontComponentDistinctEnum2["isInMarket"] = "isInMarket";
1380
1406
  FrontComponentDistinctEnum2["code"] = "code";
1407
+ FrontComponentDistinctEnum2["description"] = "description";
1381
1408
  return FrontComponentDistinctEnum2;
1382
1409
  })(FrontComponentDistinctEnum || {});
1383
1410
  const ComponentCategoryEntityName = "ComponentCategory";
@@ -1388,6 +1415,7 @@ var ComponentCategoryDistinctEnum = /* @__PURE__ */ ((ComponentCategoryDistinctE
1388
1415
  ComponentCategoryDistinctEnum2["seqValue"] = "seqValue";
1389
1416
  ComponentCategoryDistinctEnum2["updatedAt"] = "updatedAt";
1390
1417
  ComponentCategoryDistinctEnum2["createdAt"] = "createdAt";
1418
+ ComponentCategoryDistinctEnum2["isInMarket"] = "isInMarket";
1391
1419
  return ComponentCategoryDistinctEnum2;
1392
1420
  })(ComponentCategoryDistinctEnum || {});
1393
1421
  var MarketableDistinctEnum = /* @__PURE__ */ ((MarketableDistinctEnum2) => {
@@ -1467,6 +1495,54 @@ var PageMetaDistinctEnum = /* @__PURE__ */ ((PageMetaDistinctEnum2) => {
1467
1495
  PageMetaDistinctEnum2["xUrl"] = "xUrl";
1468
1496
  return PageMetaDistinctEnum2;
1469
1497
  })(PageMetaDistinctEnum || {});
1498
+ const SectionTemplateEntityName = "SectionTemplate";
1499
+ const SectionTemplateEntityLabel = "";
1500
+ var SectionTemplateDistinctEnum = /* @__PURE__ */ ((SectionTemplateDistinctEnum2) => {
1501
+ SectionTemplateDistinctEnum2["id"] = "id";
1502
+ SectionTemplateDistinctEnum2["title"] = "title";
1503
+ SectionTemplateDistinctEnum2["code"] = "code";
1504
+ SectionTemplateDistinctEnum2["description"] = "description";
1505
+ SectionTemplateDistinctEnum2["seqValue"] = "seqValue";
1506
+ SectionTemplateDistinctEnum2["createdAt"] = "createdAt";
1507
+ SectionTemplateDistinctEnum2["updatedAt"] = "updatedAt";
1508
+ return SectionTemplateDistinctEnum2;
1509
+ })(SectionTemplateDistinctEnum || {});
1510
+ const ThemeCategoryEntityName = "ThemeCategory";
1511
+ const ThemeCategoryEntityLabel = "";
1512
+ var ThemeCategoryDistinctEnum = /* @__PURE__ */ ((ThemeCategoryDistinctEnum2) => {
1513
+ ThemeCategoryDistinctEnum2["id"] = "id";
1514
+ ThemeCategoryDistinctEnum2["name"] = "name";
1515
+ ThemeCategoryDistinctEnum2["description"] = "description";
1516
+ ThemeCategoryDistinctEnum2["seqValue"] = "seqValue";
1517
+ ThemeCategoryDistinctEnum2["createdAt"] = "createdAt";
1518
+ ThemeCategoryDistinctEnum2["updatedAt"] = "updatedAt";
1519
+ return ThemeCategoryDistinctEnum2;
1520
+ })(ThemeCategoryDistinctEnum || {});
1521
+ const TemplateCategoryEntityName = "TemplateCategory";
1522
+ const TemplateCategoryEntityLabel = "";
1523
+ var TemplateCategoryDistinctEnum = /* @__PURE__ */ ((TemplateCategoryDistinctEnum2) => {
1524
+ TemplateCategoryDistinctEnum2["id"] = "id";
1525
+ TemplateCategoryDistinctEnum2["name"] = "name";
1526
+ TemplateCategoryDistinctEnum2["description"] = "description";
1527
+ TemplateCategoryDistinctEnum2["seqValue"] = "seqValue";
1528
+ TemplateCategoryDistinctEnum2["createdAt"] = "createdAt";
1529
+ TemplateCategoryDistinctEnum2["updatedAt"] = "updatedAt";
1530
+ return TemplateCategoryDistinctEnum2;
1531
+ })(TemplateCategoryDistinctEnum || {});
1532
+ const StyleConfigEntityName = "StyleConfig";
1533
+ const StyleConfigEntityLabel = "";
1534
+ var StyleConfigDistinctEnum = /* @__PURE__ */ ((StyleConfigDistinctEnum2) => {
1535
+ StyleConfigDistinctEnum2["id"] = "id";
1536
+ StyleConfigDistinctEnum2["name"] = "name";
1537
+ StyleConfigDistinctEnum2["description"] = "description";
1538
+ StyleConfigDistinctEnum2["tailwindConfig"] = "tailwindConfig";
1539
+ StyleConfigDistinctEnum2["css"] = "css";
1540
+ StyleConfigDistinctEnum2["cssVariants"] = "cssVariants";
1541
+ StyleConfigDistinctEnum2["isInMarket"] = "isInMarket";
1542
+ StyleConfigDistinctEnum2["createdAt"] = "createdAt";
1543
+ StyleConfigDistinctEnum2["updatedAt"] = "updatedAt";
1544
+ return StyleConfigDistinctEnum2;
1545
+ })(StyleConfigDistinctEnum || {});
1470
1546
  class RoleQueryOptions extends QueryOptions {
1471
1547
  constructor(fields, queryArgs) {
1472
1548
  super(RoleEntityName, fields, queryArgs);
@@ -1479,6 +1555,10 @@ class RoleQueryOptions extends QueryOptions {
1479
1555
  this.addField("name");
1480
1556
  return this;
1481
1557
  }
1558
+ title() {
1559
+ this.addField("title");
1560
+ return this;
1561
+ }
1482
1562
  description() {
1483
1563
  this.addField("description");
1484
1564
  return this;
@@ -1891,6 +1971,10 @@ class ComponentCategoryQueryOptions extends QueryOptions {
1891
1971
  this.addField("createdAt");
1892
1972
  return this;
1893
1973
  }
1974
+ isInMarket() {
1975
+ this.addField("isInMarket");
1976
+ return this;
1977
+ }
1894
1978
  components(options) {
1895
1979
  if (Array.isArray(options)) {
1896
1980
  this._associations["components"] = new FrontComponentQueryOptions(options);
@@ -1964,6 +2048,10 @@ class FrontComponentQueryOptions extends QueryOptions {
1964
2048
  this.addField("code");
1965
2049
  return this;
1966
2050
  }
2051
+ description() {
2052
+ this.addField("description");
2053
+ return this;
2054
+ }
1967
2055
  category(options) {
1968
2056
  if (Array.isArray(options)) {
1969
2057
  this._associations["category"] = new ComponentCategoryQueryOptions(options);
@@ -2042,6 +2130,153 @@ class ThemeConfigQueryOptions extends QueryOptions {
2042
2130
  return this;
2043
2131
  }
2044
2132
  }
2133
+ class TemplateCategoryQueryOptions extends QueryOptions {
2134
+ constructor(fields, queryArgs) {
2135
+ super(TemplateCategoryEntityName, fields, queryArgs);
2136
+ }
2137
+ id() {
2138
+ this.addField("id");
2139
+ return this;
2140
+ }
2141
+ name() {
2142
+ this.addField("name");
2143
+ return this;
2144
+ }
2145
+ description() {
2146
+ this.addField("description");
2147
+ return this;
2148
+ }
2149
+ seqValue() {
2150
+ this.addField("seqValue");
2151
+ return this;
2152
+ }
2153
+ createdAt() {
2154
+ this.addField("createdAt");
2155
+ return this;
2156
+ }
2157
+ updatedAt() {
2158
+ this.addField("updatedAt");
2159
+ return this;
2160
+ }
2161
+ templates(options) {
2162
+ if (Array.isArray(options)) {
2163
+ this._associations["templates"] = new SectionTemplateQueryOptions(options);
2164
+ } else {
2165
+ this._associations["templates"] = options || new SectionTemplateQueryOptions(["id"]);
2166
+ }
2167
+ return this;
2168
+ }
2169
+ templatesAggregate(aggregate) {
2170
+ this._aggregates["templatesAggregate"] = aggregate;
2171
+ return this;
2172
+ }
2173
+ theme(options) {
2174
+ if (Array.isArray(options)) {
2175
+ this._associations["theme"] = new ThemeQueryOptions(options);
2176
+ } else {
2177
+ this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
2178
+ }
2179
+ return this;
2180
+ }
2181
+ }
2182
+ class SectionTemplateQueryOptions extends QueryOptions {
2183
+ constructor(fields, queryArgs) {
2184
+ super(SectionTemplateEntityName, fields, queryArgs);
2185
+ }
2186
+ id() {
2187
+ this.addField("id");
2188
+ return this;
2189
+ }
2190
+ title() {
2191
+ this.addField("title");
2192
+ return this;
2193
+ }
2194
+ code() {
2195
+ this.addField("code");
2196
+ return this;
2197
+ }
2198
+ description() {
2199
+ this.addField("description");
2200
+ return this;
2201
+ }
2202
+ seqValue() {
2203
+ this.addField("seqValue");
2204
+ return this;
2205
+ }
2206
+ createdAt() {
2207
+ this.addField("createdAt");
2208
+ return this;
2209
+ }
2210
+ updatedAt() {
2211
+ this.addField("updatedAt");
2212
+ return this;
2213
+ }
2214
+ category(options) {
2215
+ if (Array.isArray(options)) {
2216
+ this._associations["category"] = new TemplateCategoryQueryOptions(options);
2217
+ } else {
2218
+ this._associations["category"] = options || new TemplateCategoryQueryOptions(["id"]);
2219
+ }
2220
+ return this;
2221
+ }
2222
+ theme(options) {
2223
+ if (Array.isArray(options)) {
2224
+ this._associations["theme"] = new ThemeQueryOptions(options);
2225
+ } else {
2226
+ this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
2227
+ }
2228
+ return this;
2229
+ }
2230
+ }
2231
+ class StyleConfigQueryOptions extends QueryOptions {
2232
+ constructor(fields, queryArgs) {
2233
+ super(StyleConfigEntityName, fields, queryArgs);
2234
+ }
2235
+ id() {
2236
+ this.addField("id");
2237
+ return this;
2238
+ }
2239
+ name() {
2240
+ this.addField("name");
2241
+ return this;
2242
+ }
2243
+ description() {
2244
+ this.addField("description");
2245
+ return this;
2246
+ }
2247
+ tailwindConfig() {
2248
+ this.addField("tailwindConfig");
2249
+ return this;
2250
+ }
2251
+ css() {
2252
+ this.addField("css");
2253
+ return this;
2254
+ }
2255
+ cssVariants() {
2256
+ this.addField("cssVariants");
2257
+ return this;
2258
+ }
2259
+ isInMarket() {
2260
+ this.addField("isInMarket");
2261
+ return this;
2262
+ }
2263
+ createdAt() {
2264
+ this.addField("createdAt");
2265
+ return this;
2266
+ }
2267
+ updatedAt() {
2268
+ this.addField("updatedAt");
2269
+ return this;
2270
+ }
2271
+ theme(options) {
2272
+ if (Array.isArray(options)) {
2273
+ this._associations["theme"] = new ThemeQueryOptions(options);
2274
+ } else {
2275
+ this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
2276
+ }
2277
+ return this;
2278
+ }
2279
+ }
2045
2280
  class ThemeInMarketQueryOptions extends QueryOptions {
2046
2281
  constructor(fields, queryArgs) {
2047
2282
  super(ThemeInMarketEntityName, fields, queryArgs);
@@ -2112,9 +2347,9 @@ class ThemeVersionQueryOptions extends QueryOptions {
2112
2347
  return this;
2113
2348
  }
2114
2349
  }
2115
- class ThemeQueryOptions extends QueryOptions {
2350
+ class ThemeCategoryQueryOptions extends QueryOptions {
2116
2351
  constructor(fields, queryArgs) {
2117
- super(ThemeEntityName, fields, queryArgs);
2352
+ super(ThemeCategoryEntityName, fields, queryArgs);
2118
2353
  }
2119
2354
  id() {
2120
2355
  this.addField("id");
@@ -2124,24 +2359,53 @@ class ThemeQueryOptions extends QueryOptions {
2124
2359
  this.addField("name");
2125
2360
  return this;
2126
2361
  }
2127
- styles() {
2128
- this.addField("styles");
2362
+ description() {
2363
+ this.addField("description");
2129
2364
  return this;
2130
2365
  }
2131
- settings() {
2132
- this.addField("settings");
2366
+ seqValue() {
2367
+ this.addField("seqValue");
2133
2368
  return this;
2134
2369
  }
2135
- description() {
2136
- this.addField("description");
2370
+ createdAt() {
2371
+ this.addField("createdAt");
2137
2372
  return this;
2138
2373
  }
2139
- tailwindConfig() {
2140
- this.addField("tailwindConfig");
2374
+ updatedAt() {
2375
+ this.addField("updatedAt");
2141
2376
  return this;
2142
2377
  }
2143
- css() {
2144
- this.addField("css");
2378
+ themes(options) {
2379
+ if (Array.isArray(options)) {
2380
+ this._associations["themes"] = new ThemeQueryOptions(options);
2381
+ } else {
2382
+ this._associations["themes"] = options || new ThemeQueryOptions(["id"]);
2383
+ }
2384
+ return this;
2385
+ }
2386
+ themesAggregate(aggregate) {
2387
+ this._aggregates["themesAggregate"] = aggregate;
2388
+ return this;
2389
+ }
2390
+ }
2391
+ class ThemeQueryOptions extends QueryOptions {
2392
+ constructor(fields, queryArgs) {
2393
+ super(ThemeEntityName, fields, queryArgs);
2394
+ }
2395
+ id() {
2396
+ this.addField("id");
2397
+ return this;
2398
+ }
2399
+ name() {
2400
+ this.addField("name");
2401
+ return this;
2402
+ }
2403
+ settings() {
2404
+ this.addField("settings");
2405
+ return this;
2406
+ }
2407
+ description() {
2408
+ this.addField("description");
2145
2409
  return this;
2146
2410
  }
2147
2411
  /**
@@ -2152,10 +2416,10 @@ class ThemeQueryOptions extends QueryOptions {
2152
2416
  return this;
2153
2417
  }
2154
2418
  /**
2155
- * 对应市场主题ID
2419
+ * 对应市场母主题ID
2156
2420
  */
2157
- themeVersionId() {
2158
- this.addField("themeVersionId");
2421
+ parentThemeId() {
2422
+ this.addField("parentThemeId");
2159
2423
  return this;
2160
2424
  }
2161
2425
  createdAt() {
@@ -2166,6 +2430,14 @@ class ThemeQueryOptions extends QueryOptions {
2166
2430
  this.addField("updatedAt");
2167
2431
  return this;
2168
2432
  }
2433
+ status() {
2434
+ this.addField("status");
2435
+ return this;
2436
+ }
2437
+ seqValue() {
2438
+ this.addField("seqValue");
2439
+ return this;
2440
+ }
2169
2441
  cover(options) {
2170
2442
  if (Array.isArray(options)) {
2171
2443
  this._associations["cover"] = new MediaQueryOptions(options);
@@ -2226,6 +2498,38 @@ class ThemeQueryOptions extends QueryOptions {
2226
2498
  }
2227
2499
  return this;
2228
2500
  }
2501
+ templates(options) {
2502
+ if (Array.isArray(options)) {
2503
+ this._associations["templates"] = new SectionTemplateQueryOptions(options);
2504
+ } else {
2505
+ this._associations["templates"] = options || new SectionTemplateQueryOptions(["id"]);
2506
+ }
2507
+ return this;
2508
+ }
2509
+ templatesAggregate(aggregate) {
2510
+ this._aggregates["templatesAggregate"] = aggregate;
2511
+ return this;
2512
+ }
2513
+ templateCategories(options) {
2514
+ if (Array.isArray(options)) {
2515
+ this._associations["templateCategories"] = new TemplateCategoryQueryOptions(options);
2516
+ } else {
2517
+ this._associations["templateCategories"] = options || new TemplateCategoryQueryOptions(["id"]);
2518
+ }
2519
+ return this;
2520
+ }
2521
+ templateCategoriesAggregate(aggregate) {
2522
+ this._aggregates["templateCategoriesAggregate"] = aggregate;
2523
+ return this;
2524
+ }
2525
+ styleConfig(options) {
2526
+ if (Array.isArray(options)) {
2527
+ this._associations["styleConfig"] = new StyleConfigQueryOptions(options);
2528
+ } else {
2529
+ this._associations["styleConfig"] = options || new StyleConfigQueryOptions(["id"]);
2530
+ }
2531
+ return this;
2532
+ }
2229
2533
  marketVersion(options) {
2230
2534
  if (Array.isArray(options)) {
2231
2535
  this._associations["marketVersion"] = new ThemeVersionQueryOptions(options);
@@ -2242,6 +2546,14 @@ class ThemeQueryOptions extends QueryOptions {
2242
2546
  }
2243
2547
  return this;
2244
2548
  }
2549
+ category(options) {
2550
+ if (Array.isArray(options)) {
2551
+ this._associations["category"] = new ThemeCategoryQueryOptions(options);
2552
+ } else {
2553
+ this._associations["category"] = options || new ThemeCategoryQueryOptions(["id"]);
2554
+ }
2555
+ return this;
2556
+ }
2245
2557
  }
2246
2558
  class PageQueryOptions extends QueryOptions {
2247
2559
  constructor(fields, queryArgs) {
@@ -2588,14 +2900,6 @@ class PostQueryOptions extends QueryOptions {
2588
2900
  }
2589
2901
  return this;
2590
2902
  }
2591
- draftOf(options) {
2592
- if (Array.isArray(options)) {
2593
- this._associations["draftOf"] = new PostQueryOptions(options);
2594
- } else {
2595
- this._associations["draftOf"] = options || new PostQueryOptions(["id"]);
2596
- }
2597
- return this;
2598
- }
2599
2903
  lang(options) {
2600
2904
  if (Array.isArray(options)) {
2601
2905
  this._associations["lang"] = new LangQueryOptions(options);
@@ -2620,14 +2924,6 @@ class PostQueryOptions extends QueryOptions {
2620
2924
  }
2621
2925
  return this;
2622
2926
  }
2623
- draft(options) {
2624
- if (Array.isArray(options)) {
2625
- this._associations["draft"] = new PostQueryOptions(options);
2626
- } else {
2627
- this._associations["draft"] = options || new PostQueryOptions(["id"]);
2628
- }
2629
- return this;
2630
- }
2631
2927
  website(options) {
2632
2928
  if (Array.isArray(options)) {
2633
2929
  this._associations["website"] = new WebsiteQueryOptions(options);
@@ -2771,35 +3067,6 @@ class AttachmentOnProductQueryOptions extends QueryOptions {
2771
3067
  return this;
2772
3068
  }
2773
3069
  }
2774
- class ProductRelatedPivotQueryOptions extends QueryOptions {
2775
- constructor(fields, queryArgs) {
2776
- super(ProductRelatedPivotEntityName, fields, queryArgs);
2777
- }
2778
- id() {
2779
- this.addField("id");
2780
- return this;
2781
- }
2782
- seqValue() {
2783
- this.addField("seqValue");
2784
- return this;
2785
- }
2786
- target(options) {
2787
- if (Array.isArray(options)) {
2788
- this._associations["target"] = new ProductQueryOptions(options);
2789
- } else {
2790
- this._associations["target"] = options || new ProductQueryOptions(["id"]);
2791
- }
2792
- return this;
2793
- }
2794
- source(options) {
2795
- if (Array.isArray(options)) {
2796
- this._associations["source"] = new ProductQueryOptions(options);
2797
- } else {
2798
- this._associations["source"] = options || new ProductQueryOptions(["id"]);
2799
- }
2800
- return this;
2801
- }
2802
- }
2803
3070
  class ProductQueryOptions extends QueryOptions {
2804
3071
  constructor(fields, queryArgs) {
2805
3072
  super(ProductEntityName, fields, queryArgs);
@@ -2850,6 +3117,10 @@ class ProductQueryOptions extends QueryOptions {
2850
3117
  this.addField("externalVideoUrl");
2851
3118
  return this;
2852
3119
  }
3120
+ relatedSlugs() {
3121
+ this.addField("relatedSlugs");
3122
+ return this;
3123
+ }
2853
3124
  publishedAt() {
2854
3125
  this.addField("publishedAt");
2855
3126
  return this;
@@ -2906,14 +3177,6 @@ class ProductQueryOptions extends QueryOptions {
2906
3177
  this._aggregates["tagsAggregate"] = aggregate;
2907
3178
  return this;
2908
3179
  }
2909
- draftOf(options) {
2910
- if (Array.isArray(options)) {
2911
- this._associations["draftOf"] = new ProductQueryOptions(options);
2912
- } else {
2913
- this._associations["draftOf"] = options || new ProductQueryOptions(["id"]);
2914
- }
2915
- return this;
2916
- }
2917
3180
  mediaPivots(options) {
2918
3181
  if (Array.isArray(options)) {
2919
3182
  this._associations["mediaPivots"] = new MediaOnProductQueryOptions(options);
@@ -2946,18 +3209,6 @@ class ProductQueryOptions extends QueryOptions {
2946
3209
  }
2947
3210
  return this;
2948
3211
  }
2949
- relatedPivot(options) {
2950
- if (Array.isArray(options)) {
2951
- this._associations["relatedPivot"] = new ProductRelatedPivotQueryOptions(options);
2952
- } else {
2953
- this._associations["relatedPivot"] = options || new ProductRelatedPivotQueryOptions(["id"]);
2954
- }
2955
- return this;
2956
- }
2957
- relatedPivotAggregate(aggregate) {
2958
- this._aggregates["relatedPivotAggregate"] = aggregate;
2959
- return this;
2960
- }
2961
3212
  meta(options) {
2962
3213
  if (Array.isArray(options)) {
2963
3214
  this._associations["meta"] = new PageMetaQueryOptions(options);
@@ -2974,14 +3225,6 @@ class ProductQueryOptions extends QueryOptions {
2974
3225
  }
2975
3226
  return this;
2976
3227
  }
2977
- draft(options) {
2978
- if (Array.isArray(options)) {
2979
- this._associations["draft"] = new ProductQueryOptions(options);
2980
- } else {
2981
- this._associations["draft"] = options || new ProductQueryOptions(["id"]);
2982
- }
2983
- return this;
2984
- }
2985
3228
  website(options) {
2986
3229
  if (Array.isArray(options)) {
2987
3230
  this._associations["website"] = new WebsiteQueryOptions(options);
@@ -2990,18 +3233,6 @@ class ProductQueryOptions extends QueryOptions {
2990
3233
  }
2991
3234
  return this;
2992
3235
  }
2993
- relatedByPivot(options) {
2994
- if (Array.isArray(options)) {
2995
- this._associations["relatedByPivot"] = new ProductRelatedPivotQueryOptions(options);
2996
- } else {
2997
- this._associations["relatedByPivot"] = options || new ProductRelatedPivotQueryOptions(["id"]);
2998
- }
2999
- return this;
3000
- }
3001
- relatedByPivotAggregate(aggregate) {
3002
- this._aggregates["relatedByPivotAggregate"] = aggregate;
3003
- return this;
3004
- }
3005
3236
  }
3006
3237
  class SpamFilterRuleQueryOptions extends QueryOptions {
3007
3238
  constructor(fields, queryArgs) {
@@ -4297,11 +4528,6 @@ const attachmentOnProductEntry = {
4297
4528
  entityLabel: AttachmentOnProductEntityLabel,
4298
4529
  toInput: attachmentOnProductToInput
4299
4530
  };
4300
- const productRelatedPivotEntry = {
4301
- entityName: ProductRelatedPivotEntityName,
4302
- entityLabel: ProductRelatedPivotEntityLabel,
4303
- toInput: productRelatedPivotToInput
4304
- };
4305
4531
  const frontComponentEntry = {
4306
4532
  entityName: FrontComponentEntityName,
4307
4533
  entityLabel: FrontComponentEntityLabel,
@@ -4337,6 +4563,26 @@ const pageMetaEntry = {
4337
4563
  entityLabel: PageMetaEntityLabel,
4338
4564
  toInput: pageMetaToInput
4339
4565
  };
4566
+ const sectionTemplateEntry = {
4567
+ entityName: SectionTemplateEntityName,
4568
+ entityLabel: SectionTemplateEntityLabel,
4569
+ toInput: sectionTemplateToInput
4570
+ };
4571
+ const themeCategoryEntry = {
4572
+ entityName: ThemeCategoryEntityName,
4573
+ entityLabel: ThemeCategoryEntityLabel,
4574
+ toInput: themeCategoryToInput
4575
+ };
4576
+ const templateCategoryEntry = {
4577
+ entityName: TemplateCategoryEntityName,
4578
+ entityLabel: TemplateCategoryEntityLabel,
4579
+ toInput: templateCategoryToInput
4580
+ };
4581
+ const styleConfigEntry = {
4582
+ entityName: StyleConfigEntityName,
4583
+ entityLabel: StyleConfigEntityLabel,
4584
+ toInput: styleConfigToInput
4585
+ };
4340
4586
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
4341
4587
  UserFields2["id"] = "id";
4342
4588
  UserFields2["loginName"] = "loginName";
@@ -4377,6 +4623,7 @@ var UserAssciations = /* @__PURE__ */ ((UserAssciations2) => {
4377
4623
  var RoleFields = /* @__PURE__ */ ((RoleFields2) => {
4378
4624
  RoleFields2["id"] = "id";
4379
4625
  RoleFields2["name"] = "name";
4626
+ RoleFields2["title"] = "title";
4380
4627
  RoleFields2["description"] = "description";
4381
4628
  RoleFields2["createdAt"] = "createdAt";
4382
4629
  RoleFields2["updatedAt"] = "updatedAt";
@@ -4602,11 +4849,9 @@ var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
4602
4849
  PostAssciations2["tagsAggregate"] = "tagsAggregate";
4603
4850
  PostAssciations2["author"] = "author";
4604
4851
  PostAssciations2["cover"] = "cover";
4605
- PostAssciations2["draftOf"] = "draftOf";
4606
4852
  PostAssciations2["lang"] = "lang";
4607
4853
  PostAssciations2["meta"] = "meta";
4608
4854
  PostAssciations2["category"] = "category";
4609
- PostAssciations2["draft"] = "draft";
4610
4855
  PostAssciations2["website"] = "website";
4611
4856
  return PostAssciations2;
4612
4857
  })(PostAssciations || {});
@@ -4621,6 +4866,7 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
4621
4866
  ProductFields2["content3"] = "content3";
4622
4867
  ProductFields2["shortTitle"] = "shortTitle";
4623
4868
  ProductFields2["externalVideoUrl"] = "externalVideoUrl";
4869
+ ProductFields2["relatedSlugs"] = "relatedSlugs";
4624
4870
  ProductFields2["publishedAt"] = "publishedAt";
4625
4871
  ProductFields2["status"] = "status";
4626
4872
  ProductFields2["title"] = "title";
@@ -4636,20 +4882,14 @@ var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
4636
4882
  ProductAssciations2["category"] = "category";
4637
4883
  ProductAssciations2["tags"] = "tags";
4638
4884
  ProductAssciations2["tagsAggregate"] = "tagsAggregate";
4639
- ProductAssciations2["draftOf"] = "draftOf";
4640
4885
  ProductAssciations2["mediaPivots"] = "mediaPivots";
4641
4886
  ProductAssciations2["mediaPivotsAggregate"] = "mediaPivotsAggregate";
4642
4887
  ProductAssciations2["attachmentPivots"] = "attachmentPivots";
4643
4888
  ProductAssciations2["attachmentPivotsAggregate"] = "attachmentPivotsAggregate";
4644
4889
  ProductAssciations2["lang"] = "lang";
4645
- ProductAssciations2["relatedPivot"] = "relatedPivot";
4646
- ProductAssciations2["relatedPivotAggregate"] = "relatedPivotAggregate";
4647
4890
  ProductAssciations2["meta"] = "meta";
4648
4891
  ProductAssciations2["creator"] = "creator";
4649
- ProductAssciations2["draft"] = "draft";
4650
4892
  ProductAssciations2["website"] = "website";
4651
- ProductAssciations2["relatedByPivot"] = "relatedByPivot";
4652
- ProductAssciations2["relatedByPivotAggregate"] = "relatedByPivotAggregate";
4653
4893
  return ProductAssciations2;
4654
4894
  })(ProductAssciations || {});
4655
4895
  var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
@@ -4702,15 +4942,14 @@ var WebsiteSettingsAssciations = /* @__PURE__ */ ((WebsiteSettingsAssciations2)
4702
4942
  var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
4703
4943
  ThemeFields2["id"] = "id";
4704
4944
  ThemeFields2["name"] = "name";
4705
- ThemeFields2["styles"] = "styles";
4706
4945
  ThemeFields2["settings"] = "settings";
4707
4946
  ThemeFields2["description"] = "description";
4708
- ThemeFields2["tailwindConfig"] = "tailwindConfig";
4709
- ThemeFields2["css"] = "css";
4710
4947
  ThemeFields2["isInMarket"] = "isInMarket";
4711
- ThemeFields2["themeVersionId"] = "themeVersionId";
4948
+ ThemeFields2["parentThemeId"] = "parentThemeId";
4712
4949
  ThemeFields2["createdAt"] = "createdAt";
4713
4950
  ThemeFields2["updatedAt"] = "updatedAt";
4951
+ ThemeFields2["status"] = "status";
4952
+ ThemeFields2["seqValue"] = "seqValue";
4714
4953
  return ThemeFields2;
4715
4954
  })(ThemeFields || {});
4716
4955
  var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
@@ -4723,8 +4962,14 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
4723
4962
  ThemeAssciations2["pagesAggregate"] = "pagesAggregate";
4724
4963
  ThemeAssciations2["lang"] = "lang";
4725
4964
  ThemeAssciations2["config"] = "config";
4965
+ ThemeAssciations2["templates"] = "templates";
4966
+ ThemeAssciations2["templatesAggregate"] = "templatesAggregate";
4967
+ ThemeAssciations2["templateCategories"] = "templateCategories";
4968
+ ThemeAssciations2["templateCategoriesAggregate"] = "templateCategoriesAggregate";
4969
+ ThemeAssciations2["styleConfig"] = "styleConfig";
4726
4970
  ThemeAssciations2["marketVersion"] = "marketVersion";
4727
4971
  ThemeAssciations2["website"] = "website";
4972
+ ThemeAssciations2["category"] = "category";
4728
4973
  return ThemeAssciations2;
4729
4974
  })(ThemeAssciations || {});
4730
4975
  var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
@@ -4870,16 +5115,6 @@ var AttachmentOnProductAssciations = /* @__PURE__ */ ((AttachmentOnProductAsscia
4870
5115
  AttachmentOnProductAssciations2["product"] = "product";
4871
5116
  return AttachmentOnProductAssciations2;
4872
5117
  })(AttachmentOnProductAssciations || {});
4873
- var ProductRelatedPivotFields = /* @__PURE__ */ ((ProductRelatedPivotFields2) => {
4874
- ProductRelatedPivotFields2["id"] = "id";
4875
- ProductRelatedPivotFields2["seqValue"] = "seqValue";
4876
- return ProductRelatedPivotFields2;
4877
- })(ProductRelatedPivotFields || {});
4878
- var ProductRelatedPivotAssciations = /* @__PURE__ */ ((ProductRelatedPivotAssciations2) => {
4879
- ProductRelatedPivotAssciations2["target"] = "target";
4880
- ProductRelatedPivotAssciations2["source"] = "source";
4881
- return ProductRelatedPivotAssciations2;
4882
- })(ProductRelatedPivotAssciations || {});
4883
5118
  var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
4884
5119
  FrontComponentFields2["id"] = "id";
4885
5120
  FrontComponentFields2["name"] = "name";
@@ -4893,6 +5128,7 @@ var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
4893
5128
  FrontComponentFields2["droppable"] = "droppable";
4894
5129
  FrontComponentFields2["isInMarket"] = "isInMarket";
4895
5130
  FrontComponentFields2["code"] = "code";
5131
+ FrontComponentFields2["description"] = "description";
4896
5132
  return FrontComponentFields2;
4897
5133
  })(FrontComponentFields || {});
4898
5134
  var FrontComponentAssciations = /* @__PURE__ */ ((FrontComponentAssciations2) => {
@@ -4906,6 +5142,7 @@ var ComponentCategoryFields = /* @__PURE__ */ ((ComponentCategoryFields2) => {
4906
5142
  ComponentCategoryFields2["seqValue"] = "seqValue";
4907
5143
  ComponentCategoryFields2["updatedAt"] = "updatedAt";
4908
5144
  ComponentCategoryFields2["createdAt"] = "createdAt";
5145
+ ComponentCategoryFields2["isInMarket"] = "isInMarket";
4909
5146
  return ComponentCategoryFields2;
4910
5147
  })(ComponentCategoryFields || {});
4911
5148
  var ComponentCategoryAssciations = /* @__PURE__ */ ((ComponentCategoryAssciations2) => {
@@ -4992,6 +5229,66 @@ var PageMetaAssciations = /* @__PURE__ */ ((PageMetaAssciations2) => {
4992
5229
  PageMetaAssciations2["post"] = "post";
4993
5230
  return PageMetaAssciations2;
4994
5231
  })(PageMetaAssciations || {});
5232
+ var SectionTemplateFields = /* @__PURE__ */ ((SectionTemplateFields2) => {
5233
+ SectionTemplateFields2["id"] = "id";
5234
+ SectionTemplateFields2["title"] = "title";
5235
+ SectionTemplateFields2["code"] = "code";
5236
+ SectionTemplateFields2["description"] = "description";
5237
+ SectionTemplateFields2["seqValue"] = "seqValue";
5238
+ SectionTemplateFields2["createdAt"] = "createdAt";
5239
+ SectionTemplateFields2["updatedAt"] = "updatedAt";
5240
+ return SectionTemplateFields2;
5241
+ })(SectionTemplateFields || {});
5242
+ var SectionTemplateAssciations = /* @__PURE__ */ ((SectionTemplateAssciations2) => {
5243
+ SectionTemplateAssciations2["category"] = "category";
5244
+ SectionTemplateAssciations2["theme"] = "theme";
5245
+ return SectionTemplateAssciations2;
5246
+ })(SectionTemplateAssciations || {});
5247
+ var ThemeCategoryFields = /* @__PURE__ */ ((ThemeCategoryFields2) => {
5248
+ ThemeCategoryFields2["id"] = "id";
5249
+ ThemeCategoryFields2["name"] = "name";
5250
+ ThemeCategoryFields2["description"] = "description";
5251
+ ThemeCategoryFields2["seqValue"] = "seqValue";
5252
+ ThemeCategoryFields2["createdAt"] = "createdAt";
5253
+ ThemeCategoryFields2["updatedAt"] = "updatedAt";
5254
+ return ThemeCategoryFields2;
5255
+ })(ThemeCategoryFields || {});
5256
+ var ThemeCategoryAssciations = /* @__PURE__ */ ((ThemeCategoryAssciations2) => {
5257
+ ThemeCategoryAssciations2["themes"] = "themes";
5258
+ ThemeCategoryAssciations2["themesAggregate"] = "themesAggregate";
5259
+ return ThemeCategoryAssciations2;
5260
+ })(ThemeCategoryAssciations || {});
5261
+ var TemplateCategoryFields = /* @__PURE__ */ ((TemplateCategoryFields2) => {
5262
+ TemplateCategoryFields2["id"] = "id";
5263
+ TemplateCategoryFields2["name"] = "name";
5264
+ TemplateCategoryFields2["description"] = "description";
5265
+ TemplateCategoryFields2["seqValue"] = "seqValue";
5266
+ TemplateCategoryFields2["createdAt"] = "createdAt";
5267
+ TemplateCategoryFields2["updatedAt"] = "updatedAt";
5268
+ return TemplateCategoryFields2;
5269
+ })(TemplateCategoryFields || {});
5270
+ var TemplateCategoryAssciations = /* @__PURE__ */ ((TemplateCategoryAssciations2) => {
5271
+ TemplateCategoryAssciations2["templates"] = "templates";
5272
+ TemplateCategoryAssciations2["templatesAggregate"] = "templatesAggregate";
5273
+ TemplateCategoryAssciations2["theme"] = "theme";
5274
+ return TemplateCategoryAssciations2;
5275
+ })(TemplateCategoryAssciations || {});
5276
+ var StyleConfigFields = /* @__PURE__ */ ((StyleConfigFields2) => {
5277
+ StyleConfigFields2["id"] = "id";
5278
+ StyleConfigFields2["name"] = "name";
5279
+ StyleConfigFields2["description"] = "description";
5280
+ StyleConfigFields2["tailwindConfig"] = "tailwindConfig";
5281
+ StyleConfigFields2["css"] = "css";
5282
+ StyleConfigFields2["cssVariants"] = "cssVariants";
5283
+ StyleConfigFields2["isInMarket"] = "isInMarket";
5284
+ StyleConfigFields2["createdAt"] = "createdAt";
5285
+ StyleConfigFields2["updatedAt"] = "updatedAt";
5286
+ return StyleConfigFields2;
5287
+ })(StyleConfigFields || {});
5288
+ var StyleConfigAssciations = /* @__PURE__ */ ((StyleConfigAssciations2) => {
5289
+ StyleConfigAssciations2["theme"] = "theme";
5290
+ return StyleConfigAssciations2;
5291
+ })(StyleConfigAssciations || {});
4995
5292
  export {
4996
5293
  AbilityAssciations,
4997
5294
  AbilityDistinctEnum,
@@ -5018,7 +5315,6 @@ export {
5018
5315
  ComponentCategoryEntityName,
5019
5316
  ComponentCategoryFields,
5020
5317
  ComponentCategoryQueryOptions,
5021
- ComponentType,
5022
5318
  CustomerAssciations,
5023
5319
  CustomerDistinctEnum,
5024
5320
  CustomerEntityLabel,
@@ -5110,12 +5406,6 @@ export {
5110
5406
  ProductEntityName,
5111
5407
  ProductFields,
5112
5408
  ProductQueryOptions,
5113
- ProductRelatedPivotAssciations,
5114
- ProductRelatedPivotDistinctEnum,
5115
- ProductRelatedPivotEntityLabel,
5116
- ProductRelatedPivotEntityName,
5117
- ProductRelatedPivotFields,
5118
- ProductRelatedPivotQueryOptions,
5119
5409
  PublishableDistinctEnum,
5120
5410
  PublishableStatus,
5121
5411
  QueryOptions,
@@ -5125,6 +5415,12 @@ export {
5125
5415
  RoleEntityName,
5126
5416
  RoleFields,
5127
5417
  RoleQueryOptions,
5418
+ SectionTemplateAssciations,
5419
+ SectionTemplateDistinctEnum,
5420
+ SectionTemplateEntityLabel,
5421
+ SectionTemplateEntityName,
5422
+ SectionTemplateFields,
5423
+ SectionTemplateQueryOptions,
5128
5424
  SlugableDistinctEnum,
5129
5425
  SpamFilterRuleAssciations,
5130
5426
  SpamFilterRuleDistinctEnum,
@@ -5132,13 +5428,31 @@ export {
5132
5428
  SpamFilterRuleEntityName,
5133
5429
  SpamFilterRuleFields,
5134
5430
  SpamFilterRuleQueryOptions,
5431
+ StyleConfigAssciations,
5432
+ StyleConfigDistinctEnum,
5433
+ StyleConfigEntityLabel,
5434
+ StyleConfigEntityName,
5435
+ StyleConfigFields,
5436
+ StyleConfigQueryOptions,
5135
5437
  TagAssciations,
5136
5438
  TagDistinctEnum,
5137
5439
  TagEntityLabel,
5138
5440
  TagEntityName,
5139
5441
  TagFields,
5140
5442
  TagQueryOptions,
5443
+ TemplateCategoryAssciations,
5444
+ TemplateCategoryDistinctEnum,
5445
+ TemplateCategoryEntityLabel,
5446
+ TemplateCategoryEntityName,
5447
+ TemplateCategoryFields,
5448
+ TemplateCategoryQueryOptions,
5141
5449
  ThemeAssciations,
5450
+ ThemeCategoryAssciations,
5451
+ ThemeCategoryDistinctEnum,
5452
+ ThemeCategoryEntityLabel,
5453
+ ThemeCategoryEntityName,
5454
+ ThemeCategoryFields,
5455
+ ThemeCategoryQueryOptions,
5142
5456
  ThemeConfigAssciations,
5143
5457
  ThemeConfigDistinctEnum,
5144
5458
  ThemeConfigEntityLabel,
@@ -5245,20 +5559,29 @@ export {
5245
5559
  productCategoryToInput,
5246
5560
  productCategoryToInputCascade,
5247
5561
  productEntry,
5248
- productRelatedPivotEntry,
5249
- productRelatedPivotToInput,
5250
- productRelatedPivotToInputCascade,
5251
5562
  productToInput,
5252
5563
  productToInputCascade,
5253
5564
  roleEntry,
5254
5565
  roleToInput,
5255
5566
  roleToInputCascade,
5567
+ sectionTemplateEntry,
5568
+ sectionTemplateToInput,
5569
+ sectionTemplateToInputCascade,
5256
5570
  spamFilterRuleEntry,
5257
5571
  spamFilterRuleToInput,
5258
5572
  spamFilterRuleToInputCascade,
5573
+ styleConfigEntry,
5574
+ styleConfigToInput,
5575
+ styleConfigToInputCascade,
5259
5576
  tagEntry,
5260
5577
  tagToInput,
5261
5578
  tagToInputCascade,
5579
+ templateCategoryEntry,
5580
+ templateCategoryToInput,
5581
+ templateCategoryToInputCascade,
5582
+ themeCategoryEntry,
5583
+ themeCategoryToInput,
5584
+ themeCategoryToInputCascade,
5262
5585
  themeConfigEntry,
5263
5586
  themeConfigToInput,
5264
5587
  themeConfigToInputCascade,