@rxdrag/rxcms-models 0.3.110 → 0.3.111
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/LangQueryOptions.d.ts +2 -4
- package/dist/classes/MediaQueryOptions.d.ts +1 -7
- package/dist/classes/PageMetaQueryOptions.d.ts +1 -3
- package/dist/classes/ThemeBranchQueryOptions.d.ts +1 -16
- package/dist/classes/WebsiteQueryOptions.d.ts +2 -6
- package/dist/classes/index.d.ts +0 -6
- package/dist/entries/index.d.ts +0 -6
- package/dist/fields/LangFields.d.ts +2 -3
- package/dist/fields/MediaFields.d.ts +0 -4
- package/dist/fields/PageMetaFields.d.ts +0 -1
- package/dist/fields/ThemeBranchFields.d.ts +0 -9
- package/dist/fields/WebsiteFields.d.ts +1 -4
- package/dist/fields/index.d.ts +0 -6
- package/dist/index.mjs +935 -1902
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Lang.d.ts +1 -3
- package/dist/interfaces/LangBoolExp.d.ts +1 -2
- package/dist/interfaces/LangDistinctExp.d.ts +2 -1
- package/dist/interfaces/LangInput.d.ts +1 -2
- package/dist/interfaces/LangOrderBy.d.ts +1 -0
- package/dist/interfaces/Media.d.ts +0 -6
- package/dist/interfaces/MediaBoolExp.d.ts +0 -4
- package/dist/interfaces/MediaInput.d.ts +0 -4
- package/dist/interfaces/PageMeta.d.ts +0 -2
- package/dist/interfaces/PageMetaBoolExp.d.ts +0 -2
- package/dist/interfaces/PageMetaInput.d.ts +0 -2
- package/dist/interfaces/ThemeBranch.d.ts +0 -15
- package/dist/interfaces/ThemeBranchBoolExp.d.ts +0 -12
- package/dist/interfaces/ThemeBranchInput.d.ts +0 -12
- package/dist/interfaces/ThemeSettings.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +1 -5
- package/dist/interfaces/WebsiteBoolExp.d.ts +1 -3
- package/dist/interfaces/WebsiteInput.d.ts +1 -3
- package/dist/interfaces/index.d.ts +0 -30
- package/package.json +1 -1
- package/dist/classes/ComponentCategoryQueryOptions.d.ts +0 -20
- package/dist/classes/FrontComponentQueryOptions.d.ts +0 -31
- package/dist/classes/PageQueryOptions.d.ts +0 -25
- package/dist/classes/StyleConfigQueryOptions.d.ts +0 -21
- package/dist/classes/SvgIconQueryOptions.d.ts +0 -16
- package/dist/classes/ThemeConfigQueryOptions.d.ts +0 -29
- package/dist/entries/componentCategoryEntry.d.ts +0 -3
- package/dist/entries/frontComponentEntry.d.ts +0 -3
- package/dist/entries/pageEntry.d.ts +0 -3
- package/dist/entries/styleConfigEntry.d.ts +0 -3
- package/dist/entries/svgIconEntry.d.ts +0 -3
- package/dist/entries/themeConfigEntry.d.ts +0 -3
- package/dist/fields/ComponentCategoryFields.d.ts +0 -15
- package/dist/fields/FrontComponentFields.d.ts +0 -25
- package/dist/fields/PageFields.d.ts +0 -20
- package/dist/fields/StyleConfigFields.d.ts +0 -17
- package/dist/fields/SvgIconFields.d.ts +0 -12
- package/dist/fields/ThemeConfigFields.d.ts +0 -24
- package/dist/interfaces/ComponentCategory.d.ts +0 -19
- package/dist/interfaces/ComponentCategoryBoolExp.d.ts +0 -23
- package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +0 -11
- package/dist/interfaces/ComponentCategoryInput.d.ts +0 -19
- package/dist/interfaces/ComponentCategoryOrderBy.d.ts +0 -12
- package/dist/interfaces/FrontComponent.d.ts +0 -30
- package/dist/interfaces/FrontComponentBoolExp.d.ts +0 -32
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +0 -21
- package/dist/interfaces/FrontComponentInput.d.ts +0 -32
- package/dist/interfaces/FrontComponentOrderBy.d.ts +0 -22
- package/dist/interfaces/Page.d.ts +0 -24
- package/dist/interfaces/PageBoolExp.d.ts +0 -26
- package/dist/interfaces/PageDistinctExp.d.ts +0 -17
- package/dist/interfaces/PageInput.d.ts +0 -26
- package/dist/interfaces/PageOrderBy.d.ts +0 -18
- package/dist/interfaces/StyleConfig.d.ts +0 -20
- package/dist/interfaces/StyleConfigBoolExp.d.ts +0 -24
- package/dist/interfaces/StyleConfigDistinctExp.d.ts +0 -15
- package/dist/interfaces/StyleConfigInput.d.ts +0 -22
- package/dist/interfaces/StyleConfigOrderBy.d.ts +0 -16
- package/dist/interfaces/SvgIcon.d.ts +0 -14
- package/dist/interfaces/SvgIconBoolExp.d.ts +0 -18
- package/dist/interfaces/SvgIconDistinctExp.d.ts +0 -10
- package/dist/interfaces/SvgIconInput.d.ts +0 -16
- package/dist/interfaces/SvgIconOrderBy.d.ts +0 -11
- package/dist/interfaces/ThemeConfig.d.ts +0 -28
- package/dist/interfaces/ThemeConfigBoolExp.d.ts +0 -30
- package/dist/interfaces/ThemeConfigDistinctExp.d.ts +0 -21
- package/dist/interfaces/ThemeConfigInput.d.ts +0 -30
- package/dist/interfaces/ThemeConfigOrderBy.d.ts +0 -22
package/dist/index.mjs
CHANGED
|
@@ -25,11 +25,9 @@ const aggregateEntities = {
|
|
|
25
25
|
meidaOfProductAggregate: "ProductCategory",
|
|
26
26
|
productMediaPivotsAggregate: "MediaOnProduct",
|
|
27
27
|
productAttacPivotsAggregate: "AttachmentOnProduct",
|
|
28
|
-
usedByThemConfigAggregate: "ThemeConfig",
|
|
29
28
|
pageMetaAggregate: "PageMeta",
|
|
30
29
|
searchIndexAggregate: "SearchIndex",
|
|
31
|
-
snapshotAggregate: "WebsiteSnapshot"
|
|
32
|
-
coverOfComponentAggregate: "FrontComponent"
|
|
30
|
+
snapshotAggregate: "WebsiteSnapshot"
|
|
33
31
|
},
|
|
34
32
|
Website: {
|
|
35
33
|
usersAggregate: "User",
|
|
@@ -43,13 +41,11 @@ const aggregateEntities = {
|
|
|
43
41
|
partsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
44
42
|
partsOfMediaAggregate: "Media",
|
|
45
43
|
langsAggregate: "Lang",
|
|
46
|
-
themesAggregate: "ThemeBranch",
|
|
47
44
|
changelogsAggregate: "ChangeLog",
|
|
48
45
|
searchIndexesAggregate: "SearchIndex",
|
|
49
46
|
bulletinsAggregate: "Bulletin",
|
|
50
47
|
snapshotsAggregate: "WebsiteSnapshot",
|
|
51
48
|
userOperationsAggregate: "UserOperation",
|
|
52
|
-
svgIconsAggregate: "SvgIcon",
|
|
53
49
|
tagsAggregate: "Tag",
|
|
54
50
|
agentThreadsAggregate: "AgentThread",
|
|
55
51
|
tempFilesAggregate: "TempFile",
|
|
@@ -68,7 +64,6 @@ const aggregateEntities = {
|
|
|
68
64
|
webPartsOfMediaAggregate: "Media",
|
|
69
65
|
websitesAggregate: "Website",
|
|
70
66
|
baseLangOfAggregate: "Website",
|
|
71
|
-
themesAggregate: "ThemeBranch",
|
|
72
67
|
bulletinsAggregate: "Bulletin",
|
|
73
68
|
tagsAggregate: "Tag",
|
|
74
69
|
tagCategoriesAggregate: "TagCategory"
|
|
@@ -91,9 +86,6 @@ const aggregateEntities = {
|
|
|
91
86
|
attachmentsAggregate: "Media"
|
|
92
87
|
},
|
|
93
88
|
ThemeBranch: {
|
|
94
|
-
componentsAggregate: "FrontComponent",
|
|
95
|
-
componentCategoriesAggregate: "ComponentCategory",
|
|
96
|
-
pagesAggregate: "Page",
|
|
97
89
|
filesAggregate: "ThemeFile",
|
|
98
90
|
foldersAggregate: "ThemeFileFolder",
|
|
99
91
|
agentThreadsAggregate: "AgentThread",
|
|
@@ -118,9 +110,6 @@ const aggregateEntities = {
|
|
|
118
110
|
childrenAggregate: "ProductCategory",
|
|
119
111
|
productsAggregate: "Product"
|
|
120
112
|
},
|
|
121
|
-
ComponentCategory: {
|
|
122
|
-
componentsAggregate: "FrontComponent"
|
|
123
|
-
},
|
|
124
113
|
ThemeInMarket: {
|
|
125
114
|
versionsAggregate: "ThemeVersion"
|
|
126
115
|
},
|
|
@@ -383,63 +372,219 @@ const productCategoryToInput = (entity) => {
|
|
|
383
372
|
website: convertHasOneToInput(entity.website)
|
|
384
373
|
};
|
|
385
374
|
};
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
375
|
+
const pageMetaToInputCascade = (entity) => {
|
|
376
|
+
return {
|
|
377
|
+
...entity,
|
|
378
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInputCascade(entity.ogImage) }) : void 0,
|
|
379
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0,
|
|
380
|
+
post: entity.post ? processHasOneClear({ sync: postToInputCascade(entity.post) }) : void 0
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
const pageMetaToInput = (entity) => {
|
|
384
|
+
return {
|
|
385
|
+
...entity,
|
|
386
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
387
|
+
product: convertHasOneToInput(entity.product),
|
|
388
|
+
post: convertHasOneToInput(entity.post)
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
const postCategoryToInputCascade = (entity) => {
|
|
392
|
+
var _a, _b;
|
|
393
|
+
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
389
394
|
return {
|
|
390
395
|
...rest,
|
|
391
|
-
|
|
392
|
-
|
|
396
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInputCascade(ent)) }) : void 0,
|
|
397
|
+
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
398
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
399
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
400
|
+
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInputCascade(entity.parent) }) : void 0,
|
|
401
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
393
402
|
};
|
|
394
403
|
};
|
|
395
|
-
const
|
|
396
|
-
const {
|
|
404
|
+
const postCategoryToInput = (entity) => {
|
|
405
|
+
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
397
406
|
return {
|
|
398
407
|
...rest,
|
|
399
|
-
|
|
400
|
-
|
|
408
|
+
children: convertHasManyToInput(entity.children),
|
|
409
|
+
posts: convertHasManyToInput(entity.posts),
|
|
410
|
+
lang: convertHasOneToInput(entity.lang),
|
|
411
|
+
media: convertHasOneToInput(entity.media),
|
|
412
|
+
parent: convertHasOneToInput(entity.parent),
|
|
413
|
+
website: convertHasOneToInput(entity.website)
|
|
401
414
|
};
|
|
402
415
|
};
|
|
403
|
-
const
|
|
416
|
+
const postToInputCascade = (entity) => {
|
|
417
|
+
var _a;
|
|
418
|
+
const { tagsAggregate, ...rest } = entity;
|
|
404
419
|
return {
|
|
405
|
-
...
|
|
420
|
+
...rest,
|
|
421
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
422
|
+
author: entity.author ? processHasOneClear({ sync: userToInputCascade(entity.author) }) : void 0,
|
|
406
423
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInputCascade(entity.cover) }) : void 0,
|
|
407
|
-
|
|
408
|
-
|
|
424
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
425
|
+
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
426
|
+
category: entity.category ? processHasOneClear({ sync: postCategoryToInputCascade(entity.category) }) : void 0,
|
|
427
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
409
428
|
};
|
|
410
429
|
};
|
|
411
|
-
const
|
|
430
|
+
const postToInput = (entity) => {
|
|
431
|
+
const { tagsAggregate, ...rest } = entity;
|
|
412
432
|
return {
|
|
413
|
-
...
|
|
433
|
+
...rest,
|
|
434
|
+
tags: convertHasManyToInput(entity.tags),
|
|
435
|
+
author: convertHasOneToInput(entity.author),
|
|
414
436
|
cover: convertHasOneToInput(entity.cover),
|
|
437
|
+
lang: convertHasOneToInput(entity.lang),
|
|
438
|
+
meta: convertHasOneToInput(entity.meta),
|
|
415
439
|
category: convertHasOneToInput(entity.category),
|
|
416
|
-
|
|
440
|
+
website: convertHasOneToInput(entity.website)
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
const tagCategoryToInputCascade = (entity) => {
|
|
444
|
+
var _a, _b;
|
|
445
|
+
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
446
|
+
return {
|
|
447
|
+
...rest,
|
|
448
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
449
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
450
|
+
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => tagCategoryToInputCascade(ent)) }) : void 0,
|
|
451
|
+
parent: entity.parent ? processHasOneClear({ sync: tagCategoryToInputCascade(entity.parent) }) : void 0
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
const tagCategoryToInput = (entity) => {
|
|
455
|
+
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
456
|
+
return {
|
|
457
|
+
...rest,
|
|
458
|
+
tags: convertHasManyToInput(entity.tags),
|
|
459
|
+
lang: convertHasOneToInput(entity.lang),
|
|
460
|
+
children: convertHasManyToInput(entity.children),
|
|
461
|
+
parent: convertHasOneToInput(entity.parent)
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
const tagToInputCascade = (entity) => {
|
|
465
|
+
var _a, _b;
|
|
466
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
467
|
+
return {
|
|
468
|
+
...rest,
|
|
469
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
470
|
+
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
471
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
472
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
473
|
+
category: entity.category ? processHasOneClear({ sync: tagCategoryToInputCascade(entity.category) }) : void 0
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
const tagToInput = (entity) => {
|
|
477
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
478
|
+
return {
|
|
479
|
+
...rest,
|
|
480
|
+
lang: convertHasOneToInput(entity.lang),
|
|
481
|
+
posts: convertHasManyToInput(entity.posts),
|
|
482
|
+
products: convertHasManyToInput(entity.products),
|
|
483
|
+
website: convertHasOneToInput(entity.website),
|
|
484
|
+
category: convertHasOneToInput(entity.category)
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
const mediaOnProductToInputCascade = (entity) => {
|
|
488
|
+
return {
|
|
489
|
+
...entity,
|
|
490
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
491
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
const mediaOnProductToInput = (entity) => {
|
|
495
|
+
return {
|
|
496
|
+
...entity,
|
|
497
|
+
media: convertHasOneToInput(entity.media),
|
|
498
|
+
product: convertHasOneToInput(entity.product)
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
const attachmentOnProductToInputCascade = (entity) => {
|
|
502
|
+
return {
|
|
503
|
+
...entity,
|
|
504
|
+
attachment: entity.attachment ? processHasOneClear({ sync: mediaToInputCascade(entity.attachment) }) : void 0,
|
|
505
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
const attachmentOnProductToInput = (entity) => {
|
|
509
|
+
return {
|
|
510
|
+
...entity,
|
|
511
|
+
attachment: convertHasOneToInput(entity.attachment),
|
|
512
|
+
product: convertHasOneToInput(entity.product)
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
const fAQToInputCascade = (entity) => {
|
|
516
|
+
return {
|
|
517
|
+
...entity,
|
|
518
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
const fAQToInput = (entity) => {
|
|
522
|
+
return {
|
|
523
|
+
...entity,
|
|
524
|
+
product: convertHasOneToInput(entity.product)
|
|
417
525
|
};
|
|
418
526
|
};
|
|
419
|
-
const
|
|
527
|
+
const productRelatedPivotToInputCascade = (entity) => {
|
|
420
528
|
return {
|
|
421
529
|
...entity,
|
|
422
|
-
|
|
423
|
-
|
|
530
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0,
|
|
531
|
+
relatedBy: entity.relatedBy ? processHasOneClear({ sync: productToInputCascade(entity.relatedBy) }) : void 0
|
|
424
532
|
};
|
|
425
533
|
};
|
|
426
|
-
const
|
|
534
|
+
const productRelatedPivotToInput = (entity) => {
|
|
427
535
|
return {
|
|
428
536
|
...entity,
|
|
429
|
-
|
|
430
|
-
|
|
537
|
+
product: convertHasOneToInput(entity.product),
|
|
538
|
+
relatedBy: convertHasOneToInput(entity.relatedBy)
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
const productToInputCascade = (entity) => {
|
|
542
|
+
var _a, _b, _c, _d, _e, _f;
|
|
543
|
+
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, faqsAggregate, relatedPivotsAggregate, relatedByPovitAggregate, ...rest } = entity;
|
|
544
|
+
return {
|
|
545
|
+
...rest,
|
|
546
|
+
category: entity.category ? processHasOneClear({ sync: productCategoryToInputCascade(entity.category) }) : void 0,
|
|
547
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
548
|
+
mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) => mediaOnProductToInputCascade(ent)) }) : void 0,
|
|
549
|
+
attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) => attachmentOnProductToInputCascade(ent)) }) : void 0,
|
|
550
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
551
|
+
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
552
|
+
faqs: entity.faqs ? processHasManyClear({ sync: (_d = entity.faqs) == null ? void 0 : _d.map((ent) => fAQToInputCascade(ent)) }) : void 0,
|
|
553
|
+
relatedPivots: entity.relatedPivots ? processHasManyClear({ sync: (_e = entity.relatedPivots) == null ? void 0 : _e.map((ent) => productRelatedPivotToInputCascade(ent)) }) : void 0,
|
|
554
|
+
creator: entity.creator ? processHasOneClear({ sync: userToInputCascade(entity.creator) }) : void 0,
|
|
555
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
556
|
+
relatedByPovit: entity.relatedByPovit ? processHasManyClear({ sync: (_f = entity.relatedByPovit) == null ? void 0 : _f.map((ent) => productRelatedPivotToInputCascade(ent)) }) : void 0
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
const productToInput = (entity) => {
|
|
560
|
+
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, faqsAggregate, relatedPivotsAggregate, relatedByPovitAggregate, ...rest } = entity;
|
|
561
|
+
return {
|
|
562
|
+
...rest,
|
|
563
|
+
category: convertHasOneToInput(entity.category),
|
|
564
|
+
tags: convertHasManyToInput(entity.tags),
|
|
565
|
+
mediaPivots: convertHasManyToInput(entity.mediaPivots),
|
|
566
|
+
attachmentPivots: convertHasManyToInput(entity.attachmentPivots),
|
|
567
|
+
lang: convertHasOneToInput(entity.lang),
|
|
568
|
+
meta: convertHasOneToInput(entity.meta),
|
|
569
|
+
faqs: convertHasManyToInput(entity.faqs),
|
|
570
|
+
relatedPivots: convertHasManyToInput(entity.relatedPivots),
|
|
571
|
+
creator: convertHasOneToInput(entity.creator),
|
|
572
|
+
website: convertHasOneToInput(entity.website),
|
|
573
|
+
relatedByPovit: convertHasManyToInput(entity.relatedByPovit)
|
|
431
574
|
};
|
|
432
575
|
};
|
|
433
|
-
const
|
|
576
|
+
const spamFilterRuleToInputCascade = (entity) => {
|
|
434
577
|
return {
|
|
435
578
|
...entity,
|
|
436
|
-
|
|
579
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
580
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
437
581
|
};
|
|
438
582
|
};
|
|
439
|
-
const
|
|
583
|
+
const spamFilterRuleToInput = (entity) => {
|
|
440
584
|
return {
|
|
441
585
|
...entity,
|
|
442
|
-
|
|
586
|
+
lang: convertHasOneToInput(entity.lang),
|
|
587
|
+
website: convertHasOneToInput(entity.website)
|
|
443
588
|
};
|
|
444
589
|
};
|
|
445
590
|
const themeFileFolderToInputCascade = (entity) => {
|
|
@@ -630,36 +775,24 @@ const themeToInput = (entity) => {
|
|
|
630
775
|
};
|
|
631
776
|
};
|
|
632
777
|
const themeBranchToInputCascade = (entity) => {
|
|
633
|
-
var _a, _b, _c, _d
|
|
634
|
-
const {
|
|
778
|
+
var _a, _b, _c, _d;
|
|
779
|
+
const { filesAggregate, foldersAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
635
780
|
return {
|
|
636
781
|
...rest,
|
|
637
|
-
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) => frontComponentToInputCascade(ent)) }) : void 0,
|
|
638
|
-
componentCategories: entity.componentCategories ? processHasManyClear({ sync: (_b = entity.componentCategories) == null ? void 0 : _b.map((ent) => componentCategoryToInputCascade(ent)) }) : void 0,
|
|
639
|
-
pages: entity.pages ? processHasManyClear({ sync: (_c = entity.pages) == null ? void 0 : _c.map((ent) => pageToInputCascade(ent)) }) : void 0,
|
|
640
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
641
|
-
config: entity.config ? processHasOneClear({ sync: themeConfigToInputCascade(entity.config) }) : void 0,
|
|
642
|
-
styleConfig: entity.styleConfig ? processHasOneClear({ sync: styleConfigToInputCascade(entity.styleConfig) }) : void 0,
|
|
643
782
|
mockWebsite: entity.mockWebsite ? processHasOneClear({ sync: websiteToInputCascade(entity.mockWebsite) }) : void 0,
|
|
644
|
-
files: entity.files ? processHasManyClear({ sync: (
|
|
645
|
-
folders: entity.folders ? processHasManyClear({ sync: (
|
|
646
|
-
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (
|
|
647
|
-
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (
|
|
783
|
+
files: entity.files ? processHasManyClear({ sync: (_a = entity.files) == null ? void 0 : _a.map((ent) => themeFileToInputCascade(ent)) }) : void 0,
|
|
784
|
+
folders: entity.folders ? processHasManyClear({ sync: (_b = entity.folders) == null ? void 0 : _b.map((ent) => themeFileFolderToInputCascade(ent)) }) : void 0,
|
|
785
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_c = entity.agentThreads) == null ? void 0 : _c.map((ent) => agentThreadToInputCascade(ent)) }) : void 0,
|
|
786
|
+
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_d = entity.tempFiles) == null ? void 0 : _d.map((ent) => tempFileToInputCascade(ent)) }) : void 0,
|
|
648
787
|
marketVersion: entity.marketVersion ? processHasOneClear({ sync: themeVersionToInputCascade(entity.marketVersion) }) : void 0,
|
|
649
788
|
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
650
789
|
belongsToMain: entity.belongsToMain ? processHasOneClear({ sync: themeToInputCascade(entity.belongsToMain) }) : void 0
|
|
651
790
|
};
|
|
652
791
|
};
|
|
653
792
|
const themeBranchToInput = (entity) => {
|
|
654
|
-
const {
|
|
793
|
+
const { filesAggregate, foldersAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
655
794
|
return {
|
|
656
795
|
...rest,
|
|
657
|
-
components: convertHasManyToInput(entity.components),
|
|
658
|
-
componentCategories: convertHasManyToInput(entity.componentCategories),
|
|
659
|
-
pages: convertHasManyToInput(entity.pages),
|
|
660
|
-
lang: convertHasOneToInput(entity.lang),
|
|
661
|
-
config: convertHasOneToInput(entity.config),
|
|
662
|
-
styleConfig: convertHasOneToInput(entity.styleConfig),
|
|
663
796
|
mockWebsite: convertHasOneToInput(entity.mockWebsite),
|
|
664
797
|
files: convertHasManyToInput(entity.files),
|
|
665
798
|
folders: convertHasManyToInput(entity.folders),
|
|
@@ -670,284 +803,53 @@ const themeBranchToInput = (entity) => {
|
|
|
670
803
|
belongsToMain: convertHasOneToInput(entity.belongsToMain)
|
|
671
804
|
};
|
|
672
805
|
};
|
|
673
|
-
const
|
|
806
|
+
const analyticsConfigToInputCascade = (entity) => {
|
|
674
807
|
return {
|
|
675
808
|
...entity,
|
|
676
|
-
|
|
677
|
-
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0
|
|
809
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
678
810
|
};
|
|
679
811
|
};
|
|
680
|
-
const
|
|
812
|
+
const analyticsConfigToInput = (entity) => {
|
|
681
813
|
return {
|
|
682
814
|
...entity,
|
|
683
|
-
|
|
684
|
-
theme: convertHasOneToInput(entity.theme)
|
|
815
|
+
website: convertHasOneToInput(entity.website)
|
|
685
816
|
};
|
|
686
817
|
};
|
|
687
|
-
const
|
|
818
|
+
const websiteSettingsToInputCascade = (entity) => {
|
|
688
819
|
return {
|
|
689
820
|
...entity,
|
|
690
|
-
|
|
691
|
-
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0,
|
|
692
|
-
page: entity.page ? processHasOneClear({ sync: pageToInputCascade(entity.page) }) : void 0,
|
|
693
|
-
post: entity.post ? processHasOneClear({ sync: postToInputCascade(entity.post) }) : void 0
|
|
821
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
694
822
|
};
|
|
695
823
|
};
|
|
696
|
-
const
|
|
824
|
+
const websiteSettingsToInput = (entity) => {
|
|
697
825
|
return {
|
|
698
826
|
...entity,
|
|
699
|
-
|
|
700
|
-
product: convertHasOneToInput(entity.product),
|
|
701
|
-
page: convertHasOneToInput(entity.page),
|
|
702
|
-
post: convertHasOneToInput(entity.post)
|
|
827
|
+
website: convertHasOneToInput(entity.website)
|
|
703
828
|
};
|
|
704
829
|
};
|
|
705
|
-
const
|
|
706
|
-
var _a, _b;
|
|
707
|
-
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
830
|
+
const changeLogToInputCascade = (entity) => {
|
|
708
831
|
return {
|
|
709
|
-
...
|
|
710
|
-
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInputCascade(ent)) }) : void 0,
|
|
711
|
-
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
712
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
713
|
-
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
714
|
-
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInputCascade(entity.parent) }) : void 0,
|
|
832
|
+
...entity,
|
|
715
833
|
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
716
834
|
};
|
|
717
835
|
};
|
|
718
|
-
const
|
|
719
|
-
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
836
|
+
const changeLogToInput = (entity) => {
|
|
720
837
|
return {
|
|
721
|
-
...
|
|
722
|
-
children: convertHasManyToInput(entity.children),
|
|
723
|
-
posts: convertHasManyToInput(entity.posts),
|
|
724
|
-
lang: convertHasOneToInput(entity.lang),
|
|
725
|
-
media: convertHasOneToInput(entity.media),
|
|
726
|
-
parent: convertHasOneToInput(entity.parent),
|
|
838
|
+
...entity,
|
|
727
839
|
website: convertHasOneToInput(entity.website)
|
|
728
840
|
};
|
|
729
841
|
};
|
|
730
|
-
const
|
|
731
|
-
var _a;
|
|
732
|
-
const { tagsAggregate, ...rest } = entity;
|
|
842
|
+
const searchIndexToInputCascade = (entity) => {
|
|
733
843
|
return {
|
|
734
|
-
...
|
|
735
|
-
|
|
736
|
-
author: entity.author ? processHasOneClear({ sync: userToInputCascade(entity.author) }) : void 0,
|
|
737
|
-
cover: entity.cover ? processHasOneClear({ sync: mediaToInputCascade(entity.cover) }) : void 0,
|
|
738
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
739
|
-
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
740
|
-
category: entity.category ? processHasOneClear({ sync: postCategoryToInputCascade(entity.category) }) : void 0,
|
|
844
|
+
...entity,
|
|
845
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
741
846
|
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
742
847
|
};
|
|
743
848
|
};
|
|
744
|
-
const
|
|
745
|
-
const { tagsAggregate, ...rest } = entity;
|
|
849
|
+
const searchIndexToInput = (entity) => {
|
|
746
850
|
return {
|
|
747
|
-
...
|
|
748
|
-
|
|
749
|
-
author: convertHasOneToInput(entity.author),
|
|
750
|
-
cover: convertHasOneToInput(entity.cover),
|
|
751
|
-
lang: convertHasOneToInput(entity.lang),
|
|
752
|
-
meta: convertHasOneToInput(entity.meta),
|
|
753
|
-
category: convertHasOneToInput(entity.category),
|
|
754
|
-
website: convertHasOneToInput(entity.website)
|
|
755
|
-
};
|
|
756
|
-
};
|
|
757
|
-
const tagCategoryToInputCascade = (entity) => {
|
|
758
|
-
var _a, _b;
|
|
759
|
-
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
760
|
-
return {
|
|
761
|
-
...rest,
|
|
762
|
-
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
763
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
764
|
-
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => tagCategoryToInputCascade(ent)) }) : void 0,
|
|
765
|
-
parent: entity.parent ? processHasOneClear({ sync: tagCategoryToInputCascade(entity.parent) }) : void 0
|
|
766
|
-
};
|
|
767
|
-
};
|
|
768
|
-
const tagCategoryToInput = (entity) => {
|
|
769
|
-
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
770
|
-
return {
|
|
771
|
-
...rest,
|
|
772
|
-
tags: convertHasManyToInput(entity.tags),
|
|
773
|
-
lang: convertHasOneToInput(entity.lang),
|
|
774
|
-
children: convertHasManyToInput(entity.children),
|
|
775
|
-
parent: convertHasOneToInput(entity.parent)
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
const tagToInputCascade = (entity) => {
|
|
779
|
-
var _a, _b;
|
|
780
|
-
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
781
|
-
return {
|
|
782
|
-
...rest,
|
|
783
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
784
|
-
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
785
|
-
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
786
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
787
|
-
category: entity.category ? processHasOneClear({ sync: tagCategoryToInputCascade(entity.category) }) : void 0
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
const tagToInput = (entity) => {
|
|
791
|
-
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
792
|
-
return {
|
|
793
|
-
...rest,
|
|
794
|
-
lang: convertHasOneToInput(entity.lang),
|
|
795
|
-
posts: convertHasManyToInput(entity.posts),
|
|
796
|
-
products: convertHasManyToInput(entity.products),
|
|
797
|
-
website: convertHasOneToInput(entity.website),
|
|
798
|
-
category: convertHasOneToInput(entity.category)
|
|
799
|
-
};
|
|
800
|
-
};
|
|
801
|
-
const mediaOnProductToInputCascade = (entity) => {
|
|
802
|
-
return {
|
|
803
|
-
...entity,
|
|
804
|
-
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
805
|
-
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
806
|
-
};
|
|
807
|
-
};
|
|
808
|
-
const mediaOnProductToInput = (entity) => {
|
|
809
|
-
return {
|
|
810
|
-
...entity,
|
|
811
|
-
media: convertHasOneToInput(entity.media),
|
|
812
|
-
product: convertHasOneToInput(entity.product)
|
|
813
|
-
};
|
|
814
|
-
};
|
|
815
|
-
const attachmentOnProductToInputCascade = (entity) => {
|
|
816
|
-
return {
|
|
817
|
-
...entity,
|
|
818
|
-
attachment: entity.attachment ? processHasOneClear({ sync: mediaToInputCascade(entity.attachment) }) : void 0,
|
|
819
|
-
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
820
|
-
};
|
|
821
|
-
};
|
|
822
|
-
const attachmentOnProductToInput = (entity) => {
|
|
823
|
-
return {
|
|
824
|
-
...entity,
|
|
825
|
-
attachment: convertHasOneToInput(entity.attachment),
|
|
826
|
-
product: convertHasOneToInput(entity.product)
|
|
827
|
-
};
|
|
828
|
-
};
|
|
829
|
-
const fAQToInputCascade = (entity) => {
|
|
830
|
-
return {
|
|
831
|
-
...entity,
|
|
832
|
-
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
833
|
-
};
|
|
834
|
-
};
|
|
835
|
-
const fAQToInput = (entity) => {
|
|
836
|
-
return {
|
|
837
|
-
...entity,
|
|
838
|
-
product: convertHasOneToInput(entity.product)
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
const productRelatedPivotToInputCascade = (entity) => {
|
|
842
|
-
return {
|
|
843
|
-
...entity,
|
|
844
|
-
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0,
|
|
845
|
-
relatedBy: entity.relatedBy ? processHasOneClear({ sync: productToInputCascade(entity.relatedBy) }) : void 0
|
|
846
|
-
};
|
|
847
|
-
};
|
|
848
|
-
const productRelatedPivotToInput = (entity) => {
|
|
849
|
-
return {
|
|
850
|
-
...entity,
|
|
851
|
-
product: convertHasOneToInput(entity.product),
|
|
852
|
-
relatedBy: convertHasOneToInput(entity.relatedBy)
|
|
853
|
-
};
|
|
854
|
-
};
|
|
855
|
-
const productToInputCascade = (entity) => {
|
|
856
|
-
var _a, _b, _c, _d, _e, _f;
|
|
857
|
-
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, faqsAggregate, relatedPivotsAggregate, relatedByPovitAggregate, ...rest } = entity;
|
|
858
|
-
return {
|
|
859
|
-
...rest,
|
|
860
|
-
category: entity.category ? processHasOneClear({ sync: productCategoryToInputCascade(entity.category) }) : void 0,
|
|
861
|
-
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
862
|
-
mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) => mediaOnProductToInputCascade(ent)) }) : void 0,
|
|
863
|
-
attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) => attachmentOnProductToInputCascade(ent)) }) : void 0,
|
|
864
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
865
|
-
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
866
|
-
faqs: entity.faqs ? processHasManyClear({ sync: (_d = entity.faqs) == null ? void 0 : _d.map((ent) => fAQToInputCascade(ent)) }) : void 0,
|
|
867
|
-
relatedPivots: entity.relatedPivots ? processHasManyClear({ sync: (_e = entity.relatedPivots) == null ? void 0 : _e.map((ent) => productRelatedPivotToInputCascade(ent)) }) : void 0,
|
|
868
|
-
creator: entity.creator ? processHasOneClear({ sync: userToInputCascade(entity.creator) }) : void 0,
|
|
869
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
870
|
-
relatedByPovit: entity.relatedByPovit ? processHasManyClear({ sync: (_f = entity.relatedByPovit) == null ? void 0 : _f.map((ent) => productRelatedPivotToInputCascade(ent)) }) : void 0
|
|
871
|
-
};
|
|
872
|
-
};
|
|
873
|
-
const productToInput = (entity) => {
|
|
874
|
-
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, faqsAggregate, relatedPivotsAggregate, relatedByPovitAggregate, ...rest } = entity;
|
|
875
|
-
return {
|
|
876
|
-
...rest,
|
|
877
|
-
category: convertHasOneToInput(entity.category),
|
|
878
|
-
tags: convertHasManyToInput(entity.tags),
|
|
879
|
-
mediaPivots: convertHasManyToInput(entity.mediaPivots),
|
|
880
|
-
attachmentPivots: convertHasManyToInput(entity.attachmentPivots),
|
|
881
|
-
lang: convertHasOneToInput(entity.lang),
|
|
882
|
-
meta: convertHasOneToInput(entity.meta),
|
|
883
|
-
faqs: convertHasManyToInput(entity.faqs),
|
|
884
|
-
relatedPivots: convertHasManyToInput(entity.relatedPivots),
|
|
885
|
-
creator: convertHasOneToInput(entity.creator),
|
|
886
|
-
website: convertHasOneToInput(entity.website),
|
|
887
|
-
relatedByPovit: convertHasManyToInput(entity.relatedByPovit)
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
const spamFilterRuleToInputCascade = (entity) => {
|
|
891
|
-
return {
|
|
892
|
-
...entity,
|
|
893
|
-
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
894
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
|
-
const spamFilterRuleToInput = (entity) => {
|
|
898
|
-
return {
|
|
899
|
-
...entity,
|
|
900
|
-
lang: convertHasOneToInput(entity.lang),
|
|
901
|
-
website: convertHasOneToInput(entity.website)
|
|
902
|
-
};
|
|
903
|
-
};
|
|
904
|
-
const analyticsConfigToInputCascade = (entity) => {
|
|
905
|
-
return {
|
|
906
|
-
...entity,
|
|
907
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
const analyticsConfigToInput = (entity) => {
|
|
911
|
-
return {
|
|
912
|
-
...entity,
|
|
913
|
-
website: convertHasOneToInput(entity.website)
|
|
914
|
-
};
|
|
915
|
-
};
|
|
916
|
-
const websiteSettingsToInputCascade = (entity) => {
|
|
917
|
-
return {
|
|
918
|
-
...entity,
|
|
919
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
920
|
-
};
|
|
921
|
-
};
|
|
922
|
-
const websiteSettingsToInput = (entity) => {
|
|
923
|
-
return {
|
|
924
|
-
...entity,
|
|
925
|
-
website: convertHasOneToInput(entity.website)
|
|
926
|
-
};
|
|
927
|
-
};
|
|
928
|
-
const changeLogToInputCascade = (entity) => {
|
|
929
|
-
return {
|
|
930
|
-
...entity,
|
|
931
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
932
|
-
};
|
|
933
|
-
};
|
|
934
|
-
const changeLogToInput = (entity) => {
|
|
935
|
-
return {
|
|
936
|
-
...entity,
|
|
937
|
-
website: convertHasOneToInput(entity.website)
|
|
938
|
-
};
|
|
939
|
-
};
|
|
940
|
-
const searchIndexToInputCascade = (entity) => {
|
|
941
|
-
return {
|
|
942
|
-
...entity,
|
|
943
|
-
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
944
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
945
|
-
};
|
|
946
|
-
};
|
|
947
|
-
const searchIndexToInput = (entity) => {
|
|
948
|
-
return {
|
|
949
|
-
...entity,
|
|
950
|
-
media: convertHasOneToInput(entity.media),
|
|
851
|
+
...entity,
|
|
852
|
+
media: convertHasOneToInput(entity.media),
|
|
951
853
|
website: convertHasOneToInput(entity.website)
|
|
952
854
|
};
|
|
953
855
|
};
|
|
@@ -996,18 +898,6 @@ const userOperationToInput = (entity) => {
|
|
|
996
898
|
website: convertHasOneToInput(entity.website)
|
|
997
899
|
};
|
|
998
900
|
};
|
|
999
|
-
const svgIconToInputCascade = (entity) => {
|
|
1000
|
-
return {
|
|
1001
|
-
...entity,
|
|
1002
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1003
|
-
};
|
|
1004
|
-
};
|
|
1005
|
-
const svgIconToInput = (entity) => {
|
|
1006
|
-
return {
|
|
1007
|
-
...entity,
|
|
1008
|
-
website: convertHasOneToInput(entity.website)
|
|
1009
|
-
};
|
|
1010
|
-
};
|
|
1011
901
|
const agentMemoFileToInputCascade = (entity) => {
|
|
1012
902
|
return {
|
|
1013
903
|
...entity,
|
|
@@ -1044,8 +934,8 @@ const agentMemoFolderToInput = (entity) => {
|
|
|
1044
934
|
};
|
|
1045
935
|
};
|
|
1046
936
|
const websiteToInputCascade = (entity) => {
|
|
1047
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u
|
|
1048
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate,
|
|
937
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
938
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, memoFoldersAggregate, memoFilesAggregate, ...rest } = entity;
|
|
1049
939
|
return {
|
|
1050
940
|
...rest,
|
|
1051
941
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInputCascade(entity.websiteType) }) : void 0,
|
|
@@ -1062,25 +952,24 @@ const websiteToInputCascade = (entity) => {
|
|
|
1062
952
|
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_j = entity.partsOfMedia) == null ? void 0 : _j.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1063
953
|
langs: entity.langs ? processHasManyClear({ sync: (_k = entity.langs) == null ? void 0 : _k.map((ent) => langToInputCascade(ent)) }) : void 0,
|
|
1064
954
|
baseLang: entity.baseLang ? processHasOneClear({ sync: langToInputCascade(entity.baseLang) }) : void 0,
|
|
1065
|
-
|
|
955
|
+
themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.themeBranch) }) : void 0,
|
|
1066
956
|
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInputCascade(entity.analyticsConfig) }) : void 0,
|
|
1067
957
|
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInputCascade(entity.settings) }) : void 0,
|
|
1068
|
-
changelogs: entity.changelogs ? processHasManyClear({ sync: (
|
|
1069
|
-
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (
|
|
1070
|
-
bulletins: entity.bulletins ? processHasManyClear({ sync: (
|
|
1071
|
-
snapshots: entity.snapshots ? processHasManyClear({ sync: (
|
|
1072
|
-
userOperations: entity.userOperations ? processHasManyClear({ sync: (
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
memoFiles: entity.memoFiles ? processHasManyClear({ sync: (_w = entity.memoFiles) == null ? void 0 : _w.map((ent) => agentMemoFileToInputCascade(ent)) }) : void 0,
|
|
958
|
+
changelogs: entity.changelogs ? processHasManyClear({ sync: (_l = entity.changelogs) == null ? void 0 : _l.map((ent) => changeLogToInputCascade(ent)) }) : void 0,
|
|
959
|
+
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (_m = entity.searchIndexes) == null ? void 0 : _m.map((ent) => searchIndexToInputCascade(ent)) }) : void 0,
|
|
960
|
+
bulletins: entity.bulletins ? processHasManyClear({ sync: (_n = entity.bulletins) == null ? void 0 : _n.map((ent) => bulletinToInputCascade(ent)) }) : void 0,
|
|
961
|
+
snapshots: entity.snapshots ? processHasManyClear({ sync: (_o = entity.snapshots) == null ? void 0 : _o.map((ent) => websiteSnapshotToInputCascade(ent)) }) : void 0,
|
|
962
|
+
userOperations: entity.userOperations ? processHasManyClear({ sync: (_p = entity.userOperations) == null ? void 0 : _p.map((ent) => userOperationToInputCascade(ent)) }) : void 0,
|
|
963
|
+
tags: entity.tags ? processHasManyClear({ sync: (_q = entity.tags) == null ? void 0 : _q.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
964
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_r = entity.agentThreads) == null ? void 0 : _r.map((ent) => agentThreadToInputCascade(ent)) }) : void 0,
|
|
965
|
+
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_s = entity.tempFiles) == null ? void 0 : _s.map((ent) => tempFileToInputCascade(ent)) }) : void 0,
|
|
966
|
+
memoFolders: entity.memoFolders ? processHasManyClear({ sync: (_t = entity.memoFolders) == null ? void 0 : _t.map((ent) => agentMemoFolderToInputCascade(ent)) }) : void 0,
|
|
967
|
+
memoFiles: entity.memoFiles ? processHasManyClear({ sync: (_u = entity.memoFiles) == null ? void 0 : _u.map((ent) => agentMemoFileToInputCascade(ent)) }) : void 0,
|
|
1079
968
|
mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.mockBranch) }) : void 0
|
|
1080
969
|
};
|
|
1081
970
|
};
|
|
1082
971
|
const websiteToInput = (entity) => {
|
|
1083
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate,
|
|
972
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, memoFoldersAggregate, memoFilesAggregate, ...rest } = entity;
|
|
1084
973
|
return {
|
|
1085
974
|
...rest,
|
|
1086
975
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -1097,7 +986,7 @@ const websiteToInput = (entity) => {
|
|
|
1097
986
|
partsOfMedia: convertHasManyToInput(entity.partsOfMedia),
|
|
1098
987
|
langs: convertHasManyToInput(entity.langs),
|
|
1099
988
|
baseLang: convertHasOneToInput(entity.baseLang),
|
|
1100
|
-
|
|
989
|
+
themeBranch: convertHasOneToInput(entity.themeBranch),
|
|
1101
990
|
analyticsConfig: convertHasOneToInput(entity.analyticsConfig),
|
|
1102
991
|
settings: convertHasOneToInput(entity.settings),
|
|
1103
992
|
changelogs: convertHasManyToInput(entity.changelogs),
|
|
@@ -1105,7 +994,6 @@ const websiteToInput = (entity) => {
|
|
|
1105
994
|
bulletins: convertHasManyToInput(entity.bulletins),
|
|
1106
995
|
snapshots: convertHasManyToInput(entity.snapshots),
|
|
1107
996
|
userOperations: convertHasManyToInput(entity.userOperations),
|
|
1108
|
-
svgIcons: convertHasManyToInput(entity.svgIcons),
|
|
1109
997
|
tags: convertHasManyToInput(entity.tags),
|
|
1110
998
|
agentThreads: convertHasManyToInput(entity.agentThreads),
|
|
1111
999
|
tempFiles: convertHasManyToInput(entity.tempFiles),
|
|
@@ -1155,8 +1043,8 @@ const enquiryToInput = (entity) => {
|
|
|
1155
1043
|
};
|
|
1156
1044
|
};
|
|
1157
1045
|
const langToInputCascade = (entity) => {
|
|
1158
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n
|
|
1159
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate,
|
|
1046
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
1047
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
1160
1048
|
return {
|
|
1161
1049
|
...rest,
|
|
1162
1050
|
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInputCascade(ent)) }) : void 0,
|
|
@@ -1170,14 +1058,13 @@ const langToInputCascade = (entity) => {
|
|
|
1170
1058
|
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_i = entity.webPartsOfMedia) == null ? void 0 : _i.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1171
1059
|
websites: entity.websites ? processHasManyClear({ sync: (_j = entity.websites) == null ? void 0 : _j.map((ent) => websiteToInputCascade(ent)) }) : void 0,
|
|
1172
1060
|
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_k = entity.baseLangOf) == null ? void 0 : _k.map((ent) => websiteToInputCascade(ent)) }) : void 0,
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
tagCategories: entity.tagCategories ? processHasManyClear({ sync: (_o = entity.tagCategories) == null ? void 0 : _o.map((ent) => tagCategoryToInputCascade(ent)) }) : void 0
|
|
1061
|
+
bulletins: entity.bulletins ? processHasManyClear({ sync: (_l = entity.bulletins) == null ? void 0 : _l.map((ent) => bulletinToInputCascade(ent)) }) : void 0,
|
|
1062
|
+
tags: entity.tags ? processHasManyClear({ sync: (_m = entity.tags) == null ? void 0 : _m.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
1063
|
+
tagCategories: entity.tagCategories ? processHasManyClear({ sync: (_n = entity.tagCategories) == null ? void 0 : _n.map((ent) => tagCategoryToInputCascade(ent)) }) : void 0
|
|
1177
1064
|
};
|
|
1178
1065
|
};
|
|
1179
1066
|
const langToInput = (entity) => {
|
|
1180
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate,
|
|
1067
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
1181
1068
|
return {
|
|
1182
1069
|
...rest,
|
|
1183
1070
|
webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
|
|
@@ -1191,7 +1078,6 @@ const langToInput = (entity) => {
|
|
|
1191
1078
|
webPartsOfMedia: convertHasManyToInput(entity.webPartsOfMedia),
|
|
1192
1079
|
websites: convertHasManyToInput(entity.websites),
|
|
1193
1080
|
baseLangOf: convertHasManyToInput(entity.baseLangOf),
|
|
1194
|
-
themes: convertHasManyToInput(entity.themes),
|
|
1195
1081
|
bulletins: convertHasManyToInput(entity.bulletins),
|
|
1196
1082
|
tags: convertHasManyToInput(entity.tags),
|
|
1197
1083
|
tagCategories: convertHasManyToInput(entity.tagCategories)
|
|
@@ -1221,8 +1107,8 @@ const mediaFolderToInput = (entity) => {
|
|
|
1221
1107
|
};
|
|
1222
1108
|
};
|
|
1223
1109
|
const mediaToInputCascade = (entity) => {
|
|
1224
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
1225
|
-
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate,
|
|
1110
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1111
|
+
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, pageMetaAggregate, searchIndexAggregate, snapshotAggregate, ...rest } = entity;
|
|
1226
1112
|
return {
|
|
1227
1113
|
...rest,
|
|
1228
1114
|
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInputCascade(entity.folder) }) : void 0,
|
|
@@ -1234,18 +1120,16 @@ const mediaToInputCascade = (entity) => {
|
|
|
1234
1120
|
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_d = entity.productAttacPivots) == null ? void 0 : _d.map((ent) => attachmentOnProductToInputCascade(ent)) }) : void 0,
|
|
1235
1121
|
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
1236
1122
|
postCategory: entity.postCategory ? processHasOneClear({ sync: postCategoryToInputCascade(entity.postCategory) }) : void 0,
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
snapshot: entity.snapshot ? processHasManyClear({ sync: (_h = entity.snapshot) == null ? void 0 : _h.map((ent) => websiteSnapshotToInputCascade(ent)) }) : void 0,
|
|
1241
|
-
coverOfComponent: entity.coverOfComponent ? processHasManyClear({ sync: (_i = entity.coverOfComponent) == null ? void 0 : _i.map((ent) => frontComponentToInputCascade(ent)) }) : void 0,
|
|
1123
|
+
pageMeta: entity.pageMeta ? processHasManyClear({ sync: (_e = entity.pageMeta) == null ? void 0 : _e.map((ent) => pageMetaToInputCascade(ent)) }) : void 0,
|
|
1124
|
+
searchIndex: entity.searchIndex ? processHasManyClear({ sync: (_f = entity.searchIndex) == null ? void 0 : _f.map((ent) => searchIndexToInputCascade(ent)) }) : void 0,
|
|
1125
|
+
snapshot: entity.snapshot ? processHasManyClear({ sync: (_g = entity.snapshot) == null ? void 0 : _g.map((ent) => websiteSnapshotToInputCascade(ent)) }) : void 0,
|
|
1242
1126
|
attachmentOfEnquiry: entity.attachmentOfEnquiry ? processHasOneClear({ sync: enquiryToInputCascade(entity.attachmentOfEnquiry) }) : void 0,
|
|
1243
1127
|
coverOfTheme: entity.coverOfTheme ? processHasOneClear({ sync: themeToInputCascade(entity.coverOfTheme) }) : void 0,
|
|
1244
1128
|
owner: entity.owner ? processHasOneClear({ sync: userToInputCascade(entity.owner) }) : void 0
|
|
1245
1129
|
};
|
|
1246
1130
|
};
|
|
1247
1131
|
const mediaToInput = (entity) => {
|
|
1248
|
-
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate,
|
|
1132
|
+
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, pageMetaAggregate, searchIndexAggregate, snapshotAggregate, ...rest } = entity;
|
|
1249
1133
|
return {
|
|
1250
1134
|
...rest,
|
|
1251
1135
|
folder: convertHasOneToInput(entity.folder),
|
|
@@ -1257,11 +1141,9 @@ const mediaToInput = (entity) => {
|
|
|
1257
1141
|
productAttacPivots: convertHasManyToInput(entity.productAttacPivots),
|
|
1258
1142
|
website: convertHasOneToInput(entity.website),
|
|
1259
1143
|
postCategory: convertHasOneToInput(entity.postCategory),
|
|
1260
|
-
usedByThemConfig: convertHasManyToInput(entity.usedByThemConfig),
|
|
1261
1144
|
pageMeta: convertHasManyToInput(entity.pageMeta),
|
|
1262
1145
|
searchIndex: convertHasManyToInput(entity.searchIndex),
|
|
1263
1146
|
snapshot: convertHasManyToInput(entity.snapshot),
|
|
1264
|
-
coverOfComponent: convertHasManyToInput(entity.coverOfComponent),
|
|
1265
1147
|
attachmentOfEnquiry: convertHasOneToInput(entity.attachmentOfEnquiry),
|
|
1266
1148
|
coverOfTheme: convertHasOneToInput(entity.coverOfTheme),
|
|
1267
1149
|
owner: convertHasOneToInput(entity.owner)
|
|
@@ -1492,6 +1374,7 @@ var LangDistinctEnum = /* @__PURE__ */ ((LangDistinctEnum2) => {
|
|
|
1492
1374
|
LangDistinctEnum2["cnName"] = "cnName";
|
|
1493
1375
|
LangDistinctEnum2["htmlLang"] = "htmlLang";
|
|
1494
1376
|
LangDistinctEnum2["urlFragment"] = "urlFragment";
|
|
1377
|
+
LangDistinctEnum2["dir"] = "dir";
|
|
1495
1378
|
return LangDistinctEnum2;
|
|
1496
1379
|
})(LangDistinctEnum || {});
|
|
1497
1380
|
const WebsiteTypeEntityName = "WebsiteType";
|
|
@@ -1509,22 +1392,6 @@ var WebsiteTypeDistinctEnum = /* @__PURE__ */ ((WebsiteTypeDistinctEnum2) => {
|
|
|
1509
1392
|
WebsiteTypeDistinctEnum2["level"] = "level";
|
|
1510
1393
|
return WebsiteTypeDistinctEnum2;
|
|
1511
1394
|
})(WebsiteTypeDistinctEnum || {});
|
|
1512
|
-
const PageEntityName = "Page";
|
|
1513
|
-
const PageEntityLabel = "";
|
|
1514
|
-
var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
1515
|
-
PageDistinctEnum2["id"] = "id";
|
|
1516
|
-
PageDistinctEnum2["title"] = "title";
|
|
1517
|
-
PageDistinctEnum2["remark"] = "remark";
|
|
1518
|
-
PageDistinctEnum2["pageType"] = "pageType";
|
|
1519
|
-
PageDistinctEnum2["dataSource"] = "dataSource";
|
|
1520
|
-
PageDistinctEnum2["content2"] = "content2";
|
|
1521
|
-
PageDistinctEnum2["createdAt"] = "createdAt";
|
|
1522
|
-
PageDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1523
|
-
PageDistinctEnum2["slug"] = "slug";
|
|
1524
|
-
PageDistinctEnum2["description"] = "description";
|
|
1525
|
-
PageDistinctEnum2["code"] = "code";
|
|
1526
|
-
return PageDistinctEnum2;
|
|
1527
|
-
})(PageDistinctEnum || {});
|
|
1528
1395
|
const PostEntityName = "Post";
|
|
1529
1396
|
const PostEntityLabel = "文章";
|
|
1530
1397
|
var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
@@ -1833,39 +1700,6 @@ var SlugableDistinctEnum = /* @__PURE__ */ ((SlugableDistinctEnum2) => {
|
|
|
1833
1700
|
SlugableDistinctEnum2["description"] = "description";
|
|
1834
1701
|
return SlugableDistinctEnum2;
|
|
1835
1702
|
})(SlugableDistinctEnum || {});
|
|
1836
|
-
const FrontComponentEntityName = "FrontComponent";
|
|
1837
|
-
const FrontComponentEntityLabel = "";
|
|
1838
|
-
var FrontComponentDistinctEnum = /* @__PURE__ */ ((FrontComponentDistinctEnum2) => {
|
|
1839
|
-
FrontComponentDistinctEnum2["id"] = "id";
|
|
1840
|
-
FrontComponentDistinctEnum2["name"] = "name";
|
|
1841
|
-
FrontComponentDistinctEnum2["title"] = "title";
|
|
1842
|
-
FrontComponentDistinctEnum2["seqValue"] = "seqValue";
|
|
1843
|
-
FrontComponentDistinctEnum2["propsSchema"] = "propsSchema";
|
|
1844
|
-
FrontComponentDistinctEnum2["propsTest"] = "propsTest";
|
|
1845
|
-
FrontComponentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1846
|
-
FrontComponentDistinctEnum2["createdAt"] = "createdAt";
|
|
1847
|
-
FrontComponentDistinctEnum2["slots"] = "slots";
|
|
1848
|
-
FrontComponentDistinctEnum2["droppable"] = "droppable";
|
|
1849
|
-
FrontComponentDistinctEnum2["isInMarket"] = "isInMarket";
|
|
1850
|
-
FrontComponentDistinctEnum2["code"] = "code";
|
|
1851
|
-
FrontComponentDistinctEnum2["description"] = "description";
|
|
1852
|
-
FrontComponentDistinctEnum2["parentId"] = "parentId";
|
|
1853
|
-
FrontComponentDistinctEnum2["isSectionBlock"] = "isSectionBlock";
|
|
1854
|
-
return FrontComponentDistinctEnum2;
|
|
1855
|
-
})(FrontComponentDistinctEnum || {});
|
|
1856
|
-
const ComponentCategoryEntityName = "ComponentCategory";
|
|
1857
|
-
const ComponentCategoryEntityLabel = "";
|
|
1858
|
-
var ComponentCategoryDistinctEnum = /* @__PURE__ */ ((ComponentCategoryDistinctEnum2) => {
|
|
1859
|
-
ComponentCategoryDistinctEnum2["id"] = "id";
|
|
1860
|
-
ComponentCategoryDistinctEnum2["name"] = "name";
|
|
1861
|
-
ComponentCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1862
|
-
ComponentCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1863
|
-
ComponentCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1864
|
-
ComponentCategoryDistinctEnum2["isInMarket"] = "isInMarket";
|
|
1865
|
-
ComponentCategoryDistinctEnum2["isSectionBlock"] = "isSectionBlock";
|
|
1866
|
-
ComponentCategoryDistinctEnum2["title"] = "title";
|
|
1867
|
-
return ComponentCategoryDistinctEnum2;
|
|
1868
|
-
})(ComponentCategoryDistinctEnum || {});
|
|
1869
1703
|
var MarketableDistinctEnum = /* @__PURE__ */ ((MarketableDistinctEnum2) => {
|
|
1870
1704
|
MarketableDistinctEnum2["id"] = "id";
|
|
1871
1705
|
MarketableDistinctEnum2["title"] = "title";
|
|
@@ -1899,29 +1733,6 @@ var ThemeInMarketDistinctEnum = /* @__PURE__ */ ((ThemeInMarketDistinctEnum2) =>
|
|
|
1899
1733
|
ThemeInMarketDistinctEnum2["createdAt"] = "createdAt";
|
|
1900
1734
|
return ThemeInMarketDistinctEnum2;
|
|
1901
1735
|
})(ThemeInMarketDistinctEnum || {});
|
|
1902
|
-
const ThemeConfigEntityName = "ThemeConfig";
|
|
1903
|
-
const ThemeConfigEntityLabel = "";
|
|
1904
|
-
var ThemeConfigDistinctEnum = /* @__PURE__ */ ((ThemeConfigDistinctEnum2) => {
|
|
1905
|
-
ThemeConfigDistinctEnum2["id"] = "id";
|
|
1906
|
-
ThemeConfigDistinctEnum2["websiteTitle"] = "websiteTitle";
|
|
1907
|
-
ThemeConfigDistinctEnum2["emailTemplates"] = "emailTemplates";
|
|
1908
|
-
ThemeConfigDistinctEnum2["contact"] = "contact";
|
|
1909
|
-
ThemeConfigDistinctEnum2["address"] = "address";
|
|
1910
|
-
ThemeConfigDistinctEnum2["email"] = "email";
|
|
1911
|
-
ThemeConfigDistinctEnum2["tel"] = "tel";
|
|
1912
|
-
ThemeConfigDistinctEnum2["fax"] = "fax";
|
|
1913
|
-
ThemeConfigDistinctEnum2["mobile"] = "mobile";
|
|
1914
|
-
ThemeConfigDistinctEnum2["wechat"] = "wechat";
|
|
1915
|
-
ThemeConfigDistinctEnum2["domain"] = "domain";
|
|
1916
|
-
ThemeConfigDistinctEnum2["svgIcon"] = "svgIcon";
|
|
1917
|
-
ThemeConfigDistinctEnum2["themeColor"] = "themeColor";
|
|
1918
|
-
ThemeConfigDistinctEnum2["pngIcon"] = "pngIcon";
|
|
1919
|
-
ThemeConfigDistinctEnum2["icoIcon"] = "icoIcon";
|
|
1920
|
-
ThemeConfigDistinctEnum2["appleTouchIcon"] = "appleTouchIcon";
|
|
1921
|
-
ThemeConfigDistinctEnum2["redirects"] = "redirects";
|
|
1922
|
-
ThemeConfigDistinctEnum2["previewUrl"] = "previewUrl";
|
|
1923
|
-
return ThemeConfigDistinctEnum2;
|
|
1924
|
-
})(ThemeConfigDistinctEnum || {});
|
|
1925
1736
|
const AnalyticsConfigEntityName = "AnalyticsConfig";
|
|
1926
1737
|
const AnalyticsConfigEntityLabel = "";
|
|
1927
1738
|
var AnalyticsConfigDistinctEnum = /* @__PURE__ */ ((AnalyticsConfigDistinctEnum2) => {
|
|
@@ -1962,23 +1773,6 @@ var ThemeCategoryDistinctEnum = /* @__PURE__ */ ((ThemeCategoryDistinctEnum2) =>
|
|
|
1962
1773
|
ThemeCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1963
1774
|
return ThemeCategoryDistinctEnum2;
|
|
1964
1775
|
})(ThemeCategoryDistinctEnum || {});
|
|
1965
|
-
const StyleConfigEntityName = "StyleConfig";
|
|
1966
|
-
const StyleConfigEntityLabel = "";
|
|
1967
|
-
var StyleConfigDistinctEnum = /* @__PURE__ */ ((StyleConfigDistinctEnum2) => {
|
|
1968
|
-
StyleConfigDistinctEnum2["id"] = "id";
|
|
1969
|
-
StyleConfigDistinctEnum2["name"] = "name";
|
|
1970
|
-
StyleConfigDistinctEnum2["description"] = "description";
|
|
1971
|
-
StyleConfigDistinctEnum2["tailwindConfig"] = "tailwindConfig";
|
|
1972
|
-
StyleConfigDistinctEnum2["css"] = "css";
|
|
1973
|
-
StyleConfigDistinctEnum2["cssVariants"] = "cssVariants";
|
|
1974
|
-
StyleConfigDistinctEnum2["isInMarket"] = "isInMarket";
|
|
1975
|
-
StyleConfigDistinctEnum2["createdAt"] = "createdAt";
|
|
1976
|
-
StyleConfigDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1977
|
-
StyleConfigDistinctEnum2["headCode"] = "headCode";
|
|
1978
|
-
StyleConfigDistinctEnum2["footCode"] = "footCode";
|
|
1979
|
-
StyleConfigDistinctEnum2["imageSizes"] = "imageSizes";
|
|
1980
|
-
return StyleConfigDistinctEnum2;
|
|
1981
|
-
})(StyleConfigDistinctEnum || {});
|
|
1982
1776
|
var CookieConsentStrategy = /* @__PURE__ */ ((CookieConsentStrategy2) => {
|
|
1983
1777
|
CookieConsentStrategy2["EU_ONLY"] = "EU_ONLY";
|
|
1984
1778
|
CookieConsentStrategy2["ALWAYS_SHOW"] = "ALWAYS_SHOW";
|
|
@@ -2218,18 +2012,6 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
2218
2012
|
ThemeDistinctEnum2["slug"] = "slug";
|
|
2219
2013
|
return ThemeDistinctEnum2;
|
|
2220
2014
|
})(ThemeDistinctEnum || {});
|
|
2221
|
-
const SvgIconEntityName = "SvgIcon";
|
|
2222
|
-
const SvgIconEntityLabel = "";
|
|
2223
|
-
var SvgIconDistinctEnum = /* @__PURE__ */ ((SvgIconDistinctEnum2) => {
|
|
2224
|
-
SvgIconDistinctEnum2["id"] = "id";
|
|
2225
|
-
SvgIconDistinctEnum2["name"] = "name";
|
|
2226
|
-
SvgIconDistinctEnum2["title"] = "title";
|
|
2227
|
-
SvgIconDistinctEnum2["code"] = "code";
|
|
2228
|
-
SvgIconDistinctEnum2["description"] = "description";
|
|
2229
|
-
SvgIconDistinctEnum2["createdAt"] = "createdAt";
|
|
2230
|
-
SvgIconDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2231
|
-
return SvgIconDistinctEnum2;
|
|
2232
|
-
})(SvgIconDistinctEnum || {});
|
|
2233
2015
|
const ThemeFileEntityName = "ThemeFile";
|
|
2234
2016
|
const ThemeFileEntityLabel = "";
|
|
2235
2017
|
var ThemeFileDistinctEnum = /* @__PURE__ */ ((ThemeFileDistinctEnum2) => {
|
|
@@ -2598,278 +2380,225 @@ class ProductCategoryQueryOptions extends QueryOptions {
|
|
|
2598
2380
|
return this;
|
|
2599
2381
|
}
|
|
2600
2382
|
}
|
|
2601
|
-
class
|
|
2383
|
+
class PageMetaQueryOptions extends QueryOptions {
|
|
2602
2384
|
constructor(fields, queryArgs) {
|
|
2603
|
-
super(
|
|
2385
|
+
super(PageMetaEntityName, fields, queryArgs);
|
|
2604
2386
|
}
|
|
2605
2387
|
id() {
|
|
2606
2388
|
this.addField("id");
|
|
2607
2389
|
return this;
|
|
2608
2390
|
}
|
|
2609
|
-
|
|
2610
|
-
this.addField("
|
|
2391
|
+
seoTitle() {
|
|
2392
|
+
this.addField("seoTitle");
|
|
2611
2393
|
return this;
|
|
2612
2394
|
}
|
|
2613
|
-
|
|
2614
|
-
this.addField("
|
|
2395
|
+
seoKeywords() {
|
|
2396
|
+
this.addField("seoKeywords");
|
|
2615
2397
|
return this;
|
|
2616
2398
|
}
|
|
2617
|
-
|
|
2618
|
-
this.addField("
|
|
2399
|
+
seoDescription() {
|
|
2400
|
+
this.addField("seoDescription");
|
|
2619
2401
|
return this;
|
|
2620
2402
|
}
|
|
2621
|
-
|
|
2622
|
-
this.addField("
|
|
2403
|
+
seoAuthor() {
|
|
2404
|
+
this.addField("seoAuthor");
|
|
2623
2405
|
return this;
|
|
2624
2406
|
}
|
|
2625
|
-
|
|
2626
|
-
this.addField("
|
|
2407
|
+
publisher() {
|
|
2408
|
+
this.addField("publisher");
|
|
2627
2409
|
return this;
|
|
2628
2410
|
}
|
|
2629
|
-
|
|
2630
|
-
this.addField("
|
|
2411
|
+
seoRobots() {
|
|
2412
|
+
this.addField("seoRobots");
|
|
2631
2413
|
return this;
|
|
2632
2414
|
}
|
|
2633
|
-
|
|
2634
|
-
this.addField("
|
|
2415
|
+
ogTitle() {
|
|
2416
|
+
this.addField("ogTitle");
|
|
2635
2417
|
return this;
|
|
2636
2418
|
}
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
this._associations["components"] = new FrontComponentQueryOptions(options);
|
|
2640
|
-
} else {
|
|
2641
|
-
this._associations["components"] = options || new FrontComponentQueryOptions(["id"]);
|
|
2642
|
-
}
|
|
2419
|
+
ogDescription() {
|
|
2420
|
+
this.addField("ogDescription");
|
|
2643
2421
|
return this;
|
|
2644
2422
|
}
|
|
2645
|
-
|
|
2646
|
-
this.
|
|
2423
|
+
ogUrl() {
|
|
2424
|
+
this.addField("ogUrl");
|
|
2647
2425
|
return this;
|
|
2648
2426
|
}
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
this._associations["theme"] = new ThemeBranchQueryOptions(options);
|
|
2652
|
-
} else {
|
|
2653
|
-
this._associations["theme"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
2654
|
-
}
|
|
2427
|
+
ogSiteName() {
|
|
2428
|
+
this.addField("ogSiteName");
|
|
2655
2429
|
return this;
|
|
2656
2430
|
}
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
constructor(fields, queryArgs) {
|
|
2660
|
-
super(FrontComponentEntityName, fields, queryArgs);
|
|
2661
|
-
}
|
|
2662
|
-
id() {
|
|
2663
|
-
this.addField("id");
|
|
2431
|
+
ogType() {
|
|
2432
|
+
this.addField("ogType");
|
|
2664
2433
|
return this;
|
|
2665
2434
|
}
|
|
2666
|
-
|
|
2667
|
-
this.addField("
|
|
2668
|
-
return this;
|
|
2669
|
-
}
|
|
2670
|
-
title() {
|
|
2671
|
-
this.addField("title");
|
|
2672
|
-
return this;
|
|
2673
|
-
}
|
|
2674
|
-
seqValue() {
|
|
2675
|
-
this.addField("seqValue");
|
|
2676
|
-
return this;
|
|
2677
|
-
}
|
|
2678
|
-
propsSchema() {
|
|
2679
|
-
this.addField("propsSchema");
|
|
2680
|
-
return this;
|
|
2681
|
-
}
|
|
2682
|
-
propsTest() {
|
|
2683
|
-
this.addField("propsTest");
|
|
2684
|
-
return this;
|
|
2685
|
-
}
|
|
2686
|
-
updatedAt() {
|
|
2687
|
-
this.addField("updatedAt");
|
|
2688
|
-
return this;
|
|
2689
|
-
}
|
|
2690
|
-
createdAt() {
|
|
2691
|
-
this.addField("createdAt");
|
|
2692
|
-
return this;
|
|
2693
|
-
}
|
|
2694
|
-
slots() {
|
|
2695
|
-
this.addField("slots");
|
|
2696
|
-
return this;
|
|
2697
|
-
}
|
|
2698
|
-
droppable() {
|
|
2699
|
-
this.addField("droppable");
|
|
2700
|
-
return this;
|
|
2701
|
-
}
|
|
2702
|
-
isInMarket() {
|
|
2703
|
-
this.addField("isInMarket");
|
|
2704
|
-
return this;
|
|
2705
|
-
}
|
|
2706
|
-
code() {
|
|
2707
|
-
this.addField("code");
|
|
2708
|
-
return this;
|
|
2709
|
-
}
|
|
2710
|
-
description() {
|
|
2711
|
-
this.addField("description");
|
|
2435
|
+
xCard() {
|
|
2436
|
+
this.addField("xCard");
|
|
2712
2437
|
return this;
|
|
2713
2438
|
}
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
*/
|
|
2717
|
-
parentId() {
|
|
2718
|
-
this.addField("parentId");
|
|
2439
|
+
xSite() {
|
|
2440
|
+
this.addField("xSite");
|
|
2719
2441
|
return this;
|
|
2720
2442
|
}
|
|
2721
|
-
|
|
2722
|
-
this.addField("
|
|
2443
|
+
xUrl() {
|
|
2444
|
+
this.addField("xUrl");
|
|
2723
2445
|
return this;
|
|
2724
2446
|
}
|
|
2725
|
-
|
|
2447
|
+
ogImage(options) {
|
|
2726
2448
|
if (Array.isArray(options)) {
|
|
2727
|
-
this._associations["
|
|
2449
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2728
2450
|
} else {
|
|
2729
|
-
this._associations["
|
|
2451
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2730
2452
|
}
|
|
2731
2453
|
return this;
|
|
2732
2454
|
}
|
|
2733
|
-
|
|
2455
|
+
product(options) {
|
|
2734
2456
|
if (Array.isArray(options)) {
|
|
2735
|
-
this._associations["
|
|
2457
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
2736
2458
|
} else {
|
|
2737
|
-
this._associations["
|
|
2459
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
2738
2460
|
}
|
|
2739
2461
|
return this;
|
|
2740
2462
|
}
|
|
2741
|
-
|
|
2463
|
+
post(options) {
|
|
2742
2464
|
if (Array.isArray(options)) {
|
|
2743
|
-
this._associations["
|
|
2465
|
+
this._associations["post"] = new PostQueryOptions(options);
|
|
2744
2466
|
} else {
|
|
2745
|
-
this._associations["
|
|
2467
|
+
this._associations["post"] = options || new PostQueryOptions(["id"]);
|
|
2746
2468
|
}
|
|
2747
2469
|
return this;
|
|
2748
2470
|
}
|
|
2749
2471
|
}
|
|
2750
|
-
class
|
|
2472
|
+
class PostCategoryQueryOptions extends QueryOptions {
|
|
2751
2473
|
constructor(fields, queryArgs) {
|
|
2752
|
-
super(
|
|
2474
|
+
super(PostCategoryEntityName, fields, queryArgs);
|
|
2753
2475
|
}
|
|
2754
2476
|
id() {
|
|
2755
2477
|
this.addField("id");
|
|
2756
2478
|
return this;
|
|
2757
2479
|
}
|
|
2758
|
-
|
|
2759
|
-
this.addField("
|
|
2760
|
-
return this;
|
|
2761
|
-
}
|
|
2762
|
-
emailTemplates() {
|
|
2763
|
-
this.addField("emailTemplates");
|
|
2764
|
-
return this;
|
|
2765
|
-
}
|
|
2766
|
-
contact() {
|
|
2767
|
-
this.addField("contact");
|
|
2768
|
-
return this;
|
|
2769
|
-
}
|
|
2770
|
-
address() {
|
|
2771
|
-
this.addField("address");
|
|
2772
|
-
return this;
|
|
2773
|
-
}
|
|
2774
|
-
email() {
|
|
2775
|
-
this.addField("email");
|
|
2480
|
+
name() {
|
|
2481
|
+
this.addField("name");
|
|
2776
2482
|
return this;
|
|
2777
2483
|
}
|
|
2778
|
-
|
|
2779
|
-
this.addField("
|
|
2484
|
+
seqValue() {
|
|
2485
|
+
this.addField("seqValue");
|
|
2780
2486
|
return this;
|
|
2781
2487
|
}
|
|
2782
|
-
|
|
2783
|
-
this.addField("
|
|
2488
|
+
createdAt() {
|
|
2489
|
+
this.addField("createdAt");
|
|
2784
2490
|
return this;
|
|
2785
2491
|
}
|
|
2786
|
-
|
|
2787
|
-
this.addField("
|
|
2492
|
+
updatedAt() {
|
|
2493
|
+
this.addField("updatedAt");
|
|
2788
2494
|
return this;
|
|
2789
2495
|
}
|
|
2790
|
-
|
|
2791
|
-
this.addField("
|
|
2496
|
+
content() {
|
|
2497
|
+
this.addField("content");
|
|
2792
2498
|
return this;
|
|
2793
2499
|
}
|
|
2794
|
-
|
|
2795
|
-
this.addField("
|
|
2500
|
+
slug() {
|
|
2501
|
+
this.addField("slug");
|
|
2796
2502
|
return this;
|
|
2797
2503
|
}
|
|
2798
|
-
|
|
2799
|
-
this.addField("
|
|
2504
|
+
description() {
|
|
2505
|
+
this.addField("description");
|
|
2800
2506
|
return this;
|
|
2801
2507
|
}
|
|
2802
|
-
|
|
2803
|
-
|
|
2508
|
+
children(options) {
|
|
2509
|
+
if (Array.isArray(options)) {
|
|
2510
|
+
this._associations["children"] = new PostCategoryQueryOptions(options);
|
|
2511
|
+
} else {
|
|
2512
|
+
this._associations["children"] = options || new PostCategoryQueryOptions(["id"]);
|
|
2513
|
+
}
|
|
2804
2514
|
return this;
|
|
2805
2515
|
}
|
|
2806
|
-
|
|
2807
|
-
this.
|
|
2516
|
+
childrenAggregate(aggregate) {
|
|
2517
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
2808
2518
|
return this;
|
|
2809
2519
|
}
|
|
2810
|
-
|
|
2811
|
-
|
|
2520
|
+
posts(options) {
|
|
2521
|
+
if (Array.isArray(options)) {
|
|
2522
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
2523
|
+
} else {
|
|
2524
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
2525
|
+
}
|
|
2812
2526
|
return this;
|
|
2813
2527
|
}
|
|
2814
|
-
|
|
2815
|
-
this.
|
|
2528
|
+
postsAggregate(aggregate) {
|
|
2529
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
2816
2530
|
return this;
|
|
2817
2531
|
}
|
|
2818
|
-
|
|
2819
|
-
|
|
2532
|
+
lang(options) {
|
|
2533
|
+
if (Array.isArray(options)) {
|
|
2534
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2535
|
+
} else {
|
|
2536
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2537
|
+
}
|
|
2820
2538
|
return this;
|
|
2821
2539
|
}
|
|
2822
|
-
|
|
2823
|
-
|
|
2540
|
+
media(options) {
|
|
2541
|
+
if (Array.isArray(options)) {
|
|
2542
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
2543
|
+
} else {
|
|
2544
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
2545
|
+
}
|
|
2824
2546
|
return this;
|
|
2825
2547
|
}
|
|
2826
|
-
|
|
2548
|
+
parent(options) {
|
|
2827
2549
|
if (Array.isArray(options)) {
|
|
2828
|
-
this._associations["
|
|
2550
|
+
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
2829
2551
|
} else {
|
|
2830
|
-
this._associations["
|
|
2552
|
+
this._associations["parent"] = options || new PostCategoryQueryOptions(["id"]);
|
|
2831
2553
|
}
|
|
2832
2554
|
return this;
|
|
2833
2555
|
}
|
|
2834
|
-
|
|
2556
|
+
website(options) {
|
|
2835
2557
|
if (Array.isArray(options)) {
|
|
2836
|
-
this._associations["
|
|
2558
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2837
2559
|
} else {
|
|
2838
|
-
this._associations["
|
|
2560
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2839
2561
|
}
|
|
2840
2562
|
return this;
|
|
2841
2563
|
}
|
|
2842
2564
|
}
|
|
2843
|
-
class
|
|
2565
|
+
class PostQueryOptions extends QueryOptions {
|
|
2844
2566
|
constructor(fields, queryArgs) {
|
|
2845
|
-
super(
|
|
2567
|
+
super(PostEntityName, fields, queryArgs);
|
|
2846
2568
|
}
|
|
2847
2569
|
id() {
|
|
2848
2570
|
this.addField("id");
|
|
2849
2571
|
return this;
|
|
2850
2572
|
}
|
|
2851
|
-
|
|
2852
|
-
this.addField("
|
|
2573
|
+
seqValue() {
|
|
2574
|
+
this.addField("seqValue");
|
|
2853
2575
|
return this;
|
|
2854
2576
|
}
|
|
2855
|
-
|
|
2856
|
-
|
|
2577
|
+
/**
|
|
2578
|
+
* 置顶
|
|
2579
|
+
*/
|
|
2580
|
+
pinToTop() {
|
|
2581
|
+
this.addField("pinToTop");
|
|
2582
|
+
return this;
|
|
2583
|
+
}
|
|
2584
|
+
authorEmail() {
|
|
2585
|
+
this.addField("authorEmail");
|
|
2857
2586
|
return this;
|
|
2858
2587
|
}
|
|
2859
|
-
|
|
2860
|
-
this.addField("
|
|
2588
|
+
publishedAt() {
|
|
2589
|
+
this.addField("publishedAt");
|
|
2861
2590
|
return this;
|
|
2862
2591
|
}
|
|
2863
|
-
|
|
2864
|
-
this.addField("
|
|
2592
|
+
status() {
|
|
2593
|
+
this.addField("status");
|
|
2865
2594
|
return this;
|
|
2866
2595
|
}
|
|
2867
|
-
|
|
2868
|
-
this.addField("
|
|
2596
|
+
title() {
|
|
2597
|
+
this.addField("title");
|
|
2869
2598
|
return this;
|
|
2870
2599
|
}
|
|
2871
|
-
|
|
2872
|
-
this.addField("
|
|
2600
|
+
extends() {
|
|
2601
|
+
this.addField("extends");
|
|
2873
2602
|
return this;
|
|
2874
2603
|
}
|
|
2875
2604
|
createdAt() {
|
|
@@ -2880,91 +2609,90 @@ class StyleConfigQueryOptions extends QueryOptions {
|
|
|
2880
2609
|
this.addField("updatedAt");
|
|
2881
2610
|
return this;
|
|
2882
2611
|
}
|
|
2883
|
-
|
|
2884
|
-
this.addField("
|
|
2885
|
-
return this;
|
|
2886
|
-
}
|
|
2887
|
-
footCode() {
|
|
2888
|
-
this.addField("footCode");
|
|
2612
|
+
content() {
|
|
2613
|
+
this.addField("content");
|
|
2889
2614
|
return this;
|
|
2890
2615
|
}
|
|
2891
|
-
|
|
2892
|
-
this.addField("
|
|
2616
|
+
slug() {
|
|
2617
|
+
this.addField("slug");
|
|
2893
2618
|
return this;
|
|
2894
2619
|
}
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
this._associations["theme"] = new ThemeBranchQueryOptions(options);
|
|
2898
|
-
} else {
|
|
2899
|
-
this._associations["theme"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
2900
|
-
}
|
|
2620
|
+
description() {
|
|
2621
|
+
this.addField("description");
|
|
2901
2622
|
return this;
|
|
2902
2623
|
}
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
constructor(fields, queryArgs) {
|
|
2906
|
-
super(ThemeFileFolderEntityName, fields, queryArgs);
|
|
2907
|
-
}
|
|
2908
|
-
id() {
|
|
2909
|
-
this.addField("id");
|
|
2624
|
+
isDeleted() {
|
|
2625
|
+
this.addField("isDeleted");
|
|
2910
2626
|
return this;
|
|
2911
2627
|
}
|
|
2912
|
-
|
|
2913
|
-
this.addField("
|
|
2628
|
+
deletedAt() {
|
|
2629
|
+
this.addField("deletedAt");
|
|
2914
2630
|
return this;
|
|
2915
2631
|
}
|
|
2916
|
-
|
|
2917
|
-
|
|
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
|
+
}
|
|
2918
2638
|
return this;
|
|
2919
2639
|
}
|
|
2920
|
-
|
|
2921
|
-
this.
|
|
2640
|
+
tagsAggregate(aggregate) {
|
|
2641
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
2922
2642
|
return this;
|
|
2923
2643
|
}
|
|
2924
|
-
|
|
2644
|
+
author(options) {
|
|
2925
2645
|
if (Array.isArray(options)) {
|
|
2926
|
-
this._associations["
|
|
2646
|
+
this._associations["author"] = new UserQueryOptions(options);
|
|
2927
2647
|
} else {
|
|
2928
|
-
this._associations["
|
|
2648
|
+
this._associations["author"] = options || new UserQueryOptions(["id"]);
|
|
2929
2649
|
}
|
|
2930
2650
|
return this;
|
|
2931
2651
|
}
|
|
2932
|
-
|
|
2933
|
-
|
|
2652
|
+
cover(options) {
|
|
2653
|
+
if (Array.isArray(options)) {
|
|
2654
|
+
this._associations["cover"] = new MediaQueryOptions(options);
|
|
2655
|
+
} else {
|
|
2656
|
+
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
2657
|
+
}
|
|
2934
2658
|
return this;
|
|
2935
2659
|
}
|
|
2936
|
-
|
|
2660
|
+
lang(options) {
|
|
2937
2661
|
if (Array.isArray(options)) {
|
|
2938
|
-
this._associations["
|
|
2662
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2939
2663
|
} else {
|
|
2940
|
-
this._associations["
|
|
2664
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2941
2665
|
}
|
|
2942
2666
|
return this;
|
|
2943
2667
|
}
|
|
2944
|
-
|
|
2945
|
-
|
|
2668
|
+
meta(options) {
|
|
2669
|
+
if (Array.isArray(options)) {
|
|
2670
|
+
this._associations["meta"] = new PageMetaQueryOptions(options);
|
|
2671
|
+
} else {
|
|
2672
|
+
this._associations["meta"] = options || new PageMetaQueryOptions(["id"]);
|
|
2673
|
+
}
|
|
2946
2674
|
return this;
|
|
2947
2675
|
}
|
|
2948
|
-
|
|
2676
|
+
category(options) {
|
|
2949
2677
|
if (Array.isArray(options)) {
|
|
2950
|
-
this._associations["
|
|
2678
|
+
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
2951
2679
|
} else {
|
|
2952
|
-
this._associations["
|
|
2680
|
+
this._associations["category"] = options || new PostCategoryQueryOptions(["id"]);
|
|
2953
2681
|
}
|
|
2954
2682
|
return this;
|
|
2955
2683
|
}
|
|
2956
|
-
|
|
2684
|
+
website(options) {
|
|
2957
2685
|
if (Array.isArray(options)) {
|
|
2958
|
-
this._associations["
|
|
2686
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
2959
2687
|
} else {
|
|
2960
|
-
this._associations["
|
|
2688
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
2961
2689
|
}
|
|
2962
2690
|
return this;
|
|
2963
2691
|
}
|
|
2964
2692
|
}
|
|
2965
|
-
class
|
|
2693
|
+
class TagCategoryQueryOptions extends QueryOptions {
|
|
2966
2694
|
constructor(fields, queryArgs) {
|
|
2967
|
-
super(
|
|
2695
|
+
super(TagCategoryEntityName, fields, queryArgs);
|
|
2968
2696
|
}
|
|
2969
2697
|
id() {
|
|
2970
2698
|
this.addField("id");
|
|
@@ -2974,183 +2702,207 @@ class ThemeFileQueryOptions extends QueryOptions {
|
|
|
2974
2702
|
this.addField("name");
|
|
2975
2703
|
return this;
|
|
2976
2704
|
}
|
|
2977
|
-
|
|
2978
|
-
this.addField("
|
|
2979
|
-
return this;
|
|
2980
|
-
}
|
|
2981
|
-
updatedAt() {
|
|
2982
|
-
this.addField("updatedAt");
|
|
2705
|
+
updateAt() {
|
|
2706
|
+
this.addField("updateAt");
|
|
2983
2707
|
return this;
|
|
2984
2708
|
}
|
|
2985
2709
|
createdAt() {
|
|
2986
2710
|
this.addField("createdAt");
|
|
2987
2711
|
return this;
|
|
2988
2712
|
}
|
|
2989
|
-
|
|
2990
|
-
|
|
2713
|
+
tags(options) {
|
|
2714
|
+
if (Array.isArray(options)) {
|
|
2715
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
2716
|
+
} else {
|
|
2717
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
2718
|
+
}
|
|
2991
2719
|
return this;
|
|
2992
2720
|
}
|
|
2993
|
-
|
|
2994
|
-
this.
|
|
2721
|
+
tagsAggregate(aggregate) {
|
|
2722
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
2995
2723
|
return this;
|
|
2996
2724
|
}
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
return this;
|
|
3004
|
-
}
|
|
3005
|
-
mediaType() {
|
|
3006
|
-
this.addField("mediaType");
|
|
2725
|
+
lang(options) {
|
|
2726
|
+
if (Array.isArray(options)) {
|
|
2727
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2728
|
+
} else {
|
|
2729
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2730
|
+
}
|
|
3007
2731
|
return this;
|
|
3008
2732
|
}
|
|
3009
|
-
|
|
2733
|
+
children(options) {
|
|
3010
2734
|
if (Array.isArray(options)) {
|
|
3011
|
-
this._associations["
|
|
2735
|
+
this._associations["children"] = new TagCategoryQueryOptions(options);
|
|
3012
2736
|
} else {
|
|
3013
|
-
this._associations["
|
|
2737
|
+
this._associations["children"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3014
2738
|
}
|
|
3015
2739
|
return this;
|
|
3016
2740
|
}
|
|
3017
|
-
|
|
2741
|
+
childrenAggregate(aggregate) {
|
|
2742
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
2743
|
+
return this;
|
|
2744
|
+
}
|
|
2745
|
+
parent(options) {
|
|
3018
2746
|
if (Array.isArray(options)) {
|
|
3019
|
-
this._associations["
|
|
2747
|
+
this._associations["parent"] = new TagCategoryQueryOptions(options);
|
|
3020
2748
|
} else {
|
|
3021
|
-
this._associations["
|
|
2749
|
+
this._associations["parent"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3022
2750
|
}
|
|
3023
2751
|
return this;
|
|
3024
2752
|
}
|
|
3025
2753
|
}
|
|
3026
|
-
class
|
|
2754
|
+
class TagQueryOptions extends QueryOptions {
|
|
3027
2755
|
constructor(fields, queryArgs) {
|
|
3028
|
-
super(
|
|
2756
|
+
super(TagEntityName, fields, queryArgs);
|
|
3029
2757
|
}
|
|
3030
2758
|
id() {
|
|
3031
2759
|
this.addField("id");
|
|
3032
2760
|
return this;
|
|
3033
2761
|
}
|
|
2762
|
+
/**
|
|
2763
|
+
* 名称
|
|
2764
|
+
*/
|
|
3034
2765
|
name() {
|
|
3035
2766
|
this.addField("name");
|
|
3036
2767
|
return this;
|
|
3037
2768
|
}
|
|
3038
|
-
|
|
3039
|
-
this.addField("
|
|
3040
|
-
return this;
|
|
3041
|
-
}
|
|
3042
|
-
extName() {
|
|
3043
|
-
this.addField("extName");
|
|
3044
|
-
return this;
|
|
3045
|
-
}
|
|
3046
|
-
mediaType() {
|
|
3047
|
-
this.addField("mediaType");
|
|
2769
|
+
color() {
|
|
2770
|
+
this.addField("color");
|
|
3048
2771
|
return this;
|
|
3049
2772
|
}
|
|
3050
|
-
|
|
3051
|
-
this.
|
|
2773
|
+
updatedAt() {
|
|
2774
|
+
this.addField("updatedAt");
|
|
3052
2775
|
return this;
|
|
3053
2776
|
}
|
|
3054
2777
|
createdAt() {
|
|
3055
2778
|
this.addField("createdAt");
|
|
3056
2779
|
return this;
|
|
3057
2780
|
}
|
|
3058
|
-
|
|
3059
|
-
|
|
2781
|
+
lang(options) {
|
|
2782
|
+
if (Array.isArray(options)) {
|
|
2783
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
2784
|
+
} else {
|
|
2785
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
2786
|
+
}
|
|
3060
2787
|
return this;
|
|
3061
2788
|
}
|
|
3062
|
-
|
|
3063
|
-
|
|
2789
|
+
posts(options) {
|
|
2790
|
+
if (Array.isArray(options)) {
|
|
2791
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
2792
|
+
} else {
|
|
2793
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
2794
|
+
}
|
|
3064
2795
|
return this;
|
|
3065
2796
|
}
|
|
3066
|
-
|
|
2797
|
+
postsAggregate(aggregate) {
|
|
2798
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
2799
|
+
return this;
|
|
2800
|
+
}
|
|
2801
|
+
products(options) {
|
|
3067
2802
|
if (Array.isArray(options)) {
|
|
3068
|
-
this._associations["
|
|
2803
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
3069
2804
|
} else {
|
|
3070
|
-
this._associations["
|
|
2805
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
3071
2806
|
}
|
|
3072
2807
|
return this;
|
|
3073
2808
|
}
|
|
3074
|
-
|
|
2809
|
+
productsAggregate(aggregate) {
|
|
2810
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
2811
|
+
return this;
|
|
2812
|
+
}
|
|
2813
|
+
website(options) {
|
|
3075
2814
|
if (Array.isArray(options)) {
|
|
3076
|
-
this._associations["
|
|
2815
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3077
2816
|
} else {
|
|
3078
|
-
this._associations["
|
|
2817
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3079
2818
|
}
|
|
3080
2819
|
return this;
|
|
3081
2820
|
}
|
|
3082
|
-
|
|
2821
|
+
category(options) {
|
|
3083
2822
|
if (Array.isArray(options)) {
|
|
3084
|
-
this._associations["
|
|
2823
|
+
this._associations["category"] = new TagCategoryQueryOptions(options);
|
|
3085
2824
|
} else {
|
|
3086
|
-
this._associations["
|
|
2825
|
+
this._associations["category"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3087
2826
|
}
|
|
3088
2827
|
return this;
|
|
3089
2828
|
}
|
|
3090
2829
|
}
|
|
3091
|
-
class
|
|
2830
|
+
class MediaOnProductQueryOptions extends QueryOptions {
|
|
3092
2831
|
constructor(fields, queryArgs) {
|
|
3093
|
-
super(
|
|
2832
|
+
super(MediaOnProductEntityName, fields, queryArgs);
|
|
3094
2833
|
}
|
|
3095
2834
|
id() {
|
|
3096
2835
|
this.addField("id");
|
|
3097
2836
|
return this;
|
|
3098
2837
|
}
|
|
3099
|
-
|
|
3100
|
-
this.addField("
|
|
2838
|
+
altText() {
|
|
2839
|
+
this.addField("altText");
|
|
3101
2840
|
return this;
|
|
3102
2841
|
}
|
|
3103
|
-
|
|
3104
|
-
this.addField("
|
|
2842
|
+
seqValue() {
|
|
2843
|
+
this.addField("seqValue");
|
|
3105
2844
|
return this;
|
|
3106
2845
|
}
|
|
3107
|
-
|
|
3108
|
-
|
|
2846
|
+
media(options) {
|
|
2847
|
+
if (Array.isArray(options)) {
|
|
2848
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
2849
|
+
} else {
|
|
2850
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
2851
|
+
}
|
|
3109
2852
|
return this;
|
|
3110
2853
|
}
|
|
3111
|
-
|
|
3112
|
-
|
|
2854
|
+
product(options) {
|
|
2855
|
+
if (Array.isArray(options)) {
|
|
2856
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
2857
|
+
} else {
|
|
2858
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
2859
|
+
}
|
|
3113
2860
|
return this;
|
|
3114
2861
|
}
|
|
3115
|
-
|
|
3116
|
-
|
|
2862
|
+
}
|
|
2863
|
+
class AttachmentOnProductQueryOptions extends QueryOptions {
|
|
2864
|
+
constructor(fields, queryArgs) {
|
|
2865
|
+
super(AttachmentOnProductEntityName, fields, queryArgs);
|
|
2866
|
+
}
|
|
2867
|
+
id() {
|
|
2868
|
+
this.addField("id");
|
|
3117
2869
|
return this;
|
|
3118
2870
|
}
|
|
3119
2871
|
seqValue() {
|
|
3120
2872
|
this.addField("seqValue");
|
|
3121
2873
|
return this;
|
|
3122
2874
|
}
|
|
3123
|
-
|
|
2875
|
+
attachment(options) {
|
|
3124
2876
|
if (Array.isArray(options)) {
|
|
3125
|
-
this._associations["
|
|
2877
|
+
this._associations["attachment"] = new MediaQueryOptions(options);
|
|
3126
2878
|
} else {
|
|
3127
|
-
this._associations["
|
|
2879
|
+
this._associations["attachment"] = options || new MediaQueryOptions(["id"]);
|
|
3128
2880
|
}
|
|
3129
2881
|
return this;
|
|
3130
2882
|
}
|
|
3131
|
-
|
|
2883
|
+
product(options) {
|
|
3132
2884
|
if (Array.isArray(options)) {
|
|
3133
|
-
this._associations["
|
|
2885
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
3134
2886
|
} else {
|
|
3135
|
-
this._associations["
|
|
2887
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
3136
2888
|
}
|
|
3137
2889
|
return this;
|
|
3138
2890
|
}
|
|
3139
2891
|
}
|
|
3140
|
-
class
|
|
2892
|
+
class FAQQueryOptions extends QueryOptions {
|
|
3141
2893
|
constructor(fields, queryArgs) {
|
|
3142
|
-
super(
|
|
2894
|
+
super(FAQEntityName, fields, queryArgs);
|
|
3143
2895
|
}
|
|
3144
2896
|
id() {
|
|
3145
2897
|
this.addField("id");
|
|
3146
2898
|
return this;
|
|
3147
2899
|
}
|
|
3148
|
-
|
|
3149
|
-
this.addField("
|
|
2900
|
+
question() {
|
|
2901
|
+
this.addField("question");
|
|
3150
2902
|
return this;
|
|
3151
2903
|
}
|
|
3152
|
-
|
|
3153
|
-
this.addField("
|
|
2904
|
+
answer() {
|
|
2905
|
+
this.addField("answer");
|
|
3154
2906
|
return this;
|
|
3155
2907
|
}
|
|
3156
2908
|
createdAt() {
|
|
@@ -3165,489 +2917,292 @@ class AgentTimelineItemQueryOptions extends QueryOptions {
|
|
|
3165
2917
|
this.addField("seqValue");
|
|
3166
2918
|
return this;
|
|
3167
2919
|
}
|
|
3168
|
-
|
|
3169
|
-
if (Array.isArray(options)) {
|
|
3170
|
-
this._associations["attachments"] = new AgentAttachmentQueryOptions(options);
|
|
3171
|
-
} else {
|
|
3172
|
-
this._associations["attachments"] = options || new AgentAttachmentQueryOptions(["id"]);
|
|
3173
|
-
}
|
|
3174
|
-
return this;
|
|
3175
|
-
}
|
|
3176
|
-
attachmentsAggregate(aggregate) {
|
|
3177
|
-
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
3178
|
-
return this;
|
|
3179
|
-
}
|
|
3180
|
-
run(options) {
|
|
2920
|
+
product(options) {
|
|
3181
2921
|
if (Array.isArray(options)) {
|
|
3182
|
-
this._associations["
|
|
2922
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
3183
2923
|
} else {
|
|
3184
|
-
this._associations["
|
|
2924
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
3185
2925
|
}
|
|
3186
2926
|
return this;
|
|
3187
2927
|
}
|
|
3188
2928
|
}
|
|
3189
|
-
class
|
|
2929
|
+
class ProductRelatedPivotQueryOptions extends QueryOptions {
|
|
3190
2930
|
constructor(fields, queryArgs) {
|
|
3191
|
-
super(
|
|
2931
|
+
super(ProductRelatedPivotEntityName, fields, queryArgs);
|
|
3192
2932
|
}
|
|
3193
2933
|
id() {
|
|
3194
2934
|
this.addField("id");
|
|
3195
2935
|
return this;
|
|
3196
2936
|
}
|
|
3197
|
-
|
|
3198
|
-
this.addField("
|
|
3199
|
-
return this;
|
|
3200
|
-
}
|
|
3201
|
-
usage() {
|
|
3202
|
-
this.addField("usage");
|
|
3203
|
-
return this;
|
|
3204
|
-
}
|
|
3205
|
-
status() {
|
|
3206
|
-
this.addField("status");
|
|
3207
|
-
return this;
|
|
3208
|
-
}
|
|
3209
|
-
startedAt() {
|
|
3210
|
-
this.addField("startedAt");
|
|
3211
|
-
return this;
|
|
3212
|
-
}
|
|
3213
|
-
finishedAt() {
|
|
3214
|
-
this.addField("finishedAt");
|
|
3215
|
-
return this;
|
|
3216
|
-
}
|
|
3217
|
-
error() {
|
|
3218
|
-
this.addField("error");
|
|
2937
|
+
seqValue() {
|
|
2938
|
+
this.addField("seqValue");
|
|
3219
2939
|
return this;
|
|
3220
2940
|
}
|
|
3221
|
-
|
|
2941
|
+
product(options) {
|
|
3222
2942
|
if (Array.isArray(options)) {
|
|
3223
|
-
this._associations["
|
|
2943
|
+
this._associations["product"] = new ProductQueryOptions(options);
|
|
3224
2944
|
} else {
|
|
3225
|
-
this._associations["
|
|
2945
|
+
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
3226
2946
|
}
|
|
3227
2947
|
return this;
|
|
3228
2948
|
}
|
|
3229
|
-
|
|
3230
|
-
this._aggregates["timelineAggregate"] = aggregate;
|
|
3231
|
-
return this;
|
|
3232
|
-
}
|
|
3233
|
-
thread(options) {
|
|
2949
|
+
relatedBy(options) {
|
|
3234
2950
|
if (Array.isArray(options)) {
|
|
3235
|
-
this._associations["
|
|
2951
|
+
this._associations["relatedBy"] = new ProductQueryOptions(options);
|
|
3236
2952
|
} else {
|
|
3237
|
-
this._associations["
|
|
2953
|
+
this._associations["relatedBy"] = options || new ProductQueryOptions(["id"]);
|
|
3238
2954
|
}
|
|
3239
2955
|
return this;
|
|
3240
2956
|
}
|
|
3241
2957
|
}
|
|
3242
|
-
class
|
|
2958
|
+
class ProductQueryOptions extends QueryOptions {
|
|
3243
2959
|
constructor(fields, queryArgs) {
|
|
3244
|
-
super(
|
|
2960
|
+
super(ProductEntityName, fields, queryArgs);
|
|
3245
2961
|
}
|
|
3246
2962
|
id() {
|
|
3247
2963
|
this.addField("id");
|
|
3248
2964
|
return this;
|
|
3249
2965
|
}
|
|
3250
|
-
|
|
3251
|
-
this.addField("
|
|
2966
|
+
published() {
|
|
2967
|
+
this.addField("published");
|
|
3252
2968
|
return this;
|
|
3253
2969
|
}
|
|
3254
|
-
|
|
3255
|
-
this.addField("
|
|
2970
|
+
featured() {
|
|
2971
|
+
this.addField("featured");
|
|
3256
2972
|
return this;
|
|
3257
2973
|
}
|
|
3258
|
-
|
|
3259
|
-
this.addField("
|
|
2974
|
+
showInNavMenu() {
|
|
2975
|
+
this.addField("showInNavMenu");
|
|
3260
2976
|
return this;
|
|
3261
2977
|
}
|
|
3262
|
-
|
|
3263
|
-
this.addField("
|
|
2978
|
+
seqValue() {
|
|
2979
|
+
this.addField("seqValue");
|
|
3264
2980
|
return this;
|
|
3265
2981
|
}
|
|
3266
|
-
|
|
3267
|
-
|
|
2982
|
+
/**
|
|
2983
|
+
* 特色
|
|
2984
|
+
*/
|
|
2985
|
+
features() {
|
|
2986
|
+
this.addField("features");
|
|
3268
2987
|
return this;
|
|
3269
2988
|
}
|
|
3270
|
-
|
|
3271
|
-
this.addField("
|
|
2989
|
+
content2() {
|
|
2990
|
+
this.addField("content2");
|
|
3272
2991
|
return this;
|
|
3273
2992
|
}
|
|
3274
|
-
|
|
3275
|
-
this.addField("
|
|
2993
|
+
content3() {
|
|
2994
|
+
this.addField("content3");
|
|
3276
2995
|
return this;
|
|
3277
2996
|
}
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
this._associations["runs"] = new AgentRunQueryOptions(options);
|
|
3281
|
-
} else {
|
|
3282
|
-
this._associations["runs"] = options || new AgentRunQueryOptions(["id"]);
|
|
3283
|
-
}
|
|
3284
|
-
return this;
|
|
3285
|
-
}
|
|
3286
|
-
runsAggregate(aggregate) {
|
|
3287
|
-
this._aggregates["runsAggregate"] = aggregate;
|
|
2997
|
+
shortTitle() {
|
|
2998
|
+
this.addField("shortTitle");
|
|
3288
2999
|
return this;
|
|
3289
3000
|
}
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
}
|
|
3001
|
+
/**
|
|
3002
|
+
* 第三方视频url
|
|
3003
|
+
*/
|
|
3004
|
+
externalVideoUrl() {
|
|
3005
|
+
this.addField("externalVideoUrl");
|
|
3296
3006
|
return this;
|
|
3297
3007
|
}
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3301
|
-
} else {
|
|
3302
|
-
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3303
|
-
}
|
|
3008
|
+
relatedSlugs() {
|
|
3009
|
+
this.addField("relatedSlugs");
|
|
3304
3010
|
return this;
|
|
3305
3011
|
}
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
3309
|
-
} else {
|
|
3310
|
-
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3311
|
-
}
|
|
3012
|
+
publishedAt() {
|
|
3013
|
+
this.addField("publishedAt");
|
|
3312
3014
|
return this;
|
|
3313
3015
|
}
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
constructor(fields, queryArgs) {
|
|
3317
|
-
super(ThemeInMarketEntityName, fields, queryArgs);
|
|
3318
|
-
}
|
|
3319
|
-
id() {
|
|
3320
|
-
this.addField("id");
|
|
3016
|
+
status() {
|
|
3017
|
+
this.addField("status");
|
|
3321
3018
|
return this;
|
|
3322
3019
|
}
|
|
3323
3020
|
title() {
|
|
3324
3021
|
this.addField("title");
|
|
3325
3022
|
return this;
|
|
3326
3023
|
}
|
|
3327
|
-
|
|
3328
|
-
this.addField("
|
|
3024
|
+
extends() {
|
|
3025
|
+
this.addField("extends");
|
|
3329
3026
|
return this;
|
|
3330
3027
|
}
|
|
3331
|
-
|
|
3332
|
-
this.addField("
|
|
3028
|
+
createdAt() {
|
|
3029
|
+
this.addField("createdAt");
|
|
3333
3030
|
return this;
|
|
3334
3031
|
}
|
|
3335
3032
|
updatedAt() {
|
|
3336
3033
|
this.addField("updatedAt");
|
|
3337
3034
|
return this;
|
|
3338
3035
|
}
|
|
3339
|
-
|
|
3340
|
-
this.addField("
|
|
3036
|
+
content() {
|
|
3037
|
+
this.addField("content");
|
|
3341
3038
|
return this;
|
|
3342
3039
|
}
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
this._associations["versions"] = new ThemeVersionQueryOptions(options);
|
|
3346
|
-
} else {
|
|
3347
|
-
this._associations["versions"] = options || new ThemeVersionQueryOptions(["id"]);
|
|
3348
|
-
}
|
|
3040
|
+
slug() {
|
|
3041
|
+
this.addField("slug");
|
|
3349
3042
|
return this;
|
|
3350
3043
|
}
|
|
3351
|
-
|
|
3352
|
-
this.
|
|
3044
|
+
description() {
|
|
3045
|
+
this.addField("description");
|
|
3353
3046
|
return this;
|
|
3354
3047
|
}
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
constructor(fields, queryArgs) {
|
|
3358
|
-
super(ThemeVersionEntityName, fields, queryArgs);
|
|
3359
|
-
}
|
|
3360
|
-
id() {
|
|
3361
|
-
this.addField("id");
|
|
3048
|
+
isDeleted() {
|
|
3049
|
+
this.addField("isDeleted");
|
|
3362
3050
|
return this;
|
|
3363
3051
|
}
|
|
3364
|
-
|
|
3365
|
-
this.addField("
|
|
3052
|
+
deletedAt() {
|
|
3053
|
+
this.addField("deletedAt");
|
|
3366
3054
|
return this;
|
|
3367
3055
|
}
|
|
3368
|
-
|
|
3056
|
+
category(options) {
|
|
3369
3057
|
if (Array.isArray(options)) {
|
|
3370
|
-
this._associations["
|
|
3058
|
+
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
3371
3059
|
} else {
|
|
3372
|
-
this._associations["
|
|
3060
|
+
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
3373
3061
|
}
|
|
3374
3062
|
return this;
|
|
3375
3063
|
}
|
|
3376
|
-
|
|
3064
|
+
tags(options) {
|
|
3377
3065
|
if (Array.isArray(options)) {
|
|
3378
|
-
this._associations["
|
|
3066
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
3379
3067
|
} else {
|
|
3380
|
-
this._associations["
|
|
3068
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
3381
3069
|
}
|
|
3382
3070
|
return this;
|
|
3383
3071
|
}
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
constructor(fields, queryArgs) {
|
|
3387
|
-
super(ThemeCategoryEntityName, fields, queryArgs);
|
|
3388
|
-
}
|
|
3389
|
-
id() {
|
|
3390
|
-
this.addField("id");
|
|
3391
|
-
return this;
|
|
3392
|
-
}
|
|
3393
|
-
name() {
|
|
3394
|
-
this.addField("name");
|
|
3395
|
-
return this;
|
|
3396
|
-
}
|
|
3397
|
-
description() {
|
|
3398
|
-
this.addField("description");
|
|
3399
|
-
return this;
|
|
3400
|
-
}
|
|
3401
|
-
seqValue() {
|
|
3402
|
-
this.addField("seqValue");
|
|
3403
|
-
return this;
|
|
3404
|
-
}
|
|
3405
|
-
createdAt() {
|
|
3406
|
-
this.addField("createdAt");
|
|
3407
|
-
return this;
|
|
3408
|
-
}
|
|
3409
|
-
updatedAt() {
|
|
3410
|
-
this.addField("updatedAt");
|
|
3072
|
+
tagsAggregate(aggregate) {
|
|
3073
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
3411
3074
|
return this;
|
|
3412
3075
|
}
|
|
3413
|
-
|
|
3076
|
+
mediaPivots(options) {
|
|
3414
3077
|
if (Array.isArray(options)) {
|
|
3415
|
-
this._associations["
|
|
3078
|
+
this._associations["mediaPivots"] = new MediaOnProductQueryOptions(options);
|
|
3416
3079
|
} else {
|
|
3417
|
-
this._associations["
|
|
3080
|
+
this._associations["mediaPivots"] = options || new MediaOnProductQueryOptions(["id"]);
|
|
3418
3081
|
}
|
|
3419
3082
|
return this;
|
|
3420
3083
|
}
|
|
3421
|
-
|
|
3422
|
-
this._aggregates["
|
|
3423
|
-
return this;
|
|
3424
|
-
}
|
|
3425
|
-
}
|
|
3426
|
-
class ThemeQueryOptions extends QueryOptions {
|
|
3427
|
-
constructor(fields, queryArgs) {
|
|
3428
|
-
super(ThemeEntityName, fields, queryArgs);
|
|
3429
|
-
}
|
|
3430
|
-
id() {
|
|
3431
|
-
this.addField("id");
|
|
3432
|
-
return this;
|
|
3433
|
-
}
|
|
3434
|
-
name() {
|
|
3435
|
-
this.addField("name");
|
|
3436
|
-
return this;
|
|
3437
|
-
}
|
|
3438
|
-
description() {
|
|
3439
|
-
this.addField("description");
|
|
3440
|
-
return this;
|
|
3441
|
-
}
|
|
3442
|
-
createdAt() {
|
|
3443
|
-
this.addField("createdAt");
|
|
3444
|
-
return this;
|
|
3445
|
-
}
|
|
3446
|
-
updatedAt() {
|
|
3447
|
-
this.addField("updatedAt");
|
|
3448
|
-
return this;
|
|
3449
|
-
}
|
|
3450
|
-
seqValue() {
|
|
3451
|
-
this.addField("seqValue");
|
|
3452
|
-
return this;
|
|
3453
|
-
}
|
|
3454
|
-
slug() {
|
|
3455
|
-
this.addField("slug");
|
|
3084
|
+
mediaPivotsAggregate(aggregate) {
|
|
3085
|
+
this._aggregates["mediaPivotsAggregate"] = aggregate;
|
|
3456
3086
|
return this;
|
|
3457
3087
|
}
|
|
3458
|
-
|
|
3088
|
+
attachmentPivots(options) {
|
|
3459
3089
|
if (Array.isArray(options)) {
|
|
3460
|
-
this._associations["
|
|
3090
|
+
this._associations["attachmentPivots"] = new AttachmentOnProductQueryOptions(options);
|
|
3461
3091
|
} else {
|
|
3462
|
-
this._associations["
|
|
3092
|
+
this._associations["attachmentPivots"] = options || new AttachmentOnProductQueryOptions(["id"]);
|
|
3463
3093
|
}
|
|
3464
3094
|
return this;
|
|
3465
3095
|
}
|
|
3466
|
-
|
|
3467
|
-
this._aggregates["
|
|
3468
|
-
return this;
|
|
3469
|
-
}
|
|
3470
|
-
cover(options) {
|
|
3471
|
-
if (Array.isArray(options)) {
|
|
3472
|
-
this._associations["cover"] = new MediaQueryOptions(options);
|
|
3473
|
-
} else {
|
|
3474
|
-
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
3475
|
-
}
|
|
3096
|
+
attachmentPivotsAggregate(aggregate) {
|
|
3097
|
+
this._aggregates["attachmentPivotsAggregate"] = aggregate;
|
|
3476
3098
|
return this;
|
|
3477
3099
|
}
|
|
3478
|
-
|
|
3100
|
+
lang(options) {
|
|
3479
3101
|
if (Array.isArray(options)) {
|
|
3480
|
-
this._associations["
|
|
3102
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3481
3103
|
} else {
|
|
3482
|
-
this._associations["
|
|
3104
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3483
3105
|
}
|
|
3484
3106
|
return this;
|
|
3485
3107
|
}
|
|
3486
|
-
|
|
3487
|
-
class ThemeBranchQueryOptions extends QueryOptions {
|
|
3488
|
-
constructor(fields, queryArgs) {
|
|
3489
|
-
super(ThemeBranchEntityName, fields, queryArgs);
|
|
3490
|
-
}
|
|
3491
|
-
id() {
|
|
3492
|
-
this.addField("id");
|
|
3493
|
-
return this;
|
|
3494
|
-
}
|
|
3495
|
-
name() {
|
|
3496
|
-
this.addField("name");
|
|
3497
|
-
return this;
|
|
3498
|
-
}
|
|
3499
|
-
settings() {
|
|
3500
|
-
this.addField("settings");
|
|
3501
|
-
return this;
|
|
3502
|
-
}
|
|
3503
|
-
description() {
|
|
3504
|
-
this.addField("description");
|
|
3505
|
-
return this;
|
|
3506
|
-
}
|
|
3507
|
-
/**
|
|
3508
|
-
* 对应市场母主题ID
|
|
3509
|
-
*/
|
|
3510
|
-
parentThemeId() {
|
|
3511
|
-
this.addField("parentThemeId");
|
|
3512
|
-
return this;
|
|
3513
|
-
}
|
|
3514
|
-
createdAt() {
|
|
3515
|
-
this.addField("createdAt");
|
|
3516
|
-
return this;
|
|
3517
|
-
}
|
|
3518
|
-
updatedAt() {
|
|
3519
|
-
this.addField("updatedAt");
|
|
3520
|
-
return this;
|
|
3521
|
-
}
|
|
3522
|
-
status() {
|
|
3523
|
-
this.addField("status");
|
|
3524
|
-
return this;
|
|
3525
|
-
}
|
|
3526
|
-
version() {
|
|
3527
|
-
this.addField("version");
|
|
3528
|
-
return this;
|
|
3529
|
-
}
|
|
3530
|
-
components(options) {
|
|
3108
|
+
meta(options) {
|
|
3531
3109
|
if (Array.isArray(options)) {
|
|
3532
|
-
this._associations["
|
|
3110
|
+
this._associations["meta"] = new PageMetaQueryOptions(options);
|
|
3533
3111
|
} else {
|
|
3534
|
-
this._associations["
|
|
3112
|
+
this._associations["meta"] = options || new PageMetaQueryOptions(["id"]);
|
|
3535
3113
|
}
|
|
3536
3114
|
return this;
|
|
3537
3115
|
}
|
|
3538
|
-
|
|
3539
|
-
this._aggregates["componentsAggregate"] = aggregate;
|
|
3540
|
-
return this;
|
|
3541
|
-
}
|
|
3542
|
-
componentCategories(options) {
|
|
3116
|
+
faqs(options) {
|
|
3543
3117
|
if (Array.isArray(options)) {
|
|
3544
|
-
this._associations["
|
|
3118
|
+
this._associations["faqs"] = new FAQQueryOptions(options);
|
|
3545
3119
|
} else {
|
|
3546
|
-
this._associations["
|
|
3120
|
+
this._associations["faqs"] = options || new FAQQueryOptions(["id"]);
|
|
3547
3121
|
}
|
|
3548
3122
|
return this;
|
|
3549
3123
|
}
|
|
3550
|
-
|
|
3551
|
-
this._aggregates["
|
|
3124
|
+
faqsAggregate(aggregate) {
|
|
3125
|
+
this._aggregates["faqsAggregate"] = aggregate;
|
|
3552
3126
|
return this;
|
|
3553
3127
|
}
|
|
3554
|
-
|
|
3128
|
+
relatedPivots(options) {
|
|
3555
3129
|
if (Array.isArray(options)) {
|
|
3556
|
-
this._associations["
|
|
3130
|
+
this._associations["relatedPivots"] = new ProductRelatedPivotQueryOptions(options);
|
|
3557
3131
|
} else {
|
|
3558
|
-
this._associations["
|
|
3132
|
+
this._associations["relatedPivots"] = options || new ProductRelatedPivotQueryOptions(["id"]);
|
|
3559
3133
|
}
|
|
3560
3134
|
return this;
|
|
3561
3135
|
}
|
|
3562
|
-
|
|
3563
|
-
this._aggregates["
|
|
3136
|
+
relatedPivotsAggregate(aggregate) {
|
|
3137
|
+
this._aggregates["relatedPivotsAggregate"] = aggregate;
|
|
3564
3138
|
return this;
|
|
3565
3139
|
}
|
|
3566
|
-
|
|
3140
|
+
creator(options) {
|
|
3567
3141
|
if (Array.isArray(options)) {
|
|
3568
|
-
this._associations["
|
|
3142
|
+
this._associations["creator"] = new UserQueryOptions(options);
|
|
3569
3143
|
} else {
|
|
3570
|
-
this._associations["
|
|
3144
|
+
this._associations["creator"] = options || new UserQueryOptions(["id"]);
|
|
3571
3145
|
}
|
|
3572
3146
|
return this;
|
|
3573
3147
|
}
|
|
3574
|
-
|
|
3148
|
+
website(options) {
|
|
3575
3149
|
if (Array.isArray(options)) {
|
|
3576
|
-
this._associations["
|
|
3150
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3577
3151
|
} else {
|
|
3578
|
-
this._associations["
|
|
3152
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3579
3153
|
}
|
|
3580
3154
|
return this;
|
|
3581
3155
|
}
|
|
3582
|
-
|
|
3156
|
+
relatedByPovit(options) {
|
|
3583
3157
|
if (Array.isArray(options)) {
|
|
3584
|
-
this._associations["
|
|
3158
|
+
this._associations["relatedByPovit"] = new ProductRelatedPivotQueryOptions(options);
|
|
3585
3159
|
} else {
|
|
3586
|
-
this._associations["
|
|
3160
|
+
this._associations["relatedByPovit"] = options || new ProductRelatedPivotQueryOptions(["id"]);
|
|
3587
3161
|
}
|
|
3588
3162
|
return this;
|
|
3589
3163
|
}
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
this._associations["mockWebsite"] = new WebsiteQueryOptions(options);
|
|
3593
|
-
} else {
|
|
3594
|
-
this._associations["mockWebsite"] = options || new WebsiteQueryOptions(["id"]);
|
|
3595
|
-
}
|
|
3164
|
+
relatedByPovitAggregate(aggregate) {
|
|
3165
|
+
this._aggregates["relatedByPovitAggregate"] = aggregate;
|
|
3596
3166
|
return this;
|
|
3597
3167
|
}
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
this._associations["files"] = options || new ThemeFileQueryOptions(["id"]);
|
|
3603
|
-
}
|
|
3604
|
-
return this;
|
|
3168
|
+
}
|
|
3169
|
+
class SpamFilterRuleQueryOptions extends QueryOptions {
|
|
3170
|
+
constructor(fields, queryArgs) {
|
|
3171
|
+
super(SpamFilterRuleEntityName, fields, queryArgs);
|
|
3605
3172
|
}
|
|
3606
|
-
|
|
3607
|
-
this.
|
|
3173
|
+
id() {
|
|
3174
|
+
this.addField("id");
|
|
3608
3175
|
return this;
|
|
3609
3176
|
}
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
this._associations["folders"] = new ThemeFileFolderQueryOptions(options);
|
|
3613
|
-
} else {
|
|
3614
|
-
this._associations["folders"] = options || new ThemeFileFolderQueryOptions(["id"]);
|
|
3615
|
-
}
|
|
3177
|
+
emails() {
|
|
3178
|
+
this.addField("emails");
|
|
3616
3179
|
return this;
|
|
3617
3180
|
}
|
|
3618
|
-
|
|
3619
|
-
this.
|
|
3181
|
+
ips() {
|
|
3182
|
+
this.addField("ips");
|
|
3620
3183
|
return this;
|
|
3621
3184
|
}
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
|
|
3625
|
-
} else {
|
|
3626
|
-
this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
|
|
3627
|
-
}
|
|
3185
|
+
keywords() {
|
|
3186
|
+
this.addField("keywords");
|
|
3628
3187
|
return this;
|
|
3629
3188
|
}
|
|
3630
|
-
|
|
3631
|
-
this.
|
|
3189
|
+
createdAt() {
|
|
3190
|
+
this.addField("createdAt");
|
|
3632
3191
|
return this;
|
|
3633
3192
|
}
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
this._associations["tempFiles"] = new TempFileQueryOptions(options);
|
|
3637
|
-
} else {
|
|
3638
|
-
this._associations["tempFiles"] = options || new TempFileQueryOptions(["id"]);
|
|
3639
|
-
}
|
|
3193
|
+
updatedAt() {
|
|
3194
|
+
this.addField("updatedAt");
|
|
3640
3195
|
return this;
|
|
3641
3196
|
}
|
|
3642
|
-
|
|
3643
|
-
this.
|
|
3197
|
+
content() {
|
|
3198
|
+
this.addField("content");
|
|
3644
3199
|
return this;
|
|
3645
3200
|
}
|
|
3646
|
-
|
|
3201
|
+
lang(options) {
|
|
3647
3202
|
if (Array.isArray(options)) {
|
|
3648
|
-
this._associations["
|
|
3203
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3649
3204
|
} else {
|
|
3650
|
-
this._associations["
|
|
3205
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3651
3206
|
}
|
|
3652
3207
|
return this;
|
|
3653
3208
|
}
|
|
@@ -3659,183 +3214,132 @@ class ThemeBranchQueryOptions extends QueryOptions {
|
|
|
3659
3214
|
}
|
|
3660
3215
|
return this;
|
|
3661
3216
|
}
|
|
3662
|
-
belongsToMain(options) {
|
|
3663
|
-
if (Array.isArray(options)) {
|
|
3664
|
-
this._associations["belongsToMain"] = new ThemeQueryOptions(options);
|
|
3665
|
-
} else {
|
|
3666
|
-
this._associations["belongsToMain"] = options || new ThemeQueryOptions(["id"]);
|
|
3667
|
-
}
|
|
3668
|
-
return this;
|
|
3669
|
-
}
|
|
3670
3217
|
}
|
|
3671
|
-
class
|
|
3218
|
+
class ThemeFileFolderQueryOptions extends QueryOptions {
|
|
3672
3219
|
constructor(fields, queryArgs) {
|
|
3673
|
-
super(
|
|
3220
|
+
super(ThemeFileFolderEntityName, fields, queryArgs);
|
|
3674
3221
|
}
|
|
3675
3222
|
id() {
|
|
3676
3223
|
this.addField("id");
|
|
3677
3224
|
return this;
|
|
3678
3225
|
}
|
|
3679
|
-
|
|
3680
|
-
this.addField("
|
|
3681
|
-
return this;
|
|
3682
|
-
}
|
|
3683
|
-
/**
|
|
3684
|
-
* 备注
|
|
3685
|
-
*/
|
|
3686
|
-
remark() {
|
|
3687
|
-
this.addField("remark");
|
|
3688
|
-
return this;
|
|
3689
|
-
}
|
|
3690
|
-
pageType() {
|
|
3691
|
-
this.addField("pageType");
|
|
3692
|
-
return this;
|
|
3693
|
-
}
|
|
3694
|
-
dataSource() {
|
|
3695
|
-
this.addField("dataSource");
|
|
3226
|
+
name() {
|
|
3227
|
+
this.addField("name");
|
|
3696
3228
|
return this;
|
|
3697
3229
|
}
|
|
3698
|
-
|
|
3699
|
-
this.addField("
|
|
3230
|
+
upadteAt() {
|
|
3231
|
+
this.addField("upadteAt");
|
|
3700
3232
|
return this;
|
|
3701
3233
|
}
|
|
3702
3234
|
createdAt() {
|
|
3703
3235
|
this.addField("createdAt");
|
|
3704
3236
|
return this;
|
|
3705
3237
|
}
|
|
3706
|
-
|
|
3707
|
-
|
|
3238
|
+
folders(options) {
|
|
3239
|
+
if (Array.isArray(options)) {
|
|
3240
|
+
this._associations["folders"] = new ThemeFileFolderQueryOptions(options);
|
|
3241
|
+
} else {
|
|
3242
|
+
this._associations["folders"] = options || new ThemeFileFolderQueryOptions(["id"]);
|
|
3243
|
+
}
|
|
3708
3244
|
return this;
|
|
3709
3245
|
}
|
|
3710
|
-
|
|
3711
|
-
this.
|
|
3246
|
+
foldersAggregate(aggregate) {
|
|
3247
|
+
this._aggregates["foldersAggregate"] = aggregate;
|
|
3712
3248
|
return this;
|
|
3713
3249
|
}
|
|
3714
|
-
|
|
3715
|
-
|
|
3250
|
+
files(options) {
|
|
3251
|
+
if (Array.isArray(options)) {
|
|
3252
|
+
this._associations["files"] = new ThemeFileQueryOptions(options);
|
|
3253
|
+
} else {
|
|
3254
|
+
this._associations["files"] = options || new ThemeFileQueryOptions(["id"]);
|
|
3255
|
+
}
|
|
3716
3256
|
return this;
|
|
3717
3257
|
}
|
|
3718
|
-
|
|
3719
|
-
this.
|
|
3258
|
+
filesAggregate(aggregate) {
|
|
3259
|
+
this._aggregates["filesAggregate"] = aggregate;
|
|
3720
3260
|
return this;
|
|
3721
3261
|
}
|
|
3722
|
-
|
|
3262
|
+
themeBranch(options) {
|
|
3723
3263
|
if (Array.isArray(options)) {
|
|
3724
|
-
this._associations["
|
|
3264
|
+
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
3725
3265
|
} else {
|
|
3726
|
-
this._associations["
|
|
3266
|
+
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3727
3267
|
}
|
|
3728
3268
|
return this;
|
|
3729
3269
|
}
|
|
3730
|
-
|
|
3270
|
+
parent(options) {
|
|
3731
3271
|
if (Array.isArray(options)) {
|
|
3732
|
-
this._associations["
|
|
3272
|
+
this._associations["parent"] = new ThemeFileFolderQueryOptions(options);
|
|
3733
3273
|
} else {
|
|
3734
|
-
this._associations["
|
|
3274
|
+
this._associations["parent"] = options || new ThemeFileFolderQueryOptions(["id"]);
|
|
3735
3275
|
}
|
|
3736
3276
|
return this;
|
|
3737
3277
|
}
|
|
3738
3278
|
}
|
|
3739
|
-
class
|
|
3279
|
+
class ThemeFileQueryOptions extends QueryOptions {
|
|
3740
3280
|
constructor(fields, queryArgs) {
|
|
3741
|
-
super(
|
|
3281
|
+
super(ThemeFileEntityName, fields, queryArgs);
|
|
3742
3282
|
}
|
|
3743
3283
|
id() {
|
|
3744
3284
|
this.addField("id");
|
|
3745
3285
|
return this;
|
|
3746
3286
|
}
|
|
3747
|
-
|
|
3748
|
-
this.addField("
|
|
3749
|
-
return this;
|
|
3750
|
-
}
|
|
3751
|
-
seoKeywords() {
|
|
3752
|
-
this.addField("seoKeywords");
|
|
3753
|
-
return this;
|
|
3754
|
-
}
|
|
3755
|
-
seoDescription() {
|
|
3756
|
-
this.addField("seoDescription");
|
|
3757
|
-
return this;
|
|
3758
|
-
}
|
|
3759
|
-
seoAuthor() {
|
|
3760
|
-
this.addField("seoAuthor");
|
|
3761
|
-
return this;
|
|
3762
|
-
}
|
|
3763
|
-
publisher() {
|
|
3764
|
-
this.addField("publisher");
|
|
3765
|
-
return this;
|
|
3766
|
-
}
|
|
3767
|
-
seoRobots() {
|
|
3768
|
-
this.addField("seoRobots");
|
|
3769
|
-
return this;
|
|
3770
|
-
}
|
|
3771
|
-
ogTitle() {
|
|
3772
|
-
this.addField("ogTitle");
|
|
3773
|
-
return this;
|
|
3774
|
-
}
|
|
3775
|
-
ogDescription() {
|
|
3776
|
-
this.addField("ogDescription");
|
|
3287
|
+
name() {
|
|
3288
|
+
this.addField("name");
|
|
3777
3289
|
return this;
|
|
3778
3290
|
}
|
|
3779
|
-
|
|
3780
|
-
this.addField("
|
|
3291
|
+
code() {
|
|
3292
|
+
this.addField("code");
|
|
3781
3293
|
return this;
|
|
3782
3294
|
}
|
|
3783
|
-
|
|
3784
|
-
this.addField("
|
|
3295
|
+
updatedAt() {
|
|
3296
|
+
this.addField("updatedAt");
|
|
3785
3297
|
return this;
|
|
3786
3298
|
}
|
|
3787
|
-
|
|
3788
|
-
this.addField("
|
|
3299
|
+
createdAt() {
|
|
3300
|
+
this.addField("createdAt");
|
|
3789
3301
|
return this;
|
|
3790
3302
|
}
|
|
3791
|
-
|
|
3792
|
-
this.
|
|
3303
|
+
storageMeta(fields) {
|
|
3304
|
+
this.addObjectField("storageMeta", fields);
|
|
3793
3305
|
return this;
|
|
3794
3306
|
}
|
|
3795
|
-
|
|
3796
|
-
this.addField("
|
|
3307
|
+
size() {
|
|
3308
|
+
this.addField("size");
|
|
3797
3309
|
return this;
|
|
3798
3310
|
}
|
|
3799
|
-
|
|
3800
|
-
this.addField("
|
|
3311
|
+
mimeType() {
|
|
3312
|
+
this.addField("mimeType");
|
|
3801
3313
|
return this;
|
|
3802
3314
|
}
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
3806
|
-
} else {
|
|
3807
|
-
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
3808
|
-
}
|
|
3315
|
+
extName() {
|
|
3316
|
+
this.addField("extName");
|
|
3809
3317
|
return this;
|
|
3810
3318
|
}
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
this._associations["product"] = new ProductQueryOptions(options);
|
|
3814
|
-
} else {
|
|
3815
|
-
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
3816
|
-
}
|
|
3319
|
+
mediaType() {
|
|
3320
|
+
this.addField("mediaType");
|
|
3817
3321
|
return this;
|
|
3818
3322
|
}
|
|
3819
|
-
|
|
3323
|
+
themeBranch(options) {
|
|
3820
3324
|
if (Array.isArray(options)) {
|
|
3821
|
-
this._associations["
|
|
3325
|
+
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
3822
3326
|
} else {
|
|
3823
|
-
this._associations["
|
|
3327
|
+
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3824
3328
|
}
|
|
3825
3329
|
return this;
|
|
3826
3330
|
}
|
|
3827
|
-
|
|
3331
|
+
folder(options) {
|
|
3828
3332
|
if (Array.isArray(options)) {
|
|
3829
|
-
this._associations["
|
|
3333
|
+
this._associations["folder"] = new ThemeFileFolderQueryOptions(options);
|
|
3830
3334
|
} else {
|
|
3831
|
-
this._associations["
|
|
3335
|
+
this._associations["folder"] = options || new ThemeFileFolderQueryOptions(["id"]);
|
|
3832
3336
|
}
|
|
3833
3337
|
return this;
|
|
3834
3338
|
}
|
|
3835
3339
|
}
|
|
3836
|
-
class
|
|
3340
|
+
class TempFileQueryOptions extends QueryOptions {
|
|
3837
3341
|
constructor(fields, queryArgs) {
|
|
3838
|
-
super(
|
|
3342
|
+
super(TempFileEntityName, fields, queryArgs);
|
|
3839
3343
|
}
|
|
3840
3344
|
id() {
|
|
3841
3345
|
this.addField("id");
|
|
@@ -3845,124 +3349,77 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
3845
3349
|
this.addField("name");
|
|
3846
3350
|
return this;
|
|
3847
3351
|
}
|
|
3848
|
-
|
|
3849
|
-
this.addField("
|
|
3850
|
-
return this;
|
|
3851
|
-
}
|
|
3852
|
-
createdAt() {
|
|
3853
|
-
this.addField("createdAt");
|
|
3854
|
-
return this;
|
|
3855
|
-
}
|
|
3856
|
-
updatedAt() {
|
|
3857
|
-
this.addField("updatedAt");
|
|
3858
|
-
return this;
|
|
3859
|
-
}
|
|
3860
|
-
content() {
|
|
3861
|
-
this.addField("content");
|
|
3862
|
-
return this;
|
|
3863
|
-
}
|
|
3864
|
-
slug() {
|
|
3865
|
-
this.addField("slug");
|
|
3352
|
+
size() {
|
|
3353
|
+
this.addField("size");
|
|
3866
3354
|
return this;
|
|
3867
3355
|
}
|
|
3868
|
-
|
|
3869
|
-
this.addField("
|
|
3356
|
+
extName() {
|
|
3357
|
+
this.addField("extName");
|
|
3870
3358
|
return this;
|
|
3871
3359
|
}
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
this._associations["children"] = new PostCategoryQueryOptions(options);
|
|
3875
|
-
} else {
|
|
3876
|
-
this._associations["children"] = options || new PostCategoryQueryOptions(["id"]);
|
|
3877
|
-
}
|
|
3360
|
+
mediaType() {
|
|
3361
|
+
this.addField("mediaType");
|
|
3878
3362
|
return this;
|
|
3879
3363
|
}
|
|
3880
|
-
|
|
3881
|
-
this.
|
|
3364
|
+
storageMeta(fields) {
|
|
3365
|
+
this.addObjectField("storageMeta", fields);
|
|
3882
3366
|
return this;
|
|
3883
3367
|
}
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
this._associations["posts"] = new PostQueryOptions(options);
|
|
3887
|
-
} else {
|
|
3888
|
-
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
3889
|
-
}
|
|
3368
|
+
createdAt() {
|
|
3369
|
+
this.addField("createdAt");
|
|
3890
3370
|
return this;
|
|
3891
3371
|
}
|
|
3892
|
-
|
|
3893
|
-
this.
|
|
3372
|
+
updateAt() {
|
|
3373
|
+
this.addField("updateAt");
|
|
3894
3374
|
return this;
|
|
3895
3375
|
}
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
3899
|
-
} else {
|
|
3900
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3901
|
-
}
|
|
3376
|
+
mimeType() {
|
|
3377
|
+
this.addField("mimeType");
|
|
3902
3378
|
return this;
|
|
3903
3379
|
}
|
|
3904
|
-
|
|
3380
|
+
website(options) {
|
|
3905
3381
|
if (Array.isArray(options)) {
|
|
3906
|
-
this._associations["
|
|
3382
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3907
3383
|
} else {
|
|
3908
|
-
this._associations["
|
|
3384
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3909
3385
|
}
|
|
3910
3386
|
return this;
|
|
3911
3387
|
}
|
|
3912
|
-
|
|
3388
|
+
themeBranch(options) {
|
|
3913
3389
|
if (Array.isArray(options)) {
|
|
3914
|
-
this._associations["
|
|
3390
|
+
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
3915
3391
|
} else {
|
|
3916
|
-
this._associations["
|
|
3392
|
+
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3917
3393
|
}
|
|
3918
3394
|
return this;
|
|
3919
3395
|
}
|
|
3920
|
-
|
|
3396
|
+
agentAttachment(options) {
|
|
3921
3397
|
if (Array.isArray(options)) {
|
|
3922
|
-
this._associations["
|
|
3398
|
+
this._associations["agentAttachment"] = new AgentAttachmentQueryOptions(options);
|
|
3923
3399
|
} else {
|
|
3924
|
-
this._associations["
|
|
3400
|
+
this._associations["agentAttachment"] = options || new AgentAttachmentQueryOptions(["id"]);
|
|
3925
3401
|
}
|
|
3926
3402
|
return this;
|
|
3927
3403
|
}
|
|
3928
3404
|
}
|
|
3929
|
-
class
|
|
3405
|
+
class AgentAttachmentQueryOptions extends QueryOptions {
|
|
3930
3406
|
constructor(fields, queryArgs) {
|
|
3931
|
-
super(
|
|
3407
|
+
super(AgentAttachmentEntityName, fields, queryArgs);
|
|
3932
3408
|
}
|
|
3933
3409
|
id() {
|
|
3934
3410
|
this.addField("id");
|
|
3935
3411
|
return this;
|
|
3936
3412
|
}
|
|
3937
|
-
|
|
3938
|
-
this.addField("
|
|
3939
|
-
return this;
|
|
3940
|
-
}
|
|
3941
|
-
/**
|
|
3942
|
-
* 置顶
|
|
3943
|
-
*/
|
|
3944
|
-
pinToTop() {
|
|
3945
|
-
this.addField("pinToTop");
|
|
3946
|
-
return this;
|
|
3947
|
-
}
|
|
3948
|
-
authorEmail() {
|
|
3949
|
-
this.addField("authorEmail");
|
|
3950
|
-
return this;
|
|
3951
|
-
}
|
|
3952
|
-
publishedAt() {
|
|
3953
|
-
this.addField("publishedAt");
|
|
3954
|
-
return this;
|
|
3955
|
-
}
|
|
3956
|
-
status() {
|
|
3957
|
-
this.addField("status");
|
|
3413
|
+
name() {
|
|
3414
|
+
this.addField("name");
|
|
3958
3415
|
return this;
|
|
3959
3416
|
}
|
|
3960
|
-
|
|
3961
|
-
this.addField("
|
|
3417
|
+
type() {
|
|
3418
|
+
this.addField("type");
|
|
3962
3419
|
return this;
|
|
3963
3420
|
}
|
|
3964
|
-
|
|
3965
|
-
this.addField("
|
|
3421
|
+
playload() {
|
|
3422
|
+
this.addField("playload");
|
|
3966
3423
|
return this;
|
|
3967
3424
|
}
|
|
3968
3425
|
createdAt() {
|
|
@@ -3973,207 +3430,185 @@ class PostQueryOptions extends QueryOptions {
|
|
|
3973
3430
|
this.addField("updatedAt");
|
|
3974
3431
|
return this;
|
|
3975
3432
|
}
|
|
3976
|
-
|
|
3977
|
-
this.addField("
|
|
3433
|
+
seqValue() {
|
|
3434
|
+
this.addField("seqValue");
|
|
3978
3435
|
return this;
|
|
3979
3436
|
}
|
|
3980
|
-
|
|
3981
|
-
|
|
3437
|
+
file(options) {
|
|
3438
|
+
if (Array.isArray(options)) {
|
|
3439
|
+
this._associations["file"] = new TempFileQueryOptions(options);
|
|
3440
|
+
} else {
|
|
3441
|
+
this._associations["file"] = options || new TempFileQueryOptions(["id"]);
|
|
3442
|
+
}
|
|
3982
3443
|
return this;
|
|
3983
3444
|
}
|
|
3984
|
-
|
|
3985
|
-
|
|
3445
|
+
timelineItme(options) {
|
|
3446
|
+
if (Array.isArray(options)) {
|
|
3447
|
+
this._associations["timelineItme"] = new AgentTimelineItemQueryOptions(options);
|
|
3448
|
+
} else {
|
|
3449
|
+
this._associations["timelineItme"] = options || new AgentTimelineItemQueryOptions(["id"]);
|
|
3450
|
+
}
|
|
3986
3451
|
return this;
|
|
3987
3452
|
}
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3453
|
+
}
|
|
3454
|
+
class AgentTimelineItemQueryOptions extends QueryOptions {
|
|
3455
|
+
constructor(fields, queryArgs) {
|
|
3456
|
+
super(AgentTimelineItemEntityName, fields, queryArgs);
|
|
3991
3457
|
}
|
|
3992
|
-
|
|
3993
|
-
this.addField("
|
|
3458
|
+
id() {
|
|
3459
|
+
this.addField("id");
|
|
3994
3460
|
return this;
|
|
3995
3461
|
}
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
this._associations["tags"] = new TagQueryOptions(options);
|
|
3999
|
-
} else {
|
|
4000
|
-
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
4001
|
-
}
|
|
3462
|
+
kind() {
|
|
3463
|
+
this.addField("kind");
|
|
4002
3464
|
return this;
|
|
4003
3465
|
}
|
|
4004
|
-
|
|
4005
|
-
this.
|
|
3466
|
+
payload() {
|
|
3467
|
+
this.addField("payload");
|
|
4006
3468
|
return this;
|
|
4007
3469
|
}
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
this._associations["author"] = new UserQueryOptions(options);
|
|
4011
|
-
} else {
|
|
4012
|
-
this._associations["author"] = options || new UserQueryOptions(["id"]);
|
|
4013
|
-
}
|
|
3470
|
+
createdAt() {
|
|
3471
|
+
this.addField("createdAt");
|
|
4014
3472
|
return this;
|
|
4015
3473
|
}
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
this._associations["cover"] = new MediaQueryOptions(options);
|
|
4019
|
-
} else {
|
|
4020
|
-
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
4021
|
-
}
|
|
3474
|
+
updatedAt() {
|
|
3475
|
+
this.addField("updatedAt");
|
|
4022
3476
|
return this;
|
|
4023
3477
|
}
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
4027
|
-
} else {
|
|
4028
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
4029
|
-
}
|
|
3478
|
+
seqValue() {
|
|
3479
|
+
this.addField("seqValue");
|
|
4030
3480
|
return this;
|
|
4031
3481
|
}
|
|
4032
|
-
|
|
3482
|
+
attachments(options) {
|
|
4033
3483
|
if (Array.isArray(options)) {
|
|
4034
|
-
this._associations["
|
|
3484
|
+
this._associations["attachments"] = new AgentAttachmentQueryOptions(options);
|
|
4035
3485
|
} else {
|
|
4036
|
-
this._associations["
|
|
3486
|
+
this._associations["attachments"] = options || new AgentAttachmentQueryOptions(["id"]);
|
|
4037
3487
|
}
|
|
4038
3488
|
return this;
|
|
4039
3489
|
}
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
4043
|
-
} else {
|
|
4044
|
-
this._associations["category"] = options || new PostCategoryQueryOptions(["id"]);
|
|
4045
|
-
}
|
|
3490
|
+
attachmentsAggregate(aggregate) {
|
|
3491
|
+
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
4046
3492
|
return this;
|
|
4047
3493
|
}
|
|
4048
|
-
|
|
3494
|
+
run(options) {
|
|
4049
3495
|
if (Array.isArray(options)) {
|
|
4050
|
-
this._associations["
|
|
3496
|
+
this._associations["run"] = new AgentRunQueryOptions(options);
|
|
4051
3497
|
} else {
|
|
4052
|
-
this._associations["
|
|
3498
|
+
this._associations["run"] = options || new AgentRunQueryOptions(["id"]);
|
|
4053
3499
|
}
|
|
4054
3500
|
return this;
|
|
4055
3501
|
}
|
|
4056
3502
|
}
|
|
4057
|
-
class
|
|
3503
|
+
class AgentRunQueryOptions extends QueryOptions {
|
|
4058
3504
|
constructor(fields, queryArgs) {
|
|
4059
|
-
super(
|
|
3505
|
+
super(AgentRunEntityName, fields, queryArgs);
|
|
4060
3506
|
}
|
|
4061
3507
|
id() {
|
|
4062
3508
|
this.addField("id");
|
|
4063
3509
|
return this;
|
|
4064
3510
|
}
|
|
4065
|
-
|
|
4066
|
-
this.addField("
|
|
3511
|
+
model() {
|
|
3512
|
+
this.addField("model");
|
|
4067
3513
|
return this;
|
|
4068
3514
|
}
|
|
4069
|
-
|
|
4070
|
-
this.addField("
|
|
3515
|
+
usage() {
|
|
3516
|
+
this.addField("usage");
|
|
4071
3517
|
return this;
|
|
4072
3518
|
}
|
|
4073
|
-
|
|
4074
|
-
this.addField("
|
|
3519
|
+
status() {
|
|
3520
|
+
this.addField("status");
|
|
4075
3521
|
return this;
|
|
4076
3522
|
}
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
this._associations["tags"] = new TagQueryOptions(options);
|
|
4080
|
-
} else {
|
|
4081
|
-
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
4082
|
-
}
|
|
3523
|
+
startedAt() {
|
|
3524
|
+
this.addField("startedAt");
|
|
4083
3525
|
return this;
|
|
4084
3526
|
}
|
|
4085
|
-
|
|
4086
|
-
this.
|
|
3527
|
+
finishedAt() {
|
|
3528
|
+
this.addField("finishedAt");
|
|
4087
3529
|
return this;
|
|
4088
3530
|
}
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
4092
|
-
} else {
|
|
4093
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
4094
|
-
}
|
|
3531
|
+
error() {
|
|
3532
|
+
this.addField("error");
|
|
4095
3533
|
return this;
|
|
4096
3534
|
}
|
|
4097
|
-
|
|
3535
|
+
timeline(options) {
|
|
4098
3536
|
if (Array.isArray(options)) {
|
|
4099
|
-
this._associations["
|
|
3537
|
+
this._associations["timeline"] = new AgentTimelineItemQueryOptions(options);
|
|
4100
3538
|
} else {
|
|
4101
|
-
this._associations["
|
|
3539
|
+
this._associations["timeline"] = options || new AgentTimelineItemQueryOptions(["id"]);
|
|
4102
3540
|
}
|
|
4103
3541
|
return this;
|
|
4104
3542
|
}
|
|
4105
|
-
|
|
4106
|
-
this._aggregates["
|
|
3543
|
+
timelineAggregate(aggregate) {
|
|
3544
|
+
this._aggregates["timelineAggregate"] = aggregate;
|
|
4107
3545
|
return this;
|
|
4108
3546
|
}
|
|
4109
|
-
|
|
3547
|
+
thread(options) {
|
|
4110
3548
|
if (Array.isArray(options)) {
|
|
4111
|
-
this._associations["
|
|
3549
|
+
this._associations["thread"] = new AgentThreadQueryOptions(options);
|
|
4112
3550
|
} else {
|
|
4113
|
-
this._associations["
|
|
3551
|
+
this._associations["thread"] = options || new AgentThreadQueryOptions(["id"]);
|
|
4114
3552
|
}
|
|
4115
3553
|
return this;
|
|
4116
3554
|
}
|
|
4117
3555
|
}
|
|
4118
|
-
class
|
|
3556
|
+
class AgentThreadQueryOptions extends QueryOptions {
|
|
4119
3557
|
constructor(fields, queryArgs) {
|
|
4120
|
-
super(
|
|
3558
|
+
super(AgentThreadEntityName, fields, queryArgs);
|
|
4121
3559
|
}
|
|
4122
3560
|
id() {
|
|
4123
3561
|
this.addField("id");
|
|
4124
3562
|
return this;
|
|
4125
3563
|
}
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
*/
|
|
4129
|
-
name() {
|
|
4130
|
-
this.addField("name");
|
|
3564
|
+
scene() {
|
|
3565
|
+
this.addField("scene");
|
|
4131
3566
|
return this;
|
|
4132
3567
|
}
|
|
4133
|
-
|
|
4134
|
-
this.addField("
|
|
3568
|
+
status() {
|
|
3569
|
+
this.addField("status");
|
|
4135
3570
|
return this;
|
|
4136
3571
|
}
|
|
4137
|
-
|
|
4138
|
-
this.addField("
|
|
3572
|
+
lastError() {
|
|
3573
|
+
this.addField("lastError");
|
|
4139
3574
|
return this;
|
|
4140
3575
|
}
|
|
4141
3576
|
createdAt() {
|
|
4142
3577
|
this.addField("createdAt");
|
|
4143
3578
|
return this;
|
|
4144
3579
|
}
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
4148
|
-
} else {
|
|
4149
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
4150
|
-
}
|
|
3580
|
+
updatedAt() {
|
|
3581
|
+
this.addField("updatedAt");
|
|
4151
3582
|
return this;
|
|
4152
3583
|
}
|
|
4153
|
-
|
|
3584
|
+
title() {
|
|
3585
|
+
this.addField("title");
|
|
3586
|
+
return this;
|
|
3587
|
+
}
|
|
3588
|
+
summary() {
|
|
3589
|
+
this.addField("summary");
|
|
3590
|
+
return this;
|
|
3591
|
+
}
|
|
3592
|
+
runs(options) {
|
|
4154
3593
|
if (Array.isArray(options)) {
|
|
4155
|
-
this._associations["
|
|
3594
|
+
this._associations["runs"] = new AgentRunQueryOptions(options);
|
|
4156
3595
|
} else {
|
|
4157
|
-
this._associations["
|
|
3596
|
+
this._associations["runs"] = options || new AgentRunQueryOptions(["id"]);
|
|
4158
3597
|
}
|
|
4159
3598
|
return this;
|
|
4160
3599
|
}
|
|
4161
|
-
|
|
4162
|
-
this._aggregates["
|
|
3600
|
+
runsAggregate(aggregate) {
|
|
3601
|
+
this._aggregates["runsAggregate"] = aggregate;
|
|
4163
3602
|
return this;
|
|
4164
3603
|
}
|
|
4165
|
-
|
|
3604
|
+
user(options) {
|
|
4166
3605
|
if (Array.isArray(options)) {
|
|
4167
|
-
this._associations["
|
|
3606
|
+
this._associations["user"] = new UserQueryOptions(options);
|
|
4168
3607
|
} else {
|
|
4169
|
-
this._associations["
|
|
3608
|
+
this._associations["user"] = options || new UserQueryOptions(["id"]);
|
|
4170
3609
|
}
|
|
4171
3610
|
return this;
|
|
4172
3611
|
}
|
|
4173
|
-
productsAggregate(aggregate) {
|
|
4174
|
-
this._aggregates["productsAggregate"] = aggregate;
|
|
4175
|
-
return this;
|
|
4176
|
-
}
|
|
4177
3612
|
website(options) {
|
|
4178
3613
|
if (Array.isArray(options)) {
|
|
4179
3614
|
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
@@ -4182,330 +3617,291 @@ class TagQueryOptions extends QueryOptions {
|
|
|
4182
3617
|
}
|
|
4183
3618
|
return this;
|
|
4184
3619
|
}
|
|
4185
|
-
|
|
3620
|
+
themeBranch(options) {
|
|
4186
3621
|
if (Array.isArray(options)) {
|
|
4187
|
-
this._associations["
|
|
3622
|
+
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
4188
3623
|
} else {
|
|
4189
|
-
this._associations["
|
|
3624
|
+
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
4190
3625
|
}
|
|
4191
3626
|
return this;
|
|
4192
3627
|
}
|
|
4193
3628
|
}
|
|
4194
|
-
class
|
|
3629
|
+
class ThemeInMarketQueryOptions extends QueryOptions {
|
|
4195
3630
|
constructor(fields, queryArgs) {
|
|
4196
|
-
super(
|
|
3631
|
+
super(ThemeInMarketEntityName, fields, queryArgs);
|
|
4197
3632
|
}
|
|
4198
3633
|
id() {
|
|
4199
3634
|
this.addField("id");
|
|
4200
3635
|
return this;
|
|
4201
3636
|
}
|
|
4202
|
-
|
|
4203
|
-
this.addField("
|
|
3637
|
+
title() {
|
|
3638
|
+
this.addField("title");
|
|
4204
3639
|
return this;
|
|
4205
3640
|
}
|
|
4206
|
-
|
|
4207
|
-
this.addField("
|
|
3641
|
+
description() {
|
|
3642
|
+
this.addField("description");
|
|
4208
3643
|
return this;
|
|
4209
3644
|
}
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
this._associations["media"] = new MediaQueryOptions(options);
|
|
4213
|
-
} else {
|
|
4214
|
-
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
4215
|
-
}
|
|
3645
|
+
status() {
|
|
3646
|
+
this.addField("status");
|
|
4216
3647
|
return this;
|
|
4217
3648
|
}
|
|
4218
|
-
|
|
3649
|
+
updatedAt() {
|
|
3650
|
+
this.addField("updatedAt");
|
|
3651
|
+
return this;
|
|
3652
|
+
}
|
|
3653
|
+
createdAt() {
|
|
3654
|
+
this.addField("createdAt");
|
|
3655
|
+
return this;
|
|
3656
|
+
}
|
|
3657
|
+
versions(options) {
|
|
4219
3658
|
if (Array.isArray(options)) {
|
|
4220
|
-
this._associations["
|
|
3659
|
+
this._associations["versions"] = new ThemeVersionQueryOptions(options);
|
|
4221
3660
|
} else {
|
|
4222
|
-
this._associations["
|
|
3661
|
+
this._associations["versions"] = options || new ThemeVersionQueryOptions(["id"]);
|
|
4223
3662
|
}
|
|
4224
3663
|
return this;
|
|
4225
3664
|
}
|
|
3665
|
+
versionsAggregate(aggregate) {
|
|
3666
|
+
this._aggregates["versionsAggregate"] = aggregate;
|
|
3667
|
+
return this;
|
|
3668
|
+
}
|
|
4226
3669
|
}
|
|
4227
|
-
class
|
|
3670
|
+
class ThemeVersionQueryOptions extends QueryOptions {
|
|
4228
3671
|
constructor(fields, queryArgs) {
|
|
4229
|
-
super(
|
|
3672
|
+
super(ThemeVersionEntityName, fields, queryArgs);
|
|
4230
3673
|
}
|
|
4231
3674
|
id() {
|
|
4232
3675
|
this.addField("id");
|
|
4233
3676
|
return this;
|
|
4234
3677
|
}
|
|
4235
|
-
|
|
4236
|
-
this.addField("
|
|
3678
|
+
version() {
|
|
3679
|
+
this.addField("version");
|
|
4237
3680
|
return this;
|
|
4238
3681
|
}
|
|
4239
|
-
|
|
3682
|
+
theme(options) {
|
|
4240
3683
|
if (Array.isArray(options)) {
|
|
4241
|
-
this._associations["
|
|
3684
|
+
this._associations["theme"] = new ThemeBranchQueryOptions(options);
|
|
4242
3685
|
} else {
|
|
4243
|
-
this._associations["
|
|
3686
|
+
this._associations["theme"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
4244
3687
|
}
|
|
4245
3688
|
return this;
|
|
4246
3689
|
}
|
|
4247
|
-
|
|
3690
|
+
themeInMarket(options) {
|
|
4248
3691
|
if (Array.isArray(options)) {
|
|
4249
|
-
this._associations["
|
|
3692
|
+
this._associations["themeInMarket"] = new ThemeInMarketQueryOptions(options);
|
|
4250
3693
|
} else {
|
|
4251
|
-
this._associations["
|
|
3694
|
+
this._associations["themeInMarket"] = options || new ThemeInMarketQueryOptions(["id"]);
|
|
4252
3695
|
}
|
|
4253
3696
|
return this;
|
|
4254
3697
|
}
|
|
4255
3698
|
}
|
|
4256
|
-
class
|
|
3699
|
+
class ThemeCategoryQueryOptions extends QueryOptions {
|
|
4257
3700
|
constructor(fields, queryArgs) {
|
|
4258
|
-
super(
|
|
3701
|
+
super(ThemeCategoryEntityName, fields, queryArgs);
|
|
4259
3702
|
}
|
|
4260
3703
|
id() {
|
|
4261
3704
|
this.addField("id");
|
|
4262
3705
|
return this;
|
|
4263
3706
|
}
|
|
4264
|
-
|
|
4265
|
-
this.addField("
|
|
4266
|
-
return this;
|
|
4267
|
-
}
|
|
4268
|
-
answer() {
|
|
4269
|
-
this.addField("answer");
|
|
4270
|
-
return this;
|
|
4271
|
-
}
|
|
4272
|
-
createdAt() {
|
|
4273
|
-
this.addField("createdAt");
|
|
3707
|
+
name() {
|
|
3708
|
+
this.addField("name");
|
|
4274
3709
|
return this;
|
|
4275
3710
|
}
|
|
4276
|
-
|
|
4277
|
-
this.addField("
|
|
3711
|
+
description() {
|
|
3712
|
+
this.addField("description");
|
|
4278
3713
|
return this;
|
|
4279
3714
|
}
|
|
4280
3715
|
seqValue() {
|
|
4281
3716
|
this.addField("seqValue");
|
|
4282
3717
|
return this;
|
|
4283
3718
|
}
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
this._associations["product"] = new ProductQueryOptions(options);
|
|
4287
|
-
} else {
|
|
4288
|
-
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
4289
|
-
}
|
|
4290
|
-
return this;
|
|
4291
|
-
}
|
|
4292
|
-
}
|
|
4293
|
-
class ProductRelatedPivotQueryOptions extends QueryOptions {
|
|
4294
|
-
constructor(fields, queryArgs) {
|
|
4295
|
-
super(ProductRelatedPivotEntityName, fields, queryArgs);
|
|
4296
|
-
}
|
|
4297
|
-
id() {
|
|
4298
|
-
this.addField("id");
|
|
3719
|
+
createdAt() {
|
|
3720
|
+
this.addField("createdAt");
|
|
4299
3721
|
return this;
|
|
4300
3722
|
}
|
|
4301
|
-
|
|
4302
|
-
this.addField("
|
|
3723
|
+
updatedAt() {
|
|
3724
|
+
this.addField("updatedAt");
|
|
4303
3725
|
return this;
|
|
4304
3726
|
}
|
|
4305
|
-
|
|
3727
|
+
themes(options) {
|
|
4306
3728
|
if (Array.isArray(options)) {
|
|
4307
|
-
this._associations["
|
|
3729
|
+
this._associations["themes"] = new ThemeQueryOptions(options);
|
|
4308
3730
|
} else {
|
|
4309
|
-
this._associations["
|
|
3731
|
+
this._associations["themes"] = options || new ThemeQueryOptions(["id"]);
|
|
4310
3732
|
}
|
|
4311
3733
|
return this;
|
|
4312
3734
|
}
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
this._associations["relatedBy"] = new ProductQueryOptions(options);
|
|
4316
|
-
} else {
|
|
4317
|
-
this._associations["relatedBy"] = options || new ProductQueryOptions(["id"]);
|
|
4318
|
-
}
|
|
3735
|
+
themesAggregate(aggregate) {
|
|
3736
|
+
this._aggregates["themesAggregate"] = aggregate;
|
|
4319
3737
|
return this;
|
|
4320
3738
|
}
|
|
4321
3739
|
}
|
|
4322
|
-
class
|
|
3740
|
+
class ThemeQueryOptions extends QueryOptions {
|
|
4323
3741
|
constructor(fields, queryArgs) {
|
|
4324
|
-
super(
|
|
3742
|
+
super(ThemeEntityName, fields, queryArgs);
|
|
4325
3743
|
}
|
|
4326
3744
|
id() {
|
|
4327
3745
|
this.addField("id");
|
|
4328
3746
|
return this;
|
|
4329
3747
|
}
|
|
4330
|
-
|
|
4331
|
-
this.addField("
|
|
4332
|
-
return this;
|
|
4333
|
-
}
|
|
4334
|
-
featured() {
|
|
4335
|
-
this.addField("featured");
|
|
4336
|
-
return this;
|
|
4337
|
-
}
|
|
4338
|
-
showInNavMenu() {
|
|
4339
|
-
this.addField("showInNavMenu");
|
|
4340
|
-
return this;
|
|
4341
|
-
}
|
|
4342
|
-
seqValue() {
|
|
4343
|
-
this.addField("seqValue");
|
|
4344
|
-
return this;
|
|
4345
|
-
}
|
|
4346
|
-
/**
|
|
4347
|
-
* 特色
|
|
4348
|
-
*/
|
|
4349
|
-
features() {
|
|
4350
|
-
this.addField("features");
|
|
3748
|
+
name() {
|
|
3749
|
+
this.addField("name");
|
|
4351
3750
|
return this;
|
|
4352
3751
|
}
|
|
4353
|
-
|
|
4354
|
-
this.addField("
|
|
3752
|
+
description() {
|
|
3753
|
+
this.addField("description");
|
|
4355
3754
|
return this;
|
|
4356
3755
|
}
|
|
4357
|
-
|
|
4358
|
-
this.addField("
|
|
3756
|
+
createdAt() {
|
|
3757
|
+
this.addField("createdAt");
|
|
4359
3758
|
return this;
|
|
4360
3759
|
}
|
|
4361
|
-
|
|
4362
|
-
this.addField("
|
|
3760
|
+
updatedAt() {
|
|
3761
|
+
this.addField("updatedAt");
|
|
4363
3762
|
return this;
|
|
4364
3763
|
}
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
*/
|
|
4368
|
-
externalVideoUrl() {
|
|
4369
|
-
this.addField("externalVideoUrl");
|
|
3764
|
+
seqValue() {
|
|
3765
|
+
this.addField("seqValue");
|
|
4370
3766
|
return this;
|
|
4371
3767
|
}
|
|
4372
|
-
|
|
4373
|
-
this.addField("
|
|
3768
|
+
slug() {
|
|
3769
|
+
this.addField("slug");
|
|
4374
3770
|
return this;
|
|
4375
3771
|
}
|
|
4376
|
-
|
|
4377
|
-
|
|
3772
|
+
branches(options) {
|
|
3773
|
+
if (Array.isArray(options)) {
|
|
3774
|
+
this._associations["branches"] = new ThemeBranchQueryOptions(options);
|
|
3775
|
+
} else {
|
|
3776
|
+
this._associations["branches"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3777
|
+
}
|
|
4378
3778
|
return this;
|
|
4379
3779
|
}
|
|
4380
|
-
|
|
4381
|
-
this.
|
|
3780
|
+
branchesAggregate(aggregate) {
|
|
3781
|
+
this._aggregates["branchesAggregate"] = aggregate;
|
|
4382
3782
|
return this;
|
|
4383
3783
|
}
|
|
4384
|
-
|
|
4385
|
-
|
|
3784
|
+
cover(options) {
|
|
3785
|
+
if (Array.isArray(options)) {
|
|
3786
|
+
this._associations["cover"] = new MediaQueryOptions(options);
|
|
3787
|
+
} else {
|
|
3788
|
+
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
3789
|
+
}
|
|
4386
3790
|
return this;
|
|
4387
3791
|
}
|
|
4388
|
-
|
|
4389
|
-
|
|
3792
|
+
category(options) {
|
|
3793
|
+
if (Array.isArray(options)) {
|
|
3794
|
+
this._associations["category"] = new ThemeCategoryQueryOptions(options);
|
|
3795
|
+
} else {
|
|
3796
|
+
this._associations["category"] = options || new ThemeCategoryQueryOptions(["id"]);
|
|
3797
|
+
}
|
|
4390
3798
|
return this;
|
|
4391
3799
|
}
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
3800
|
+
}
|
|
3801
|
+
class ThemeBranchQueryOptions extends QueryOptions {
|
|
3802
|
+
constructor(fields, queryArgs) {
|
|
3803
|
+
super(ThemeBranchEntityName, fields, queryArgs);
|
|
4395
3804
|
}
|
|
4396
|
-
|
|
4397
|
-
this.addField("
|
|
3805
|
+
id() {
|
|
3806
|
+
this.addField("id");
|
|
4398
3807
|
return this;
|
|
4399
3808
|
}
|
|
4400
|
-
|
|
4401
|
-
this.addField("
|
|
3809
|
+
name() {
|
|
3810
|
+
this.addField("name");
|
|
4402
3811
|
return this;
|
|
4403
3812
|
}
|
|
4404
|
-
|
|
4405
|
-
this.addField("
|
|
3813
|
+
settings() {
|
|
3814
|
+
this.addField("settings");
|
|
4406
3815
|
return this;
|
|
4407
3816
|
}
|
|
4408
3817
|
description() {
|
|
4409
3818
|
this.addField("description");
|
|
4410
3819
|
return this;
|
|
4411
3820
|
}
|
|
4412
|
-
|
|
4413
|
-
|
|
3821
|
+
/**
|
|
3822
|
+
* 对应市场母主题ID
|
|
3823
|
+
*/
|
|
3824
|
+
parentThemeId() {
|
|
3825
|
+
this.addField("parentThemeId");
|
|
4414
3826
|
return this;
|
|
4415
3827
|
}
|
|
4416
|
-
|
|
4417
|
-
this.addField("
|
|
3828
|
+
createdAt() {
|
|
3829
|
+
this.addField("createdAt");
|
|
4418
3830
|
return this;
|
|
4419
3831
|
}
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
4423
|
-
} else {
|
|
4424
|
-
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
4425
|
-
}
|
|
3832
|
+
updatedAt() {
|
|
3833
|
+
this.addField("updatedAt");
|
|
4426
3834
|
return this;
|
|
4427
3835
|
}
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
this._associations["tags"] = new TagQueryOptions(options);
|
|
4431
|
-
} else {
|
|
4432
|
-
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
4433
|
-
}
|
|
3836
|
+
status() {
|
|
3837
|
+
this.addField("status");
|
|
4434
3838
|
return this;
|
|
4435
3839
|
}
|
|
4436
|
-
|
|
4437
|
-
this.
|
|
3840
|
+
version() {
|
|
3841
|
+
this.addField("version");
|
|
4438
3842
|
return this;
|
|
4439
3843
|
}
|
|
4440
|
-
|
|
3844
|
+
mockWebsite(options) {
|
|
4441
3845
|
if (Array.isArray(options)) {
|
|
4442
|
-
this._associations["
|
|
3846
|
+
this._associations["mockWebsite"] = new WebsiteQueryOptions(options);
|
|
4443
3847
|
} else {
|
|
4444
|
-
this._associations["
|
|
3848
|
+
this._associations["mockWebsite"] = options || new WebsiteQueryOptions(["id"]);
|
|
4445
3849
|
}
|
|
4446
3850
|
return this;
|
|
4447
3851
|
}
|
|
4448
|
-
|
|
4449
|
-
this._aggregates["mediaPivotsAggregate"] = aggregate;
|
|
4450
|
-
return this;
|
|
4451
|
-
}
|
|
4452
|
-
attachmentPivots(options) {
|
|
3852
|
+
files(options) {
|
|
4453
3853
|
if (Array.isArray(options)) {
|
|
4454
|
-
this._associations["
|
|
3854
|
+
this._associations["files"] = new ThemeFileQueryOptions(options);
|
|
4455
3855
|
} else {
|
|
4456
|
-
this._associations["
|
|
3856
|
+
this._associations["files"] = options || new ThemeFileQueryOptions(["id"]);
|
|
4457
3857
|
}
|
|
4458
3858
|
return this;
|
|
4459
3859
|
}
|
|
4460
|
-
|
|
4461
|
-
this._aggregates["
|
|
3860
|
+
filesAggregate(aggregate) {
|
|
3861
|
+
this._aggregates["filesAggregate"] = aggregate;
|
|
4462
3862
|
return this;
|
|
4463
3863
|
}
|
|
4464
|
-
|
|
3864
|
+
folders(options) {
|
|
4465
3865
|
if (Array.isArray(options)) {
|
|
4466
|
-
this._associations["
|
|
3866
|
+
this._associations["folders"] = new ThemeFileFolderQueryOptions(options);
|
|
4467
3867
|
} else {
|
|
4468
|
-
this._associations["
|
|
3868
|
+
this._associations["folders"] = options || new ThemeFileFolderQueryOptions(["id"]);
|
|
4469
3869
|
}
|
|
4470
3870
|
return this;
|
|
4471
3871
|
}
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
this._associations["meta"] = new PageMetaQueryOptions(options);
|
|
4475
|
-
} else {
|
|
4476
|
-
this._associations["meta"] = options || new PageMetaQueryOptions(["id"]);
|
|
4477
|
-
}
|
|
3872
|
+
foldersAggregate(aggregate) {
|
|
3873
|
+
this._aggregates["foldersAggregate"] = aggregate;
|
|
4478
3874
|
return this;
|
|
4479
3875
|
}
|
|
4480
|
-
|
|
3876
|
+
agentThreads(options) {
|
|
4481
3877
|
if (Array.isArray(options)) {
|
|
4482
|
-
this._associations["
|
|
3878
|
+
this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
|
|
4483
3879
|
} else {
|
|
4484
|
-
this._associations["
|
|
3880
|
+
this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
|
|
4485
3881
|
}
|
|
4486
3882
|
return this;
|
|
4487
3883
|
}
|
|
4488
|
-
|
|
4489
|
-
this._aggregates["
|
|
3884
|
+
agentThreadsAggregate(aggregate) {
|
|
3885
|
+
this._aggregates["agentThreadsAggregate"] = aggregate;
|
|
4490
3886
|
return this;
|
|
4491
3887
|
}
|
|
4492
|
-
|
|
3888
|
+
tempFiles(options) {
|
|
4493
3889
|
if (Array.isArray(options)) {
|
|
4494
|
-
this._associations["
|
|
3890
|
+
this._associations["tempFiles"] = new TempFileQueryOptions(options);
|
|
4495
3891
|
} else {
|
|
4496
|
-
this._associations["
|
|
3892
|
+
this._associations["tempFiles"] = options || new TempFileQueryOptions(["id"]);
|
|
4497
3893
|
}
|
|
4498
3894
|
return this;
|
|
4499
3895
|
}
|
|
4500
|
-
|
|
4501
|
-
this._aggregates["
|
|
3896
|
+
tempFilesAggregate(aggregate) {
|
|
3897
|
+
this._aggregates["tempFilesAggregate"] = aggregate;
|
|
4502
3898
|
return this;
|
|
4503
3899
|
}
|
|
4504
|
-
|
|
3900
|
+
marketVersion(options) {
|
|
4505
3901
|
if (Array.isArray(options)) {
|
|
4506
|
-
this._associations["
|
|
3902
|
+
this._associations["marketVersion"] = new ThemeVersionQueryOptions(options);
|
|
4507
3903
|
} else {
|
|
4508
|
-
this._associations["
|
|
3904
|
+
this._associations["marketVersion"] = options || new ThemeVersionQueryOptions(["id"]);
|
|
4509
3905
|
}
|
|
4510
3906
|
return this;
|
|
4511
3907
|
}
|
|
@@ -4517,64 +3913,11 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
4517
3913
|
}
|
|
4518
3914
|
return this;
|
|
4519
3915
|
}
|
|
4520
|
-
|
|
4521
|
-
if (Array.isArray(options)) {
|
|
4522
|
-
this._associations["relatedByPovit"] = new ProductRelatedPivotQueryOptions(options);
|
|
4523
|
-
} else {
|
|
4524
|
-
this._associations["relatedByPovit"] = options || new ProductRelatedPivotQueryOptions(["id"]);
|
|
4525
|
-
}
|
|
4526
|
-
return this;
|
|
4527
|
-
}
|
|
4528
|
-
relatedByPovitAggregate(aggregate) {
|
|
4529
|
-
this._aggregates["relatedByPovitAggregate"] = aggregate;
|
|
4530
|
-
return this;
|
|
4531
|
-
}
|
|
4532
|
-
}
|
|
4533
|
-
class SpamFilterRuleQueryOptions extends QueryOptions {
|
|
4534
|
-
constructor(fields, queryArgs) {
|
|
4535
|
-
super(SpamFilterRuleEntityName, fields, queryArgs);
|
|
4536
|
-
}
|
|
4537
|
-
id() {
|
|
4538
|
-
this.addField("id");
|
|
4539
|
-
return this;
|
|
4540
|
-
}
|
|
4541
|
-
emails() {
|
|
4542
|
-
this.addField("emails");
|
|
4543
|
-
return this;
|
|
4544
|
-
}
|
|
4545
|
-
ips() {
|
|
4546
|
-
this.addField("ips");
|
|
4547
|
-
return this;
|
|
4548
|
-
}
|
|
4549
|
-
keywords() {
|
|
4550
|
-
this.addField("keywords");
|
|
4551
|
-
return this;
|
|
4552
|
-
}
|
|
4553
|
-
createdAt() {
|
|
4554
|
-
this.addField("createdAt");
|
|
4555
|
-
return this;
|
|
4556
|
-
}
|
|
4557
|
-
updatedAt() {
|
|
4558
|
-
this.addField("updatedAt");
|
|
4559
|
-
return this;
|
|
4560
|
-
}
|
|
4561
|
-
content() {
|
|
4562
|
-
this.addField("content");
|
|
4563
|
-
return this;
|
|
4564
|
-
}
|
|
4565
|
-
lang(options) {
|
|
4566
|
-
if (Array.isArray(options)) {
|
|
4567
|
-
this._associations["lang"] = new LangQueryOptions(options);
|
|
4568
|
-
} else {
|
|
4569
|
-
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
4570
|
-
}
|
|
4571
|
-
return this;
|
|
4572
|
-
}
|
|
4573
|
-
website(options) {
|
|
3916
|
+
belongsToMain(options) {
|
|
4574
3917
|
if (Array.isArray(options)) {
|
|
4575
|
-
this._associations["
|
|
3918
|
+
this._associations["belongsToMain"] = new ThemeQueryOptions(options);
|
|
4576
3919
|
} else {
|
|
4577
|
-
this._associations["
|
|
3920
|
+
this._associations["belongsToMain"] = options || new ThemeQueryOptions(["id"]);
|
|
4578
3921
|
}
|
|
4579
3922
|
return this;
|
|
4580
3923
|
}
|
|
@@ -4891,47 +4234,6 @@ class UserOperationQueryOptions extends QueryOptions {
|
|
|
4891
4234
|
return this;
|
|
4892
4235
|
}
|
|
4893
4236
|
}
|
|
4894
|
-
class SvgIconQueryOptions extends QueryOptions {
|
|
4895
|
-
constructor(fields, queryArgs) {
|
|
4896
|
-
super(SvgIconEntityName, fields, queryArgs);
|
|
4897
|
-
}
|
|
4898
|
-
id() {
|
|
4899
|
-
this.addField("id");
|
|
4900
|
-
return this;
|
|
4901
|
-
}
|
|
4902
|
-
name() {
|
|
4903
|
-
this.addField("name");
|
|
4904
|
-
return this;
|
|
4905
|
-
}
|
|
4906
|
-
title() {
|
|
4907
|
-
this.addField("title");
|
|
4908
|
-
return this;
|
|
4909
|
-
}
|
|
4910
|
-
code() {
|
|
4911
|
-
this.addField("code");
|
|
4912
|
-
return this;
|
|
4913
|
-
}
|
|
4914
|
-
description() {
|
|
4915
|
-
this.addField("description");
|
|
4916
|
-
return this;
|
|
4917
|
-
}
|
|
4918
|
-
createdAt() {
|
|
4919
|
-
this.addField("createdAt");
|
|
4920
|
-
return this;
|
|
4921
|
-
}
|
|
4922
|
-
updatedAt() {
|
|
4923
|
-
this.addField("updatedAt");
|
|
4924
|
-
return this;
|
|
4925
|
-
}
|
|
4926
|
-
website(options) {
|
|
4927
|
-
if (Array.isArray(options)) {
|
|
4928
|
-
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
4929
|
-
} else {
|
|
4930
|
-
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
4931
|
-
}
|
|
4932
|
-
return this;
|
|
4933
|
-
}
|
|
4934
|
-
}
|
|
4935
4237
|
class AgentMemoFileQueryOptions extends QueryOptions {
|
|
4936
4238
|
constructor(fields, queryArgs) {
|
|
4937
4239
|
super(AgentMemoFileEntityName, fields, queryArgs);
|
|
@@ -5263,18 +4565,14 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
5263
4565
|
}
|
|
5264
4566
|
return this;
|
|
5265
4567
|
}
|
|
5266
|
-
|
|
4568
|
+
themeBranch(options) {
|
|
5267
4569
|
if (Array.isArray(options)) {
|
|
5268
|
-
this._associations["
|
|
4570
|
+
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
5269
4571
|
} else {
|
|
5270
|
-
this._associations["
|
|
4572
|
+
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
5271
4573
|
}
|
|
5272
4574
|
return this;
|
|
5273
4575
|
}
|
|
5274
|
-
themesAggregate(aggregate) {
|
|
5275
|
-
this._aggregates["themesAggregate"] = aggregate;
|
|
5276
|
-
return this;
|
|
5277
|
-
}
|
|
5278
4576
|
analyticsConfig(options) {
|
|
5279
4577
|
if (Array.isArray(options)) {
|
|
5280
4578
|
this._associations["analyticsConfig"] = new AnalyticsConfigQueryOptions(options);
|
|
@@ -5351,18 +4649,6 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
5351
4649
|
this._aggregates["userOperationsAggregate"] = aggregate;
|
|
5352
4650
|
return this;
|
|
5353
4651
|
}
|
|
5354
|
-
svgIcons(options) {
|
|
5355
|
-
if (Array.isArray(options)) {
|
|
5356
|
-
this._associations["svgIcons"] = new SvgIconQueryOptions(options);
|
|
5357
|
-
} else {
|
|
5358
|
-
this._associations["svgIcons"] = options || new SvgIconQueryOptions(["id"]);
|
|
5359
|
-
}
|
|
5360
|
-
return this;
|
|
5361
|
-
}
|
|
5362
|
-
svgIconsAggregate(aggregate) {
|
|
5363
|
-
this._aggregates["svgIconsAggregate"] = aggregate;
|
|
5364
|
-
return this;
|
|
5365
|
-
}
|
|
5366
4652
|
tags(options) {
|
|
5367
4653
|
if (Array.isArray(options)) {
|
|
5368
4654
|
this._associations["tags"] = new TagQueryOptions(options);
|
|
@@ -5724,6 +5010,10 @@ class LangQueryOptions extends QueryOptions {
|
|
|
5724
5010
|
this.addField("urlFragment");
|
|
5725
5011
|
return this;
|
|
5726
5012
|
}
|
|
5013
|
+
dir() {
|
|
5014
|
+
this.addField("dir");
|
|
5015
|
+
return this;
|
|
5016
|
+
}
|
|
5727
5017
|
webPartsOfMediaFolder(options) {
|
|
5728
5018
|
if (Array.isArray(options)) {
|
|
5729
5019
|
this._associations["webPartsOfMediaFolder"] = new MediaFolderQueryOptions(options);
|
|
@@ -5856,18 +5146,6 @@ class LangQueryOptions extends QueryOptions {
|
|
|
5856
5146
|
this._aggregates["baseLangOfAggregate"] = aggregate;
|
|
5857
5147
|
return this;
|
|
5858
5148
|
}
|
|
5859
|
-
themes(options) {
|
|
5860
|
-
if (Array.isArray(options)) {
|
|
5861
|
-
this._associations["themes"] = new ThemeBranchQueryOptions(options);
|
|
5862
|
-
} else {
|
|
5863
|
-
this._associations["themes"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
5864
|
-
}
|
|
5865
|
-
return this;
|
|
5866
|
-
}
|
|
5867
|
-
themesAggregate(aggregate) {
|
|
5868
|
-
this._aggregates["themesAggregate"] = aggregate;
|
|
5869
|
-
return this;
|
|
5870
|
-
}
|
|
5871
5149
|
bulletins(options) {
|
|
5872
5150
|
if (Array.isArray(options)) {
|
|
5873
5151
|
this._associations["bulletins"] = new BulletinQueryOptions(options);
|
|
@@ -6141,18 +5419,6 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
6141
5419
|
}
|
|
6142
5420
|
return this;
|
|
6143
5421
|
}
|
|
6144
|
-
usedByThemConfig(options) {
|
|
6145
|
-
if (Array.isArray(options)) {
|
|
6146
|
-
this._associations["usedByThemConfig"] = new ThemeConfigQueryOptions(options);
|
|
6147
|
-
} else {
|
|
6148
|
-
this._associations["usedByThemConfig"] = options || new ThemeConfigQueryOptions(["id"]);
|
|
6149
|
-
}
|
|
6150
|
-
return this;
|
|
6151
|
-
}
|
|
6152
|
-
usedByThemConfigAggregate(aggregate) {
|
|
6153
|
-
this._aggregates["usedByThemConfigAggregate"] = aggregate;
|
|
6154
|
-
return this;
|
|
6155
|
-
}
|
|
6156
5422
|
pageMeta(options) {
|
|
6157
5423
|
if (Array.isArray(options)) {
|
|
6158
5424
|
this._associations["pageMeta"] = new PageMetaQueryOptions(options);
|
|
@@ -6189,18 +5455,6 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
6189
5455
|
this._aggregates["snapshotAggregate"] = aggregate;
|
|
6190
5456
|
return this;
|
|
6191
5457
|
}
|
|
6192
|
-
coverOfComponent(options) {
|
|
6193
|
-
if (Array.isArray(options)) {
|
|
6194
|
-
this._associations["coverOfComponent"] = new FrontComponentQueryOptions(options);
|
|
6195
|
-
} else {
|
|
6196
|
-
this._associations["coverOfComponent"] = options || new FrontComponentQueryOptions(["id"]);
|
|
6197
|
-
}
|
|
6198
|
-
return this;
|
|
6199
|
-
}
|
|
6200
|
-
coverOfComponentAggregate(aggregate) {
|
|
6201
|
-
this._aggregates["coverOfComponentAggregate"] = aggregate;
|
|
6202
|
-
return this;
|
|
6203
|
-
}
|
|
6204
5458
|
attachmentOfEnquiry(options) {
|
|
6205
5459
|
if (Array.isArray(options)) {
|
|
6206
5460
|
this._associations["attachmentOfEnquiry"] = new EnquiryQueryOptions(options);
|
|
@@ -6809,11 +6063,6 @@ const websiteTypeEntry = {
|
|
|
6809
6063
|
entityLabel: WebsiteTypeEntityLabel,
|
|
6810
6064
|
toInput: websiteTypeToInput
|
|
6811
6065
|
};
|
|
6812
|
-
const pageEntry = {
|
|
6813
|
-
entityName: PageEntityName,
|
|
6814
|
-
entityLabel: PageEntityLabel,
|
|
6815
|
-
toInput: pageToInput
|
|
6816
|
-
};
|
|
6817
6066
|
const postEntry = {
|
|
6818
6067
|
entityName: PostEntityName,
|
|
6819
6068
|
entityLabel: PostEntityLabel,
|
|
@@ -6879,16 +6128,6 @@ const attachmentOnProductEntry = {
|
|
|
6879
6128
|
entityLabel: AttachmentOnProductEntityLabel,
|
|
6880
6129
|
toInput: attachmentOnProductToInput
|
|
6881
6130
|
};
|
|
6882
|
-
const frontComponentEntry = {
|
|
6883
|
-
entityName: FrontComponentEntityName,
|
|
6884
|
-
entityLabel: FrontComponentEntityLabel,
|
|
6885
|
-
toInput: frontComponentToInput
|
|
6886
|
-
};
|
|
6887
|
-
const componentCategoryEntry = {
|
|
6888
|
-
entityName: ComponentCategoryEntityName,
|
|
6889
|
-
entityLabel: ComponentCategoryEntityLabel,
|
|
6890
|
-
toInput: componentCategoryToInput
|
|
6891
|
-
};
|
|
6892
6131
|
const themeVersionEntry = {
|
|
6893
6132
|
entityName: ThemeVersionEntityName,
|
|
6894
6133
|
entityLabel: ThemeVersionEntityLabel,
|
|
@@ -6899,11 +6138,6 @@ const themeInMarketEntry = {
|
|
|
6899
6138
|
entityLabel: ThemeInMarketEntityLabel,
|
|
6900
6139
|
toInput: themeInMarketToInput
|
|
6901
6140
|
};
|
|
6902
|
-
const themeConfigEntry = {
|
|
6903
|
-
entityName: ThemeConfigEntityName,
|
|
6904
|
-
entityLabel: ThemeConfigEntityLabel,
|
|
6905
|
-
toInput: themeConfigToInput
|
|
6906
|
-
};
|
|
6907
6141
|
const analyticsConfigEntry = {
|
|
6908
6142
|
entityName: AnalyticsConfigEntityName,
|
|
6909
6143
|
entityLabel: AnalyticsConfigEntityLabel,
|
|
@@ -6919,11 +6153,6 @@ const themeCategoryEntry = {
|
|
|
6919
6153
|
entityLabel: ThemeCategoryEntityLabel,
|
|
6920
6154
|
toInput: themeCategoryToInput
|
|
6921
6155
|
};
|
|
6922
|
-
const styleConfigEntry = {
|
|
6923
|
-
entityName: StyleConfigEntityName,
|
|
6924
|
-
entityLabel: StyleConfigEntityLabel,
|
|
6925
|
-
toInput: styleConfigToInput
|
|
6926
|
-
};
|
|
6927
6156
|
const changeLogEntry = {
|
|
6928
6157
|
entityName: ChangeLogEntityName,
|
|
6929
6158
|
entityLabel: ChangeLogEntityLabel,
|
|
@@ -6979,11 +6208,6 @@ const themeEntry = {
|
|
|
6979
6208
|
entityLabel: ThemeEntityLabel,
|
|
6980
6209
|
toInput: themeToInput
|
|
6981
6210
|
};
|
|
6982
|
-
const svgIconEntry = {
|
|
6983
|
-
entityName: SvgIconEntityName,
|
|
6984
|
-
entityLabel: SvgIconEntityLabel,
|
|
6985
|
-
toInput: svgIconToInput
|
|
6986
|
-
};
|
|
6987
6211
|
const themeFileEntry = {
|
|
6988
6212
|
entityName: ThemeFileEntityName,
|
|
6989
6213
|
entityLabel: ThemeFileEntityLabel,
|
|
@@ -7149,16 +6373,12 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
7149
6373
|
MediaAssciations2["productAttacPivotsAggregate"] = "productAttacPivotsAggregate";
|
|
7150
6374
|
MediaAssciations2["website"] = "website";
|
|
7151
6375
|
MediaAssciations2["postCategory"] = "postCategory";
|
|
7152
|
-
MediaAssciations2["usedByThemConfig"] = "usedByThemConfig";
|
|
7153
|
-
MediaAssciations2["usedByThemConfigAggregate"] = "usedByThemConfigAggregate";
|
|
7154
6376
|
MediaAssciations2["pageMeta"] = "pageMeta";
|
|
7155
6377
|
MediaAssciations2["pageMetaAggregate"] = "pageMetaAggregate";
|
|
7156
6378
|
MediaAssciations2["searchIndex"] = "searchIndex";
|
|
7157
6379
|
MediaAssciations2["searchIndexAggregate"] = "searchIndexAggregate";
|
|
7158
6380
|
MediaAssciations2["snapshot"] = "snapshot";
|
|
7159
6381
|
MediaAssciations2["snapshotAggregate"] = "snapshotAggregate";
|
|
7160
|
-
MediaAssciations2["coverOfComponent"] = "coverOfComponent";
|
|
7161
|
-
MediaAssciations2["coverOfComponentAggregate"] = "coverOfComponentAggregate";
|
|
7162
6382
|
MediaAssciations2["attachmentOfEnquiry"] = "attachmentOfEnquiry";
|
|
7163
6383
|
MediaAssciations2["coverOfTheme"] = "coverOfTheme";
|
|
7164
6384
|
MediaAssciations2["owner"] = "owner";
|
|
@@ -7235,8 +6455,7 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
7235
6455
|
WebsiteAssciations2["langs"] = "langs";
|
|
7236
6456
|
WebsiteAssciations2["langsAggregate"] = "langsAggregate";
|
|
7237
6457
|
WebsiteAssciations2["baseLang"] = "baseLang";
|
|
7238
|
-
WebsiteAssciations2["
|
|
7239
|
-
WebsiteAssciations2["themesAggregate"] = "themesAggregate";
|
|
6458
|
+
WebsiteAssciations2["themeBranch"] = "themeBranch";
|
|
7240
6459
|
WebsiteAssciations2["analyticsConfig"] = "analyticsConfig";
|
|
7241
6460
|
WebsiteAssciations2["settings"] = "settings";
|
|
7242
6461
|
WebsiteAssciations2["changelogs"] = "changelogs";
|
|
@@ -7249,8 +6468,6 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
7249
6468
|
WebsiteAssciations2["snapshotsAggregate"] = "snapshotsAggregate";
|
|
7250
6469
|
WebsiteAssciations2["userOperations"] = "userOperations";
|
|
7251
6470
|
WebsiteAssciations2["userOperationsAggregate"] = "userOperationsAggregate";
|
|
7252
|
-
WebsiteAssciations2["svgIcons"] = "svgIcons";
|
|
7253
|
-
WebsiteAssciations2["svgIconsAggregate"] = "svgIconsAggregate";
|
|
7254
6471
|
WebsiteAssciations2["tags"] = "tags";
|
|
7255
6472
|
WebsiteAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
7256
6473
|
WebsiteAssciations2["agentThreads"] = "agentThreads";
|
|
@@ -7275,6 +6492,7 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
|
7275
6492
|
LangFields2["cnName"] = "cnName";
|
|
7276
6493
|
LangFields2["htmlLang"] = "htmlLang";
|
|
7277
6494
|
LangFields2["urlFragment"] = "urlFragment";
|
|
6495
|
+
LangFields2["dir"] = "dir";
|
|
7278
6496
|
return LangFields2;
|
|
7279
6497
|
})(LangFields || {});
|
|
7280
6498
|
var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
@@ -7300,8 +6518,6 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
7300
6518
|
LangAssciations2["websitesAggregate"] = "websitesAggregate";
|
|
7301
6519
|
LangAssciations2["baseLangOf"] = "baseLangOf";
|
|
7302
6520
|
LangAssciations2["baseLangOfAggregate"] = "baseLangOfAggregate";
|
|
7303
|
-
LangAssciations2["themes"] = "themes";
|
|
7304
|
-
LangAssciations2["themesAggregate"] = "themesAggregate";
|
|
7305
6521
|
LangAssciations2["bulletins"] = "bulletins";
|
|
7306
6522
|
LangAssciations2["bulletinsAggregate"] = "bulletinsAggregate";
|
|
7307
6523
|
LangAssciations2["tags"] = "tags";
|
|
@@ -7328,25 +6544,6 @@ var WebsiteTypeAssciations = /* @__PURE__ */ ((WebsiteTypeAssciations2) => {
|
|
|
7328
6544
|
WebsiteTypeAssciations2["websitesAggregate"] = "websitesAggregate";
|
|
7329
6545
|
return WebsiteTypeAssciations2;
|
|
7330
6546
|
})(WebsiteTypeAssciations || {});
|
|
7331
|
-
var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
7332
|
-
PageFields2["id"] = "id";
|
|
7333
|
-
PageFields2["title"] = "title";
|
|
7334
|
-
PageFields2["remark"] = "remark";
|
|
7335
|
-
PageFields2["pageType"] = "pageType";
|
|
7336
|
-
PageFields2["dataSource"] = "dataSource";
|
|
7337
|
-
PageFields2["content2"] = "content2";
|
|
7338
|
-
PageFields2["createdAt"] = "createdAt";
|
|
7339
|
-
PageFields2["updatedAt"] = "updatedAt";
|
|
7340
|
-
PageFields2["slug"] = "slug";
|
|
7341
|
-
PageFields2["description"] = "description";
|
|
7342
|
-
PageFields2["code"] = "code";
|
|
7343
|
-
return PageFields2;
|
|
7344
|
-
})(PageFields || {});
|
|
7345
|
-
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
7346
|
-
PageAssciations2["meta"] = "meta";
|
|
7347
|
-
PageAssciations2["theme"] = "theme";
|
|
7348
|
-
return PageAssciations2;
|
|
7349
|
-
})(PageAssciations || {});
|
|
7350
6547
|
var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
7351
6548
|
PostFields2["id"] = "id";
|
|
7352
6549
|
PostFields2["seqValue"] = "seqValue";
|
|
@@ -7481,15 +6678,6 @@ var ThemeBranchFields = /* @__PURE__ */ ((ThemeBranchFields2) => {
|
|
|
7481
6678
|
return ThemeBranchFields2;
|
|
7482
6679
|
})(ThemeBranchFields || {});
|
|
7483
6680
|
var ThemeBranchAssciations = /* @__PURE__ */ ((ThemeBranchAssciations2) => {
|
|
7484
|
-
ThemeBranchAssciations2["components"] = "components";
|
|
7485
|
-
ThemeBranchAssciations2["componentsAggregate"] = "componentsAggregate";
|
|
7486
|
-
ThemeBranchAssciations2["componentCategories"] = "componentCategories";
|
|
7487
|
-
ThemeBranchAssciations2["componentCategoriesAggregate"] = "componentCategoriesAggregate";
|
|
7488
|
-
ThemeBranchAssciations2["pages"] = "pages";
|
|
7489
|
-
ThemeBranchAssciations2["pagesAggregate"] = "pagesAggregate";
|
|
7490
|
-
ThemeBranchAssciations2["lang"] = "lang";
|
|
7491
|
-
ThemeBranchAssciations2["config"] = "config";
|
|
7492
|
-
ThemeBranchAssciations2["styleConfig"] = "styleConfig";
|
|
7493
6681
|
ThemeBranchAssciations2["mockWebsite"] = "mockWebsite";
|
|
7494
6682
|
ThemeBranchAssciations2["files"] = "files";
|
|
7495
6683
|
ThemeBranchAssciations2["filesAggregate"] = "filesAggregate";
|
|
@@ -7647,47 +6835,6 @@ var AttachmentOnProductAssciations = /* @__PURE__ */ ((AttachmentOnProductAsscia
|
|
|
7647
6835
|
AttachmentOnProductAssciations2["product"] = "product";
|
|
7648
6836
|
return AttachmentOnProductAssciations2;
|
|
7649
6837
|
})(AttachmentOnProductAssciations || {});
|
|
7650
|
-
var FrontComponentFields = /* @__PURE__ */ ((FrontComponentFields2) => {
|
|
7651
|
-
FrontComponentFields2["id"] = "id";
|
|
7652
|
-
FrontComponentFields2["name"] = "name";
|
|
7653
|
-
FrontComponentFields2["title"] = "title";
|
|
7654
|
-
FrontComponentFields2["seqValue"] = "seqValue";
|
|
7655
|
-
FrontComponentFields2["propsSchema"] = "propsSchema";
|
|
7656
|
-
FrontComponentFields2["propsTest"] = "propsTest";
|
|
7657
|
-
FrontComponentFields2["updatedAt"] = "updatedAt";
|
|
7658
|
-
FrontComponentFields2["createdAt"] = "createdAt";
|
|
7659
|
-
FrontComponentFields2["slots"] = "slots";
|
|
7660
|
-
FrontComponentFields2["droppable"] = "droppable";
|
|
7661
|
-
FrontComponentFields2["isInMarket"] = "isInMarket";
|
|
7662
|
-
FrontComponentFields2["code"] = "code";
|
|
7663
|
-
FrontComponentFields2["description"] = "description";
|
|
7664
|
-
FrontComponentFields2["parentId"] = "parentId";
|
|
7665
|
-
FrontComponentFields2["isSectionBlock"] = "isSectionBlock";
|
|
7666
|
-
return FrontComponentFields2;
|
|
7667
|
-
})(FrontComponentFields || {});
|
|
7668
|
-
var FrontComponentAssciations = /* @__PURE__ */ ((FrontComponentAssciations2) => {
|
|
7669
|
-
FrontComponentAssciations2["cover"] = "cover";
|
|
7670
|
-
FrontComponentAssciations2["category"] = "category";
|
|
7671
|
-
FrontComponentAssciations2["theme"] = "theme";
|
|
7672
|
-
return FrontComponentAssciations2;
|
|
7673
|
-
})(FrontComponentAssciations || {});
|
|
7674
|
-
var ComponentCategoryFields = /* @__PURE__ */ ((ComponentCategoryFields2) => {
|
|
7675
|
-
ComponentCategoryFields2["id"] = "id";
|
|
7676
|
-
ComponentCategoryFields2["name"] = "name";
|
|
7677
|
-
ComponentCategoryFields2["seqValue"] = "seqValue";
|
|
7678
|
-
ComponentCategoryFields2["updatedAt"] = "updatedAt";
|
|
7679
|
-
ComponentCategoryFields2["createdAt"] = "createdAt";
|
|
7680
|
-
ComponentCategoryFields2["isInMarket"] = "isInMarket";
|
|
7681
|
-
ComponentCategoryFields2["isSectionBlock"] = "isSectionBlock";
|
|
7682
|
-
ComponentCategoryFields2["title"] = "title";
|
|
7683
|
-
return ComponentCategoryFields2;
|
|
7684
|
-
})(ComponentCategoryFields || {});
|
|
7685
|
-
var ComponentCategoryAssciations = /* @__PURE__ */ ((ComponentCategoryAssciations2) => {
|
|
7686
|
-
ComponentCategoryAssciations2["components"] = "components";
|
|
7687
|
-
ComponentCategoryAssciations2["componentsAggregate"] = "componentsAggregate";
|
|
7688
|
-
ComponentCategoryAssciations2["theme"] = "theme";
|
|
7689
|
-
return ComponentCategoryAssciations2;
|
|
7690
|
-
})(ComponentCategoryAssciations || {});
|
|
7691
6838
|
var ThemeVersionFields = /* @__PURE__ */ ((ThemeVersionFields2) => {
|
|
7692
6839
|
ThemeVersionFields2["id"] = "id";
|
|
7693
6840
|
ThemeVersionFields2["version"] = "version";
|
|
@@ -7712,32 +6859,6 @@ var ThemeInMarketAssciations = /* @__PURE__ */ ((ThemeInMarketAssciations2) => {
|
|
|
7712
6859
|
ThemeInMarketAssciations2["versionsAggregate"] = "versionsAggregate";
|
|
7713
6860
|
return ThemeInMarketAssciations2;
|
|
7714
6861
|
})(ThemeInMarketAssciations || {});
|
|
7715
|
-
var ThemeConfigFields = /* @__PURE__ */ ((ThemeConfigFields2) => {
|
|
7716
|
-
ThemeConfigFields2["id"] = "id";
|
|
7717
|
-
ThemeConfigFields2["websiteTitle"] = "websiteTitle";
|
|
7718
|
-
ThemeConfigFields2["emailTemplates"] = "emailTemplates";
|
|
7719
|
-
ThemeConfigFields2["contact"] = "contact";
|
|
7720
|
-
ThemeConfigFields2["address"] = "address";
|
|
7721
|
-
ThemeConfigFields2["email"] = "email";
|
|
7722
|
-
ThemeConfigFields2["tel"] = "tel";
|
|
7723
|
-
ThemeConfigFields2["fax"] = "fax";
|
|
7724
|
-
ThemeConfigFields2["mobile"] = "mobile";
|
|
7725
|
-
ThemeConfigFields2["wechat"] = "wechat";
|
|
7726
|
-
ThemeConfigFields2["domain"] = "domain";
|
|
7727
|
-
ThemeConfigFields2["svgIcon"] = "svgIcon";
|
|
7728
|
-
ThemeConfigFields2["themeColor"] = "themeColor";
|
|
7729
|
-
ThemeConfigFields2["pngIcon"] = "pngIcon";
|
|
7730
|
-
ThemeConfigFields2["icoIcon"] = "icoIcon";
|
|
7731
|
-
ThemeConfigFields2["appleTouchIcon"] = "appleTouchIcon";
|
|
7732
|
-
ThemeConfigFields2["redirects"] = "redirects";
|
|
7733
|
-
ThemeConfigFields2["previewUrl"] = "previewUrl";
|
|
7734
|
-
return ThemeConfigFields2;
|
|
7735
|
-
})(ThemeConfigFields || {});
|
|
7736
|
-
var ThemeConfigAssciations = /* @__PURE__ */ ((ThemeConfigAssciations2) => {
|
|
7737
|
-
ThemeConfigAssciations2["contactAvatar"] = "contactAvatar";
|
|
7738
|
-
ThemeConfigAssciations2["theme"] = "theme";
|
|
7739
|
-
return ThemeConfigAssciations2;
|
|
7740
|
-
})(ThemeConfigAssciations || {});
|
|
7741
6862
|
var AnalyticsConfigFields = /* @__PURE__ */ ((AnalyticsConfigFields2) => {
|
|
7742
6863
|
AnalyticsConfigFields2["id"] = "id";
|
|
7743
6864
|
AnalyticsConfigFields2["enableLocal"] = "enableLocal";
|
|
@@ -7770,7 +6891,6 @@ var PageMetaFields = /* @__PURE__ */ ((PageMetaFields2) => {
|
|
|
7770
6891
|
var PageMetaAssciations = /* @__PURE__ */ ((PageMetaAssciations2) => {
|
|
7771
6892
|
PageMetaAssciations2["ogImage"] = "ogImage";
|
|
7772
6893
|
PageMetaAssciations2["product"] = "product";
|
|
7773
|
-
PageMetaAssciations2["page"] = "page";
|
|
7774
6894
|
PageMetaAssciations2["post"] = "post";
|
|
7775
6895
|
return PageMetaAssciations2;
|
|
7776
6896
|
})(PageMetaAssciations || {});
|
|
@@ -7788,25 +6908,6 @@ var ThemeCategoryAssciations = /* @__PURE__ */ ((ThemeCategoryAssciations2) => {
|
|
|
7788
6908
|
ThemeCategoryAssciations2["themesAggregate"] = "themesAggregate";
|
|
7789
6909
|
return ThemeCategoryAssciations2;
|
|
7790
6910
|
})(ThemeCategoryAssciations || {});
|
|
7791
|
-
var StyleConfigFields = /* @__PURE__ */ ((StyleConfigFields2) => {
|
|
7792
|
-
StyleConfigFields2["id"] = "id";
|
|
7793
|
-
StyleConfigFields2["name"] = "name";
|
|
7794
|
-
StyleConfigFields2["description"] = "description";
|
|
7795
|
-
StyleConfigFields2["tailwindConfig"] = "tailwindConfig";
|
|
7796
|
-
StyleConfigFields2["css"] = "css";
|
|
7797
|
-
StyleConfigFields2["cssVariants"] = "cssVariants";
|
|
7798
|
-
StyleConfigFields2["isInMarket"] = "isInMarket";
|
|
7799
|
-
StyleConfigFields2["createdAt"] = "createdAt";
|
|
7800
|
-
StyleConfigFields2["updatedAt"] = "updatedAt";
|
|
7801
|
-
StyleConfigFields2["headCode"] = "headCode";
|
|
7802
|
-
StyleConfigFields2["footCode"] = "footCode";
|
|
7803
|
-
StyleConfigFields2["imageSizes"] = "imageSizes";
|
|
7804
|
-
return StyleConfigFields2;
|
|
7805
|
-
})(StyleConfigFields || {});
|
|
7806
|
-
var StyleConfigAssciations = /* @__PURE__ */ ((StyleConfigAssciations2) => {
|
|
7807
|
-
StyleConfigAssciations2["theme"] = "theme";
|
|
7808
|
-
return StyleConfigAssciations2;
|
|
7809
|
-
})(StyleConfigAssciations || {});
|
|
7810
6911
|
var ChangeLogFields = /* @__PURE__ */ ((ChangeLogFields2) => {
|
|
7811
6912
|
ChangeLogFields2["id"] = "id";
|
|
7812
6913
|
ChangeLogFields2["title"] = "title";
|
|
@@ -7980,20 +7081,6 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
7980
7081
|
ThemeAssciations2["category"] = "category";
|
|
7981
7082
|
return ThemeAssciations2;
|
|
7982
7083
|
})(ThemeAssciations || {});
|
|
7983
|
-
var SvgIconFields = /* @__PURE__ */ ((SvgIconFields2) => {
|
|
7984
|
-
SvgIconFields2["id"] = "id";
|
|
7985
|
-
SvgIconFields2["name"] = "name";
|
|
7986
|
-
SvgIconFields2["title"] = "title";
|
|
7987
|
-
SvgIconFields2["code"] = "code";
|
|
7988
|
-
SvgIconFields2["description"] = "description";
|
|
7989
|
-
SvgIconFields2["createdAt"] = "createdAt";
|
|
7990
|
-
SvgIconFields2["updatedAt"] = "updatedAt";
|
|
7991
|
-
return SvgIconFields2;
|
|
7992
|
-
})(SvgIconFields || {});
|
|
7993
|
-
var SvgIconAssciations = /* @__PURE__ */ ((SvgIconAssciations2) => {
|
|
7994
|
-
SvgIconAssciations2["website"] = "website";
|
|
7995
|
-
return SvgIconAssciations2;
|
|
7996
|
-
})(SvgIconAssciations || {});
|
|
7997
7084
|
var ThemeFileFields = /* @__PURE__ */ ((ThemeFileFields2) => {
|
|
7998
7085
|
ThemeFileFields2["id"] = "id";
|
|
7999
7086
|
ThemeFileFields2["name"] = "name";
|
|
@@ -8227,12 +7314,6 @@ export {
|
|
|
8227
7314
|
ChangeLogEntityName,
|
|
8228
7315
|
ChangeLogFields,
|
|
8229
7316
|
ChangeLogQueryOptions,
|
|
8230
|
-
ComponentCategoryAssciations,
|
|
8231
|
-
ComponentCategoryDistinctEnum,
|
|
8232
|
-
ComponentCategoryEntityLabel,
|
|
8233
|
-
ComponentCategoryEntityName,
|
|
8234
|
-
ComponentCategoryFields,
|
|
8235
|
-
ComponentCategoryQueryOptions,
|
|
8236
7317
|
CookieConsentStrategy,
|
|
8237
7318
|
CustomerAssciations,
|
|
8238
7319
|
CustomerDistinctEnum,
|
|
@@ -8253,12 +7334,6 @@ export {
|
|
|
8253
7334
|
FAQEntityName,
|
|
8254
7335
|
FAQFields,
|
|
8255
7336
|
FAQQueryOptions,
|
|
8256
|
-
FrontComponentAssciations,
|
|
8257
|
-
FrontComponentDistinctEnum,
|
|
8258
|
-
FrontComponentEntityLabel,
|
|
8259
|
-
FrontComponentEntityName,
|
|
8260
|
-
FrontComponentFields,
|
|
8261
|
-
FrontComponentQueryOptions,
|
|
8262
7337
|
LangAssciations,
|
|
8263
7338
|
LangDistinctEnum,
|
|
8264
7339
|
LangEntityLabel,
|
|
@@ -8301,18 +7376,12 @@ export {
|
|
|
8301
7376
|
NotificationQueryOptions,
|
|
8302
7377
|
NotificationStatus,
|
|
8303
7378
|
NotificationType,
|
|
8304
|
-
PageAssciations,
|
|
8305
|
-
PageDistinctEnum,
|
|
8306
|
-
PageEntityLabel,
|
|
8307
|
-
PageEntityName,
|
|
8308
|
-
PageFields,
|
|
8309
7379
|
PageMetaAssciations,
|
|
8310
7380
|
PageMetaDistinctEnum,
|
|
8311
7381
|
PageMetaEntityLabel,
|
|
8312
7382
|
PageMetaEntityName,
|
|
8313
7383
|
PageMetaFields,
|
|
8314
7384
|
PageMetaQueryOptions,
|
|
8315
|
-
PageQueryOptions,
|
|
8316
7385
|
PageType,
|
|
8317
7386
|
PersonDistinctEnum,
|
|
8318
7387
|
PostAssciations,
|
|
@@ -8381,18 +7450,6 @@ export {
|
|
|
8381
7450
|
StorageRecordEntityName,
|
|
8382
7451
|
StorageRecordFields,
|
|
8383
7452
|
StorageRecordQueryOptions,
|
|
8384
|
-
StyleConfigAssciations,
|
|
8385
|
-
StyleConfigDistinctEnum,
|
|
8386
|
-
StyleConfigEntityLabel,
|
|
8387
|
-
StyleConfigEntityName,
|
|
8388
|
-
StyleConfigFields,
|
|
8389
|
-
StyleConfigQueryOptions,
|
|
8390
|
-
SvgIconAssciations,
|
|
8391
|
-
SvgIconDistinctEnum,
|
|
8392
|
-
SvgIconEntityLabel,
|
|
8393
|
-
SvgIconEntityName,
|
|
8394
|
-
SvgIconFields,
|
|
8395
|
-
SvgIconQueryOptions,
|
|
8396
7453
|
TagAssciations,
|
|
8397
7454
|
TagCategoryAssciations,
|
|
8398
7455
|
TagCategoryDistinctEnum,
|
|
@@ -8432,12 +7489,6 @@ export {
|
|
|
8432
7489
|
ThemeCategoryEntityName,
|
|
8433
7490
|
ThemeCategoryFields,
|
|
8434
7491
|
ThemeCategoryQueryOptions,
|
|
8435
|
-
ThemeConfigAssciations,
|
|
8436
|
-
ThemeConfigDistinctEnum,
|
|
8437
|
-
ThemeConfigEntityLabel,
|
|
8438
|
-
ThemeConfigEntityName,
|
|
8439
|
-
ThemeConfigFields,
|
|
8440
|
-
ThemeConfigQueryOptions,
|
|
8441
7492
|
ThemeDistinctEnum,
|
|
8442
7493
|
ThemeEntityLabel,
|
|
8443
7494
|
ThemeEntityName,
|
|
@@ -8551,9 +7602,6 @@ export {
|
|
|
8551
7602
|
changeLogEntry,
|
|
8552
7603
|
changeLogToInput,
|
|
8553
7604
|
changeLogToInputCascade,
|
|
8554
|
-
componentCategoryEntry,
|
|
8555
|
-
componentCategoryToInput,
|
|
8556
|
-
componentCategoryToInputCascade,
|
|
8557
7605
|
customerEntry,
|
|
8558
7606
|
customerToInput,
|
|
8559
7607
|
customerToInputCascade,
|
|
@@ -8563,9 +7611,6 @@ export {
|
|
|
8563
7611
|
fAQEntry,
|
|
8564
7612
|
fAQToInput,
|
|
8565
7613
|
fAQToInputCascade,
|
|
8566
|
-
frontComponentEntry,
|
|
8567
|
-
frontComponentToInput,
|
|
8568
|
-
frontComponentToInputCascade,
|
|
8569
7614
|
langEntry,
|
|
8570
7615
|
langToInput,
|
|
8571
7616
|
langToInputCascade,
|
|
@@ -8584,12 +7629,9 @@ export {
|
|
|
8584
7629
|
notificationEntry,
|
|
8585
7630
|
notificationToInput,
|
|
8586
7631
|
notificationToInputCascade,
|
|
8587
|
-
pageEntry,
|
|
8588
7632
|
pageMetaEntry,
|
|
8589
7633
|
pageMetaToInput,
|
|
8590
7634
|
pageMetaToInputCascade,
|
|
8591
|
-
pageToInput,
|
|
8592
|
-
pageToInputCascade,
|
|
8593
7635
|
postCategoryEntry,
|
|
8594
7636
|
postCategoryToInput,
|
|
8595
7637
|
postCategoryToInputCascade,
|
|
@@ -8620,12 +7662,6 @@ export {
|
|
|
8620
7662
|
storageRecordEntry,
|
|
8621
7663
|
storageRecordToInput,
|
|
8622
7664
|
storageRecordToInputCascade,
|
|
8623
|
-
styleConfigEntry,
|
|
8624
|
-
styleConfigToInput,
|
|
8625
|
-
styleConfigToInputCascade,
|
|
8626
|
-
svgIconEntry,
|
|
8627
|
-
svgIconToInput,
|
|
8628
|
-
svgIconToInputCascade,
|
|
8629
7665
|
tagCategoryEntry,
|
|
8630
7666
|
tagCategoryToInput,
|
|
8631
7667
|
tagCategoryToInputCascade,
|
|
@@ -8644,9 +7680,6 @@ export {
|
|
|
8644
7680
|
themeCategoryEntry,
|
|
8645
7681
|
themeCategoryToInput,
|
|
8646
7682
|
themeCategoryToInputCascade,
|
|
8647
|
-
themeConfigEntry,
|
|
8648
|
-
themeConfigToInput,
|
|
8649
|
-
themeConfigToInputCascade,
|
|
8650
7683
|
themeEntry,
|
|
8651
7684
|
themeFileEntry,
|
|
8652
7685
|
themeFileFolderEntry,
|