@rxdrag/rxcms-models 0.2.13 → 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/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/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/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/index.mjs +1765 -1384
- 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/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 +4 -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) => {
|
|
@@ -690,32 +901,18 @@ var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
|
|
|
690
901
|
WebsiteDistinctEnum2["lastOpenTime"] = "lastOpenTime";
|
|
691
902
|
WebsiteDistinctEnum2["updatedAt"] = "updatedAt";
|
|
692
903
|
WebsiteDistinctEnum2["updatedBy"] = "updatedBy";
|
|
904
|
+
WebsiteDistinctEnum2["description"] = "description";
|
|
693
905
|
return WebsiteDistinctEnum2;
|
|
694
906
|
})(WebsiteDistinctEnum || {});
|
|
695
907
|
const LangEntityName = "Lang";
|
|
696
908
|
const LangEntityLabel = "语言";
|
|
697
|
-
const langToInputCascade = (entity) => {
|
|
698
|
-
return {
|
|
699
|
-
...entity
|
|
700
|
-
};
|
|
701
|
-
};
|
|
702
|
-
const langToInput = (entity) => {
|
|
703
|
-
return {
|
|
704
|
-
...entity
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
909
|
var LangDistinctEnum = /* @__PURE__ */ ((LangDistinctEnum2) => {
|
|
708
910
|
LangDistinctEnum2["id"] = "id";
|
|
709
911
|
LangDistinctEnum2["abbr"] = "abbr";
|
|
710
912
|
LangDistinctEnum2["enName"] = "enName";
|
|
711
913
|
LangDistinctEnum2["localName"] = "localName";
|
|
712
914
|
LangDistinctEnum2["icon"] = "icon";
|
|
713
|
-
LangDistinctEnum2["remark"] = "remark";
|
|
714
|
-
LangDistinctEnum2["websiteId"] = "websiteId";
|
|
715
|
-
LangDistinctEnum2["slug"] = "slug";
|
|
716
915
|
LangDistinctEnum2["description"] = "description";
|
|
717
|
-
LangDistinctEnum2["createdAt"] = "createdAt";
|
|
718
|
-
LangDistinctEnum2["updatedAt"] = "updatedAt";
|
|
719
916
|
return LangDistinctEnum2;
|
|
720
917
|
})(LangDistinctEnum || {});
|
|
721
918
|
const WebsiteTypeEntityName = "WebsiteType";
|
|
@@ -738,13 +935,9 @@ const PageEntityLabel = "";
|
|
|
738
935
|
var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
739
936
|
PageDistinctEnum2["id"] = "id";
|
|
740
937
|
PageDistinctEnum2["title"] = "title";
|
|
741
|
-
PageDistinctEnum2["content"] = "content";
|
|
742
938
|
PageDistinctEnum2["remark"] = "remark";
|
|
743
|
-
PageDistinctEnum2["
|
|
939
|
+
PageDistinctEnum2["content"] = "content";
|
|
744
940
|
PageDistinctEnum2["extends"] = "extends";
|
|
745
|
-
PageDistinctEnum2["websiteId"] = "websiteId";
|
|
746
|
-
PageDistinctEnum2["slug"] = "slug";
|
|
747
|
-
PageDistinctEnum2["description"] = "description";
|
|
748
941
|
PageDistinctEnum2["createdAt"] = "createdAt";
|
|
749
942
|
PageDistinctEnum2["updatedAt"] = "updatedAt";
|
|
750
943
|
PageDistinctEnum2["seoTitle"] = "seoTitle";
|
|
@@ -760,7 +953,8 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
|
760
953
|
PageDistinctEnum2["xTitle"] = "xTitle";
|
|
761
954
|
PageDistinctEnum2["xDescription"] = "xDescription";
|
|
762
955
|
PageDistinctEnum2["xUrl"] = "xUrl";
|
|
763
|
-
PageDistinctEnum2["
|
|
956
|
+
PageDistinctEnum2["slug"] = "slug";
|
|
957
|
+
PageDistinctEnum2["description"] = "description";
|
|
764
958
|
return PageDistinctEnum2;
|
|
765
959
|
})(PageDistinctEnum || {});
|
|
766
960
|
const PostEntityName = "Post";
|
|
@@ -775,12 +969,8 @@ var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
|
775
969
|
PostDistinctEnum2["title"] = "title";
|
|
776
970
|
PostDistinctEnum2["content"] = "content";
|
|
777
971
|
PostDistinctEnum2["extends"] = "extends";
|
|
778
|
-
PostDistinctEnum2["websiteId"] = "websiteId";
|
|
779
|
-
PostDistinctEnum2["slug"] = "slug";
|
|
780
|
-
PostDistinctEnum2["description"] = "description";
|
|
781
972
|
PostDistinctEnum2["createdAt"] = "createdAt";
|
|
782
973
|
PostDistinctEnum2["updatedAt"] = "updatedAt";
|
|
783
|
-
PostDistinctEnum2["remark"] = "remark";
|
|
784
974
|
PostDistinctEnum2["seoTitle"] = "seoTitle";
|
|
785
975
|
PostDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
786
976
|
PostDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -794,7 +984,8 @@ var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
|
794
984
|
PostDistinctEnum2["xTitle"] = "xTitle";
|
|
795
985
|
PostDistinctEnum2["xDescription"] = "xDescription";
|
|
796
986
|
PostDistinctEnum2["xUrl"] = "xUrl";
|
|
797
|
-
PostDistinctEnum2["
|
|
987
|
+
PostDistinctEnum2["slug"] = "slug";
|
|
988
|
+
PostDistinctEnum2["description"] = "description";
|
|
798
989
|
return PostDistinctEnum2;
|
|
799
990
|
})(PostDistinctEnum || {});
|
|
800
991
|
const ProductEntityName = "Product";
|
|
@@ -815,12 +1006,8 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
815
1006
|
ProductDistinctEnum2["title"] = "title";
|
|
816
1007
|
ProductDistinctEnum2["content"] = "content";
|
|
817
1008
|
ProductDistinctEnum2["extends"] = "extends";
|
|
818
|
-
ProductDistinctEnum2["websiteId"] = "websiteId";
|
|
819
|
-
ProductDistinctEnum2["slug"] = "slug";
|
|
820
|
-
ProductDistinctEnum2["description"] = "description";
|
|
821
1009
|
ProductDistinctEnum2["createdAt"] = "createdAt";
|
|
822
1010
|
ProductDistinctEnum2["updatedAt"] = "updatedAt";
|
|
823
|
-
ProductDistinctEnum2["remark"] = "remark";
|
|
824
1011
|
ProductDistinctEnum2["seoTitle"] = "seoTitle";
|
|
825
1012
|
ProductDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
826
1013
|
ProductDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -834,38 +1021,12 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
834
1021
|
ProductDistinctEnum2["xTitle"] = "xTitle";
|
|
835
1022
|
ProductDistinctEnum2["xDescription"] = "xDescription";
|
|
836
1023
|
ProductDistinctEnum2["xUrl"] = "xUrl";
|
|
837
|
-
ProductDistinctEnum2["
|
|
1024
|
+
ProductDistinctEnum2["slug"] = "slug";
|
|
1025
|
+
ProductDistinctEnum2["description"] = "description";
|
|
838
1026
|
return ProductDistinctEnum2;
|
|
839
1027
|
})(ProductDistinctEnum || {});
|
|
840
1028
|
const EnquiryEntityName = "Enquiry";
|
|
841
1029
|
const EnquiryEntityLabel = "";
|
|
842
|
-
const customerToInputCascade = (entity) => {
|
|
843
|
-
var _a;
|
|
844
|
-
const { enquiresAggregate, ...rest } = entity;
|
|
845
|
-
return {
|
|
846
|
-
...rest,
|
|
847
|
-
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
const customerToInput = (entity) => {
|
|
851
|
-
const { enquiresAggregate, ...rest } = entity;
|
|
852
|
-
return {
|
|
853
|
-
...rest,
|
|
854
|
-
enquires: convertHasManyToInput(entity.enquires)
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
const enquiryToInputCascade = (entity) => {
|
|
858
|
-
return {
|
|
859
|
-
...entity,
|
|
860
|
-
customer: entity.customer ? processHasOneClear({ sync: customerToInput(entity.customer) }) : void 0
|
|
861
|
-
};
|
|
862
|
-
};
|
|
863
|
-
const enquiryToInput = (entity) => {
|
|
864
|
-
return {
|
|
865
|
-
...entity,
|
|
866
|
-
customer: convertHasOneToInput(entity.customer)
|
|
867
|
-
};
|
|
868
|
-
};
|
|
869
1030
|
var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
870
1031
|
EnquiryDistinctEnum2["id"] = "id";
|
|
871
1032
|
EnquiryDistinctEnum2["title"] = "title";
|
|
@@ -879,26 +1040,12 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
|
879
1040
|
EnquiryDistinctEnum2["fromCta"] = "fromCta";
|
|
880
1041
|
EnquiryDistinctEnum2["read"] = "read";
|
|
881
1042
|
EnquiryDistinctEnum2["spam"] = "spam";
|
|
882
|
-
EnquiryDistinctEnum2["websiteId"] = "websiteId";
|
|
883
|
-
EnquiryDistinctEnum2["slug"] = "slug";
|
|
884
|
-
EnquiryDistinctEnum2["description"] = "description";
|
|
885
1043
|
EnquiryDistinctEnum2["createdAt"] = "createdAt";
|
|
886
1044
|
EnquiryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
887
|
-
EnquiryDistinctEnum2["remark"] = "remark";
|
|
888
1045
|
return EnquiryDistinctEnum2;
|
|
889
1046
|
})(EnquiryDistinctEnum || {});
|
|
890
1047
|
const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
891
1048
|
const WebsiteSettingsEntityLabel = "";
|
|
892
|
-
const websiteSettingsToInputCascade = (entity) => {
|
|
893
|
-
return {
|
|
894
|
-
...entity
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
|
-
const websiteSettingsToInput = (entity) => {
|
|
898
|
-
return {
|
|
899
|
-
...entity
|
|
900
|
-
};
|
|
901
|
-
};
|
|
902
1049
|
var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2) => {
|
|
903
1050
|
WebsiteSettingsDistinctEnum2["id"] = "id";
|
|
904
1051
|
WebsiteSettingsDistinctEnum2["smtpConfig"] = "smtpConfig";
|
|
@@ -920,12 +1067,8 @@ var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2
|
|
|
920
1067
|
WebsiteSettingsDistinctEnum2["gaTrackingId"] = "gaTrackingId";
|
|
921
1068
|
WebsiteSettingsDistinctEnum2["noticeEmail"] = "noticeEmail";
|
|
922
1069
|
WebsiteSettingsDistinctEnum2["emailTemplates"] = "emailTemplates";
|
|
923
|
-
WebsiteSettingsDistinctEnum2["websiteId"] = "websiteId";
|
|
924
|
-
WebsiteSettingsDistinctEnum2["slug"] = "slug";
|
|
925
|
-
WebsiteSettingsDistinctEnum2["description"] = "description";
|
|
926
1070
|
WebsiteSettingsDistinctEnum2["createdAt"] = "createdAt";
|
|
927
1071
|
WebsiteSettingsDistinctEnum2["updatedAt"] = "updatedAt";
|
|
928
|
-
WebsiteSettingsDistinctEnum2["remark"] = "remark";
|
|
929
1072
|
return WebsiteSettingsDistinctEnum2;
|
|
930
1073
|
})(WebsiteSettingsDistinctEnum || {});
|
|
931
1074
|
const TemplateEntityName = "Template";
|
|
@@ -936,12 +1079,8 @@ var TemplateDistinctEnum = /* @__PURE__ */ ((TemplateDistinctEnum2) => {
|
|
|
936
1079
|
TemplateDistinctEnum2["seqValue"] = "seqValue";
|
|
937
1080
|
TemplateDistinctEnum2["content"] = "content";
|
|
938
1081
|
TemplateDistinctEnum2["templateType"] = "templateType";
|
|
939
|
-
TemplateDistinctEnum2["websiteId"] = "websiteId";
|
|
940
|
-
TemplateDistinctEnum2["slug"] = "slug";
|
|
941
|
-
TemplateDistinctEnum2["description"] = "description";
|
|
942
1082
|
TemplateDistinctEnum2["createdAt"] = "createdAt";
|
|
943
1083
|
TemplateDistinctEnum2["updatedAt"] = "updatedAt";
|
|
944
|
-
TemplateDistinctEnum2["remark"] = "remark";
|
|
945
1084
|
return TemplateDistinctEnum2;
|
|
946
1085
|
})(TemplateDistinctEnum || {});
|
|
947
1086
|
const TemplateCategoryEntityName = "TemplateCategory";
|
|
@@ -950,12 +1089,8 @@ var TemplateCategoryDistinctEnum = /* @__PURE__ */ ((TemplateCategoryDistinctEnu
|
|
|
950
1089
|
TemplateCategoryDistinctEnum2["id"] = "id";
|
|
951
1090
|
TemplateCategoryDistinctEnum2["name"] = "name";
|
|
952
1091
|
TemplateCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
953
|
-
TemplateCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
954
|
-
TemplateCategoryDistinctEnum2["slug"] = "slug";
|
|
955
|
-
TemplateCategoryDistinctEnum2["description"] = "description";
|
|
956
1092
|
TemplateCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
957
1093
|
TemplateCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
958
|
-
TemplateCategoryDistinctEnum2["remark"] = "remark";
|
|
959
1094
|
return TemplateCategoryDistinctEnum2;
|
|
960
1095
|
})(TemplateCategoryDistinctEnum || {});
|
|
961
1096
|
const ThemeEntityName = "Theme";
|
|
@@ -965,12 +1100,9 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
965
1100
|
ThemeDistinctEnum2["name"] = "name";
|
|
966
1101
|
ThemeDistinctEnum2["styles"] = "styles";
|
|
967
1102
|
ThemeDistinctEnum2["settings"] = "settings";
|
|
968
|
-
ThemeDistinctEnum2["websiteId"] = "websiteId";
|
|
969
|
-
ThemeDistinctEnum2["slug"] = "slug";
|
|
970
1103
|
ThemeDistinctEnum2["description"] = "description";
|
|
971
1104
|
ThemeDistinctEnum2["createdAt"] = "createdAt";
|
|
972
1105
|
ThemeDistinctEnum2["updatedAt"] = "updatedAt";
|
|
973
|
-
ThemeDistinctEnum2["remark"] = "remark";
|
|
974
1106
|
return ThemeDistinctEnum2;
|
|
975
1107
|
})(ThemeDistinctEnum || {});
|
|
976
1108
|
const MediaFolderEntityName = "MediaFolder";
|
|
@@ -979,22 +1111,14 @@ var MediaFolderDistinctEnum = /* @__PURE__ */ ((MediaFolderDistinctEnum2) => {
|
|
|
979
1111
|
MediaFolderDistinctEnum2["id"] = "id";
|
|
980
1112
|
MediaFolderDistinctEnum2["name"] = "name";
|
|
981
1113
|
MediaFolderDistinctEnum2["seqValue"] = "seqValue";
|
|
982
|
-
MediaFolderDistinctEnum2["websiteId"] = "websiteId";
|
|
983
|
-
MediaFolderDistinctEnum2["slug"] = "slug";
|
|
984
|
-
MediaFolderDistinctEnum2["description"] = "description";
|
|
985
1114
|
MediaFolderDistinctEnum2["createdAt"] = "createdAt";
|
|
986
1115
|
MediaFolderDistinctEnum2["updatedAt"] = "updatedAt";
|
|
987
|
-
MediaFolderDistinctEnum2["remark"] = "remark";
|
|
988
1116
|
return MediaFolderDistinctEnum2;
|
|
989
1117
|
})(MediaFolderDistinctEnum || {});
|
|
990
1118
|
var WebsitePartDistinctEnum = /* @__PURE__ */ ((WebsitePartDistinctEnum2) => {
|
|
991
1119
|
WebsitePartDistinctEnum2["id"] = "id";
|
|
992
|
-
WebsitePartDistinctEnum2["websiteId"] = "websiteId";
|
|
993
|
-
WebsitePartDistinctEnum2["slug"] = "slug";
|
|
994
|
-
WebsitePartDistinctEnum2["description"] = "description";
|
|
995
1120
|
WebsitePartDistinctEnum2["createdAt"] = "createdAt";
|
|
996
1121
|
WebsitePartDistinctEnum2["updatedAt"] = "updatedAt";
|
|
997
|
-
WebsitePartDistinctEnum2["remark"] = "remark";
|
|
998
1122
|
return WebsitePartDistinctEnum2;
|
|
999
1123
|
})(WebsitePartDistinctEnum || {});
|
|
1000
1124
|
var WebsiteTypeStatus = /* @__PURE__ */ ((WebsiteTypeStatus2) => {
|
|
@@ -1007,12 +1131,8 @@ var WebsiteContentDistinctEnum = /* @__PURE__ */ ((WebsiteContentDistinctEnum2)
|
|
|
1007
1131
|
WebsiteContentDistinctEnum2["title"] = "title";
|
|
1008
1132
|
WebsiteContentDistinctEnum2["content"] = "content";
|
|
1009
1133
|
WebsiteContentDistinctEnum2["extends"] = "extends";
|
|
1010
|
-
WebsiteContentDistinctEnum2["websiteId"] = "websiteId";
|
|
1011
|
-
WebsiteContentDistinctEnum2["slug"] = "slug";
|
|
1012
|
-
WebsiteContentDistinctEnum2["description"] = "description";
|
|
1013
1134
|
WebsiteContentDistinctEnum2["createdAt"] = "createdAt";
|
|
1014
1135
|
WebsiteContentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1015
|
-
WebsiteContentDistinctEnum2["remark"] = "remark";
|
|
1016
1136
|
WebsiteContentDistinctEnum2["seoTitle"] = "seoTitle";
|
|
1017
1137
|
WebsiteContentDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
1018
1138
|
WebsiteContentDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -1026,7 +1146,8 @@ var WebsiteContentDistinctEnum = /* @__PURE__ */ ((WebsiteContentDistinctEnum2)
|
|
|
1026
1146
|
WebsiteContentDistinctEnum2["xTitle"] = "xTitle";
|
|
1027
1147
|
WebsiteContentDistinctEnum2["xDescription"] = "xDescription";
|
|
1028
1148
|
WebsiteContentDistinctEnum2["xUrl"] = "xUrl";
|
|
1029
|
-
WebsiteContentDistinctEnum2["
|
|
1149
|
+
WebsiteContentDistinctEnum2["slug"] = "slug";
|
|
1150
|
+
WebsiteContentDistinctEnum2["description"] = "description";
|
|
1030
1151
|
return WebsiteContentDistinctEnum2;
|
|
1031
1152
|
})(WebsiteContentDistinctEnum || {});
|
|
1032
1153
|
const PostCategoryEntityName = "PostCategory";
|
|
@@ -1035,12 +1156,10 @@ var PostCategoryDistinctEnum = /* @__PURE__ */ ((PostCategoryDistinctEnum2) => {
|
|
|
1035
1156
|
PostCategoryDistinctEnum2["id"] = "id";
|
|
1036
1157
|
PostCategoryDistinctEnum2["name"] = "name";
|
|
1037
1158
|
PostCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1038
|
-
PostCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
1039
|
-
PostCategoryDistinctEnum2["slug"] = "slug";
|
|
1040
|
-
PostCategoryDistinctEnum2["description"] = "description";
|
|
1041
1159
|
PostCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1042
1160
|
PostCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1043
|
-
PostCategoryDistinctEnum2["
|
|
1161
|
+
PostCategoryDistinctEnum2["slug"] = "slug";
|
|
1162
|
+
PostCategoryDistinctEnum2["description"] = "description";
|
|
1044
1163
|
return PostCategoryDistinctEnum2;
|
|
1045
1164
|
})(PostCategoryDistinctEnum || {});
|
|
1046
1165
|
const TagEntityName = "Tag";
|
|
@@ -1049,12 +1168,8 @@ var TagDistinctEnum = /* @__PURE__ */ ((TagDistinctEnum2) => {
|
|
|
1049
1168
|
TagDistinctEnum2["id"] = "id";
|
|
1050
1169
|
TagDistinctEnum2["name"] = "name";
|
|
1051
1170
|
TagDistinctEnum2["color"] = "color";
|
|
1052
|
-
TagDistinctEnum2["websiteId"] = "websiteId";
|
|
1053
|
-
TagDistinctEnum2["slug"] = "slug";
|
|
1054
|
-
TagDistinctEnum2["description"] = "description";
|
|
1055
1171
|
TagDistinctEnum2["createdAt"] = "createdAt";
|
|
1056
1172
|
TagDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1057
|
-
TagDistinctEnum2["remark"] = "remark";
|
|
1058
1173
|
return TagDistinctEnum2;
|
|
1059
1174
|
})(TagDistinctEnum || {});
|
|
1060
1175
|
var SeoMetaDistinctEnum = /* @__PURE__ */ ((SeoMetaDistinctEnum2) => {
|
|
@@ -1085,12 +1200,8 @@ var PublishableDistinctEnum = /* @__PURE__ */ ((PublishableDistinctEnum2) => {
|
|
|
1085
1200
|
PublishableDistinctEnum2["title"] = "title";
|
|
1086
1201
|
PublishableDistinctEnum2["content"] = "content";
|
|
1087
1202
|
PublishableDistinctEnum2["extends"] = "extends";
|
|
1088
|
-
PublishableDistinctEnum2["websiteId"] = "websiteId";
|
|
1089
|
-
PublishableDistinctEnum2["slug"] = "slug";
|
|
1090
|
-
PublishableDistinctEnum2["description"] = "description";
|
|
1091
1203
|
PublishableDistinctEnum2["createdAt"] = "createdAt";
|
|
1092
1204
|
PublishableDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1093
|
-
PublishableDistinctEnum2["remark"] = "remark";
|
|
1094
1205
|
PublishableDistinctEnum2["seoTitle"] = "seoTitle";
|
|
1095
1206
|
PublishableDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
1096
1207
|
PublishableDistinctEnum2["seoDescription"] = "seoDescription";
|
|
@@ -1104,7 +1215,8 @@ var PublishableDistinctEnum = /* @__PURE__ */ ((PublishableDistinctEnum2) => {
|
|
|
1104
1215
|
PublishableDistinctEnum2["xTitle"] = "xTitle";
|
|
1105
1216
|
PublishableDistinctEnum2["xDescription"] = "xDescription";
|
|
1106
1217
|
PublishableDistinctEnum2["xUrl"] = "xUrl";
|
|
1107
|
-
PublishableDistinctEnum2["
|
|
1218
|
+
PublishableDistinctEnum2["slug"] = "slug";
|
|
1219
|
+
PublishableDistinctEnum2["description"] = "description";
|
|
1108
1220
|
return PublishableDistinctEnum2;
|
|
1109
1221
|
})(PublishableDistinctEnum || {});
|
|
1110
1222
|
var PublishableStatus = /* @__PURE__ */ ((PublishableStatus2) => {
|
|
@@ -1133,12 +1245,8 @@ const CustomerEntityLabel = "";
|
|
|
1133
1245
|
var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
1134
1246
|
CustomerDistinctEnum2["id"] = "id";
|
|
1135
1247
|
CustomerDistinctEnum2["company"] = "company";
|
|
1136
|
-
CustomerDistinctEnum2["websiteId"] = "websiteId";
|
|
1137
|
-
CustomerDistinctEnum2["slug"] = "slug";
|
|
1138
|
-
CustomerDistinctEnum2["description"] = "description";
|
|
1139
1248
|
CustomerDistinctEnum2["createdAt"] = "createdAt";
|
|
1140
1249
|
CustomerDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1141
|
-
CustomerDistinctEnum2["remark"] = "remark";
|
|
1142
1250
|
CustomerDistinctEnum2["email"] = "email";
|
|
1143
1251
|
CustomerDistinctEnum2["tel"] = "tel";
|
|
1144
1252
|
CustomerDistinctEnum2["tel2"] = "tel2";
|
|
@@ -1152,18 +1260,6 @@ var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
|
1152
1260
|
CustomerDistinctEnum2["summary"] = "summary";
|
|
1153
1261
|
return CustomerDistinctEnum2;
|
|
1154
1262
|
})(CustomerDistinctEnum || {});
|
|
1155
|
-
var BaseEntityDistinctEnum = /* @__PURE__ */ ((BaseEntityDistinctEnum2) => {
|
|
1156
|
-
BaseEntityDistinctEnum2["id"] = "id";
|
|
1157
|
-
BaseEntityDistinctEnum2["createdAt"] = "createdAt";
|
|
1158
|
-
BaseEntityDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1159
|
-
BaseEntityDistinctEnum2["remark"] = "remark";
|
|
1160
|
-
return BaseEntityDistinctEnum2;
|
|
1161
|
-
})(BaseEntityDistinctEnum || {});
|
|
1162
|
-
var MultiLangableDistinctEnum = /* @__PURE__ */ ((MultiLangableDistinctEnum2) => {
|
|
1163
|
-
MultiLangableDistinctEnum2["id"] = "id";
|
|
1164
|
-
MultiLangableDistinctEnum2["lang"] = "lang";
|
|
1165
|
-
return MultiLangableDistinctEnum2;
|
|
1166
|
-
})(MultiLangableDistinctEnum || {});
|
|
1167
1263
|
var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
1168
1264
|
WebsiteUserDistinctEnum2["id"] = "id";
|
|
1169
1265
|
WebsiteUserDistinctEnum2["postion"] = "postion";
|
|
@@ -1182,11 +1278,6 @@ var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
|
1182
1278
|
WebsiteUserDistinctEnum2["summary"] = "summary";
|
|
1183
1279
|
return WebsiteUserDistinctEnum2;
|
|
1184
1280
|
})(WebsiteUserDistinctEnum || {});
|
|
1185
|
-
var CustomizeMediaDistinctEnum = /* @__PURE__ */ ((CustomizeMediaDistinctEnum2) => {
|
|
1186
|
-
CustomizeMediaDistinctEnum2["id"] = "id";
|
|
1187
|
-
CustomizeMediaDistinctEnum2["websiteId"] = "websiteId";
|
|
1188
|
-
return CustomizeMediaDistinctEnum2;
|
|
1189
|
-
})(CustomizeMediaDistinctEnum || {});
|
|
1190
1281
|
var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
1191
1282
|
UserType2["saasUser"] = "saasUser";
|
|
1192
1283
|
UserType2["websiteUser"] = "websiteUser";
|
|
@@ -1210,12 +1301,10 @@ var ProductCategoryDistinctEnum = /* @__PURE__ */ ((ProductCategoryDistinctEnum2
|
|
|
1210
1301
|
ProductCategoryDistinctEnum2["id"] = "id";
|
|
1211
1302
|
ProductCategoryDistinctEnum2["name"] = "name";
|
|
1212
1303
|
ProductCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1213
|
-
ProductCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
1214
|
-
ProductCategoryDistinctEnum2["slug"] = "slug";
|
|
1215
|
-
ProductCategoryDistinctEnum2["description"] = "description";
|
|
1216
1304
|
ProductCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1217
1305
|
ProductCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1218
|
-
ProductCategoryDistinctEnum2["
|
|
1306
|
+
ProductCategoryDistinctEnum2["slug"] = "slug";
|
|
1307
|
+
ProductCategoryDistinctEnum2["description"] = "description";
|
|
1219
1308
|
return ProductCategoryDistinctEnum2;
|
|
1220
1309
|
})(ProductCategoryDistinctEnum || {});
|
|
1221
1310
|
var ExtendFieldType = /* @__PURE__ */ ((ExtendFieldType2) => {
|
|
@@ -1239,16 +1328,6 @@ var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
|
1239
1328
|
})(ComponentType || {});
|
|
1240
1329
|
const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
1241
1330
|
const SpamFilterRuleEntityLabel = "垃圾过滤规则";
|
|
1242
|
-
const spamFilterRuleToInputCascade = (entity) => {
|
|
1243
|
-
return {
|
|
1244
|
-
...entity
|
|
1245
|
-
};
|
|
1246
|
-
};
|
|
1247
|
-
const spamFilterRuleToInput = (entity) => {
|
|
1248
|
-
return {
|
|
1249
|
-
...entity
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
1331
|
var SpamFilterRuleDistinctEnum = /* @__PURE__ */ ((SpamFilterRuleDistinctEnum2) => {
|
|
1253
1332
|
SpamFilterRuleDistinctEnum2["id"] = "id";
|
|
1254
1333
|
SpamFilterRuleDistinctEnum2["emails"] = "emails";
|
|
@@ -1256,10 +1335,6 @@ var SpamFilterRuleDistinctEnum = /* @__PURE__ */ ((SpamFilterRuleDistinctEnum2)
|
|
|
1256
1335
|
SpamFilterRuleDistinctEnum2["keywords"] = "keywords";
|
|
1257
1336
|
SpamFilterRuleDistinctEnum2["createdAt"] = "createdAt";
|
|
1258
1337
|
SpamFilterRuleDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1259
|
-
SpamFilterRuleDistinctEnum2["websiteId"] = "websiteId";
|
|
1260
|
-
SpamFilterRuleDistinctEnum2["slug"] = "slug";
|
|
1261
|
-
SpamFilterRuleDistinctEnum2["description"] = "description";
|
|
1262
|
-
SpamFilterRuleDistinctEnum2["remark"] = "remark";
|
|
1263
1338
|
return SpamFilterRuleDistinctEnum2;
|
|
1264
1339
|
})(SpamFilterRuleDistinctEnum || {});
|
|
1265
1340
|
const MediaOnProductEntityName = "MediaOnProduct";
|
|
@@ -1277,6 +1352,12 @@ var AttachmentOnProductDistinctEnum = /* @__PURE__ */ ((AttachmentOnProductDisti
|
|
|
1277
1352
|
AttachmentOnProductDistinctEnum2["seqValue"] = "seqValue";
|
|
1278
1353
|
return AttachmentOnProductDistinctEnum2;
|
|
1279
1354
|
})(AttachmentOnProductDistinctEnum || {});
|
|
1355
|
+
var SlugableDistinctEnum = /* @__PURE__ */ ((SlugableDistinctEnum2) => {
|
|
1356
|
+
SlugableDistinctEnum2["id"] = "id";
|
|
1357
|
+
SlugableDistinctEnum2["slug"] = "slug";
|
|
1358
|
+
SlugableDistinctEnum2["description"] = "description";
|
|
1359
|
+
return SlugableDistinctEnum2;
|
|
1360
|
+
})(SlugableDistinctEnum || {});
|
|
1280
1361
|
class RoleQueryOptions extends QueryOptions {
|
|
1281
1362
|
constructor(fields, queryArgs) {
|
|
1282
1363
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1314,91 +1395,78 @@ class RoleQueryOptions extends QueryOptions {
|
|
|
1314
1395
|
return this;
|
|
1315
1396
|
}
|
|
1316
1397
|
}
|
|
1317
|
-
class
|
|
1398
|
+
class WebsiteTypeQueryOptions extends QueryOptions {
|
|
1318
1399
|
constructor(fields, queryArgs) {
|
|
1319
|
-
super(
|
|
1400
|
+
super(WebsiteTypeEntityName, fields, queryArgs);
|
|
1320
1401
|
}
|
|
1321
1402
|
id() {
|
|
1322
1403
|
this.addField("id");
|
|
1323
1404
|
return this;
|
|
1324
1405
|
}
|
|
1406
|
+
/**
|
|
1407
|
+
* 网站类型名称
|
|
1408
|
+
*/
|
|
1325
1409
|
name() {
|
|
1326
1410
|
this.addField("name");
|
|
1327
1411
|
return this;
|
|
1328
1412
|
}
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
this.addField("websiteId");
|
|
1413
|
+
/**
|
|
1414
|
+
* 显示名称
|
|
1415
|
+
*/
|
|
1416
|
+
displayName() {
|
|
1417
|
+
this.addField("displayName");
|
|
1335
1418
|
return this;
|
|
1336
1419
|
}
|
|
1337
|
-
|
|
1338
|
-
this.addField("
|
|
1420
|
+
pricePerMonth() {
|
|
1421
|
+
this.addField("pricePerMonth");
|
|
1339
1422
|
return this;
|
|
1340
1423
|
}
|
|
1341
|
-
|
|
1342
|
-
this.addField("
|
|
1424
|
+
pricePerYear() {
|
|
1425
|
+
this.addField("pricePerYear");
|
|
1343
1426
|
return this;
|
|
1344
1427
|
}
|
|
1345
1428
|
/**
|
|
1346
|
-
*
|
|
1429
|
+
* 备注
|
|
1347
1430
|
*/
|
|
1431
|
+
remark() {
|
|
1432
|
+
this.addField("remark");
|
|
1433
|
+
return this;
|
|
1434
|
+
}
|
|
1348
1435
|
createdAt() {
|
|
1349
1436
|
this.addField("createdAt");
|
|
1350
1437
|
return this;
|
|
1351
1438
|
}
|
|
1352
|
-
/**
|
|
1353
|
-
* 更新时间
|
|
1354
|
-
*/
|
|
1355
1439
|
updatedAt() {
|
|
1356
1440
|
this.addField("updatedAt");
|
|
1357
1441
|
return this;
|
|
1358
1442
|
}
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
*/
|
|
1362
|
-
remark() {
|
|
1363
|
-
this.addField("remark");
|
|
1364
|
-
return this;
|
|
1365
|
-
}
|
|
1366
|
-
children(options) {
|
|
1367
|
-
if (Array.isArray(options)) {
|
|
1368
|
-
this._associations["children"] = new MediaFolderQueryOptions(options);
|
|
1369
|
-
} else {
|
|
1370
|
-
this._associations["children"] = options || new MediaFolderQueryOptions(["id"]);
|
|
1371
|
-
}
|
|
1372
|
-
return this;
|
|
1373
|
-
}
|
|
1374
|
-
childrenAggregate(aggregate) {
|
|
1375
|
-
this._aggregates["childrenAggregate"] = aggregate;
|
|
1443
|
+
status() {
|
|
1444
|
+
this.addField("status");
|
|
1376
1445
|
return this;
|
|
1377
1446
|
}
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
}
|
|
1447
|
+
/**
|
|
1448
|
+
* 等级
|
|
1449
|
+
*/
|
|
1450
|
+
level() {
|
|
1451
|
+
this.addField("level");
|
|
1384
1452
|
return this;
|
|
1385
1453
|
}
|
|
1386
|
-
|
|
1454
|
+
websites(options) {
|
|
1387
1455
|
if (Array.isArray(options)) {
|
|
1388
|
-
this._associations["
|
|
1456
|
+
this._associations["websites"] = new WebsiteQueryOptions(options);
|
|
1389
1457
|
} else {
|
|
1390
|
-
this._associations["
|
|
1458
|
+
this._associations["websites"] = options || new WebsiteQueryOptions(["id"]);
|
|
1391
1459
|
}
|
|
1392
1460
|
return this;
|
|
1393
1461
|
}
|
|
1394
|
-
|
|
1395
|
-
this._aggregates["
|
|
1462
|
+
websitesAggregate(aggregate) {
|
|
1463
|
+
this._aggregates["websitesAggregate"] = aggregate;
|
|
1396
1464
|
return this;
|
|
1397
1465
|
}
|
|
1398
1466
|
}
|
|
1399
|
-
class
|
|
1467
|
+
class TemplateCategoryQueryOptions extends QueryOptions {
|
|
1400
1468
|
constructor(fields, queryArgs) {
|
|
1401
|
-
super(
|
|
1469
|
+
super(TemplateCategoryEntityName, fields, queryArgs);
|
|
1402
1470
|
}
|
|
1403
1471
|
id() {
|
|
1404
1472
|
this.addField("id");
|
|
@@ -1412,245 +1480,235 @@ class ProductCategoryQueryOptions extends QueryOptions {
|
|
|
1412
1480
|
this.addField("seqValue");
|
|
1413
1481
|
return this;
|
|
1414
1482
|
}
|
|
1415
|
-
websiteId() {
|
|
1416
|
-
this.addField("websiteId");
|
|
1417
|
-
return this;
|
|
1418
|
-
}
|
|
1419
|
-
slug() {
|
|
1420
|
-
this.addField("slug");
|
|
1421
|
-
return this;
|
|
1422
|
-
}
|
|
1423
|
-
description() {
|
|
1424
|
-
this.addField("description");
|
|
1425
|
-
return this;
|
|
1426
|
-
}
|
|
1427
|
-
/**
|
|
1428
|
-
* 创建时间
|
|
1429
|
-
*/
|
|
1430
1483
|
createdAt() {
|
|
1431
1484
|
this.addField("createdAt");
|
|
1432
1485
|
return this;
|
|
1433
1486
|
}
|
|
1434
|
-
/**
|
|
1435
|
-
* 更新时间
|
|
1436
|
-
*/
|
|
1437
1487
|
updatedAt() {
|
|
1438
1488
|
this.addField("updatedAt");
|
|
1439
1489
|
return this;
|
|
1440
1490
|
}
|
|
1441
|
-
|
|
1442
|
-
* 备注
|
|
1443
|
-
*/
|
|
1444
|
-
remark() {
|
|
1445
|
-
this.addField("remark");
|
|
1446
|
-
return this;
|
|
1447
|
-
}
|
|
1448
|
-
children(options) {
|
|
1491
|
+
templates(options) {
|
|
1449
1492
|
if (Array.isArray(options)) {
|
|
1450
|
-
this._associations["
|
|
1493
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
1451
1494
|
} else {
|
|
1452
|
-
this._associations["
|
|
1495
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
1453
1496
|
}
|
|
1454
1497
|
return this;
|
|
1455
1498
|
}
|
|
1456
|
-
|
|
1457
|
-
this._aggregates["
|
|
1499
|
+
templatesAggregate(aggregate) {
|
|
1500
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
1458
1501
|
return this;
|
|
1459
1502
|
}
|
|
1460
|
-
|
|
1503
|
+
lang(options) {
|
|
1461
1504
|
if (Array.isArray(options)) {
|
|
1462
|
-
this._associations["
|
|
1505
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1463
1506
|
} else {
|
|
1464
|
-
this._associations["
|
|
1507
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1465
1508
|
}
|
|
1466
1509
|
return this;
|
|
1467
1510
|
}
|
|
1468
|
-
|
|
1511
|
+
theme(options) {
|
|
1469
1512
|
if (Array.isArray(options)) {
|
|
1470
|
-
this._associations["
|
|
1513
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1471
1514
|
} else {
|
|
1472
|
-
this._associations["
|
|
1515
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1473
1516
|
}
|
|
1474
1517
|
return this;
|
|
1475
1518
|
}
|
|
1476
|
-
|
|
1519
|
+
website(options) {
|
|
1477
1520
|
if (Array.isArray(options)) {
|
|
1478
|
-
this._associations["
|
|
1521
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1479
1522
|
} else {
|
|
1480
|
-
this._associations["
|
|
1523
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1481
1524
|
}
|
|
1482
1525
|
return this;
|
|
1483
1526
|
}
|
|
1484
|
-
productsAggregate(aggregate) {
|
|
1485
|
-
this._aggregates["productsAggregate"] = aggregate;
|
|
1486
|
-
return this;
|
|
1487
|
-
}
|
|
1488
1527
|
}
|
|
1489
|
-
class
|
|
1528
|
+
class TemplateQueryOptions extends QueryOptions {
|
|
1490
1529
|
constructor(fields, queryArgs) {
|
|
1491
|
-
super(
|
|
1530
|
+
super(TemplateEntityName, fields, queryArgs);
|
|
1492
1531
|
}
|
|
1493
1532
|
id() {
|
|
1494
1533
|
this.addField("id");
|
|
1495
1534
|
return this;
|
|
1496
1535
|
}
|
|
1497
|
-
|
|
1498
|
-
this.addField("
|
|
1536
|
+
name() {
|
|
1537
|
+
this.addField("name");
|
|
1499
1538
|
return this;
|
|
1500
1539
|
}
|
|
1501
1540
|
seqValue() {
|
|
1502
1541
|
this.addField("seqValue");
|
|
1503
1542
|
return this;
|
|
1504
1543
|
}
|
|
1505
|
-
|
|
1544
|
+
content() {
|
|
1545
|
+
this.addField("content");
|
|
1546
|
+
return this;
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* 模板类型
|
|
1550
|
+
*/
|
|
1551
|
+
templateType() {
|
|
1552
|
+
this.addField("templateType");
|
|
1553
|
+
return this;
|
|
1554
|
+
}
|
|
1555
|
+
createdAt() {
|
|
1556
|
+
this.addField("createdAt");
|
|
1557
|
+
return this;
|
|
1558
|
+
}
|
|
1559
|
+
updatedAt() {
|
|
1560
|
+
this.addField("updatedAt");
|
|
1561
|
+
return this;
|
|
1562
|
+
}
|
|
1563
|
+
lang(options) {
|
|
1506
1564
|
if (Array.isArray(options)) {
|
|
1507
|
-
this._associations["
|
|
1565
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1508
1566
|
} else {
|
|
1509
|
-
this._associations["
|
|
1567
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1510
1568
|
}
|
|
1511
1569
|
return this;
|
|
1512
1570
|
}
|
|
1513
|
-
|
|
1571
|
+
category(options) {
|
|
1514
1572
|
if (Array.isArray(options)) {
|
|
1515
|
-
this._associations["
|
|
1573
|
+
this._associations["category"] = new TemplateCategoryQueryOptions(options);
|
|
1516
1574
|
} else {
|
|
1517
|
-
this._associations["
|
|
1575
|
+
this._associations["category"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
1518
1576
|
}
|
|
1519
1577
|
return this;
|
|
1520
1578
|
}
|
|
1521
|
-
|
|
1522
|
-
class AttachmentOnProductQueryOptions extends QueryOptions {
|
|
1523
|
-
constructor(fields, queryArgs) {
|
|
1524
|
-
super(AttachmentOnProductEntityName, fields, queryArgs);
|
|
1525
|
-
}
|
|
1526
|
-
id() {
|
|
1527
|
-
this.addField("id");
|
|
1528
|
-
return this;
|
|
1529
|
-
}
|
|
1530
|
-
seqValue() {
|
|
1531
|
-
this.addField("seqValue");
|
|
1532
|
-
return this;
|
|
1533
|
-
}
|
|
1534
|
-
attachment(options) {
|
|
1579
|
+
theme(options) {
|
|
1535
1580
|
if (Array.isArray(options)) {
|
|
1536
|
-
this._associations["
|
|
1581
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
1537
1582
|
} else {
|
|
1538
|
-
this._associations["
|
|
1583
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
1539
1584
|
}
|
|
1540
1585
|
return this;
|
|
1541
1586
|
}
|
|
1542
|
-
|
|
1587
|
+
website(options) {
|
|
1543
1588
|
if (Array.isArray(options)) {
|
|
1544
|
-
this._associations["
|
|
1589
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1545
1590
|
} else {
|
|
1546
|
-
this._associations["
|
|
1591
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1547
1592
|
}
|
|
1548
1593
|
return this;
|
|
1549
1594
|
}
|
|
1550
1595
|
}
|
|
1551
|
-
class
|
|
1596
|
+
class ThemeQueryOptions extends QueryOptions {
|
|
1552
1597
|
constructor(fields, queryArgs) {
|
|
1553
|
-
super(
|
|
1598
|
+
super(ThemeEntityName, fields, queryArgs);
|
|
1554
1599
|
}
|
|
1555
1600
|
id() {
|
|
1556
1601
|
this.addField("id");
|
|
1557
1602
|
return this;
|
|
1558
1603
|
}
|
|
1559
|
-
|
|
1560
|
-
this.addField("
|
|
1604
|
+
name() {
|
|
1605
|
+
this.addField("name");
|
|
1561
1606
|
return this;
|
|
1562
1607
|
}
|
|
1563
|
-
|
|
1564
|
-
this.addField("
|
|
1608
|
+
styles() {
|
|
1609
|
+
this.addField("styles");
|
|
1565
1610
|
return this;
|
|
1566
1611
|
}
|
|
1567
|
-
|
|
1568
|
-
this.addField("
|
|
1612
|
+
settings() {
|
|
1613
|
+
this.addField("settings");
|
|
1569
1614
|
return this;
|
|
1570
1615
|
}
|
|
1571
|
-
|
|
1572
|
-
this.addField("
|
|
1616
|
+
description() {
|
|
1617
|
+
this.addField("description");
|
|
1573
1618
|
return this;
|
|
1574
1619
|
}
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
*/
|
|
1578
|
-
features() {
|
|
1579
|
-
this.addField("features");
|
|
1620
|
+
createdAt() {
|
|
1621
|
+
this.addField("createdAt");
|
|
1580
1622
|
return this;
|
|
1581
1623
|
}
|
|
1582
|
-
|
|
1583
|
-
this.addField("
|
|
1624
|
+
updatedAt() {
|
|
1625
|
+
this.addField("updatedAt");
|
|
1584
1626
|
return this;
|
|
1585
1627
|
}
|
|
1586
|
-
|
|
1587
|
-
|
|
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
|
+
}
|
|
1588
1634
|
return this;
|
|
1589
1635
|
}
|
|
1590
|
-
|
|
1591
|
-
this.
|
|
1636
|
+
templatesAggregate(aggregate) {
|
|
1637
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
1592
1638
|
return this;
|
|
1593
1639
|
}
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
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
|
+
}
|
|
1599
1646
|
return this;
|
|
1600
1647
|
}
|
|
1601
|
-
|
|
1602
|
-
this.
|
|
1648
|
+
themlateCategoriesAggregate(aggregate) {
|
|
1649
|
+
this._aggregates["themlateCategoriesAggregate"] = aggregate;
|
|
1603
1650
|
return this;
|
|
1604
1651
|
}
|
|
1605
|
-
|
|
1606
|
-
|
|
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
|
+
}
|
|
1607
1658
|
return this;
|
|
1608
1659
|
}
|
|
1609
|
-
|
|
1610
|
-
|
|
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
|
+
}
|
|
1611
1666
|
return this;
|
|
1612
1667
|
}
|
|
1613
|
-
|
|
1614
|
-
|
|
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
|
+
}
|
|
1615
1674
|
return this;
|
|
1616
1675
|
}
|
|
1617
|
-
|
|
1618
|
-
|
|
1676
|
+
}
|
|
1677
|
+
class PageQueryOptions extends QueryOptions {
|
|
1678
|
+
constructor(fields, queryArgs) {
|
|
1679
|
+
super(PageEntityName, fields, queryArgs);
|
|
1680
|
+
}
|
|
1681
|
+
id() {
|
|
1682
|
+
this.addField("id");
|
|
1619
1683
|
return this;
|
|
1620
1684
|
}
|
|
1621
|
-
|
|
1622
|
-
this.addField("
|
|
1685
|
+
title() {
|
|
1686
|
+
this.addField("title");
|
|
1623
1687
|
return this;
|
|
1624
1688
|
}
|
|
1625
|
-
|
|
1626
|
-
|
|
1689
|
+
/**
|
|
1690
|
+
* 备注
|
|
1691
|
+
*/
|
|
1692
|
+
remark() {
|
|
1693
|
+
this.addField("remark");
|
|
1627
1694
|
return this;
|
|
1628
1695
|
}
|
|
1629
|
-
|
|
1630
|
-
this.addField("
|
|
1696
|
+
content() {
|
|
1697
|
+
this.addField("content");
|
|
1698
|
+
return this;
|
|
1699
|
+
}
|
|
1700
|
+
extends() {
|
|
1701
|
+
this.addField("extends");
|
|
1631
1702
|
return this;
|
|
1632
1703
|
}
|
|
1633
|
-
/**
|
|
1634
|
-
* 创建时间
|
|
1635
|
-
*/
|
|
1636
1704
|
createdAt() {
|
|
1637
1705
|
this.addField("createdAt");
|
|
1638
1706
|
return this;
|
|
1639
1707
|
}
|
|
1640
|
-
/**
|
|
1641
|
-
* 更新时间
|
|
1642
|
-
*/
|
|
1643
1708
|
updatedAt() {
|
|
1644
1709
|
this.addField("updatedAt");
|
|
1645
1710
|
return this;
|
|
1646
1711
|
}
|
|
1647
|
-
/**
|
|
1648
|
-
* 备注
|
|
1649
|
-
*/
|
|
1650
|
-
remark() {
|
|
1651
|
-
this.addField("remark");
|
|
1652
|
-
return this;
|
|
1653
|
-
}
|
|
1654
1712
|
seoTitle() {
|
|
1655
1713
|
this.addField("seoTitle");
|
|
1656
1714
|
return this;
|
|
@@ -1703,28 +1761,12 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1703
1761
|
this.addField("xUrl");
|
|
1704
1762
|
return this;
|
|
1705
1763
|
}
|
|
1706
|
-
|
|
1707
|
-
this.addField("
|
|
1708
|
-
return this;
|
|
1709
|
-
}
|
|
1710
|
-
category(options) {
|
|
1711
|
-
if (Array.isArray(options)) {
|
|
1712
|
-
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
1713
|
-
} else {
|
|
1714
|
-
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1715
|
-
}
|
|
1716
|
-
return this;
|
|
1717
|
-
}
|
|
1718
|
-
tags(options) {
|
|
1719
|
-
if (Array.isArray(options)) {
|
|
1720
|
-
this._associations["tags"] = new TagQueryOptions(options);
|
|
1721
|
-
} else {
|
|
1722
|
-
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
1723
|
-
}
|
|
1764
|
+
slug() {
|
|
1765
|
+
this.addField("slug");
|
|
1724
1766
|
return this;
|
|
1725
1767
|
}
|
|
1726
|
-
|
|
1727
|
-
this.
|
|
1768
|
+
description() {
|
|
1769
|
+
this.addField("description");
|
|
1728
1770
|
return this;
|
|
1729
1771
|
}
|
|
1730
1772
|
ogImage(options) {
|
|
@@ -1735,135 +1777,227 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1735
1777
|
}
|
|
1736
1778
|
return this;
|
|
1737
1779
|
}
|
|
1738
|
-
|
|
1780
|
+
lang(options) {
|
|
1739
1781
|
if (Array.isArray(options)) {
|
|
1740
|
-
this._associations["
|
|
1782
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1741
1783
|
} else {
|
|
1742
|
-
this._associations["
|
|
1784
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
1743
1785
|
}
|
|
1744
1786
|
return this;
|
|
1745
1787
|
}
|
|
1746
|
-
|
|
1788
|
+
homeOf(options) {
|
|
1747
1789
|
if (Array.isArray(options)) {
|
|
1748
|
-
this._associations["
|
|
1790
|
+
this._associations["homeOf"] = new WebsiteQueryOptions(options);
|
|
1749
1791
|
} else {
|
|
1750
|
-
this._associations["
|
|
1792
|
+
this._associations["homeOf"] = options || new WebsiteQueryOptions(["id"]);
|
|
1751
1793
|
}
|
|
1752
1794
|
return this;
|
|
1753
1795
|
}
|
|
1754
|
-
|
|
1755
|
-
this._aggregates["mediaPivotsAggregate"] = aggregate;
|
|
1756
|
-
return this;
|
|
1757
|
-
}
|
|
1758
|
-
attachmentPivots(options) {
|
|
1796
|
+
website(options) {
|
|
1759
1797
|
if (Array.isArray(options)) {
|
|
1760
|
-
this._associations["
|
|
1798
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
1761
1799
|
} else {
|
|
1762
|
-
this._associations["
|
|
1800
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
1763
1801
|
}
|
|
1764
1802
|
return this;
|
|
1765
1803
|
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1804
|
+
}
|
|
1805
|
+
class CustomerQueryOptions extends QueryOptions {
|
|
1806
|
+
constructor(fields, queryArgs) {
|
|
1807
|
+
super(CustomerEntityName, fields, queryArgs);
|
|
1808
|
+
}
|
|
1809
|
+
id() {
|
|
1810
|
+
this.addField("id");
|
|
1768
1811
|
return this;
|
|
1769
1812
|
}
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
this._associations["creator"] = new UserQueryOptions(options);
|
|
1773
|
-
} else {
|
|
1774
|
-
this._associations["creator"] = options || new UserQueryOptions(["id"]);
|
|
1775
|
-
}
|
|
1813
|
+
company() {
|
|
1814
|
+
this.addField("company");
|
|
1776
1815
|
return this;
|
|
1777
1816
|
}
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
this._associations["draft"] = new ProductQueryOptions(options);
|
|
1781
|
-
} else {
|
|
1782
|
-
this._associations["draft"] = options || new ProductQueryOptions(["id"]);
|
|
1783
|
-
}
|
|
1817
|
+
createdAt() {
|
|
1818
|
+
this.addField("createdAt");
|
|
1784
1819
|
return this;
|
|
1785
1820
|
}
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
super(TagEntityName, fields, queryArgs);
|
|
1821
|
+
updatedAt() {
|
|
1822
|
+
this.addField("updatedAt");
|
|
1823
|
+
return this;
|
|
1790
1824
|
}
|
|
1791
|
-
|
|
1792
|
-
|
|
1825
|
+
/**
|
|
1826
|
+
* 邮箱
|
|
1827
|
+
*/
|
|
1828
|
+
email() {
|
|
1829
|
+
this.addField("email");
|
|
1793
1830
|
return this;
|
|
1794
1831
|
}
|
|
1795
1832
|
/**
|
|
1796
|
-
*
|
|
1833
|
+
* 电话
|
|
1834
|
+
*/
|
|
1835
|
+
tel() {
|
|
1836
|
+
this.addField("tel");
|
|
1837
|
+
return this;
|
|
1838
|
+
}
|
|
1839
|
+
/**
|
|
1840
|
+
* 电话2
|
|
1797
1841
|
*/
|
|
1842
|
+
tel2() {
|
|
1843
|
+
this.addField("tel2");
|
|
1844
|
+
return this;
|
|
1845
|
+
}
|
|
1798
1846
|
name() {
|
|
1799
1847
|
this.addField("name");
|
|
1800
1848
|
return this;
|
|
1801
1849
|
}
|
|
1802
|
-
|
|
1803
|
-
this.addField("
|
|
1850
|
+
mobile() {
|
|
1851
|
+
this.addField("mobile");
|
|
1804
1852
|
return this;
|
|
1805
1853
|
}
|
|
1806
|
-
|
|
1807
|
-
this.addField("
|
|
1854
|
+
whatsApp() {
|
|
1855
|
+
this.addField("whatsApp");
|
|
1808
1856
|
return this;
|
|
1809
1857
|
}
|
|
1810
|
-
|
|
1811
|
-
this.addField("
|
|
1858
|
+
linkedIn() {
|
|
1859
|
+
this.addField("linkedIn");
|
|
1812
1860
|
return this;
|
|
1813
1861
|
}
|
|
1814
|
-
|
|
1815
|
-
this.addField("
|
|
1862
|
+
twitter() {
|
|
1863
|
+
this.addField("twitter");
|
|
1816
1864
|
return this;
|
|
1817
1865
|
}
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
*/
|
|
1821
|
-
createdAt() {
|
|
1822
|
-
this.addField("createdAt");
|
|
1866
|
+
facebook() {
|
|
1867
|
+
this.addField("facebook");
|
|
1823
1868
|
return this;
|
|
1824
1869
|
}
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
*/
|
|
1828
|
-
updatedAt() {
|
|
1829
|
-
this.addField("updatedAt");
|
|
1870
|
+
instagram() {
|
|
1871
|
+
this.addField("instagram");
|
|
1830
1872
|
return this;
|
|
1831
1873
|
}
|
|
1832
1874
|
/**
|
|
1833
|
-
*
|
|
1875
|
+
* 简介
|
|
1834
1876
|
*/
|
|
1835
|
-
|
|
1836
|
-
this.addField("
|
|
1877
|
+
summary() {
|
|
1878
|
+
this.addField("summary");
|
|
1837
1879
|
return this;
|
|
1838
1880
|
}
|
|
1839
|
-
|
|
1881
|
+
enquires(options) {
|
|
1840
1882
|
if (Array.isArray(options)) {
|
|
1841
|
-
this._associations["
|
|
1883
|
+
this._associations["enquires"] = new EnquiryQueryOptions(options);
|
|
1842
1884
|
} else {
|
|
1843
|
-
this._associations["
|
|
1885
|
+
this._associations["enquires"] = options || new EnquiryQueryOptions(["id"]);
|
|
1844
1886
|
}
|
|
1845
1887
|
return this;
|
|
1846
1888
|
}
|
|
1847
|
-
|
|
1848
|
-
this._aggregates["
|
|
1889
|
+
enquiresAggregate(aggregate) {
|
|
1890
|
+
this._aggregates["enquiresAggregate"] = aggregate;
|
|
1849
1891
|
return this;
|
|
1850
1892
|
}
|
|
1851
|
-
|
|
1893
|
+
lang(options) {
|
|
1852
1894
|
if (Array.isArray(options)) {
|
|
1853
|
-
this._associations["
|
|
1895
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
1854
1896
|
} else {
|
|
1855
|
-
this._associations["
|
|
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"]);
|
|
1856
1906
|
}
|
|
1857
1907
|
return this;
|
|
1858
1908
|
}
|
|
1859
|
-
productsAggregate(aggregate) {
|
|
1860
|
-
this._aggregates["productsAggregate"] = aggregate;
|
|
1861
|
-
return this;
|
|
1862
|
-
}
|
|
1863
1909
|
}
|
|
1864
|
-
class
|
|
1910
|
+
class EnquiryQueryOptions extends QueryOptions {
|
|
1865
1911
|
constructor(fields, queryArgs) {
|
|
1866
|
-
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);
|
|
1867
2001
|
}
|
|
1868
2002
|
id() {
|
|
1869
2003
|
this.addField("id");
|
|
@@ -1877,8 +2011,12 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1877
2011
|
this.addField("seqValue");
|
|
1878
2012
|
return this;
|
|
1879
2013
|
}
|
|
1880
|
-
|
|
1881
|
-
this.addField("
|
|
2014
|
+
createdAt() {
|
|
2015
|
+
this.addField("createdAt");
|
|
2016
|
+
return this;
|
|
2017
|
+
}
|
|
2018
|
+
updatedAt() {
|
|
2019
|
+
this.addField("updatedAt");
|
|
1882
2020
|
return this;
|
|
1883
2021
|
}
|
|
1884
2022
|
slug() {
|
|
@@ -1889,25 +2027,93 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1889
2027
|
this.addField("description");
|
|
1890
2028
|
return this;
|
|
1891
2029
|
}
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
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
|
+
}
|
|
1895
2103
|
createdAt() {
|
|
1896
2104
|
this.addField("createdAt");
|
|
1897
2105
|
return this;
|
|
1898
2106
|
}
|
|
1899
|
-
/**
|
|
1900
|
-
* 更新时间
|
|
1901
|
-
*/
|
|
1902
2107
|
updatedAt() {
|
|
1903
2108
|
this.addField("updatedAt");
|
|
1904
2109
|
return this;
|
|
1905
2110
|
}
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
2111
|
+
slug() {
|
|
2112
|
+
this.addField("slug");
|
|
2113
|
+
return this;
|
|
2114
|
+
}
|
|
2115
|
+
description() {
|
|
2116
|
+
this.addField("description");
|
|
1911
2117
|
return this;
|
|
1912
2118
|
}
|
|
1913
2119
|
children(options) {
|
|
@@ -1934,6 +2140,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1934
2140
|
this._aggregates["postsAggregate"] = aggregate;
|
|
1935
2141
|
return this;
|
|
1936
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
|
+
}
|
|
1937
2151
|
parent(options) {
|
|
1938
2152
|
if (Array.isArray(options)) {
|
|
1939
2153
|
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
@@ -1942,6 +2156,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1942
2156
|
}
|
|
1943
2157
|
return this;
|
|
1944
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
|
+
}
|
|
1945
2167
|
}
|
|
1946
2168
|
class PostQueryOptions extends QueryOptions {
|
|
1947
2169
|
constructor(fields, queryArgs) {
|
|
@@ -1986,39 +2208,14 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1986
2208
|
this.addField("extends");
|
|
1987
2209
|
return this;
|
|
1988
2210
|
}
|
|
1989
|
-
websiteId() {
|
|
1990
|
-
this.addField("websiteId");
|
|
1991
|
-
return this;
|
|
1992
|
-
}
|
|
1993
|
-
slug() {
|
|
1994
|
-
this.addField("slug");
|
|
1995
|
-
return this;
|
|
1996
|
-
}
|
|
1997
|
-
description() {
|
|
1998
|
-
this.addField("description");
|
|
1999
|
-
return this;
|
|
2000
|
-
}
|
|
2001
|
-
/**
|
|
2002
|
-
* 创建时间
|
|
2003
|
-
*/
|
|
2004
2211
|
createdAt() {
|
|
2005
2212
|
this.addField("createdAt");
|
|
2006
2213
|
return this;
|
|
2007
2214
|
}
|
|
2008
|
-
/**
|
|
2009
|
-
* 更新时间
|
|
2010
|
-
*/
|
|
2011
2215
|
updatedAt() {
|
|
2012
2216
|
this.addField("updatedAt");
|
|
2013
2217
|
return this;
|
|
2014
2218
|
}
|
|
2015
|
-
/**
|
|
2016
|
-
* 备注
|
|
2017
|
-
*/
|
|
2018
|
-
remark() {
|
|
2019
|
-
this.addField("remark");
|
|
2020
|
-
return this;
|
|
2021
|
-
}
|
|
2022
2219
|
seoTitle() {
|
|
2023
2220
|
this.addField("seoTitle");
|
|
2024
2221
|
return this;
|
|
@@ -2071,8 +2268,12 @@ class PostQueryOptions extends QueryOptions {
|
|
|
2071
2268
|
this.addField("xUrl");
|
|
2072
2269
|
return this;
|
|
2073
2270
|
}
|
|
2074
|
-
|
|
2075
|
-
this.addField("
|
|
2271
|
+
slug() {
|
|
2272
|
+
this.addField("slug");
|
|
2273
|
+
return this;
|
|
2274
|
+
}
|
|
2275
|
+
description() {
|
|
2276
|
+
this.addField("description");
|
|
2076
2277
|
return this;
|
|
2077
2278
|
}
|
|
2078
2279
|
tags(options) {
|
|
@@ -2119,6 +2320,14 @@ class PostQueryOptions extends QueryOptions {
|
|
|
2119
2320
|
}
|
|
2120
2321
|
return this;
|
|
2121
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
|
+
}
|
|
2122
2331
|
category(options) {
|
|
2123
2332
|
if (Array.isArray(options)) {
|
|
2124
2333
|
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
@@ -2135,305 +2344,417 @@ class PostQueryOptions extends QueryOptions {
|
|
|
2135
2344
|
}
|
|
2136
2345
|
return this;
|
|
2137
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
|
+
}
|
|
2138
2355
|
}
|
|
2139
|
-
class
|
|
2356
|
+
class TagQueryOptions extends QueryOptions {
|
|
2140
2357
|
constructor(fields, queryArgs) {
|
|
2141
|
-
super(
|
|
2358
|
+
super(TagEntityName, fields, queryArgs);
|
|
2142
2359
|
}
|
|
2143
2360
|
id() {
|
|
2144
2361
|
this.addField("id");
|
|
2145
2362
|
return this;
|
|
2146
2363
|
}
|
|
2147
2364
|
/**
|
|
2148
|
-
*
|
|
2365
|
+
* 名称
|
|
2149
2366
|
*/
|
|
2150
2367
|
name() {
|
|
2151
2368
|
this.addField("name");
|
|
2152
2369
|
return this;
|
|
2153
2370
|
}
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
*/
|
|
2157
|
-
displayName() {
|
|
2158
|
-
this.addField("displayName");
|
|
2371
|
+
color() {
|
|
2372
|
+
this.addField("color");
|
|
2159
2373
|
return this;
|
|
2160
2374
|
}
|
|
2161
|
-
|
|
2162
|
-
this.addField("
|
|
2375
|
+
createdAt() {
|
|
2376
|
+
this.addField("createdAt");
|
|
2163
2377
|
return this;
|
|
2164
2378
|
}
|
|
2165
|
-
|
|
2166
|
-
this.addField("
|
|
2379
|
+
updatedAt() {
|
|
2380
|
+
this.addField("updatedAt");
|
|
2167
2381
|
return this;
|
|
2168
2382
|
}
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
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
|
+
}
|
|
2174
2389
|
return this;
|
|
2175
2390
|
}
|
|
2176
|
-
|
|
2177
|
-
|
|
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
|
+
}
|
|
2178
2397
|
return this;
|
|
2179
2398
|
}
|
|
2180
|
-
|
|
2181
|
-
this.
|
|
2399
|
+
postsAggregate(aggregate) {
|
|
2400
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
2182
2401
|
return this;
|
|
2183
2402
|
}
|
|
2184
|
-
|
|
2185
|
-
|
|
2403
|
+
products(options) {
|
|
2404
|
+
if (Array.isArray(options)) {
|
|
2405
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
2406
|
+
} else {
|
|
2407
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
2408
|
+
}
|
|
2186
2409
|
return this;
|
|
2187
2410
|
}
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
*/
|
|
2191
|
-
level() {
|
|
2192
|
-
this.addField("level");
|
|
2411
|
+
productsAggregate(aggregate) {
|
|
2412
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
2193
2413
|
return this;
|
|
2194
2414
|
}
|
|
2195
|
-
|
|
2415
|
+
website(options) {
|
|
2196
2416
|
if (Array.isArray(options)) {
|
|
2197
|
-
this._associations["
|
|
2417
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2198
2418
|
} else {
|
|
2199
|
-
this._associations["
|
|
2419
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2200
2420
|
}
|
|
2201
2421
|
return this;
|
|
2202
2422
|
}
|
|
2203
|
-
websitesAggregate(aggregate) {
|
|
2204
|
-
this._aggregates["websitesAggregate"] = aggregate;
|
|
2205
|
-
return this;
|
|
2206
|
-
}
|
|
2207
2423
|
}
|
|
2208
|
-
class
|
|
2424
|
+
class MediaOnProductQueryOptions extends QueryOptions {
|
|
2209
2425
|
constructor(fields, queryArgs) {
|
|
2210
|
-
super(
|
|
2426
|
+
super(MediaOnProductEntityName, fields, queryArgs);
|
|
2211
2427
|
}
|
|
2212
2428
|
id() {
|
|
2213
2429
|
this.addField("id");
|
|
2214
2430
|
return this;
|
|
2215
2431
|
}
|
|
2216
|
-
|
|
2217
|
-
this.addField("
|
|
2432
|
+
altText() {
|
|
2433
|
+
this.addField("altText");
|
|
2218
2434
|
return this;
|
|
2219
2435
|
}
|
|
2220
2436
|
seqValue() {
|
|
2221
2437
|
this.addField("seqValue");
|
|
2222
2438
|
return this;
|
|
2223
2439
|
}
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
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
|
+
}
|
|
2230
2446
|
return this;
|
|
2231
2447
|
}
|
|
2232
|
-
|
|
2233
|
-
|
|
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
|
+
}
|
|
2234
2454
|
return this;
|
|
2235
2455
|
}
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
this.addField("createdAt");
|
|
2241
|
-
return this;
|
|
2456
|
+
}
|
|
2457
|
+
class AttachmentOnProductQueryOptions extends QueryOptions {
|
|
2458
|
+
constructor(fields, queryArgs) {
|
|
2459
|
+
super(AttachmentOnProductEntityName, fields, queryArgs);
|
|
2242
2460
|
}
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
*/
|
|
2246
|
-
updatedAt() {
|
|
2247
|
-
this.addField("updatedAt");
|
|
2461
|
+
id() {
|
|
2462
|
+
this.addField("id");
|
|
2248
2463
|
return this;
|
|
2249
2464
|
}
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
*/
|
|
2253
|
-
remark() {
|
|
2254
|
-
this.addField("remark");
|
|
2465
|
+
seqValue() {
|
|
2466
|
+
this.addField("seqValue");
|
|
2255
2467
|
return this;
|
|
2256
2468
|
}
|
|
2257
|
-
|
|
2469
|
+
attachment(options) {
|
|
2258
2470
|
if (Array.isArray(options)) {
|
|
2259
|
-
this._associations["
|
|
2471
|
+
this._associations["attachment"] = new MediaQueryOptions(options);
|
|
2260
2472
|
} else {
|
|
2261
|
-
this._associations["
|
|
2473
|
+
this._associations["attachment"] = options || new MediaQueryOptions(["id"]);
|
|
2262
2474
|
}
|
|
2263
2475
|
return this;
|
|
2264
2476
|
}
|
|
2265
|
-
|
|
2266
|
-
this._aggregates["templatesAggregate"] = aggregate;
|
|
2267
|
-
return this;
|
|
2268
|
-
}
|
|
2269
|
-
theme(options) {
|
|
2477
|
+
product(options) {
|
|
2270
2478
|
if (Array.isArray(options)) {
|
|
2271
|
-
this._associations["
|
|
2479
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
2272
2480
|
} else {
|
|
2273
|
-
this._associations["
|
|
2481
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
2274
2482
|
}
|
|
2275
2483
|
return this;
|
|
2276
2484
|
}
|
|
2277
2485
|
}
|
|
2278
|
-
class
|
|
2486
|
+
class ProductQueryOptions extends QueryOptions {
|
|
2279
2487
|
constructor(fields, queryArgs) {
|
|
2280
|
-
super(
|
|
2488
|
+
super(ProductEntityName, fields, queryArgs);
|
|
2281
2489
|
}
|
|
2282
2490
|
id() {
|
|
2283
2491
|
this.addField("id");
|
|
2284
2492
|
return this;
|
|
2285
2493
|
}
|
|
2286
|
-
|
|
2287
|
-
this.addField("
|
|
2494
|
+
published() {
|
|
2495
|
+
this.addField("published");
|
|
2288
2496
|
return this;
|
|
2289
2497
|
}
|
|
2290
|
-
|
|
2291
|
-
this.addField("
|
|
2498
|
+
featured() {
|
|
2499
|
+
this.addField("featured");
|
|
2292
2500
|
return this;
|
|
2293
2501
|
}
|
|
2294
|
-
|
|
2295
|
-
this.addField("
|
|
2502
|
+
showInNavMenu() {
|
|
2503
|
+
this.addField("showInNavMenu");
|
|
2504
|
+
return this;
|
|
2505
|
+
}
|
|
2506
|
+
seqValue() {
|
|
2507
|
+
this.addField("seqValue");
|
|
2296
2508
|
return this;
|
|
2297
2509
|
}
|
|
2298
2510
|
/**
|
|
2299
|
-
*
|
|
2511
|
+
* 特色
|
|
2300
2512
|
*/
|
|
2301
|
-
|
|
2302
|
-
this.addField("
|
|
2513
|
+
features() {
|
|
2514
|
+
this.addField("features");
|
|
2303
2515
|
return this;
|
|
2304
2516
|
}
|
|
2305
|
-
|
|
2306
|
-
this.addField("
|
|
2517
|
+
content2() {
|
|
2518
|
+
this.addField("content2");
|
|
2307
2519
|
return this;
|
|
2308
2520
|
}
|
|
2309
|
-
|
|
2310
|
-
this.addField("
|
|
2521
|
+
content3() {
|
|
2522
|
+
this.addField("content3");
|
|
2311
2523
|
return this;
|
|
2312
2524
|
}
|
|
2313
|
-
|
|
2314
|
-
this.addField("
|
|
2525
|
+
shortTitle() {
|
|
2526
|
+
this.addField("shortTitle");
|
|
2315
2527
|
return this;
|
|
2316
2528
|
}
|
|
2317
2529
|
/**
|
|
2318
|
-
*
|
|
2530
|
+
* 第三方视频url
|
|
2319
2531
|
*/
|
|
2532
|
+
externalVideoUrl() {
|
|
2533
|
+
this.addField("externalVideoUrl");
|
|
2534
|
+
return this;
|
|
2535
|
+
}
|
|
2536
|
+
publishedAt() {
|
|
2537
|
+
this.addField("publishedAt");
|
|
2538
|
+
return this;
|
|
2539
|
+
}
|
|
2540
|
+
status() {
|
|
2541
|
+
this.addField("status");
|
|
2542
|
+
return this;
|
|
2543
|
+
}
|
|
2544
|
+
title() {
|
|
2545
|
+
this.addField("title");
|
|
2546
|
+
return this;
|
|
2547
|
+
}
|
|
2548
|
+
content() {
|
|
2549
|
+
this.addField("content");
|
|
2550
|
+
return this;
|
|
2551
|
+
}
|
|
2552
|
+
extends() {
|
|
2553
|
+
this.addField("extends");
|
|
2554
|
+
return this;
|
|
2555
|
+
}
|
|
2320
2556
|
createdAt() {
|
|
2321
2557
|
this.addField("createdAt");
|
|
2322
2558
|
return this;
|
|
2323
2559
|
}
|
|
2324
|
-
/**
|
|
2325
|
-
* 更新时间
|
|
2326
|
-
*/
|
|
2327
2560
|
updatedAt() {
|
|
2328
2561
|
this.addField("updatedAt");
|
|
2329
2562
|
return this;
|
|
2330
2563
|
}
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
*/
|
|
2334
|
-
remark() {
|
|
2335
|
-
this.addField("remark");
|
|
2564
|
+
seoTitle() {
|
|
2565
|
+
this.addField("seoTitle");
|
|
2336
2566
|
return this;
|
|
2337
2567
|
}
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
this._associations["category"] = new TemplateCategoryQueryOptions(options);
|
|
2341
|
-
} else {
|
|
2342
|
-
this._associations["category"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2343
|
-
}
|
|
2568
|
+
seoKeywords() {
|
|
2569
|
+
this.addField("seoKeywords");
|
|
2344
2570
|
return this;
|
|
2345
2571
|
}
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
2349
|
-
} else {
|
|
2350
|
-
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
2351
|
-
}
|
|
2572
|
+
seoDescription() {
|
|
2573
|
+
this.addField("seoDescription");
|
|
2352
2574
|
return this;
|
|
2353
2575
|
}
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
super(ThemeEntityName, fields, queryArgs);
|
|
2576
|
+
ogTitle() {
|
|
2577
|
+
this.addField("ogTitle");
|
|
2578
|
+
return this;
|
|
2358
2579
|
}
|
|
2359
|
-
|
|
2360
|
-
this.addField("
|
|
2580
|
+
ogDescription() {
|
|
2581
|
+
this.addField("ogDescription");
|
|
2361
2582
|
return this;
|
|
2362
2583
|
}
|
|
2363
|
-
|
|
2364
|
-
this.addField("
|
|
2584
|
+
ogUrl() {
|
|
2585
|
+
this.addField("ogUrl");
|
|
2365
2586
|
return this;
|
|
2366
2587
|
}
|
|
2367
|
-
|
|
2368
|
-
this.addField("
|
|
2588
|
+
ogSiteName() {
|
|
2589
|
+
this.addField("ogSiteName");
|
|
2369
2590
|
return this;
|
|
2370
2591
|
}
|
|
2371
|
-
|
|
2372
|
-
this.addField("
|
|
2592
|
+
ogType() {
|
|
2593
|
+
this.addField("ogType");
|
|
2373
2594
|
return this;
|
|
2374
2595
|
}
|
|
2375
|
-
|
|
2376
|
-
this.addField("
|
|
2596
|
+
xCard() {
|
|
2597
|
+
this.addField("xCard");
|
|
2377
2598
|
return this;
|
|
2378
2599
|
}
|
|
2379
|
-
|
|
2380
|
-
this.addField("
|
|
2600
|
+
xSite() {
|
|
2601
|
+
this.addField("xSite");
|
|
2381
2602
|
return this;
|
|
2382
2603
|
}
|
|
2383
|
-
|
|
2384
|
-
this.addField("
|
|
2604
|
+
xTitle() {
|
|
2605
|
+
this.addField("xTitle");
|
|
2385
2606
|
return this;
|
|
2386
2607
|
}
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
*/
|
|
2390
|
-
createdAt() {
|
|
2391
|
-
this.addField("createdAt");
|
|
2608
|
+
xDescription() {
|
|
2609
|
+
this.addField("xDescription");
|
|
2392
2610
|
return this;
|
|
2393
2611
|
}
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
*/
|
|
2397
|
-
updatedAt() {
|
|
2398
|
-
this.addField("updatedAt");
|
|
2612
|
+
xUrl() {
|
|
2613
|
+
this.addField("xUrl");
|
|
2399
2614
|
return this;
|
|
2400
2615
|
}
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
*/
|
|
2404
|
-
remark() {
|
|
2405
|
-
this.addField("remark");
|
|
2616
|
+
slug() {
|
|
2617
|
+
this.addField("slug");
|
|
2406
2618
|
return this;
|
|
2407
2619
|
}
|
|
2408
|
-
|
|
2620
|
+
description() {
|
|
2621
|
+
this.addField("description");
|
|
2622
|
+
return this;
|
|
2623
|
+
}
|
|
2624
|
+
category(options) {
|
|
2409
2625
|
if (Array.isArray(options)) {
|
|
2410
|
-
this._associations["
|
|
2626
|
+
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
2411
2627
|
} else {
|
|
2412
|
-
this._associations["
|
|
2628
|
+
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2413
2629
|
}
|
|
2414
2630
|
return this;
|
|
2415
2631
|
}
|
|
2416
|
-
|
|
2417
|
-
|
|
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
|
+
}
|
|
2418
2638
|
return this;
|
|
2419
2639
|
}
|
|
2420
|
-
|
|
2640
|
+
tagsAggregate(aggregate) {
|
|
2641
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
2642
|
+
return this;
|
|
2643
|
+
}
|
|
2644
|
+
ogImage(options) {
|
|
2421
2645
|
if (Array.isArray(options)) {
|
|
2422
|
-
this._associations["
|
|
2646
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2423
2647
|
} else {
|
|
2424
|
-
this._associations["
|
|
2648
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2425
2649
|
}
|
|
2426
2650
|
return this;
|
|
2427
2651
|
}
|
|
2428
|
-
|
|
2429
|
-
|
|
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
|
+
}
|
|
2430
2658
|
return this;
|
|
2431
2659
|
}
|
|
2432
|
-
|
|
2660
|
+
mediaPivots(options) {
|
|
2433
2661
|
if (Array.isArray(options)) {
|
|
2434
|
-
this._associations["
|
|
2662
|
+
this._associations["mediaPivots"] = new MediaOnProductQueryOptions(options);
|
|
2435
2663
|
} else {
|
|
2436
|
-
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"]);
|
|
2437
2758
|
}
|
|
2438
2759
|
return this;
|
|
2439
2760
|
}
|
|
@@ -2495,6 +2816,10 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
2495
2816
|
this.addField("updatedBy");
|
|
2496
2817
|
return this;
|
|
2497
2818
|
}
|
|
2819
|
+
description() {
|
|
2820
|
+
this.addField("description");
|
|
2821
|
+
return this;
|
|
2822
|
+
}
|
|
2498
2823
|
websiteType(options) {
|
|
2499
2824
|
if (Array.isArray(options)) {
|
|
2500
2825
|
this._associations["websiteType"] = new WebsiteTypeQueryOptions(options);
|
|
@@ -2539,1022 +2864,1040 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
2539
2864
|
this._aggregates["usersAggregate"] = aggregate;
|
|
2540
2865
|
return this;
|
|
2541
2866
|
}
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
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
|
+
}
|
|
2873
|
+
return this;
|
|
2546
2874
|
}
|
|
2547
|
-
|
|
2548
|
-
this.
|
|
2875
|
+
partsOfWebsiteSettingsAggregate(aggregate) {
|
|
2876
|
+
this._aggregates["partsOfWebsiteSettingsAggregate"] = aggregate;
|
|
2549
2877
|
return this;
|
|
2550
2878
|
}
|
|
2551
|
-
|
|
2552
|
-
|
|
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
|
+
}
|
|
2553
2885
|
return this;
|
|
2554
2886
|
}
|
|
2555
|
-
|
|
2556
|
-
this.
|
|
2887
|
+
partsOfThemeAggregate(aggregate) {
|
|
2888
|
+
this._aggregates["partsOfThemeAggregate"] = aggregate;
|
|
2557
2889
|
return this;
|
|
2558
2890
|
}
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
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
|
+
}
|
|
2564
2897
|
return this;
|
|
2565
2898
|
}
|
|
2566
|
-
|
|
2567
|
-
this.
|
|
2899
|
+
partsOfTemplateAggregate(aggregate) {
|
|
2900
|
+
this._aggregates["partsOfTemplateAggregate"] = aggregate;
|
|
2568
2901
|
return this;
|
|
2569
2902
|
}
|
|
2570
|
-
|
|
2571
|
-
|
|
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
|
+
}
|
|
2572
2909
|
return this;
|
|
2573
2910
|
}
|
|
2574
|
-
|
|
2575
|
-
this.
|
|
2911
|
+
partsOfTemplateCategoryAggregate(aggregate) {
|
|
2912
|
+
this._aggregates["partsOfTemplateCategoryAggregate"] = aggregate;
|
|
2576
2913
|
return this;
|
|
2577
2914
|
}
|
|
2578
|
-
|
|
2579
|
-
|
|
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
|
+
}
|
|
2580
2921
|
return this;
|
|
2581
2922
|
}
|
|
2582
|
-
|
|
2583
|
-
this.
|
|
2923
|
+
partsOfMediaFolderAggregate(aggregate) {
|
|
2924
|
+
this._aggregates["partsOfMediaFolderAggregate"] = aggregate;
|
|
2584
2925
|
return this;
|
|
2585
2926
|
}
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
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
|
+
}
|
|
2591
2933
|
return this;
|
|
2592
2934
|
}
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
*/
|
|
2596
|
-
updatedAt() {
|
|
2597
|
-
this.addField("updatedAt");
|
|
2935
|
+
partsOfEnquiryAggregate(aggregate) {
|
|
2936
|
+
this._aggregates["partsOfEnquiryAggregate"] = aggregate;
|
|
2598
2937
|
return this;
|
|
2599
2938
|
}
|
|
2600
|
-
|
|
2601
|
-
|
|
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
|
+
}
|
|
2602
2945
|
return this;
|
|
2603
2946
|
}
|
|
2604
|
-
|
|
2605
|
-
this.
|
|
2947
|
+
partsOfPageAggregate(aggregate) {
|
|
2948
|
+
this._aggregates["partsOfPageAggregate"] = aggregate;
|
|
2606
2949
|
return this;
|
|
2607
2950
|
}
|
|
2608
|
-
|
|
2609
|
-
|
|
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
|
+
}
|
|
2610
2957
|
return this;
|
|
2611
2958
|
}
|
|
2612
|
-
|
|
2613
|
-
this.
|
|
2959
|
+
partsOfProductAggregate(aggregate) {
|
|
2960
|
+
this._aggregates["partsOfProductAggregate"] = aggregate;
|
|
2614
2961
|
return this;
|
|
2615
2962
|
}
|
|
2616
|
-
|
|
2617
|
-
|
|
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
|
+
}
|
|
2618
2969
|
return this;
|
|
2619
2970
|
}
|
|
2620
|
-
|
|
2621
|
-
this.
|
|
2971
|
+
partsOfPostAggregate(aggregate) {
|
|
2972
|
+
this._aggregates["partsOfPostAggregate"] = aggregate;
|
|
2622
2973
|
return this;
|
|
2623
2974
|
}
|
|
2624
|
-
|
|
2625
|
-
|
|
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
|
+
}
|
|
2626
2981
|
return this;
|
|
2627
2982
|
}
|
|
2628
|
-
|
|
2629
|
-
this.
|
|
2983
|
+
partsOfPostCategoryAggregate(aggregate) {
|
|
2984
|
+
this._aggregates["partsOfPostCategoryAggregate"] = aggregate;
|
|
2630
2985
|
return this;
|
|
2631
2986
|
}
|
|
2632
|
-
|
|
2633
|
-
|
|
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
|
+
}
|
|
2634
2993
|
return this;
|
|
2635
2994
|
}
|
|
2636
|
-
|
|
2637
|
-
this.
|
|
2995
|
+
partsOfTagAggregate(aggregate) {
|
|
2996
|
+
this._aggregates["partsOfTagAggregate"] = aggregate;
|
|
2638
2997
|
return this;
|
|
2639
2998
|
}
|
|
2640
|
-
|
|
2641
|
-
|
|
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
|
+
}
|
|
2642
3005
|
return this;
|
|
2643
3006
|
}
|
|
2644
|
-
|
|
2645
|
-
this.
|
|
3007
|
+
partsOfCustomerAggregate(aggregate) {
|
|
3008
|
+
this._aggregates["partsOfCustomerAggregate"] = aggregate;
|
|
2646
3009
|
return this;
|
|
2647
3010
|
}
|
|
2648
|
-
|
|
2649
|
-
|
|
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
|
+
}
|
|
2650
3017
|
return this;
|
|
2651
3018
|
}
|
|
2652
|
-
|
|
2653
|
-
this.
|
|
3019
|
+
partsOfProductCategoryAggregate(aggregate) {
|
|
3020
|
+
this._aggregates["partsOfProductCategoryAggregate"] = aggregate;
|
|
2654
3021
|
return this;
|
|
2655
3022
|
}
|
|
2656
|
-
|
|
3023
|
+
partsOfSpamFilterRule(options) {
|
|
2657
3024
|
if (Array.isArray(options)) {
|
|
2658
|
-
this._associations["
|
|
3025
|
+
this._associations["partsOfSpamFilterRule"] = new SpamFilterRuleQueryOptions(options);
|
|
2659
3026
|
} else {
|
|
2660
|
-
this._associations["
|
|
3027
|
+
this._associations["partsOfSpamFilterRule"] = options || new SpamFilterRuleQueryOptions(["id"]);
|
|
2661
3028
|
}
|
|
2662
3029
|
return this;
|
|
2663
3030
|
}
|
|
2664
|
-
|
|
3031
|
+
partsOfSpamFilterRuleAggregate(aggregate) {
|
|
3032
|
+
this._aggregates["partsOfSpamFilterRuleAggregate"] = aggregate;
|
|
3033
|
+
return this;
|
|
3034
|
+
}
|
|
3035
|
+
partsOfMedia(options) {
|
|
2665
3036
|
if (Array.isArray(options)) {
|
|
2666
|
-
this._associations["
|
|
3037
|
+
this._associations["partsOfMedia"] = new MediaQueryOptions(options);
|
|
2667
3038
|
} else {
|
|
2668
|
-
this._associations["
|
|
3039
|
+
this._associations["partsOfMedia"] = options || new MediaQueryOptions(["id"]);
|
|
2669
3040
|
}
|
|
2670
3041
|
return this;
|
|
2671
3042
|
}
|
|
3043
|
+
partsOfMediaAggregate(aggregate) {
|
|
3044
|
+
this._aggregates["partsOfMediaAggregate"] = aggregate;
|
|
3045
|
+
return this;
|
|
3046
|
+
}
|
|
2672
3047
|
}
|
|
2673
|
-
class
|
|
3048
|
+
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
2674
3049
|
constructor(fields, queryArgs) {
|
|
2675
|
-
super(
|
|
3050
|
+
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
2676
3051
|
}
|
|
2677
3052
|
id() {
|
|
2678
3053
|
this.addField("id");
|
|
2679
3054
|
return this;
|
|
2680
3055
|
}
|
|
2681
|
-
|
|
2682
|
-
|
|
3056
|
+
/**
|
|
3057
|
+
* 邮件配置
|
|
3058
|
+
*/
|
|
3059
|
+
smtpConfig() {
|
|
3060
|
+
this.addField("smtpConfig");
|
|
2683
3061
|
return this;
|
|
2684
3062
|
}
|
|
2685
|
-
|
|
2686
|
-
this.addField("
|
|
3063
|
+
contact() {
|
|
3064
|
+
this.addField("contact");
|
|
2687
3065
|
return this;
|
|
2688
3066
|
}
|
|
2689
|
-
|
|
2690
|
-
this.addField("
|
|
3067
|
+
address() {
|
|
3068
|
+
this.addField("address");
|
|
2691
3069
|
return this;
|
|
2692
3070
|
}
|
|
2693
|
-
|
|
2694
|
-
this.addField("
|
|
3071
|
+
email() {
|
|
3072
|
+
this.addField("email");
|
|
2695
3073
|
return this;
|
|
2696
3074
|
}
|
|
2697
|
-
|
|
2698
|
-
this.
|
|
3075
|
+
tel() {
|
|
3076
|
+
this.addField("tel");
|
|
2699
3077
|
return this;
|
|
2700
3078
|
}
|
|
2701
|
-
|
|
2702
|
-
this.addField("
|
|
3079
|
+
fax() {
|
|
3080
|
+
this.addField("fax");
|
|
2703
3081
|
return this;
|
|
2704
3082
|
}
|
|
2705
|
-
|
|
2706
|
-
this.addField("
|
|
2707
|
-
return this;
|
|
2708
|
-
}
|
|
2709
|
-
updatedAt() {
|
|
2710
|
-
this.addField("updatedAt");
|
|
3083
|
+
wechat() {
|
|
3084
|
+
this.addField("wechat");
|
|
2711
3085
|
return this;
|
|
2712
3086
|
}
|
|
2713
|
-
|
|
2714
|
-
this.addField("
|
|
3087
|
+
whatsapp() {
|
|
3088
|
+
this.addField("whatsapp");
|
|
2715
3089
|
return this;
|
|
2716
3090
|
}
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
*/
|
|
2720
|
-
websiteId() {
|
|
2721
|
-
this.addField("websiteId");
|
|
3091
|
+
mobile() {
|
|
3092
|
+
this.addField("mobile");
|
|
2722
3093
|
return this;
|
|
2723
3094
|
}
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
this._associations["folder"] = new MediaFolderQueryOptions(options);
|
|
2727
|
-
} else {
|
|
2728
|
-
this._associations["folder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2729
|
-
}
|
|
3095
|
+
robots() {
|
|
3096
|
+
this.addField("robots");
|
|
2730
3097
|
return this;
|
|
2731
3098
|
}
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
}
|
|
3099
|
+
/**
|
|
3100
|
+
* 站点名称
|
|
3101
|
+
*/
|
|
3102
|
+
websiteName() {
|
|
3103
|
+
this.addField("websiteName");
|
|
2738
3104
|
return this;
|
|
2739
3105
|
}
|
|
2740
|
-
|
|
2741
|
-
|
|
3106
|
+
/**
|
|
3107
|
+
* 域名
|
|
3108
|
+
*/
|
|
3109
|
+
domain() {
|
|
3110
|
+
this.addField("domain");
|
|
2742
3111
|
return this;
|
|
2743
3112
|
}
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
}
|
|
3113
|
+
/**
|
|
3114
|
+
* 打开iRobots
|
|
3115
|
+
*/
|
|
3116
|
+
openRobots() {
|
|
3117
|
+
this.addField("openRobots");
|
|
2750
3118
|
return this;
|
|
2751
3119
|
}
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
}
|
|
3120
|
+
/**
|
|
3121
|
+
* 301映射表
|
|
3122
|
+
*/
|
|
3123
|
+
map301() {
|
|
3124
|
+
this.addField("map301");
|
|
2758
3125
|
return this;
|
|
2759
3126
|
}
|
|
2760
|
-
|
|
2761
|
-
this.
|
|
3127
|
+
headerCode() {
|
|
3128
|
+
this.addField("headerCode");
|
|
2762
3129
|
return this;
|
|
2763
3130
|
}
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
this._associations["ogMetaOfProduct"] = new ProductQueryOptions(options);
|
|
2767
|
-
} else {
|
|
2768
|
-
this._associations["ogMetaOfProduct"] = options || new ProductQueryOptions(["id"]);
|
|
2769
|
-
}
|
|
3131
|
+
footerCode() {
|
|
3132
|
+
this.addField("footerCode");
|
|
2770
3133
|
return this;
|
|
2771
3134
|
}
|
|
2772
|
-
|
|
2773
|
-
|
|
3135
|
+
/**
|
|
3136
|
+
* GA跟踪码
|
|
3137
|
+
*/
|
|
3138
|
+
gaTrackingId() {
|
|
3139
|
+
this.addField("gaTrackingId");
|
|
2774
3140
|
return this;
|
|
2775
3141
|
}
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
}
|
|
3142
|
+
/**
|
|
3143
|
+
* 通知邮箱
|
|
3144
|
+
*/
|
|
3145
|
+
noticeEmail() {
|
|
3146
|
+
this.addField("noticeEmail");
|
|
2782
3147
|
return this;
|
|
2783
3148
|
}
|
|
2784
|
-
|
|
2785
|
-
|
|
3149
|
+
/**
|
|
3150
|
+
* 邮件模板
|
|
3151
|
+
*/
|
|
3152
|
+
emailTemplates() {
|
|
3153
|
+
this.addField("emailTemplates");
|
|
2786
3154
|
return this;
|
|
2787
3155
|
}
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
this._associations["meidaOfProduct"] = new ProductCategoryQueryOptions(options);
|
|
2791
|
-
} else {
|
|
2792
|
-
this._associations["meidaOfProduct"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2793
|
-
}
|
|
3156
|
+
createdAt() {
|
|
3157
|
+
this.addField("createdAt");
|
|
2794
3158
|
return this;
|
|
2795
3159
|
}
|
|
2796
|
-
|
|
2797
|
-
this.
|
|
3160
|
+
updatedAt() {
|
|
3161
|
+
this.addField("updatedAt");
|
|
2798
3162
|
return this;
|
|
2799
3163
|
}
|
|
2800
|
-
|
|
3164
|
+
lang(options) {
|
|
2801
3165
|
if (Array.isArray(options)) {
|
|
2802
|
-
this._associations["
|
|
3166
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2803
3167
|
} else {
|
|
2804
|
-
this._associations["
|
|
3168
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2805
3169
|
}
|
|
2806
3170
|
return this;
|
|
2807
3171
|
}
|
|
2808
|
-
|
|
2809
|
-
this._aggregates["productMediaPivotsAggregate"] = aggregate;
|
|
2810
|
-
return this;
|
|
2811
|
-
}
|
|
2812
|
-
productAttacPivots(options) {
|
|
3172
|
+
website(options) {
|
|
2813
3173
|
if (Array.isArray(options)) {
|
|
2814
|
-
this._associations["
|
|
3174
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2815
3175
|
} else {
|
|
2816
|
-
this._associations["
|
|
3176
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2817
3177
|
}
|
|
2818
3178
|
return this;
|
|
2819
3179
|
}
|
|
2820
|
-
productAttacPivotsAggregate(aggregate) {
|
|
2821
|
-
this._aggregates["productAttacPivotsAggregate"] = aggregate;
|
|
2822
|
-
return this;
|
|
2823
|
-
}
|
|
2824
3180
|
}
|
|
2825
|
-
class
|
|
3181
|
+
class LangQueryOptions extends QueryOptions {
|
|
2826
3182
|
constructor(fields, queryArgs) {
|
|
2827
|
-
super(
|
|
3183
|
+
super(LangEntityName, fields, queryArgs);
|
|
2828
3184
|
}
|
|
2829
3185
|
id() {
|
|
2830
3186
|
this.addField("id");
|
|
2831
3187
|
return this;
|
|
2832
3188
|
}
|
|
2833
|
-
loginName() {
|
|
2834
|
-
this.addField("loginName");
|
|
2835
|
-
return this;
|
|
2836
|
-
}
|
|
2837
|
-
name() {
|
|
2838
|
-
this.addField("name");
|
|
2839
|
-
return this;
|
|
2840
|
-
}
|
|
2841
|
-
mobileNumber() {
|
|
2842
|
-
this.addField("mobileNumber");
|
|
2843
|
-
return this;
|
|
2844
|
-
}
|
|
2845
|
-
isSupperAdmin() {
|
|
2846
|
-
this.addField("isSupperAdmin");
|
|
2847
|
-
return this;
|
|
2848
|
-
}
|
|
2849
|
-
password() {
|
|
2850
|
-
this.addField("password");
|
|
2851
|
-
return this;
|
|
2852
|
-
}
|
|
2853
|
-
createdAt() {
|
|
2854
|
-
this.addField("createdAt");
|
|
2855
|
-
return this;
|
|
2856
|
-
}
|
|
2857
|
-
updatedAt() {
|
|
2858
|
-
this.addField("updatedAt");
|
|
2859
|
-
return this;
|
|
2860
|
-
}
|
|
2861
3189
|
/**
|
|
2862
|
-
*
|
|
3190
|
+
* 缩写
|
|
2863
3191
|
*/
|
|
2864
|
-
|
|
2865
|
-
this.addField("
|
|
3192
|
+
abbr() {
|
|
3193
|
+
this.addField("abbr");
|
|
2866
3194
|
return this;
|
|
2867
3195
|
}
|
|
2868
3196
|
/**
|
|
2869
|
-
*
|
|
3197
|
+
* 英文名称
|
|
2870
3198
|
*/
|
|
2871
|
-
|
|
2872
|
-
this.addField("
|
|
2873
|
-
return this;
|
|
2874
|
-
}
|
|
2875
|
-
userType() {
|
|
2876
|
-
this.addField("userType");
|
|
3199
|
+
enName() {
|
|
3200
|
+
this.addField("enName");
|
|
2877
3201
|
return this;
|
|
2878
3202
|
}
|
|
2879
3203
|
/**
|
|
2880
|
-
*
|
|
3204
|
+
* 本地名称
|
|
2881
3205
|
*/
|
|
2882
|
-
|
|
2883
|
-
this.addField("
|
|
3206
|
+
localName() {
|
|
3207
|
+
this.addField("localName");
|
|
2884
3208
|
return this;
|
|
2885
3209
|
}
|
|
2886
3210
|
/**
|
|
2887
|
-
*
|
|
3211
|
+
* 国旗图标
|
|
2888
3212
|
*/
|
|
2889
|
-
|
|
2890
|
-
this.addField("
|
|
3213
|
+
icon() {
|
|
3214
|
+
this.addField("icon");
|
|
2891
3215
|
return this;
|
|
2892
3216
|
}
|
|
2893
3217
|
/**
|
|
2894
|
-
*
|
|
3218
|
+
* 备注
|
|
2895
3219
|
*/
|
|
2896
|
-
|
|
2897
|
-
this.addField("
|
|
3220
|
+
description() {
|
|
3221
|
+
this.addField("description");
|
|
2898
3222
|
return this;
|
|
2899
3223
|
}
|
|
2900
|
-
|
|
2901
|
-
|
|
3224
|
+
webPartsOfWebsiteSettings(options) {
|
|
3225
|
+
if (Array.isArray(options)) {
|
|
3226
|
+
this._associations["webPartsOfWebsiteSettings"] = new WebsiteSettingsQueryOptions(options);
|
|
3227
|
+
} else {
|
|
3228
|
+
this._associations["webPartsOfWebsiteSettings"] = options || new WebsiteSettingsQueryOptions(["id"]);
|
|
3229
|
+
}
|
|
2902
3230
|
return this;
|
|
2903
3231
|
}
|
|
2904
|
-
|
|
2905
|
-
this.
|
|
3232
|
+
webPartsOfWebsiteSettingsAggregate(aggregate) {
|
|
3233
|
+
this._aggregates["webPartsOfWebsiteSettingsAggregate"] = aggregate;
|
|
2906
3234
|
return this;
|
|
2907
3235
|
}
|
|
2908
|
-
|
|
2909
|
-
|
|
3236
|
+
webPartsOfTheme(options) {
|
|
3237
|
+
if (Array.isArray(options)) {
|
|
3238
|
+
this._associations["webPartsOfTheme"] = new ThemeQueryOptions(options);
|
|
3239
|
+
} else {
|
|
3240
|
+
this._associations["webPartsOfTheme"] = options || new ThemeQueryOptions(["id"]);
|
|
3241
|
+
}
|
|
2910
3242
|
return this;
|
|
2911
3243
|
}
|
|
2912
|
-
|
|
2913
|
-
this.
|
|
3244
|
+
webPartsOfThemeAggregate(aggregate) {
|
|
3245
|
+
this._aggregates["webPartsOfThemeAggregate"] = aggregate;
|
|
2914
3246
|
return this;
|
|
2915
3247
|
}
|
|
2916
|
-
|
|
2917
|
-
|
|
3248
|
+
webPartsOfTemplate(options) {
|
|
3249
|
+
if (Array.isArray(options)) {
|
|
3250
|
+
this._associations["webPartsOfTemplate"] = new TemplateQueryOptions(options);
|
|
3251
|
+
} else {
|
|
3252
|
+
this._associations["webPartsOfTemplate"] = options || new TemplateQueryOptions(["id"]);
|
|
3253
|
+
}
|
|
2918
3254
|
return this;
|
|
2919
3255
|
}
|
|
2920
|
-
|
|
2921
|
-
this.
|
|
3256
|
+
webPartsOfTemplateAggregate(aggregate) {
|
|
3257
|
+
this._aggregates["webPartsOfTemplateAggregate"] = aggregate;
|
|
2922
3258
|
return this;
|
|
2923
3259
|
}
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
3260
|
+
webPartsOfTemplateCategory(options) {
|
|
3261
|
+
if (Array.isArray(options)) {
|
|
3262
|
+
this._associations["webPartsOfTemplateCategory"] = new TemplateCategoryQueryOptions(options);
|
|
3263
|
+
} else {
|
|
3264
|
+
this._associations["webPartsOfTemplateCategory"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
3265
|
+
}
|
|
2929
3266
|
return this;
|
|
2930
3267
|
}
|
|
2931
|
-
|
|
3268
|
+
webPartsOfTemplateCategoryAggregate(aggregate) {
|
|
3269
|
+
this._aggregates["webPartsOfTemplateCategoryAggregate"] = aggregate;
|
|
3270
|
+
return this;
|
|
3271
|
+
}
|
|
3272
|
+
webPartsOfMediaFolder(options) {
|
|
2932
3273
|
if (Array.isArray(options)) {
|
|
2933
|
-
this._associations["
|
|
3274
|
+
this._associations["webPartsOfMediaFolder"] = new MediaFolderQueryOptions(options);
|
|
2934
3275
|
} else {
|
|
2935
|
-
this._associations["
|
|
3276
|
+
this._associations["webPartsOfMediaFolder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2936
3277
|
}
|
|
2937
3278
|
return this;
|
|
2938
3279
|
}
|
|
2939
|
-
|
|
2940
|
-
this._aggregates["
|
|
3280
|
+
webPartsOfMediaFolderAggregate(aggregate) {
|
|
3281
|
+
this._aggregates["webPartsOfMediaFolderAggregate"] = aggregate;
|
|
2941
3282
|
return this;
|
|
2942
3283
|
}
|
|
2943
|
-
|
|
3284
|
+
webPartsOfEnquiry(options) {
|
|
2944
3285
|
if (Array.isArray(options)) {
|
|
2945
|
-
this._associations["
|
|
3286
|
+
this._associations["webPartsOfEnquiry"] = new EnquiryQueryOptions(options);
|
|
2946
3287
|
} else {
|
|
2947
|
-
this._associations["
|
|
3288
|
+
this._associations["webPartsOfEnquiry"] = options || new EnquiryQueryOptions(["id"]);
|
|
2948
3289
|
}
|
|
2949
3290
|
return this;
|
|
2950
3291
|
}
|
|
2951
|
-
|
|
3292
|
+
webPartsOfEnquiryAggregate(aggregate) {
|
|
3293
|
+
this._aggregates["webPartsOfEnquiryAggregate"] = aggregate;
|
|
3294
|
+
return this;
|
|
3295
|
+
}
|
|
3296
|
+
webPartsOfPage(options) {
|
|
2952
3297
|
if (Array.isArray(options)) {
|
|
2953
|
-
this._associations["
|
|
3298
|
+
this._associations["webPartsOfPage"] = new PageQueryOptions(options);
|
|
2954
3299
|
} else {
|
|
2955
|
-
this._associations["
|
|
3300
|
+
this._associations["webPartsOfPage"] = options || new PageQueryOptions(["id"]);
|
|
2956
3301
|
}
|
|
2957
3302
|
return this;
|
|
2958
3303
|
}
|
|
2959
|
-
|
|
2960
|
-
this._aggregates["
|
|
3304
|
+
webPartsOfPageAggregate(aggregate) {
|
|
3305
|
+
this._aggregates["webPartsOfPageAggregate"] = aggregate;
|
|
2961
3306
|
return this;
|
|
2962
3307
|
}
|
|
2963
|
-
|
|
3308
|
+
webPartsOfProduct(options) {
|
|
2964
3309
|
if (Array.isArray(options)) {
|
|
2965
|
-
this._associations["
|
|
3310
|
+
this._associations["webPartsOfProduct"] = new ProductQueryOptions(options);
|
|
2966
3311
|
} else {
|
|
2967
|
-
this._associations["
|
|
3312
|
+
this._associations["webPartsOfProduct"] = options || new ProductQueryOptions(["id"]);
|
|
2968
3313
|
}
|
|
2969
3314
|
return this;
|
|
2970
3315
|
}
|
|
2971
|
-
|
|
2972
|
-
this._aggregates["
|
|
3316
|
+
webPartsOfProductAggregate(aggregate) {
|
|
3317
|
+
this._aggregates["webPartsOfProductAggregate"] = aggregate;
|
|
2973
3318
|
return this;
|
|
2974
3319
|
}
|
|
2975
|
-
|
|
3320
|
+
webPartsOfPost(options) {
|
|
2976
3321
|
if (Array.isArray(options)) {
|
|
2977
|
-
this._associations["
|
|
3322
|
+
this._associations["webPartsOfPost"] = new PostQueryOptions(options);
|
|
2978
3323
|
} else {
|
|
2979
|
-
this._associations["
|
|
3324
|
+
this._associations["webPartsOfPost"] = options || new PostQueryOptions(["id"]);
|
|
2980
3325
|
}
|
|
2981
3326
|
return this;
|
|
2982
3327
|
}
|
|
2983
|
-
|
|
2984
|
-
this._aggregates["
|
|
3328
|
+
webPartsOfPostAggregate(aggregate) {
|
|
3329
|
+
this._aggregates["webPartsOfPostAggregate"] = aggregate;
|
|
2985
3330
|
return this;
|
|
2986
3331
|
}
|
|
2987
|
-
|
|
3332
|
+
webPartsOfPostCategory(options) {
|
|
2988
3333
|
if (Array.isArray(options)) {
|
|
2989
|
-
this._associations["
|
|
3334
|
+
this._associations["webPartsOfPostCategory"] = new PostCategoryQueryOptions(options);
|
|
2990
3335
|
} else {
|
|
2991
|
-
this._associations["
|
|
3336
|
+
this._associations["webPartsOfPostCategory"] = options || new PostCategoryQueryOptions(["id"]);
|
|
2992
3337
|
}
|
|
2993
3338
|
return this;
|
|
2994
3339
|
}
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
super(AbilityEntityName, fields, queryArgs);
|
|
3340
|
+
webPartsOfPostCategoryAggregate(aggregate) {
|
|
3341
|
+
this._aggregates["webPartsOfPostCategoryAggregate"] = aggregate;
|
|
3342
|
+
return this;
|
|
2999
3343
|
}
|
|
3000
|
-
|
|
3001
|
-
|
|
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
|
+
}
|
|
3002
3350
|
return this;
|
|
3003
3351
|
}
|
|
3004
|
-
|
|
3005
|
-
this.
|
|
3352
|
+
webPartsOfTagAggregate(aggregate) {
|
|
3353
|
+
this._aggregates["webPartsOfTagAggregate"] = aggregate;
|
|
3006
3354
|
return this;
|
|
3007
3355
|
}
|
|
3008
|
-
|
|
3009
|
-
|
|
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
|
+
}
|
|
3010
3362
|
return this;
|
|
3011
3363
|
}
|
|
3012
|
-
|
|
3013
|
-
this.
|
|
3364
|
+
webPartsOfCustomerAggregate(aggregate) {
|
|
3365
|
+
this._aggregates["webPartsOfCustomerAggregate"] = aggregate;
|
|
3014
3366
|
return this;
|
|
3015
3367
|
}
|
|
3016
|
-
|
|
3017
|
-
|
|
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
|
+
}
|
|
3018
3374
|
return this;
|
|
3019
3375
|
}
|
|
3020
|
-
|
|
3021
|
-
this.
|
|
3376
|
+
webPartsOfProductCategoryAggregate(aggregate) {
|
|
3377
|
+
this._aggregates["webPartsOfProductCategoryAggregate"] = aggregate;
|
|
3022
3378
|
return this;
|
|
3023
3379
|
}
|
|
3024
|
-
|
|
3025
|
-
|
|
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
|
+
}
|
|
3026
3386
|
return this;
|
|
3027
3387
|
}
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
super(MailEntityName, fields, queryArgs);
|
|
3388
|
+
webPartsOfSpamFilterRuleAggregate(aggregate) {
|
|
3389
|
+
this._aggregates["webPartsOfSpamFilterRuleAggregate"] = aggregate;
|
|
3390
|
+
return this;
|
|
3032
3391
|
}
|
|
3033
|
-
|
|
3034
|
-
|
|
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
|
+
}
|
|
3035
3398
|
return this;
|
|
3036
3399
|
}
|
|
3037
|
-
|
|
3038
|
-
this.
|
|
3400
|
+
webPartsOfMediaAggregate(aggregate) {
|
|
3401
|
+
this._aggregates["webPartsOfMediaAggregate"] = aggregate;
|
|
3039
3402
|
return this;
|
|
3040
3403
|
}
|
|
3041
|
-
|
|
3042
|
-
|
|
3404
|
+
}
|
|
3405
|
+
class MediaFolderQueryOptions extends QueryOptions {
|
|
3406
|
+
constructor(fields, queryArgs) {
|
|
3407
|
+
super(MediaFolderEntityName, fields, queryArgs);
|
|
3408
|
+
}
|
|
3409
|
+
id() {
|
|
3410
|
+
this.addField("id");
|
|
3043
3411
|
return this;
|
|
3044
3412
|
}
|
|
3045
|
-
|
|
3046
|
-
this.addField("
|
|
3413
|
+
name() {
|
|
3414
|
+
this.addField("name");
|
|
3047
3415
|
return this;
|
|
3048
3416
|
}
|
|
3049
|
-
|
|
3050
|
-
this.addField("
|
|
3417
|
+
seqValue() {
|
|
3418
|
+
this.addField("seqValue");
|
|
3051
3419
|
return this;
|
|
3052
3420
|
}
|
|
3053
|
-
|
|
3054
|
-
this.addField("
|
|
3421
|
+
createdAt() {
|
|
3422
|
+
this.addField("createdAt");
|
|
3055
3423
|
return this;
|
|
3056
3424
|
}
|
|
3057
|
-
|
|
3058
|
-
this.addField("
|
|
3425
|
+
updatedAt() {
|
|
3426
|
+
this.addField("updatedAt");
|
|
3059
3427
|
return this;
|
|
3060
3428
|
}
|
|
3061
|
-
|
|
3062
|
-
|
|
3429
|
+
children(options) {
|
|
3430
|
+
if (Array.isArray(options)) {
|
|
3431
|
+
this._associations["children"] = new MediaFolderQueryOptions(options);
|
|
3432
|
+
} else {
|
|
3433
|
+
this._associations["children"] = options || new MediaFolderQueryOptions(["id"]);
|
|
3434
|
+
}
|
|
3063
3435
|
return this;
|
|
3064
3436
|
}
|
|
3065
|
-
|
|
3066
|
-
this.
|
|
3437
|
+
childrenAggregate(aggregate) {
|
|
3438
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
3067
3439
|
return this;
|
|
3068
3440
|
}
|
|
3069
|
-
|
|
3070
|
-
|
|
3441
|
+
lang(options) {
|
|
3442
|
+
if (Array.isArray(options)) {
|
|
3443
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3444
|
+
} else {
|
|
3445
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3446
|
+
}
|
|
3071
3447
|
return this;
|
|
3072
3448
|
}
|
|
3073
|
-
|
|
3074
|
-
|
|
3449
|
+
parent(options) {
|
|
3450
|
+
if (Array.isArray(options)) {
|
|
3451
|
+
this._associations["parent"] = new MediaFolderQueryOptions(options);
|
|
3452
|
+
} else {
|
|
3453
|
+
this._associations["parent"] = options || new MediaFolderQueryOptions(["id"]);
|
|
3454
|
+
}
|
|
3075
3455
|
return this;
|
|
3076
3456
|
}
|
|
3077
|
-
|
|
3078
|
-
|
|
3457
|
+
medias(options) {
|
|
3458
|
+
if (Array.isArray(options)) {
|
|
3459
|
+
this._associations["medias"] = new MediaQueryOptions(options);
|
|
3460
|
+
} else {
|
|
3461
|
+
this._associations["medias"] = options || new MediaQueryOptions(["id"]);
|
|
3462
|
+
}
|
|
3079
3463
|
return this;
|
|
3080
3464
|
}
|
|
3081
|
-
|
|
3082
|
-
this.
|
|
3465
|
+
mediasAggregate(aggregate) {
|
|
3466
|
+
this._aggregates["mediasAggregate"] = aggregate;
|
|
3083
3467
|
return this;
|
|
3084
3468
|
}
|
|
3085
|
-
|
|
3086
|
-
|
|
3469
|
+
website(options) {
|
|
3470
|
+
if (Array.isArray(options)) {
|
|
3471
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3472
|
+
} else {
|
|
3473
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3474
|
+
}
|
|
3087
3475
|
return this;
|
|
3088
3476
|
}
|
|
3089
3477
|
}
|
|
3090
|
-
class
|
|
3478
|
+
class MediaQueryOptions extends QueryOptions {
|
|
3091
3479
|
constructor(fields, queryArgs) {
|
|
3092
|
-
super(
|
|
3480
|
+
super(MediaEntityName, fields, queryArgs);
|
|
3093
3481
|
}
|
|
3094
3482
|
id() {
|
|
3095
3483
|
this.addField("id");
|
|
3096
3484
|
return this;
|
|
3097
3485
|
}
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
*/
|
|
3101
|
-
abbr() {
|
|
3102
|
-
this.addField("abbr");
|
|
3103
|
-
return this;
|
|
3104
|
-
}
|
|
3105
|
-
/**
|
|
3106
|
-
* 英文名称
|
|
3107
|
-
*/
|
|
3108
|
-
enName() {
|
|
3109
|
-
this.addField("enName");
|
|
3110
|
-
return this;
|
|
3111
|
-
}
|
|
3112
|
-
/**
|
|
3113
|
-
* 本地名称
|
|
3114
|
-
*/
|
|
3115
|
-
localName() {
|
|
3116
|
-
this.addField("localName");
|
|
3486
|
+
name() {
|
|
3487
|
+
this.addField("name");
|
|
3117
3488
|
return this;
|
|
3118
3489
|
}
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
*/
|
|
3122
|
-
icon() {
|
|
3123
|
-
this.addField("icon");
|
|
3490
|
+
size() {
|
|
3491
|
+
this.addField("size");
|
|
3124
3492
|
return this;
|
|
3125
3493
|
}
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
*/
|
|
3129
|
-
remark() {
|
|
3130
|
-
this.addField("remark");
|
|
3494
|
+
mimeType() {
|
|
3495
|
+
this.addField("mimeType");
|
|
3131
3496
|
return this;
|
|
3132
3497
|
}
|
|
3133
|
-
|
|
3134
|
-
this.addField("
|
|
3498
|
+
extName() {
|
|
3499
|
+
this.addField("extName");
|
|
3135
3500
|
return this;
|
|
3136
3501
|
}
|
|
3137
|
-
|
|
3138
|
-
this.
|
|
3502
|
+
file(fields) {
|
|
3503
|
+
this.addObjectField("file", fields);
|
|
3139
3504
|
return this;
|
|
3140
3505
|
}
|
|
3141
3506
|
description() {
|
|
3142
3507
|
this.addField("description");
|
|
3143
3508
|
return this;
|
|
3144
3509
|
}
|
|
3145
|
-
/**
|
|
3146
|
-
* 创建时间
|
|
3147
|
-
*/
|
|
3148
3510
|
createdAt() {
|
|
3149
3511
|
this.addField("createdAt");
|
|
3150
3512
|
return this;
|
|
3151
3513
|
}
|
|
3152
|
-
/**
|
|
3153
|
-
* 更新时间
|
|
3154
|
-
*/
|
|
3155
3514
|
updatedAt() {
|
|
3156
3515
|
this.addField("updatedAt");
|
|
3157
3516
|
return this;
|
|
3158
3517
|
}
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
constructor(fields, queryArgs) {
|
|
3162
|
-
super(CustomerEntityName, fields, queryArgs);
|
|
3163
|
-
}
|
|
3164
|
-
id() {
|
|
3165
|
-
this.addField("id");
|
|
3166
|
-
return this;
|
|
3167
|
-
}
|
|
3168
|
-
company() {
|
|
3169
|
-
this.addField("company");
|
|
3518
|
+
mediaType() {
|
|
3519
|
+
this.addField("mediaType");
|
|
3170
3520
|
return this;
|
|
3171
3521
|
}
|
|
3172
|
-
|
|
3173
|
-
|
|
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
|
+
}
|
|
3174
3528
|
return this;
|
|
3175
3529
|
}
|
|
3176
|
-
|
|
3177
|
-
|
|
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
|
+
}
|
|
3178
3536
|
return this;
|
|
3179
3537
|
}
|
|
3180
|
-
|
|
3181
|
-
|
|
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
|
+
}
|
|
3182
3544
|
return this;
|
|
3183
3545
|
}
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
*/
|
|
3187
|
-
createdAt() {
|
|
3188
|
-
this.addField("createdAt");
|
|
3546
|
+
coverOfAggregate(aggregate) {
|
|
3547
|
+
this._aggregates["coverOfAggregate"] = aggregate;
|
|
3189
3548
|
return this;
|
|
3190
3549
|
}
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
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
|
+
}
|
|
3196
3556
|
return this;
|
|
3197
3557
|
}
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
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
|
+
}
|
|
3203
3564
|
return this;
|
|
3204
3565
|
}
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
*/
|
|
3208
|
-
email() {
|
|
3209
|
-
this.addField("email");
|
|
3566
|
+
ogMetaOfPageAggregate(aggregate) {
|
|
3567
|
+
this._aggregates["ogMetaOfPageAggregate"] = aggregate;
|
|
3210
3568
|
return this;
|
|
3211
3569
|
}
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
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
|
+
}
|
|
3217
3576
|
return this;
|
|
3218
3577
|
}
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
*/
|
|
3222
|
-
tel2() {
|
|
3223
|
-
this.addField("tel2");
|
|
3578
|
+
ogMetaOfProductAggregate(aggregate) {
|
|
3579
|
+
this._aggregates["ogMetaOfProductAggregate"] = aggregate;
|
|
3224
3580
|
return this;
|
|
3225
3581
|
}
|
|
3226
|
-
|
|
3227
|
-
|
|
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
|
+
}
|
|
3228
3588
|
return this;
|
|
3229
3589
|
}
|
|
3230
|
-
|
|
3231
|
-
this.
|
|
3590
|
+
ogMetaOfPostAggregate(aggregate) {
|
|
3591
|
+
this._aggregates["ogMetaOfPostAggregate"] = aggregate;
|
|
3232
3592
|
return this;
|
|
3233
3593
|
}
|
|
3234
|
-
|
|
3235
|
-
|
|
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
|
+
}
|
|
3236
3600
|
return this;
|
|
3237
3601
|
}
|
|
3238
|
-
|
|
3239
|
-
this.
|
|
3602
|
+
meidaOfProductAggregate(aggregate) {
|
|
3603
|
+
this._aggregates["meidaOfProductAggregate"] = aggregate;
|
|
3240
3604
|
return this;
|
|
3241
3605
|
}
|
|
3242
|
-
|
|
3243
|
-
|
|
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
|
+
}
|
|
3244
3612
|
return this;
|
|
3245
3613
|
}
|
|
3246
|
-
|
|
3247
|
-
this.
|
|
3614
|
+
productMediaPivotsAggregate(aggregate) {
|
|
3615
|
+
this._aggregates["productMediaPivotsAggregate"] = aggregate;
|
|
3248
3616
|
return this;
|
|
3249
3617
|
}
|
|
3250
|
-
|
|
3251
|
-
|
|
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
|
+
}
|
|
3252
3624
|
return this;
|
|
3253
3625
|
}
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
*/
|
|
3257
|
-
summary() {
|
|
3258
|
-
this.addField("summary");
|
|
3626
|
+
productAttacPivotsAggregate(aggregate) {
|
|
3627
|
+
this._aggregates["productAttacPivotsAggregate"] = aggregate;
|
|
3259
3628
|
return this;
|
|
3260
3629
|
}
|
|
3261
|
-
|
|
3630
|
+
website(options) {
|
|
3262
3631
|
if (Array.isArray(options)) {
|
|
3263
|
-
this._associations["
|
|
3632
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3264
3633
|
} else {
|
|
3265
|
-
this._associations["
|
|
3634
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3266
3635
|
}
|
|
3267
3636
|
return this;
|
|
3268
3637
|
}
|
|
3269
|
-
enquiresAggregate(aggregate) {
|
|
3270
|
-
this._aggregates["enquiresAggregate"] = aggregate;
|
|
3271
|
-
return this;
|
|
3272
|
-
}
|
|
3273
3638
|
}
|
|
3274
|
-
class
|
|
3639
|
+
class UserQueryOptions extends QueryOptions {
|
|
3275
3640
|
constructor(fields, queryArgs) {
|
|
3276
|
-
super(
|
|
3641
|
+
super(UserEntityName, fields, queryArgs);
|
|
3277
3642
|
}
|
|
3278
3643
|
id() {
|
|
3279
3644
|
this.addField("id");
|
|
3280
3645
|
return this;
|
|
3281
3646
|
}
|
|
3282
|
-
|
|
3283
|
-
this.addField("
|
|
3284
|
-
return this;
|
|
3285
|
-
}
|
|
3286
|
-
company() {
|
|
3287
|
-
this.addField("company");
|
|
3647
|
+
loginName() {
|
|
3648
|
+
this.addField("loginName");
|
|
3288
3649
|
return this;
|
|
3289
3650
|
}
|
|
3290
3651
|
name() {
|
|
3291
3652
|
this.addField("name");
|
|
3292
3653
|
return this;
|
|
3293
3654
|
}
|
|
3294
|
-
|
|
3295
|
-
this.addField("
|
|
3655
|
+
mobileNumber() {
|
|
3656
|
+
this.addField("mobileNumber");
|
|
3296
3657
|
return this;
|
|
3297
3658
|
}
|
|
3298
|
-
|
|
3299
|
-
this.addField("
|
|
3659
|
+
isSupperAdmin() {
|
|
3660
|
+
this.addField("isSupperAdmin");
|
|
3300
3661
|
return this;
|
|
3301
3662
|
}
|
|
3302
|
-
|
|
3303
|
-
this.addField("
|
|
3663
|
+
password() {
|
|
3664
|
+
this.addField("password");
|
|
3304
3665
|
return this;
|
|
3305
3666
|
}
|
|
3306
|
-
|
|
3307
|
-
this.addField("
|
|
3667
|
+
createdAt() {
|
|
3668
|
+
this.addField("createdAt");
|
|
3308
3669
|
return this;
|
|
3309
3670
|
}
|
|
3310
|
-
|
|
3311
|
-
this.addField("
|
|
3671
|
+
updatedAt() {
|
|
3672
|
+
this.addField("updatedAt");
|
|
3312
3673
|
return this;
|
|
3313
3674
|
}
|
|
3314
3675
|
/**
|
|
3315
|
-
*
|
|
3676
|
+
* 职位
|
|
3316
3677
|
*/
|
|
3317
|
-
|
|
3318
|
-
this.addField("
|
|
3319
|
-
return this;
|
|
3320
|
-
}
|
|
3321
|
-
read() {
|
|
3322
|
-
this.addField("read");
|
|
3323
|
-
return this;
|
|
3324
|
-
}
|
|
3325
|
-
spam() {
|
|
3326
|
-
this.addField("spam");
|
|
3327
|
-
return this;
|
|
3328
|
-
}
|
|
3329
|
-
websiteId() {
|
|
3330
|
-
this.addField("websiteId");
|
|
3678
|
+
postion() {
|
|
3679
|
+
this.addField("postion");
|
|
3331
3680
|
return this;
|
|
3332
3681
|
}
|
|
3333
|
-
|
|
3334
|
-
|
|
3682
|
+
/**
|
|
3683
|
+
* 自我介绍
|
|
3684
|
+
*/
|
|
3685
|
+
profile() {
|
|
3686
|
+
this.addField("profile");
|
|
3335
3687
|
return this;
|
|
3336
3688
|
}
|
|
3337
|
-
|
|
3338
|
-
this.addField("
|
|
3689
|
+
userType() {
|
|
3690
|
+
this.addField("userType");
|
|
3339
3691
|
return this;
|
|
3340
3692
|
}
|
|
3341
3693
|
/**
|
|
3342
|
-
*
|
|
3694
|
+
* 邮箱
|
|
3343
3695
|
*/
|
|
3344
|
-
|
|
3345
|
-
this.addField("
|
|
3696
|
+
email() {
|
|
3697
|
+
this.addField("email");
|
|
3346
3698
|
return this;
|
|
3347
3699
|
}
|
|
3348
3700
|
/**
|
|
3349
|
-
*
|
|
3701
|
+
* 电话
|
|
3350
3702
|
*/
|
|
3351
|
-
|
|
3352
|
-
this.addField("
|
|
3703
|
+
tel() {
|
|
3704
|
+
this.addField("tel");
|
|
3353
3705
|
return this;
|
|
3354
3706
|
}
|
|
3355
3707
|
/**
|
|
3356
|
-
*
|
|
3708
|
+
* 电话2
|
|
3357
3709
|
*/
|
|
3358
|
-
|
|
3359
|
-
this.addField("
|
|
3710
|
+
tel2() {
|
|
3711
|
+
this.addField("tel2");
|
|
3360
3712
|
return this;
|
|
3361
3713
|
}
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
this._associations["customer"] = new CustomerQueryOptions(options);
|
|
3365
|
-
} else {
|
|
3366
|
-
this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
|
|
3367
|
-
}
|
|
3714
|
+
mobile() {
|
|
3715
|
+
this.addField("mobile");
|
|
3368
3716
|
return this;
|
|
3369
3717
|
}
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
3718
|
+
whatsApp() {
|
|
3719
|
+
this.addField("whatsApp");
|
|
3720
|
+
return this;
|
|
3374
3721
|
}
|
|
3375
|
-
|
|
3376
|
-
this.addField("
|
|
3722
|
+
linkedIn() {
|
|
3723
|
+
this.addField("linkedIn");
|
|
3377
3724
|
return this;
|
|
3378
3725
|
}
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
*/
|
|
3382
|
-
smtpConfig() {
|
|
3383
|
-
this.addField("smtpConfig");
|
|
3726
|
+
twitter() {
|
|
3727
|
+
this.addField("twitter");
|
|
3384
3728
|
return this;
|
|
3385
3729
|
}
|
|
3386
|
-
|
|
3387
|
-
this.addField("
|
|
3730
|
+
facebook() {
|
|
3731
|
+
this.addField("facebook");
|
|
3388
3732
|
return this;
|
|
3389
3733
|
}
|
|
3390
|
-
|
|
3391
|
-
this.addField("
|
|
3734
|
+
instagram() {
|
|
3735
|
+
this.addField("instagram");
|
|
3392
3736
|
return this;
|
|
3393
3737
|
}
|
|
3394
|
-
|
|
3395
|
-
|
|
3738
|
+
/**
|
|
3739
|
+
* 简介
|
|
3740
|
+
*/
|
|
3741
|
+
summary() {
|
|
3742
|
+
this.addField("summary");
|
|
3396
3743
|
return this;
|
|
3397
3744
|
}
|
|
3398
|
-
|
|
3399
|
-
|
|
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
|
+
}
|
|
3400
3751
|
return this;
|
|
3401
3752
|
}
|
|
3402
|
-
|
|
3403
|
-
this.
|
|
3753
|
+
rolesAggregate(aggregate) {
|
|
3754
|
+
this._aggregates["rolesAggregate"] = aggregate;
|
|
3404
3755
|
return this;
|
|
3405
3756
|
}
|
|
3406
|
-
|
|
3407
|
-
|
|
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
|
+
}
|
|
3408
3763
|
return this;
|
|
3409
3764
|
}
|
|
3410
|
-
|
|
3411
|
-
|
|
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
|
+
}
|
|
3412
3771
|
return this;
|
|
3413
3772
|
}
|
|
3414
|
-
|
|
3415
|
-
this.
|
|
3773
|
+
productsAggregate(aggregate) {
|
|
3774
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
3416
3775
|
return this;
|
|
3417
3776
|
}
|
|
3418
|
-
|
|
3419
|
-
|
|
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
|
+
}
|
|
3420
3783
|
return this;
|
|
3421
3784
|
}
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
*/
|
|
3425
|
-
websiteName() {
|
|
3426
|
-
this.addField("websiteName");
|
|
3785
|
+
postsAggregate(aggregate) {
|
|
3786
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
3427
3787
|
return this;
|
|
3428
3788
|
}
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
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
|
+
}
|
|
3434
3795
|
return this;
|
|
3435
3796
|
}
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
*/
|
|
3439
|
-
openRobots() {
|
|
3440
|
-
this.addField("openRobots");
|
|
3797
|
+
websitesAggregate(aggregate) {
|
|
3798
|
+
this._aggregates["websitesAggregate"] = aggregate;
|
|
3441
3799
|
return this;
|
|
3442
3800
|
}
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
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
|
+
}
|
|
3448
3807
|
return this;
|
|
3449
3808
|
}
|
|
3450
|
-
|
|
3451
|
-
|
|
3809
|
+
}
|
|
3810
|
+
class AbilityQueryOptions extends QueryOptions {
|
|
3811
|
+
constructor(fields, queryArgs) {
|
|
3812
|
+
super(AbilityEntityName, fields, queryArgs);
|
|
3813
|
+
}
|
|
3814
|
+
id() {
|
|
3815
|
+
this.addField("id");
|
|
3452
3816
|
return this;
|
|
3453
3817
|
}
|
|
3454
|
-
|
|
3455
|
-
this.addField("
|
|
3818
|
+
entityUuid() {
|
|
3819
|
+
this.addField("entityUuid");
|
|
3456
3820
|
return this;
|
|
3457
3821
|
}
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
*/
|
|
3461
|
-
gaTrackingId() {
|
|
3462
|
-
this.addField("gaTrackingId");
|
|
3822
|
+
columnUuid() {
|
|
3823
|
+
this.addField("columnUuid");
|
|
3463
3824
|
return this;
|
|
3464
3825
|
}
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
*/
|
|
3468
|
-
noticeEmail() {
|
|
3469
|
-
this.addField("noticeEmail");
|
|
3826
|
+
can() {
|
|
3827
|
+
this.addField("can");
|
|
3470
3828
|
return this;
|
|
3471
3829
|
}
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
*/
|
|
3475
|
-
emailTemplates() {
|
|
3476
|
-
this.addField("emailTemplates");
|
|
3830
|
+
expression() {
|
|
3831
|
+
this.addField("expression");
|
|
3477
3832
|
return this;
|
|
3478
3833
|
}
|
|
3479
|
-
|
|
3480
|
-
this.addField("
|
|
3834
|
+
abilityType() {
|
|
3835
|
+
this.addField("abilityType");
|
|
3481
3836
|
return this;
|
|
3482
3837
|
}
|
|
3483
|
-
|
|
3484
|
-
this.addField("
|
|
3838
|
+
roleId() {
|
|
3839
|
+
this.addField("roleId");
|
|
3485
3840
|
return this;
|
|
3486
3841
|
}
|
|
3487
|
-
|
|
3488
|
-
|
|
3842
|
+
}
|
|
3843
|
+
class MailQueryOptions extends QueryOptions {
|
|
3844
|
+
constructor(fields, queryArgs) {
|
|
3845
|
+
super(MailEntityName, fields, queryArgs);
|
|
3846
|
+
}
|
|
3847
|
+
id() {
|
|
3848
|
+
this.addField("id");
|
|
3489
3849
|
return this;
|
|
3490
3850
|
}
|
|
3491
|
-
/**
|
|
3492
|
-
* 创建时间
|
|
3493
|
-
*/
|
|
3494
3851
|
createdAt() {
|
|
3495
3852
|
this.addField("createdAt");
|
|
3496
3853
|
return this;
|
|
3497
3854
|
}
|
|
3498
|
-
/**
|
|
3499
|
-
* 更新时间
|
|
3500
|
-
*/
|
|
3501
3855
|
updatedAt() {
|
|
3502
3856
|
this.addField("updatedAt");
|
|
3503
3857
|
return this;
|
|
3504
3858
|
}
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
*/
|
|
3508
|
-
remark() {
|
|
3509
|
-
this.addField("remark");
|
|
3859
|
+
taskId() {
|
|
3860
|
+
this.addField("taskId");
|
|
3510
3861
|
return this;
|
|
3511
3862
|
}
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
constructor(fields, queryArgs) {
|
|
3515
|
-
super(SpamFilterRuleEntityName, fields, queryArgs);
|
|
3516
|
-
}
|
|
3517
|
-
id() {
|
|
3518
|
-
this.addField("id");
|
|
3863
|
+
taskName() {
|
|
3864
|
+
this.addField("taskName");
|
|
3519
3865
|
return this;
|
|
3520
3866
|
}
|
|
3521
|
-
|
|
3522
|
-
this.addField("
|
|
3867
|
+
remark() {
|
|
3868
|
+
this.addField("remark");
|
|
3523
3869
|
return this;
|
|
3524
3870
|
}
|
|
3525
|
-
|
|
3526
|
-
this.addField("
|
|
3871
|
+
subject() {
|
|
3872
|
+
this.addField("subject");
|
|
3527
3873
|
return this;
|
|
3528
3874
|
}
|
|
3529
|
-
|
|
3530
|
-
this.addField("
|
|
3875
|
+
message() {
|
|
3876
|
+
this.addField("message");
|
|
3531
3877
|
return this;
|
|
3532
3878
|
}
|
|
3533
|
-
|
|
3534
|
-
this.addField("
|
|
3879
|
+
to() {
|
|
3880
|
+
this.addField("to");
|
|
3535
3881
|
return this;
|
|
3536
3882
|
}
|
|
3537
|
-
|
|
3538
|
-
this.addField("
|
|
3883
|
+
cc() {
|
|
3884
|
+
this.addField("cc");
|
|
3539
3885
|
return this;
|
|
3540
3886
|
}
|
|
3541
|
-
|
|
3542
|
-
this.addField("
|
|
3887
|
+
label() {
|
|
3888
|
+
this.addField("label");
|
|
3543
3889
|
return this;
|
|
3544
3890
|
}
|
|
3545
|
-
|
|
3546
|
-
this.addField("
|
|
3891
|
+
name() {
|
|
3892
|
+
this.addField("name");
|
|
3547
3893
|
return this;
|
|
3548
3894
|
}
|
|
3549
|
-
|
|
3550
|
-
this.addField("
|
|
3895
|
+
company() {
|
|
3896
|
+
this.addField("company");
|
|
3551
3897
|
return this;
|
|
3552
3898
|
}
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
*/
|
|
3556
|
-
remark() {
|
|
3557
|
-
this.addField("remark");
|
|
3899
|
+
mailType() {
|
|
3900
|
+
this.addField("mailType");
|
|
3558
3901
|
return this;
|
|
3559
3902
|
}
|
|
3560
3903
|
}
|
|
@@ -3751,11 +4094,11 @@ var MediaFields = /* @__PURE__ */ ((MediaFields2) => {
|
|
|
3751
4094
|
MediaFields2["createdAt"] = "createdAt";
|
|
3752
4095
|
MediaFields2["updatedAt"] = "updatedAt";
|
|
3753
4096
|
MediaFields2["mediaType"] = "mediaType";
|
|
3754
|
-
MediaFields2["websiteId"] = "websiteId";
|
|
3755
4097
|
return MediaFields2;
|
|
3756
4098
|
})(MediaFields || {});
|
|
3757
4099
|
var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
3758
4100
|
MediaAssciations2["folder"] = "folder";
|
|
4101
|
+
MediaAssciations2["lang"] = "lang";
|
|
3759
4102
|
MediaAssciations2["coverOf"] = "coverOf";
|
|
3760
4103
|
MediaAssciations2["coverOfAggregate"] = "coverOfAggregate";
|
|
3761
4104
|
MediaAssciations2["avatarOfUser"] = "avatarOfUser";
|
|
@@ -3771,6 +4114,7 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
3771
4114
|
MediaAssciations2["productMediaPivotsAggregate"] = "productMediaPivotsAggregate";
|
|
3772
4115
|
MediaAssciations2["productAttacPivots"] = "productAttacPivots";
|
|
3773
4116
|
MediaAssciations2["productAttacPivotsAggregate"] = "productAttacPivotsAggregate";
|
|
4117
|
+
MediaAssciations2["website"] = "website";
|
|
3774
4118
|
return MediaAssciations2;
|
|
3775
4119
|
})(MediaAssciations || {});
|
|
3776
4120
|
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
@@ -3801,6 +4145,7 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
|
3801
4145
|
WebsiteFields2["lastOpenTime"] = "lastOpenTime";
|
|
3802
4146
|
WebsiteFields2["updatedAt"] = "updatedAt";
|
|
3803
4147
|
WebsiteFields2["updatedBy"] = "updatedBy";
|
|
4148
|
+
WebsiteFields2["description"] = "description";
|
|
3804
4149
|
return WebsiteFields2;
|
|
3805
4150
|
})(WebsiteFields || {});
|
|
3806
4151
|
var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
@@ -3810,6 +4155,36 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
3810
4155
|
WebsiteAssciations2["owner"] = "owner";
|
|
3811
4156
|
WebsiteAssciations2["users"] = "users";
|
|
3812
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";
|
|
3813
4188
|
return WebsiteAssciations2;
|
|
3814
4189
|
})(WebsiteAssciations || {});
|
|
3815
4190
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -3818,16 +4193,42 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
|
3818
4193
|
LangFields2["enName"] = "enName";
|
|
3819
4194
|
LangFields2["localName"] = "localName";
|
|
3820
4195
|
LangFields2["icon"] = "icon";
|
|
3821
|
-
LangFields2["remark"] = "remark";
|
|
3822
|
-
LangFields2["websiteId"] = "websiteId";
|
|
3823
|
-
LangFields2["slug"] = "slug";
|
|
3824
4196
|
LangFields2["description"] = "description";
|
|
3825
|
-
LangFields2["createdAt"] = "createdAt";
|
|
3826
|
-
LangFields2["updatedAt"] = "updatedAt";
|
|
3827
4197
|
return LangFields2;
|
|
3828
4198
|
})(LangFields || {});
|
|
3829
4199
|
var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
3830
|
-
|
|
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 || {});
|
|
3831
4232
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
3832
4233
|
WebsiteTypeFields2["id"] = "id";
|
|
3833
4234
|
WebsiteTypeFields2["name"] = "name";
|
|
@@ -3849,13 +4250,9 @@ var WebsiteTypeAssciations = /* @__PURE__ */ ((WebsiteTypeAssciations2) => {
|
|
|
3849
4250
|
var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
3850
4251
|
PageFields2["id"] = "id";
|
|
3851
4252
|
PageFields2["title"] = "title";
|
|
3852
|
-
PageFields2["content"] = "content";
|
|
3853
4253
|
PageFields2["remark"] = "remark";
|
|
3854
|
-
PageFields2["
|
|
4254
|
+
PageFields2["content"] = "content";
|
|
3855
4255
|
PageFields2["extends"] = "extends";
|
|
3856
|
-
PageFields2["websiteId"] = "websiteId";
|
|
3857
|
-
PageFields2["slug"] = "slug";
|
|
3858
|
-
PageFields2["description"] = "description";
|
|
3859
4256
|
PageFields2["createdAt"] = "createdAt";
|
|
3860
4257
|
PageFields2["updatedAt"] = "updatedAt";
|
|
3861
4258
|
PageFields2["seoTitle"] = "seoTitle";
|
|
@@ -3871,12 +4268,15 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
3871
4268
|
PageFields2["xTitle"] = "xTitle";
|
|
3872
4269
|
PageFields2["xDescription"] = "xDescription";
|
|
3873
4270
|
PageFields2["xUrl"] = "xUrl";
|
|
3874
|
-
PageFields2["
|
|
4271
|
+
PageFields2["slug"] = "slug";
|
|
4272
|
+
PageFields2["description"] = "description";
|
|
3875
4273
|
return PageFields2;
|
|
3876
4274
|
})(PageFields || {});
|
|
3877
4275
|
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
3878
4276
|
PageAssciations2["ogImage"] = "ogImage";
|
|
4277
|
+
PageAssciations2["lang"] = "lang";
|
|
3879
4278
|
PageAssciations2["homeOf"] = "homeOf";
|
|
4279
|
+
PageAssciations2["website"] = "website";
|
|
3880
4280
|
return PageAssciations2;
|
|
3881
4281
|
})(PageAssciations || {});
|
|
3882
4282
|
var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
@@ -3889,12 +4289,8 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
3889
4289
|
PostFields2["title"] = "title";
|
|
3890
4290
|
PostFields2["content"] = "content";
|
|
3891
4291
|
PostFields2["extends"] = "extends";
|
|
3892
|
-
PostFields2["websiteId"] = "websiteId";
|
|
3893
|
-
PostFields2["slug"] = "slug";
|
|
3894
|
-
PostFields2["description"] = "description";
|
|
3895
4292
|
PostFields2["createdAt"] = "createdAt";
|
|
3896
4293
|
PostFields2["updatedAt"] = "updatedAt";
|
|
3897
|
-
PostFields2["remark"] = "remark";
|
|
3898
4294
|
PostFields2["seoTitle"] = "seoTitle";
|
|
3899
4295
|
PostFields2["seoKeywords"] = "seoKeywords";
|
|
3900
4296
|
PostFields2["seoDescription"] = "seoDescription";
|
|
@@ -3908,7 +4304,8 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
3908
4304
|
PostFields2["xTitle"] = "xTitle";
|
|
3909
4305
|
PostFields2["xDescription"] = "xDescription";
|
|
3910
4306
|
PostFields2["xUrl"] = "xUrl";
|
|
3911
|
-
PostFields2["
|
|
4307
|
+
PostFields2["slug"] = "slug";
|
|
4308
|
+
PostFields2["description"] = "description";
|
|
3912
4309
|
return PostFields2;
|
|
3913
4310
|
})(PostFields || {});
|
|
3914
4311
|
var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
|
|
@@ -3918,8 +4315,10 @@ var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
|
|
|
3918
4315
|
PostAssciations2["cover"] = "cover";
|
|
3919
4316
|
PostAssciations2["ogImage"] = "ogImage";
|
|
3920
4317
|
PostAssciations2["draftOf"] = "draftOf";
|
|
4318
|
+
PostAssciations2["lang"] = "lang";
|
|
3921
4319
|
PostAssciations2["category"] = "category";
|
|
3922
4320
|
PostAssciations2["draft"] = "draft";
|
|
4321
|
+
PostAssciations2["website"] = "website";
|
|
3923
4322
|
return PostAssciations2;
|
|
3924
4323
|
})(PostAssciations || {});
|
|
3925
4324
|
var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
@@ -3938,12 +4337,8 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
|
3938
4337
|
ProductFields2["title"] = "title";
|
|
3939
4338
|
ProductFields2["content"] = "content";
|
|
3940
4339
|
ProductFields2["extends"] = "extends";
|
|
3941
|
-
ProductFields2["websiteId"] = "websiteId";
|
|
3942
|
-
ProductFields2["slug"] = "slug";
|
|
3943
|
-
ProductFields2["description"] = "description";
|
|
3944
4340
|
ProductFields2["createdAt"] = "createdAt";
|
|
3945
4341
|
ProductFields2["updatedAt"] = "updatedAt";
|
|
3946
|
-
ProductFields2["remark"] = "remark";
|
|
3947
4342
|
ProductFields2["seoTitle"] = "seoTitle";
|
|
3948
4343
|
ProductFields2["seoKeywords"] = "seoKeywords";
|
|
3949
4344
|
ProductFields2["seoDescription"] = "seoDescription";
|
|
@@ -3957,7 +4352,8 @@ var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
|
3957
4352
|
ProductFields2["xTitle"] = "xTitle";
|
|
3958
4353
|
ProductFields2["xDescription"] = "xDescription";
|
|
3959
4354
|
ProductFields2["xUrl"] = "xUrl";
|
|
3960
|
-
ProductFields2["
|
|
4355
|
+
ProductFields2["slug"] = "slug";
|
|
4356
|
+
ProductFields2["description"] = "description";
|
|
3961
4357
|
return ProductFields2;
|
|
3962
4358
|
})(ProductFields || {});
|
|
3963
4359
|
var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
|
|
@@ -3970,8 +4366,10 @@ var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
|
|
|
3970
4366
|
ProductAssciations2["mediaPivotsAggregate"] = "mediaPivotsAggregate";
|
|
3971
4367
|
ProductAssciations2["attachmentPivots"] = "attachmentPivots";
|
|
3972
4368
|
ProductAssciations2["attachmentPivotsAggregate"] = "attachmentPivotsAggregate";
|
|
4369
|
+
ProductAssciations2["lang"] = "lang";
|
|
3973
4370
|
ProductAssciations2["creator"] = "creator";
|
|
3974
4371
|
ProductAssciations2["draft"] = "draft";
|
|
4372
|
+
ProductAssciations2["website"] = "website";
|
|
3975
4373
|
return ProductAssciations2;
|
|
3976
4374
|
})(ProductAssciations || {});
|
|
3977
4375
|
var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
@@ -3987,16 +4385,14 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
|
3987
4385
|
EnquiryFields2["fromCta"] = "fromCta";
|
|
3988
4386
|
EnquiryFields2["read"] = "read";
|
|
3989
4387
|
EnquiryFields2["spam"] = "spam";
|
|
3990
|
-
EnquiryFields2["websiteId"] = "websiteId";
|
|
3991
|
-
EnquiryFields2["slug"] = "slug";
|
|
3992
|
-
EnquiryFields2["description"] = "description";
|
|
3993
4388
|
EnquiryFields2["createdAt"] = "createdAt";
|
|
3994
4389
|
EnquiryFields2["updatedAt"] = "updatedAt";
|
|
3995
|
-
EnquiryFields2["remark"] = "remark";
|
|
3996
4390
|
return EnquiryFields2;
|
|
3997
4391
|
})(EnquiryFields || {});
|
|
3998
4392
|
var EnquiryAssciations = /* @__PURE__ */ ((EnquiryAssciations2) => {
|
|
4393
|
+
EnquiryAssciations2["lang"] = "lang";
|
|
3999
4394
|
EnquiryAssciations2["customer"] = "customer";
|
|
4395
|
+
EnquiryAssciations2["website"] = "website";
|
|
4000
4396
|
return EnquiryAssciations2;
|
|
4001
4397
|
})(EnquiryAssciations || {});
|
|
4002
4398
|
var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
@@ -4020,51 +4416,46 @@ var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
|
4020
4416
|
WebsiteSettingsFields2["gaTrackingId"] = "gaTrackingId";
|
|
4021
4417
|
WebsiteSettingsFields2["noticeEmail"] = "noticeEmail";
|
|
4022
4418
|
WebsiteSettingsFields2["emailTemplates"] = "emailTemplates";
|
|
4023
|
-
WebsiteSettingsFields2["websiteId"] = "websiteId";
|
|
4024
|
-
WebsiteSettingsFields2["slug"] = "slug";
|
|
4025
|
-
WebsiteSettingsFields2["description"] = "description";
|
|
4026
4419
|
WebsiteSettingsFields2["createdAt"] = "createdAt";
|
|
4027
4420
|
WebsiteSettingsFields2["updatedAt"] = "updatedAt";
|
|
4028
|
-
WebsiteSettingsFields2["remark"] = "remark";
|
|
4029
4421
|
return WebsiteSettingsFields2;
|
|
4030
4422
|
})(WebsiteSettingsFields || {});
|
|
4031
4423
|
var WebsiteSettingsAssciations = /* @__PURE__ */ ((WebsiteSettingsAssciations2) => {
|
|
4032
|
-
|
|
4424
|
+
WebsiteSettingsAssciations2["lang"] = "lang";
|
|
4425
|
+
WebsiteSettingsAssciations2["website"] = "website";
|
|
4426
|
+
return WebsiteSettingsAssciations2;
|
|
4427
|
+
})(WebsiteSettingsAssciations || {});
|
|
4033
4428
|
var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
4034
4429
|
TemplateFields2["id"] = "id";
|
|
4035
4430
|
TemplateFields2["name"] = "name";
|
|
4036
4431
|
TemplateFields2["seqValue"] = "seqValue";
|
|
4037
4432
|
TemplateFields2["content"] = "content";
|
|
4038
4433
|
TemplateFields2["templateType"] = "templateType";
|
|
4039
|
-
TemplateFields2["websiteId"] = "websiteId";
|
|
4040
|
-
TemplateFields2["slug"] = "slug";
|
|
4041
|
-
TemplateFields2["description"] = "description";
|
|
4042
4434
|
TemplateFields2["createdAt"] = "createdAt";
|
|
4043
4435
|
TemplateFields2["updatedAt"] = "updatedAt";
|
|
4044
|
-
TemplateFields2["remark"] = "remark";
|
|
4045
4436
|
return TemplateFields2;
|
|
4046
4437
|
})(TemplateFields || {});
|
|
4047
4438
|
var TemplateAssciations = /* @__PURE__ */ ((TemplateAssciations2) => {
|
|
4439
|
+
TemplateAssciations2["lang"] = "lang";
|
|
4048
4440
|
TemplateAssciations2["category"] = "category";
|
|
4049
4441
|
TemplateAssciations2["theme"] = "theme";
|
|
4442
|
+
TemplateAssciations2["website"] = "website";
|
|
4050
4443
|
return TemplateAssciations2;
|
|
4051
4444
|
})(TemplateAssciations || {});
|
|
4052
4445
|
var TemplateCategoryFields = /* @__PURE__ */ ((TemplateCategoryFields2) => {
|
|
4053
4446
|
TemplateCategoryFields2["id"] = "id";
|
|
4054
4447
|
TemplateCategoryFields2["name"] = "name";
|
|
4055
4448
|
TemplateCategoryFields2["seqValue"] = "seqValue";
|
|
4056
|
-
TemplateCategoryFields2["websiteId"] = "websiteId";
|
|
4057
|
-
TemplateCategoryFields2["slug"] = "slug";
|
|
4058
|
-
TemplateCategoryFields2["description"] = "description";
|
|
4059
4449
|
TemplateCategoryFields2["createdAt"] = "createdAt";
|
|
4060
4450
|
TemplateCategoryFields2["updatedAt"] = "updatedAt";
|
|
4061
|
-
TemplateCategoryFields2["remark"] = "remark";
|
|
4062
4451
|
return TemplateCategoryFields2;
|
|
4063
4452
|
})(TemplateCategoryFields || {});
|
|
4064
4453
|
var TemplateCategoryAssciations = /* @__PURE__ */ ((TemplateCategoryAssciations2) => {
|
|
4065
4454
|
TemplateCategoryAssciations2["templates"] = "templates";
|
|
4066
4455
|
TemplateCategoryAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
4456
|
+
TemplateCategoryAssciations2["lang"] = "lang";
|
|
4067
4457
|
TemplateCategoryAssciations2["theme"] = "theme";
|
|
4458
|
+
TemplateCategoryAssciations2["website"] = "website";
|
|
4068
4459
|
return TemplateCategoryAssciations2;
|
|
4069
4460
|
})(TemplateCategoryAssciations || {});
|
|
4070
4461
|
var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
@@ -4072,12 +4463,9 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
4072
4463
|
ThemeFields2["name"] = "name";
|
|
4073
4464
|
ThemeFields2["styles"] = "styles";
|
|
4074
4465
|
ThemeFields2["settings"] = "settings";
|
|
4075
|
-
ThemeFields2["websiteId"] = "websiteId";
|
|
4076
|
-
ThemeFields2["slug"] = "slug";
|
|
4077
4466
|
ThemeFields2["description"] = "description";
|
|
4078
4467
|
ThemeFields2["createdAt"] = "createdAt";
|
|
4079
4468
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
4080
|
-
ThemeFields2["remark"] = "remark";
|
|
4081
4469
|
return ThemeFields2;
|
|
4082
4470
|
})(ThemeFields || {});
|
|
4083
4471
|
var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
@@ -4085,39 +4473,37 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
4085
4473
|
ThemeAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
4086
4474
|
ThemeAssciations2["themlateCategories"] = "themlateCategories";
|
|
4087
4475
|
ThemeAssciations2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
4476
|
+
ThemeAssciations2["lang"] = "lang";
|
|
4088
4477
|
ThemeAssciations2["selectedBy"] = "selectedBy";
|
|
4478
|
+
ThemeAssciations2["website"] = "website";
|
|
4089
4479
|
return ThemeAssciations2;
|
|
4090
4480
|
})(ThemeAssciations || {});
|
|
4091
4481
|
var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
|
|
4092
4482
|
MediaFolderFields2["id"] = "id";
|
|
4093
4483
|
MediaFolderFields2["name"] = "name";
|
|
4094
4484
|
MediaFolderFields2["seqValue"] = "seqValue";
|
|
4095
|
-
MediaFolderFields2["websiteId"] = "websiteId";
|
|
4096
|
-
MediaFolderFields2["slug"] = "slug";
|
|
4097
|
-
MediaFolderFields2["description"] = "description";
|
|
4098
4485
|
MediaFolderFields2["createdAt"] = "createdAt";
|
|
4099
4486
|
MediaFolderFields2["updatedAt"] = "updatedAt";
|
|
4100
|
-
MediaFolderFields2["remark"] = "remark";
|
|
4101
4487
|
return MediaFolderFields2;
|
|
4102
4488
|
})(MediaFolderFields || {});
|
|
4103
4489
|
var MediaFolderAssciations = /* @__PURE__ */ ((MediaFolderAssciations2) => {
|
|
4104
4490
|
MediaFolderAssciations2["children"] = "children";
|
|
4105
4491
|
MediaFolderAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
4492
|
+
MediaFolderAssciations2["lang"] = "lang";
|
|
4106
4493
|
MediaFolderAssciations2["parent"] = "parent";
|
|
4107
4494
|
MediaFolderAssciations2["medias"] = "medias";
|
|
4108
4495
|
MediaFolderAssciations2["mediasAggregate"] = "mediasAggregate";
|
|
4496
|
+
MediaFolderAssciations2["website"] = "website";
|
|
4109
4497
|
return MediaFolderAssciations2;
|
|
4110
4498
|
})(MediaFolderAssciations || {});
|
|
4111
4499
|
var PostCategoryFields = /* @__PURE__ */ ((PostCategoryFields2) => {
|
|
4112
4500
|
PostCategoryFields2["id"] = "id";
|
|
4113
4501
|
PostCategoryFields2["name"] = "name";
|
|
4114
4502
|
PostCategoryFields2["seqValue"] = "seqValue";
|
|
4115
|
-
PostCategoryFields2["websiteId"] = "websiteId";
|
|
4116
|
-
PostCategoryFields2["slug"] = "slug";
|
|
4117
|
-
PostCategoryFields2["description"] = "description";
|
|
4118
4503
|
PostCategoryFields2["createdAt"] = "createdAt";
|
|
4119
4504
|
PostCategoryFields2["updatedAt"] = "updatedAt";
|
|
4120
|
-
PostCategoryFields2["
|
|
4505
|
+
PostCategoryFields2["slug"] = "slug";
|
|
4506
|
+
PostCategoryFields2["description"] = "description";
|
|
4121
4507
|
return PostCategoryFields2;
|
|
4122
4508
|
})(PostCategoryFields || {});
|
|
4123
4509
|
var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
@@ -4125,37 +4511,33 @@ var PostCategoryAssciations = /* @__PURE__ */ ((PostCategoryAssciations2) => {
|
|
|
4125
4511
|
PostCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
4126
4512
|
PostCategoryAssciations2["posts"] = "posts";
|
|
4127
4513
|
PostCategoryAssciations2["postsAggregate"] = "postsAggregate";
|
|
4514
|
+
PostCategoryAssciations2["lang"] = "lang";
|
|
4128
4515
|
PostCategoryAssciations2["parent"] = "parent";
|
|
4516
|
+
PostCategoryAssciations2["website"] = "website";
|
|
4129
4517
|
return PostCategoryAssciations2;
|
|
4130
4518
|
})(PostCategoryAssciations || {});
|
|
4131
4519
|
var TagFields = /* @__PURE__ */ ((TagFields2) => {
|
|
4132
4520
|
TagFields2["id"] = "id";
|
|
4133
4521
|
TagFields2["name"] = "name";
|
|
4134
4522
|
TagFields2["color"] = "color";
|
|
4135
|
-
TagFields2["websiteId"] = "websiteId";
|
|
4136
|
-
TagFields2["slug"] = "slug";
|
|
4137
|
-
TagFields2["description"] = "description";
|
|
4138
4523
|
TagFields2["createdAt"] = "createdAt";
|
|
4139
4524
|
TagFields2["updatedAt"] = "updatedAt";
|
|
4140
|
-
TagFields2["remark"] = "remark";
|
|
4141
4525
|
return TagFields2;
|
|
4142
4526
|
})(TagFields || {});
|
|
4143
4527
|
var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|
|
4528
|
+
TagAssciations2["lang"] = "lang";
|
|
4144
4529
|
TagAssciations2["posts"] = "posts";
|
|
4145
4530
|
TagAssciations2["postsAggregate"] = "postsAggregate";
|
|
4146
4531
|
TagAssciations2["products"] = "products";
|
|
4147
4532
|
TagAssciations2["productsAggregate"] = "productsAggregate";
|
|
4533
|
+
TagAssciations2["website"] = "website";
|
|
4148
4534
|
return TagAssciations2;
|
|
4149
4535
|
})(TagAssciations || {});
|
|
4150
4536
|
var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
4151
4537
|
CustomerFields2["id"] = "id";
|
|
4152
4538
|
CustomerFields2["company"] = "company";
|
|
4153
|
-
CustomerFields2["websiteId"] = "websiteId";
|
|
4154
|
-
CustomerFields2["slug"] = "slug";
|
|
4155
|
-
CustomerFields2["description"] = "description";
|
|
4156
4539
|
CustomerFields2["createdAt"] = "createdAt";
|
|
4157
4540
|
CustomerFields2["updatedAt"] = "updatedAt";
|
|
4158
|
-
CustomerFields2["remark"] = "remark";
|
|
4159
4541
|
CustomerFields2["email"] = "email";
|
|
4160
4542
|
CustomerFields2["tel"] = "tel";
|
|
4161
4543
|
CustomerFields2["tel2"] = "tel2";
|
|
@@ -4172,27 +4554,29 @@ var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
|
4172
4554
|
var CustomerAssciations = /* @__PURE__ */ ((CustomerAssciations2) => {
|
|
4173
4555
|
CustomerAssciations2["enquires"] = "enquires";
|
|
4174
4556
|
CustomerAssciations2["enquiresAggregate"] = "enquiresAggregate";
|
|
4557
|
+
CustomerAssciations2["lang"] = "lang";
|
|
4558
|
+
CustomerAssciations2["website"] = "website";
|
|
4175
4559
|
return CustomerAssciations2;
|
|
4176
4560
|
})(CustomerAssciations || {});
|
|
4177
4561
|
var ProductCategoryFields = /* @__PURE__ */ ((ProductCategoryFields2) => {
|
|
4178
4562
|
ProductCategoryFields2["id"] = "id";
|
|
4179
4563
|
ProductCategoryFields2["name"] = "name";
|
|
4180
4564
|
ProductCategoryFields2["seqValue"] = "seqValue";
|
|
4181
|
-
ProductCategoryFields2["websiteId"] = "websiteId";
|
|
4182
|
-
ProductCategoryFields2["slug"] = "slug";
|
|
4183
|
-
ProductCategoryFields2["description"] = "description";
|
|
4184
4565
|
ProductCategoryFields2["createdAt"] = "createdAt";
|
|
4185
4566
|
ProductCategoryFields2["updatedAt"] = "updatedAt";
|
|
4186
|
-
ProductCategoryFields2["
|
|
4567
|
+
ProductCategoryFields2["slug"] = "slug";
|
|
4568
|
+
ProductCategoryFields2["description"] = "description";
|
|
4187
4569
|
return ProductCategoryFields2;
|
|
4188
4570
|
})(ProductCategoryFields || {});
|
|
4189
4571
|
var ProductCategoryAssciations = /* @__PURE__ */ ((ProductCategoryAssciations2) => {
|
|
4190
4572
|
ProductCategoryAssciations2["children"] = "children";
|
|
4191
4573
|
ProductCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
4192
4574
|
ProductCategoryAssciations2["media"] = "media";
|
|
4575
|
+
ProductCategoryAssciations2["lang"] = "lang";
|
|
4193
4576
|
ProductCategoryAssciations2["parent"] = "parent";
|
|
4194
4577
|
ProductCategoryAssciations2["products"] = "products";
|
|
4195
4578
|
ProductCategoryAssciations2["productsAggregate"] = "productsAggregate";
|
|
4579
|
+
ProductCategoryAssciations2["website"] = "website";
|
|
4196
4580
|
return ProductCategoryAssciations2;
|
|
4197
4581
|
})(ProductCategoryAssciations || {});
|
|
4198
4582
|
var SpamFilterRuleFields = /* @__PURE__ */ ((SpamFilterRuleFields2) => {
|
|
@@ -4202,14 +4586,13 @@ var SpamFilterRuleFields = /* @__PURE__ */ ((SpamFilterRuleFields2) => {
|
|
|
4202
4586
|
SpamFilterRuleFields2["keywords"] = "keywords";
|
|
4203
4587
|
SpamFilterRuleFields2["createdAt"] = "createdAt";
|
|
4204
4588
|
SpamFilterRuleFields2["updatedAt"] = "updatedAt";
|
|
4205
|
-
SpamFilterRuleFields2["websiteId"] = "websiteId";
|
|
4206
|
-
SpamFilterRuleFields2["slug"] = "slug";
|
|
4207
|
-
SpamFilterRuleFields2["description"] = "description";
|
|
4208
|
-
SpamFilterRuleFields2["remark"] = "remark";
|
|
4209
4589
|
return SpamFilterRuleFields2;
|
|
4210
4590
|
})(SpamFilterRuleFields || {});
|
|
4211
4591
|
var SpamFilterRuleAssciations = /* @__PURE__ */ ((SpamFilterRuleAssciations2) => {
|
|
4212
|
-
|
|
4592
|
+
SpamFilterRuleAssciations2["lang"] = "lang";
|
|
4593
|
+
SpamFilterRuleAssciations2["website"] = "website";
|
|
4594
|
+
return SpamFilterRuleAssciations2;
|
|
4595
|
+
})(SpamFilterRuleAssciations || {});
|
|
4213
4596
|
var MediaOnProductFields = /* @__PURE__ */ ((MediaOnProductFields2) => {
|
|
4214
4597
|
MediaOnProductFields2["id"] = "id";
|
|
4215
4598
|
MediaOnProductFields2["altText"] = "altText";
|
|
@@ -4245,7 +4628,6 @@ export {
|
|
|
4245
4628
|
AttachmentOnProductEntityName,
|
|
4246
4629
|
AttachmentOnProductFields,
|
|
4247
4630
|
AttachmentOnProductQueryOptions,
|
|
4248
|
-
BaseEntityDistinctEnum,
|
|
4249
4631
|
ComponentType,
|
|
4250
4632
|
CustomerAssciations,
|
|
4251
4633
|
CustomerDistinctEnum,
|
|
@@ -4253,7 +4635,6 @@ export {
|
|
|
4253
4635
|
CustomerEntityName,
|
|
4254
4636
|
CustomerFields,
|
|
4255
4637
|
CustomerQueryOptions,
|
|
4256
|
-
CustomizeMediaDistinctEnum,
|
|
4257
4638
|
EnquiryAssciations,
|
|
4258
4639
|
EnquiryDistinctEnum,
|
|
4259
4640
|
EnquiryEntityLabel,
|
|
@@ -4293,7 +4674,6 @@ export {
|
|
|
4293
4674
|
MediaOnProductQueryOptions,
|
|
4294
4675
|
MediaQueryOptions,
|
|
4295
4676
|
MediaType,
|
|
4296
|
-
MultiLangableDistinctEnum,
|
|
4297
4677
|
OgMetaDistinctEnum,
|
|
4298
4678
|
PageAssciations,
|
|
4299
4679
|
PageDistinctEnum,
|
|
@@ -4336,6 +4716,7 @@ export {
|
|
|
4336
4716
|
RoleFields,
|
|
4337
4717
|
RoleQueryOptions,
|
|
4338
4718
|
SeoMetaDistinctEnum,
|
|
4719
|
+
SlugableDistinctEnum,
|
|
4339
4720
|
SpamFilterRuleAssciations,
|
|
4340
4721
|
SpamFilterRuleDistinctEnum,
|
|
4341
4722
|
SpamFilterRuleEntityLabel,
|