@rxdrag/rxcms-models 0.3.33 → 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.
- package/dist/classes/ComponentCategoryQueryOptions.d.ts +19 -0
- package/dist/classes/FrontComponentQueryOptions.d.ts +23 -0
- package/dist/classes/PageQueryOptions.d.ts +1 -1
- package/dist/classes/TemplateQueryOptions.d.ts +0 -4
- package/dist/classes/ThemeQueryOptions.d.ts +12 -0
- package/dist/classes/UserQueryOptions.d.ts +1 -1
- package/dist/classes/WebsiteQueryOptions.d.ts +2 -3
- package/dist/classes/index.d.ts +2 -0
- package/dist/entries/componentCategoryEntry.d.ts +2 -0
- package/dist/entries/frontComponentEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +2 -0
- package/dist/fields/ComponentCategoryFields.d.ts +12 -0
- package/dist/fields/FrontComponentFields.d.ts +17 -0
- package/dist/fields/PageFields.d.ts +1 -1
- package/dist/fields/TemplateFields.d.ts +0 -4
- package/dist/fields/ThemeFields.d.ts +6 -0
- package/dist/fields/UserFields.d.ts +1 -1
- package/dist/fields/WebsiteFields.d.ts +0 -1
- package/dist/fields/index.d.ts +2 -0
- package/dist/index.mjs +424 -165
- 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 +15 -0
- package/dist/interfaces/ComponentCategoryBoolExp.d.ts +18 -0
- package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +8 -0
- package/dist/interfaces/ComponentCategoryInput.d.ts +16 -0
- package/dist/interfaces/ComponentCategoryOrderBy.d.ts +8 -0
- package/dist/interfaces/ComponentType.d.ts +32 -8
- 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/ExtendField.d.ts +1 -0
- package/dist/interfaces/FrontComponent.d.ts +20 -0
- package/dist/interfaces/FrontComponentBoolExp.d.ts +25 -0
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +14 -0
- package/dist/interfaces/FrontComponentInput.d.ts +22 -0
- package/dist/interfaces/FrontComponentOrderBy.d.ts +14 -0
- package/dist/interfaces/IdComparisonExp.d.ts +1 -1
- package/dist/interfaces/Lang.d.ts +1 -1
- package/dist/interfaces/LangInput.d.ts +1 -1
- package/dist/interfaces/Mail.d.ts +1 -1
- package/dist/interfaces/MailInput.d.ts +1 -1
- package/dist/interfaces/Media.d.ts +1 -1
- package/dist/interfaces/MediaFolder.d.ts +1 -1
- package/dist/interfaces/MediaFolderInput.d.ts +1 -1
- package/dist/interfaces/MediaInput.d.ts +1 -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/{TemplateType.d.ts → PageType.d.ts} +16 -12
- package/dist/interfaces/Person.d.ts +1 -1
- package/dist/interfaces/Post.d.ts +1 -1
- package/dist/interfaces/PostCategory.d.ts +1 -1
- package/dist/interfaces/PostCategoryInput.d.ts +1 -1
- package/dist/interfaces/PostInput.d.ts +1 -1
- package/dist/interfaces/Product.d.ts +1 -1
- package/dist/interfaces/ProductCategory.d.ts +1 -1
- package/dist/interfaces/ProductCategoryInput.d.ts +1 -1
- package/dist/interfaces/ProductInput.d.ts +1 -1
- package/dist/interfaces/ProductRelatedPivot.d.ts +1 -1
- package/dist/interfaces/ProductRelatedPivotInput.d.ts +1 -1
- package/dist/interfaces/PropsFields.d.ts +8 -0
- 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 +9 -1
- package/dist/interfaces/ThemeBoolExp.d.ts +6 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
- package/dist/interfaces/ThemeInput.d.ts +7 -1
- package/dist/interfaces/ThemeOrderBy.d.ts +2 -0
- package/dist/interfaces/User.d.ts +1 -1
- package/dist/interfaces/UserDistinctExp.d.ts +1 -1
- package/dist/interfaces/UserInput.d.ts +1 -1
- package/dist/interfaces/Website.d.ts +4 -5
- package/dist/interfaces/WebsiteBoolExp.d.ts +1 -2
- package/dist/interfaces/WebsiteContent.d.ts +1 -1
- package/dist/interfaces/WebsiteInput.d.ts +4 -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 +2 -2
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUserDistinctExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUserOrderBy.d.ts +1 -1
- package/dist/interfaces/index.d.ts +13 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -80,7 +80,9 @@ const aggregateEntities = {
|
|
|
80
80
|
},
|
|
81
81
|
Theme: {
|
|
82
82
|
templatesAggregate: "Template",
|
|
83
|
-
themlateCategoriesAggregate: "TemplateCategory"
|
|
83
|
+
themlateCategoriesAggregate: "TemplateCategory",
|
|
84
|
+
componentsAggregate: "FrontComponent",
|
|
85
|
+
componentCategoriesAggregate: "ComponentCategory"
|
|
84
86
|
},
|
|
85
87
|
MediaFolder: {
|
|
86
88
|
childrenAggregate: "MediaFolder",
|
|
@@ -100,6 +102,9 @@ const aggregateEntities = {
|
|
|
100
102
|
ProductCategory: {
|
|
101
103
|
childrenAggregate: "ProductCategory",
|
|
102
104
|
productsAggregate: "Product"
|
|
105
|
+
},
|
|
106
|
+
ComponentCategory: {
|
|
107
|
+
componentsAggregate: "FrontComponent"
|
|
103
108
|
}
|
|
104
109
|
};
|
|
105
110
|
class QueryOptions {
|
|
@@ -330,49 +335,66 @@ const templateToInput = (entity) => {
|
|
|
330
335
|
website: convertHasOneToInput(entity.website)
|
|
331
336
|
};
|
|
332
337
|
};
|
|
338
|
+
const componentCategoryToInputCascade = (entity) => {
|
|
339
|
+
var _a;
|
|
340
|
+
const { componentsAggregate, ...rest } = entity;
|
|
341
|
+
return {
|
|
342
|
+
...rest,
|
|
343
|
+
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) => frontComponentToInput(ent)) }) : void 0,
|
|
344
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
const componentCategoryToInput = (entity) => {
|
|
348
|
+
const { componentsAggregate, ...rest } = entity;
|
|
349
|
+
return {
|
|
350
|
+
...rest,
|
|
351
|
+
components: convertHasManyToInput(entity.components),
|
|
352
|
+
theme: convertHasOneToInput(entity.theme)
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
const frontComponentToInputCascade = (entity) => {
|
|
356
|
+
return {
|
|
357
|
+
...entity,
|
|
358
|
+
category: entity.category ? processHasOneClear({ sync: componentCategoryToInput(entity.category) }) : void 0,
|
|
359
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
const frontComponentToInput = (entity) => {
|
|
363
|
+
return {
|
|
364
|
+
...entity,
|
|
365
|
+
category: convertHasOneToInput(entity.category),
|
|
366
|
+
theme: convertHasOneToInput(entity.theme)
|
|
367
|
+
};
|
|
368
|
+
};
|
|
333
369
|
const themeToInputCascade = (entity) => {
|
|
334
|
-
var _a, _b;
|
|
335
|
-
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
370
|
+
var _a, _b, _c, _d;
|
|
371
|
+
const { templatesAggregate, themlateCategoriesAggregate, componentsAggregate, componentCategoriesAggregate, ...rest } = entity;
|
|
336
372
|
return {
|
|
337
373
|
...rest,
|
|
338
374
|
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
339
375
|
themlateCategories: entity.themlateCategories ? processHasManyClear({ sync: (_b = entity.themlateCategories) == null ? void 0 : _b.map((ent) => templateCategoryToInput(ent)) }) : void 0,
|
|
340
376
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
341
377
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
378
|
+
components: entity.components ? processHasManyClear({ sync: (_c = entity.components) == null ? void 0 : _c.map((ent) => frontComponentToInput(ent)) }) : void 0,
|
|
379
|
+
componentCategories: entity.componentCategories ? processHasManyClear({ sync: (_d = entity.componentCategories) == null ? void 0 : _d.map((ent) => componentCategoryToInput(ent)) }) : void 0,
|
|
342
380
|
selectedBy: entity.selectedBy ? processHasOneClear({ sync: websiteToInput(entity.selectedBy) }) : void 0,
|
|
343
381
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
344
382
|
};
|
|
345
383
|
};
|
|
346
384
|
const themeToInput = (entity) => {
|
|
347
|
-
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
385
|
+
const { templatesAggregate, themlateCategoriesAggregate, componentsAggregate, componentCategoriesAggregate, ...rest } = entity;
|
|
348
386
|
return {
|
|
349
387
|
...rest,
|
|
350
388
|
templates: convertHasManyToInput(entity.templates),
|
|
351
389
|
themlateCategories: convertHasManyToInput(entity.themlateCategories),
|
|
352
390
|
lang: convertHasOneToInput(entity.lang),
|
|
353
391
|
cover: convertHasOneToInput(entity.cover),
|
|
392
|
+
components: convertHasManyToInput(entity.components),
|
|
393
|
+
componentCategories: convertHasManyToInput(entity.componentCategories),
|
|
354
394
|
selectedBy: convertHasOneToInput(entity.selectedBy),
|
|
355
395
|
website: convertHasOneToInput(entity.website)
|
|
356
396
|
};
|
|
357
397
|
};
|
|
358
|
-
const pageToInputCascade = (entity) => {
|
|
359
|
-
return {
|
|
360
|
-
...entity,
|
|
361
|
-
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
362
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
363
|
-
homeOf: entity.homeOf ? processHasOneClear({ sync: websiteToInput(entity.homeOf) }) : void 0,
|
|
364
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
const pageToInput = (entity) => {
|
|
368
|
-
return {
|
|
369
|
-
...entity,
|
|
370
|
-
ogImage: convertHasOneToInput(entity.ogImage),
|
|
371
|
-
lang: convertHasOneToInput(entity.lang),
|
|
372
|
-
homeOf: convertHasOneToInput(entity.homeOf),
|
|
373
|
-
website: convertHasOneToInput(entity.website)
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
398
|
const customerToInputCascade = (entity) => {
|
|
377
399
|
var _a;
|
|
378
400
|
const { enquiresAggregate, ...rest } = entity;
|
|
@@ -408,6 +430,22 @@ const enquiryToInput = (entity) => {
|
|
|
408
430
|
website: convertHasOneToInput(entity.website)
|
|
409
431
|
};
|
|
410
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
|
+
};
|
|
411
449
|
const productCategoryToInputCascade = (entity) => {
|
|
412
450
|
var _a, _b;
|
|
413
451
|
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
@@ -608,7 +646,6 @@ const websiteToInputCascade = (entity) => {
|
|
|
608
646
|
...rest,
|
|
609
647
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
610
648
|
selectedTheme: entity.selectedTheme ? processHasOneClear({ sync: themeToInput(entity.selectedTheme) }) : void 0,
|
|
611
|
-
homePage: entity.homePage ? processHasOneClear({ sync: pageToInput(entity.homePage) }) : void 0,
|
|
612
649
|
owner: entity.owner ? processHasOneClear({ sync: userToInput(entity.owner) }) : void 0,
|
|
613
650
|
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0,
|
|
614
651
|
partsOfWebsiteSettings: entity.partsOfWebsiteSettings ? processHasManyClear({ sync: (_b = entity.partsOfWebsiteSettings) == null ? void 0 : _b.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
@@ -634,7 +671,6 @@ const websiteToInput = (entity) => {
|
|
|
634
671
|
...rest,
|
|
635
672
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
636
673
|
selectedTheme: convertHasOneToInput(entity.selectedTheme),
|
|
637
|
-
homePage: convertHasOneToInput(entity.homePage),
|
|
638
674
|
owner: convertHasOneToInput(entity.owner),
|
|
639
675
|
users: convertHasManyToInput(entity.users),
|
|
640
676
|
partsOfWebsiteSettings: convertHasManyToInput(entity.partsOfWebsiteSettings),
|
|
@@ -809,7 +845,7 @@ var UserDistinctEnum = /* @__PURE__ */ ((UserDistinctEnum2) => {
|
|
|
809
845
|
UserDistinctEnum2["password"] = "password";
|
|
810
846
|
UserDistinctEnum2["createdAt"] = "createdAt";
|
|
811
847
|
UserDistinctEnum2["updatedAt"] = "updatedAt";
|
|
812
|
-
UserDistinctEnum2["
|
|
848
|
+
UserDistinctEnum2["position"] = "position";
|
|
813
849
|
UserDistinctEnum2["profile"] = "profile";
|
|
814
850
|
UserDistinctEnum2["userType"] = "userType";
|
|
815
851
|
UserDistinctEnum2["email"] = "email";
|
|
@@ -966,6 +1002,7 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
|
966
1002
|
PageDistinctEnum2["id"] = "id";
|
|
967
1003
|
PageDistinctEnum2["title"] = "title";
|
|
968
1004
|
PageDistinctEnum2["remark"] = "remark";
|
|
1005
|
+
PageDistinctEnum2["pageType"] = "pageType";
|
|
969
1006
|
PageDistinctEnum2["content"] = "content";
|
|
970
1007
|
PageDistinctEnum2["extends"] = "extends";
|
|
971
1008
|
PageDistinctEnum2["createdAt"] = "createdAt";
|
|
@@ -1108,7 +1145,6 @@ var TemplateDistinctEnum = /* @__PURE__ */ ((TemplateDistinctEnum2) => {
|
|
|
1108
1145
|
TemplateDistinctEnum2["name"] = "name";
|
|
1109
1146
|
TemplateDistinctEnum2["seqValue"] = "seqValue";
|
|
1110
1147
|
TemplateDistinctEnum2["content"] = "content";
|
|
1111
|
-
TemplateDistinctEnum2["templateType"] = "templateType";
|
|
1112
1148
|
TemplateDistinctEnum2["createdAt"] = "createdAt";
|
|
1113
1149
|
TemplateDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1114
1150
|
return TemplateDistinctEnum2;
|
|
@@ -1131,6 +1167,8 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
1131
1167
|
ThemeDistinctEnum2["styles"] = "styles";
|
|
1132
1168
|
ThemeDistinctEnum2["settings"] = "settings";
|
|
1133
1169
|
ThemeDistinctEnum2["description"] = "description";
|
|
1170
|
+
ThemeDistinctEnum2["tailwindConfig"] = "tailwindConfig";
|
|
1171
|
+
ThemeDistinctEnum2["css"] = "css";
|
|
1134
1172
|
ThemeDistinctEnum2["createdAt"] = "createdAt";
|
|
1135
1173
|
ThemeDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1136
1174
|
return ThemeDistinctEnum2;
|
|
@@ -1292,7 +1330,7 @@ var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
|
1292
1330
|
})(CustomerDistinctEnum || {});
|
|
1293
1331
|
var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
1294
1332
|
WebsiteUserDistinctEnum2["id"] = "id";
|
|
1295
|
-
WebsiteUserDistinctEnum2["
|
|
1333
|
+
WebsiteUserDistinctEnum2["position"] = "position";
|
|
1296
1334
|
WebsiteUserDistinctEnum2["profile"] = "profile";
|
|
1297
1335
|
WebsiteUserDistinctEnum2["userType"] = "userType";
|
|
1298
1336
|
WebsiteUserDistinctEnum2["email"] = "email";
|
|
@@ -1314,17 +1352,18 @@ var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
|
1314
1352
|
UserType2["systemAdmin"] = "systemAdmin";
|
|
1315
1353
|
return UserType2;
|
|
1316
1354
|
})(UserType || {});
|
|
1317
|
-
var
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
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 || {});
|
|
1328
1367
|
const ProductCategoryEntityName = "ProductCategory";
|
|
1329
1368
|
const ProductCategoryEntityLabel = "";
|
|
1330
1369
|
var ProductCategoryDistinctEnum = /* @__PURE__ */ ((ProductCategoryDistinctEnum2) => {
|
|
@@ -1354,6 +1393,12 @@ var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
|
1354
1393
|
ComponentType2["DatePicker"] = "DatePicker";
|
|
1355
1394
|
ComponentType2["Switch"] = "Switch";
|
|
1356
1395
|
ComponentType2["RichText"] = "RichText";
|
|
1396
|
+
ComponentType2["ImageSelect"] = "ImageSelect";
|
|
1397
|
+
ComponentType2["ProductSelect"] = "ProductSelect";
|
|
1398
|
+
ComponentType2["VideoSelect"] = "VideoSelect";
|
|
1399
|
+
ComponentType2["NumberInput"] = "NumberInput";
|
|
1400
|
+
ComponentType2["ColorPicker"] = "ColorPicker";
|
|
1401
|
+
ComponentType2["LinkTarget"] = "LinkTarget";
|
|
1357
1402
|
return ComponentType2;
|
|
1358
1403
|
})(ComponentType || {});
|
|
1359
1404
|
const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
@@ -1395,6 +1440,32 @@ var ProductRelatedPivotDistinctEnum = /* @__PURE__ */ ((ProductRelatedPivotDisti
|
|
|
1395
1440
|
ProductRelatedPivotDistinctEnum2["seqValue"] = "seqValue";
|
|
1396
1441
|
return ProductRelatedPivotDistinctEnum2;
|
|
1397
1442
|
})(ProductRelatedPivotDistinctEnum || {});
|
|
1443
|
+
const FrontComponentEntityName = "FrontComponent";
|
|
1444
|
+
const FrontComponentEntityLabel = "";
|
|
1445
|
+
var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2) => {
|
|
1446
|
+
FrontComponentDistinctEnum2["id"] = "id";
|
|
1447
|
+
FrontComponentDistinctEnum2["name"] = "name";
|
|
1448
|
+
FrontComponentDistinctEnum2["title"] = "title";
|
|
1449
|
+
FrontComponentDistinctEnum2["seqValue"] = "seqValue";
|
|
1450
|
+
FrontComponentDistinctEnum2["content"] = "content";
|
|
1451
|
+
FrontComponentDistinctEnum2["props"] = "props";
|
|
1452
|
+
FrontComponentDistinctEnum2["testConfig"] = "testConfig";
|
|
1453
|
+
FrontComponentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1454
|
+
FrontComponentDistinctEnum2["createdAt"] = "createdAt";
|
|
1455
|
+
FrontComponentDistinctEnum2["slots"] = "slots";
|
|
1456
|
+
FrontComponentDistinctEnum2["droppable"] = "droppable";
|
|
1457
|
+
return FrontComponentDistinctEnum2;
|
|
1458
|
+
})(FrontComponentDistinctEnum || {});
|
|
1459
|
+
const ComponentCategoryEntityName = "ComponentCategory";
|
|
1460
|
+
const ComponentCategoryEntityLabel = "";
|
|
1461
|
+
var ComponentCategoryDistinctEnum = /* @__PURE__ */ ((ComponentCategoryDistinctEnum2) => {
|
|
1462
|
+
ComponentCategoryDistinctEnum2["id"] = "id";
|
|
1463
|
+
ComponentCategoryDistinctEnum2["name"] = "name";
|
|
1464
|
+
ComponentCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1465
|
+
ComponentCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1466
|
+
ComponentCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1467
|
+
return ComponentCategoryDistinctEnum2;
|
|
1468
|
+
})(ComponentCategoryDistinctEnum || {});
|
|
1398
1469
|
class RoleQueryOptions extends QueryOptions {
|
|
1399
1470
|
constructor(fields, queryArgs) {
|
|
1400
1471
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1582,13 +1653,6 @@ class TemplateQueryOptions extends QueryOptions {
|
|
|
1582
1653
|
this.addField("content");
|
|
1583
1654
|
return this;
|
|
1584
1655
|
}
|
|
1585
|
-
/**
|
|
1586
|
-
* 模板类型
|
|
1587
|
-
*/
|
|
1588
|
-
templateType() {
|
|
1589
|
-
this.addField("templateType");
|
|
1590
|
-
return this;
|
|
1591
|
-
}
|
|
1592
1656
|
createdAt() {
|
|
1593
1657
|
this.addField("createdAt");
|
|
1594
1658
|
return this;
|
|
@@ -1630,9 +1694,9 @@ class TemplateQueryOptions extends QueryOptions {
|
|
|
1630
1694
|
return this;
|
|
1631
1695
|
}
|
|
1632
1696
|
}
|
|
1633
|
-
class
|
|
1697
|
+
class ComponentCategoryQueryOptions extends QueryOptions {
|
|
1634
1698
|
constructor(fields, queryArgs) {
|
|
1635
|
-
super(
|
|
1699
|
+
super(ComponentCategoryEntityName, fields, queryArgs);
|
|
1636
1700
|
}
|
|
1637
1701
|
id() {
|
|
1638
1702
|
this.addField("id");
|
|
@@ -1642,186 +1706,168 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
1642
1706
|
this.addField("name");
|
|
1643
1707
|
return this;
|
|
1644
1708
|
}
|
|
1645
|
-
|
|
1646
|
-
this.addField("
|
|
1647
|
-
return this;
|
|
1648
|
-
}
|
|
1649
|
-
settings() {
|
|
1650
|
-
this.addField("settings");
|
|
1651
|
-
return this;
|
|
1652
|
-
}
|
|
1653
|
-
description() {
|
|
1654
|
-
this.addField("description");
|
|
1655
|
-
return this;
|
|
1656
|
-
}
|
|
1657
|
-
createdAt() {
|
|
1658
|
-
this.addField("createdAt");
|
|
1709
|
+
seqValue() {
|
|
1710
|
+
this.addField("seqValue");
|
|
1659
1711
|
return this;
|
|
1660
1712
|
}
|
|
1661
1713
|
updatedAt() {
|
|
1662
1714
|
this.addField("updatedAt");
|
|
1663
1715
|
return this;
|
|
1664
1716
|
}
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
1668
|
-
} else {
|
|
1669
|
-
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
1670
|
-
}
|
|
1671
|
-
return this;
|
|
1672
|
-
}
|
|
1673
|
-
templatesAggregate(aggregate) {
|
|
1674
|
-
this._aggregates["templatesAggregate"] = aggregate;
|
|
1675
|
-
return this;
|
|
1676
|
-
}
|
|
1677
|
-
themlateCategories(options) {
|
|
1678
|
-
if (Array.isArray(options)) {
|
|
1679
|
-
this._associations["themlateCategories"] = new TemplateCategoryQueryOptions(options);
|
|
1680
|
-
} else {
|
|
1681
|
-
this._associations["themlateCategories"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
1682
|
-
}
|
|
1683
|
-
return this;
|
|
1684
|
-
}
|
|
1685
|
-
themlateCategoriesAggregate(aggregate) {
|
|
1686
|
-
this._aggregates["themlateCategoriesAggregate"] = aggregate;
|
|
1687
|
-
return this;
|
|
1688
|
-
}
|
|
1689
|
-
lang(options) {
|
|
1690
|
-
if (Array.isArray(options)) {
|
|
1691
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
1692
|
-
} else {
|
|
1693
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1694
|
-
}
|
|
1717
|
+
createdAt() {
|
|
1718
|
+
this.addField("createdAt");
|
|
1695
1719
|
return this;
|
|
1696
1720
|
}
|
|
1697
|
-
|
|
1721
|
+
components(options) {
|
|
1698
1722
|
if (Array.isArray(options)) {
|
|
1699
|
-
this._associations["
|
|
1723
|
+
this._associations["components"] = new FrontComponentQueryOptions(options);
|
|
1700
1724
|
} else {
|
|
1701
|
-
this._associations["
|
|
1725
|
+
this._associations["components"] = options || new FrontComponentQueryOptions(["id"]);
|
|
1702
1726
|
}
|
|
1703
1727
|
return this;
|
|
1704
1728
|
}
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
this._associations["selectedBy"] = new WebsiteQueryOptions(options);
|
|
1708
|
-
} else {
|
|
1709
|
-
this._associations["selectedBy"] = options || new WebsiteQueryOptions(["id"]);
|
|
1710
|
-
}
|
|
1729
|
+
componentsAggregate(aggregate) {
|
|
1730
|
+
this._aggregates["componentsAggregate"] = aggregate;
|
|
1711
1731
|
return this;
|
|
1712
1732
|
}
|
|
1713
|
-
|
|
1733
|
+
theme(options) {
|
|
1714
1734
|
if (Array.isArray(options)) {
|
|
1715
|
-
this._associations["
|
|
1735
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1716
1736
|
} else {
|
|
1717
|
-
this._associations["
|
|
1737
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1718
1738
|
}
|
|
1719
1739
|
return this;
|
|
1720
1740
|
}
|
|
1721
1741
|
}
|
|
1722
|
-
class
|
|
1742
|
+
class FrontComponentQueryOptions extends QueryOptions {
|
|
1723
1743
|
constructor(fields, queryArgs) {
|
|
1724
|
-
super(
|
|
1744
|
+
super(FrontComponentEntityName, fields, queryArgs);
|
|
1725
1745
|
}
|
|
1726
1746
|
id() {
|
|
1727
1747
|
this.addField("id");
|
|
1728
1748
|
return this;
|
|
1729
1749
|
}
|
|
1750
|
+
name() {
|
|
1751
|
+
this.addField("name");
|
|
1752
|
+
return this;
|
|
1753
|
+
}
|
|
1730
1754
|
title() {
|
|
1731
1755
|
this.addField("title");
|
|
1732
1756
|
return this;
|
|
1733
1757
|
}
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
*/
|
|
1737
|
-
remark() {
|
|
1738
|
-
this.addField("remark");
|
|
1758
|
+
seqValue() {
|
|
1759
|
+
this.addField("seqValue");
|
|
1739
1760
|
return this;
|
|
1740
1761
|
}
|
|
1741
1762
|
content() {
|
|
1742
1763
|
this.addField("content");
|
|
1743
1764
|
return this;
|
|
1744
1765
|
}
|
|
1745
|
-
|
|
1746
|
-
this.addField("
|
|
1766
|
+
props() {
|
|
1767
|
+
this.addField("props");
|
|
1747
1768
|
return this;
|
|
1748
1769
|
}
|
|
1749
|
-
|
|
1750
|
-
this.addField("
|
|
1770
|
+
testConfig() {
|
|
1771
|
+
this.addField("testConfig");
|
|
1751
1772
|
return this;
|
|
1752
1773
|
}
|
|
1753
1774
|
updatedAt() {
|
|
1754
1775
|
this.addField("updatedAt");
|
|
1755
1776
|
return this;
|
|
1756
1777
|
}
|
|
1757
|
-
|
|
1758
|
-
this.addField("
|
|
1778
|
+
createdAt() {
|
|
1779
|
+
this.addField("createdAt");
|
|
1759
1780
|
return this;
|
|
1760
1781
|
}
|
|
1761
|
-
|
|
1762
|
-
this.addField("
|
|
1782
|
+
slots() {
|
|
1783
|
+
this.addField("slots");
|
|
1763
1784
|
return this;
|
|
1764
1785
|
}
|
|
1765
|
-
|
|
1766
|
-
this.addField("
|
|
1786
|
+
droppable() {
|
|
1787
|
+
this.addField("droppable");
|
|
1767
1788
|
return this;
|
|
1768
1789
|
}
|
|
1769
|
-
|
|
1770
|
-
|
|
1790
|
+
category(options) {
|
|
1791
|
+
if (Array.isArray(options)) {
|
|
1792
|
+
this._associations["category"] = new ComponentCategoryQueryOptions(options);
|
|
1793
|
+
} else {
|
|
1794
|
+
this._associations["category"] = options || new ComponentCategoryQueryOptions(["id"]);
|
|
1795
|
+
}
|
|
1771
1796
|
return this;
|
|
1772
1797
|
}
|
|
1773
|
-
|
|
1774
|
-
|
|
1798
|
+
theme(options) {
|
|
1799
|
+
if (Array.isArray(options)) {
|
|
1800
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1801
|
+
} else {
|
|
1802
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1803
|
+
}
|
|
1775
1804
|
return this;
|
|
1776
1805
|
}
|
|
1777
|
-
|
|
1778
|
-
|
|
1806
|
+
}
|
|
1807
|
+
class ThemeQueryOptions extends QueryOptions {
|
|
1808
|
+
constructor(fields, queryArgs) {
|
|
1809
|
+
super(ThemeEntityName, fields, queryArgs);
|
|
1810
|
+
}
|
|
1811
|
+
id() {
|
|
1812
|
+
this.addField("id");
|
|
1779
1813
|
return this;
|
|
1780
1814
|
}
|
|
1781
|
-
|
|
1782
|
-
this.addField("
|
|
1815
|
+
name() {
|
|
1816
|
+
this.addField("name");
|
|
1783
1817
|
return this;
|
|
1784
1818
|
}
|
|
1785
|
-
|
|
1786
|
-
this.addField("
|
|
1819
|
+
styles() {
|
|
1820
|
+
this.addField("styles");
|
|
1787
1821
|
return this;
|
|
1788
1822
|
}
|
|
1789
|
-
|
|
1790
|
-
this.addField("
|
|
1823
|
+
settings() {
|
|
1824
|
+
this.addField("settings");
|
|
1791
1825
|
return this;
|
|
1792
1826
|
}
|
|
1793
|
-
|
|
1794
|
-
this.addField("
|
|
1827
|
+
description() {
|
|
1828
|
+
this.addField("description");
|
|
1795
1829
|
return this;
|
|
1796
1830
|
}
|
|
1797
|
-
|
|
1798
|
-
this.addField("
|
|
1831
|
+
tailwindConfig() {
|
|
1832
|
+
this.addField("tailwindConfig");
|
|
1799
1833
|
return this;
|
|
1800
1834
|
}
|
|
1801
|
-
|
|
1802
|
-
this.addField("
|
|
1835
|
+
css() {
|
|
1836
|
+
this.addField("css");
|
|
1803
1837
|
return this;
|
|
1804
1838
|
}
|
|
1805
|
-
|
|
1806
|
-
this.addField("
|
|
1839
|
+
createdAt() {
|
|
1840
|
+
this.addField("createdAt");
|
|
1807
1841
|
return this;
|
|
1808
1842
|
}
|
|
1809
|
-
|
|
1810
|
-
this.addField("
|
|
1843
|
+
updatedAt() {
|
|
1844
|
+
this.addField("updatedAt");
|
|
1811
1845
|
return this;
|
|
1812
1846
|
}
|
|
1813
|
-
|
|
1814
|
-
|
|
1847
|
+
templates(options) {
|
|
1848
|
+
if (Array.isArray(options)) {
|
|
1849
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
1850
|
+
} else {
|
|
1851
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
1852
|
+
}
|
|
1815
1853
|
return this;
|
|
1816
1854
|
}
|
|
1817
|
-
|
|
1855
|
+
templatesAggregate(aggregate) {
|
|
1856
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
1857
|
+
return this;
|
|
1858
|
+
}
|
|
1859
|
+
themlateCategories(options) {
|
|
1818
1860
|
if (Array.isArray(options)) {
|
|
1819
|
-
this._associations["
|
|
1861
|
+
this._associations["themlateCategories"] = new TemplateCategoryQueryOptions(options);
|
|
1820
1862
|
} else {
|
|
1821
|
-
this._associations["
|
|
1863
|
+
this._associations["themlateCategories"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
1822
1864
|
}
|
|
1823
1865
|
return this;
|
|
1824
1866
|
}
|
|
1867
|
+
themlateCategoriesAggregate(aggregate) {
|
|
1868
|
+
this._aggregates["themlateCategoriesAggregate"] = aggregate;
|
|
1869
|
+
return this;
|
|
1870
|
+
}
|
|
1825
1871
|
lang(options) {
|
|
1826
1872
|
if (Array.isArray(options)) {
|
|
1827
1873
|
this._associations["lang"] = new LangQueryOptions(options);
|
|
@@ -1830,11 +1876,43 @@ class PageQueryOptions extends QueryOptions {
|
|
|
1830
1876
|
}
|
|
1831
1877
|
return this;
|
|
1832
1878
|
}
|
|
1833
|
-
|
|
1879
|
+
cover(options) {
|
|
1880
|
+
if (Array.isArray(options)) {
|
|
1881
|
+
this._associations["cover"] = new MediaQueryOptions(options);
|
|
1882
|
+
} else {
|
|
1883
|
+
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
1884
|
+
}
|
|
1885
|
+
return this;
|
|
1886
|
+
}
|
|
1887
|
+
components(options) {
|
|
1888
|
+
if (Array.isArray(options)) {
|
|
1889
|
+
this._associations["components"] = new FrontComponentQueryOptions(options);
|
|
1890
|
+
} else {
|
|
1891
|
+
this._associations["components"] = options || new FrontComponentQueryOptions(["id"]);
|
|
1892
|
+
}
|
|
1893
|
+
return this;
|
|
1894
|
+
}
|
|
1895
|
+
componentsAggregate(aggregate) {
|
|
1896
|
+
this._aggregates["componentsAggregate"] = aggregate;
|
|
1897
|
+
return this;
|
|
1898
|
+
}
|
|
1899
|
+
componentCategories(options) {
|
|
1900
|
+
if (Array.isArray(options)) {
|
|
1901
|
+
this._associations["componentCategories"] = new ComponentCategoryQueryOptions(options);
|
|
1902
|
+
} else {
|
|
1903
|
+
this._associations["componentCategories"] = options || new ComponentCategoryQueryOptions(["id"]);
|
|
1904
|
+
}
|
|
1905
|
+
return this;
|
|
1906
|
+
}
|
|
1907
|
+
componentCategoriesAggregate(aggregate) {
|
|
1908
|
+
this._aggregates["componentCategoriesAggregate"] = aggregate;
|
|
1909
|
+
return this;
|
|
1910
|
+
}
|
|
1911
|
+
selectedBy(options) {
|
|
1834
1912
|
if (Array.isArray(options)) {
|
|
1835
|
-
this._associations["
|
|
1913
|
+
this._associations["selectedBy"] = new WebsiteQueryOptions(options);
|
|
1836
1914
|
} else {
|
|
1837
|
-
this._associations["
|
|
1915
|
+
this._associations["selectedBy"] = options || new WebsiteQueryOptions(["id"]);
|
|
1838
1916
|
}
|
|
1839
1917
|
return this;
|
|
1840
1918
|
}
|
|
@@ -2040,6 +2118,130 @@ class EnquiryQueryOptions extends QueryOptions {
|
|
|
2040
2118
|
return this;
|
|
2041
2119
|
}
|
|
2042
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
|
+
}
|
|
2043
2245
|
class ProductCategoryQueryOptions extends QueryOptions {
|
|
2044
2246
|
constructor(fields, queryArgs) {
|
|
2045
2247
|
super(ProductCategoryEntityName, fields, queryArgs);
|
|
@@ -2934,14 +3136,6 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
2934
3136
|
}
|
|
2935
3137
|
return this;
|
|
2936
3138
|
}
|
|
2937
|
-
homePage(options) {
|
|
2938
|
-
if (Array.isArray(options)) {
|
|
2939
|
-
this._associations["homePage"] = new PageQueryOptions(options);
|
|
2940
|
-
} else {
|
|
2941
|
-
this._associations["homePage"] = options || new PageQueryOptions(["id"]);
|
|
2942
|
-
}
|
|
2943
|
-
return this;
|
|
2944
|
-
}
|
|
2945
3139
|
owner(options) {
|
|
2946
3140
|
if (Array.isArray(options)) {
|
|
2947
3141
|
this._associations["owner"] = new UserQueryOptions(options);
|
|
@@ -3805,8 +3999,8 @@ class UserQueryOptions extends QueryOptions {
|
|
|
3805
3999
|
/**
|
|
3806
4000
|
* 职位
|
|
3807
4001
|
*/
|
|
3808
|
-
|
|
3809
|
-
this.addField("
|
|
4002
|
+
position() {
|
|
4003
|
+
this.addField("position");
|
|
3810
4004
|
return this;
|
|
3811
4005
|
}
|
|
3812
4006
|
/**
|
|
@@ -4156,6 +4350,16 @@ const productRelatedPivotEntry = {
|
|
|
4156
4350
|
entityLabel: ProductRelatedPivotEntityLabel,
|
|
4157
4351
|
toInput: productRelatedPivotToInput
|
|
4158
4352
|
};
|
|
4353
|
+
const frontComponentEntry = {
|
|
4354
|
+
entityName: FrontComponentEntityName,
|
|
4355
|
+
entityLabel: FrontComponentEntityLabel,
|
|
4356
|
+
toInput: frontComponentToInput
|
|
4357
|
+
};
|
|
4358
|
+
const componentCategoryEntry = {
|
|
4359
|
+
entityName: ComponentCategoryEntityName,
|
|
4360
|
+
entityLabel: ComponentCategoryEntityLabel,
|
|
4361
|
+
toInput: componentCategoryToInput
|
|
4362
|
+
};
|
|
4159
4363
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4160
4364
|
UserFields2["id"] = "id";
|
|
4161
4365
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4165,7 +4369,7 @@ var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
|
4165
4369
|
UserFields2["password"] = "password";
|
|
4166
4370
|
UserFields2["createdAt"] = "createdAt";
|
|
4167
4371
|
UserFields2["updatedAt"] = "updatedAt";
|
|
4168
|
-
UserFields2["
|
|
4372
|
+
UserFields2["position"] = "position";
|
|
4169
4373
|
UserFields2["profile"] = "profile";
|
|
4170
4374
|
UserFields2["userType"] = "userType";
|
|
4171
4375
|
UserFields2["email"] = "email";
|
|
@@ -4290,7 +4494,6 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
|
4290
4494
|
var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
4291
4495
|
WebsiteAssciations2["websiteType"] = "websiteType";
|
|
4292
4496
|
WebsiteAssciations2["selectedTheme"] = "selectedTheme";
|
|
4293
|
-
WebsiteAssciations2["homePage"] = "homePage";
|
|
4294
4497
|
WebsiteAssciations2["owner"] = "owner";
|
|
4295
4498
|
WebsiteAssciations2["users"] = "users";
|
|
4296
4499
|
WebsiteAssciations2["usersAggregate"] = "usersAggregate";
|
|
@@ -4390,6 +4593,7 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
4390
4593
|
PageFields2["id"] = "id";
|
|
4391
4594
|
PageFields2["title"] = "title";
|
|
4392
4595
|
PageFields2["remark"] = "remark";
|
|
4596
|
+
PageFields2["pageType"] = "pageType";
|
|
4393
4597
|
PageFields2["content"] = "content";
|
|
4394
4598
|
PageFields2["extends"] = "extends";
|
|
4395
4599
|
PageFields2["createdAt"] = "createdAt";
|
|
@@ -4414,7 +4618,6 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
4414
4618
|
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
4415
4619
|
PageAssciations2["ogImage"] = "ogImage";
|
|
4416
4620
|
PageAssciations2["lang"] = "lang";
|
|
4417
|
-
PageAssciations2["homeOf"] = "homeOf";
|
|
4418
4621
|
PageAssciations2["website"] = "website";
|
|
4419
4622
|
return PageAssciations2;
|
|
4420
4623
|
})(PageAssciations || {});
|
|
@@ -4574,7 +4777,6 @@ var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
|
4574
4777
|
TemplateFields2["name"] = "name";
|
|
4575
4778
|
TemplateFields2["seqValue"] = "seqValue";
|
|
4576
4779
|
TemplateFields2["content"] = "content";
|
|
4577
|
-
TemplateFields2["templateType"] = "templateType";
|
|
4578
4780
|
TemplateFields2["createdAt"] = "createdAt";
|
|
4579
4781
|
TemplateFields2["updatedAt"] = "updatedAt";
|
|
4580
4782
|
return TemplateFields2;
|
|
@@ -4608,6 +4810,8 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
4608
4810
|
ThemeFields2["styles"] = "styles";
|
|
4609
4811
|
ThemeFields2["settings"] = "settings";
|
|
4610
4812
|
ThemeFields2["description"] = "description";
|
|
4813
|
+
ThemeFields2["tailwindConfig"] = "tailwindConfig";
|
|
4814
|
+
ThemeFields2["css"] = "css";
|
|
4611
4815
|
ThemeFields2["createdAt"] = "createdAt";
|
|
4612
4816
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
4613
4817
|
return ThemeFields2;
|
|
@@ -4619,6 +4823,10 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
4619
4823
|
ThemeAssciations2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
4620
4824
|
ThemeAssciations2["lang"] = "lang";
|
|
4621
4825
|
ThemeAssciations2["cover"] = "cover";
|
|
4826
|
+
ThemeAssciations2["components"] = "components";
|
|
4827
|
+
ThemeAssciations2["componentsAggregate"] = "componentsAggregate";
|
|
4828
|
+
ThemeAssciations2["componentCategories"] = "componentCategories";
|
|
4829
|
+
ThemeAssciations2["componentCategoriesAggregate"] = "componentCategoriesAggregate";
|
|
4622
4830
|
ThemeAssciations2["selectedBy"] = "selectedBy";
|
|
4623
4831
|
ThemeAssciations2["website"] = "website";
|
|
4624
4832
|
return ThemeAssciations2;
|
|
@@ -4769,6 +4977,39 @@ var ProductRelatedPivotAssciations = /* @__PURE__ */ ((ProductRelatedPivotAsscia
|
|
|
4769
4977
|
ProductRelatedPivotAssciations2["source"] = "source";
|
|
4770
4978
|
return ProductRelatedPivotAssciations2;
|
|
4771
4979
|
})(ProductRelatedPivotAssciations || {});
|
|
4980
|
+
var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
|
|
4981
|
+
FrontComponentFields2["id"] = "id";
|
|
4982
|
+
FrontComponentFields2["name"] = "name";
|
|
4983
|
+
FrontComponentFields2["title"] = "title";
|
|
4984
|
+
FrontComponentFields2["seqValue"] = "seqValue";
|
|
4985
|
+
FrontComponentFields2["content"] = "content";
|
|
4986
|
+
FrontComponentFields2["props"] = "props";
|
|
4987
|
+
FrontComponentFields2["testConfig"] = "testConfig";
|
|
4988
|
+
FrontComponentFields2["updatedAt"] = "updatedAt";
|
|
4989
|
+
FrontComponentFields2["createdAt"] = "createdAt";
|
|
4990
|
+
FrontComponentFields2["slots"] = "slots";
|
|
4991
|
+
FrontComponentFields2["droppable"] = "droppable";
|
|
4992
|
+
return FrontComponentFields2;
|
|
4993
|
+
})(FrontComponentFields || {});
|
|
4994
|
+
var FrontComponentAssciations = /* @__PURE__ */ ((FrontComponentAssciations2) => {
|
|
4995
|
+
FrontComponentAssciations2["category"] = "category";
|
|
4996
|
+
FrontComponentAssciations2["theme"] = "theme";
|
|
4997
|
+
return FrontComponentAssciations2;
|
|
4998
|
+
})(FrontComponentAssciations || {});
|
|
4999
|
+
var ComponentCategoryFields = /* @__PURE__ */ ((ComponentCategoryFields2) => {
|
|
5000
|
+
ComponentCategoryFields2["id"] = "id";
|
|
5001
|
+
ComponentCategoryFields2["name"] = "name";
|
|
5002
|
+
ComponentCategoryFields2["seqValue"] = "seqValue";
|
|
5003
|
+
ComponentCategoryFields2["updatedAt"] = "updatedAt";
|
|
5004
|
+
ComponentCategoryFields2["createdAt"] = "createdAt";
|
|
5005
|
+
return ComponentCategoryFields2;
|
|
5006
|
+
})(ComponentCategoryFields || {});
|
|
5007
|
+
var ComponentCategoryAssciations = /* @__PURE__ */ ((ComponentCategoryAssciations2) => {
|
|
5008
|
+
ComponentCategoryAssciations2["components"] = "components";
|
|
5009
|
+
ComponentCategoryAssciations2["componentsAggregate"] = "componentsAggregate";
|
|
5010
|
+
ComponentCategoryAssciations2["theme"] = "theme";
|
|
5011
|
+
return ComponentCategoryAssciations2;
|
|
5012
|
+
})(ComponentCategoryAssciations || {});
|
|
4772
5013
|
export {
|
|
4773
5014
|
AbilityAssciations,
|
|
4774
5015
|
AbilityDistinctEnum,
|
|
@@ -4783,6 +5024,12 @@ export {
|
|
|
4783
5024
|
AttachmentOnProductEntityName,
|
|
4784
5025
|
AttachmentOnProductFields,
|
|
4785
5026
|
AttachmentOnProductQueryOptions,
|
|
5027
|
+
ComponentCategoryAssciations,
|
|
5028
|
+
ComponentCategoryDistinctEnum,
|
|
5029
|
+
ComponentCategoryEntityLabel,
|
|
5030
|
+
ComponentCategoryEntityName,
|
|
5031
|
+
ComponentCategoryFields,
|
|
5032
|
+
ComponentCategoryQueryOptions,
|
|
4786
5033
|
ComponentType,
|
|
4787
5034
|
CustomerAssciations,
|
|
4788
5035
|
CustomerDistinctEnum,
|
|
@@ -4797,6 +5044,12 @@ export {
|
|
|
4797
5044
|
EnquiryFields,
|
|
4798
5045
|
EnquiryQueryOptions,
|
|
4799
5046
|
ExtendFieldType,
|
|
5047
|
+
FrontComponentAssciations,
|
|
5048
|
+
FrontComponentDistinctEnum,
|
|
5049
|
+
FrontComponentEntityLabel,
|
|
5050
|
+
FrontComponentEntityName,
|
|
5051
|
+
FrontComponentFields,
|
|
5052
|
+
FrontComponentQueryOptions,
|
|
4800
5053
|
LangAssciations,
|
|
4801
5054
|
LangDistinctEnum,
|
|
4802
5055
|
LangEntityLabel,
|
|
@@ -4836,6 +5089,7 @@ export {
|
|
|
4836
5089
|
PageEntityName,
|
|
4837
5090
|
PageFields,
|
|
4838
5091
|
PageQueryOptions,
|
|
5092
|
+
PageType,
|
|
4839
5093
|
PersonDistinctEnum,
|
|
4840
5094
|
PostAssciations,
|
|
4841
5095
|
PostCategoryAssciations,
|
|
@@ -4902,7 +5156,6 @@ export {
|
|
|
4902
5156
|
TemplateEntityName,
|
|
4903
5157
|
TemplateFields,
|
|
4904
5158
|
TemplateQueryOptions,
|
|
4905
|
-
TemplateType,
|
|
4906
5159
|
ThemeAssciations,
|
|
4907
5160
|
ThemeDistinctEnum,
|
|
4908
5161
|
ThemeEntityLabel,
|
|
@@ -4946,12 +5199,18 @@ export {
|
|
|
4946
5199
|
attachmentOnProductEntry,
|
|
4947
5200
|
attachmentOnProductToInput,
|
|
4948
5201
|
attachmentOnProductToInputCascade,
|
|
5202
|
+
componentCategoryEntry,
|
|
5203
|
+
componentCategoryToInput,
|
|
5204
|
+
componentCategoryToInputCascade,
|
|
4949
5205
|
customerEntry,
|
|
4950
5206
|
customerToInput,
|
|
4951
5207
|
customerToInputCascade,
|
|
4952
5208
|
enquiryEntry,
|
|
4953
5209
|
enquiryToInput,
|
|
4954
5210
|
enquiryToInputCascade,
|
|
5211
|
+
frontComponentEntry,
|
|
5212
|
+
frontComponentToInput,
|
|
5213
|
+
frontComponentToInputCascade,
|
|
4955
5214
|
langEntry,
|
|
4956
5215
|
langToInput,
|
|
4957
5216
|
langToInputCascade,
|