@rxdrag/rxcms-models 0.3.34 → 0.3.35

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 (86) hide show
  1. package/dist/classes/FrontComponentQueryOptions.d.ts +1 -0
  2. package/dist/classes/PageQueryOptions.d.ts +1 -1
  3. package/dist/classes/TemplateQueryOptions.d.ts +0 -4
  4. package/dist/classes/WebsiteQueryOptions.d.ts +2 -3
  5. package/dist/fields/FrontComponentFields.d.ts +1 -0
  6. package/dist/fields/PageFields.d.ts +1 -1
  7. package/dist/fields/TemplateFields.d.ts +0 -4
  8. package/dist/fields/WebsiteFields.d.ts +0 -1
  9. package/dist/index.mjs +161 -179
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/interfaces/Ability.d.ts +2 -2
  12. package/dist/interfaces/AbilityInput.d.ts +2 -2
  13. package/dist/interfaces/AttachmentOnProduct.d.ts +1 -1
  14. package/dist/interfaces/AttachmentOnProductInput.d.ts +1 -1
  15. package/dist/interfaces/ComponentCategory.d.ts +1 -1
  16. package/dist/interfaces/ComponentCategoryInput.d.ts +1 -1
  17. package/dist/interfaces/Customer.d.ts +1 -1
  18. package/dist/interfaces/CustomerInput.d.ts +1 -1
  19. package/dist/interfaces/Enquiry.d.ts +1 -1
  20. package/dist/interfaces/EnquiryInput.d.ts +1 -1
  21. package/dist/interfaces/FrontComponent.d.ts +2 -1
  22. package/dist/interfaces/FrontComponentBoolExp.d.ts +1 -0
  23. package/dist/interfaces/FrontComponentDistinctExp.d.ts +1 -0
  24. package/dist/interfaces/FrontComponentInput.d.ts +2 -1
  25. package/dist/interfaces/FrontComponentOrderBy.d.ts +1 -0
  26. package/dist/interfaces/IdComparisonExp.d.ts +1 -1
  27. package/dist/interfaces/Lang.d.ts +1 -1
  28. package/dist/interfaces/LangInput.d.ts +1 -1
  29. package/dist/interfaces/Mail.d.ts +1 -1
  30. package/dist/interfaces/MailInput.d.ts +1 -1
  31. package/dist/interfaces/Media.d.ts +1 -1
  32. package/dist/interfaces/MediaFolder.d.ts +1 -1
  33. package/dist/interfaces/MediaFolderInput.d.ts +1 -1
  34. package/dist/interfaces/MediaInput.d.ts +1 -1
  35. package/dist/interfaces/MediaOnProduct.d.ts +1 -1
  36. package/dist/interfaces/MediaOnProductInput.d.ts +1 -1
  37. package/dist/interfaces/OgMeta.d.ts +1 -1
  38. package/dist/interfaces/Page.d.ts +3 -2
  39. package/dist/interfaces/PageBoolExp.d.ts +3 -1
  40. package/dist/interfaces/PageDistinctExp.d.ts +1 -0
  41. package/dist/interfaces/PageInput.d.ts +3 -2
  42. package/dist/interfaces/PageOrderBy.d.ts +1 -0
  43. package/dist/interfaces/{TemplateType.d.ts → PageType.d.ts} +16 -12
  44. package/dist/interfaces/Person.d.ts +1 -1
  45. package/dist/interfaces/Post.d.ts +1 -1
  46. package/dist/interfaces/PostCategory.d.ts +1 -1
  47. package/dist/interfaces/PostCategoryInput.d.ts +1 -1
  48. package/dist/interfaces/PostInput.d.ts +1 -1
  49. package/dist/interfaces/Product.d.ts +1 -1
  50. package/dist/interfaces/ProductCategory.d.ts +1 -1
  51. package/dist/interfaces/ProductCategoryInput.d.ts +1 -1
  52. package/dist/interfaces/ProductInput.d.ts +1 -1
  53. package/dist/interfaces/ProductRelatedPivot.d.ts +1 -1
  54. package/dist/interfaces/ProductRelatedPivotInput.d.ts +1 -1
  55. package/dist/interfaces/Publishable.d.ts +1 -1
  56. package/dist/interfaces/Role.d.ts +1 -1
  57. package/dist/interfaces/RoleInput.d.ts +1 -1
  58. package/dist/interfaces/SeoMeta.d.ts +1 -1
  59. package/dist/interfaces/Slugable.d.ts +1 -1
  60. package/dist/interfaces/SpamFilterRule.d.ts +1 -1
  61. package/dist/interfaces/SpamFilterRuleInput.d.ts +1 -1
  62. package/dist/interfaces/Tag.d.ts +1 -1
  63. package/dist/interfaces/TagInput.d.ts +1 -1
  64. package/dist/interfaces/Template.d.ts +1 -6
  65. package/dist/interfaces/TemplateBoolExp.d.ts +0 -3
  66. package/dist/interfaces/TemplateCategory.d.ts +1 -1
  67. package/dist/interfaces/TemplateCategoryInput.d.ts +1 -1
  68. package/dist/interfaces/TemplateDistinctExp.d.ts +0 -4
  69. package/dist/interfaces/TemplateInput.d.ts +1 -6
  70. package/dist/interfaces/TemplateOrderBy.d.ts +0 -4
  71. package/dist/interfaces/Theme.d.ts +1 -1
  72. package/dist/interfaces/ThemeInput.d.ts +1 -1
  73. package/dist/interfaces/User.d.ts +1 -1
  74. package/dist/interfaces/UserInput.d.ts +1 -1
  75. package/dist/interfaces/Website.d.ts +4 -5
  76. package/dist/interfaces/WebsiteBoolExp.d.ts +1 -2
  77. package/dist/interfaces/WebsiteContent.d.ts +1 -1
  78. package/dist/interfaces/WebsiteInput.d.ts +4 -5
  79. package/dist/interfaces/WebsitePart.d.ts +1 -1
  80. package/dist/interfaces/WebsiteSettings.d.ts +1 -1
  81. package/dist/interfaces/WebsiteSettingsInput.d.ts +1 -1
  82. package/dist/interfaces/WebsiteType.d.ts +1 -1
  83. package/dist/interfaces/WebsiteTypeInput.d.ts +1 -1
  84. package/dist/interfaces/WebsiteUser.d.ts +1 -1
  85. package/dist/interfaces/index.d.ts +1 -1
  86. package/package.json +3 -3
@@ -16,6 +16,7 @@ export declare class FrontComponentQueryOptions extends QueryOptions<FrontCompon
16
16
  testConfig(): this;
17
17
  updatedAt(): this;
18
18
  createdAt(): this;
19
+ slots(): this;
19
20
  droppable(): this;
20
21
  category(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
21
22
  theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
@@ -15,6 +15,7 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
15
15
  * 备注
16
16
  */
17
17
  remark(): this;
18
+ pageType(): this;
18
19
  content(): this;
19
20
  extends(): this;
20
21
  createdAt(): this;
@@ -36,6 +37,5 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
36
37
  description(): this;
37
38
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
38
39
  lang(options?: LangQueryOptions | (keyof Lang)[]): this;
39
- homeOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
40
40
  website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
41
41
  }
@@ -15,10 +15,6 @@ export declare class TemplateQueryOptions extends QueryOptions<Template, Templat
15
15
  name(): this;
16
16
  seqValue(): this;
17
17
  content(): this;
18
- /**
19
- * 模板类型
20
- */
21
- templateType(): this;
22
18
  createdAt(): this;
23
19
  updatedAt(): this;
24
20
  lang(options?: LangQueryOptions | (keyof Lang)[]): this;
@@ -5,8 +5,6 @@ import { WebsiteTypeQueryOptions } from './WebsiteTypeQueryOptions';
5
5
  import { WebsiteType } from '../interfaces';
6
6
  import { ThemeQueryOptions } from './ThemeQueryOptions';
7
7
  import { Theme } from '../interfaces';
8
- import { PageQueryOptions } from './PageQueryOptions';
9
- import { Page } from '../interfaces';
10
8
  import { UserQueryOptions } from './UserQueryOptions';
11
9
  import { User } from '../interfaces';
12
10
  import { UserBoolExp } from '../interfaces';
@@ -26,6 +24,8 @@ import { MediaFolderBoolExp } from '../interfaces';
26
24
  import { EnquiryQueryOptions } from './EnquiryQueryOptions';
27
25
  import { Enquiry } from '../interfaces';
28
26
  import { EnquiryBoolExp } from '../interfaces';
27
+ import { PageQueryOptions } from './PageQueryOptions';
28
+ import { Page } from '../interfaces';
29
29
  import { PageBoolExp } from '../interfaces';
30
30
  import { ProductQueryOptions } from './ProductQueryOptions';
31
31
  import { Product } from '../interfaces';
@@ -85,7 +85,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
85
85
  description(): this;
86
86
  websiteType(options?: WebsiteTypeQueryOptions | (keyof WebsiteType)[]): this;
87
87
  selectedTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
88
- homePage(options?: PageQueryOptions | (keyof Page)[]): this;
89
88
  owner(options?: UserQueryOptions | (keyof User)[]): this;
90
89
  users(options?: UserQueryOptions | (keyof User)[]): this;
91
90
  usersAggregate(aggregate: IAggregate<UserBoolExp>): this;
@@ -8,6 +8,7 @@ export declare enum FrontComponentFields {
8
8
  testConfig = "testConfig",
9
9
  updatedAt = "updatedAt",
10
10
  createdAt = "createdAt",
11
+ slots = "slots",
11
12
  droppable = "droppable"
12
13
  }
13
14
  export declare enum FrontComponentAssciations {
@@ -5,6 +5,7 @@ export declare enum PageFields {
5
5
  * 备注
6
6
  */
7
7
  remark = "remark",
8
+ pageType = "pageType",
8
9
  content = "content",
9
10
  extends = "extends",
10
11
  createdAt = "createdAt",
@@ -28,6 +29,5 @@ export declare enum PageFields {
28
29
  export declare enum PageAssciations {
29
30
  ogImage = "ogImage",
30
31
  lang = "lang",
31
- homeOf = "homeOf",
32
32
  website = "website"
33
33
  }
@@ -3,10 +3,6 @@ export declare enum TemplateFields {
3
3
  name = "name",
4
4
  seqValue = "seqValue",
5
5
  content = "content",
6
- /**
7
- * 模板类型
8
- */
9
- templateType = "templateType",
10
6
  createdAt = "createdAt",
11
7
  updatedAt = "updatedAt"
12
8
  }
@@ -33,7 +33,6 @@ export declare enum WebsiteFields {
33
33
  export declare enum WebsiteAssciations {
34
34
  websiteType = "websiteType",
35
35
  selectedTheme = "selectedTheme",
36
- homePage = "homePage",
37
36
  owner = "owner",
38
37
  users = "users",
39
38
  usersAggregate = "usersAggregate",
package/dist/index.mjs CHANGED
@@ -395,24 +395,6 @@ const themeToInput = (entity) => {
395
395
  website: convertHasOneToInput(entity.website)
396
396
  };
397
397
  };
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
398
  const customerToInputCascade = (entity) => {
417
399
  var _a;
418
400
  const { enquiresAggregate, ...rest } = entity;
@@ -448,6 +430,22 @@ const enquiryToInput = (entity) => {
448
430
  website: convertHasOneToInput(entity.website)
449
431
  };
450
432
  };
433
+ const pageToInputCascade = (entity) => {
434
+ return {
435
+ ...entity,
436
+ ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
437
+ lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
438
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
439
+ };
440
+ };
441
+ const pageToInput = (entity) => {
442
+ return {
443
+ ...entity,
444
+ ogImage: convertHasOneToInput(entity.ogImage),
445
+ lang: convertHasOneToInput(entity.lang),
446
+ website: convertHasOneToInput(entity.website)
447
+ };
448
+ };
451
449
  const productCategoryToInputCascade = (entity) => {
452
450
  var _a, _b;
453
451
  const { childrenAggregate, productsAggregate, ...rest } = entity;
@@ -648,7 +646,6 @@ const websiteToInputCascade = (entity) => {
648
646
  ...rest,
649
647
  websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
650
648
  selectedTheme: entity.selectedTheme ? processHasOneClear({ sync: themeToInput(entity.selectedTheme) }) : void 0,
651
- homePage: entity.homePage ? processHasOneClear({ sync: pageToInput(entity.homePage) }) : void 0,
652
649
  owner: entity.owner ? processHasOneClear({ sync: userToInput(entity.owner) }) : void 0,
653
650
  users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0,
654
651
  partsOfWebsiteSettings: entity.partsOfWebsiteSettings ? processHasManyClear({ sync: (_b = entity.partsOfWebsiteSettings) == null ? void 0 : _b.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
@@ -674,7 +671,6 @@ const websiteToInput = (entity) => {
674
671
  ...rest,
675
672
  websiteType: convertHasOneToInput(entity.websiteType),
676
673
  selectedTheme: convertHasOneToInput(entity.selectedTheme),
677
- homePage: convertHasOneToInput(entity.homePage),
678
674
  owner: convertHasOneToInput(entity.owner),
679
675
  users: convertHasManyToInput(entity.users),
680
676
  partsOfWebsiteSettings: convertHasManyToInput(entity.partsOfWebsiteSettings),
@@ -1006,6 +1002,7 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
1006
1002
  PageDistinctEnum2["id"] = "id";
1007
1003
  PageDistinctEnum2["title"] = "title";
1008
1004
  PageDistinctEnum2["remark"] = "remark";
1005
+ PageDistinctEnum2["pageType"] = "pageType";
1009
1006
  PageDistinctEnum2["content"] = "content";
1010
1007
  PageDistinctEnum2["extends"] = "extends";
1011
1008
  PageDistinctEnum2["createdAt"] = "createdAt";
@@ -1148,7 +1145,6 @@ var TemplateDistinctEnum = /* @__PURE__ */ ((TemplateDistinctEnum2) => {
1148
1145
  TemplateDistinctEnum2["name"] = "name";
1149
1146
  TemplateDistinctEnum2["seqValue"] = "seqValue";
1150
1147
  TemplateDistinctEnum2["content"] = "content";
1151
- TemplateDistinctEnum2["templateType"] = "templateType";
1152
1148
  TemplateDistinctEnum2["createdAt"] = "createdAt";
1153
1149
  TemplateDistinctEnum2["updatedAt"] = "updatedAt";
1154
1150
  return TemplateDistinctEnum2;
@@ -1356,17 +1352,18 @@ var UserType = /* @__PURE__ */ ((UserType2) => {
1356
1352
  UserType2["systemAdmin"] = "systemAdmin";
1357
1353
  return UserType2;
1358
1354
  })(UserType || {});
1359
- var TemplateType = /* @__PURE__ */ ((TemplateType2) => {
1360
- TemplateType2["Block"] = "Block";
1361
- TemplateType2["PostCategory"] = "PostCategory";
1362
- TemplateType2["Post"] = "Post";
1363
- TemplateType2["ProductCategory"] = "ProductCategory";
1364
- TemplateType2["Product"] = "Product";
1365
- TemplateType2["Page"] = "Page";
1366
- TemplateType2["Frame"] = "Frame";
1367
- TemplateType2["SearchList"] = "SearchList";
1368
- return TemplateType2;
1369
- })(TemplateType || {});
1355
+ var PageType = /* @__PURE__ */ ((PageType2) => {
1356
+ PageType2["PostCategory"] = "PostCategory";
1357
+ PageType2["Post"] = "Post";
1358
+ PageType2["ProductCategory"] = "ProductCategory";
1359
+ PageType2["Product"] = "Product";
1360
+ PageType2["Frame"] = "Frame";
1361
+ PageType2["SearchList"] = "SearchList";
1362
+ PageType2["Profile"] = "Profile";
1363
+ PageType2["Home"] = "Home";
1364
+ PageType2["Customized"] = "Customized";
1365
+ return PageType2;
1366
+ })(PageType || {});
1370
1367
  const ProductCategoryEntityName = "ProductCategory";
1371
1368
  const ProductCategoryEntityLabel = "";
1372
1369
  var ProductCategoryDistinctEnum = /* @__PURE__ */ ((ProductCategoryDistinctEnum2) => {
@@ -1455,6 +1452,7 @@ var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2)
1455
1452
  FrontComponentDistinctEnum2["testConfig"] = "testConfig";
1456
1453
  FrontComponentDistinctEnum2["updatedAt"] = "updatedAt";
1457
1454
  FrontComponentDistinctEnum2["createdAt"] = "createdAt";
1455
+ FrontComponentDistinctEnum2["slots"] = "slots";
1458
1456
  FrontComponentDistinctEnum2["droppable"] = "droppable";
1459
1457
  return FrontComponentDistinctEnum2;
1460
1458
  })(FrontComponentDistinctEnum || {});
@@ -1655,13 +1653,6 @@ class TemplateQueryOptions extends QueryOptions {
1655
1653
  this.addField("content");
1656
1654
  return this;
1657
1655
  }
1658
- /**
1659
- * 模板类型
1660
- */
1661
- templateType() {
1662
- this.addField("templateType");
1663
- return this;
1664
- }
1665
1656
  createdAt() {
1666
1657
  this.addField("createdAt");
1667
1658
  return this;
@@ -1788,6 +1779,10 @@ class FrontComponentQueryOptions extends QueryOptions {
1788
1779
  this.addField("createdAt");
1789
1780
  return this;
1790
1781
  }
1782
+ slots() {
1783
+ this.addField("slots");
1784
+ return this;
1785
+ }
1791
1786
  droppable() {
1792
1787
  this.addField("droppable");
1793
1788
  return this;
@@ -1930,134 +1925,6 @@ class ThemeQueryOptions extends QueryOptions {
1930
1925
  return this;
1931
1926
  }
1932
1927
  }
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
1928
  class CustomerQueryOptions extends QueryOptions {
2062
1929
  constructor(fields, queryArgs) {
2063
1930
  super(CustomerEntityName, fields, queryArgs);
@@ -2251,6 +2118,130 @@ class EnquiryQueryOptions extends QueryOptions {
2251
2118
  return this;
2252
2119
  }
2253
2120
  }
2121
+ class PageQueryOptions extends QueryOptions {
2122
+ constructor(fields, queryArgs) {
2123
+ super(PageEntityName, fields, queryArgs);
2124
+ }
2125
+ id() {
2126
+ this.addField("id");
2127
+ return this;
2128
+ }
2129
+ title() {
2130
+ this.addField("title");
2131
+ return this;
2132
+ }
2133
+ /**
2134
+ * 备注
2135
+ */
2136
+ remark() {
2137
+ this.addField("remark");
2138
+ return this;
2139
+ }
2140
+ pageType() {
2141
+ this.addField("pageType");
2142
+ return this;
2143
+ }
2144
+ content() {
2145
+ this.addField("content");
2146
+ return this;
2147
+ }
2148
+ extends() {
2149
+ this.addField("extends");
2150
+ return this;
2151
+ }
2152
+ createdAt() {
2153
+ this.addField("createdAt");
2154
+ return this;
2155
+ }
2156
+ updatedAt() {
2157
+ this.addField("updatedAt");
2158
+ return this;
2159
+ }
2160
+ seoTitle() {
2161
+ this.addField("seoTitle");
2162
+ return this;
2163
+ }
2164
+ seoKeywords() {
2165
+ this.addField("seoKeywords");
2166
+ return this;
2167
+ }
2168
+ seoDescription() {
2169
+ this.addField("seoDescription");
2170
+ return this;
2171
+ }
2172
+ ogTitle() {
2173
+ this.addField("ogTitle");
2174
+ return this;
2175
+ }
2176
+ ogDescription() {
2177
+ this.addField("ogDescription");
2178
+ return this;
2179
+ }
2180
+ ogUrl() {
2181
+ this.addField("ogUrl");
2182
+ return this;
2183
+ }
2184
+ ogSiteName() {
2185
+ this.addField("ogSiteName");
2186
+ return this;
2187
+ }
2188
+ ogType() {
2189
+ this.addField("ogType");
2190
+ return this;
2191
+ }
2192
+ xCard() {
2193
+ this.addField("xCard");
2194
+ return this;
2195
+ }
2196
+ xSite() {
2197
+ this.addField("xSite");
2198
+ return this;
2199
+ }
2200
+ xTitle() {
2201
+ this.addField("xTitle");
2202
+ return this;
2203
+ }
2204
+ xDescription() {
2205
+ this.addField("xDescription");
2206
+ return this;
2207
+ }
2208
+ xUrl() {
2209
+ this.addField("xUrl");
2210
+ return this;
2211
+ }
2212
+ slug() {
2213
+ this.addField("slug");
2214
+ return this;
2215
+ }
2216
+ description() {
2217
+ this.addField("description");
2218
+ return this;
2219
+ }
2220
+ ogImage(options) {
2221
+ if (Array.isArray(options)) {
2222
+ this._associations["ogImage"] = new MediaQueryOptions(options);
2223
+ } else {
2224
+ this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
2225
+ }
2226
+ return this;
2227
+ }
2228
+ lang(options) {
2229
+ if (Array.isArray(options)) {
2230
+ this._associations["lang"] = new LangQueryOptions(options);
2231
+ } else {
2232
+ this._associations["lang"] = options || new LangQueryOptions(["id"]);
2233
+ }
2234
+ return this;
2235
+ }
2236
+ website(options) {
2237
+ if (Array.isArray(options)) {
2238
+ this._associations["website"] = new WebsiteQueryOptions(options);
2239
+ } else {
2240
+ this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
2241
+ }
2242
+ return this;
2243
+ }
2244
+ }
2254
2245
  class ProductCategoryQueryOptions extends QueryOptions {
2255
2246
  constructor(fields, queryArgs) {
2256
2247
  super(ProductCategoryEntityName, fields, queryArgs);
@@ -3145,14 +3136,6 @@ class WebsiteQueryOptions extends QueryOptions {
3145
3136
  }
3146
3137
  return this;
3147
3138
  }
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
3139
  owner(options) {
3157
3140
  if (Array.isArray(options)) {
3158
3141
  this._associations["owner"] = new UserQueryOptions(options);
@@ -4511,7 +4494,6 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
4511
4494
  var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
4512
4495
  WebsiteAssciations2["websiteType"] = "websiteType";
4513
4496
  WebsiteAssciations2["selectedTheme"] = "selectedTheme";
4514
- WebsiteAssciations2["homePage"] = "homePage";
4515
4497
  WebsiteAssciations2["owner"] = "owner";
4516
4498
  WebsiteAssciations2["users"] = "users";
4517
4499
  WebsiteAssciations2["usersAggregate"] = "usersAggregate";
@@ -4611,6 +4593,7 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
4611
4593
  PageFields2["id"] = "id";
4612
4594
  PageFields2["title"] = "title";
4613
4595
  PageFields2["remark"] = "remark";
4596
+ PageFields2["pageType"] = "pageType";
4614
4597
  PageFields2["content"] = "content";
4615
4598
  PageFields2["extends"] = "extends";
4616
4599
  PageFields2["createdAt"] = "createdAt";
@@ -4635,7 +4618,6 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
4635
4618
  var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
4636
4619
  PageAssciations2["ogImage"] = "ogImage";
4637
4620
  PageAssciations2["lang"] = "lang";
4638
- PageAssciations2["homeOf"] = "homeOf";
4639
4621
  PageAssciations2["website"] = "website";
4640
4622
  return PageAssciations2;
4641
4623
  })(PageAssciations || {});
@@ -4795,7 +4777,6 @@ var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
4795
4777
  TemplateFields2["name"] = "name";
4796
4778
  TemplateFields2["seqValue"] = "seqValue";
4797
4779
  TemplateFields2["content"] = "content";
4798
- TemplateFields2["templateType"] = "templateType";
4799
4780
  TemplateFields2["createdAt"] = "createdAt";
4800
4781
  TemplateFields2["updatedAt"] = "updatedAt";
4801
4782
  return TemplateFields2;
@@ -5006,6 +4987,7 @@ var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
5006
4987
  FrontComponentFields2["testConfig"] = "testConfig";
5007
4988
  FrontComponentFields2["updatedAt"] = "updatedAt";
5008
4989
  FrontComponentFields2["createdAt"] = "createdAt";
4990
+ FrontComponentFields2["slots"] = "slots";
5009
4991
  FrontComponentFields2["droppable"] = "droppable";
5010
4992
  return FrontComponentFields2;
5011
4993
  })(FrontComponentFields || {});
@@ -5107,6 +5089,7 @@ export {
5107
5089
  PageEntityName,
5108
5090
  PageFields,
5109
5091
  PageQueryOptions,
5092
+ PageType,
5110
5093
  PersonDistinctEnum,
5111
5094
  PostAssciations,
5112
5095
  PostCategoryAssciations,
@@ -5173,7 +5156,6 @@ export {
5173
5156
  TemplateEntityName,
5174
5157
  TemplateFields,
5175
5158
  TemplateQueryOptions,
5176
- TemplateType,
5177
5159
  ThemeAssciations,
5178
5160
  ThemeDistinctEnum,
5179
5161
  ThemeEntityLabel,