@rxdrag/rxcms-models 0.2.12 → 0.2.14
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/CustomerQueryOptions.d.ts +6 -13
- package/dist/classes/EnquiryQueryOptions.d.ts +6 -13
- package/dist/classes/LangQueryOptions.d.ts +76 -12
- package/dist/classes/MailQueryOptions.d.ts +20 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +6 -13
- package/dist/classes/MediaQueryOptions.d.ts +6 -4
- package/dist/classes/PageQueryOptions.d.ts +7 -12
- package/dist/classes/PostCategoryQueryOptions.d.ts +8 -13
- package/dist/classes/PostQueryOptions.d.ts +8 -14
- package/dist/classes/ProductCategoryQueryOptions.d.ts +8 -13
- package/dist/classes/ProductQueryOptions.d.ts +8 -14
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +6 -7
- package/dist/classes/TagQueryOptions.d.ts +6 -13
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +6 -13
- package/dist/classes/TemplateQueryOptions.d.ts +6 -13
- package/dist/classes/ThemeQueryOptions.d.ts +4 -12
- package/dist/classes/WebsiteQueryOptions.d.ts +72 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +6 -13
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/mailEntry.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +3 -14
- package/dist/fields/EnquiryFields.d.ts +4 -15
- package/dist/fields/LangFields.d.ts +31 -12
- package/dist/fields/MailFields.d.ts +18 -0
- package/dist/fields/MediaFields.d.ts +4 -6
- package/dist/fields/MediaFolderFields.d.ts +4 -15
- package/dist/fields/PageFields.d.ts +6 -13
- package/dist/fields/PostCategoryFields.d.ts +5 -14
- package/dist/fields/PostFields.d.ts +5 -15
- package/dist/fields/ProductCategoryFields.d.ts +5 -14
- package/dist/fields/ProductFields.d.ts +5 -15
- package/dist/fields/SpamFilterRuleFields.d.ts +3 -8
- package/dist/fields/TagFields.d.ts +4 -15
- package/dist/fields/TemplateCategoryFields.d.ts +4 -15
- package/dist/fields/TemplateFields.d.ts +4 -15
- package/dist/fields/ThemeFields.d.ts +4 -14
- package/dist/fields/WebsiteFields.d.ts +33 -2
- package/dist/fields/WebsiteSettingsFields.d.ts +3 -14
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +1882 -1370
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Customer.d.ts +4 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +4 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +0 -13
- package/dist/interfaces/CustomerInput.d.ts +5 -0
- package/dist/interfaces/Enquiry.d.ts +4 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +4 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -14
- package/dist/interfaces/EnquiryInput.d.ts +4 -0
- package/dist/interfaces/Lang.d.ts +48 -3
- package/dist/interfaces/LangBoolExp.d.ts +32 -3
- package/dist/interfaces/LangDistinctExp.d.ts +2 -14
- package/dist/interfaces/LangInput.d.ts +33 -3
- package/dist/interfaces/LangOrderBy.d.ts +2 -3
- package/dist/interfaces/Mail.d.ts +18 -0
- package/dist/interfaces/MailBoolExp.d.ts +22 -0
- package/dist/interfaces/MailDistinctExp.d.ts +17 -0
- package/dist/interfaces/MailInput.d.ts +19 -0
- package/dist/interfaces/MailOrderBy.d.ts +17 -0
- package/dist/interfaces/MailType.d.ts +18 -0
- package/dist/interfaces/Media.d.ts +6 -2
- package/dist/interfaces/MediaBoolExp.d.ts +6 -2
- package/dist/interfaces/MediaDistinctExp.d.ts +3 -7
- package/dist/interfaces/MediaFolder.d.ts +4 -0
- package/dist/interfaces/MediaFolderBoolExp.d.ts +4 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -14
- package/dist/interfaces/MediaFolderInput.d.ts +4 -0
- package/dist/interfaces/MediaInput.d.ts +6 -2
- package/dist/interfaces/MediaOrderBy.d.ts +2 -2
- package/dist/interfaces/Page.d.ts +3 -2
- package/dist/interfaces/PageBoolExp.d.ts +3 -2
- package/dist/interfaces/PageDistinctExp.d.ts +3 -12
- package/dist/interfaces/PageInput.d.ts +3 -2
- package/dist/interfaces/PageOrderBy.d.ts +0 -2
- package/dist/interfaces/Post.d.ts +4 -0
- package/dist/interfaces/PostBoolExp.d.ts +4 -0
- package/dist/interfaces/PostCategory.d.ts +6 -1
- package/dist/interfaces/PostCategoryBoolExp.d.ts +6 -1
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +4 -14
- package/dist/interfaces/PostCategoryInput.d.ts +6 -1
- package/dist/interfaces/PostCategoryOrderBy.d.ts +2 -1
- package/dist/interfaces/PostDistinctExp.d.ts +2 -14
- package/dist/interfaces/PostInput.d.ts +4 -0
- package/dist/interfaces/Product.d.ts +4 -0
- package/dist/interfaces/ProductBoolExp.d.ts +4 -0
- package/dist/interfaces/ProductCategory.d.ts +6 -1
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +6 -1
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +4 -14
- package/dist/interfaces/ProductCategoryInput.d.ts +6 -1
- package/dist/interfaces/ProductCategoryOrderBy.d.ts +2 -1
- package/dist/interfaces/ProductDistinctExp.d.ts +2 -14
- package/dist/interfaces/ProductInput.d.ts +4 -0
- package/dist/interfaces/PublishableDistinctExp.d.ts +2 -14
- package/dist/interfaces/Slugable.d.ts +5 -0
- package/dist/interfaces/SlugableBoolExp.d.ts +10 -0
- package/dist/interfaces/SlugableDistinctExp.d.ts +6 -0
- package/dist/interfaces/SlugableOrderBy.d.ts +6 -0
- package/dist/interfaces/SpamFilterRule.d.ts +4 -0
- package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +4 -0
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +1 -8
- package/dist/interfaces/SpamFilterRuleInput.d.ts +5 -0
- package/dist/interfaces/Tag.d.ts +4 -0
- package/dist/interfaces/TagBoolExp.d.ts +4 -0
- package/dist/interfaces/TagDistinctExp.d.ts +1 -14
- package/dist/interfaces/TagInput.d.ts +5 -0
- package/dist/interfaces/Template.d.ts +4 -0
- package/dist/interfaces/TemplateBoolExp.d.ts +4 -0
- package/dist/interfaces/TemplateCategory.d.ts +4 -0
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +4 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -14
- package/dist/interfaces/TemplateCategoryInput.d.ts +4 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +1 -14
- package/dist/interfaces/TemplateInput.d.ts +4 -0
- package/dist/interfaces/Theme.d.ts +4 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +4 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +1 -13
- package/dist/interfaces/ThemeInput.d.ts +4 -0
- package/dist/interfaces/ThemeOrderBy.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +44 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +29 -0
- package/dist/interfaces/WebsiteContent.d.ts +2 -2
- package/dist/interfaces/WebsiteContentBoolExp.d.ts +2 -2
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +4 -16
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +2 -2
- package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
- package/dist/interfaces/WebsiteInput.d.ts +29 -0
- package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsitePart.d.ts +3 -5
- package/dist/interfaces/WebsitePartBoolExp.d.ts +4 -6
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -16
- package/dist/interfaces/WebsitePartOrderBy.d.ts +3 -5
- package/dist/interfaces/WebsiteSettings.d.ts +4 -0
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +4 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -14
- package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -0
- package/dist/interfaces/index.d.ts +10 -12
- package/package.json +2 -2
- package/dist/interfaces/BaseEntity.d.ts +0 -15
- package/dist/interfaces/BaseEntityBoolExp.d.ts +0 -12
- package/dist/interfaces/BaseEntityDistinctExp.d.ts +0 -16
- package/dist/interfaces/BaseEntityOrderBy.d.ts +0 -16
- package/dist/interfaces/CustomizeMedia.d.ts +0 -7
- package/dist/interfaces/CustomizeMediaBoolExp.d.ts +0 -9
- package/dist/interfaces/CustomizeMediaDistinctExp.d.ts +0 -8
- package/dist/interfaces/CustomizeMediaOrderBy.d.ts +0 -8
- package/dist/interfaces/MultiLangable.d.ts +0 -4
- package/dist/interfaces/MultiLangableBoolExp.d.ts +0 -9
- package/dist/interfaces/MultiLangableDistinctExp.d.ts +0 -5
- package/dist/interfaces/MultiLangableOrderBy.d.ts +0 -5
package/dist/index.mjs
CHANGED
|
@@ -26,7 +26,39 @@ const aggregateEntities = {
|
|
|
26
26
|
productAttacPivotsAggregate: "AttachmentOnProduct"
|
|
27
27
|
},
|
|
28
28
|
Website: {
|
|
29
|
-
usersAggregate: "User"
|
|
29
|
+
usersAggregate: "User",
|
|
30
|
+
partsOfWebsiteSettingsAggregate: "WebsiteSettings",
|
|
31
|
+
partsOfThemeAggregate: "Theme",
|
|
32
|
+
partsOfTemplateAggregate: "Template",
|
|
33
|
+
partsOfTemplateCategoryAggregate: "TemplateCategory",
|
|
34
|
+
partsOfMediaFolderAggregate: "MediaFolder",
|
|
35
|
+
partsOfEnquiryAggregate: "Enquiry",
|
|
36
|
+
partsOfPageAggregate: "Page",
|
|
37
|
+
partsOfProductAggregate: "Product",
|
|
38
|
+
partsOfPostAggregate: "Post",
|
|
39
|
+
partsOfPostCategoryAggregate: "PostCategory",
|
|
40
|
+
partsOfTagAggregate: "Tag",
|
|
41
|
+
partsOfCustomerAggregate: "Customer",
|
|
42
|
+
partsOfProductCategoryAggregate: "ProductCategory",
|
|
43
|
+
partsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
44
|
+
partsOfMediaAggregate: "Media"
|
|
45
|
+
},
|
|
46
|
+
Lang: {
|
|
47
|
+
webPartsOfWebsiteSettingsAggregate: "WebsiteSettings",
|
|
48
|
+
webPartsOfThemeAggregate: "Theme",
|
|
49
|
+
webPartsOfTemplateAggregate: "Template",
|
|
50
|
+
webPartsOfTemplateCategoryAggregate: "TemplateCategory",
|
|
51
|
+
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
52
|
+
webPartsOfEnquiryAggregate: "Enquiry",
|
|
53
|
+
webPartsOfPageAggregate: "Page",
|
|
54
|
+
webPartsOfProductAggregate: "Product",
|
|
55
|
+
webPartsOfPostAggregate: "Post",
|
|
56
|
+
webPartsOfPostCategoryAggregate: "PostCategory",
|
|
57
|
+
webPartsOfTagAggregate: "Tag",
|
|
58
|
+
webPartsOfCustomerAggregate: "Customer",
|
|
59
|
+
webPartsOfProductCategoryAggregate: "ProductCategory",
|
|
60
|
+
webPartsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
61
|
+
webPartsOfMediaAggregate: "Media"
|
|
30
62
|
},
|
|
31
63
|
WebsiteType: {
|
|
32
64
|
websitesAggregate: "Website"
|
|
@@ -240,118 +272,159 @@ const roleToInput = (entity) => {
|
|
|
240
272
|
users: convertHasManyToInput(entity.users)
|
|
241
273
|
};
|
|
242
274
|
};
|
|
243
|
-
const
|
|
244
|
-
var _a
|
|
245
|
-
const {
|
|
275
|
+
const websiteTypeToInputCascade = (entity) => {
|
|
276
|
+
var _a;
|
|
277
|
+
const { websitesAggregate, ...rest } = entity;
|
|
246
278
|
return {
|
|
247
279
|
...rest,
|
|
248
|
-
|
|
249
|
-
parent: entity.parent ? processHasOneClear({ sync: mediaFolderToInput(entity.parent) }) : void 0,
|
|
250
|
-
medias: entity.medias ? processHasManyClear({ sync: (_b = entity.medias) == null ? void 0 : _b.map((ent) => mediaToInput(ent)) }) : void 0
|
|
280
|
+
websites: entity.websites ? processHasManyClear({ sync: (_a = entity.websites) == null ? void 0 : _a.map((ent) => websiteToInput(ent)) }) : void 0
|
|
251
281
|
};
|
|
252
282
|
};
|
|
253
|
-
const
|
|
254
|
-
const {
|
|
283
|
+
const websiteTypeToInput = (entity) => {
|
|
284
|
+
const { websitesAggregate, ...rest } = entity;
|
|
255
285
|
return {
|
|
256
286
|
...rest,
|
|
257
|
-
|
|
258
|
-
parent: convertHasOneToInput(entity.parent),
|
|
259
|
-
medias: convertHasManyToInput(entity.medias)
|
|
287
|
+
websites: convertHasManyToInput(entity.websites)
|
|
260
288
|
};
|
|
261
289
|
};
|
|
262
|
-
const
|
|
263
|
-
var _a
|
|
264
|
-
const {
|
|
290
|
+
const templateCategoryToInputCascade = (entity) => {
|
|
291
|
+
var _a;
|
|
292
|
+
const { templatesAggregate, ...rest } = entity;
|
|
265
293
|
return {
|
|
266
294
|
...rest,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
295
|
+
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
296
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
297
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0,
|
|
298
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
271
299
|
};
|
|
272
300
|
};
|
|
273
|
-
const
|
|
274
|
-
const {
|
|
301
|
+
const templateCategoryToInput = (entity) => {
|
|
302
|
+
const { templatesAggregate, ...rest } = entity;
|
|
275
303
|
return {
|
|
276
304
|
...rest,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
305
|
+
templates: convertHasManyToInput(entity.templates),
|
|
306
|
+
lang: convertHasOneToInput(entity.lang),
|
|
307
|
+
theme: convertHasOneToInput(entity.theme),
|
|
308
|
+
website: convertHasOneToInput(entity.website)
|
|
281
309
|
};
|
|
282
310
|
};
|
|
283
|
-
const
|
|
311
|
+
const templateToInputCascade = (entity) => {
|
|
284
312
|
return {
|
|
285
313
|
...entity,
|
|
286
|
-
|
|
287
|
-
|
|
314
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
315
|
+
category: entity.category ? processHasOneClear({ sync: templateCategoryToInput(entity.category) }) : void 0,
|
|
316
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0,
|
|
317
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
288
318
|
};
|
|
289
319
|
};
|
|
290
|
-
const
|
|
320
|
+
const templateToInput = (entity) => {
|
|
291
321
|
return {
|
|
292
322
|
...entity,
|
|
293
|
-
|
|
294
|
-
|
|
323
|
+
lang: convertHasOneToInput(entity.lang),
|
|
324
|
+
category: convertHasOneToInput(entity.category),
|
|
325
|
+
theme: convertHasOneToInput(entity.theme),
|
|
326
|
+
website: convertHasOneToInput(entity.website)
|
|
295
327
|
};
|
|
296
328
|
};
|
|
297
|
-
const
|
|
329
|
+
const themeToInputCascade = (entity) => {
|
|
330
|
+
var _a, _b;
|
|
331
|
+
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
332
|
+
return {
|
|
333
|
+
...rest,
|
|
334
|
+
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
335
|
+
themlateCategories: entity.themlateCategories ? processHasManyClear({ sync: (_b = entity.themlateCategories) == null ? void 0 : _b.map((ent) => templateCategoryToInput(ent)) }) : void 0,
|
|
336
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
337
|
+
selectedBy: entity.selectedBy ? processHasOneClear({ sync: websiteToInput(entity.selectedBy) }) : void 0,
|
|
338
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
const themeToInput = (entity) => {
|
|
342
|
+
const { templatesAggregate, themlateCategoriesAggregate, ...rest } = entity;
|
|
343
|
+
return {
|
|
344
|
+
...rest,
|
|
345
|
+
templates: convertHasManyToInput(entity.templates),
|
|
346
|
+
themlateCategories: convertHasManyToInput(entity.themlateCategories),
|
|
347
|
+
lang: convertHasOneToInput(entity.lang),
|
|
348
|
+
selectedBy: convertHasOneToInput(entity.selectedBy),
|
|
349
|
+
website: convertHasOneToInput(entity.website)
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
const pageToInputCascade = (entity) => {
|
|
298
353
|
return {
|
|
299
354
|
...entity,
|
|
300
|
-
|
|
301
|
-
|
|
355
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
356
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
357
|
+
homeOf: entity.homeOf ? processHasOneClear({ sync: websiteToInput(entity.homeOf) }) : void 0,
|
|
358
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
302
359
|
};
|
|
303
360
|
};
|
|
304
|
-
const
|
|
361
|
+
const pageToInput = (entity) => {
|
|
305
362
|
return {
|
|
306
363
|
...entity,
|
|
307
|
-
|
|
308
|
-
|
|
364
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
365
|
+
lang: convertHasOneToInput(entity.lang),
|
|
366
|
+
homeOf: convertHasOneToInput(entity.homeOf),
|
|
367
|
+
website: convertHasOneToInput(entity.website)
|
|
309
368
|
};
|
|
310
369
|
};
|
|
311
|
-
const
|
|
312
|
-
var _a
|
|
313
|
-
const {
|
|
370
|
+
const customerToInputCascade = (entity) => {
|
|
371
|
+
var _a;
|
|
372
|
+
const { enquiresAggregate, ...rest } = entity;
|
|
314
373
|
return {
|
|
315
374
|
...rest,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
draftOf: entity.draftOf ? processHasOneClear({ sync: productToInput(entity.draftOf) }) : void 0,
|
|
320
|
-
mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) => mediaOnProductToInput(ent)) }) : void 0,
|
|
321
|
-
attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) => attachmentOnProductToInput(ent)) }) : void 0,
|
|
322
|
-
creator: entity.creator ? processHasOneClear({ sync: userToInput(entity.creator) }) : void 0,
|
|
323
|
-
draft: entity.draft ? processHasOneClear({ sync: productToInput(entity.draft) }) : void 0
|
|
375
|
+
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0,
|
|
376
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
377
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
324
378
|
};
|
|
325
379
|
};
|
|
326
|
-
const
|
|
327
|
-
const {
|
|
380
|
+
const customerToInput = (entity) => {
|
|
381
|
+
const { enquiresAggregate, ...rest } = entity;
|
|
328
382
|
return {
|
|
329
383
|
...rest,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
draftOf: convertHasOneToInput(entity.draftOf),
|
|
334
|
-
mediaPivots: convertHasManyToInput(entity.mediaPivots),
|
|
335
|
-
attachmentPivots: convertHasManyToInput(entity.attachmentPivots),
|
|
336
|
-
creator: convertHasOneToInput(entity.creator),
|
|
337
|
-
draft: convertHasOneToInput(entity.draft)
|
|
384
|
+
enquires: convertHasManyToInput(entity.enquires),
|
|
385
|
+
lang: convertHasOneToInput(entity.lang),
|
|
386
|
+
website: convertHasOneToInput(entity.website)
|
|
338
387
|
};
|
|
339
388
|
};
|
|
340
|
-
const
|
|
389
|
+
const enquiryToInputCascade = (entity) => {
|
|
390
|
+
return {
|
|
391
|
+
...entity,
|
|
392
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
393
|
+
customer: entity.customer ? processHasOneClear({ sync: customerToInput(entity.customer) }) : void 0,
|
|
394
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
const enquiryToInput = (entity) => {
|
|
398
|
+
return {
|
|
399
|
+
...entity,
|
|
400
|
+
lang: convertHasOneToInput(entity.lang),
|
|
401
|
+
customer: convertHasOneToInput(entity.customer),
|
|
402
|
+
website: convertHasOneToInput(entity.website)
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
const productCategoryToInputCascade = (entity) => {
|
|
341
406
|
var _a, _b;
|
|
342
|
-
const {
|
|
407
|
+
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
343
408
|
return {
|
|
344
409
|
...rest,
|
|
345
|
-
|
|
346
|
-
|
|
410
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
411
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInput(entity.media) }) : void 0,
|
|
412
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
413
|
+
parent: entity.parent ? processHasOneClear({ sync: productCategoryToInput(entity.parent) }) : void 0,
|
|
414
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
415
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
347
416
|
};
|
|
348
417
|
};
|
|
349
|
-
const
|
|
350
|
-
const {
|
|
418
|
+
const productCategoryToInput = (entity) => {
|
|
419
|
+
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
351
420
|
return {
|
|
352
421
|
...rest,
|
|
353
|
-
|
|
354
|
-
|
|
422
|
+
children: convertHasManyToInput(entity.children),
|
|
423
|
+
media: convertHasOneToInput(entity.media),
|
|
424
|
+
lang: convertHasOneToInput(entity.lang),
|
|
425
|
+
parent: convertHasOneToInput(entity.parent),
|
|
426
|
+
products: convertHasManyToInput(entity.products),
|
|
427
|
+
website: convertHasOneToInput(entity.website)
|
|
355
428
|
};
|
|
356
429
|
};
|
|
357
430
|
const postCategoryToInputCascade = (entity) => {
|
|
@@ -361,7 +434,9 @@ const postCategoryToInputCascade = (entity) => {
|
|
|
361
434
|
...rest,
|
|
362
435
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
363
436
|
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInput(ent)) }) : void 0,
|
|
364
|
-
|
|
437
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
438
|
+
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInput(entity.parent) }) : void 0,
|
|
439
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
365
440
|
};
|
|
366
441
|
};
|
|
367
442
|
const postCategoryToInput = (entity) => {
|
|
@@ -370,7 +445,9 @@ const postCategoryToInput = (entity) => {
|
|
|
370
445
|
...rest,
|
|
371
446
|
children: convertHasManyToInput(entity.children),
|
|
372
447
|
posts: convertHasManyToInput(entity.posts),
|
|
373
|
-
|
|
448
|
+
lang: convertHasOneToInput(entity.lang),
|
|
449
|
+
parent: convertHasOneToInput(entity.parent),
|
|
450
|
+
website: convertHasOneToInput(entity.website)
|
|
374
451
|
};
|
|
375
452
|
};
|
|
376
453
|
const postToInputCascade = (entity) => {
|
|
@@ -383,8 +460,10 @@ const postToInputCascade = (entity) => {
|
|
|
383
460
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
384
461
|
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
385
462
|
draftOf: entity.draftOf ? processHasOneClear({ sync: postToInput(entity.draftOf) }) : void 0,
|
|
463
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
386
464
|
category: entity.category ? processHasOneClear({ sync: postCategoryToInput(entity.category) }) : void 0,
|
|
387
|
-
draft: entity.draft ? processHasOneClear({ sync: postToInput(entity.draft) }) : void 0
|
|
465
|
+
draft: entity.draft ? processHasOneClear({ sync: postToInput(entity.draft) }) : void 0,
|
|
466
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
388
467
|
};
|
|
389
468
|
};
|
|
390
469
|
const postToInput = (entity) => {
|
|
@@ -396,110 +475,239 @@ const postToInput = (entity) => {
|
|
|
396
475
|
cover: convertHasOneToInput(entity.cover),
|
|
397
476
|
ogImage: convertHasOneToInput(entity.ogImage),
|
|
398
477
|
draftOf: convertHasOneToInput(entity.draftOf),
|
|
478
|
+
lang: convertHasOneToInput(entity.lang),
|
|
399
479
|
category: convertHasOneToInput(entity.category),
|
|
400
|
-
draft: convertHasOneToInput(entity.draft)
|
|
480
|
+
draft: convertHasOneToInput(entity.draft),
|
|
481
|
+
website: convertHasOneToInput(entity.website)
|
|
401
482
|
};
|
|
402
483
|
};
|
|
403
|
-
const
|
|
404
|
-
var _a;
|
|
405
|
-
const {
|
|
484
|
+
const tagToInputCascade = (entity) => {
|
|
485
|
+
var _a, _b;
|
|
486
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
406
487
|
return {
|
|
407
488
|
...rest,
|
|
408
|
-
|
|
489
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
490
|
+
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
491
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
492
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
409
493
|
};
|
|
410
494
|
};
|
|
411
|
-
const
|
|
412
|
-
const {
|
|
495
|
+
const tagToInput = (entity) => {
|
|
496
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
413
497
|
return {
|
|
414
498
|
...rest,
|
|
415
|
-
|
|
499
|
+
lang: convertHasOneToInput(entity.lang),
|
|
500
|
+
posts: convertHasManyToInput(entity.posts),
|
|
501
|
+
products: convertHasManyToInput(entity.products),
|
|
502
|
+
website: convertHasOneToInput(entity.website)
|
|
416
503
|
};
|
|
417
504
|
};
|
|
418
|
-
const
|
|
419
|
-
var _a;
|
|
420
|
-
const { templatesAggregate, ...rest } = entity;
|
|
505
|
+
const mediaOnProductToInputCascade = (entity) => {
|
|
421
506
|
return {
|
|
422
|
-
...
|
|
423
|
-
|
|
424
|
-
|
|
507
|
+
...entity,
|
|
508
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInput(entity.media) }) : void 0,
|
|
509
|
+
product: entity.product ? processHasOneClear({ sync: productToInput(entity.product) }) : void 0
|
|
425
510
|
};
|
|
426
511
|
};
|
|
427
|
-
const
|
|
428
|
-
const { templatesAggregate, ...rest } = entity;
|
|
512
|
+
const mediaOnProductToInput = (entity) => {
|
|
429
513
|
return {
|
|
430
|
-
...
|
|
431
|
-
|
|
432
|
-
|
|
514
|
+
...entity,
|
|
515
|
+
media: convertHasOneToInput(entity.media),
|
|
516
|
+
product: convertHasOneToInput(entity.product)
|
|
433
517
|
};
|
|
434
518
|
};
|
|
435
|
-
const
|
|
519
|
+
const attachmentOnProductToInputCascade = (entity) => {
|
|
436
520
|
return {
|
|
437
521
|
...entity,
|
|
438
|
-
|
|
439
|
-
|
|
522
|
+
attachment: entity.attachment ? processHasOneClear({ sync: mediaToInput(entity.attachment) }) : void 0,
|
|
523
|
+
product: entity.product ? processHasOneClear({ sync: productToInput(entity.product) }) : void 0
|
|
440
524
|
};
|
|
441
525
|
};
|
|
442
|
-
const
|
|
526
|
+
const attachmentOnProductToInput = (entity) => {
|
|
443
527
|
return {
|
|
444
528
|
...entity,
|
|
445
|
-
|
|
446
|
-
|
|
529
|
+
attachment: convertHasOneToInput(entity.attachment),
|
|
530
|
+
product: convertHasOneToInput(entity.product)
|
|
447
531
|
};
|
|
448
532
|
};
|
|
449
|
-
const
|
|
450
|
-
var _a, _b;
|
|
451
|
-
const {
|
|
533
|
+
const productToInputCascade = (entity) => {
|
|
534
|
+
var _a, _b, _c;
|
|
535
|
+
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, ...rest } = entity;
|
|
452
536
|
return {
|
|
453
537
|
...rest,
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
538
|
+
category: entity.category ? processHasOneClear({ sync: productCategoryToInput(entity.category) }) : void 0,
|
|
539
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
|
|
540
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
541
|
+
draftOf: entity.draftOf ? processHasOneClear({ sync: productToInput(entity.draftOf) }) : void 0,
|
|
542
|
+
mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) => mediaOnProductToInput(ent)) }) : void 0,
|
|
543
|
+
attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) => attachmentOnProductToInput(ent)) }) : void 0,
|
|
544
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
545
|
+
creator: entity.creator ? processHasOneClear({ sync: userToInput(entity.creator) }) : void 0,
|
|
546
|
+
draft: entity.draft ? processHasOneClear({ sync: productToInput(entity.draft) }) : void 0,
|
|
547
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
457
548
|
};
|
|
458
549
|
};
|
|
459
|
-
const
|
|
460
|
-
const {
|
|
550
|
+
const productToInput = (entity) => {
|
|
551
|
+
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, ...rest } = entity;
|
|
461
552
|
return {
|
|
462
553
|
...rest,
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
554
|
+
category: convertHasOneToInput(entity.category),
|
|
555
|
+
tags: convertHasManyToInput(entity.tags),
|
|
556
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
557
|
+
draftOf: convertHasOneToInput(entity.draftOf),
|
|
558
|
+
mediaPivots: convertHasManyToInput(entity.mediaPivots),
|
|
559
|
+
attachmentPivots: convertHasManyToInput(entity.attachmentPivots),
|
|
560
|
+
lang: convertHasOneToInput(entity.lang),
|
|
561
|
+
creator: convertHasOneToInput(entity.creator),
|
|
562
|
+
draft: convertHasOneToInput(entity.draft),
|
|
563
|
+
website: convertHasOneToInput(entity.website)
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
const spamFilterRuleToInputCascade = (entity) => {
|
|
567
|
+
return {
|
|
568
|
+
...entity,
|
|
569
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
570
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
const spamFilterRuleToInput = (entity) => {
|
|
574
|
+
return {
|
|
575
|
+
...entity,
|
|
576
|
+
lang: convertHasOneToInput(entity.lang),
|
|
577
|
+
website: convertHasOneToInput(entity.website)
|
|
466
578
|
};
|
|
467
579
|
};
|
|
468
580
|
const websiteToInputCascade = (entity) => {
|
|
469
|
-
var _a;
|
|
470
|
-
const { usersAggregate, ...rest } = entity;
|
|
581
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
|
582
|
+
const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfThemeAggregate, partsOfTemplateAggregate, partsOfTemplateCategoryAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfPageAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, ...rest } = entity;
|
|
471
583
|
return {
|
|
472
584
|
...rest,
|
|
473
585
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
474
586
|
selectedTheme: entity.selectedTheme ? processHasOneClear({ sync: themeToInput(entity.selectedTheme) }) : void 0,
|
|
475
587
|
homePage: entity.homePage ? processHasOneClear({ sync: pageToInput(entity.homePage) }) : void 0,
|
|
476
588
|
owner: entity.owner ? processHasOneClear({ sync: userToInput(entity.owner) }) : void 0,
|
|
477
|
-
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0
|
|
589
|
+
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0,
|
|
590
|
+
partsOfWebsiteSettings: entity.partsOfWebsiteSettings ? processHasManyClear({ sync: (_b = entity.partsOfWebsiteSettings) == null ? void 0 : _b.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
591
|
+
partsOfTheme: entity.partsOfTheme ? processHasManyClear({ sync: (_c = entity.partsOfTheme) == null ? void 0 : _c.map((ent) => themeToInput(ent)) }) : void 0,
|
|
592
|
+
partsOfTemplate: entity.partsOfTemplate ? processHasManyClear({ sync: (_d = entity.partsOfTemplate) == null ? void 0 : _d.map((ent) => templateToInput(ent)) }) : void 0,
|
|
593
|
+
partsOfTemplateCategory: entity.partsOfTemplateCategory ? processHasManyClear({ sync: (_e = entity.partsOfTemplateCategory) == null ? void 0 : _e.map((ent) => templateCategoryToInput(ent)) }) : void 0,
|
|
594
|
+
partsOfMediaFolder: entity.partsOfMediaFolder ? processHasManyClear({ sync: (_f = entity.partsOfMediaFolder) == null ? void 0 : _f.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
595
|
+
partsOfEnquiry: entity.partsOfEnquiry ? processHasManyClear({ sync: (_g = entity.partsOfEnquiry) == null ? void 0 : _g.map((ent) => enquiryToInput(ent)) }) : void 0,
|
|
596
|
+
partsOfPage: entity.partsOfPage ? processHasManyClear({ sync: (_h = entity.partsOfPage) == null ? void 0 : _h.map((ent) => pageToInput(ent)) }) : void 0,
|
|
597
|
+
partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_i = entity.partsOfProduct) == null ? void 0 : _i.map((ent) => productToInput(ent)) }) : void 0,
|
|
598
|
+
partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_j = entity.partsOfPost) == null ? void 0 : _j.map((ent) => postToInput(ent)) }) : void 0,
|
|
599
|
+
partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_k = entity.partsOfPostCategory) == null ? void 0 : _k.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
600
|
+
partsOfTag: entity.partsOfTag ? processHasManyClear({ sync: (_l = entity.partsOfTag) == null ? void 0 : _l.map((ent) => tagToInput(ent)) }) : void 0,
|
|
601
|
+
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_m = entity.partsOfCustomer) == null ? void 0 : _m.map((ent) => customerToInput(ent)) }) : void 0,
|
|
602
|
+
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_n = entity.partsOfProductCategory) == null ? void 0 : _n.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
603
|
+
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_o = entity.partsOfSpamFilterRule) == null ? void 0 : _o.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
604
|
+
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_p = entity.partsOfMedia) == null ? void 0 : _p.map((ent) => mediaToInput(ent)) }) : void 0
|
|
478
605
|
};
|
|
479
606
|
};
|
|
480
607
|
const websiteToInput = (entity) => {
|
|
481
|
-
const { usersAggregate, ...rest } = entity;
|
|
608
|
+
const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfThemeAggregate, partsOfTemplateAggregate, partsOfTemplateCategoryAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfPageAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, ...rest } = entity;
|
|
482
609
|
return {
|
|
483
610
|
...rest,
|
|
484
611
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
485
612
|
selectedTheme: convertHasOneToInput(entity.selectedTheme),
|
|
486
613
|
homePage: convertHasOneToInput(entity.homePage),
|
|
487
614
|
owner: convertHasOneToInput(entity.owner),
|
|
488
|
-
users: convertHasManyToInput(entity.users)
|
|
615
|
+
users: convertHasManyToInput(entity.users),
|
|
616
|
+
partsOfWebsiteSettings: convertHasManyToInput(entity.partsOfWebsiteSettings),
|
|
617
|
+
partsOfTheme: convertHasManyToInput(entity.partsOfTheme),
|
|
618
|
+
partsOfTemplate: convertHasManyToInput(entity.partsOfTemplate),
|
|
619
|
+
partsOfTemplateCategory: convertHasManyToInput(entity.partsOfTemplateCategory),
|
|
620
|
+
partsOfMediaFolder: convertHasManyToInput(entity.partsOfMediaFolder),
|
|
621
|
+
partsOfEnquiry: convertHasManyToInput(entity.partsOfEnquiry),
|
|
622
|
+
partsOfPage: convertHasManyToInput(entity.partsOfPage),
|
|
623
|
+
partsOfProduct: convertHasManyToInput(entity.partsOfProduct),
|
|
624
|
+
partsOfPost: convertHasManyToInput(entity.partsOfPost),
|
|
625
|
+
partsOfPostCategory: convertHasManyToInput(entity.partsOfPostCategory),
|
|
626
|
+
partsOfTag: convertHasManyToInput(entity.partsOfTag),
|
|
627
|
+
partsOfCustomer: convertHasManyToInput(entity.partsOfCustomer),
|
|
628
|
+
partsOfProductCategory: convertHasManyToInput(entity.partsOfProductCategory),
|
|
629
|
+
partsOfSpamFilterRule: convertHasManyToInput(entity.partsOfSpamFilterRule),
|
|
630
|
+
partsOfMedia: convertHasManyToInput(entity.partsOfMedia)
|
|
489
631
|
};
|
|
490
632
|
};
|
|
491
|
-
const
|
|
633
|
+
const websiteSettingsToInputCascade = (entity) => {
|
|
492
634
|
return {
|
|
493
635
|
...entity,
|
|
494
|
-
|
|
495
|
-
|
|
636
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
637
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
496
638
|
};
|
|
497
639
|
};
|
|
498
|
-
const
|
|
640
|
+
const websiteSettingsToInput = (entity) => {
|
|
499
641
|
return {
|
|
500
642
|
...entity,
|
|
501
|
-
|
|
502
|
-
|
|
643
|
+
lang: convertHasOneToInput(entity.lang),
|
|
644
|
+
website: convertHasOneToInput(entity.website)
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
const langToInputCascade = (entity) => {
|
|
648
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
649
|
+
const { webPartsOfWebsiteSettingsAggregate, webPartsOfThemeAggregate, webPartsOfTemplateAggregate, webPartsOfTemplateCategoryAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfPageAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, ...rest } = entity;
|
|
650
|
+
return {
|
|
651
|
+
...rest,
|
|
652
|
+
webPartsOfWebsiteSettings: entity.webPartsOfWebsiteSettings ? processHasManyClear({ sync: (_a = entity.webPartsOfWebsiteSettings) == null ? void 0 : _a.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
|
|
653
|
+
webPartsOfTheme: entity.webPartsOfTheme ? processHasManyClear({ sync: (_b = entity.webPartsOfTheme) == null ? void 0 : _b.map((ent) => themeToInput(ent)) }) : void 0,
|
|
654
|
+
webPartsOfTemplate: entity.webPartsOfTemplate ? processHasManyClear({ sync: (_c = entity.webPartsOfTemplate) == null ? void 0 : _c.map((ent) => templateToInput(ent)) }) : void 0,
|
|
655
|
+
webPartsOfTemplateCategory: entity.webPartsOfTemplateCategory ? processHasManyClear({ sync: (_d = entity.webPartsOfTemplateCategory) == null ? void 0 : _d.map((ent) => templateCategoryToInput(ent)) }) : void 0,
|
|
656
|
+
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_e = entity.webPartsOfMediaFolder) == null ? void 0 : _e.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
657
|
+
webPartsOfEnquiry: entity.webPartsOfEnquiry ? processHasManyClear({ sync: (_f = entity.webPartsOfEnquiry) == null ? void 0 : _f.map((ent) => enquiryToInput(ent)) }) : void 0,
|
|
658
|
+
webPartsOfPage: entity.webPartsOfPage ? processHasManyClear({ sync: (_g = entity.webPartsOfPage) == null ? void 0 : _g.map((ent) => pageToInput(ent)) }) : void 0,
|
|
659
|
+
webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_h = entity.webPartsOfProduct) == null ? void 0 : _h.map((ent) => productToInput(ent)) }) : void 0,
|
|
660
|
+
webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_i = entity.webPartsOfPost) == null ? void 0 : _i.map((ent) => postToInput(ent)) }) : void 0,
|
|
661
|
+
webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_j = entity.webPartsOfPostCategory) == null ? void 0 : _j.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
662
|
+
webPartsOfTag: entity.webPartsOfTag ? processHasManyClear({ sync: (_k = entity.webPartsOfTag) == null ? void 0 : _k.map((ent) => tagToInput(ent)) }) : void 0,
|
|
663
|
+
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_l = entity.webPartsOfCustomer) == null ? void 0 : _l.map((ent) => customerToInput(ent)) }) : void 0,
|
|
664
|
+
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_m = entity.webPartsOfProductCategory) == null ? void 0 : _m.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
665
|
+
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_n = entity.webPartsOfSpamFilterRule) == null ? void 0 : _n.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
666
|
+
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_o = entity.webPartsOfMedia) == null ? void 0 : _o.map((ent) => mediaToInput(ent)) }) : void 0
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
const langToInput = (entity) => {
|
|
670
|
+
const { webPartsOfWebsiteSettingsAggregate, webPartsOfThemeAggregate, webPartsOfTemplateAggregate, webPartsOfTemplateCategoryAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfPageAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, ...rest } = entity;
|
|
671
|
+
return {
|
|
672
|
+
...rest,
|
|
673
|
+
webPartsOfWebsiteSettings: convertHasManyToInput(entity.webPartsOfWebsiteSettings),
|
|
674
|
+
webPartsOfTheme: convertHasManyToInput(entity.webPartsOfTheme),
|
|
675
|
+
webPartsOfTemplate: convertHasManyToInput(entity.webPartsOfTemplate),
|
|
676
|
+
webPartsOfTemplateCategory: convertHasManyToInput(entity.webPartsOfTemplateCategory),
|
|
677
|
+
webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
|
|
678
|
+
webPartsOfEnquiry: convertHasManyToInput(entity.webPartsOfEnquiry),
|
|
679
|
+
webPartsOfPage: convertHasManyToInput(entity.webPartsOfPage),
|
|
680
|
+
webPartsOfProduct: convertHasManyToInput(entity.webPartsOfProduct),
|
|
681
|
+
webPartsOfPost: convertHasManyToInput(entity.webPartsOfPost),
|
|
682
|
+
webPartsOfPostCategory: convertHasManyToInput(entity.webPartsOfPostCategory),
|
|
683
|
+
webPartsOfTag: convertHasManyToInput(entity.webPartsOfTag),
|
|
684
|
+
webPartsOfCustomer: convertHasManyToInput(entity.webPartsOfCustomer),
|
|
685
|
+
webPartsOfProductCategory: convertHasManyToInput(entity.webPartsOfProductCategory),
|
|
686
|
+
webPartsOfSpamFilterRule: convertHasManyToInput(entity.webPartsOfSpamFilterRule),
|
|
687
|
+
webPartsOfMedia: convertHasManyToInput(entity.webPartsOfMedia)
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
const mediaFolderToInputCascade = (entity) => {
|
|
691
|
+
var _a, _b;
|
|
692
|
+
const { childrenAggregate, mediasAggregate, ...rest } = entity;
|
|
693
|
+
return {
|
|
694
|
+
...rest,
|
|
695
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
696
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
697
|
+
parent: entity.parent ? processHasOneClear({ sync: mediaFolderToInput(entity.parent) }) : void 0,
|
|
698
|
+
medias: entity.medias ? processHasManyClear({ sync: (_b = entity.medias) == null ? void 0 : _b.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
699
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
const mediaFolderToInput = (entity) => {
|
|
703
|
+
const { childrenAggregate, mediasAggregate, ...rest } = entity;
|
|
704
|
+
return {
|
|
705
|
+
...rest,
|
|
706
|
+
children: convertHasManyToInput(entity.children),
|
|
707
|
+
lang: convertHasOneToInput(entity.lang),
|
|
708
|
+
parent: convertHasOneToInput(entity.parent),
|
|
709
|
+
medias: convertHasManyToInput(entity.medias),
|
|
710
|
+
website: convertHasOneToInput(entity.website)
|
|
503
711
|
};
|
|
504
712
|
};
|
|
505
713
|
const mediaToInputCascade = (entity) => {
|
|
@@ -508,6 +716,7 @@ const mediaToInputCascade = (entity) => {
|
|
|
508
716
|
return {
|
|
509
717
|
...rest,
|
|
510
718
|
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInput(entity.folder) }) : void 0,
|
|
719
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
511
720
|
coverOf: entity.coverOf ? processHasManyClear({ sync: (_a = entity.coverOf) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
512
721
|
avatarOfUser: entity.avatarOfUser ? processHasOneClear({ sync: userToInput(entity.avatarOfUser) }) : void 0,
|
|
513
722
|
ogMetaOfPage: entity.ogMetaOfPage ? processHasManyClear({ sync: (_b = entity.ogMetaOfPage) == null ? void 0 : _b.map((ent) => pageToInput(ent)) }) : void 0,
|
|
@@ -515,7 +724,8 @@ const mediaToInputCascade = (entity) => {
|
|
|
515
724
|
ogMetaOfPost: entity.ogMetaOfPost ? processHasManyClear({ sync: (_d = entity.ogMetaOfPost) == null ? void 0 : _d.map((ent) => postToInput(ent)) }) : void 0,
|
|
516
725
|
meidaOfProduct: entity.meidaOfProduct ? processHasManyClear({ sync: (_e = entity.meidaOfProduct) == null ? void 0 : _e.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
517
726
|
productMediaPivots: entity.productMediaPivots ? processHasManyClear({ sync: (_f = entity.productMediaPivots) == null ? void 0 : _f.map((ent) => mediaOnProductToInput(ent)) }) : void 0,
|
|
518
|
-
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_g = entity.productAttacPivots) == null ? void 0 : _g.map((ent) => attachmentOnProductToInput(ent)) }) : void 0
|
|
727
|
+
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_g = entity.productAttacPivots) == null ? void 0 : _g.map((ent) => attachmentOnProductToInput(ent)) }) : void 0,
|
|
728
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
519
729
|
};
|
|
520
730
|
};
|
|
521
731
|
const mediaToInput = (entity) => {
|
|
@@ -523,6 +733,7 @@ const mediaToInput = (entity) => {
|
|
|
523
733
|
return {
|
|
524
734
|
...rest,
|
|
525
735
|
folder: convertHasOneToInput(entity.folder),
|
|
736
|
+
lang: convertHasOneToInput(entity.lang),
|
|
526
737
|
coverOf: convertHasManyToInput(entity.coverOf),
|
|
527
738
|
avatarOfUser: convertHasOneToInput(entity.avatarOfUser),
|
|
528
739
|
ogMetaOfPage: convertHasManyToInput(entity.ogMetaOfPage),
|
|
@@ -530,7 +741,8 @@ const mediaToInput = (entity) => {
|
|
|
530
741
|
ogMetaOfPost: convertHasManyToInput(entity.ogMetaOfPost),
|
|
531
742
|
meidaOfProduct: convertHasManyToInput(entity.meidaOfProduct),
|
|
532
743
|
productMediaPivots: convertHasManyToInput(entity.productMediaPivots),
|
|
533
|
-
productAttacPivots: convertHasManyToInput(entity.productAttacPivots)
|
|
744
|
+
productAttacPivots: convertHasManyToInput(entity.productAttacPivots),
|
|
745
|
+
website: convertHasOneToInput(entity.website)
|
|
534
746
|
};
|
|
535
747
|
};
|
|
536
748
|
const userToInputCascade = (entity) => {
|
|
@@ -634,7 +846,6 @@ var MediaDistinctEnum = /* @__PURE__ */ ((MediaDistinctEnum2) => {
|
|
|
634
846
|
MediaDistinctEnum2["createdAt"] = "createdAt";
|
|
635
847
|
MediaDistinctEnum2["updatedAt"] = "updatedAt";
|
|
636
848
|
MediaDistinctEnum2["mediaType"] = "mediaType";
|
|
637
|
-
MediaDistinctEnum2["websiteId"] = "websiteId";
|
|
638
849
|
return MediaDistinctEnum2;
|
|
639
850
|
})(MediaDistinctEnum || {});
|
|
640
851
|
var MediaType = /* @__PURE__ */ ((MediaType2) => {
|
|
@@ -643,6 +854,42 @@ var MediaType = /* @__PURE__ */ ((MediaType2) => {
|
|
|
643
854
|
MediaType2["document"] = "document";
|
|
644
855
|
return MediaType2;
|
|
645
856
|
})(MediaType || {});
|
|
857
|
+
const MailEntityName = "Mail";
|
|
858
|
+
const MailEntityLabel = "";
|
|
859
|
+
const mailToInputCascade = (entity) => {
|
|
860
|
+
return {
|
|
861
|
+
...entity
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
const mailToInput = (entity) => {
|
|
865
|
+
return {
|
|
866
|
+
...entity
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
var MailDistinctEnum = /* @__PURE__ */ ((MailDistinctEnum2) => {
|
|
870
|
+
MailDistinctEnum2["id"] = "id";
|
|
871
|
+
MailDistinctEnum2["createdAt"] = "createdAt";
|
|
872
|
+
MailDistinctEnum2["updatedAt"] = "updatedAt";
|
|
873
|
+
MailDistinctEnum2["taskId"] = "taskId";
|
|
874
|
+
MailDistinctEnum2["taskName"] = "taskName";
|
|
875
|
+
MailDistinctEnum2["remark"] = "remark";
|
|
876
|
+
MailDistinctEnum2["subject"] = "subject";
|
|
877
|
+
MailDistinctEnum2["message"] = "message";
|
|
878
|
+
MailDistinctEnum2["to"] = "to";
|
|
879
|
+
MailDistinctEnum2["cc"] = "cc";
|
|
880
|
+
MailDistinctEnum2["label"] = "label";
|
|
881
|
+
MailDistinctEnum2["name"] = "name";
|
|
882
|
+
MailDistinctEnum2["company"] = "company";
|
|
883
|
+
MailDistinctEnum2["mailType"] = "mailType";
|
|
884
|
+
return MailDistinctEnum2;
|
|
885
|
+
})(MailDistinctEnum || {});
|
|
886
|
+
var MailType = /* @__PURE__ */ ((MailType2) => {
|
|
887
|
+
MailType2["default"] = "default";
|
|
888
|
+
MailType2["getPrice"] = "getPrice";
|
|
889
|
+
MailType2["findPassword"] = "findPassword";
|
|
890
|
+
MailType2["notice"] = "notice";
|
|
891
|
+
return MailType2;
|
|
892
|
+
})(MailType || {});
|
|
646
893
|
const WebsiteEntityName = "Website";
|
|
647
894
|
const WebsiteEntityLabel = "站点";
|
|
648
895
|
var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
|
|
@@ -654,32 +901,18 @@ var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
|
|
|
654
901
|
WebsiteDistinctEnum2["lastOpenTime"] = "lastOpenTime";
|
|
655
902
|
WebsiteDistinctEnum2["updatedAt"] = "updatedAt";
|
|
656
903
|
WebsiteDistinctEnum2["updatedBy"] = "updatedBy";
|
|
904
|
+
WebsiteDistinctEnum2["description"] = "description";
|
|
657
905
|
return WebsiteDistinctEnum2;
|
|
658
906
|
})(WebsiteDistinctEnum || {});
|
|
659
907
|
const LangEntityName = "Lang";
|
|
660
908
|
const LangEntityLabel = "语言";
|
|
661
|
-
const langToInputCascade = (entity) => {
|
|
662
|
-
return {
|
|
663
|
-
...entity
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
const langToInput = (entity) => {
|
|
667
|
-
return {
|
|
668
|
-
...entity
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
909
|
var LangDistinctEnum = /* @__PURE__ */ ((LangDistinctEnum2) => {
|
|
672
910
|
LangDistinctEnum2["id"] = "id";
|
|
673
911
|
LangDistinctEnum2["abbr"] = "abbr";
|
|
674
912
|
LangDistinctEnum2["enName"] = "enName";
|
|
675
913
|
LangDistinctEnum2["localName"] = "localName";
|
|
676
914
|
LangDistinctEnum2["icon"] = "icon";
|
|
677
|
-
LangDistinctEnum2["remark"] = "remark";
|
|
678
|
-
LangDistinctEnum2["websiteId"] = "websiteId";
|
|
679
|
-
LangDistinctEnum2["slug"] = "slug";
|
|
680
915
|
LangDistinctEnum2["description"] = "description";
|
|
681
|
-
LangDistinctEnum2["createdAt"] = "createdAt";
|
|
682
|
-
LangDistinctEnum2["updatedAt"] = "updatedAt";
|
|
683
916
|
return LangDistinctEnum2;
|
|
684
917
|
})(LangDistinctEnum || {});
|
|
685
918
|
const WebsiteTypeEntityName = "WebsiteType";
|
|
@@ -702,13 +935,9 @@ const PageEntityLabel = "";
|
|
|
702
935
|
var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
703
936
|
PageDistinctEnum2["id"] = "id";
|
|
704
937
|
PageDistinctEnum2["title"] = "title";
|
|
705
|
-
PageDistinctEnum2["content"] = "content";
|
|
706
938
|
PageDistinctEnum2["remark"] = "remark";
|
|
707
|
-
PageDistinctEnum2["
|
|
939
|
+
PageDistinctEnum2["content"] = "content";
|
|
708
940
|
PageDistinctEnum2["extends"] = "extends";
|
|
709
|
-
PageDistinctEnum2["websiteId"] = "websiteId";
|
|
710
|
-
PageDistinctEnum2["slug"] = "slug";
|
|
711
|
-
PageDistinctEnum2["description"] = "description";
|
|
712
941
|
PageDistinctEnum2["createdAt"] = "createdAt";
|
|
713
942
|
PageDistinctEnum2["updatedAt"] = "updatedAt";
|
|
714
943
|
PageDistinctEnum2["seoTitle"] = "seoTitle";
|
|
@@ -724,7 +953,8 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
|
724
953
|
PageDistinctEnum2["xTitle"] = "xTitle";
|
|
725
954
|
PageDistinctEnum2["xDescription"] = "xDescription";
|
|
726
955
|
PageDistinctEnum2["xUrl"] = "xUrl";
|
|
727
|
-
PageDistinctEnum2["
|
|
956
|
+
PageDistinctEnum2["slug"] = "slug";
|
|
957
|
+
PageDistinctEnum2["description"] = "description";
|
|
728
958
|
return PageDistinctEnum2;
|
|
729
959
|
})(PageDistinctEnum || {});
|
|
730
960
|
const PostEntityName = "Post";
|
|
@@ -739,12 +969,8 @@ var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
|
739
969
|
PostDistinctEnum2["title"] = "title";
|
|
740
970
|
PostDistinctEnum2["content"] = "content";
|
|
741
971
|
PostDistinctEnum2["extends"] = "extends";
|
|
742
|
-
PostDistinctEnum2["websiteId"] = "websiteId";
|
|
743
|
-
PostDistinctEnum2["slug"] = "slug";
|
|
744
|
-
PostDistinctEnum2["description"] = "description";
|
|
745
972
|
PostDistinctEnum2["createdAt"] = "createdAt";
|
|
746
973
|
PostDistinctEnum2["updatedAt"] = "updatedAt";
|
|
747
|
-
PostDistinctEnum2["remark"] = "remark";
|
|
748
974
|
PostDistinctEnum2["seoTitle"] = "seoTitle";
|
|
749
975
|
PostDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
750
976
|
PostDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -758,7 +984,8 @@ var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
|
758
984
|
PostDistinctEnum2["xTitle"] = "xTitle";
|
|
759
985
|
PostDistinctEnum2["xDescription"] = "xDescription";
|
|
760
986
|
PostDistinctEnum2["xUrl"] = "xUrl";
|
|
761
|
-
PostDistinctEnum2["
|
|
987
|
+
PostDistinctEnum2["slug"] = "slug";
|
|
988
|
+
PostDistinctEnum2["description"] = "description";
|
|
762
989
|
return PostDistinctEnum2;
|
|
763
990
|
})(PostDistinctEnum || {});
|
|
764
991
|
const ProductEntityName = "Product";
|
|
@@ -779,12 +1006,8 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
779
1006
|
ProductDistinctEnum2["title"] = "title";
|
|
780
1007
|
ProductDistinctEnum2["content"] = "content";
|
|
781
1008
|
ProductDistinctEnum2["extends"] = "extends";
|
|
782
|
-
ProductDistinctEnum2["websiteId"] = "websiteId";
|
|
783
|
-
ProductDistinctEnum2["slug"] = "slug";
|
|
784
|
-
ProductDistinctEnum2["description"] = "description";
|
|
785
1009
|
ProductDistinctEnum2["createdAt"] = "createdAt";
|
|
786
1010
|
ProductDistinctEnum2["updatedAt"] = "updatedAt";
|
|
787
|
-
ProductDistinctEnum2["remark"] = "remark";
|
|
788
1011
|
ProductDistinctEnum2["seoTitle"] = "seoTitle";
|
|
789
1012
|
ProductDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
790
1013
|
ProductDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -798,38 +1021,12 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
798
1021
|
ProductDistinctEnum2["xTitle"] = "xTitle";
|
|
799
1022
|
ProductDistinctEnum2["xDescription"] = "xDescription";
|
|
800
1023
|
ProductDistinctEnum2["xUrl"] = "xUrl";
|
|
801
|
-
ProductDistinctEnum2["
|
|
1024
|
+
ProductDistinctEnum2["slug"] = "slug";
|
|
1025
|
+
ProductDistinctEnum2["description"] = "description";
|
|
802
1026
|
return ProductDistinctEnum2;
|
|
803
1027
|
})(ProductDistinctEnum || {});
|
|
804
1028
|
const EnquiryEntityName = "Enquiry";
|
|
805
1029
|
const EnquiryEntityLabel = "";
|
|
806
|
-
const customerToInputCascade = (entity) => {
|
|
807
|
-
var _a;
|
|
808
|
-
const { enquiresAggregate, ...rest } = entity;
|
|
809
|
-
return {
|
|
810
|
-
...rest,
|
|
811
|
-
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0
|
|
812
|
-
};
|
|
813
|
-
};
|
|
814
|
-
const customerToInput = (entity) => {
|
|
815
|
-
const { enquiresAggregate, ...rest } = entity;
|
|
816
|
-
return {
|
|
817
|
-
...rest,
|
|
818
|
-
enquires: convertHasManyToInput(entity.enquires)
|
|
819
|
-
};
|
|
820
|
-
};
|
|
821
|
-
const enquiryToInputCascade = (entity) => {
|
|
822
|
-
return {
|
|
823
|
-
...entity,
|
|
824
|
-
customer: entity.customer ? processHasOneClear({ sync: customerToInput(entity.customer) }) : void 0
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
const enquiryToInput = (entity) => {
|
|
828
|
-
return {
|
|
829
|
-
...entity,
|
|
830
|
-
customer: convertHasOneToInput(entity.customer)
|
|
831
|
-
};
|
|
832
|
-
};
|
|
833
1030
|
var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
834
1031
|
EnquiryDistinctEnum2["id"] = "id";
|
|
835
1032
|
EnquiryDistinctEnum2["title"] = "title";
|
|
@@ -843,26 +1040,12 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
|
843
1040
|
EnquiryDistinctEnum2["fromCta"] = "fromCta";
|
|
844
1041
|
EnquiryDistinctEnum2["read"] = "read";
|
|
845
1042
|
EnquiryDistinctEnum2["spam"] = "spam";
|
|
846
|
-
EnquiryDistinctEnum2["websiteId"] = "websiteId";
|
|
847
|
-
EnquiryDistinctEnum2["slug"] = "slug";
|
|
848
|
-
EnquiryDistinctEnum2["description"] = "description";
|
|
849
1043
|
EnquiryDistinctEnum2["createdAt"] = "createdAt";
|
|
850
1044
|
EnquiryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
851
|
-
EnquiryDistinctEnum2["remark"] = "remark";
|
|
852
1045
|
return EnquiryDistinctEnum2;
|
|
853
1046
|
})(EnquiryDistinctEnum || {});
|
|
854
1047
|
const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
855
1048
|
const WebsiteSettingsEntityLabel = "";
|
|
856
|
-
const websiteSettingsToInputCascade = (entity) => {
|
|
857
|
-
return {
|
|
858
|
-
...entity
|
|
859
|
-
};
|
|
860
|
-
};
|
|
861
|
-
const websiteSettingsToInput = (entity) => {
|
|
862
|
-
return {
|
|
863
|
-
...entity
|
|
864
|
-
};
|
|
865
|
-
};
|
|
866
1049
|
var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2) => {
|
|
867
1050
|
WebsiteSettingsDistinctEnum2["id"] = "id";
|
|
868
1051
|
WebsiteSettingsDistinctEnum2["smtpConfig"] = "smtpConfig";
|
|
@@ -884,12 +1067,8 @@ var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2
|
|
|
884
1067
|
WebsiteSettingsDistinctEnum2["gaTrackingId"] = "gaTrackingId";
|
|
885
1068
|
WebsiteSettingsDistinctEnum2["noticeEmail"] = "noticeEmail";
|
|
886
1069
|
WebsiteSettingsDistinctEnum2["emailTemplates"] = "emailTemplates";
|
|
887
|
-
WebsiteSettingsDistinctEnum2["websiteId"] = "websiteId";
|
|
888
|
-
WebsiteSettingsDistinctEnum2["slug"] = "slug";
|
|
889
|
-
WebsiteSettingsDistinctEnum2["description"] = "description";
|
|
890
1070
|
WebsiteSettingsDistinctEnum2["createdAt"] = "createdAt";
|
|
891
1071
|
WebsiteSettingsDistinctEnum2["updatedAt"] = "updatedAt";
|
|
892
|
-
WebsiteSettingsDistinctEnum2["remark"] = "remark";
|
|
893
1072
|
return WebsiteSettingsDistinctEnum2;
|
|
894
1073
|
})(WebsiteSettingsDistinctEnum || {});
|
|
895
1074
|
const TemplateEntityName = "Template";
|
|
@@ -900,12 +1079,8 @@ var TemplateDistinctEnum = /* @__PURE__ */ ((TemplateDistinctEnum2) => {
|
|
|
900
1079
|
TemplateDistinctEnum2["seqValue"] = "seqValue";
|
|
901
1080
|
TemplateDistinctEnum2["content"] = "content";
|
|
902
1081
|
TemplateDistinctEnum2["templateType"] = "templateType";
|
|
903
|
-
TemplateDistinctEnum2["websiteId"] = "websiteId";
|
|
904
|
-
TemplateDistinctEnum2["slug"] = "slug";
|
|
905
|
-
TemplateDistinctEnum2["description"] = "description";
|
|
906
1082
|
TemplateDistinctEnum2["createdAt"] = "createdAt";
|
|
907
1083
|
TemplateDistinctEnum2["updatedAt"] = "updatedAt";
|
|
908
|
-
TemplateDistinctEnum2["remark"] = "remark";
|
|
909
1084
|
return TemplateDistinctEnum2;
|
|
910
1085
|
})(TemplateDistinctEnum || {});
|
|
911
1086
|
const TemplateCategoryEntityName = "TemplateCategory";
|
|
@@ -914,12 +1089,8 @@ var TemplateCategoryDistinctEnum = /* @__PURE__ */ ((TemplateCategoryDistinctEnu
|
|
|
914
1089
|
TemplateCategoryDistinctEnum2["id"] = "id";
|
|
915
1090
|
TemplateCategoryDistinctEnum2["name"] = "name";
|
|
916
1091
|
TemplateCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
917
|
-
TemplateCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
918
|
-
TemplateCategoryDistinctEnum2["slug"] = "slug";
|
|
919
|
-
TemplateCategoryDistinctEnum2["description"] = "description";
|
|
920
1092
|
TemplateCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
921
1093
|
TemplateCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
922
|
-
TemplateCategoryDistinctEnum2["remark"] = "remark";
|
|
923
1094
|
return TemplateCategoryDistinctEnum2;
|
|
924
1095
|
})(TemplateCategoryDistinctEnum || {});
|
|
925
1096
|
const ThemeEntityName = "Theme";
|
|
@@ -929,12 +1100,9 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
929
1100
|
ThemeDistinctEnum2["name"] = "name";
|
|
930
1101
|
ThemeDistinctEnum2["styles"] = "styles";
|
|
931
1102
|
ThemeDistinctEnum2["settings"] = "settings";
|
|
932
|
-
ThemeDistinctEnum2["websiteId"] = "websiteId";
|
|
933
|
-
ThemeDistinctEnum2["slug"] = "slug";
|
|
934
1103
|
ThemeDistinctEnum2["description"] = "description";
|
|
935
1104
|
ThemeDistinctEnum2["createdAt"] = "createdAt";
|
|
936
1105
|
ThemeDistinctEnum2["updatedAt"] = "updatedAt";
|
|
937
|
-
ThemeDistinctEnum2["remark"] = "remark";
|
|
938
1106
|
return ThemeDistinctEnum2;
|
|
939
1107
|
})(ThemeDistinctEnum || {});
|
|
940
1108
|
const MediaFolderEntityName = "MediaFolder";
|
|
@@ -943,22 +1111,14 @@ var MediaFolderDistinctEnum = /* @__PURE__ */ ((MediaFolderDistinctEnum2) => {
|
|
|
943
1111
|
MediaFolderDistinctEnum2["id"] = "id";
|
|
944
1112
|
MediaFolderDistinctEnum2["name"] = "name";
|
|
945
1113
|
MediaFolderDistinctEnum2["seqValue"] = "seqValue";
|
|
946
|
-
MediaFolderDistinctEnum2["websiteId"] = "websiteId";
|
|
947
|
-
MediaFolderDistinctEnum2["slug"] = "slug";
|
|
948
|
-
MediaFolderDistinctEnum2["description"] = "description";
|
|
949
1114
|
MediaFolderDistinctEnum2["createdAt"] = "createdAt";
|
|
950
1115
|
MediaFolderDistinctEnum2["updatedAt"] = "updatedAt";
|
|
951
|
-
MediaFolderDistinctEnum2["remark"] = "remark";
|
|
952
1116
|
return MediaFolderDistinctEnum2;
|
|
953
1117
|
})(MediaFolderDistinctEnum || {});
|
|
954
1118
|
var WebsitePartDistinctEnum = /* @__PURE__ */ ((WebsitePartDistinctEnum2) => {
|
|
955
1119
|
WebsitePartDistinctEnum2["id"] = "id";
|
|
956
|
-
WebsitePartDistinctEnum2["websiteId"] = "websiteId";
|
|
957
|
-
WebsitePartDistinctEnum2["slug"] = "slug";
|
|
958
|
-
WebsitePartDistinctEnum2["description"] = "description";
|
|
959
1120
|
WebsitePartDistinctEnum2["createdAt"] = "createdAt";
|
|
960
1121
|
WebsitePartDistinctEnum2["updatedAt"] = "updatedAt";
|
|
961
|
-
WebsitePartDistinctEnum2["remark"] = "remark";
|
|
962
1122
|
return WebsitePartDistinctEnum2;
|
|
963
1123
|
})(WebsitePartDistinctEnum || {});
|
|
964
1124
|
var WebsiteTypeStatus = /* @__PURE__ */ ((WebsiteTypeStatus2) => {
|
|
@@ -971,12 +1131,8 @@ var WebsiteContentDistinctEnum = /* @__PURE__ */ ((WebsiteContentDistinctEnum2)
|
|
|
971
1131
|
WebsiteContentDistinctEnum2["title"] = "title";
|
|
972
1132
|
WebsiteContentDistinctEnum2["content"] = "content";
|
|
973
1133
|
WebsiteContentDistinctEnum2["extends"] = "extends";
|
|
974
|
-
WebsiteContentDistinctEnum2["websiteId"] = "websiteId";
|
|
975
|
-
WebsiteContentDistinctEnum2["slug"] = "slug";
|
|
976
|
-
WebsiteContentDistinctEnum2["description"] = "description";
|
|
977
1134
|
WebsiteContentDistinctEnum2["createdAt"] = "createdAt";
|
|
978
1135
|
WebsiteContentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
979
|
-
WebsiteContentDistinctEnum2["remark"] = "remark";
|
|
980
1136
|
WebsiteContentDistinctEnum2["seoTitle"] = "seoTitle";
|
|
981
1137
|
WebsiteContentDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
982
1138
|
WebsiteContentDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -990,7 +1146,8 @@ var WebsiteContentDistinctEnum = /* @__PURE__ */ ((WebsiteContentDistinctEnum2)
|
|
|
990
1146
|
WebsiteContentDistinctEnum2["xTitle"] = "xTitle";
|
|
991
1147
|
WebsiteContentDistinctEnum2["xDescription"] = "xDescription";
|
|
992
1148
|
WebsiteContentDistinctEnum2["xUrl"] = "xUrl";
|
|
993
|
-
WebsiteContentDistinctEnum2["
|
|
1149
|
+
WebsiteContentDistinctEnum2["slug"] = "slug";
|
|
1150
|
+
WebsiteContentDistinctEnum2["description"] = "description";
|
|
994
1151
|
return WebsiteContentDistinctEnum2;
|
|
995
1152
|
})(WebsiteContentDistinctEnum || {});
|
|
996
1153
|
const PostCategoryEntityName = "PostCategory";
|
|
@@ -999,12 +1156,10 @@ var PostCategoryDistinctEnum = /* @__PURE__ */ ((PostCategoryDistinctEnum2) => {
|
|
|
999
1156
|
PostCategoryDistinctEnum2["id"] = "id";
|
|
1000
1157
|
PostCategoryDistinctEnum2["name"] = "name";
|
|
1001
1158
|
PostCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1002
|
-
PostCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
1003
|
-
PostCategoryDistinctEnum2["slug"] = "slug";
|
|
1004
|
-
PostCategoryDistinctEnum2["description"] = "description";
|
|
1005
1159
|
PostCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1006
1160
|
PostCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1007
|
-
PostCategoryDistinctEnum2["
|
|
1161
|
+
PostCategoryDistinctEnum2["slug"] = "slug";
|
|
1162
|
+
PostCategoryDistinctEnum2["description"] = "description";
|
|
1008
1163
|
return PostCategoryDistinctEnum2;
|
|
1009
1164
|
})(PostCategoryDistinctEnum || {});
|
|
1010
1165
|
const TagEntityName = "Tag";
|
|
@@ -1013,12 +1168,8 @@ var TagDistinctEnum = /* @__PURE__ */ ((TagDistinctEnum2) => {
|
|
|
1013
1168
|
TagDistinctEnum2["id"] = "id";
|
|
1014
1169
|
TagDistinctEnum2["name"] = "name";
|
|
1015
1170
|
TagDistinctEnum2["color"] = "color";
|
|
1016
|
-
TagDistinctEnum2["websiteId"] = "websiteId";
|
|
1017
|
-
TagDistinctEnum2["slug"] = "slug";
|
|
1018
|
-
TagDistinctEnum2["description"] = "description";
|
|
1019
1171
|
TagDistinctEnum2["createdAt"] = "createdAt";
|
|
1020
1172
|
TagDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1021
|
-
TagDistinctEnum2["remark"] = "remark";
|
|
1022
1173
|
return TagDistinctEnum2;
|
|
1023
1174
|
})(TagDistinctEnum || {});
|
|
1024
1175
|
var SeoMetaDistinctEnum = /* @__PURE__ */ ((SeoMetaDistinctEnum2) => {
|
|
@@ -1049,12 +1200,8 @@ var PublishableDistinctEnum = /* @__PURE__ */ ((PublishableDistinctEnum2) => {
|
|
|
1049
1200
|
PublishableDistinctEnum2["title"] = "title";
|
|
1050
1201
|
PublishableDistinctEnum2["content"] = "content";
|
|
1051
1202
|
PublishableDistinctEnum2["extends"] = "extends";
|
|
1052
|
-
PublishableDistinctEnum2["websiteId"] = "websiteId";
|
|
1053
|
-
PublishableDistinctEnum2["slug"] = "slug";
|
|
1054
|
-
PublishableDistinctEnum2["description"] = "description";
|
|
1055
1203
|
PublishableDistinctEnum2["createdAt"] = "createdAt";
|
|
1056
1204
|
PublishableDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1057
|
-
PublishableDistinctEnum2["remark"] = "remark";
|
|
1058
1205
|
PublishableDistinctEnum2["seoTitle"] = "seoTitle";
|
|
1059
1206
|
PublishableDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
1060
1207
|
PublishableDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -1068,7 +1215,8 @@ var PublishableDistinctEnum = /* @__PURE__ */ ((PublishableDistinctEnum2) => {
|
|
|
1068
1215
|
PublishableDistinctEnum2["xTitle"] = "xTitle";
|
|
1069
1216
|
PublishableDistinctEnum2["xDescription"] = "xDescription";
|
|
1070
1217
|
PublishableDistinctEnum2["xUrl"] = "xUrl";
|
|
1071
|
-
PublishableDistinctEnum2["
|
|
1218
|
+
PublishableDistinctEnum2["slug"] = "slug";
|
|
1219
|
+
PublishableDistinctEnum2["description"] = "description";
|
|
1072
1220
|
return PublishableDistinctEnum2;
|
|
1073
1221
|
})(PublishableDistinctEnum || {});
|
|
1074
1222
|
var PublishableStatus = /* @__PURE__ */ ((PublishableStatus2) => {
|
|
@@ -1097,12 +1245,8 @@ const CustomerEntityLabel = "";
|
|
|
1097
1245
|
var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
1098
1246
|
CustomerDistinctEnum2["id"] = "id";
|
|
1099
1247
|
CustomerDistinctEnum2["company"] = "company";
|
|
1100
|
-
CustomerDistinctEnum2["websiteId"] = "websiteId";
|
|
1101
|
-
CustomerDistinctEnum2["slug"] = "slug";
|
|
1102
|
-
CustomerDistinctEnum2["description"] = "description";
|
|
1103
1248
|
CustomerDistinctEnum2["createdAt"] = "createdAt";
|
|
1104
1249
|
CustomerDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1105
|
-
CustomerDistinctEnum2["remark"] = "remark";
|
|
1106
1250
|
CustomerDistinctEnum2["email"] = "email";
|
|
1107
1251
|
CustomerDistinctEnum2["tel"] = "tel";
|
|
1108
1252
|
CustomerDistinctEnum2["tel2"] = "tel2";
|
|
@@ -1116,18 +1260,6 @@ var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
|
1116
1260
|
CustomerDistinctEnum2["summary"] = "summary";
|
|
1117
1261
|
return CustomerDistinctEnum2;
|
|
1118
1262
|
})(CustomerDistinctEnum || {});
|
|
1119
|
-
var BaseEntityDistinctEnum = /* @__PURE__ */ ((BaseEntityDistinctEnum2) => {
|
|
1120
|
-
BaseEntityDistinctEnum2["id"] = "id";
|
|
1121
|
-
BaseEntityDistinctEnum2["createdAt"] = "createdAt";
|
|
1122
|
-
BaseEntityDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1123
|
-
BaseEntityDistinctEnum2["remark"] = "remark";
|
|
1124
|
-
return BaseEntityDistinctEnum2;
|
|
1125
|
-
})(BaseEntityDistinctEnum || {});
|
|
1126
|
-
var MultiLangableDistinctEnum = /* @__PURE__ */ ((MultiLangableDistinctEnum2) => {
|
|
1127
|
-
MultiLangableDistinctEnum2["id"] = "id";
|
|
1128
|
-
MultiLangableDistinctEnum2["lang"] = "lang";
|
|
1129
|
-
return MultiLangableDistinctEnum2;
|
|
1130
|
-
})(MultiLangableDistinctEnum || {});
|
|
1131
1263
|
var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
1132
1264
|
WebsiteUserDistinctEnum2["id"] = "id";
|
|
1133
1265
|
WebsiteUserDistinctEnum2["postion"] = "postion";
|
|
@@ -1146,11 +1278,6 @@ var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
|
1146
1278
|
WebsiteUserDistinctEnum2["summary"] = "summary";
|
|
1147
1279
|
return WebsiteUserDistinctEnum2;
|
|
1148
1280
|
})(WebsiteUserDistinctEnum || {});
|
|
1149
|
-
var CustomizeMediaDistinctEnum = /* @__PURE__ */ ((CustomizeMediaDistinctEnum2) => {
|
|
1150
|
-
CustomizeMediaDistinctEnum2["id"] = "id";
|
|
1151
|
-
CustomizeMediaDistinctEnum2["websiteId"] = "websiteId";
|
|
1152
|
-
return CustomizeMediaDistinctEnum2;
|
|
1153
|
-
})(CustomizeMediaDistinctEnum || {});
|
|
1154
1281
|
var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
1155
1282
|
UserType2["saasUser"] = "saasUser";
|
|
1156
1283
|
UserType2["websiteUser"] = "websiteUser";
|
|
@@ -1174,12 +1301,10 @@ var ProductCategoryDistinctEnum = /* @__PURE__ */ ((ProductCategoryDistinctEnum2
|
|
|
1174
1301
|
ProductCategoryDistinctEnum2["id"] = "id";
|
|
1175
1302
|
ProductCategoryDistinctEnum2["name"] = "name";
|
|
1176
1303
|
ProductCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1177
|
-
ProductCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
1178
|
-
ProductCategoryDistinctEnum2["slug"] = "slug";
|
|
1179
|
-
ProductCategoryDistinctEnum2["description"] = "description";
|
|
1180
1304
|
ProductCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1181
1305
|
ProductCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1182
|
-
ProductCategoryDistinctEnum2["
|
|
1306
|
+
ProductCategoryDistinctEnum2["slug"] = "slug";
|
|
1307
|
+
ProductCategoryDistinctEnum2["description"] = "description";
|
|
1183
1308
|
return ProductCategoryDistinctEnum2;
|
|
1184
1309
|
})(ProductCategoryDistinctEnum || {});
|
|
1185
1310
|
var ExtendFieldType = /* @__PURE__ */ ((ExtendFieldType2) => {
|
|
@@ -1203,16 +1328,6 @@ var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
|
1203
1328
|
})(ComponentType || {});
|
|
1204
1329
|
const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
1205
1330
|
const SpamFilterRuleEntityLabel = "垃圾过滤规则";
|
|
1206
|
-
const spamFilterRuleToInputCascade = (entity) => {
|
|
1207
|
-
return {
|
|
1208
|
-
...entity
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
const spamFilterRuleToInput = (entity) => {
|
|
1212
|
-
return {
|
|
1213
|
-
...entity
|
|
1214
|
-
};
|
|
1215
|
-
};
|
|
1216
1331
|
var SpamFilterRuleDistinctEnum = /* @__PURE__ */ ((SpamFilterRuleDistinctEnum2) => {
|
|
1217
1332
|
SpamFilterRuleDistinctEnum2["id"] = "id";
|
|
1218
1333
|
SpamFilterRuleDistinctEnum2["emails"] = "emails";
|
|
@@ -1220,10 +1335,6 @@ var SpamFilterRuleDistinctEnum = /* @__PURE__ */ ((SpamFilterRuleDistinctEnum2)
|
|
|
1220
1335
|
SpamFilterRuleDistinctEnum2["keywords"] = "keywords";
|
|
1221
1336
|
SpamFilterRuleDistinctEnum2["createdAt"] = "createdAt";
|
|
1222
1337
|
SpamFilterRuleDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1223
|
-
SpamFilterRuleDistinctEnum2["websiteId"] = "websiteId";
|
|
1224
|
-
SpamFilterRuleDistinctEnum2["slug"] = "slug";
|
|
1225
|
-
SpamFilterRuleDistinctEnum2["description"] = "description";
|
|
1226
|
-
SpamFilterRuleDistinctEnum2["remark"] = "remark";
|
|
1227
1338
|
return SpamFilterRuleDistinctEnum2;
|
|
1228
1339
|
})(SpamFilterRuleDistinctEnum || {});
|
|
1229
1340
|
const MediaOnProductEntityName = "MediaOnProduct";
|
|
@@ -1241,6 +1352,12 @@ var AttachmentOnProductDistinctEnum = /* @__PURE__ */ ((AttachmentOnProductDisti
|
|
|
1241
1352
|
AttachmentOnProductDistinctEnum2["seqValue"] = "seqValue";
|
|
1242
1353
|
return AttachmentOnProductDistinctEnum2;
|
|
1243
1354
|
})(AttachmentOnProductDistinctEnum || {});
|
|
1355
|
+
var SlugableDistinctEnum = /* @__PURE__ */ ((SlugableDistinctEnum2) => {
|
|
1356
|
+
SlugableDistinctEnum2["id"] = "id";
|
|
1357
|
+
SlugableDistinctEnum2["slug"] = "slug";
|
|
1358
|
+
SlugableDistinctEnum2["description"] = "description";
|
|
1359
|
+
return SlugableDistinctEnum2;
|
|
1360
|
+
})(SlugableDistinctEnum || {});
|
|
1244
1361
|
class RoleQueryOptions extends QueryOptions {
|
|
1245
1362
|
constructor(fields, queryArgs) {
|
|
1246
1363
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1278,91 +1395,78 @@ class RoleQueryOptions extends QueryOptions {
|
|
|
1278
1395
|
return this;
|
|
1279
1396
|
}
|
|
1280
1397
|
}
|
|
1281
|
-
class
|
|
1398
|
+
class WebsiteTypeQueryOptions extends QueryOptions {
|
|
1282
1399
|
constructor(fields, queryArgs) {
|
|
1283
|
-
super(
|
|
1400
|
+
super(WebsiteTypeEntityName, fields, queryArgs);
|
|
1284
1401
|
}
|
|
1285
1402
|
id() {
|
|
1286
1403
|
this.addField("id");
|
|
1287
1404
|
return this;
|
|
1288
1405
|
}
|
|
1406
|
+
/**
|
|
1407
|
+
* 网站类型名称
|
|
1408
|
+
*/
|
|
1289
1409
|
name() {
|
|
1290
1410
|
this.addField("name");
|
|
1291
1411
|
return this;
|
|
1292
1412
|
}
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
this.addField("websiteId");
|
|
1413
|
+
/**
|
|
1414
|
+
* 显示名称
|
|
1415
|
+
*/
|
|
1416
|
+
displayName() {
|
|
1417
|
+
this.addField("displayName");
|
|
1299
1418
|
return this;
|
|
1300
1419
|
}
|
|
1301
|
-
|
|
1302
|
-
this.addField("
|
|
1420
|
+
pricePerMonth() {
|
|
1421
|
+
this.addField("pricePerMonth");
|
|
1303
1422
|
return this;
|
|
1304
1423
|
}
|
|
1305
|
-
|
|
1306
|
-
this.addField("
|
|
1424
|
+
pricePerYear() {
|
|
1425
|
+
this.addField("pricePerYear");
|
|
1307
1426
|
return this;
|
|
1308
1427
|
}
|
|
1309
1428
|
/**
|
|
1310
|
-
*
|
|
1429
|
+
* 备注
|
|
1311
1430
|
*/
|
|
1431
|
+
remark() {
|
|
1432
|
+
this.addField("remark");
|
|
1433
|
+
return this;
|
|
1434
|
+
}
|
|
1312
1435
|
createdAt() {
|
|
1313
1436
|
this.addField("createdAt");
|
|
1314
1437
|
return this;
|
|
1315
1438
|
}
|
|
1316
|
-
/**
|
|
1317
|
-
* 更新时间
|
|
1318
|
-
*/
|
|
1319
1439
|
updatedAt() {
|
|
1320
1440
|
this.addField("updatedAt");
|
|
1321
1441
|
return this;
|
|
1322
1442
|
}
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
*/
|
|
1326
|
-
remark() {
|
|
1327
|
-
this.addField("remark");
|
|
1328
|
-
return this;
|
|
1329
|
-
}
|
|
1330
|
-
children(options) {
|
|
1331
|
-
if (Array.isArray(options)) {
|
|
1332
|
-
this._associations["children"] = new MediaFolderQueryOptions(options);
|
|
1333
|
-
} else {
|
|
1334
|
-
this._associations["children"] = options || new MediaFolderQueryOptions(["id"]);
|
|
1335
|
-
}
|
|
1336
|
-
return this;
|
|
1337
|
-
}
|
|
1338
|
-
childrenAggregate(aggregate) {
|
|
1339
|
-
this._aggregates["childrenAggregate"] = aggregate;
|
|
1443
|
+
status() {
|
|
1444
|
+
this.addField("status");
|
|
1340
1445
|
return this;
|
|
1341
1446
|
}
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
}
|
|
1447
|
+
/**
|
|
1448
|
+
* 等级
|
|
1449
|
+
*/
|
|
1450
|
+
level() {
|
|
1451
|
+
this.addField("level");
|
|
1348
1452
|
return this;
|
|
1349
1453
|
}
|
|
1350
|
-
|
|
1454
|
+
websites(options) {
|
|
1351
1455
|
if (Array.isArray(options)) {
|
|
1352
|
-
this._associations["
|
|
1456
|
+
this._associations["websites"] = new WebsiteQueryOptions(options);
|
|
1353
1457
|
} else {
|
|
1354
|
-
this._associations["
|
|
1458
|
+
this._associations["websites"] = options || new WebsiteQueryOptions(["id"]);
|
|
1355
1459
|
}
|
|
1356
1460
|
return this;
|
|
1357
1461
|
}
|
|
1358
|
-
|
|
1359
|
-
this._aggregates["
|
|
1462
|
+
websitesAggregate(aggregate) {
|
|
1463
|
+
this._aggregates["websitesAggregate"] = aggregate;
|
|
1360
1464
|
return this;
|
|
1361
1465
|
}
|
|
1362
1466
|
}
|
|
1363
|
-
class
|
|
1467
|
+
class TemplateCategoryQueryOptions extends QueryOptions {
|
|
1364
1468
|
constructor(fields, queryArgs) {
|
|
1365
|
-
super(
|
|
1469
|
+
super(TemplateCategoryEntityName, fields, queryArgs);
|
|
1366
1470
|
}
|
|
1367
1471
|
id() {
|
|
1368
1472
|
this.addField("id");
|
|
@@ -1376,245 +1480,235 @@ class ProductCategoryQueryOptions extends QueryOptions {
|
|
|
1376
1480
|
this.addField("seqValue");
|
|
1377
1481
|
return this;
|
|
1378
1482
|
}
|
|
1379
|
-
websiteId() {
|
|
1380
|
-
this.addField("websiteId");
|
|
1381
|
-
return this;
|
|
1382
|
-
}
|
|
1383
|
-
slug() {
|
|
1384
|
-
this.addField("slug");
|
|
1385
|
-
return this;
|
|
1386
|
-
}
|
|
1387
|
-
description() {
|
|
1388
|
-
this.addField("description");
|
|
1389
|
-
return this;
|
|
1390
|
-
}
|
|
1391
|
-
/**
|
|
1392
|
-
* 创建时间
|
|
1393
|
-
*/
|
|
1394
1483
|
createdAt() {
|
|
1395
1484
|
this.addField("createdAt");
|
|
1396
1485
|
return this;
|
|
1397
1486
|
}
|
|
1398
|
-
/**
|
|
1399
|
-
* 更新时间
|
|
1400
|
-
*/
|
|
1401
1487
|
updatedAt() {
|
|
1402
1488
|
this.addField("updatedAt");
|
|
1403
1489
|
return this;
|
|
1404
1490
|
}
|
|
1405
|
-
|
|
1406
|
-
* 备注
|
|
1407
|
-
*/
|
|
1408
|
-
remark() {
|
|
1409
|
-
this.addField("remark");
|
|
1410
|
-
return this;
|
|
1411
|
-
}
|
|
1412
|
-
children(options) {
|
|
1491
|
+
templates(options) {
|
|
1413
1492
|
if (Array.isArray(options)) {
|
|
1414
|
-
this._associations["
|
|
1493
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
1415
1494
|
} else {
|
|
1416
|
-
this._associations["
|
|
1495
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
1417
1496
|
}
|
|
1418
1497
|
return this;
|
|
1419
1498
|
}
|
|
1420
|
-
|
|
1421
|
-
this._aggregates["
|
|
1499
|
+
templatesAggregate(aggregate) {
|
|
1500
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
1422
1501
|
return this;
|
|
1423
1502
|
}
|
|
1424
|
-
|
|
1503
|
+
lang(options) {
|
|
1425
1504
|
if (Array.isArray(options)) {
|
|
1426
|
-
this._associations["
|
|
1505
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1427
1506
|
} else {
|
|
1428
|
-
this._associations["
|
|
1507
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1429
1508
|
}
|
|
1430
1509
|
return this;
|
|
1431
1510
|
}
|
|
1432
|
-
|
|
1511
|
+
theme(options) {
|
|
1433
1512
|
if (Array.isArray(options)) {
|
|
1434
|
-
this._associations["
|
|
1513
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1435
1514
|
} else {
|
|
1436
|
-
this._associations["
|
|
1515
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1437
1516
|
}
|
|
1438
1517
|
return this;
|
|
1439
1518
|
}
|
|
1440
|
-
|
|
1519
|
+
website(options) {
|
|
1441
1520
|
if (Array.isArray(options)) {
|
|
1442
|
-
this._associations["
|
|
1521
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1443
1522
|
} else {
|
|
1444
|
-
this._associations["
|
|
1523
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1445
1524
|
}
|
|
1446
1525
|
return this;
|
|
1447
1526
|
}
|
|
1448
|
-
productsAggregate(aggregate) {
|
|
1449
|
-
this._aggregates["productsAggregate"] = aggregate;
|
|
1450
|
-
return this;
|
|
1451
|
-
}
|
|
1452
1527
|
}
|
|
1453
|
-
class
|
|
1528
|
+
class TemplateQueryOptions extends QueryOptions {
|
|
1454
1529
|
constructor(fields, queryArgs) {
|
|
1455
|
-
super(
|
|
1530
|
+
super(TemplateEntityName, fields, queryArgs);
|
|
1456
1531
|
}
|
|
1457
1532
|
id() {
|
|
1458
1533
|
this.addField("id");
|
|
1459
1534
|
return this;
|
|
1460
1535
|
}
|
|
1461
|
-
|
|
1462
|
-
this.addField("
|
|
1536
|
+
name() {
|
|
1537
|
+
this.addField("name");
|
|
1463
1538
|
return this;
|
|
1464
1539
|
}
|
|
1465
1540
|
seqValue() {
|
|
1466
1541
|
this.addField("seqValue");
|
|
1467
1542
|
return this;
|
|
1468
1543
|
}
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
this._associations["media"] = new MediaQueryOptions(options);
|
|
1472
|
-
} else {
|
|
1473
|
-
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
1474
|
-
}
|
|
1544
|
+
content() {
|
|
1545
|
+
this.addField("content");
|
|
1475
1546
|
return this;
|
|
1476
1547
|
}
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
}
|
|
1548
|
+
/**
|
|
1549
|
+
* 模板类型
|
|
1550
|
+
*/
|
|
1551
|
+
templateType() {
|
|
1552
|
+
this.addField("templateType");
|
|
1483
1553
|
return this;
|
|
1484
1554
|
}
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
constructor(fields, queryArgs) {
|
|
1488
|
-
super(AttachmentOnProductEntityName, fields, queryArgs);
|
|
1489
|
-
}
|
|
1490
|
-
id() {
|
|
1491
|
-
this.addField("id");
|
|
1555
|
+
createdAt() {
|
|
1556
|
+
this.addField("createdAt");
|
|
1492
1557
|
return this;
|
|
1493
1558
|
}
|
|
1494
|
-
|
|
1495
|
-
this.addField("
|
|
1559
|
+
updatedAt() {
|
|
1560
|
+
this.addField("updatedAt");
|
|
1496
1561
|
return this;
|
|
1497
1562
|
}
|
|
1498
|
-
|
|
1563
|
+
lang(options) {
|
|
1499
1564
|
if (Array.isArray(options)) {
|
|
1500
|
-
this._associations["
|
|
1565
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1501
1566
|
} else {
|
|
1502
|
-
this._associations["
|
|
1567
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1503
1568
|
}
|
|
1504
1569
|
return this;
|
|
1505
1570
|
}
|
|
1506
|
-
|
|
1571
|
+
category(options) {
|
|
1507
1572
|
if (Array.isArray(options)) {
|
|
1508
|
-
this._associations["
|
|
1573
|
+
this._associations["category"] = new TemplateCategoryQueryOptions(options);
|
|
1509
1574
|
} else {
|
|
1510
|
-
this._associations["
|
|
1575
|
+
this._associations["category"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
1511
1576
|
}
|
|
1512
1577
|
return this;
|
|
1513
1578
|
}
|
|
1514
|
-
|
|
1515
|
-
|
|
1579
|
+
theme(options) {
|
|
1580
|
+
if (Array.isArray(options)) {
|
|
1581
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1582
|
+
} else {
|
|
1583
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1584
|
+
}
|
|
1585
|
+
return this;
|
|
1586
|
+
}
|
|
1587
|
+
website(options) {
|
|
1588
|
+
if (Array.isArray(options)) {
|
|
1589
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1590
|
+
} else {
|
|
1591
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1592
|
+
}
|
|
1593
|
+
return this;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
class ThemeQueryOptions extends QueryOptions {
|
|
1516
1597
|
constructor(fields, queryArgs) {
|
|
1517
|
-
super(
|
|
1598
|
+
super(ThemeEntityName, fields, queryArgs);
|
|
1518
1599
|
}
|
|
1519
1600
|
id() {
|
|
1520
1601
|
this.addField("id");
|
|
1521
1602
|
return this;
|
|
1522
1603
|
}
|
|
1523
|
-
|
|
1524
|
-
this.addField("
|
|
1604
|
+
name() {
|
|
1605
|
+
this.addField("name");
|
|
1525
1606
|
return this;
|
|
1526
1607
|
}
|
|
1527
|
-
|
|
1528
|
-
this.addField("
|
|
1608
|
+
styles() {
|
|
1609
|
+
this.addField("styles");
|
|
1529
1610
|
return this;
|
|
1530
1611
|
}
|
|
1531
|
-
|
|
1532
|
-
this.addField("
|
|
1612
|
+
settings() {
|
|
1613
|
+
this.addField("settings");
|
|
1533
1614
|
return this;
|
|
1534
1615
|
}
|
|
1535
|
-
|
|
1536
|
-
this.addField("
|
|
1616
|
+
description() {
|
|
1617
|
+
this.addField("description");
|
|
1537
1618
|
return this;
|
|
1538
1619
|
}
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
*/
|
|
1542
|
-
features() {
|
|
1543
|
-
this.addField("features");
|
|
1620
|
+
createdAt() {
|
|
1621
|
+
this.addField("createdAt");
|
|
1544
1622
|
return this;
|
|
1545
1623
|
}
|
|
1546
|
-
|
|
1547
|
-
this.addField("
|
|
1624
|
+
updatedAt() {
|
|
1625
|
+
this.addField("updatedAt");
|
|
1548
1626
|
return this;
|
|
1549
1627
|
}
|
|
1550
|
-
|
|
1551
|
-
|
|
1628
|
+
templates(options) {
|
|
1629
|
+
if (Array.isArray(options)) {
|
|
1630
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
1631
|
+
} else {
|
|
1632
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
1633
|
+
}
|
|
1552
1634
|
return this;
|
|
1553
1635
|
}
|
|
1554
|
-
|
|
1555
|
-
this.
|
|
1636
|
+
templatesAggregate(aggregate) {
|
|
1637
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
1556
1638
|
return this;
|
|
1557
1639
|
}
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1640
|
+
themlateCategories(options) {
|
|
1641
|
+
if (Array.isArray(options)) {
|
|
1642
|
+
this._associations["themlateCategories"] = new TemplateCategoryQueryOptions(options);
|
|
1643
|
+
} else {
|
|
1644
|
+
this._associations["themlateCategories"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
1645
|
+
}
|
|
1563
1646
|
return this;
|
|
1564
1647
|
}
|
|
1565
|
-
|
|
1566
|
-
this.
|
|
1648
|
+
themlateCategoriesAggregate(aggregate) {
|
|
1649
|
+
this._aggregates["themlateCategoriesAggregate"] = aggregate;
|
|
1567
1650
|
return this;
|
|
1568
1651
|
}
|
|
1569
|
-
|
|
1570
|
-
|
|
1652
|
+
lang(options) {
|
|
1653
|
+
if (Array.isArray(options)) {
|
|
1654
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1655
|
+
} else {
|
|
1656
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1657
|
+
}
|
|
1571
1658
|
return this;
|
|
1572
1659
|
}
|
|
1573
|
-
|
|
1574
|
-
|
|
1660
|
+
selectedBy(options) {
|
|
1661
|
+
if (Array.isArray(options)) {
|
|
1662
|
+
this._associations["selectedBy"] = new WebsiteQueryOptions(options);
|
|
1663
|
+
} else {
|
|
1664
|
+
this._associations["selectedBy"] = options || new WebsiteQueryOptions(["id"]);
|
|
1665
|
+
}
|
|
1575
1666
|
return this;
|
|
1576
1667
|
}
|
|
1577
|
-
|
|
1578
|
-
|
|
1668
|
+
website(options) {
|
|
1669
|
+
if (Array.isArray(options)) {
|
|
1670
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1671
|
+
} else {
|
|
1672
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1673
|
+
}
|
|
1579
1674
|
return this;
|
|
1580
1675
|
}
|
|
1581
|
-
|
|
1582
|
-
|
|
1676
|
+
}
|
|
1677
|
+
class PageQueryOptions extends QueryOptions {
|
|
1678
|
+
constructor(fields, queryArgs) {
|
|
1679
|
+
super(PageEntityName, fields, queryArgs);
|
|
1680
|
+
}
|
|
1681
|
+
id() {
|
|
1682
|
+
this.addField("id");
|
|
1583
1683
|
return this;
|
|
1584
1684
|
}
|
|
1585
|
-
|
|
1586
|
-
this.addField("
|
|
1685
|
+
title() {
|
|
1686
|
+
this.addField("title");
|
|
1587
1687
|
return this;
|
|
1588
1688
|
}
|
|
1589
|
-
|
|
1590
|
-
|
|
1689
|
+
/**
|
|
1690
|
+
* 备注
|
|
1691
|
+
*/
|
|
1692
|
+
remark() {
|
|
1693
|
+
this.addField("remark");
|
|
1591
1694
|
return this;
|
|
1592
1695
|
}
|
|
1593
|
-
|
|
1594
|
-
this.addField("
|
|
1696
|
+
content() {
|
|
1697
|
+
this.addField("content");
|
|
1698
|
+
return this;
|
|
1699
|
+
}
|
|
1700
|
+
extends() {
|
|
1701
|
+
this.addField("extends");
|
|
1595
1702
|
return this;
|
|
1596
1703
|
}
|
|
1597
|
-
/**
|
|
1598
|
-
* 创建时间
|
|
1599
|
-
*/
|
|
1600
1704
|
createdAt() {
|
|
1601
1705
|
this.addField("createdAt");
|
|
1602
1706
|
return this;
|
|
1603
1707
|
}
|
|
1604
|
-
/**
|
|
1605
|
-
* 更新时间
|
|
1606
|
-
*/
|
|
1607
1708
|
updatedAt() {
|
|
1608
1709
|
this.addField("updatedAt");
|
|
1609
1710
|
return this;
|
|
1610
1711
|
}
|
|
1611
|
-
/**
|
|
1612
|
-
* 备注
|
|
1613
|
-
*/
|
|
1614
|
-
remark() {
|
|
1615
|
-
this.addField("remark");
|
|
1616
|
-
return this;
|
|
1617
|
-
}
|
|
1618
1712
|
seoTitle() {
|
|
1619
1713
|
this.addField("seoTitle");
|
|
1620
1714
|
return this;
|
|
@@ -1667,28 +1761,12 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1667
1761
|
this.addField("xUrl");
|
|
1668
1762
|
return this;
|
|
1669
1763
|
}
|
|
1670
|
-
|
|
1671
|
-
this.addField("
|
|
1672
|
-
return this;
|
|
1673
|
-
}
|
|
1674
|
-
category(options) {
|
|
1675
|
-
if (Array.isArray(options)) {
|
|
1676
|
-
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
1677
|
-
} else {
|
|
1678
|
-
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1679
|
-
}
|
|
1680
|
-
return this;
|
|
1681
|
-
}
|
|
1682
|
-
tags(options) {
|
|
1683
|
-
if (Array.isArray(options)) {
|
|
1684
|
-
this._associations["tags"] = new TagQueryOptions(options);
|
|
1685
|
-
} else {
|
|
1686
|
-
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
1687
|
-
}
|
|
1764
|
+
slug() {
|
|
1765
|
+
this.addField("slug");
|
|
1688
1766
|
return this;
|
|
1689
1767
|
}
|
|
1690
|
-
|
|
1691
|
-
this.
|
|
1768
|
+
description() {
|
|
1769
|
+
this.addField("description");
|
|
1692
1770
|
return this;
|
|
1693
1771
|
}
|
|
1694
1772
|
ogImage(options) {
|
|
@@ -1699,135 +1777,227 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1699
1777
|
}
|
|
1700
1778
|
return this;
|
|
1701
1779
|
}
|
|
1702
|
-
|
|
1703
|
-
if (Array.isArray(options)) {
|
|
1704
|
-
this._associations["draftOf"] = new ProductQueryOptions(options);
|
|
1705
|
-
} else {
|
|
1706
|
-
this._associations["draftOf"] = options || new ProductQueryOptions(["id"]);
|
|
1707
|
-
}
|
|
1708
|
-
return this;
|
|
1709
|
-
}
|
|
1710
|
-
mediaPivots(options) {
|
|
1711
|
-
if (Array.isArray(options)) {
|
|
1712
|
-
this._associations["mediaPivots"] = new MediaOnProductQueryOptions(options);
|
|
1713
|
-
} else {
|
|
1714
|
-
this._associations["mediaPivots"] = options || new MediaOnProductQueryOptions(["id"]);
|
|
1715
|
-
}
|
|
1716
|
-
return this;
|
|
1717
|
-
}
|
|
1718
|
-
mediaPivotsAggregate(aggregate) {
|
|
1719
|
-
this._aggregates["mediaPivotsAggregate"] = aggregate;
|
|
1720
|
-
return this;
|
|
1721
|
-
}
|
|
1722
|
-
attachmentPivots(options) {
|
|
1780
|
+
lang(options) {
|
|
1723
1781
|
if (Array.isArray(options)) {
|
|
1724
|
-
this._associations["
|
|
1782
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1725
1783
|
} else {
|
|
1726
|
-
this._associations["
|
|
1784
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1727
1785
|
}
|
|
1728
1786
|
return this;
|
|
1729
1787
|
}
|
|
1730
|
-
|
|
1731
|
-
this._aggregates["attachmentPivotsAggregate"] = aggregate;
|
|
1732
|
-
return this;
|
|
1733
|
-
}
|
|
1734
|
-
creator(options) {
|
|
1788
|
+
homeOf(options) {
|
|
1735
1789
|
if (Array.isArray(options)) {
|
|
1736
|
-
this._associations["
|
|
1790
|
+
this._associations["homeOf"] = new WebsiteQueryOptions(options);
|
|
1737
1791
|
} else {
|
|
1738
|
-
this._associations["
|
|
1792
|
+
this._associations["homeOf"] = options || new WebsiteQueryOptions(["id"]);
|
|
1739
1793
|
}
|
|
1740
1794
|
return this;
|
|
1741
1795
|
}
|
|
1742
|
-
|
|
1796
|
+
website(options) {
|
|
1743
1797
|
if (Array.isArray(options)) {
|
|
1744
|
-
this._associations["
|
|
1798
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1745
1799
|
} else {
|
|
1746
|
-
this._associations["
|
|
1800
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1747
1801
|
}
|
|
1748
1802
|
return this;
|
|
1749
1803
|
}
|
|
1750
1804
|
}
|
|
1751
|
-
class
|
|
1805
|
+
class CustomerQueryOptions extends QueryOptions {
|
|
1752
1806
|
constructor(fields, queryArgs) {
|
|
1753
|
-
super(
|
|
1807
|
+
super(CustomerEntityName, fields, queryArgs);
|
|
1754
1808
|
}
|
|
1755
1809
|
id() {
|
|
1756
1810
|
this.addField("id");
|
|
1757
1811
|
return this;
|
|
1758
1812
|
}
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
*/
|
|
1762
|
-
name() {
|
|
1763
|
-
this.addField("name");
|
|
1764
|
-
return this;
|
|
1765
|
-
}
|
|
1766
|
-
color() {
|
|
1767
|
-
this.addField("color");
|
|
1768
|
-
return this;
|
|
1769
|
-
}
|
|
1770
|
-
websiteId() {
|
|
1771
|
-
this.addField("websiteId");
|
|
1813
|
+
company() {
|
|
1814
|
+
this.addField("company");
|
|
1772
1815
|
return this;
|
|
1773
1816
|
}
|
|
1774
|
-
|
|
1775
|
-
this.addField("
|
|
1817
|
+
createdAt() {
|
|
1818
|
+
this.addField("createdAt");
|
|
1776
1819
|
return this;
|
|
1777
1820
|
}
|
|
1778
|
-
|
|
1779
|
-
this.addField("
|
|
1821
|
+
updatedAt() {
|
|
1822
|
+
this.addField("updatedAt");
|
|
1780
1823
|
return this;
|
|
1781
1824
|
}
|
|
1782
1825
|
/**
|
|
1783
|
-
*
|
|
1826
|
+
* 邮箱
|
|
1784
1827
|
*/
|
|
1785
|
-
|
|
1786
|
-
this.addField("
|
|
1828
|
+
email() {
|
|
1829
|
+
this.addField("email");
|
|
1787
1830
|
return this;
|
|
1788
1831
|
}
|
|
1789
1832
|
/**
|
|
1790
|
-
*
|
|
1833
|
+
* 电话
|
|
1791
1834
|
*/
|
|
1792
|
-
|
|
1793
|
-
this.addField("
|
|
1835
|
+
tel() {
|
|
1836
|
+
this.addField("tel");
|
|
1794
1837
|
return this;
|
|
1795
1838
|
}
|
|
1796
1839
|
/**
|
|
1797
|
-
*
|
|
1840
|
+
* 电话2
|
|
1798
1841
|
*/
|
|
1799
|
-
|
|
1800
|
-
this.addField("
|
|
1842
|
+
tel2() {
|
|
1843
|
+
this.addField("tel2");
|
|
1801
1844
|
return this;
|
|
1802
1845
|
}
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
this._associations["posts"] = new PostQueryOptions(options);
|
|
1806
|
-
} else {
|
|
1807
|
-
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
1808
|
-
}
|
|
1846
|
+
name() {
|
|
1847
|
+
this.addField("name");
|
|
1809
1848
|
return this;
|
|
1810
1849
|
}
|
|
1811
|
-
|
|
1812
|
-
this.
|
|
1850
|
+
mobile() {
|
|
1851
|
+
this.addField("mobile");
|
|
1813
1852
|
return this;
|
|
1814
1853
|
}
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
this._associations["products"] = new ProductQueryOptions(options);
|
|
1818
|
-
} else {
|
|
1819
|
-
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
1820
|
-
}
|
|
1854
|
+
whatsApp() {
|
|
1855
|
+
this.addField("whatsApp");
|
|
1821
1856
|
return this;
|
|
1822
1857
|
}
|
|
1823
|
-
|
|
1824
|
-
this.
|
|
1858
|
+
linkedIn() {
|
|
1859
|
+
this.addField("linkedIn");
|
|
1825
1860
|
return this;
|
|
1826
1861
|
}
|
|
1827
|
-
|
|
1828
|
-
|
|
1862
|
+
twitter() {
|
|
1863
|
+
this.addField("twitter");
|
|
1864
|
+
return this;
|
|
1865
|
+
}
|
|
1866
|
+
facebook() {
|
|
1867
|
+
this.addField("facebook");
|
|
1868
|
+
return this;
|
|
1869
|
+
}
|
|
1870
|
+
instagram() {
|
|
1871
|
+
this.addField("instagram");
|
|
1872
|
+
return this;
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* 简介
|
|
1876
|
+
*/
|
|
1877
|
+
summary() {
|
|
1878
|
+
this.addField("summary");
|
|
1879
|
+
return this;
|
|
1880
|
+
}
|
|
1881
|
+
enquires(options) {
|
|
1882
|
+
if (Array.isArray(options)) {
|
|
1883
|
+
this._associations["enquires"] = new EnquiryQueryOptions(options);
|
|
1884
|
+
} else {
|
|
1885
|
+
this._associations["enquires"] = options || new EnquiryQueryOptions(["id"]);
|
|
1886
|
+
}
|
|
1887
|
+
return this;
|
|
1888
|
+
}
|
|
1889
|
+
enquiresAggregate(aggregate) {
|
|
1890
|
+
this._aggregates["enquiresAggregate"] = aggregate;
|
|
1891
|
+
return this;
|
|
1892
|
+
}
|
|
1893
|
+
lang(options) {
|
|
1894
|
+
if (Array.isArray(options)) {
|
|
1895
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1896
|
+
} else {
|
|
1897
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1898
|
+
}
|
|
1899
|
+
return this;
|
|
1900
|
+
}
|
|
1901
|
+
website(options) {
|
|
1902
|
+
if (Array.isArray(options)) {
|
|
1903
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1904
|
+
} else {
|
|
1905
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1906
|
+
}
|
|
1907
|
+
return this;
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
class EnquiryQueryOptions extends QueryOptions {
|
|
1829
1911
|
constructor(fields, queryArgs) {
|
|
1830
|
-
super(
|
|
1912
|
+
super(EnquiryEntityName, fields, queryArgs);
|
|
1913
|
+
}
|
|
1914
|
+
id() {
|
|
1915
|
+
this.addField("id");
|
|
1916
|
+
return this;
|
|
1917
|
+
}
|
|
1918
|
+
title() {
|
|
1919
|
+
this.addField("title");
|
|
1920
|
+
return this;
|
|
1921
|
+
}
|
|
1922
|
+
company() {
|
|
1923
|
+
this.addField("company");
|
|
1924
|
+
return this;
|
|
1925
|
+
}
|
|
1926
|
+
name() {
|
|
1927
|
+
this.addField("name");
|
|
1928
|
+
return this;
|
|
1929
|
+
}
|
|
1930
|
+
email() {
|
|
1931
|
+
this.addField("email");
|
|
1932
|
+
return this;
|
|
1933
|
+
}
|
|
1934
|
+
message() {
|
|
1935
|
+
this.addField("message");
|
|
1936
|
+
return this;
|
|
1937
|
+
}
|
|
1938
|
+
fromUrl() {
|
|
1939
|
+
this.addField("fromUrl");
|
|
1940
|
+
return this;
|
|
1941
|
+
}
|
|
1942
|
+
formIp() {
|
|
1943
|
+
this.addField("formIp");
|
|
1944
|
+
return this;
|
|
1945
|
+
}
|
|
1946
|
+
userAgent() {
|
|
1947
|
+
this.addField("userAgent");
|
|
1948
|
+
return this;
|
|
1949
|
+
}
|
|
1950
|
+
/**
|
|
1951
|
+
* 来源cta
|
|
1952
|
+
*/
|
|
1953
|
+
fromCta() {
|
|
1954
|
+
this.addField("fromCta");
|
|
1955
|
+
return this;
|
|
1956
|
+
}
|
|
1957
|
+
read() {
|
|
1958
|
+
this.addField("read");
|
|
1959
|
+
return this;
|
|
1960
|
+
}
|
|
1961
|
+
spam() {
|
|
1962
|
+
this.addField("spam");
|
|
1963
|
+
return this;
|
|
1964
|
+
}
|
|
1965
|
+
createdAt() {
|
|
1966
|
+
this.addField("createdAt");
|
|
1967
|
+
return this;
|
|
1968
|
+
}
|
|
1969
|
+
updatedAt() {
|
|
1970
|
+
this.addField("updatedAt");
|
|
1971
|
+
return this;
|
|
1972
|
+
}
|
|
1973
|
+
lang(options) {
|
|
1974
|
+
if (Array.isArray(options)) {
|
|
1975
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1976
|
+
} else {
|
|
1977
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1978
|
+
}
|
|
1979
|
+
return this;
|
|
1980
|
+
}
|
|
1981
|
+
customer(options) {
|
|
1982
|
+
if (Array.isArray(options)) {
|
|
1983
|
+
this._associations["customer"] = new CustomerQueryOptions(options);
|
|
1984
|
+
} else {
|
|
1985
|
+
this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
|
|
1986
|
+
}
|
|
1987
|
+
return this;
|
|
1988
|
+
}
|
|
1989
|
+
website(options) {
|
|
1990
|
+
if (Array.isArray(options)) {
|
|
1991
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1992
|
+
} else {
|
|
1993
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1994
|
+
}
|
|
1995
|
+
return this;
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
class ProductCategoryQueryOptions extends QueryOptions {
|
|
1999
|
+
constructor(fields, queryArgs) {
|
|
2000
|
+
super(ProductCategoryEntityName, fields, queryArgs);
|
|
1831
2001
|
}
|
|
1832
2002
|
id() {
|
|
1833
2003
|
this.addField("id");
|
|
@@ -1841,8 +2011,12 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1841
2011
|
this.addField("seqValue");
|
|
1842
2012
|
return this;
|
|
1843
2013
|
}
|
|
1844
|
-
|
|
1845
|
-
this.addField("
|
|
2014
|
+
createdAt() {
|
|
2015
|
+
this.addField("createdAt");
|
|
2016
|
+
return this;
|
|
2017
|
+
}
|
|
2018
|
+
updatedAt() {
|
|
2019
|
+
this.addField("updatedAt");
|
|
1846
2020
|
return this;
|
|
1847
2021
|
}
|
|
1848
2022
|
slug() {
|
|
@@ -1853,25 +2027,93 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1853
2027
|
this.addField("description");
|
|
1854
2028
|
return this;
|
|
1855
2029
|
}
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
2030
|
+
children(options) {
|
|
2031
|
+
if (Array.isArray(options)) {
|
|
2032
|
+
this._associations["children"] = new ProductCategoryQueryOptions(options);
|
|
2033
|
+
} else {
|
|
2034
|
+
this._associations["children"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2035
|
+
}
|
|
2036
|
+
return this;
|
|
2037
|
+
}
|
|
2038
|
+
childrenAggregate(aggregate) {
|
|
2039
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
2040
|
+
return this;
|
|
2041
|
+
}
|
|
2042
|
+
media(options) {
|
|
2043
|
+
if (Array.isArray(options)) {
|
|
2044
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
2045
|
+
} else {
|
|
2046
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
2047
|
+
}
|
|
2048
|
+
return this;
|
|
2049
|
+
}
|
|
2050
|
+
lang(options) {
|
|
2051
|
+
if (Array.isArray(options)) {
|
|
2052
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2053
|
+
} else {
|
|
2054
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2055
|
+
}
|
|
2056
|
+
return this;
|
|
2057
|
+
}
|
|
2058
|
+
parent(options) {
|
|
2059
|
+
if (Array.isArray(options)) {
|
|
2060
|
+
this._associations["parent"] = new ProductCategoryQueryOptions(options);
|
|
2061
|
+
} else {
|
|
2062
|
+
this._associations["parent"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2063
|
+
}
|
|
2064
|
+
return this;
|
|
2065
|
+
}
|
|
2066
|
+
products(options) {
|
|
2067
|
+
if (Array.isArray(options)) {
|
|
2068
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
2069
|
+
} else {
|
|
2070
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
2071
|
+
}
|
|
2072
|
+
return this;
|
|
2073
|
+
}
|
|
2074
|
+
productsAggregate(aggregate) {
|
|
2075
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
2076
|
+
return this;
|
|
2077
|
+
}
|
|
2078
|
+
website(options) {
|
|
2079
|
+
if (Array.isArray(options)) {
|
|
2080
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2081
|
+
} else {
|
|
2082
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2083
|
+
}
|
|
2084
|
+
return this;
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
class PostCategoryQueryOptions extends QueryOptions {
|
|
2088
|
+
constructor(fields, queryArgs) {
|
|
2089
|
+
super(PostCategoryEntityName, fields, queryArgs);
|
|
2090
|
+
}
|
|
2091
|
+
id() {
|
|
2092
|
+
this.addField("id");
|
|
2093
|
+
return this;
|
|
2094
|
+
}
|
|
2095
|
+
name() {
|
|
2096
|
+
this.addField("name");
|
|
2097
|
+
return this;
|
|
2098
|
+
}
|
|
2099
|
+
seqValue() {
|
|
2100
|
+
this.addField("seqValue");
|
|
2101
|
+
return this;
|
|
2102
|
+
}
|
|
1859
2103
|
createdAt() {
|
|
1860
2104
|
this.addField("createdAt");
|
|
1861
2105
|
return this;
|
|
1862
2106
|
}
|
|
1863
|
-
/**
|
|
1864
|
-
* 更新时间
|
|
1865
|
-
*/
|
|
1866
2107
|
updatedAt() {
|
|
1867
2108
|
this.addField("updatedAt");
|
|
1868
2109
|
return this;
|
|
1869
2110
|
}
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
2111
|
+
slug() {
|
|
2112
|
+
this.addField("slug");
|
|
2113
|
+
return this;
|
|
2114
|
+
}
|
|
2115
|
+
description() {
|
|
2116
|
+
this.addField("description");
|
|
1875
2117
|
return this;
|
|
1876
2118
|
}
|
|
1877
2119
|
children(options) {
|
|
@@ -1898,6 +2140,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1898
2140
|
this._aggregates["postsAggregate"] = aggregate;
|
|
1899
2141
|
return this;
|
|
1900
2142
|
}
|
|
2143
|
+
lang(options) {
|
|
2144
|
+
if (Array.isArray(options)) {
|
|
2145
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2146
|
+
} else {
|
|
2147
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2148
|
+
}
|
|
2149
|
+
return this;
|
|
2150
|
+
}
|
|
1901
2151
|
parent(options) {
|
|
1902
2152
|
if (Array.isArray(options)) {
|
|
1903
2153
|
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
@@ -1906,6 +2156,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1906
2156
|
}
|
|
1907
2157
|
return this;
|
|
1908
2158
|
}
|
|
2159
|
+
website(options) {
|
|
2160
|
+
if (Array.isArray(options)) {
|
|
2161
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2162
|
+
} else {
|
|
2163
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2164
|
+
}
|
|
2165
|
+
return this;
|
|
2166
|
+
}
|
|
1909
2167
|
}
|
|
1910
2168
|
class PostQueryOptions extends QueryOptions {
|
|
1911
2169
|
constructor(fields, queryArgs) {
|
|
@@ -1950,39 +2208,14 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1950
2208
|
this.addField("extends");
|
|
1951
2209
|
return this;
|
|
1952
2210
|
}
|
|
1953
|
-
websiteId() {
|
|
1954
|
-
this.addField("websiteId");
|
|
1955
|
-
return this;
|
|
1956
|
-
}
|
|
1957
|
-
slug() {
|
|
1958
|
-
this.addField("slug");
|
|
1959
|
-
return this;
|
|
1960
|
-
}
|
|
1961
|
-
description() {
|
|
1962
|
-
this.addField("description");
|
|
1963
|
-
return this;
|
|
1964
|
-
}
|
|
1965
|
-
/**
|
|
1966
|
-
* 创建时间
|
|
1967
|
-
*/
|
|
1968
2211
|
createdAt() {
|
|
1969
2212
|
this.addField("createdAt");
|
|
1970
2213
|
return this;
|
|
1971
2214
|
}
|
|
1972
|
-
/**
|
|
1973
|
-
* 更新时间
|
|
1974
|
-
*/
|
|
1975
2215
|
updatedAt() {
|
|
1976
2216
|
this.addField("updatedAt");
|
|
1977
2217
|
return this;
|
|
1978
2218
|
}
|
|
1979
|
-
/**
|
|
1980
|
-
* 备注
|
|
1981
|
-
*/
|
|
1982
|
-
remark() {
|
|
1983
|
-
this.addField("remark");
|
|
1984
|
-
return this;
|
|
1985
|
-
}
|
|
1986
2219
|
seoTitle() {
|
|
1987
2220
|
this.addField("seoTitle");
|
|
1988
2221
|
return this;
|
|
@@ -2035,8 +2268,12 @@ class PostQueryOptions extends QueryOptions {
|
|
|
2035
2268
|
this.addField("xUrl");
|
|
2036
2269
|
return this;
|
|
2037
2270
|
}
|
|
2038
|
-
|
|
2039
|
-
this.addField("
|
|
2271
|
+
slug() {
|
|
2272
|
+
this.addField("slug");
|
|
2273
|
+
return this;
|
|
2274
|
+
}
|
|
2275
|
+
description() {
|
|
2276
|
+
this.addField("description");
|
|
2040
2277
|
return this;
|
|
2041
2278
|
}
|
|
2042
2279
|
tags(options) {
|
|
@@ -2083,6 +2320,14 @@ class PostQueryOptions extends QueryOptions {
|
|
|
2083
2320
|
}
|
|
2084
2321
|
return this;
|
|
2085
2322
|
}
|
|
2323
|
+
lang(options) {
|
|
2324
|
+
if (Array.isArray(options)) {
|
|
2325
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2326
|
+
} else {
|
|
2327
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2328
|
+
}
|
|
2329
|
+
return this;
|
|
2330
|
+
}
|
|
2086
2331
|
category(options) {
|
|
2087
2332
|
if (Array.isArray(options)) {
|
|
2088
2333
|
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
@@ -2099,42 +2344,32 @@ class PostQueryOptions extends QueryOptions {
|
|
|
2099
2344
|
}
|
|
2100
2345
|
return this;
|
|
2101
2346
|
}
|
|
2347
|
+
website(options) {
|
|
2348
|
+
if (Array.isArray(options)) {
|
|
2349
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2350
|
+
} else {
|
|
2351
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2352
|
+
}
|
|
2353
|
+
return this;
|
|
2354
|
+
}
|
|
2102
2355
|
}
|
|
2103
|
-
class
|
|
2356
|
+
class TagQueryOptions extends QueryOptions {
|
|
2104
2357
|
constructor(fields, queryArgs) {
|
|
2105
|
-
super(
|
|
2358
|
+
super(TagEntityName, fields, queryArgs);
|
|
2106
2359
|
}
|
|
2107
2360
|
id() {
|
|
2108
2361
|
this.addField("id");
|
|
2109
2362
|
return this;
|
|
2110
2363
|
}
|
|
2111
2364
|
/**
|
|
2112
|
-
*
|
|
2365
|
+
* 名称
|
|
2113
2366
|
*/
|
|
2114
2367
|
name() {
|
|
2115
2368
|
this.addField("name");
|
|
2116
2369
|
return this;
|
|
2117
2370
|
}
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
*/
|
|
2121
|
-
displayName() {
|
|
2122
|
-
this.addField("displayName");
|
|
2123
|
-
return this;
|
|
2124
|
-
}
|
|
2125
|
-
pricePerMonth() {
|
|
2126
|
-
this.addField("pricePerMonth");
|
|
2127
|
-
return this;
|
|
2128
|
-
}
|
|
2129
|
-
pricePerYear() {
|
|
2130
|
-
this.addField("pricePerYear");
|
|
2131
|
-
return this;
|
|
2132
|
-
}
|
|
2133
|
-
/**
|
|
2134
|
-
* 备注
|
|
2135
|
-
*/
|
|
2136
|
-
remark() {
|
|
2137
|
-
this.addField("remark");
|
|
2371
|
+
color() {
|
|
2372
|
+
this.addField("color");
|
|
2138
2373
|
return this;
|
|
2139
2374
|
}
|
|
2140
2375
|
createdAt() {
|
|
@@ -2145,259 +2380,381 @@ class WebsiteTypeQueryOptions extends QueryOptions {
|
|
|
2145
2380
|
this.addField("updatedAt");
|
|
2146
2381
|
return this;
|
|
2147
2382
|
}
|
|
2148
|
-
|
|
2149
|
-
|
|
2383
|
+
lang(options) {
|
|
2384
|
+
if (Array.isArray(options)) {
|
|
2385
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2386
|
+
} else {
|
|
2387
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2388
|
+
}
|
|
2150
2389
|
return this;
|
|
2151
2390
|
}
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2391
|
+
posts(options) {
|
|
2392
|
+
if (Array.isArray(options)) {
|
|
2393
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
2394
|
+
} else {
|
|
2395
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
2396
|
+
}
|
|
2157
2397
|
return this;
|
|
2158
2398
|
}
|
|
2159
|
-
|
|
2399
|
+
postsAggregate(aggregate) {
|
|
2400
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
2401
|
+
return this;
|
|
2402
|
+
}
|
|
2403
|
+
products(options) {
|
|
2160
2404
|
if (Array.isArray(options)) {
|
|
2161
|
-
this._associations["
|
|
2405
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
2162
2406
|
} else {
|
|
2163
|
-
this._associations["
|
|
2407
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
2164
2408
|
}
|
|
2165
2409
|
return this;
|
|
2166
2410
|
}
|
|
2167
|
-
|
|
2168
|
-
this._aggregates["
|
|
2411
|
+
productsAggregate(aggregate) {
|
|
2412
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
2413
|
+
return this;
|
|
2414
|
+
}
|
|
2415
|
+
website(options) {
|
|
2416
|
+
if (Array.isArray(options)) {
|
|
2417
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2418
|
+
} else {
|
|
2419
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2420
|
+
}
|
|
2169
2421
|
return this;
|
|
2170
2422
|
}
|
|
2171
2423
|
}
|
|
2172
|
-
class
|
|
2424
|
+
class MediaOnProductQueryOptions extends QueryOptions {
|
|
2173
2425
|
constructor(fields, queryArgs) {
|
|
2174
|
-
super(
|
|
2426
|
+
super(MediaOnProductEntityName, fields, queryArgs);
|
|
2175
2427
|
}
|
|
2176
2428
|
id() {
|
|
2177
2429
|
this.addField("id");
|
|
2178
2430
|
return this;
|
|
2179
2431
|
}
|
|
2180
|
-
|
|
2181
|
-
this.addField("
|
|
2432
|
+
altText() {
|
|
2433
|
+
this.addField("altText");
|
|
2182
2434
|
return this;
|
|
2183
2435
|
}
|
|
2184
2436
|
seqValue() {
|
|
2185
2437
|
this.addField("seqValue");
|
|
2186
2438
|
return this;
|
|
2187
2439
|
}
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2440
|
+
media(options) {
|
|
2441
|
+
if (Array.isArray(options)) {
|
|
2442
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
2443
|
+
} else {
|
|
2444
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
2445
|
+
}
|
|
2194
2446
|
return this;
|
|
2195
2447
|
}
|
|
2196
|
-
|
|
2197
|
-
|
|
2448
|
+
product(options) {
|
|
2449
|
+
if (Array.isArray(options)) {
|
|
2450
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
2451
|
+
} else {
|
|
2452
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
2453
|
+
}
|
|
2198
2454
|
return this;
|
|
2199
2455
|
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
this.addField("createdAt");
|
|
2205
|
-
return this;
|
|
2456
|
+
}
|
|
2457
|
+
class AttachmentOnProductQueryOptions extends QueryOptions {
|
|
2458
|
+
constructor(fields, queryArgs) {
|
|
2459
|
+
super(AttachmentOnProductEntityName, fields, queryArgs);
|
|
2206
2460
|
}
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
*/
|
|
2210
|
-
updatedAt() {
|
|
2211
|
-
this.addField("updatedAt");
|
|
2461
|
+
id() {
|
|
2462
|
+
this.addField("id");
|
|
2212
2463
|
return this;
|
|
2213
2464
|
}
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
*/
|
|
2217
|
-
remark() {
|
|
2218
|
-
this.addField("remark");
|
|
2465
|
+
seqValue() {
|
|
2466
|
+
this.addField("seqValue");
|
|
2219
2467
|
return this;
|
|
2220
2468
|
}
|
|
2221
|
-
|
|
2469
|
+
attachment(options) {
|
|
2222
2470
|
if (Array.isArray(options)) {
|
|
2223
|
-
this._associations["
|
|
2471
|
+
this._associations["attachment"] = new MediaQueryOptions(options);
|
|
2224
2472
|
} else {
|
|
2225
|
-
this._associations["
|
|
2473
|
+
this._associations["attachment"] = options || new MediaQueryOptions(["id"]);
|
|
2226
2474
|
}
|
|
2227
2475
|
return this;
|
|
2228
2476
|
}
|
|
2229
|
-
|
|
2230
|
-
this._aggregates["templatesAggregate"] = aggregate;
|
|
2231
|
-
return this;
|
|
2232
|
-
}
|
|
2233
|
-
theme(options) {
|
|
2477
|
+
product(options) {
|
|
2234
2478
|
if (Array.isArray(options)) {
|
|
2235
|
-
this._associations["
|
|
2479
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
2236
2480
|
} else {
|
|
2237
|
-
this._associations["
|
|
2481
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
2238
2482
|
}
|
|
2239
2483
|
return this;
|
|
2240
2484
|
}
|
|
2241
2485
|
}
|
|
2242
|
-
class
|
|
2486
|
+
class ProductQueryOptions extends QueryOptions {
|
|
2243
2487
|
constructor(fields, queryArgs) {
|
|
2244
|
-
super(
|
|
2488
|
+
super(ProductEntityName, fields, queryArgs);
|
|
2245
2489
|
}
|
|
2246
2490
|
id() {
|
|
2247
2491
|
this.addField("id");
|
|
2248
2492
|
return this;
|
|
2249
2493
|
}
|
|
2250
|
-
|
|
2251
|
-
this.addField("
|
|
2494
|
+
published() {
|
|
2495
|
+
this.addField("published");
|
|
2252
2496
|
return this;
|
|
2253
2497
|
}
|
|
2254
|
-
|
|
2255
|
-
this.addField("
|
|
2498
|
+
featured() {
|
|
2499
|
+
this.addField("featured");
|
|
2256
2500
|
return this;
|
|
2257
2501
|
}
|
|
2258
|
-
|
|
2259
|
-
this.addField("
|
|
2502
|
+
showInNavMenu() {
|
|
2503
|
+
this.addField("showInNavMenu");
|
|
2504
|
+
return this;
|
|
2505
|
+
}
|
|
2506
|
+
seqValue() {
|
|
2507
|
+
this.addField("seqValue");
|
|
2260
2508
|
return this;
|
|
2261
2509
|
}
|
|
2262
2510
|
/**
|
|
2263
|
-
*
|
|
2511
|
+
* 特色
|
|
2264
2512
|
*/
|
|
2265
|
-
|
|
2266
|
-
this.addField("
|
|
2513
|
+
features() {
|
|
2514
|
+
this.addField("features");
|
|
2267
2515
|
return this;
|
|
2268
2516
|
}
|
|
2269
|
-
|
|
2270
|
-
this.addField("
|
|
2517
|
+
content2() {
|
|
2518
|
+
this.addField("content2");
|
|
2271
2519
|
return this;
|
|
2272
2520
|
}
|
|
2273
|
-
|
|
2274
|
-
this.addField("
|
|
2521
|
+
content3() {
|
|
2522
|
+
this.addField("content3");
|
|
2275
2523
|
return this;
|
|
2276
2524
|
}
|
|
2277
|
-
|
|
2278
|
-
this.addField("
|
|
2525
|
+
shortTitle() {
|
|
2526
|
+
this.addField("shortTitle");
|
|
2279
2527
|
return this;
|
|
2280
2528
|
}
|
|
2281
2529
|
/**
|
|
2282
|
-
*
|
|
2530
|
+
* 第三方视频url
|
|
2283
2531
|
*/
|
|
2284
|
-
|
|
2285
|
-
this.addField("
|
|
2532
|
+
externalVideoUrl() {
|
|
2533
|
+
this.addField("externalVideoUrl");
|
|
2286
2534
|
return this;
|
|
2287
2535
|
}
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
*/
|
|
2291
|
-
updatedAt() {
|
|
2292
|
-
this.addField("updatedAt");
|
|
2536
|
+
publishedAt() {
|
|
2537
|
+
this.addField("publishedAt");
|
|
2293
2538
|
return this;
|
|
2294
2539
|
}
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
*/
|
|
2298
|
-
remark() {
|
|
2299
|
-
this.addField("remark");
|
|
2540
|
+
status() {
|
|
2541
|
+
this.addField("status");
|
|
2300
2542
|
return this;
|
|
2301
2543
|
}
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
this._associations["category"] = new TemplateCategoryQueryOptions(options);
|
|
2305
|
-
} else {
|
|
2306
|
-
this._associations["category"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2307
|
-
}
|
|
2544
|
+
title() {
|
|
2545
|
+
this.addField("title");
|
|
2308
2546
|
return this;
|
|
2309
2547
|
}
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
2313
|
-
} else {
|
|
2314
|
-
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
2315
|
-
}
|
|
2548
|
+
content() {
|
|
2549
|
+
this.addField("content");
|
|
2316
2550
|
return this;
|
|
2317
2551
|
}
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
constructor(fields, queryArgs) {
|
|
2321
|
-
super(ThemeEntityName, fields, queryArgs);
|
|
2322
|
-
}
|
|
2323
|
-
id() {
|
|
2324
|
-
this.addField("id");
|
|
2552
|
+
extends() {
|
|
2553
|
+
this.addField("extends");
|
|
2325
2554
|
return this;
|
|
2326
2555
|
}
|
|
2327
|
-
|
|
2328
|
-
this.addField("
|
|
2556
|
+
createdAt() {
|
|
2557
|
+
this.addField("createdAt");
|
|
2329
2558
|
return this;
|
|
2330
2559
|
}
|
|
2331
|
-
|
|
2332
|
-
this.addField("
|
|
2560
|
+
updatedAt() {
|
|
2561
|
+
this.addField("updatedAt");
|
|
2333
2562
|
return this;
|
|
2334
2563
|
}
|
|
2335
|
-
|
|
2336
|
-
this.addField("
|
|
2564
|
+
seoTitle() {
|
|
2565
|
+
this.addField("seoTitle");
|
|
2337
2566
|
return this;
|
|
2338
2567
|
}
|
|
2339
|
-
|
|
2340
|
-
this.addField("
|
|
2568
|
+
seoKeywords() {
|
|
2569
|
+
this.addField("seoKeywords");
|
|
2341
2570
|
return this;
|
|
2342
2571
|
}
|
|
2343
|
-
|
|
2344
|
-
this.addField("
|
|
2572
|
+
seoDescription() {
|
|
2573
|
+
this.addField("seoDescription");
|
|
2345
2574
|
return this;
|
|
2346
2575
|
}
|
|
2347
|
-
|
|
2348
|
-
this.addField("
|
|
2576
|
+
ogTitle() {
|
|
2577
|
+
this.addField("ogTitle");
|
|
2349
2578
|
return this;
|
|
2350
2579
|
}
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
*/
|
|
2354
|
-
createdAt() {
|
|
2355
|
-
this.addField("createdAt");
|
|
2580
|
+
ogDescription() {
|
|
2581
|
+
this.addField("ogDescription");
|
|
2356
2582
|
return this;
|
|
2357
2583
|
}
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
*/
|
|
2361
|
-
updatedAt() {
|
|
2362
|
-
this.addField("updatedAt");
|
|
2584
|
+
ogUrl() {
|
|
2585
|
+
this.addField("ogUrl");
|
|
2363
2586
|
return this;
|
|
2364
2587
|
}
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
*/
|
|
2368
|
-
remark() {
|
|
2369
|
-
this.addField("remark");
|
|
2588
|
+
ogSiteName() {
|
|
2589
|
+
this.addField("ogSiteName");
|
|
2370
2590
|
return this;
|
|
2371
2591
|
}
|
|
2372
|
-
|
|
2592
|
+
ogType() {
|
|
2593
|
+
this.addField("ogType");
|
|
2594
|
+
return this;
|
|
2595
|
+
}
|
|
2596
|
+
xCard() {
|
|
2597
|
+
this.addField("xCard");
|
|
2598
|
+
return this;
|
|
2599
|
+
}
|
|
2600
|
+
xSite() {
|
|
2601
|
+
this.addField("xSite");
|
|
2602
|
+
return this;
|
|
2603
|
+
}
|
|
2604
|
+
xTitle() {
|
|
2605
|
+
this.addField("xTitle");
|
|
2606
|
+
return this;
|
|
2607
|
+
}
|
|
2608
|
+
xDescription() {
|
|
2609
|
+
this.addField("xDescription");
|
|
2610
|
+
return this;
|
|
2611
|
+
}
|
|
2612
|
+
xUrl() {
|
|
2613
|
+
this.addField("xUrl");
|
|
2614
|
+
return this;
|
|
2615
|
+
}
|
|
2616
|
+
slug() {
|
|
2617
|
+
this.addField("slug");
|
|
2618
|
+
return this;
|
|
2619
|
+
}
|
|
2620
|
+
description() {
|
|
2621
|
+
this.addField("description");
|
|
2622
|
+
return this;
|
|
2623
|
+
}
|
|
2624
|
+
category(options) {
|
|
2373
2625
|
if (Array.isArray(options)) {
|
|
2374
|
-
this._associations["
|
|
2626
|
+
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
2375
2627
|
} else {
|
|
2376
|
-
this._associations["
|
|
2628
|
+
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2377
2629
|
}
|
|
2378
2630
|
return this;
|
|
2379
2631
|
}
|
|
2380
|
-
|
|
2381
|
-
|
|
2632
|
+
tags(options) {
|
|
2633
|
+
if (Array.isArray(options)) {
|
|
2634
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
2635
|
+
} else {
|
|
2636
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
2637
|
+
}
|
|
2382
2638
|
return this;
|
|
2383
2639
|
}
|
|
2384
|
-
|
|
2640
|
+
tagsAggregate(aggregate) {
|
|
2641
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
2642
|
+
return this;
|
|
2643
|
+
}
|
|
2644
|
+
ogImage(options) {
|
|
2385
2645
|
if (Array.isArray(options)) {
|
|
2386
|
-
this._associations["
|
|
2646
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2387
2647
|
} else {
|
|
2388
|
-
this._associations["
|
|
2648
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2389
2649
|
}
|
|
2390
2650
|
return this;
|
|
2391
2651
|
}
|
|
2392
|
-
|
|
2393
|
-
|
|
2652
|
+
draftOf(options) {
|
|
2653
|
+
if (Array.isArray(options)) {
|
|
2654
|
+
this._associations["draftOf"] = new ProductQueryOptions(options);
|
|
2655
|
+
} else {
|
|
2656
|
+
this._associations["draftOf"] = options || new ProductQueryOptions(["id"]);
|
|
2657
|
+
}
|
|
2394
2658
|
return this;
|
|
2395
2659
|
}
|
|
2396
|
-
|
|
2660
|
+
mediaPivots(options) {
|
|
2397
2661
|
if (Array.isArray(options)) {
|
|
2398
|
-
this._associations["
|
|
2662
|
+
this._associations["mediaPivots"] = new MediaOnProductQueryOptions(options);
|
|
2399
2663
|
} else {
|
|
2400
|
-
this._associations["
|
|
2664
|
+
this._associations["mediaPivots"] = options || new MediaOnProductQueryOptions(["id"]);
|
|
2665
|
+
}
|
|
2666
|
+
return this;
|
|
2667
|
+
}
|
|
2668
|
+
mediaPivotsAggregate(aggregate) {
|
|
2669
|
+
this._aggregates["mediaPivotsAggregate"] = aggregate;
|
|
2670
|
+
return this;
|
|
2671
|
+
}
|
|
2672
|
+
attachmentPivots(options) {
|
|
2673
|
+
if (Array.isArray(options)) {
|
|
2674
|
+
this._associations["attachmentPivots"] = new AttachmentOnProductQueryOptions(options);
|
|
2675
|
+
} else {
|
|
2676
|
+
this._associations["attachmentPivots"] = options || new AttachmentOnProductQueryOptions(["id"]);
|
|
2677
|
+
}
|
|
2678
|
+
return this;
|
|
2679
|
+
}
|
|
2680
|
+
attachmentPivotsAggregate(aggregate) {
|
|
2681
|
+
this._aggregates["attachmentPivotsAggregate"] = aggregate;
|
|
2682
|
+
return this;
|
|
2683
|
+
}
|
|
2684
|
+
lang(options) {
|
|
2685
|
+
if (Array.isArray(options)) {
|
|
2686
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2687
|
+
} else {
|
|
2688
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2689
|
+
}
|
|
2690
|
+
return this;
|
|
2691
|
+
}
|
|
2692
|
+
creator(options) {
|
|
2693
|
+
if (Array.isArray(options)) {
|
|
2694
|
+
this._associations["creator"] = new UserQueryOptions(options);
|
|
2695
|
+
} else {
|
|
2696
|
+
this._associations["creator"] = options || new UserQueryOptions(["id"]);
|
|
2697
|
+
}
|
|
2698
|
+
return this;
|
|
2699
|
+
}
|
|
2700
|
+
draft(options) {
|
|
2701
|
+
if (Array.isArray(options)) {
|
|
2702
|
+
this._associations["draft"] = new ProductQueryOptions(options);
|
|
2703
|
+
} else {
|
|
2704
|
+
this._associations["draft"] = options || new ProductQueryOptions(["id"]);
|
|
2705
|
+
}
|
|
2706
|
+
return this;
|
|
2707
|
+
}
|
|
2708
|
+
website(options) {
|
|
2709
|
+
if (Array.isArray(options)) {
|
|
2710
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2711
|
+
} else {
|
|
2712
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2713
|
+
}
|
|
2714
|
+
return this;
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
class SpamFilterRuleQueryOptions extends QueryOptions {
|
|
2718
|
+
constructor(fields, queryArgs) {
|
|
2719
|
+
super(SpamFilterRuleEntityName, fields, queryArgs);
|
|
2720
|
+
}
|
|
2721
|
+
id() {
|
|
2722
|
+
this.addField("id");
|
|
2723
|
+
return this;
|
|
2724
|
+
}
|
|
2725
|
+
emails() {
|
|
2726
|
+
this.addField("emails");
|
|
2727
|
+
return this;
|
|
2728
|
+
}
|
|
2729
|
+
ips() {
|
|
2730
|
+
this.addField("ips");
|
|
2731
|
+
return this;
|
|
2732
|
+
}
|
|
2733
|
+
keywords() {
|
|
2734
|
+
this.addField("keywords");
|
|
2735
|
+
return this;
|
|
2736
|
+
}
|
|
2737
|
+
createdAt() {
|
|
2738
|
+
this.addField("createdAt");
|
|
2739
|
+
return this;
|
|
2740
|
+
}
|
|
2741
|
+
updatedAt() {
|
|
2742
|
+
this.addField("updatedAt");
|
|
2743
|
+
return this;
|
|
2744
|
+
}
|
|
2745
|
+
lang(options) {
|
|
2746
|
+
if (Array.isArray(options)) {
|
|
2747
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2748
|
+
} else {
|
|
2749
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2750
|
+
}
|
|
2751
|
+
return this;
|
|
2752
|
+
}
|
|
2753
|
+
website(options) {
|
|
2754
|
+
if (Array.isArray(options)) {
|
|
2755
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2756
|
+
} else {
|
|
2757
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2401
2758
|
}
|
|
2402
2759
|
return this;
|
|
2403
2760
|
}
|
|
@@ -2459,6 +2816,10 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
2459
2816
|
this.addField("updatedBy");
|
|
2460
2817
|
return this;
|
|
2461
2818
|
}
|
|
2819
|
+
description() {
|
|
2820
|
+
this.addField("description");
|
|
2821
|
+
return this;
|
|
2822
|
+
}
|
|
2462
2823
|
websiteType(options) {
|
|
2463
2824
|
if (Array.isArray(options)) {
|
|
2464
2825
|
this._associations["websiteType"] = new WebsiteTypeQueryOptions(options);
|
|
@@ -2503,167 +2864,293 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
2503
2864
|
this._aggregates["usersAggregate"] = aggregate;
|
|
2504
2865
|
return this;
|
|
2505
2866
|
}
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
this.addField("id");
|
|
2867
|
+
partsOfWebsiteSettings(options) {
|
|
2868
|
+
if (Array.isArray(options)) {
|
|
2869
|
+
this._associations["partsOfWebsiteSettings"] = new WebsiteSettingsQueryOptions(options);
|
|
2870
|
+
} else {
|
|
2871
|
+
this._associations["partsOfWebsiteSettings"] = options || new WebsiteSettingsQueryOptions(["id"]);
|
|
2872
|
+
}
|
|
2513
2873
|
return this;
|
|
2514
2874
|
}
|
|
2515
|
-
|
|
2516
|
-
this.
|
|
2875
|
+
partsOfWebsiteSettingsAggregate(aggregate) {
|
|
2876
|
+
this._aggregates["partsOfWebsiteSettingsAggregate"] = aggregate;
|
|
2517
2877
|
return this;
|
|
2518
2878
|
}
|
|
2519
|
-
|
|
2520
|
-
|
|
2879
|
+
partsOfTheme(options) {
|
|
2880
|
+
if (Array.isArray(options)) {
|
|
2881
|
+
this._associations["partsOfTheme"] = new ThemeQueryOptions(options);
|
|
2882
|
+
} else {
|
|
2883
|
+
this._associations["partsOfTheme"] = options || new ThemeQueryOptions(["id"]);
|
|
2884
|
+
}
|
|
2521
2885
|
return this;
|
|
2522
2886
|
}
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
*/
|
|
2526
|
-
remark() {
|
|
2527
|
-
this.addField("remark");
|
|
2887
|
+
partsOfThemeAggregate(aggregate) {
|
|
2888
|
+
this._aggregates["partsOfThemeAggregate"] = aggregate;
|
|
2528
2889
|
return this;
|
|
2529
2890
|
}
|
|
2530
|
-
|
|
2531
|
-
|
|
2891
|
+
partsOfTemplate(options) {
|
|
2892
|
+
if (Array.isArray(options)) {
|
|
2893
|
+
this._associations["partsOfTemplate"] = new TemplateQueryOptions(options);
|
|
2894
|
+
} else {
|
|
2895
|
+
this._associations["partsOfTemplate"] = options || new TemplateQueryOptions(["id"]);
|
|
2896
|
+
}
|
|
2532
2897
|
return this;
|
|
2533
2898
|
}
|
|
2534
|
-
|
|
2535
|
-
this.
|
|
2899
|
+
partsOfTemplateAggregate(aggregate) {
|
|
2900
|
+
this._aggregates["partsOfTemplateAggregate"] = aggregate;
|
|
2536
2901
|
return this;
|
|
2537
2902
|
}
|
|
2538
|
-
|
|
2539
|
-
|
|
2903
|
+
partsOfTemplateCategory(options) {
|
|
2904
|
+
if (Array.isArray(options)) {
|
|
2905
|
+
this._associations["partsOfTemplateCategory"] = new TemplateCategoryQueryOptions(options);
|
|
2906
|
+
} else {
|
|
2907
|
+
this._associations["partsOfTemplateCategory"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2908
|
+
}
|
|
2540
2909
|
return this;
|
|
2541
2910
|
}
|
|
2542
|
-
|
|
2543
|
-
this.
|
|
2911
|
+
partsOfTemplateCategoryAggregate(aggregate) {
|
|
2912
|
+
this._aggregates["partsOfTemplateCategoryAggregate"] = aggregate;
|
|
2544
2913
|
return this;
|
|
2545
2914
|
}
|
|
2546
|
-
|
|
2547
|
-
|
|
2915
|
+
partsOfMediaFolder(options) {
|
|
2916
|
+
if (Array.isArray(options)) {
|
|
2917
|
+
this._associations["partsOfMediaFolder"] = new MediaFolderQueryOptions(options);
|
|
2918
|
+
} else {
|
|
2919
|
+
this._associations["partsOfMediaFolder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2920
|
+
}
|
|
2548
2921
|
return this;
|
|
2549
2922
|
}
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
*/
|
|
2553
|
-
createdAt() {
|
|
2554
|
-
this.addField("createdAt");
|
|
2923
|
+
partsOfMediaFolderAggregate(aggregate) {
|
|
2924
|
+
this._aggregates["partsOfMediaFolderAggregate"] = aggregate;
|
|
2555
2925
|
return this;
|
|
2556
2926
|
}
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2927
|
+
partsOfEnquiry(options) {
|
|
2928
|
+
if (Array.isArray(options)) {
|
|
2929
|
+
this._associations["partsOfEnquiry"] = new EnquiryQueryOptions(options);
|
|
2930
|
+
} else {
|
|
2931
|
+
this._associations["partsOfEnquiry"] = options || new EnquiryQueryOptions(["id"]);
|
|
2932
|
+
}
|
|
2562
2933
|
return this;
|
|
2563
2934
|
}
|
|
2564
|
-
|
|
2565
|
-
this.
|
|
2935
|
+
partsOfEnquiryAggregate(aggregate) {
|
|
2936
|
+
this._aggregates["partsOfEnquiryAggregate"] = aggregate;
|
|
2566
2937
|
return this;
|
|
2567
2938
|
}
|
|
2568
|
-
|
|
2569
|
-
|
|
2939
|
+
partsOfPage(options) {
|
|
2940
|
+
if (Array.isArray(options)) {
|
|
2941
|
+
this._associations["partsOfPage"] = new PageQueryOptions(options);
|
|
2942
|
+
} else {
|
|
2943
|
+
this._associations["partsOfPage"] = options || new PageQueryOptions(["id"]);
|
|
2944
|
+
}
|
|
2570
2945
|
return this;
|
|
2571
2946
|
}
|
|
2572
|
-
|
|
2573
|
-
this.
|
|
2947
|
+
partsOfPageAggregate(aggregate) {
|
|
2948
|
+
this._aggregates["partsOfPageAggregate"] = aggregate;
|
|
2574
2949
|
return this;
|
|
2575
2950
|
}
|
|
2576
|
-
|
|
2577
|
-
|
|
2951
|
+
partsOfProduct(options) {
|
|
2952
|
+
if (Array.isArray(options)) {
|
|
2953
|
+
this._associations["partsOfProduct"] = new ProductQueryOptions(options);
|
|
2954
|
+
} else {
|
|
2955
|
+
this._associations["partsOfProduct"] = options || new ProductQueryOptions(["id"]);
|
|
2956
|
+
}
|
|
2578
2957
|
return this;
|
|
2579
2958
|
}
|
|
2580
|
-
|
|
2581
|
-
this.
|
|
2959
|
+
partsOfProductAggregate(aggregate) {
|
|
2960
|
+
this._aggregates["partsOfProductAggregate"] = aggregate;
|
|
2582
2961
|
return this;
|
|
2583
2962
|
}
|
|
2584
|
-
|
|
2585
|
-
|
|
2963
|
+
partsOfPost(options) {
|
|
2964
|
+
if (Array.isArray(options)) {
|
|
2965
|
+
this._associations["partsOfPost"] = new PostQueryOptions(options);
|
|
2966
|
+
} else {
|
|
2967
|
+
this._associations["partsOfPost"] = options || new PostQueryOptions(["id"]);
|
|
2968
|
+
}
|
|
2586
2969
|
return this;
|
|
2587
2970
|
}
|
|
2588
|
-
|
|
2589
|
-
this.
|
|
2971
|
+
partsOfPostAggregate(aggregate) {
|
|
2972
|
+
this._aggregates["partsOfPostAggregate"] = aggregate;
|
|
2590
2973
|
return this;
|
|
2591
2974
|
}
|
|
2592
|
-
|
|
2593
|
-
|
|
2975
|
+
partsOfPostCategory(options) {
|
|
2976
|
+
if (Array.isArray(options)) {
|
|
2977
|
+
this._associations["partsOfPostCategory"] = new PostCategoryQueryOptions(options);
|
|
2978
|
+
} else {
|
|
2979
|
+
this._associations["partsOfPostCategory"] = options || new PostCategoryQueryOptions(["id"]);
|
|
2980
|
+
}
|
|
2594
2981
|
return this;
|
|
2595
2982
|
}
|
|
2596
|
-
|
|
2597
|
-
this.
|
|
2983
|
+
partsOfPostCategoryAggregate(aggregate) {
|
|
2984
|
+
this._aggregates["partsOfPostCategoryAggregate"] = aggregate;
|
|
2598
2985
|
return this;
|
|
2599
2986
|
}
|
|
2600
|
-
|
|
2601
|
-
|
|
2987
|
+
partsOfTag(options) {
|
|
2988
|
+
if (Array.isArray(options)) {
|
|
2989
|
+
this._associations["partsOfTag"] = new TagQueryOptions(options);
|
|
2990
|
+
} else {
|
|
2991
|
+
this._associations["partsOfTag"] = options || new TagQueryOptions(["id"]);
|
|
2992
|
+
}
|
|
2602
2993
|
return this;
|
|
2603
2994
|
}
|
|
2604
|
-
|
|
2605
|
-
this.
|
|
2995
|
+
partsOfTagAggregate(aggregate) {
|
|
2996
|
+
this._aggregates["partsOfTagAggregate"] = aggregate;
|
|
2606
2997
|
return this;
|
|
2607
2998
|
}
|
|
2608
|
-
|
|
2609
|
-
|
|
2999
|
+
partsOfCustomer(options) {
|
|
3000
|
+
if (Array.isArray(options)) {
|
|
3001
|
+
this._associations["partsOfCustomer"] = new CustomerQueryOptions(options);
|
|
3002
|
+
} else {
|
|
3003
|
+
this._associations["partsOfCustomer"] = options || new CustomerQueryOptions(["id"]);
|
|
3004
|
+
}
|
|
2610
3005
|
return this;
|
|
2611
3006
|
}
|
|
2612
|
-
|
|
2613
|
-
this.
|
|
3007
|
+
partsOfCustomerAggregate(aggregate) {
|
|
3008
|
+
this._aggregates["partsOfCustomerAggregate"] = aggregate;
|
|
2614
3009
|
return this;
|
|
2615
3010
|
}
|
|
2616
|
-
|
|
2617
|
-
|
|
3011
|
+
partsOfProductCategory(options) {
|
|
3012
|
+
if (Array.isArray(options)) {
|
|
3013
|
+
this._associations["partsOfProductCategory"] = new ProductCategoryQueryOptions(options);
|
|
3014
|
+
} else {
|
|
3015
|
+
this._associations["partsOfProductCategory"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
3016
|
+
}
|
|
2618
3017
|
return this;
|
|
2619
3018
|
}
|
|
2620
|
-
|
|
3019
|
+
partsOfProductCategoryAggregate(aggregate) {
|
|
3020
|
+
this._aggregates["partsOfProductCategoryAggregate"] = aggregate;
|
|
3021
|
+
return this;
|
|
3022
|
+
}
|
|
3023
|
+
partsOfSpamFilterRule(options) {
|
|
2621
3024
|
if (Array.isArray(options)) {
|
|
2622
|
-
this._associations["
|
|
3025
|
+
this._associations["partsOfSpamFilterRule"] = new SpamFilterRuleQueryOptions(options);
|
|
2623
3026
|
} else {
|
|
2624
|
-
this._associations["
|
|
3027
|
+
this._associations["partsOfSpamFilterRule"] = options || new SpamFilterRuleQueryOptions(["id"]);
|
|
2625
3028
|
}
|
|
2626
3029
|
return this;
|
|
2627
3030
|
}
|
|
2628
|
-
|
|
3031
|
+
partsOfSpamFilterRuleAggregate(aggregate) {
|
|
3032
|
+
this._aggregates["partsOfSpamFilterRuleAggregate"] = aggregate;
|
|
3033
|
+
return this;
|
|
3034
|
+
}
|
|
3035
|
+
partsOfMedia(options) {
|
|
2629
3036
|
if (Array.isArray(options)) {
|
|
2630
|
-
this._associations["
|
|
3037
|
+
this._associations["partsOfMedia"] = new MediaQueryOptions(options);
|
|
2631
3038
|
} else {
|
|
2632
|
-
this._associations["
|
|
3039
|
+
this._associations["partsOfMedia"] = options || new MediaQueryOptions(["id"]);
|
|
2633
3040
|
}
|
|
2634
3041
|
return this;
|
|
2635
3042
|
}
|
|
3043
|
+
partsOfMediaAggregate(aggregate) {
|
|
3044
|
+
this._aggregates["partsOfMediaAggregate"] = aggregate;
|
|
3045
|
+
return this;
|
|
3046
|
+
}
|
|
2636
3047
|
}
|
|
2637
|
-
class
|
|
3048
|
+
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
2638
3049
|
constructor(fields, queryArgs) {
|
|
2639
|
-
super(
|
|
3050
|
+
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
2640
3051
|
}
|
|
2641
3052
|
id() {
|
|
2642
3053
|
this.addField("id");
|
|
2643
3054
|
return this;
|
|
2644
3055
|
}
|
|
2645
|
-
|
|
2646
|
-
|
|
3056
|
+
/**
|
|
3057
|
+
* 邮件配置
|
|
3058
|
+
*/
|
|
3059
|
+
smtpConfig() {
|
|
3060
|
+
this.addField("smtpConfig");
|
|
2647
3061
|
return this;
|
|
2648
3062
|
}
|
|
2649
|
-
|
|
2650
|
-
this.addField("
|
|
3063
|
+
contact() {
|
|
3064
|
+
this.addField("contact");
|
|
2651
3065
|
return this;
|
|
2652
3066
|
}
|
|
2653
|
-
|
|
2654
|
-
this.addField("
|
|
3067
|
+
address() {
|
|
3068
|
+
this.addField("address");
|
|
2655
3069
|
return this;
|
|
2656
3070
|
}
|
|
2657
|
-
|
|
2658
|
-
this.addField("
|
|
3071
|
+
email() {
|
|
3072
|
+
this.addField("email");
|
|
2659
3073
|
return this;
|
|
2660
3074
|
}
|
|
2661
|
-
|
|
2662
|
-
this.
|
|
3075
|
+
tel() {
|
|
3076
|
+
this.addField("tel");
|
|
2663
3077
|
return this;
|
|
2664
3078
|
}
|
|
2665
|
-
|
|
2666
|
-
this.addField("
|
|
3079
|
+
fax() {
|
|
3080
|
+
this.addField("fax");
|
|
3081
|
+
return this;
|
|
3082
|
+
}
|
|
3083
|
+
wechat() {
|
|
3084
|
+
this.addField("wechat");
|
|
3085
|
+
return this;
|
|
3086
|
+
}
|
|
3087
|
+
whatsapp() {
|
|
3088
|
+
this.addField("whatsapp");
|
|
3089
|
+
return this;
|
|
3090
|
+
}
|
|
3091
|
+
mobile() {
|
|
3092
|
+
this.addField("mobile");
|
|
3093
|
+
return this;
|
|
3094
|
+
}
|
|
3095
|
+
robots() {
|
|
3096
|
+
this.addField("robots");
|
|
3097
|
+
return this;
|
|
3098
|
+
}
|
|
3099
|
+
/**
|
|
3100
|
+
* 站点名称
|
|
3101
|
+
*/
|
|
3102
|
+
websiteName() {
|
|
3103
|
+
this.addField("websiteName");
|
|
3104
|
+
return this;
|
|
3105
|
+
}
|
|
3106
|
+
/**
|
|
3107
|
+
* 域名
|
|
3108
|
+
*/
|
|
3109
|
+
domain() {
|
|
3110
|
+
this.addField("domain");
|
|
3111
|
+
return this;
|
|
3112
|
+
}
|
|
3113
|
+
/**
|
|
3114
|
+
* 打开iRobots
|
|
3115
|
+
*/
|
|
3116
|
+
openRobots() {
|
|
3117
|
+
this.addField("openRobots");
|
|
3118
|
+
return this;
|
|
3119
|
+
}
|
|
3120
|
+
/**
|
|
3121
|
+
* 301映射表
|
|
3122
|
+
*/
|
|
3123
|
+
map301() {
|
|
3124
|
+
this.addField("map301");
|
|
3125
|
+
return this;
|
|
3126
|
+
}
|
|
3127
|
+
headerCode() {
|
|
3128
|
+
this.addField("headerCode");
|
|
3129
|
+
return this;
|
|
3130
|
+
}
|
|
3131
|
+
footerCode() {
|
|
3132
|
+
this.addField("footerCode");
|
|
3133
|
+
return this;
|
|
3134
|
+
}
|
|
3135
|
+
/**
|
|
3136
|
+
* GA跟踪码
|
|
3137
|
+
*/
|
|
3138
|
+
gaTrackingId() {
|
|
3139
|
+
this.addField("gaTrackingId");
|
|
3140
|
+
return this;
|
|
3141
|
+
}
|
|
3142
|
+
/**
|
|
3143
|
+
* 通知邮箱
|
|
3144
|
+
*/
|
|
3145
|
+
noticeEmail() {
|
|
3146
|
+
this.addField("noticeEmail");
|
|
3147
|
+
return this;
|
|
3148
|
+
}
|
|
3149
|
+
/**
|
|
3150
|
+
* 邮件模板
|
|
3151
|
+
*/
|
|
3152
|
+
emailTemplates() {
|
|
3153
|
+
this.addField("emailTemplates");
|
|
2667
3154
|
return this;
|
|
2668
3155
|
}
|
|
2669
3156
|
createdAt() {
|
|
@@ -2674,790 +3161,743 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
2674
3161
|
this.addField("updatedAt");
|
|
2675
3162
|
return this;
|
|
2676
3163
|
}
|
|
2677
|
-
|
|
2678
|
-
|
|
3164
|
+
lang(options) {
|
|
3165
|
+
if (Array.isArray(options)) {
|
|
3166
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3167
|
+
} else {
|
|
3168
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3169
|
+
}
|
|
3170
|
+
return this;
|
|
3171
|
+
}
|
|
3172
|
+
website(options) {
|
|
3173
|
+
if (Array.isArray(options)) {
|
|
3174
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3175
|
+
} else {
|
|
3176
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3177
|
+
}
|
|
3178
|
+
return this;
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
class LangQueryOptions extends QueryOptions {
|
|
3182
|
+
constructor(fields, queryArgs) {
|
|
3183
|
+
super(LangEntityName, fields, queryArgs);
|
|
3184
|
+
}
|
|
3185
|
+
id() {
|
|
3186
|
+
this.addField("id");
|
|
2679
3187
|
return this;
|
|
2680
3188
|
}
|
|
2681
3189
|
/**
|
|
2682
|
-
*
|
|
3190
|
+
* 缩写
|
|
2683
3191
|
*/
|
|
2684
|
-
|
|
2685
|
-
this.addField("
|
|
3192
|
+
abbr() {
|
|
3193
|
+
this.addField("abbr");
|
|
2686
3194
|
return this;
|
|
2687
3195
|
}
|
|
2688
|
-
|
|
3196
|
+
/**
|
|
3197
|
+
* 英文名称
|
|
3198
|
+
*/
|
|
3199
|
+
enName() {
|
|
3200
|
+
this.addField("enName");
|
|
3201
|
+
return this;
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
* 本地名称
|
|
3205
|
+
*/
|
|
3206
|
+
localName() {
|
|
3207
|
+
this.addField("localName");
|
|
3208
|
+
return this;
|
|
3209
|
+
}
|
|
3210
|
+
/**
|
|
3211
|
+
* 国旗图标
|
|
3212
|
+
*/
|
|
3213
|
+
icon() {
|
|
3214
|
+
this.addField("icon");
|
|
3215
|
+
return this;
|
|
3216
|
+
}
|
|
3217
|
+
/**
|
|
3218
|
+
* 备注
|
|
3219
|
+
*/
|
|
3220
|
+
description() {
|
|
3221
|
+
this.addField("description");
|
|
3222
|
+
return this;
|
|
3223
|
+
}
|
|
3224
|
+
webPartsOfWebsiteSettings(options) {
|
|
2689
3225
|
if (Array.isArray(options)) {
|
|
2690
|
-
this._associations["
|
|
3226
|
+
this._associations["webPartsOfWebsiteSettings"] = new WebsiteSettingsQueryOptions(options);
|
|
2691
3227
|
} else {
|
|
2692
|
-
this._associations["
|
|
3228
|
+
this._associations["webPartsOfWebsiteSettings"] = options || new WebsiteSettingsQueryOptions(["id"]);
|
|
2693
3229
|
}
|
|
2694
3230
|
return this;
|
|
2695
3231
|
}
|
|
2696
|
-
|
|
3232
|
+
webPartsOfWebsiteSettingsAggregate(aggregate) {
|
|
3233
|
+
this._aggregates["webPartsOfWebsiteSettingsAggregate"] = aggregate;
|
|
3234
|
+
return this;
|
|
3235
|
+
}
|
|
3236
|
+
webPartsOfTheme(options) {
|
|
2697
3237
|
if (Array.isArray(options)) {
|
|
2698
|
-
this._associations["
|
|
3238
|
+
this._associations["webPartsOfTheme"] = new ThemeQueryOptions(options);
|
|
2699
3239
|
} else {
|
|
2700
|
-
this._associations["
|
|
3240
|
+
this._associations["webPartsOfTheme"] = options || new ThemeQueryOptions(["id"]);
|
|
2701
3241
|
}
|
|
2702
3242
|
return this;
|
|
2703
3243
|
}
|
|
2704
|
-
|
|
2705
|
-
this._aggregates["
|
|
3244
|
+
webPartsOfThemeAggregate(aggregate) {
|
|
3245
|
+
this._aggregates["webPartsOfThemeAggregate"] = aggregate;
|
|
2706
3246
|
return this;
|
|
2707
3247
|
}
|
|
2708
|
-
|
|
3248
|
+
webPartsOfTemplate(options) {
|
|
2709
3249
|
if (Array.isArray(options)) {
|
|
2710
|
-
this._associations["
|
|
3250
|
+
this._associations["webPartsOfTemplate"] = new TemplateQueryOptions(options);
|
|
2711
3251
|
} else {
|
|
2712
|
-
this._associations["
|
|
3252
|
+
this._associations["webPartsOfTemplate"] = options || new TemplateQueryOptions(["id"]);
|
|
2713
3253
|
}
|
|
2714
3254
|
return this;
|
|
2715
3255
|
}
|
|
2716
|
-
|
|
3256
|
+
webPartsOfTemplateAggregate(aggregate) {
|
|
3257
|
+
this._aggregates["webPartsOfTemplateAggregate"] = aggregate;
|
|
3258
|
+
return this;
|
|
3259
|
+
}
|
|
3260
|
+
webPartsOfTemplateCategory(options) {
|
|
2717
3261
|
if (Array.isArray(options)) {
|
|
2718
|
-
this._associations["
|
|
3262
|
+
this._associations["webPartsOfTemplateCategory"] = new TemplateCategoryQueryOptions(options);
|
|
2719
3263
|
} else {
|
|
2720
|
-
this._associations["
|
|
3264
|
+
this._associations["webPartsOfTemplateCategory"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2721
3265
|
}
|
|
2722
3266
|
return this;
|
|
2723
3267
|
}
|
|
2724
|
-
|
|
2725
|
-
this._aggregates["
|
|
3268
|
+
webPartsOfTemplateCategoryAggregate(aggregate) {
|
|
3269
|
+
this._aggregates["webPartsOfTemplateCategoryAggregate"] = aggregate;
|
|
2726
3270
|
return this;
|
|
2727
3271
|
}
|
|
2728
|
-
|
|
3272
|
+
webPartsOfMediaFolder(options) {
|
|
2729
3273
|
if (Array.isArray(options)) {
|
|
2730
|
-
this._associations["
|
|
3274
|
+
this._associations["webPartsOfMediaFolder"] = new MediaFolderQueryOptions(options);
|
|
2731
3275
|
} else {
|
|
2732
|
-
this._associations["
|
|
3276
|
+
this._associations["webPartsOfMediaFolder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2733
3277
|
}
|
|
2734
3278
|
return this;
|
|
2735
3279
|
}
|
|
2736
|
-
|
|
2737
|
-
this._aggregates["
|
|
3280
|
+
webPartsOfMediaFolderAggregate(aggregate) {
|
|
3281
|
+
this._aggregates["webPartsOfMediaFolderAggregate"] = aggregate;
|
|
2738
3282
|
return this;
|
|
2739
3283
|
}
|
|
2740
|
-
|
|
3284
|
+
webPartsOfEnquiry(options) {
|
|
2741
3285
|
if (Array.isArray(options)) {
|
|
2742
|
-
this._associations["
|
|
3286
|
+
this._associations["webPartsOfEnquiry"] = new EnquiryQueryOptions(options);
|
|
2743
3287
|
} else {
|
|
2744
|
-
this._associations["
|
|
3288
|
+
this._associations["webPartsOfEnquiry"] = options || new EnquiryQueryOptions(["id"]);
|
|
2745
3289
|
}
|
|
2746
3290
|
return this;
|
|
2747
3291
|
}
|
|
2748
|
-
|
|
2749
|
-
this._aggregates["
|
|
3292
|
+
webPartsOfEnquiryAggregate(aggregate) {
|
|
3293
|
+
this._aggregates["webPartsOfEnquiryAggregate"] = aggregate;
|
|
2750
3294
|
return this;
|
|
2751
3295
|
}
|
|
2752
|
-
|
|
3296
|
+
webPartsOfPage(options) {
|
|
2753
3297
|
if (Array.isArray(options)) {
|
|
2754
|
-
this._associations["
|
|
3298
|
+
this._associations["webPartsOfPage"] = new PageQueryOptions(options);
|
|
2755
3299
|
} else {
|
|
2756
|
-
this._associations["
|
|
3300
|
+
this._associations["webPartsOfPage"] = options || new PageQueryOptions(["id"]);
|
|
2757
3301
|
}
|
|
2758
3302
|
return this;
|
|
2759
3303
|
}
|
|
2760
|
-
|
|
2761
|
-
this._aggregates["
|
|
3304
|
+
webPartsOfPageAggregate(aggregate) {
|
|
3305
|
+
this._aggregates["webPartsOfPageAggregate"] = aggregate;
|
|
2762
3306
|
return this;
|
|
2763
3307
|
}
|
|
2764
|
-
|
|
3308
|
+
webPartsOfProduct(options) {
|
|
2765
3309
|
if (Array.isArray(options)) {
|
|
2766
|
-
this._associations["
|
|
3310
|
+
this._associations["webPartsOfProduct"] = new ProductQueryOptions(options);
|
|
2767
3311
|
} else {
|
|
2768
|
-
this._associations["
|
|
3312
|
+
this._associations["webPartsOfProduct"] = options || new ProductQueryOptions(["id"]);
|
|
2769
3313
|
}
|
|
2770
3314
|
return this;
|
|
2771
3315
|
}
|
|
2772
|
-
|
|
2773
|
-
this._aggregates["
|
|
3316
|
+
webPartsOfProductAggregate(aggregate) {
|
|
3317
|
+
this._aggregates["webPartsOfProductAggregate"] = aggregate;
|
|
2774
3318
|
return this;
|
|
2775
3319
|
}
|
|
2776
|
-
|
|
3320
|
+
webPartsOfPost(options) {
|
|
2777
3321
|
if (Array.isArray(options)) {
|
|
2778
|
-
this._associations["
|
|
3322
|
+
this._associations["webPartsOfPost"] = new PostQueryOptions(options);
|
|
2779
3323
|
} else {
|
|
2780
|
-
this._associations["
|
|
3324
|
+
this._associations["webPartsOfPost"] = options || new PostQueryOptions(["id"]);
|
|
2781
3325
|
}
|
|
2782
3326
|
return this;
|
|
2783
3327
|
}
|
|
2784
|
-
|
|
2785
|
-
this._aggregates["
|
|
3328
|
+
webPartsOfPostAggregate(aggregate) {
|
|
3329
|
+
this._aggregates["webPartsOfPostAggregate"] = aggregate;
|
|
2786
3330
|
return this;
|
|
2787
3331
|
}
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
3332
|
+
webPartsOfPostCategory(options) {
|
|
3333
|
+
if (Array.isArray(options)) {
|
|
3334
|
+
this._associations["webPartsOfPostCategory"] = new PostCategoryQueryOptions(options);
|
|
3335
|
+
} else {
|
|
3336
|
+
this._associations["webPartsOfPostCategory"] = options || new PostCategoryQueryOptions(["id"]);
|
|
3337
|
+
}
|
|
3338
|
+
return this;
|
|
2792
3339
|
}
|
|
2793
|
-
|
|
2794
|
-
this.
|
|
3340
|
+
webPartsOfPostCategoryAggregate(aggregate) {
|
|
3341
|
+
this._aggregates["webPartsOfPostCategoryAggregate"] = aggregate;
|
|
2795
3342
|
return this;
|
|
2796
3343
|
}
|
|
2797
|
-
|
|
2798
|
-
|
|
3344
|
+
webPartsOfTag(options) {
|
|
3345
|
+
if (Array.isArray(options)) {
|
|
3346
|
+
this._associations["webPartsOfTag"] = new TagQueryOptions(options);
|
|
3347
|
+
} else {
|
|
3348
|
+
this._associations["webPartsOfTag"] = options || new TagQueryOptions(["id"]);
|
|
3349
|
+
}
|
|
2799
3350
|
return this;
|
|
2800
3351
|
}
|
|
2801
|
-
|
|
2802
|
-
this.
|
|
3352
|
+
webPartsOfTagAggregate(aggregate) {
|
|
3353
|
+
this._aggregates["webPartsOfTagAggregate"] = aggregate;
|
|
2803
3354
|
return this;
|
|
2804
3355
|
}
|
|
2805
|
-
|
|
2806
|
-
|
|
3356
|
+
webPartsOfCustomer(options) {
|
|
3357
|
+
if (Array.isArray(options)) {
|
|
3358
|
+
this._associations["webPartsOfCustomer"] = new CustomerQueryOptions(options);
|
|
3359
|
+
} else {
|
|
3360
|
+
this._associations["webPartsOfCustomer"] = options || new CustomerQueryOptions(["id"]);
|
|
3361
|
+
}
|
|
2807
3362
|
return this;
|
|
2808
3363
|
}
|
|
2809
|
-
|
|
2810
|
-
this.
|
|
3364
|
+
webPartsOfCustomerAggregate(aggregate) {
|
|
3365
|
+
this._aggregates["webPartsOfCustomerAggregate"] = aggregate;
|
|
2811
3366
|
return this;
|
|
2812
3367
|
}
|
|
2813
|
-
|
|
2814
|
-
|
|
3368
|
+
webPartsOfProductCategory(options) {
|
|
3369
|
+
if (Array.isArray(options)) {
|
|
3370
|
+
this._associations["webPartsOfProductCategory"] = new ProductCategoryQueryOptions(options);
|
|
3371
|
+
} else {
|
|
3372
|
+
this._associations["webPartsOfProductCategory"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
3373
|
+
}
|
|
2815
3374
|
return this;
|
|
2816
3375
|
}
|
|
2817
|
-
|
|
2818
|
-
this.
|
|
3376
|
+
webPartsOfProductCategoryAggregate(aggregate) {
|
|
3377
|
+
this._aggregates["webPartsOfProductCategoryAggregate"] = aggregate;
|
|
2819
3378
|
return this;
|
|
2820
3379
|
}
|
|
2821
|
-
|
|
2822
|
-
|
|
3380
|
+
webPartsOfSpamFilterRule(options) {
|
|
3381
|
+
if (Array.isArray(options)) {
|
|
3382
|
+
this._associations["webPartsOfSpamFilterRule"] = new SpamFilterRuleQueryOptions(options);
|
|
3383
|
+
} else {
|
|
3384
|
+
this._associations["webPartsOfSpamFilterRule"] = options || new SpamFilterRuleQueryOptions(["id"]);
|
|
3385
|
+
}
|
|
2823
3386
|
return this;
|
|
2824
3387
|
}
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
*/
|
|
2828
|
-
postion() {
|
|
2829
|
-
this.addField("postion");
|
|
3388
|
+
webPartsOfSpamFilterRuleAggregate(aggregate) {
|
|
3389
|
+
this._aggregates["webPartsOfSpamFilterRuleAggregate"] = aggregate;
|
|
2830
3390
|
return this;
|
|
2831
3391
|
}
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
}
|
|
2839
|
-
userType() {
|
|
2840
|
-
this.addField("userType");
|
|
2841
|
-
return this;
|
|
2842
|
-
}
|
|
2843
|
-
/**
|
|
2844
|
-
* 邮箱
|
|
2845
|
-
*/
|
|
2846
|
-
email() {
|
|
2847
|
-
this.addField("email");
|
|
2848
|
-
return this;
|
|
2849
|
-
}
|
|
2850
|
-
/**
|
|
2851
|
-
* 电话
|
|
2852
|
-
*/
|
|
2853
|
-
tel() {
|
|
2854
|
-
this.addField("tel");
|
|
2855
|
-
return this;
|
|
2856
|
-
}
|
|
2857
|
-
/**
|
|
2858
|
-
* 电话2
|
|
2859
|
-
*/
|
|
2860
|
-
tel2() {
|
|
2861
|
-
this.addField("tel2");
|
|
3392
|
+
webPartsOfMedia(options) {
|
|
3393
|
+
if (Array.isArray(options)) {
|
|
3394
|
+
this._associations["webPartsOfMedia"] = new MediaQueryOptions(options);
|
|
3395
|
+
} else {
|
|
3396
|
+
this._associations["webPartsOfMedia"] = options || new MediaQueryOptions(["id"]);
|
|
3397
|
+
}
|
|
2862
3398
|
return this;
|
|
2863
3399
|
}
|
|
2864
|
-
|
|
2865
|
-
this.
|
|
3400
|
+
webPartsOfMediaAggregate(aggregate) {
|
|
3401
|
+
this._aggregates["webPartsOfMediaAggregate"] = aggregate;
|
|
2866
3402
|
return this;
|
|
2867
3403
|
}
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
3404
|
+
}
|
|
3405
|
+
class MediaFolderQueryOptions extends QueryOptions {
|
|
3406
|
+
constructor(fields, queryArgs) {
|
|
3407
|
+
super(MediaFolderEntityName, fields, queryArgs);
|
|
2871
3408
|
}
|
|
2872
|
-
|
|
2873
|
-
this.addField("
|
|
3409
|
+
id() {
|
|
3410
|
+
this.addField("id");
|
|
2874
3411
|
return this;
|
|
2875
3412
|
}
|
|
2876
|
-
|
|
2877
|
-
this.addField("
|
|
3413
|
+
name() {
|
|
3414
|
+
this.addField("name");
|
|
2878
3415
|
return this;
|
|
2879
3416
|
}
|
|
2880
|
-
|
|
2881
|
-
this.addField("
|
|
3417
|
+
seqValue() {
|
|
3418
|
+
this.addField("seqValue");
|
|
2882
3419
|
return this;
|
|
2883
3420
|
}
|
|
2884
|
-
|
|
2885
|
-
this.addField("
|
|
3421
|
+
createdAt() {
|
|
3422
|
+
this.addField("createdAt");
|
|
2886
3423
|
return this;
|
|
2887
3424
|
}
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
*/
|
|
2891
|
-
summary() {
|
|
2892
|
-
this.addField("summary");
|
|
3425
|
+
updatedAt() {
|
|
3426
|
+
this.addField("updatedAt");
|
|
2893
3427
|
return this;
|
|
2894
3428
|
}
|
|
2895
|
-
|
|
3429
|
+
children(options) {
|
|
2896
3430
|
if (Array.isArray(options)) {
|
|
2897
|
-
this._associations["
|
|
3431
|
+
this._associations["children"] = new MediaFolderQueryOptions(options);
|
|
2898
3432
|
} else {
|
|
2899
|
-
this._associations["
|
|
3433
|
+
this._associations["children"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2900
3434
|
}
|
|
2901
3435
|
return this;
|
|
2902
3436
|
}
|
|
2903
|
-
|
|
2904
|
-
this._aggregates["
|
|
2905
|
-
return this;
|
|
2906
|
-
}
|
|
2907
|
-
avatar(options) {
|
|
2908
|
-
if (Array.isArray(options)) {
|
|
2909
|
-
this._associations["avatar"] = new MediaQueryOptions(options);
|
|
2910
|
-
} else {
|
|
2911
|
-
this._associations["avatar"] = options || new MediaQueryOptions(["id"]);
|
|
2912
|
-
}
|
|
3437
|
+
childrenAggregate(aggregate) {
|
|
3438
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
2913
3439
|
return this;
|
|
2914
3440
|
}
|
|
2915
|
-
|
|
3441
|
+
lang(options) {
|
|
2916
3442
|
if (Array.isArray(options)) {
|
|
2917
|
-
this._associations["
|
|
3443
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2918
3444
|
} else {
|
|
2919
|
-
this._associations["
|
|
3445
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2920
3446
|
}
|
|
2921
3447
|
return this;
|
|
2922
3448
|
}
|
|
2923
|
-
|
|
2924
|
-
this._aggregates["productsAggregate"] = aggregate;
|
|
2925
|
-
return this;
|
|
2926
|
-
}
|
|
2927
|
-
posts(options) {
|
|
3449
|
+
parent(options) {
|
|
2928
3450
|
if (Array.isArray(options)) {
|
|
2929
|
-
this._associations["
|
|
3451
|
+
this._associations["parent"] = new MediaFolderQueryOptions(options);
|
|
2930
3452
|
} else {
|
|
2931
|
-
this._associations["
|
|
3453
|
+
this._associations["parent"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2932
3454
|
}
|
|
2933
3455
|
return this;
|
|
2934
3456
|
}
|
|
2935
|
-
|
|
2936
|
-
this._aggregates["postsAggregate"] = aggregate;
|
|
2937
|
-
return this;
|
|
2938
|
-
}
|
|
2939
|
-
websites(options) {
|
|
3457
|
+
medias(options) {
|
|
2940
3458
|
if (Array.isArray(options)) {
|
|
2941
|
-
this._associations["
|
|
3459
|
+
this._associations["medias"] = new MediaQueryOptions(options);
|
|
2942
3460
|
} else {
|
|
2943
|
-
this._associations["
|
|
3461
|
+
this._associations["medias"] = options || new MediaQueryOptions(["id"]);
|
|
2944
3462
|
}
|
|
2945
3463
|
return this;
|
|
2946
3464
|
}
|
|
2947
|
-
|
|
2948
|
-
this._aggregates["
|
|
3465
|
+
mediasAggregate(aggregate) {
|
|
3466
|
+
this._aggregates["mediasAggregate"] = aggregate;
|
|
2949
3467
|
return this;
|
|
2950
3468
|
}
|
|
2951
|
-
|
|
3469
|
+
website(options) {
|
|
2952
3470
|
if (Array.isArray(options)) {
|
|
2953
|
-
this._associations["
|
|
3471
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2954
3472
|
} else {
|
|
2955
|
-
this._associations["
|
|
3473
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2956
3474
|
}
|
|
2957
3475
|
return this;
|
|
2958
3476
|
}
|
|
2959
3477
|
}
|
|
2960
|
-
class
|
|
2961
|
-
constructor(fields, queryArgs) {
|
|
2962
|
-
super(AbilityEntityName, fields, queryArgs);
|
|
2963
|
-
}
|
|
2964
|
-
id() {
|
|
2965
|
-
this.addField("id");
|
|
2966
|
-
return this;
|
|
2967
|
-
}
|
|
2968
|
-
entityUuid() {
|
|
2969
|
-
this.addField("entityUuid");
|
|
2970
|
-
return this;
|
|
2971
|
-
}
|
|
2972
|
-
columnUuid() {
|
|
2973
|
-
this.addField("columnUuid");
|
|
2974
|
-
return this;
|
|
2975
|
-
}
|
|
2976
|
-
can() {
|
|
2977
|
-
this.addField("can");
|
|
2978
|
-
return this;
|
|
2979
|
-
}
|
|
2980
|
-
expression() {
|
|
2981
|
-
this.addField("expression");
|
|
2982
|
-
return this;
|
|
2983
|
-
}
|
|
2984
|
-
abilityType() {
|
|
2985
|
-
this.addField("abilityType");
|
|
2986
|
-
return this;
|
|
2987
|
-
}
|
|
2988
|
-
roleId() {
|
|
2989
|
-
this.addField("roleId");
|
|
2990
|
-
return this;
|
|
2991
|
-
}
|
|
2992
|
-
}
|
|
2993
|
-
class LangQueryOptions extends QueryOptions {
|
|
3478
|
+
class MediaQueryOptions extends QueryOptions {
|
|
2994
3479
|
constructor(fields, queryArgs) {
|
|
2995
|
-
super(
|
|
3480
|
+
super(MediaEntityName, fields, queryArgs);
|
|
2996
3481
|
}
|
|
2997
3482
|
id() {
|
|
2998
3483
|
this.addField("id");
|
|
2999
3484
|
return this;
|
|
3000
3485
|
}
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
*/
|
|
3004
|
-
abbr() {
|
|
3005
|
-
this.addField("abbr");
|
|
3006
|
-
return this;
|
|
3007
|
-
}
|
|
3008
|
-
/**
|
|
3009
|
-
* 英文名称
|
|
3010
|
-
*/
|
|
3011
|
-
enName() {
|
|
3012
|
-
this.addField("enName");
|
|
3013
|
-
return this;
|
|
3014
|
-
}
|
|
3015
|
-
/**
|
|
3016
|
-
* 本地名称
|
|
3017
|
-
*/
|
|
3018
|
-
localName() {
|
|
3019
|
-
this.addField("localName");
|
|
3486
|
+
name() {
|
|
3487
|
+
this.addField("name");
|
|
3020
3488
|
return this;
|
|
3021
3489
|
}
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
*/
|
|
3025
|
-
icon() {
|
|
3026
|
-
this.addField("icon");
|
|
3490
|
+
size() {
|
|
3491
|
+
this.addField("size");
|
|
3027
3492
|
return this;
|
|
3028
3493
|
}
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
*/
|
|
3032
|
-
remark() {
|
|
3033
|
-
this.addField("remark");
|
|
3494
|
+
mimeType() {
|
|
3495
|
+
this.addField("mimeType");
|
|
3034
3496
|
return this;
|
|
3035
3497
|
}
|
|
3036
|
-
|
|
3037
|
-
this.addField("
|
|
3498
|
+
extName() {
|
|
3499
|
+
this.addField("extName");
|
|
3038
3500
|
return this;
|
|
3039
3501
|
}
|
|
3040
|
-
|
|
3041
|
-
this.
|
|
3502
|
+
file(fields) {
|
|
3503
|
+
this.addObjectField("file", fields);
|
|
3042
3504
|
return this;
|
|
3043
3505
|
}
|
|
3044
3506
|
description() {
|
|
3045
3507
|
this.addField("description");
|
|
3046
3508
|
return this;
|
|
3047
3509
|
}
|
|
3048
|
-
/**
|
|
3049
|
-
* 创建时间
|
|
3050
|
-
*/
|
|
3051
3510
|
createdAt() {
|
|
3052
3511
|
this.addField("createdAt");
|
|
3053
3512
|
return this;
|
|
3054
3513
|
}
|
|
3055
|
-
/**
|
|
3056
|
-
* 更新时间
|
|
3057
|
-
*/
|
|
3058
3514
|
updatedAt() {
|
|
3059
3515
|
this.addField("updatedAt");
|
|
3060
3516
|
return this;
|
|
3061
3517
|
}
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
constructor(fields, queryArgs) {
|
|
3065
|
-
super(CustomerEntityName, fields, queryArgs);
|
|
3066
|
-
}
|
|
3067
|
-
id() {
|
|
3068
|
-
this.addField("id");
|
|
3069
|
-
return this;
|
|
3070
|
-
}
|
|
3071
|
-
company() {
|
|
3072
|
-
this.addField("company");
|
|
3518
|
+
mediaType() {
|
|
3519
|
+
this.addField("mediaType");
|
|
3073
3520
|
return this;
|
|
3074
3521
|
}
|
|
3075
|
-
|
|
3076
|
-
|
|
3522
|
+
folder(options) {
|
|
3523
|
+
if (Array.isArray(options)) {
|
|
3524
|
+
this._associations["folder"] = new MediaFolderQueryOptions(options);
|
|
3525
|
+
} else {
|
|
3526
|
+
this._associations["folder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
3527
|
+
}
|
|
3077
3528
|
return this;
|
|
3078
3529
|
}
|
|
3079
|
-
|
|
3080
|
-
|
|
3530
|
+
lang(options) {
|
|
3531
|
+
if (Array.isArray(options)) {
|
|
3532
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3533
|
+
} else {
|
|
3534
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3535
|
+
}
|
|
3081
3536
|
return this;
|
|
3082
3537
|
}
|
|
3083
|
-
|
|
3084
|
-
|
|
3538
|
+
coverOf(options) {
|
|
3539
|
+
if (Array.isArray(options)) {
|
|
3540
|
+
this._associations["coverOf"] = new PostQueryOptions(options);
|
|
3541
|
+
} else {
|
|
3542
|
+
this._associations["coverOf"] = options || new PostQueryOptions(["id"]);
|
|
3543
|
+
}
|
|
3085
3544
|
return this;
|
|
3086
3545
|
}
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
*/
|
|
3090
|
-
createdAt() {
|
|
3091
|
-
this.addField("createdAt");
|
|
3546
|
+
coverOfAggregate(aggregate) {
|
|
3547
|
+
this._aggregates["coverOfAggregate"] = aggregate;
|
|
3092
3548
|
return this;
|
|
3093
3549
|
}
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3550
|
+
avatarOfUser(options) {
|
|
3551
|
+
if (Array.isArray(options)) {
|
|
3552
|
+
this._associations["avatarOfUser"] = new UserQueryOptions(options);
|
|
3553
|
+
} else {
|
|
3554
|
+
this._associations["avatarOfUser"] = options || new UserQueryOptions(["id"]);
|
|
3555
|
+
}
|
|
3099
3556
|
return this;
|
|
3100
3557
|
}
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3558
|
+
ogMetaOfPage(options) {
|
|
3559
|
+
if (Array.isArray(options)) {
|
|
3560
|
+
this._associations["ogMetaOfPage"] = new PageQueryOptions(options);
|
|
3561
|
+
} else {
|
|
3562
|
+
this._associations["ogMetaOfPage"] = options || new PageQueryOptions(["id"]);
|
|
3563
|
+
}
|
|
3106
3564
|
return this;
|
|
3107
3565
|
}
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
*/
|
|
3111
|
-
email() {
|
|
3112
|
-
this.addField("email");
|
|
3566
|
+
ogMetaOfPageAggregate(aggregate) {
|
|
3567
|
+
this._aggregates["ogMetaOfPageAggregate"] = aggregate;
|
|
3113
3568
|
return this;
|
|
3114
3569
|
}
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3570
|
+
ogMetaOfProduct(options) {
|
|
3571
|
+
if (Array.isArray(options)) {
|
|
3572
|
+
this._associations["ogMetaOfProduct"] = new ProductQueryOptions(options);
|
|
3573
|
+
} else {
|
|
3574
|
+
this._associations["ogMetaOfProduct"] = options || new ProductQueryOptions(["id"]);
|
|
3575
|
+
}
|
|
3120
3576
|
return this;
|
|
3121
3577
|
}
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
*/
|
|
3125
|
-
tel2() {
|
|
3126
|
-
this.addField("tel2");
|
|
3578
|
+
ogMetaOfProductAggregate(aggregate) {
|
|
3579
|
+
this._aggregates["ogMetaOfProductAggregate"] = aggregate;
|
|
3127
3580
|
return this;
|
|
3128
3581
|
}
|
|
3129
|
-
|
|
3130
|
-
|
|
3582
|
+
ogMetaOfPost(options) {
|
|
3583
|
+
if (Array.isArray(options)) {
|
|
3584
|
+
this._associations["ogMetaOfPost"] = new PostQueryOptions(options);
|
|
3585
|
+
} else {
|
|
3586
|
+
this._associations["ogMetaOfPost"] = options || new PostQueryOptions(["id"]);
|
|
3587
|
+
}
|
|
3131
3588
|
return this;
|
|
3132
3589
|
}
|
|
3133
|
-
|
|
3134
|
-
this.
|
|
3590
|
+
ogMetaOfPostAggregate(aggregate) {
|
|
3591
|
+
this._aggregates["ogMetaOfPostAggregate"] = aggregate;
|
|
3135
3592
|
return this;
|
|
3136
3593
|
}
|
|
3137
|
-
|
|
3138
|
-
|
|
3594
|
+
meidaOfProduct(options) {
|
|
3595
|
+
if (Array.isArray(options)) {
|
|
3596
|
+
this._associations["meidaOfProduct"] = new ProductCategoryQueryOptions(options);
|
|
3597
|
+
} else {
|
|
3598
|
+
this._associations["meidaOfProduct"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
3599
|
+
}
|
|
3139
3600
|
return this;
|
|
3140
3601
|
}
|
|
3141
|
-
|
|
3142
|
-
this.
|
|
3602
|
+
meidaOfProductAggregate(aggregate) {
|
|
3603
|
+
this._aggregates["meidaOfProductAggregate"] = aggregate;
|
|
3143
3604
|
return this;
|
|
3144
3605
|
}
|
|
3145
|
-
|
|
3146
|
-
|
|
3606
|
+
productMediaPivots(options) {
|
|
3607
|
+
if (Array.isArray(options)) {
|
|
3608
|
+
this._associations["productMediaPivots"] = new MediaOnProductQueryOptions(options);
|
|
3609
|
+
} else {
|
|
3610
|
+
this._associations["productMediaPivots"] = options || new MediaOnProductQueryOptions(["id"]);
|
|
3611
|
+
}
|
|
3147
3612
|
return this;
|
|
3148
3613
|
}
|
|
3149
|
-
|
|
3150
|
-
this.
|
|
3614
|
+
productMediaPivotsAggregate(aggregate) {
|
|
3615
|
+
this._aggregates["productMediaPivotsAggregate"] = aggregate;
|
|
3151
3616
|
return this;
|
|
3152
3617
|
}
|
|
3153
|
-
|
|
3154
|
-
|
|
3618
|
+
productAttacPivots(options) {
|
|
3619
|
+
if (Array.isArray(options)) {
|
|
3620
|
+
this._associations["productAttacPivots"] = new AttachmentOnProductQueryOptions(options);
|
|
3621
|
+
} else {
|
|
3622
|
+
this._associations["productAttacPivots"] = options || new AttachmentOnProductQueryOptions(["id"]);
|
|
3623
|
+
}
|
|
3155
3624
|
return this;
|
|
3156
3625
|
}
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
*/
|
|
3160
|
-
summary() {
|
|
3161
|
-
this.addField("summary");
|
|
3626
|
+
productAttacPivotsAggregate(aggregate) {
|
|
3627
|
+
this._aggregates["productAttacPivotsAggregate"] = aggregate;
|
|
3162
3628
|
return this;
|
|
3163
3629
|
}
|
|
3164
|
-
|
|
3630
|
+
website(options) {
|
|
3165
3631
|
if (Array.isArray(options)) {
|
|
3166
|
-
this._associations["
|
|
3632
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3167
3633
|
} else {
|
|
3168
|
-
this._associations["
|
|
3634
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3169
3635
|
}
|
|
3170
3636
|
return this;
|
|
3171
3637
|
}
|
|
3172
|
-
enquiresAggregate(aggregate) {
|
|
3173
|
-
this._aggregates["enquiresAggregate"] = aggregate;
|
|
3174
|
-
return this;
|
|
3175
|
-
}
|
|
3176
3638
|
}
|
|
3177
|
-
class
|
|
3639
|
+
class UserQueryOptions extends QueryOptions {
|
|
3178
3640
|
constructor(fields, queryArgs) {
|
|
3179
|
-
super(
|
|
3641
|
+
super(UserEntityName, fields, queryArgs);
|
|
3180
3642
|
}
|
|
3181
3643
|
id() {
|
|
3182
3644
|
this.addField("id");
|
|
3183
3645
|
return this;
|
|
3184
3646
|
}
|
|
3185
|
-
|
|
3186
|
-
this.addField("
|
|
3187
|
-
return this;
|
|
3188
|
-
}
|
|
3189
|
-
company() {
|
|
3190
|
-
this.addField("company");
|
|
3647
|
+
loginName() {
|
|
3648
|
+
this.addField("loginName");
|
|
3191
3649
|
return this;
|
|
3192
3650
|
}
|
|
3193
3651
|
name() {
|
|
3194
3652
|
this.addField("name");
|
|
3195
3653
|
return this;
|
|
3196
3654
|
}
|
|
3197
|
-
|
|
3198
|
-
this.addField("
|
|
3655
|
+
mobileNumber() {
|
|
3656
|
+
this.addField("mobileNumber");
|
|
3199
3657
|
return this;
|
|
3200
3658
|
}
|
|
3201
|
-
|
|
3202
|
-
this.addField("
|
|
3659
|
+
isSupperAdmin() {
|
|
3660
|
+
this.addField("isSupperAdmin");
|
|
3203
3661
|
return this;
|
|
3204
3662
|
}
|
|
3205
|
-
|
|
3206
|
-
this.addField("
|
|
3663
|
+
password() {
|
|
3664
|
+
this.addField("password");
|
|
3207
3665
|
return this;
|
|
3208
3666
|
}
|
|
3209
|
-
|
|
3210
|
-
this.addField("
|
|
3667
|
+
createdAt() {
|
|
3668
|
+
this.addField("createdAt");
|
|
3211
3669
|
return this;
|
|
3212
3670
|
}
|
|
3213
|
-
|
|
3214
|
-
this.addField("
|
|
3671
|
+
updatedAt() {
|
|
3672
|
+
this.addField("updatedAt");
|
|
3215
3673
|
return this;
|
|
3216
3674
|
}
|
|
3217
3675
|
/**
|
|
3218
|
-
*
|
|
3676
|
+
* 职位
|
|
3219
3677
|
*/
|
|
3220
|
-
|
|
3221
|
-
this.addField("
|
|
3222
|
-
return this;
|
|
3223
|
-
}
|
|
3224
|
-
read() {
|
|
3225
|
-
this.addField("read");
|
|
3226
|
-
return this;
|
|
3227
|
-
}
|
|
3228
|
-
spam() {
|
|
3229
|
-
this.addField("spam");
|
|
3230
|
-
return this;
|
|
3231
|
-
}
|
|
3232
|
-
websiteId() {
|
|
3233
|
-
this.addField("websiteId");
|
|
3678
|
+
postion() {
|
|
3679
|
+
this.addField("postion");
|
|
3234
3680
|
return this;
|
|
3235
3681
|
}
|
|
3236
|
-
|
|
3237
|
-
|
|
3682
|
+
/**
|
|
3683
|
+
* 自我介绍
|
|
3684
|
+
*/
|
|
3685
|
+
profile() {
|
|
3686
|
+
this.addField("profile");
|
|
3238
3687
|
return this;
|
|
3239
3688
|
}
|
|
3240
|
-
|
|
3241
|
-
this.addField("
|
|
3689
|
+
userType() {
|
|
3690
|
+
this.addField("userType");
|
|
3242
3691
|
return this;
|
|
3243
3692
|
}
|
|
3244
3693
|
/**
|
|
3245
|
-
*
|
|
3694
|
+
* 邮箱
|
|
3246
3695
|
*/
|
|
3247
|
-
|
|
3248
|
-
this.addField("
|
|
3696
|
+
email() {
|
|
3697
|
+
this.addField("email");
|
|
3249
3698
|
return this;
|
|
3250
3699
|
}
|
|
3251
3700
|
/**
|
|
3252
|
-
*
|
|
3701
|
+
* 电话
|
|
3253
3702
|
*/
|
|
3254
|
-
|
|
3255
|
-
this.addField("
|
|
3703
|
+
tel() {
|
|
3704
|
+
this.addField("tel");
|
|
3256
3705
|
return this;
|
|
3257
3706
|
}
|
|
3258
3707
|
/**
|
|
3259
|
-
*
|
|
3708
|
+
* 电话2
|
|
3260
3709
|
*/
|
|
3261
|
-
|
|
3262
|
-
this.addField("
|
|
3710
|
+
tel2() {
|
|
3711
|
+
this.addField("tel2");
|
|
3263
3712
|
return this;
|
|
3264
3713
|
}
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
this._associations["customer"] = new CustomerQueryOptions(options);
|
|
3268
|
-
} else {
|
|
3269
|
-
this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
|
|
3270
|
-
}
|
|
3714
|
+
mobile() {
|
|
3715
|
+
this.addField("mobile");
|
|
3271
3716
|
return this;
|
|
3272
3717
|
}
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
3718
|
+
whatsApp() {
|
|
3719
|
+
this.addField("whatsApp");
|
|
3720
|
+
return this;
|
|
3277
3721
|
}
|
|
3278
|
-
|
|
3279
|
-
this.addField("
|
|
3722
|
+
linkedIn() {
|
|
3723
|
+
this.addField("linkedIn");
|
|
3280
3724
|
return this;
|
|
3281
3725
|
}
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
*/
|
|
3285
|
-
smtpConfig() {
|
|
3286
|
-
this.addField("smtpConfig");
|
|
3726
|
+
twitter() {
|
|
3727
|
+
this.addField("twitter");
|
|
3287
3728
|
return this;
|
|
3288
3729
|
}
|
|
3289
|
-
|
|
3290
|
-
this.addField("
|
|
3730
|
+
facebook() {
|
|
3731
|
+
this.addField("facebook");
|
|
3291
3732
|
return this;
|
|
3292
3733
|
}
|
|
3293
|
-
|
|
3294
|
-
this.addField("
|
|
3734
|
+
instagram() {
|
|
3735
|
+
this.addField("instagram");
|
|
3295
3736
|
return this;
|
|
3296
3737
|
}
|
|
3297
|
-
|
|
3298
|
-
|
|
3738
|
+
/**
|
|
3739
|
+
* 简介
|
|
3740
|
+
*/
|
|
3741
|
+
summary() {
|
|
3742
|
+
this.addField("summary");
|
|
3299
3743
|
return this;
|
|
3300
3744
|
}
|
|
3301
|
-
|
|
3302
|
-
|
|
3745
|
+
roles(options) {
|
|
3746
|
+
if (Array.isArray(options)) {
|
|
3747
|
+
this._associations["roles"] = new RoleQueryOptions(options);
|
|
3748
|
+
} else {
|
|
3749
|
+
this._associations["roles"] = options || new RoleQueryOptions(["id"]);
|
|
3750
|
+
}
|
|
3303
3751
|
return this;
|
|
3304
3752
|
}
|
|
3305
|
-
|
|
3306
|
-
this.
|
|
3753
|
+
rolesAggregate(aggregate) {
|
|
3754
|
+
this._aggregates["rolesAggregate"] = aggregate;
|
|
3307
3755
|
return this;
|
|
3308
3756
|
}
|
|
3309
|
-
|
|
3310
|
-
|
|
3757
|
+
avatar(options) {
|
|
3758
|
+
if (Array.isArray(options)) {
|
|
3759
|
+
this._associations["avatar"] = new MediaQueryOptions(options);
|
|
3760
|
+
} else {
|
|
3761
|
+
this._associations["avatar"] = options || new MediaQueryOptions(["id"]);
|
|
3762
|
+
}
|
|
3311
3763
|
return this;
|
|
3312
3764
|
}
|
|
3313
|
-
|
|
3314
|
-
|
|
3765
|
+
products(options) {
|
|
3766
|
+
if (Array.isArray(options)) {
|
|
3767
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
3768
|
+
} else {
|
|
3769
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
3770
|
+
}
|
|
3315
3771
|
return this;
|
|
3316
3772
|
}
|
|
3317
|
-
|
|
3318
|
-
this.
|
|
3773
|
+
productsAggregate(aggregate) {
|
|
3774
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
3319
3775
|
return this;
|
|
3320
3776
|
}
|
|
3321
|
-
|
|
3322
|
-
|
|
3777
|
+
posts(options) {
|
|
3778
|
+
if (Array.isArray(options)) {
|
|
3779
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
3780
|
+
} else {
|
|
3781
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
3782
|
+
}
|
|
3323
3783
|
return this;
|
|
3324
3784
|
}
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
*/
|
|
3328
|
-
websiteName() {
|
|
3329
|
-
this.addField("websiteName");
|
|
3785
|
+
postsAggregate(aggregate) {
|
|
3786
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
3330
3787
|
return this;
|
|
3331
3788
|
}
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3789
|
+
websites(options) {
|
|
3790
|
+
if (Array.isArray(options)) {
|
|
3791
|
+
this._associations["websites"] = new WebsiteQueryOptions(options);
|
|
3792
|
+
} else {
|
|
3793
|
+
this._associations["websites"] = options || new WebsiteQueryOptions(["id"]);
|
|
3794
|
+
}
|
|
3337
3795
|
return this;
|
|
3338
3796
|
}
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
*/
|
|
3342
|
-
openRobots() {
|
|
3343
|
-
this.addField("openRobots");
|
|
3797
|
+
websitesAggregate(aggregate) {
|
|
3798
|
+
this._aggregates["websitesAggregate"] = aggregate;
|
|
3344
3799
|
return this;
|
|
3345
3800
|
}
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3801
|
+
belongsTo(options) {
|
|
3802
|
+
if (Array.isArray(options)) {
|
|
3803
|
+
this._associations["belongsTo"] = new WebsiteQueryOptions(options);
|
|
3804
|
+
} else {
|
|
3805
|
+
this._associations["belongsTo"] = options || new WebsiteQueryOptions(["id"]);
|
|
3806
|
+
}
|
|
3351
3807
|
return this;
|
|
3352
3808
|
}
|
|
3353
|
-
|
|
3354
|
-
|
|
3809
|
+
}
|
|
3810
|
+
class AbilityQueryOptions extends QueryOptions {
|
|
3811
|
+
constructor(fields, queryArgs) {
|
|
3812
|
+
super(AbilityEntityName, fields, queryArgs);
|
|
3813
|
+
}
|
|
3814
|
+
id() {
|
|
3815
|
+
this.addField("id");
|
|
3355
3816
|
return this;
|
|
3356
3817
|
}
|
|
3357
|
-
|
|
3358
|
-
this.addField("
|
|
3818
|
+
entityUuid() {
|
|
3819
|
+
this.addField("entityUuid");
|
|
3359
3820
|
return this;
|
|
3360
3821
|
}
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
*/
|
|
3364
|
-
gaTrackingId() {
|
|
3365
|
-
this.addField("gaTrackingId");
|
|
3822
|
+
columnUuid() {
|
|
3823
|
+
this.addField("columnUuid");
|
|
3366
3824
|
return this;
|
|
3367
3825
|
}
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
*/
|
|
3371
|
-
noticeEmail() {
|
|
3372
|
-
this.addField("noticeEmail");
|
|
3826
|
+
can() {
|
|
3827
|
+
this.addField("can");
|
|
3373
3828
|
return this;
|
|
3374
3829
|
}
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
*/
|
|
3378
|
-
emailTemplates() {
|
|
3379
|
-
this.addField("emailTemplates");
|
|
3830
|
+
expression() {
|
|
3831
|
+
this.addField("expression");
|
|
3380
3832
|
return this;
|
|
3381
3833
|
}
|
|
3382
|
-
|
|
3383
|
-
this.addField("
|
|
3834
|
+
abilityType() {
|
|
3835
|
+
this.addField("abilityType");
|
|
3384
3836
|
return this;
|
|
3385
3837
|
}
|
|
3386
|
-
|
|
3387
|
-
this.addField("
|
|
3838
|
+
roleId() {
|
|
3839
|
+
this.addField("roleId");
|
|
3388
3840
|
return this;
|
|
3389
3841
|
}
|
|
3390
|
-
|
|
3391
|
-
|
|
3842
|
+
}
|
|
3843
|
+
class MailQueryOptions extends QueryOptions {
|
|
3844
|
+
constructor(fields, queryArgs) {
|
|
3845
|
+
super(MailEntityName, fields, queryArgs);
|
|
3846
|
+
}
|
|
3847
|
+
id() {
|
|
3848
|
+
this.addField("id");
|
|
3392
3849
|
return this;
|
|
3393
3850
|
}
|
|
3394
|
-
/**
|
|
3395
|
-
* 创建时间
|
|
3396
|
-
*/
|
|
3397
3851
|
createdAt() {
|
|
3398
3852
|
this.addField("createdAt");
|
|
3399
3853
|
return this;
|
|
3400
3854
|
}
|
|
3401
|
-
/**
|
|
3402
|
-
* 更新时间
|
|
3403
|
-
*/
|
|
3404
3855
|
updatedAt() {
|
|
3405
3856
|
this.addField("updatedAt");
|
|
3406
3857
|
return this;
|
|
3407
3858
|
}
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
*/
|
|
3411
|
-
remark() {
|
|
3412
|
-
this.addField("remark");
|
|
3859
|
+
taskId() {
|
|
3860
|
+
this.addField("taskId");
|
|
3413
3861
|
return this;
|
|
3414
3862
|
}
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
constructor(fields, queryArgs) {
|
|
3418
|
-
super(SpamFilterRuleEntityName, fields, queryArgs);
|
|
3419
|
-
}
|
|
3420
|
-
id() {
|
|
3421
|
-
this.addField("id");
|
|
3863
|
+
taskName() {
|
|
3864
|
+
this.addField("taskName");
|
|
3422
3865
|
return this;
|
|
3423
3866
|
}
|
|
3424
|
-
|
|
3425
|
-
this.addField("
|
|
3867
|
+
remark() {
|
|
3868
|
+
this.addField("remark");
|
|
3426
3869
|
return this;
|
|
3427
3870
|
}
|
|
3428
|
-
|
|
3429
|
-
this.addField("
|
|
3871
|
+
subject() {
|
|
3872
|
+
this.addField("subject");
|
|
3430
3873
|
return this;
|
|
3431
3874
|
}
|
|
3432
|
-
|
|
3433
|
-
this.addField("
|
|
3875
|
+
message() {
|
|
3876
|
+
this.addField("message");
|
|
3434
3877
|
return this;
|
|
3435
3878
|
}
|
|
3436
|
-
|
|
3437
|
-
this.addField("
|
|
3879
|
+
to() {
|
|
3880
|
+
this.addField("to");
|
|
3438
3881
|
return this;
|
|
3439
3882
|
}
|
|
3440
|
-
|
|
3441
|
-
this.addField("
|
|
3883
|
+
cc() {
|
|
3884
|
+
this.addField("cc");
|
|
3442
3885
|
return this;
|
|
3443
3886
|
}
|
|
3444
|
-
|
|
3445
|
-
this.addField("
|
|
3887
|
+
label() {
|
|
3888
|
+
this.addField("label");
|
|
3446
3889
|
return this;
|
|
3447
3890
|
}
|
|
3448
|
-
|
|
3449
|
-
this.addField("
|
|
3891
|
+
name() {
|
|
3892
|
+
this.addField("name");
|
|
3450
3893
|
return this;
|
|
3451
3894
|
}
|
|
3452
|
-
|
|
3453
|
-
this.addField("
|
|
3895
|
+
company() {
|
|
3896
|
+
this.addField("company");
|
|
3454
3897
|
return this;
|
|
3455
3898
|
}
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
*/
|
|
3459
|
-
remark() {
|
|
3460
|
-
this.addField("remark");
|
|
3899
|
+
mailType() {
|
|
3900
|
+
this.addField("mailType");
|
|
3461
3901
|
return this;
|
|
3462
3902
|
}
|
|
3463
3903
|
}
|
|
@@ -3481,6 +3921,11 @@ const mediaEntry = {
|
|
|
3481
3921
|
entityLabel: MediaEntityLabel,
|
|
3482
3922
|
toInput: mediaToInput
|
|
3483
3923
|
};
|
|
3924
|
+
const mailEntry = {
|
|
3925
|
+
entityName: MailEntityName,
|
|
3926
|
+
entityLabel: MailEntityLabel,
|
|
3927
|
+
toInput: mailToInput
|
|
3928
|
+
};
|
|
3484
3929
|
const websiteEntry = {
|
|
3485
3930
|
entityName: WebsiteEntityName,
|
|
3486
3931
|
entityLabel: WebsiteEntityLabel,
|
|
@@ -3649,11 +4094,11 @@ var MediaFields = /* @__PURE__ */ ((MediaFields2) => {
|
|
|
3649
4094
|
MediaFields2["createdAt"] = "createdAt";
|
|
3650
4095
|
MediaFields2["updatedAt"] = "updatedAt";
|
|
3651
4096
|
MediaFields2["mediaType"] = "mediaType";
|
|
3652
|
-
MediaFields2["websiteId"] = "websiteId";
|
|
3653
4097
|
return MediaFields2;
|
|
3654
4098
|
})(MediaFields || {});
|
|
3655
4099
|
var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
3656
4100
|
MediaAssciations2["folder"] = "folder";
|
|
4101
|
+
MediaAssciations2["lang"] = "lang";
|
|
3657
4102
|
MediaAssciations2["coverOf"] = "coverOf";
|
|
3658
4103
|
MediaAssciations2["coverOfAggregate"] = "coverOfAggregate";
|
|
3659
4104
|
MediaAssciations2["avatarOfUser"] = "avatarOfUser";
|
|
@@ -3669,8 +4114,28 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
3669
4114
|
MediaAssciations2["productMediaPivotsAggregate"] = "productMediaPivotsAggregate";
|
|
3670
4115
|
MediaAssciations2["productAttacPivots"] = "productAttacPivots";
|
|
3671
4116
|
MediaAssciations2["productAttacPivotsAggregate"] = "productAttacPivotsAggregate";
|
|
4117
|
+
MediaAssciations2["website"] = "website";
|
|
3672
4118
|
return MediaAssciations2;
|
|
3673
4119
|
})(MediaAssciations || {});
|
|
4120
|
+
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
4121
|
+
MailFields2["id"] = "id";
|
|
4122
|
+
MailFields2["createdAt"] = "createdAt";
|
|
4123
|
+
MailFields2["updatedAt"] = "updatedAt";
|
|
4124
|
+
MailFields2["taskId"] = "taskId";
|
|
4125
|
+
MailFields2["taskName"] = "taskName";
|
|
4126
|
+
MailFields2["remark"] = "remark";
|
|
4127
|
+
MailFields2["subject"] = "subject";
|
|
4128
|
+
MailFields2["message"] = "message";
|
|
4129
|
+
MailFields2["to"] = "to";
|
|
4130
|
+
MailFields2["cc"] = "cc";
|
|
4131
|
+
MailFields2["label"] = "label";
|
|
4132
|
+
MailFields2["name"] = "name";
|
|
4133
|
+
MailFields2["company"] = "company";
|
|
4134
|
+
MailFields2["mailType"] = "mailType";
|
|
4135
|
+
return MailFields2;
|
|
4136
|
+
})(MailFields || {});
|
|
4137
|
+
var MailAssciations = /* @__PURE__ */ ((MailAssciations2) => {
|
|
4138
|
+
})();
|
|
3674
4139
|
var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
3675
4140
|
WebsiteFields2["id"] = "id";
|
|
3676
4141
|
WebsiteFields2["name"] = "name";
|
|
@@ -3680,6 +4145,7 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
|
3680
4145
|
WebsiteFields2["lastOpenTime"] = "lastOpenTime";
|
|
3681
4146
|
WebsiteFields2["updatedAt"] = "updatedAt";
|
|
3682
4147
|
WebsiteFields2["updatedBy"] = "updatedBy";
|
|
4148
|
+
WebsiteFields2["description"] = "description";
|
|
3683
4149
|
return WebsiteFields2;
|
|
3684
4150
|
})(WebsiteFields || {});
|
|
3685
4151
|
var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
@@ -3689,6 +4155,36 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
3689
4155
|
WebsiteAssciations2["owner"] = "owner";
|
|
3690
4156
|
WebsiteAssciations2["users"] = "users";
|
|
3691
4157
|
WebsiteAssciations2["usersAggregate"] = "usersAggregate";
|
|
4158
|
+
WebsiteAssciations2["partsOfWebsiteSettings"] = "partsOfWebsiteSettings";
|
|
4159
|
+
WebsiteAssciations2["partsOfWebsiteSettingsAggregate"] = "partsOfWebsiteSettingsAggregate";
|
|
4160
|
+
WebsiteAssciations2["partsOfTheme"] = "partsOfTheme";
|
|
4161
|
+
WebsiteAssciations2["partsOfThemeAggregate"] = "partsOfThemeAggregate";
|
|
4162
|
+
WebsiteAssciations2["partsOfTemplate"] = "partsOfTemplate";
|
|
4163
|
+
WebsiteAssciations2["partsOfTemplateAggregate"] = "partsOfTemplateAggregate";
|
|
4164
|
+
WebsiteAssciations2["partsOfTemplateCategory"] = "partsOfTemplateCategory";
|
|
4165
|
+
WebsiteAssciations2["partsOfTemplateCategoryAggregate"] = "partsOfTemplateCategoryAggregate";
|
|
4166
|
+
WebsiteAssciations2["partsOfMediaFolder"] = "partsOfMediaFolder";
|
|
4167
|
+
WebsiteAssciations2["partsOfMediaFolderAggregate"] = "partsOfMediaFolderAggregate";
|
|
4168
|
+
WebsiteAssciations2["partsOfEnquiry"] = "partsOfEnquiry";
|
|
4169
|
+
WebsiteAssciations2["partsOfEnquiryAggregate"] = "partsOfEnquiryAggregate";
|
|
4170
|
+
WebsiteAssciations2["partsOfPage"] = "partsOfPage";
|
|
4171
|
+
WebsiteAssciations2["partsOfPageAggregate"] = "partsOfPageAggregate";
|
|
4172
|
+
WebsiteAssciations2["partsOfProduct"] = "partsOfProduct";
|
|
4173
|
+
WebsiteAssciations2["partsOfProductAggregate"] = "partsOfProductAggregate";
|
|
4174
|
+
WebsiteAssciations2["partsOfPost"] = "partsOfPost";
|
|
4175
|
+
WebsiteAssciations2["partsOfPostAggregate"] = "partsOfPostAggregate";
|
|
4176
|
+
WebsiteAssciations2["partsOfPostCategory"] = "partsOfPostCategory";
|
|
4177
|
+
WebsiteAssciations2["partsOfPostCategoryAggregate"] = "partsOfPostCategoryAggregate";
|
|
4178
|
+
WebsiteAssciations2["partsOfTag"] = "partsOfTag";
|
|
4179
|
+
WebsiteAssciations2["partsOfTagAggregate"] = "partsOfTagAggregate";
|
|
4180
|
+
WebsiteAssciations2["partsOfCustomer"] = "partsOfCustomer";
|
|
4181
|
+
WebsiteAssciations2["partsOfCustomerAggregate"] = "partsOfCustomerAggregate";
|
|
4182
|
+
WebsiteAssciations2["partsOfProductCategory"] = "partsOfProductCategory";
|
|
4183
|
+
WebsiteAssciations2["partsOfProductCategoryAggregate"] = "partsOfProductCategoryAggregate";
|
|
4184
|
+
WebsiteAssciations2["partsOfSpamFilterRule"] = "partsOfSpamFilterRule";
|
|
4185
|
+
WebsiteAssciations2["partsOfSpamFilterRuleAggregate"] = "partsOfSpamFilterRuleAggregate";
|
|
4186
|
+
WebsiteAssciations2["partsOfMedia"] = "partsOfMedia";
|
|
4187
|
+
WebsiteAssciations2["partsOfMediaAggregate"] = "partsOfMediaAggregate";
|
|
3692
4188
|
return WebsiteAssciations2;
|
|
3693
4189
|
})(WebsiteAssciations || {});
|
|
3694
4190
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -3697,16 +4193,42 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
|
3697
4193
|
LangFields2["enName"] = "enName";
|
|
3698
4194
|
LangFields2["localName"] = "localName";
|
|
3699
4195
|
LangFields2["icon"] = "icon";
|
|
3700
|
-
LangFields2["remark"] = "remark";
|
|
3701
|
-
LangFields2["websiteId"] = "websiteId";
|
|
3702
|
-
LangFields2["slug"] = "slug";
|
|
3703
4196
|
LangFields2["description"] = "description";
|
|
3704
|
-
LangFields2["createdAt"] = "createdAt";
|
|
3705
|
-
LangFields2["updatedAt"] = "updatedAt";
|
|
3706
4197
|
return LangFields2;
|
|
3707
4198
|
})(LangFields || {});
|
|
3708
4199
|
var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
3709
|
-
|
|
4200
|
+
LangAssciations2["webPartsOfWebsiteSettings"] = "webPartsOfWebsiteSettings";
|
|
4201
|
+
LangAssciations2["webPartsOfWebsiteSettingsAggregate"] = "webPartsOfWebsiteSettingsAggregate";
|
|
4202
|
+
LangAssciations2["webPartsOfTheme"] = "webPartsOfTheme";
|
|
4203
|
+
LangAssciations2["webPartsOfThemeAggregate"] = "webPartsOfThemeAggregate";
|
|
4204
|
+
LangAssciations2["webPartsOfTemplate"] = "webPartsOfTemplate";
|
|
4205
|
+
LangAssciations2["webPartsOfTemplateAggregate"] = "webPartsOfTemplateAggregate";
|
|
4206
|
+
LangAssciations2["webPartsOfTemplateCategory"] = "webPartsOfTemplateCategory";
|
|
4207
|
+
LangAssciations2["webPartsOfTemplateCategoryAggregate"] = "webPartsOfTemplateCategoryAggregate";
|
|
4208
|
+
LangAssciations2["webPartsOfMediaFolder"] = "webPartsOfMediaFolder";
|
|
4209
|
+
LangAssciations2["webPartsOfMediaFolderAggregate"] = "webPartsOfMediaFolderAggregate";
|
|
4210
|
+
LangAssciations2["webPartsOfEnquiry"] = "webPartsOfEnquiry";
|
|
4211
|
+
LangAssciations2["webPartsOfEnquiryAggregate"] = "webPartsOfEnquiryAggregate";
|
|
4212
|
+
LangAssciations2["webPartsOfPage"] = "webPartsOfPage";
|
|
4213
|
+
LangAssciations2["webPartsOfPageAggregate"] = "webPartsOfPageAggregate";
|
|
4214
|
+
LangAssciations2["webPartsOfProduct"] = "webPartsOfProduct";
|
|
4215
|
+
LangAssciations2["webPartsOfProductAggregate"] = "webPartsOfProductAggregate";
|
|
4216
|
+
LangAssciations2["webPartsOfPost"] = "webPartsOfPost";
|
|
4217
|
+
LangAssciations2["webPartsOfPostAggregate"] = "webPartsOfPostAggregate";
|
|
4218
|
+
LangAssciations2["webPartsOfPostCategory"] = "webPartsOfPostCategory";
|
|
4219
|
+
LangAssciations2["webPartsOfPostCategoryAggregate"] = "webPartsOfPostCategoryAggregate";
|
|
4220
|
+
LangAssciations2["webPartsOfTag"] = "webPartsOfTag";
|
|
4221
|
+
LangAssciations2["webPartsOfTagAggregate"] = "webPartsOfTagAggregate";
|
|
4222
|
+
LangAssciations2["webPartsOfCustomer"] = "webPartsOfCustomer";
|
|
4223
|
+
LangAssciations2["webPartsOfCustomerAggregate"] = "webPartsOfCustomerAggregate";
|
|
4224
|
+
LangAssciations2["webPartsOfProductCategory"] = "webPartsOfProductCategory";
|
|
4225
|
+
LangAssciations2["webPartsOfProductCategoryAggregate"] = "webPartsOfProductCategoryAggregate";
|
|
4226
|
+
LangAssciations2["webPartsOfSpamFilterRule"] = "webPartsOfSpamFilterRule";
|
|
4227
|
+
LangAssciations2["webPartsOfSpamFilterRuleAggregate"] = "webPartsOfSpamFilterRuleAggregate";
|
|
4228
|
+
LangAssciations2["webPartsOfMedia"] = "webPartsOfMedia";
|
|
4229
|
+
LangAssciations2["webPartsOfMediaAggregate"] = "webPartsOfMediaAggregate";
|
|
4230
|
+
return LangAssciations2;
|
|
4231
|
+
})(LangAssciations || {});
|
|
3710
4232
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
3711
4233
|
WebsiteTypeFields2["id"] = "id";
|
|
3712
4234
|
WebsiteTypeFields2["name"] = "name";
|
|
@@ -3728,13 +4250,9 @@ var WebsiteTypeAssciations = /* @__PURE__ */ ((WebsiteTypeAssciations2) => {
|
|
|
3728
4250
|
var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
3729
4251
|
PageFields2["id"] = "id";
|
|
3730
4252
|
PageFields2["title"] = "title";
|
|
3731
|
-
PageFields2["content"] = "content";
|
|
3732
4253
|
PageFields2["remark"] = "remark";
|
|
3733
|
-
PageFields2["
|
|
4254
|
+
PageFields2["content"] = "content";
|
|
3734
4255
|
PageFields2["extends"] = "extends";
|
|
3735
|
-
PageFields2["websiteId"] = "websiteId";
|
|
3736
|
-
PageFields2["slug"] = "slug";
|
|
3737
|
-
PageFields2["description"] = "description";
|
|
3738
4256
|
PageFields2["createdAt"] = "createdAt";
|
|
3739
4257
|
PageFields2["updatedAt"] = "updatedAt";
|
|
3740
4258
|
PageFields2["seoTitle"] = "seoTitle";
|
|
@@ -3750,12 +4268,15 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
3750
4268
|
PageFields2["xTitle"] = "xTitle";
|
|
3751
4269
|
PageFields2["xDescription"] = "xDescription";
|
|
3752
4270
|
PageFields2["xUrl"] = "xUrl";
|
|
3753
|
-
PageFields2["
|
|
4271
|
+
PageFields2["slug"] = "slug";
|
|
4272
|
+
PageFields2["description"] = "description";
|
|
3754
4273
|
return PageFields2;
|
|
3755
4274
|
})(PageFields || {});
|
|
3756
4275
|
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
3757
4276
|
PageAssciations2["ogImage"] = "ogImage";
|
|
4277
|
+
PageAssciations2["lang"] = "lang";
|
|
3758
4278
|
PageAssciations2["homeOf"] = "homeOf";
|
|
4279
|
+
PageAssciations2["website"] = "website";
|
|
3759
4280
|
return PageAssciations2;
|
|
3760
4281
|
})(PageAssciations || {});
|
|
3761
4282
|
var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
@@ -3768,12 +4289,8 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
3768
4289
|
PostFields2["title"] = "title";
|
|
3769
4290
|
PostFields2["content"] = "content";
|
|
3770
4291
|
PostFields2["extends"] = "extends";
|
|
3771
|
-
PostFields2["websiteId"] = "websiteId";
|
|
3772
|
-
PostFields2["slug"] = "slug";
|
|
3773
|
-
PostFields2["description"] = "description";
|
|
3774
4292
|
PostFields2["createdAt"] = "createdAt";
|
|
3775
4293
|
PostFields2["updatedAt"] = "updatedAt";
|
|
3776
|
-
PostFields2["remark"] = "remark";
|
|
3777
4294
|
PostFields2["seoTitle"] = "seoTitle";
|
|
3778
4295
|
PostFields2["seoKeywords"] = "seoKeywords";
|
|
3779
4296
|
PostFields2["seoDescription"] = "seoDescription";
|
|
@@ -3787,7 +4304,8 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
3787
4304
|
PostFields2["xTitle"] = "xTitle";
|
|
3788
4305
|
PostFields2["xDescription"] = "xDescription";
|
|
3789
4306
|
PostFields2["xUrl"] = "xUrl";
|
|
3790
|
-
PostFields2["
|
|
4307
|
+
PostFields2["slug"] = "slug";
|
|
4308
|
+
PostFields2["description"] = "description";
|
|
3791
4309
|
return PostFields2;
|
|
3792
4310
|
})(PostFields || {});
|
|
3793
4311
|
var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
|
|
@@ -3797,8 +4315,10 @@ var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
|
|
|
3797
4315
|
PostAssciations2["cover"] = "cover";
|
|
3798
4316
|
PostAssciations2["ogImage"] = "ogImage";
|
|
3799
4317
|
PostAssciations2["draftOf"] = "draftOf";
|
|
4318
|
+
PostAssciations2["lang"] = "lang";
|
|
3800
4319
|
PostAssciations2["category"] = "category";
|
|
3801
4320
|
PostAssciations2["draft"] = "draft";
|
|
4321
|
+
PostAssciations2["website"] = "website";
|
|
3802
4322
|
return PostAssciations2;
|
|
3803
4323
|
})(PostAssciations || {});
|
|
3804
4324
|
var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
@@ -3817,12 +4337,8 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
|
3817
4337
|
ProductFields2["title"] = "title";
|
|
3818
4338
|
ProductFields2["content"] = "content";
|
|
3819
4339
|
ProductFields2["extends"] = "extends";
|
|
3820
|
-
ProductFields2["websiteId"] = "websiteId";
|
|
3821
|
-
ProductFields2["slug"] = "slug";
|
|
3822
|
-
ProductFields2["description"] = "description";
|
|
3823
4340
|
ProductFields2["createdAt"] = "createdAt";
|
|
3824
4341
|
ProductFields2["updatedAt"] = "updatedAt";
|
|
3825
|
-
ProductFields2["remark"] = "remark";
|
|
3826
4342
|
ProductFields2["seoTitle"] = "seoTitle";
|
|
3827
4343
|
ProductFields2["seoKeywords"] = "seoKeywords";
|
|
3828
4344
|
ProductFields2["seoDescription"] = "seoDescription";
|
|
@@ -3836,7 +4352,8 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
|
3836
4352
|
ProductFields2["xTitle"] = "xTitle";
|
|
3837
4353
|
ProductFields2["xDescription"] = "xDescription";
|
|
3838
4354
|
ProductFields2["xUrl"] = "xUrl";
|
|
3839
|
-
ProductFields2["
|
|
4355
|
+
ProductFields2["slug"] = "slug";
|
|
4356
|
+
ProductFields2["description"] = "description";
|
|
3840
4357
|
return ProductFields2;
|
|
3841
4358
|
})(ProductFields || {});
|
|
3842
4359
|
var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
|
|
@@ -3849,8 +4366,10 @@ var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
|
|
|
3849
4366
|
ProductAssciations2["mediaPivotsAggregate"] = "mediaPivotsAggregate";
|
|
3850
4367
|
ProductAssciations2["attachmentPivots"] = "attachmentPivots";
|
|
3851
4368
|
ProductAssciations2["attachmentPivotsAggregate"] = "attachmentPivotsAggregate";
|
|
4369
|
+
ProductAssciations2["lang"] = "lang";
|
|
3852
4370
|
ProductAssciations2["creator"] = "creator";
|
|
3853
4371
|
ProductAssciations2["draft"] = "draft";
|
|
4372
|
+
ProductAssciations2["website"] = "website";
|
|
3854
4373
|
return ProductAssciations2;
|
|
3855
4374
|
})(ProductAssciations || {});
|
|
3856
4375
|
var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
@@ -3866,16 +4385,14 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
|
3866
4385
|
EnquiryFields2["fromCta"] = "fromCta";
|
|
3867
4386
|
EnquiryFields2["read"] = "read";
|
|
3868
4387
|
EnquiryFields2["spam"] = "spam";
|
|
3869
|
-
EnquiryFields2["websiteId"] = "websiteId";
|
|
3870
|
-
EnquiryFields2["slug"] = "slug";
|
|
3871
|
-
EnquiryFields2["description"] = "description";
|
|
3872
4388
|
EnquiryFields2["createdAt"] = "createdAt";
|
|
3873
4389
|
EnquiryFields2["updatedAt"] = "updatedAt";
|
|
3874
|
-
EnquiryFields2["remark"] = "remark";
|
|
3875
4390
|
return EnquiryFields2;
|
|
3876
4391
|
})(EnquiryFields || {});
|
|
3877
4392
|
var EnquiryAssciations = /* @__PURE__ */ ((EnquiryAssciations2) => {
|
|
4393
|
+
EnquiryAssciations2["lang"] = "lang";
|
|
3878
4394
|
EnquiryAssciations2["customer"] = "customer";
|
|
4395
|
+
EnquiryAssciations2["website"] = "website";
|
|
3879
4396
|
return EnquiryAssciations2;
|
|
3880
4397
|
})(EnquiryAssciations || {});
|
|
3881
4398
|
var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
@@ -3899,51 +4416,46 @@ var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
|
3899
4416
|
WebsiteSettingsFields2["gaTrackingId"] = "gaTrackingId";
|
|
3900
4417
|
WebsiteSettingsFields2["noticeEmail"] = "noticeEmail";
|
|
3901
4418
|
WebsiteSettingsFields2["emailTemplates"] = "emailTemplates";
|
|
3902
|
-
WebsiteSettingsFields2["websiteId"] = "websiteId";
|
|
3903
|
-
WebsiteSettingsFields2["slug"] = "slug";
|
|
3904
|
-
WebsiteSettingsFields2["description"] = "description";
|
|
3905
4419
|
WebsiteSettingsFields2["createdAt"] = "createdAt";
|
|
3906
4420
|
WebsiteSettingsFields2["updatedAt"] = "updatedAt";
|
|
3907
|
-
WebsiteSettingsFields2["remark"] = "remark";
|
|
3908
4421
|
return WebsiteSettingsFields2;
|
|
3909
4422
|
})(WebsiteSettingsFields || {});
|
|
3910
4423
|
var WebsiteSettingsAssciations = /* @__PURE__ */ ((WebsiteSettingsAssciations2) => {
|
|
3911
|
-
|
|
4424
|
+
WebsiteSettingsAssciations2["lang"] = "lang";
|
|
4425
|
+
WebsiteSettingsAssciations2["website"] = "website";
|
|
4426
|
+
return WebsiteSettingsAssciations2;
|
|
4427
|
+
})(WebsiteSettingsAssciations || {});
|
|
3912
4428
|
var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
3913
4429
|
TemplateFields2["id"] = "id";
|
|
3914
4430
|
TemplateFields2["name"] = "name";
|
|
3915
4431
|
TemplateFields2["seqValue"] = "seqValue";
|
|
3916
4432
|
TemplateFields2["content"] = "content";
|
|
3917
4433
|
TemplateFields2["templateType"] = "templateType";
|
|
3918
|
-
TemplateFields2["websiteId"] = "websiteId";
|
|
3919
|
-
TemplateFields2["slug"] = "slug";
|
|
3920
|
-
TemplateFields2["description"] = "description";
|
|
3921
4434
|
TemplateFields2["createdAt"] = "createdAt";
|
|
3922
4435
|
TemplateFields2["updatedAt"] = "updatedAt";
|
|
3923
|
-
TemplateFields2["remark"] = "remark";
|
|
3924
4436
|
return TemplateFields2;
|
|
3925
4437
|
})(TemplateFields || {});
|
|
3926
4438
|
var TemplateAssciations = /* @__PURE__ */ ((TemplateAssciations2) => {
|
|
4439
|
+
TemplateAssciations2["lang"] = "lang";
|
|
3927
4440
|
TemplateAssciations2["category"] = "category";
|
|
3928
4441
|
TemplateAssciations2["theme"] = "theme";
|
|
4442
|
+
TemplateAssciations2["website"] = "website";
|
|
3929
4443
|
return TemplateAssciations2;
|
|
3930
4444
|
})(TemplateAssciations || {});
|
|
3931
4445
|
var TemplateCategoryFields = /* @__PURE__ */ ((TemplateCategoryFields2) => {
|
|
3932
4446
|
TemplateCategoryFields2["id"] = "id";
|
|
3933
4447
|
TemplateCategoryFields2["name"] = "name";
|
|
3934
4448
|
TemplateCategoryFields2["seqValue"] = "seqValue";
|
|
3935
|
-
TemplateCategoryFields2["websiteId"] = "websiteId";
|
|
3936
|
-
TemplateCategoryFields2["slug"] = "slug";
|
|
3937
|
-
TemplateCategoryFields2["description"] = "description";
|
|
3938
4449
|
TemplateCategoryFields2["createdAt"] = "createdAt";
|
|
3939
4450
|
TemplateCategoryFields2["updatedAt"] = "updatedAt";
|
|
3940
|
-
TemplateCategoryFields2["remark"] = "remark";
|
|
3941
4451
|
return TemplateCategoryFields2;
|
|
3942
4452
|
})(TemplateCategoryFields || {});
|
|
3943
4453
|
var TemplateCategoryAssciations = /* @__PURE__ */ ((TemplateCategoryAssciations2) => {
|
|
3944
4454
|
TemplateCategoryAssciations2["templates"] = "templates";
|
|
3945
4455
|
TemplateCategoryAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
4456
|
+
TemplateCategoryAssciations2["lang"] = "lang";
|
|
3946
4457
|
TemplateCategoryAssciations2["theme"] = "theme";
|
|
4458
|
+
TemplateCategoryAssciations2["website"] = "website";
|
|
3947
4459
|
return TemplateCategoryAssciations2;
|
|
3948
4460
|
})(TemplateCategoryAssciations || {});
|
|
3949
4461
|
var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
@@ -3951,12 +4463,9 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
3951
4463
|
ThemeFields2["name"] = "name";
|
|
3952
4464
|
ThemeFields2["styles"] = "styles";
|
|
3953
4465
|
ThemeFields2["settings"] = "settings";
|
|
3954
|
-
ThemeFields2["websiteId"] = "websiteId";
|
|
3955
|
-
ThemeFields2["slug"] = "slug";
|
|
3956
4466
|
ThemeFields2["description"] = "description";
|
|
3957
4467
|
ThemeFields2["createdAt"] = "createdAt";
|
|
3958
4468
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
3959
|
-
ThemeFields2["remark"] = "remark";
|
|
3960
4469
|
return ThemeFields2;
|
|
3961
4470
|
})(ThemeFields || {});
|
|
3962
4471
|
var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
@@ -3964,39 +4473,37 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
3964
4473
|
ThemeAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
3965
4474
|
ThemeAssciations2["themlateCategories"] = "themlateCategories";
|
|
3966
4475
|
ThemeAssciations2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
4476
|
+
ThemeAssciations2["lang"] = "lang";
|
|
3967
4477
|
ThemeAssciations2["selectedBy"] = "selectedBy";
|
|
4478
|
+
ThemeAssciations2["website"] = "website";
|
|
3968
4479
|
return ThemeAssciations2;
|
|
3969
4480
|
})(ThemeAssciations || {});
|
|
3970
4481
|
var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
|
|
3971
4482
|
MediaFolderFields2["id"] = "id";
|
|
3972
4483
|
MediaFolderFields2["name"] = "name";
|
|
3973
4484
|
MediaFolderFields2["seqValue"] = "seqValue";
|
|
3974
|
-
MediaFolderFields2["websiteId"] = "websiteId";
|
|
3975
|
-
MediaFolderFields2["slug"] = "slug";
|
|
3976
|
-
MediaFolderFields2["description"] = "description";
|
|
3977
4485
|
MediaFolderFields2["createdAt"] = "createdAt";
|
|
3978
4486
|
MediaFolderFields2["updatedAt"] = "updatedAt";
|
|
3979
|
-
MediaFolderFields2["remark"] = "remark";
|
|
3980
4487
|
return MediaFolderFields2;
|
|
3981
4488
|
})(MediaFolderFields || {});
|
|
3982
4489
|
var MediaFolderAssciations = /* @__PURE__ */ ((MediaFolderAssciations2) => {
|
|
3983
4490
|
MediaFolderAssciations2["children"] = "children";
|
|
3984
4491
|
MediaFolderAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
4492
|
+
MediaFolderAssciations2["lang"] = "lang";
|
|
3985
4493
|
MediaFolderAssciations2["parent"] = "parent";
|
|
3986
4494
|
MediaFolderAssciations2["medias"] = "medias";
|
|
3987
4495
|
MediaFolderAssciations2["mediasAggregate"] = "mediasAggregate";
|
|
4496
|
+
MediaFolderAssciations2["website"] = "website";
|
|
3988
4497
|
return MediaFolderAssciations2;
|
|
3989
4498
|
})(MediaFolderAssciations || {});
|
|
3990
4499
|
var PostCategoryFields = /* @__PURE__ */ ((PostCategoryFields2) => {
|
|
3991
4500
|
PostCategoryFields2["id"] = "id";
|
|
3992
4501
|
PostCategoryFields2["name"] = "name";
|
|
3993
4502
|
PostCategoryFields2["seqValue"] = "seqValue";
|
|
3994
|
-
PostCategoryFields2["websiteId"] = "websiteId";
|
|
3995
|
-
PostCategoryFields2["slug"] = "slug";
|
|
3996
|
-
PostCategoryFields2["description"] = "description";
|
|
3997
4503
|
PostCategoryFields2["createdAt"] = "createdAt";
|
|
3998
4504
|
PostCategoryFields2["updatedAt"] = "updatedAt";
|
|
3999
|
-
PostCategoryFields2["
|
|
4505
|
+
PostCategoryFields2["slug"] = "slug";
|
|
4506
|
+
PostCategoryFields2["description"] = "description";
|
|
4000
4507
|
return PostCategoryFields2;
|
|
4001
4508
|
})(PostCategoryFields || {});
|
|
4002
4509
|
var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
@@ -4004,37 +4511,33 @@ var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
|
4004
4511
|
PostCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
4005
4512
|
PostCategoryAssciations2["posts"] = "posts";
|
|
4006
4513
|
PostCategoryAssciations2["postsAggregate"] = "postsAggregate";
|
|
4514
|
+
PostCategoryAssciations2["lang"] = "lang";
|
|
4007
4515
|
PostCategoryAssciations2["parent"] = "parent";
|
|
4516
|
+
PostCategoryAssciations2["website"] = "website";
|
|
4008
4517
|
return PostCategoryAssciations2;
|
|
4009
4518
|
})(PostCategoryAssciations || {});
|
|
4010
4519
|
var TagFields = /* @__PURE__ */ ((TagFields2) => {
|
|
4011
4520
|
TagFields2["id"] = "id";
|
|
4012
4521
|
TagFields2["name"] = "name";
|
|
4013
4522
|
TagFields2["color"] = "color";
|
|
4014
|
-
TagFields2["websiteId"] = "websiteId";
|
|
4015
|
-
TagFields2["slug"] = "slug";
|
|
4016
|
-
TagFields2["description"] = "description";
|
|
4017
4523
|
TagFields2["createdAt"] = "createdAt";
|
|
4018
4524
|
TagFields2["updatedAt"] = "updatedAt";
|
|
4019
|
-
TagFields2["remark"] = "remark";
|
|
4020
4525
|
return TagFields2;
|
|
4021
4526
|
})(TagFields || {});
|
|
4022
4527
|
var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|
|
4528
|
+
TagAssciations2["lang"] = "lang";
|
|
4023
4529
|
TagAssciations2["posts"] = "posts";
|
|
4024
4530
|
TagAssciations2["postsAggregate"] = "postsAggregate";
|
|
4025
4531
|
TagAssciations2["products"] = "products";
|
|
4026
4532
|
TagAssciations2["productsAggregate"] = "productsAggregate";
|
|
4533
|
+
TagAssciations2["website"] = "website";
|
|
4027
4534
|
return TagAssciations2;
|
|
4028
4535
|
})(TagAssciations || {});
|
|
4029
4536
|
var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
4030
4537
|
CustomerFields2["id"] = "id";
|
|
4031
4538
|
CustomerFields2["company"] = "company";
|
|
4032
|
-
CustomerFields2["websiteId"] = "websiteId";
|
|
4033
|
-
CustomerFields2["slug"] = "slug";
|
|
4034
|
-
CustomerFields2["description"] = "description";
|
|
4035
4539
|
CustomerFields2["createdAt"] = "createdAt";
|
|
4036
4540
|
CustomerFields2["updatedAt"] = "updatedAt";
|
|
4037
|
-
CustomerFields2["remark"] = "remark";
|
|
4038
4541
|
CustomerFields2["email"] = "email";
|
|
4039
4542
|
CustomerFields2["tel"] = "tel";
|
|
4040
4543
|
CustomerFields2["tel2"] = "tel2";
|
|
@@ -4051,27 +4554,29 @@ var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
|
4051
4554
|
var CustomerAssciations = /* @__PURE__ */ ((CustomerAssciations2) => {
|
|
4052
4555
|
CustomerAssciations2["enquires"] = "enquires";
|
|
4053
4556
|
CustomerAssciations2["enquiresAggregate"] = "enquiresAggregate";
|
|
4557
|
+
CustomerAssciations2["lang"] = "lang";
|
|
4558
|
+
CustomerAssciations2["website"] = "website";
|
|
4054
4559
|
return CustomerAssciations2;
|
|
4055
4560
|
})(CustomerAssciations || {});
|
|
4056
4561
|
var ProductCategoryFields = /* @__PURE__ */ ((ProductCategoryFields2) => {
|
|
4057
4562
|
ProductCategoryFields2["id"] = "id";
|
|
4058
4563
|
ProductCategoryFields2["name"] = "name";
|
|
4059
4564
|
ProductCategoryFields2["seqValue"] = "seqValue";
|
|
4060
|
-
ProductCategoryFields2["websiteId"] = "websiteId";
|
|
4061
|
-
ProductCategoryFields2["slug"] = "slug";
|
|
4062
|
-
ProductCategoryFields2["description"] = "description";
|
|
4063
4565
|
ProductCategoryFields2["createdAt"] = "createdAt";
|
|
4064
4566
|
ProductCategoryFields2["updatedAt"] = "updatedAt";
|
|
4065
|
-
ProductCategoryFields2["
|
|
4567
|
+
ProductCategoryFields2["slug"] = "slug";
|
|
4568
|
+
ProductCategoryFields2["description"] = "description";
|
|
4066
4569
|
return ProductCategoryFields2;
|
|
4067
4570
|
})(ProductCategoryFields || {});
|
|
4068
4571
|
var ProductCategoryAssciations = /* @__PURE__ */ ((ProductCategoryAssciations2) => {
|
|
4069
4572
|
ProductCategoryAssciations2["children"] = "children";
|
|
4070
4573
|
ProductCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
4071
4574
|
ProductCategoryAssciations2["media"] = "media";
|
|
4575
|
+
ProductCategoryAssciations2["lang"] = "lang";
|
|
4072
4576
|
ProductCategoryAssciations2["parent"] = "parent";
|
|
4073
4577
|
ProductCategoryAssciations2["products"] = "products";
|
|
4074
4578
|
ProductCategoryAssciations2["productsAggregate"] = "productsAggregate";
|
|
4579
|
+
ProductCategoryAssciations2["website"] = "website";
|
|
4075
4580
|
return ProductCategoryAssciations2;
|
|
4076
4581
|
})(ProductCategoryAssciations || {});
|
|
4077
4582
|
var SpamFilterRuleFields = /* @__PURE__ */ ((SpamFilterRuleFields2) => {
|
|
@@ -4081,14 +4586,13 @@ var SpamFilterRuleFields = /* @__PURE__ */ ((SpamFilterRuleFields2) => {
|
|
|
4081
4586
|
SpamFilterRuleFields2["keywords"] = "keywords";
|
|
4082
4587
|
SpamFilterRuleFields2["createdAt"] = "createdAt";
|
|
4083
4588
|
SpamFilterRuleFields2["updatedAt"] = "updatedAt";
|
|
4084
|
-
SpamFilterRuleFields2["websiteId"] = "websiteId";
|
|
4085
|
-
SpamFilterRuleFields2["slug"] = "slug";
|
|
4086
|
-
SpamFilterRuleFields2["description"] = "description";
|
|
4087
|
-
SpamFilterRuleFields2["remark"] = "remark";
|
|
4088
4589
|
return SpamFilterRuleFields2;
|
|
4089
4590
|
})(SpamFilterRuleFields || {});
|
|
4090
4591
|
var SpamFilterRuleAssciations = /* @__PURE__ */ ((SpamFilterRuleAssciations2) => {
|
|
4091
|
-
|
|
4592
|
+
SpamFilterRuleAssciations2["lang"] = "lang";
|
|
4593
|
+
SpamFilterRuleAssciations2["website"] = "website";
|
|
4594
|
+
return SpamFilterRuleAssciations2;
|
|
4595
|
+
})(SpamFilterRuleAssciations || {});
|
|
4092
4596
|
var MediaOnProductFields = /* @__PURE__ */ ((MediaOnProductFields2) => {
|
|
4093
4597
|
MediaOnProductFields2["id"] = "id";
|
|
4094
4598
|
MediaOnProductFields2["altText"] = "altText";
|
|
@@ -4124,7 +4628,6 @@ export {
|
|
|
4124
4628
|
AttachmentOnProductEntityName,
|
|
4125
4629
|
AttachmentOnProductFields,
|
|
4126
4630
|
AttachmentOnProductQueryOptions,
|
|
4127
|
-
BaseEntityDistinctEnum,
|
|
4128
4631
|
ComponentType,
|
|
4129
4632
|
CustomerAssciations,
|
|
4130
4633
|
CustomerDistinctEnum,
|
|
@@ -4132,7 +4635,6 @@ export {
|
|
|
4132
4635
|
CustomerEntityName,
|
|
4133
4636
|
CustomerFields,
|
|
4134
4637
|
CustomerQueryOptions,
|
|
4135
|
-
CustomizeMediaDistinctEnum,
|
|
4136
4638
|
EnquiryAssciations,
|
|
4137
4639
|
EnquiryDistinctEnum,
|
|
4138
4640
|
EnquiryEntityLabel,
|
|
@@ -4146,6 +4648,13 @@ export {
|
|
|
4146
4648
|
LangEntityName,
|
|
4147
4649
|
LangFields,
|
|
4148
4650
|
LangQueryOptions,
|
|
4651
|
+
MailAssciations,
|
|
4652
|
+
MailDistinctEnum,
|
|
4653
|
+
MailEntityLabel,
|
|
4654
|
+
MailEntityName,
|
|
4655
|
+
MailFields,
|
|
4656
|
+
MailQueryOptions,
|
|
4657
|
+
MailType,
|
|
4149
4658
|
MediaAssciations,
|
|
4150
4659
|
MediaDistinctEnum,
|
|
4151
4660
|
MediaEntityLabel,
|
|
@@ -4165,7 +4674,6 @@ export {
|
|
|
4165
4674
|
MediaOnProductQueryOptions,
|
|
4166
4675
|
MediaQueryOptions,
|
|
4167
4676
|
MediaType,
|
|
4168
|
-
MultiLangableDistinctEnum,
|
|
4169
4677
|
OgMetaDistinctEnum,
|
|
4170
4678
|
PageAssciations,
|
|
4171
4679
|
PageDistinctEnum,
|
|
@@ -4208,6 +4716,7 @@ export {
|
|
|
4208
4716
|
RoleFields,
|
|
4209
4717
|
RoleQueryOptions,
|
|
4210
4718
|
SeoMetaDistinctEnum,
|
|
4719
|
+
SlugableDistinctEnum,
|
|
4211
4720
|
SpamFilterRuleAssciations,
|
|
4212
4721
|
SpamFilterRuleDistinctEnum,
|
|
4213
4722
|
SpamFilterRuleEntityLabel,
|
|
@@ -4285,6 +4794,9 @@ export {
|
|
|
4285
4794
|
langEntry,
|
|
4286
4795
|
langToInput,
|
|
4287
4796
|
langToInputCascade,
|
|
4797
|
+
mailEntry,
|
|
4798
|
+
mailToInput,
|
|
4799
|
+
mailToInputCascade,
|
|
4288
4800
|
mediaEntry,
|
|
4289
4801
|
mediaFolderEntry,
|
|
4290
4802
|
mediaFolderToInput,
|