@rxdrag/rxcms-models 0.2.7 → 0.2.8
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/MailQueryOptions.d.ts +20 -0
- package/dist/classes/MediaQueryOptions.d.ts +14 -0
- package/dist/classes/PageQueryOptions.d.ts +3 -0
- package/dist/classes/ThemeQueryOptions.d.ts +3 -0
- package/dist/classes/index.d.ts +1 -1
- package/dist/entries/index.d.ts +1 -1
- package/dist/entries/{websiteMetaEntry.d.ts → mailEntry.d.ts} +1 -1
- package/dist/fields/MailFields.d.ts +18 -0
- package/dist/fields/MediaFields.d.ts +8 -0
- package/dist/fields/PageFields.d.ts +2 -1
- package/dist/fields/ThemeFields.d.ts +2 -1
- package/dist/fields/index.d.ts +1 -1
- package/dist/index.mjs +669 -493
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Mail.d.ts +18 -0
- package/dist/interfaces/MailBoolExp.d.ts +22 -0
- package/dist/interfaces/MailDistinctExp.d.ts +17 -0
- package/dist/interfaces/MailInput.d.ts +19 -0
- package/dist/interfaces/MailOrderBy.d.ts +17 -0
- package/dist/interfaces/MailType.d.ts +18 -0
- package/dist/interfaces/Media.d.ts +10 -0
- package/dist/interfaces/MediaBoolExp.d.ts +6 -0
- package/dist/interfaces/MediaInput.d.ts +6 -0
- package/dist/interfaces/Page.d.ts +2 -0
- package/dist/interfaces/PageBoolExp.d.ts +2 -0
- package/dist/interfaces/PageInput.d.ts +2 -0
- package/dist/interfaces/Theme.d.ts +2 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +2 -0
- package/dist/interfaces/ThemeInput.d.ts +3 -0
- package/dist/interfaces/index.d.ts +6 -5
- package/package.json +4 -4
- package/dist/classes/WebsiteMetaQueryOptions.d.ts +0 -7
- package/dist/fields/WebsiteMetaFields.d.ts +0 -5
- package/dist/interfaces/WebsiteMeta.d.ts +0 -5
- package/dist/interfaces/WebsiteMetaBoolExp.d.ts +0 -7
- package/dist/interfaces/WebsiteMetaDistinctExp.d.ts +0 -4
- package/dist/interfaces/WebsiteMetaInput.d.ts +0 -6
- package/dist/interfaces/WebsiteMetaOrderBy.d.ts +0 -4
package/dist/index.mjs
CHANGED
|
@@ -26,7 +26,11 @@ const aggregateEntities = {
|
|
|
26
26
|
usersAggregate: "User"
|
|
27
27
|
},
|
|
28
28
|
Media: {
|
|
29
|
+
coverOfAggregate: "Post",
|
|
29
30
|
usedByProductsAggregate: "Product",
|
|
31
|
+
ogMetaOfPageAggregate: "Page",
|
|
32
|
+
ogMetaOfProductAggregate: "Product",
|
|
33
|
+
ogMetaOfPostAggregate: "Post",
|
|
30
34
|
attachmentOfAggregate: "Product",
|
|
31
35
|
meidaOfProductAggregate: "ProductCategory"
|
|
32
36
|
},
|
|
@@ -285,49 +289,32 @@ const productCategoryToInput = (entity) => {
|
|
|
285
289
|
products: convertHasManyToInput(entity.products)
|
|
286
290
|
};
|
|
287
291
|
};
|
|
288
|
-
const
|
|
289
|
-
var _a, _b;
|
|
290
|
-
const {
|
|
291
|
-
return {
|
|
292
|
-
...rest,
|
|
293
|
-
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
294
|
-
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInput(ent)) }) : void 0,
|
|
295
|
-
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInput(entity.parent) }) : void 0
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
const postCategoryToInput = (entity) => {
|
|
299
|
-
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
300
|
-
return {
|
|
301
|
-
...rest,
|
|
302
|
-
children: convertHasManyToInput(entity.children),
|
|
303
|
-
posts: convertHasManyToInput(entity.posts),
|
|
304
|
-
parent: convertHasOneToInput(entity.parent)
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
const postToInputCascade = (entity) => {
|
|
308
|
-
var _a;
|
|
309
|
-
const { tagsAggregate, ...rest } = entity;
|
|
292
|
+
const productToInputCascade = (entity) => {
|
|
293
|
+
var _a, _b, _c;
|
|
294
|
+
const { mediasAggregate, tagsAggregate, attachmentsAggregate, ...rest } = entity;
|
|
310
295
|
return {
|
|
311
296
|
...rest,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
297
|
+
category: entity.category ? processHasOneClear({ sync: productCategoryToInput(entity.category) }) : void 0,
|
|
298
|
+
medias: entity.medias ? processHasManyClear({ sync: (_a = entity.medias) == null ? void 0 : _a.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
299
|
+
tags: entity.tags ? processHasManyClear({ sync: (_b = entity.tags) == null ? void 0 : _b.map((ent) => tagToInput(ent)) }) : void 0,
|
|
315
300
|
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
301
|
+
attachments: entity.attachments ? processHasManyClear({ sync: (_c = entity.attachments) == null ? void 0 : _c.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
302
|
+
draftOf: entity.draftOf ? processHasOneClear({ sync: productToInput(entity.draftOf) }) : void 0,
|
|
303
|
+
creator: entity.creator ? processHasOneClear({ sync: userToInput(entity.creator) }) : void 0,
|
|
304
|
+
draft: entity.draft ? processHasOneClear({ sync: productToInput(entity.draft) }) : void 0
|
|
319
305
|
};
|
|
320
306
|
};
|
|
321
|
-
const
|
|
322
|
-
const { tagsAggregate, ...rest } = entity;
|
|
307
|
+
const productToInput = (entity) => {
|
|
308
|
+
const { mediasAggregate, tagsAggregate, attachmentsAggregate, ...rest } = entity;
|
|
323
309
|
return {
|
|
324
310
|
...rest,
|
|
311
|
+
category: convertHasOneToInput(entity.category),
|
|
312
|
+
medias: convertHasManyToInput(entity.medias),
|
|
325
313
|
tags: convertHasManyToInput(entity.tags),
|
|
326
|
-
author: convertHasOneToInput(entity.author),
|
|
327
|
-
cover: convertHasOneToInput(entity.cover),
|
|
328
314
|
ogImage: convertHasOneToInput(entity.ogImage),
|
|
315
|
+
attachments: convertHasManyToInput(entity.attachments),
|
|
329
316
|
draftOf: convertHasOneToInput(entity.draftOf),
|
|
330
|
-
|
|
317
|
+
creator: convertHasOneToInput(entity.creator),
|
|
331
318
|
draft: convertHasOneToInput(entity.draft)
|
|
332
319
|
};
|
|
333
320
|
};
|
|
@@ -348,56 +335,50 @@ const tagToInput = (entity) => {
|
|
|
348
335
|
products: convertHasManyToInput(entity.products)
|
|
349
336
|
};
|
|
350
337
|
};
|
|
351
|
-
const
|
|
352
|
-
var _a, _b
|
|
353
|
-
const {
|
|
338
|
+
const postCategoryToInputCascade = (entity) => {
|
|
339
|
+
var _a, _b;
|
|
340
|
+
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
354
341
|
return {
|
|
355
342
|
...rest,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
360
|
-
attachments: entity.attachments ? processHasManyClear({ sync: (_c = entity.attachments) == null ? void 0 : _c.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
361
|
-
draftOf: entity.draftOf ? processHasOneClear({ sync: productToInput(entity.draftOf) }) : void 0,
|
|
362
|
-
creator: entity.creator ? processHasOneClear({ sync: userToInput(entity.creator) }) : void 0,
|
|
363
|
-
draft: entity.draft ? processHasOneClear({ sync: productToInput(entity.draft) }) : void 0
|
|
343
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
344
|
+
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInput(ent)) }) : void 0,
|
|
345
|
+
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInput(entity.parent) }) : void 0
|
|
364
346
|
};
|
|
365
347
|
};
|
|
366
|
-
const
|
|
367
|
-
const {
|
|
348
|
+
const postCategoryToInput = (entity) => {
|
|
349
|
+
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
368
350
|
return {
|
|
369
351
|
...rest,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
ogImage: convertHasOneToInput(entity.ogImage),
|
|
374
|
-
attachments: convertHasManyToInput(entity.attachments),
|
|
375
|
-
draftOf: convertHasOneToInput(entity.draftOf),
|
|
376
|
-
creator: convertHasOneToInput(entity.creator),
|
|
377
|
-
draft: convertHasOneToInput(entity.draft)
|
|
352
|
+
children: convertHasManyToInput(entity.children),
|
|
353
|
+
posts: convertHasManyToInput(entity.posts),
|
|
354
|
+
parent: convertHasOneToInput(entity.parent)
|
|
378
355
|
};
|
|
379
356
|
};
|
|
380
|
-
const
|
|
381
|
-
var _a
|
|
382
|
-
const {
|
|
357
|
+
const postToInputCascade = (entity) => {
|
|
358
|
+
var _a;
|
|
359
|
+
const { tagsAggregate, ...rest } = entity;
|
|
383
360
|
return {
|
|
384
361
|
...rest,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
362
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
|
|
363
|
+
author: entity.author ? processHasOneClear({ sync: userToInput(entity.author) }) : void 0,
|
|
364
|
+
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
365
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
366
|
+
draftOf: entity.draftOf ? processHasOneClear({ sync: postToInput(entity.draftOf) }) : void 0,
|
|
367
|
+
category: entity.category ? processHasOneClear({ sync: postCategoryToInput(entity.category) }) : void 0,
|
|
368
|
+
draft: entity.draft ? processHasOneClear({ sync: postToInput(entity.draft) }) : void 0
|
|
390
369
|
};
|
|
391
370
|
};
|
|
392
|
-
const
|
|
393
|
-
const {
|
|
371
|
+
const postToInput = (entity) => {
|
|
372
|
+
const { tagsAggregate, ...rest } = entity;
|
|
394
373
|
return {
|
|
395
374
|
...rest,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
375
|
+
tags: convertHasManyToInput(entity.tags),
|
|
376
|
+
author: convertHasOneToInput(entity.author),
|
|
377
|
+
cover: convertHasOneToInput(entity.cover),
|
|
378
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
379
|
+
draftOf: convertHasOneToInput(entity.draftOf),
|
|
380
|
+
category: convertHasOneToInput(entity.category),
|
|
381
|
+
draft: convertHasOneToInput(entity.draft)
|
|
401
382
|
};
|
|
402
383
|
};
|
|
403
384
|
const websiteTypeToInputCascade = (entity) => {
|
|
@@ -452,7 +433,8 @@ const themeToInputCascade = (entity) => {
|
|
|
452
433
|
return {
|
|
453
434
|
...rest,
|
|
454
435
|
templates: entity.templates ? processHasManyClear({ sync: (_a = entity.templates) == null ? void 0 : _a.map((ent) => templateToInput(ent)) }) : void 0,
|
|
455
|
-
themlateCategories: entity.themlateCategories ? processHasManyClear({ sync: (_b = entity.themlateCategories) == null ? void 0 : _b.map((ent) => templateCategoryToInput(ent)) }) : void 0
|
|
436
|
+
themlateCategories: entity.themlateCategories ? processHasManyClear({ sync: (_b = entity.themlateCategories) == null ? void 0 : _b.map((ent) => templateCategoryToInput(ent)) }) : void 0,
|
|
437
|
+
selectedBy: entity.selectedBy ? processHasOneClear({ sync: websiteToInput(entity.selectedBy) }) : void 0
|
|
456
438
|
};
|
|
457
439
|
};
|
|
458
440
|
const themeToInput = (entity) => {
|
|
@@ -460,19 +442,8 @@ const themeToInput = (entity) => {
|
|
|
460
442
|
return {
|
|
461
443
|
...rest,
|
|
462
444
|
templates: convertHasManyToInput(entity.templates),
|
|
463
|
-
themlateCategories: convertHasManyToInput(entity.themlateCategories)
|
|
464
|
-
|
|
465
|
-
};
|
|
466
|
-
const pageToInputCascade = (entity) => {
|
|
467
|
-
return {
|
|
468
|
-
...entity,
|
|
469
|
-
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
const pageToInput = (entity) => {
|
|
473
|
-
return {
|
|
474
|
-
...entity,
|
|
475
|
-
ogImage: convertHasOneToInput(entity.ogImage)
|
|
445
|
+
themlateCategories: convertHasManyToInput(entity.themlateCategories),
|
|
446
|
+
selectedBy: convertHasOneToInput(entity.selectedBy)
|
|
476
447
|
};
|
|
477
448
|
};
|
|
478
449
|
const websiteToInputCascade = (entity) => {
|
|
@@ -498,6 +469,51 @@ const websiteToInput = (entity) => {
|
|
|
498
469
|
users: convertHasManyToInput(entity.users)
|
|
499
470
|
};
|
|
500
471
|
};
|
|
472
|
+
const pageToInputCascade = (entity) => {
|
|
473
|
+
return {
|
|
474
|
+
...entity,
|
|
475
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
476
|
+
homeOf: entity.homeOf ? processHasOneClear({ sync: websiteToInput(entity.homeOf) }) : void 0
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
const pageToInput = (entity) => {
|
|
480
|
+
return {
|
|
481
|
+
...entity,
|
|
482
|
+
ogImage: convertHasOneToInput(entity.ogImage),
|
|
483
|
+
homeOf: convertHasOneToInput(entity.homeOf)
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
const mediaToInputCascade = (entity) => {
|
|
487
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
488
|
+
const { file, coverOfAggregate, usedByProductsAggregate, ogMetaOfPageAggregate, ogMetaOfProductAggregate, ogMetaOfPostAggregate, attachmentOfAggregate, meidaOfProductAggregate, ...rest } = entity;
|
|
489
|
+
return {
|
|
490
|
+
...rest,
|
|
491
|
+
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInput(entity.folder) }) : void 0,
|
|
492
|
+
coverOf: entity.coverOf ? processHasManyClear({ sync: (_a = entity.coverOf) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
493
|
+
avatarOfUser: entity.avatarOfUser ? processHasOneClear({ sync: userToInput(entity.avatarOfUser) }) : void 0,
|
|
494
|
+
usedByProducts: entity.usedByProducts ? processHasManyClear({ sync: (_b = entity.usedByProducts) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
495
|
+
ogMetaOfPage: entity.ogMetaOfPage ? processHasManyClear({ sync: (_c = entity.ogMetaOfPage) == null ? void 0 : _c.map((ent) => pageToInput(ent)) }) : void 0,
|
|
496
|
+
ogMetaOfProduct: entity.ogMetaOfProduct ? processHasManyClear({ sync: (_d = entity.ogMetaOfProduct) == null ? void 0 : _d.map((ent) => productToInput(ent)) }) : void 0,
|
|
497
|
+
ogMetaOfPost: entity.ogMetaOfPost ? processHasManyClear({ sync: (_e = entity.ogMetaOfPost) == null ? void 0 : _e.map((ent) => postToInput(ent)) }) : void 0,
|
|
498
|
+
attachmentOf: entity.attachmentOf ? processHasManyClear({ sync: (_f = entity.attachmentOf) == null ? void 0 : _f.map((ent) => productToInput(ent)) }) : void 0,
|
|
499
|
+
meidaOfProduct: entity.meidaOfProduct ? processHasManyClear({ sync: (_g = entity.meidaOfProduct) == null ? void 0 : _g.map((ent) => productCategoryToInput(ent)) }) : void 0
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
const mediaToInput = (entity) => {
|
|
503
|
+
const { file, coverOfAggregate, usedByProductsAggregate, ogMetaOfPageAggregate, ogMetaOfProductAggregate, ogMetaOfPostAggregate, attachmentOfAggregate, meidaOfProductAggregate, ...rest } = entity;
|
|
504
|
+
return {
|
|
505
|
+
...rest,
|
|
506
|
+
folder: convertHasOneToInput(entity.folder),
|
|
507
|
+
coverOf: convertHasManyToInput(entity.coverOf),
|
|
508
|
+
avatarOfUser: convertHasOneToInput(entity.avatarOfUser),
|
|
509
|
+
usedByProducts: convertHasManyToInput(entity.usedByProducts),
|
|
510
|
+
ogMetaOfPage: convertHasManyToInput(entity.ogMetaOfPage),
|
|
511
|
+
ogMetaOfProduct: convertHasManyToInput(entity.ogMetaOfProduct),
|
|
512
|
+
ogMetaOfPost: convertHasManyToInput(entity.ogMetaOfPost),
|
|
513
|
+
attachmentOf: convertHasManyToInput(entity.attachmentOf),
|
|
514
|
+
meidaOfProduct: convertHasManyToInput(entity.meidaOfProduct)
|
|
515
|
+
};
|
|
516
|
+
};
|
|
501
517
|
const userToInputCascade = (entity) => {
|
|
502
518
|
var _a, _b, _c, _d;
|
|
503
519
|
const { rolesAggregate, productsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
@@ -608,6 +624,42 @@ var MediaType = /* @__PURE__ */ ((MediaType2) => {
|
|
|
608
624
|
MediaType2["document"] = "document";
|
|
609
625
|
return MediaType2;
|
|
610
626
|
})(MediaType || {});
|
|
627
|
+
const MailEntityName = "Mail";
|
|
628
|
+
const MailEntityLabel = "";
|
|
629
|
+
const mailToInputCascade = (entity) => {
|
|
630
|
+
return {
|
|
631
|
+
...entity
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
const mailToInput = (entity) => {
|
|
635
|
+
return {
|
|
636
|
+
...entity
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
var MailDistinctEnum = /* @__PURE__ */ ((MailDistinctEnum2) => {
|
|
640
|
+
MailDistinctEnum2["id"] = "id";
|
|
641
|
+
MailDistinctEnum2["createdAt"] = "createdAt";
|
|
642
|
+
MailDistinctEnum2["updatedAt"] = "updatedAt";
|
|
643
|
+
MailDistinctEnum2["taskId"] = "taskId";
|
|
644
|
+
MailDistinctEnum2["taskName"] = "taskName";
|
|
645
|
+
MailDistinctEnum2["remark"] = "remark";
|
|
646
|
+
MailDistinctEnum2["subject"] = "subject";
|
|
647
|
+
MailDistinctEnum2["message"] = "message";
|
|
648
|
+
MailDistinctEnum2["to"] = "to";
|
|
649
|
+
MailDistinctEnum2["cc"] = "cc";
|
|
650
|
+
MailDistinctEnum2["label"] = "label";
|
|
651
|
+
MailDistinctEnum2["name"] = "name";
|
|
652
|
+
MailDistinctEnum2["company"] = "company";
|
|
653
|
+
MailDistinctEnum2["mailType"] = "mailType";
|
|
654
|
+
return MailDistinctEnum2;
|
|
655
|
+
})(MailDistinctEnum || {});
|
|
656
|
+
var MailType = /* @__PURE__ */ ((MailType2) => {
|
|
657
|
+
MailType2["default"] = "default";
|
|
658
|
+
MailType2["getPrice"] = "getPrice";
|
|
659
|
+
MailType2["findPassword"] = "findPassword";
|
|
660
|
+
MailType2["notice"] = "notice";
|
|
661
|
+
return MailType2;
|
|
662
|
+
})(MailType || {});
|
|
611
663
|
const WebsiteEntityName = "Website";
|
|
612
664
|
const WebsiteEntityLabel = "站点";
|
|
613
665
|
var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
|
|
@@ -816,22 +868,6 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
|
816
868
|
EnquiryDistinctEnum2["remark"] = "remark";
|
|
817
869
|
return EnquiryDistinctEnum2;
|
|
818
870
|
})(EnquiryDistinctEnum || {});
|
|
819
|
-
const WebsiteMetaEntityName = "WebsiteMeta";
|
|
820
|
-
const WebsiteMetaEntityLabel = "";
|
|
821
|
-
const websiteMetaToInputCascade = (entity) => {
|
|
822
|
-
return {
|
|
823
|
-
...entity
|
|
824
|
-
};
|
|
825
|
-
};
|
|
826
|
-
const websiteMetaToInput = (entity) => {
|
|
827
|
-
return {
|
|
828
|
-
...entity
|
|
829
|
-
};
|
|
830
|
-
};
|
|
831
|
-
var WebsiteMetaDistinctEnum = /* @__PURE__ */ ((WebsiteMetaDistinctEnum2) => {
|
|
832
|
-
WebsiteMetaDistinctEnum2["id"] = "id";
|
|
833
|
-
return WebsiteMetaDistinctEnum2;
|
|
834
|
-
})(WebsiteMetaDistinctEnum || {});
|
|
835
871
|
const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
836
872
|
const WebsiteSettingsEntityLabel = "";
|
|
837
873
|
const websiteSettingsToInputCascade = (entity) => {
|
|
@@ -1416,22 +1452,76 @@ class ProductCategoryQueryOptions extends QueryOptions {
|
|
|
1416
1452
|
return this;
|
|
1417
1453
|
}
|
|
1418
1454
|
}
|
|
1419
|
-
class
|
|
1455
|
+
class ProductQueryOptions extends QueryOptions {
|
|
1420
1456
|
constructor(fields, queryArgs) {
|
|
1421
|
-
super(
|
|
1457
|
+
super(ProductEntityName, fields, queryArgs);
|
|
1422
1458
|
}
|
|
1423
1459
|
id() {
|
|
1424
1460
|
this.addField("id");
|
|
1425
1461
|
return this;
|
|
1426
1462
|
}
|
|
1427
|
-
|
|
1428
|
-
this.addField("
|
|
1463
|
+
published() {
|
|
1464
|
+
this.addField("published");
|
|
1465
|
+
return this;
|
|
1466
|
+
}
|
|
1467
|
+
featured() {
|
|
1468
|
+
this.addField("featured");
|
|
1469
|
+
return this;
|
|
1470
|
+
}
|
|
1471
|
+
showInNavMenu() {
|
|
1472
|
+
this.addField("showInNavMenu");
|
|
1429
1473
|
return this;
|
|
1430
1474
|
}
|
|
1431
1475
|
seqValue() {
|
|
1432
1476
|
this.addField("seqValue");
|
|
1433
1477
|
return this;
|
|
1434
1478
|
}
|
|
1479
|
+
/**
|
|
1480
|
+
* 特色
|
|
1481
|
+
*/
|
|
1482
|
+
features() {
|
|
1483
|
+
this.addField("features");
|
|
1484
|
+
return this;
|
|
1485
|
+
}
|
|
1486
|
+
content2() {
|
|
1487
|
+
this.addField("content2");
|
|
1488
|
+
return this;
|
|
1489
|
+
}
|
|
1490
|
+
content3() {
|
|
1491
|
+
this.addField("content3");
|
|
1492
|
+
return this;
|
|
1493
|
+
}
|
|
1494
|
+
shortTitle() {
|
|
1495
|
+
this.addField("shortTitle");
|
|
1496
|
+
return this;
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
* 第三方视频url
|
|
1500
|
+
*/
|
|
1501
|
+
externalVideoUrl() {
|
|
1502
|
+
this.addField("externalVideoUrl");
|
|
1503
|
+
return this;
|
|
1504
|
+
}
|
|
1505
|
+
publishedAt() {
|
|
1506
|
+
this.addField("publishedAt");
|
|
1507
|
+
return this;
|
|
1508
|
+
}
|
|
1509
|
+
status() {
|
|
1510
|
+
this.addField("status");
|
|
1511
|
+
return this;
|
|
1512
|
+
}
|
|
1513
|
+
title() {
|
|
1514
|
+
this.addField("title");
|
|
1515
|
+
return this;
|
|
1516
|
+
}
|
|
1517
|
+
content() {
|
|
1518
|
+
this.addField("content");
|
|
1519
|
+
return this;
|
|
1520
|
+
}
|
|
1521
|
+
extends() {
|
|
1522
|
+
this.addField("extends");
|
|
1523
|
+
return this;
|
|
1524
|
+
}
|
|
1435
1525
|
websiteId() {
|
|
1436
1526
|
this.addField("websiteId");
|
|
1437
1527
|
return this;
|
|
@@ -1465,129 +1555,20 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1465
1555
|
this.addField("remark");
|
|
1466
1556
|
return this;
|
|
1467
1557
|
}
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
this._associations["children"] = new PostCategoryQueryOptions(options);
|
|
1471
|
-
} else {
|
|
1472
|
-
this._associations["children"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1473
|
-
}
|
|
1558
|
+
seoTitle() {
|
|
1559
|
+
this.addField("seoTitle");
|
|
1474
1560
|
return this;
|
|
1475
1561
|
}
|
|
1476
|
-
|
|
1477
|
-
this.
|
|
1562
|
+
seoKeywords() {
|
|
1563
|
+
this.addField("seoKeywords");
|
|
1478
1564
|
return this;
|
|
1479
1565
|
}
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
this._associations["posts"] = new PostQueryOptions(options);
|
|
1483
|
-
} else {
|
|
1484
|
-
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
1485
|
-
}
|
|
1566
|
+
seoDescription() {
|
|
1567
|
+
this.addField("seoDescription");
|
|
1486
1568
|
return this;
|
|
1487
1569
|
}
|
|
1488
|
-
|
|
1489
|
-
this.
|
|
1490
|
-
return this;
|
|
1491
|
-
}
|
|
1492
|
-
parent(options) {
|
|
1493
|
-
if (Array.isArray(options)) {
|
|
1494
|
-
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
1495
|
-
} else {
|
|
1496
|
-
this._associations["parent"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1497
|
-
}
|
|
1498
|
-
return this;
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
class PostQueryOptions extends QueryOptions {
|
|
1502
|
-
constructor(fields, queryArgs) {
|
|
1503
|
-
super(PostEntityName, fields, queryArgs);
|
|
1504
|
-
}
|
|
1505
|
-
id() {
|
|
1506
|
-
this.addField("id");
|
|
1507
|
-
return this;
|
|
1508
|
-
}
|
|
1509
|
-
seqValue() {
|
|
1510
|
-
this.addField("seqValue");
|
|
1511
|
-
return this;
|
|
1512
|
-
}
|
|
1513
|
-
/**
|
|
1514
|
-
* 置顶
|
|
1515
|
-
*/
|
|
1516
|
-
pinToTop() {
|
|
1517
|
-
this.addField("pinToTop");
|
|
1518
|
-
return this;
|
|
1519
|
-
}
|
|
1520
|
-
authorEmail() {
|
|
1521
|
-
this.addField("authorEmail");
|
|
1522
|
-
return this;
|
|
1523
|
-
}
|
|
1524
|
-
publishedAt() {
|
|
1525
|
-
this.addField("publishedAt");
|
|
1526
|
-
return this;
|
|
1527
|
-
}
|
|
1528
|
-
status() {
|
|
1529
|
-
this.addField("status");
|
|
1530
|
-
return this;
|
|
1531
|
-
}
|
|
1532
|
-
title() {
|
|
1533
|
-
this.addField("title");
|
|
1534
|
-
return this;
|
|
1535
|
-
}
|
|
1536
|
-
content() {
|
|
1537
|
-
this.addField("content");
|
|
1538
|
-
return this;
|
|
1539
|
-
}
|
|
1540
|
-
extends() {
|
|
1541
|
-
this.addField("extends");
|
|
1542
|
-
return this;
|
|
1543
|
-
}
|
|
1544
|
-
websiteId() {
|
|
1545
|
-
this.addField("websiteId");
|
|
1546
|
-
return this;
|
|
1547
|
-
}
|
|
1548
|
-
slug() {
|
|
1549
|
-
this.addField("slug");
|
|
1550
|
-
return this;
|
|
1551
|
-
}
|
|
1552
|
-
description() {
|
|
1553
|
-
this.addField("description");
|
|
1554
|
-
return this;
|
|
1555
|
-
}
|
|
1556
|
-
/**
|
|
1557
|
-
* 创建时间
|
|
1558
|
-
*/
|
|
1559
|
-
createdAt() {
|
|
1560
|
-
this.addField("createdAt");
|
|
1561
|
-
return this;
|
|
1562
|
-
}
|
|
1563
|
-
/**
|
|
1564
|
-
* 更新时间
|
|
1565
|
-
*/
|
|
1566
|
-
updatedAt() {
|
|
1567
|
-
this.addField("updatedAt");
|
|
1568
|
-
return this;
|
|
1569
|
-
}
|
|
1570
|
-
/**
|
|
1571
|
-
* 备注
|
|
1572
|
-
*/
|
|
1573
|
-
remark() {
|
|
1574
|
-
this.addField("remark");
|
|
1575
|
-
return this;
|
|
1576
|
-
}
|
|
1577
|
-
seoTitle() {
|
|
1578
|
-
this.addField("seoTitle");
|
|
1579
|
-
return this;
|
|
1580
|
-
}
|
|
1581
|
-
seoKeywords() {
|
|
1582
|
-
this.addField("seoKeywords");
|
|
1583
|
-
return this;
|
|
1584
|
-
}
|
|
1585
|
-
seoDescription() {
|
|
1586
|
-
this.addField("seoDescription");
|
|
1587
|
-
return this;
|
|
1588
|
-
}
|
|
1589
|
-
ogTitle() {
|
|
1590
|
-
this.addField("ogTitle");
|
|
1570
|
+
ogTitle() {
|
|
1571
|
+
this.addField("ogTitle");
|
|
1591
1572
|
return this;
|
|
1592
1573
|
}
|
|
1593
1574
|
ogDescription() {
|
|
@@ -1630,6 +1611,26 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1630
1611
|
this.addField("lang");
|
|
1631
1612
|
return this;
|
|
1632
1613
|
}
|
|
1614
|
+
category(options) {
|
|
1615
|
+
if (Array.isArray(options)) {
|
|
1616
|
+
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
1617
|
+
} else {
|
|
1618
|
+
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1619
|
+
}
|
|
1620
|
+
return this;
|
|
1621
|
+
}
|
|
1622
|
+
medias(options) {
|
|
1623
|
+
if (Array.isArray(options)) {
|
|
1624
|
+
this._associations["medias"] = new MediaQueryOptions(options);
|
|
1625
|
+
} else {
|
|
1626
|
+
this._associations["medias"] = options || new MediaQueryOptions(["id"]);
|
|
1627
|
+
}
|
|
1628
|
+
return this;
|
|
1629
|
+
}
|
|
1630
|
+
mediasAggregate(aggregate) {
|
|
1631
|
+
this._aggregates["mediasAggregate"] = aggregate;
|
|
1632
|
+
return this;
|
|
1633
|
+
}
|
|
1633
1634
|
tags(options) {
|
|
1634
1635
|
if (Array.isArray(options)) {
|
|
1635
1636
|
this._associations["tags"] = new TagQueryOptions(options);
|
|
@@ -1642,51 +1643,47 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1642
1643
|
this._aggregates["tagsAggregate"] = aggregate;
|
|
1643
1644
|
return this;
|
|
1644
1645
|
}
|
|
1645
|
-
|
|
1646
|
+
ogImage(options) {
|
|
1646
1647
|
if (Array.isArray(options)) {
|
|
1647
|
-
this._associations["
|
|
1648
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1648
1649
|
} else {
|
|
1649
|
-
this._associations["
|
|
1650
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1650
1651
|
}
|
|
1651
1652
|
return this;
|
|
1652
1653
|
}
|
|
1653
|
-
|
|
1654
|
+
attachments(options) {
|
|
1654
1655
|
if (Array.isArray(options)) {
|
|
1655
|
-
this._associations["
|
|
1656
|
+
this._associations["attachments"] = new MediaQueryOptions(options);
|
|
1656
1657
|
} else {
|
|
1657
|
-
this._associations["
|
|
1658
|
+
this._associations["attachments"] = options || new MediaQueryOptions(["id"]);
|
|
1658
1659
|
}
|
|
1659
1660
|
return this;
|
|
1660
1661
|
}
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1664
|
-
} else {
|
|
1665
|
-
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1666
|
-
}
|
|
1662
|
+
attachmentsAggregate(aggregate) {
|
|
1663
|
+
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
1667
1664
|
return this;
|
|
1668
1665
|
}
|
|
1669
1666
|
draftOf(options) {
|
|
1670
1667
|
if (Array.isArray(options)) {
|
|
1671
|
-
this._associations["draftOf"] = new
|
|
1668
|
+
this._associations["draftOf"] = new ProductQueryOptions(options);
|
|
1672
1669
|
} else {
|
|
1673
|
-
this._associations["draftOf"] = options || new
|
|
1670
|
+
this._associations["draftOf"] = options || new ProductQueryOptions(["id"]);
|
|
1674
1671
|
}
|
|
1675
1672
|
return this;
|
|
1676
1673
|
}
|
|
1677
|
-
|
|
1674
|
+
creator(options) {
|
|
1678
1675
|
if (Array.isArray(options)) {
|
|
1679
|
-
this._associations["
|
|
1676
|
+
this._associations["creator"] = new UserQueryOptions(options);
|
|
1680
1677
|
} else {
|
|
1681
|
-
this._associations["
|
|
1678
|
+
this._associations["creator"] = options || new UserQueryOptions(["id"]);
|
|
1682
1679
|
}
|
|
1683
1680
|
return this;
|
|
1684
1681
|
}
|
|
1685
1682
|
draft(options) {
|
|
1686
1683
|
if (Array.isArray(options)) {
|
|
1687
|
-
this._associations["draft"] = new
|
|
1684
|
+
this._associations["draft"] = new ProductQueryOptions(options);
|
|
1688
1685
|
} else {
|
|
1689
|
-
this._associations["draft"] = options || new
|
|
1686
|
+
this._associations["draft"] = options || new ProductQueryOptions(["id"]);
|
|
1690
1687
|
}
|
|
1691
1688
|
return this;
|
|
1692
1689
|
}
|
|
@@ -1768,54 +1765,109 @@ class TagQueryOptions extends QueryOptions {
|
|
|
1768
1765
|
return this;
|
|
1769
1766
|
}
|
|
1770
1767
|
}
|
|
1771
|
-
class
|
|
1768
|
+
class PostCategoryQueryOptions extends QueryOptions {
|
|
1772
1769
|
constructor(fields, queryArgs) {
|
|
1773
|
-
super(
|
|
1770
|
+
super(PostCategoryEntityName, fields, queryArgs);
|
|
1774
1771
|
}
|
|
1775
1772
|
id() {
|
|
1776
1773
|
this.addField("id");
|
|
1777
1774
|
return this;
|
|
1778
1775
|
}
|
|
1779
|
-
|
|
1780
|
-
this.addField("
|
|
1776
|
+
name() {
|
|
1777
|
+
this.addField("name");
|
|
1781
1778
|
return this;
|
|
1782
1779
|
}
|
|
1783
|
-
|
|
1784
|
-
this.addField("
|
|
1780
|
+
seqValue() {
|
|
1781
|
+
this.addField("seqValue");
|
|
1785
1782
|
return this;
|
|
1786
1783
|
}
|
|
1787
|
-
|
|
1788
|
-
this.addField("
|
|
1784
|
+
websiteId() {
|
|
1785
|
+
this.addField("websiteId");
|
|
1789
1786
|
return this;
|
|
1790
1787
|
}
|
|
1791
|
-
|
|
1792
|
-
this.addField("
|
|
1788
|
+
slug() {
|
|
1789
|
+
this.addField("slug");
|
|
1790
|
+
return this;
|
|
1791
|
+
}
|
|
1792
|
+
description() {
|
|
1793
|
+
this.addField("description");
|
|
1793
1794
|
return this;
|
|
1794
1795
|
}
|
|
1795
1796
|
/**
|
|
1796
|
-
*
|
|
1797
|
+
* 创建时间
|
|
1797
1798
|
*/
|
|
1798
|
-
|
|
1799
|
-
this.addField("
|
|
1799
|
+
createdAt() {
|
|
1800
|
+
this.addField("createdAt");
|
|
1800
1801
|
return this;
|
|
1801
1802
|
}
|
|
1802
|
-
|
|
1803
|
-
|
|
1803
|
+
/**
|
|
1804
|
+
* 更新时间
|
|
1805
|
+
*/
|
|
1806
|
+
updatedAt() {
|
|
1807
|
+
this.addField("updatedAt");
|
|
1804
1808
|
return this;
|
|
1805
1809
|
}
|
|
1806
|
-
|
|
1807
|
-
|
|
1810
|
+
/**
|
|
1811
|
+
* 备注
|
|
1812
|
+
*/
|
|
1813
|
+
remark() {
|
|
1814
|
+
this.addField("remark");
|
|
1808
1815
|
return this;
|
|
1809
1816
|
}
|
|
1810
|
-
|
|
1811
|
-
|
|
1817
|
+
children(options) {
|
|
1818
|
+
if (Array.isArray(options)) {
|
|
1819
|
+
this._associations["children"] = new PostCategoryQueryOptions(options);
|
|
1820
|
+
} else {
|
|
1821
|
+
this._associations["children"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1822
|
+
}
|
|
1823
|
+
return this;
|
|
1824
|
+
}
|
|
1825
|
+
childrenAggregate(aggregate) {
|
|
1826
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
1827
|
+
return this;
|
|
1828
|
+
}
|
|
1829
|
+
posts(options) {
|
|
1830
|
+
if (Array.isArray(options)) {
|
|
1831
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
1832
|
+
} else {
|
|
1833
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
1834
|
+
}
|
|
1835
|
+
return this;
|
|
1836
|
+
}
|
|
1837
|
+
postsAggregate(aggregate) {
|
|
1838
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
1839
|
+
return this;
|
|
1840
|
+
}
|
|
1841
|
+
parent(options) {
|
|
1842
|
+
if (Array.isArray(options)) {
|
|
1843
|
+
this._associations["parent"] = new PostCategoryQueryOptions(options);
|
|
1844
|
+
} else {
|
|
1845
|
+
this._associations["parent"] = options || new PostCategoryQueryOptions(["id"]);
|
|
1846
|
+
}
|
|
1847
|
+
return this;
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
class PostQueryOptions extends QueryOptions {
|
|
1851
|
+
constructor(fields, queryArgs) {
|
|
1852
|
+
super(PostEntityName, fields, queryArgs);
|
|
1853
|
+
}
|
|
1854
|
+
id() {
|
|
1855
|
+
this.addField("id");
|
|
1856
|
+
return this;
|
|
1857
|
+
}
|
|
1858
|
+
seqValue() {
|
|
1859
|
+
this.addField("seqValue");
|
|
1812
1860
|
return this;
|
|
1813
1861
|
}
|
|
1814
1862
|
/**
|
|
1815
|
-
*
|
|
1863
|
+
* 置顶
|
|
1816
1864
|
*/
|
|
1817
|
-
|
|
1818
|
-
this.addField("
|
|
1865
|
+
pinToTop() {
|
|
1866
|
+
this.addField("pinToTop");
|
|
1867
|
+
return this;
|
|
1868
|
+
}
|
|
1869
|
+
authorEmail() {
|
|
1870
|
+
this.addField("authorEmail");
|
|
1819
1871
|
return this;
|
|
1820
1872
|
}
|
|
1821
1873
|
publishedAt() {
|
|
@@ -1927,26 +1979,6 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1927
1979
|
this.addField("lang");
|
|
1928
1980
|
return this;
|
|
1929
1981
|
}
|
|
1930
|
-
category(options) {
|
|
1931
|
-
if (Array.isArray(options)) {
|
|
1932
|
-
this._associations["category"] = new ProductCategoryQueryOptions(options);
|
|
1933
|
-
} else {
|
|
1934
|
-
this._associations["category"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1935
|
-
}
|
|
1936
|
-
return this;
|
|
1937
|
-
}
|
|
1938
|
-
medias(options) {
|
|
1939
|
-
if (Array.isArray(options)) {
|
|
1940
|
-
this._associations["medias"] = new MediaQueryOptions(options);
|
|
1941
|
-
} else {
|
|
1942
|
-
this._associations["medias"] = options || new MediaQueryOptions(["id"]);
|
|
1943
|
-
}
|
|
1944
|
-
return this;
|
|
1945
|
-
}
|
|
1946
|
-
mediasAggregate(aggregate) {
|
|
1947
|
-
this._aggregates["mediasAggregate"] = aggregate;
|
|
1948
|
-
return this;
|
|
1949
|
-
}
|
|
1950
1982
|
tags(options) {
|
|
1951
1983
|
if (Array.isArray(options)) {
|
|
1952
1984
|
this._associations["tags"] = new TagQueryOptions(options);
|
|
@@ -1959,154 +1991,54 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1959
1991
|
this._aggregates["tagsAggregate"] = aggregate;
|
|
1960
1992
|
return this;
|
|
1961
1993
|
}
|
|
1962
|
-
|
|
1963
|
-
if (Array.isArray(options)) {
|
|
1964
|
-
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1965
|
-
} else {
|
|
1966
|
-
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1967
|
-
}
|
|
1968
|
-
return this;
|
|
1969
|
-
}
|
|
1970
|
-
attachments(options) {
|
|
1971
|
-
if (Array.isArray(options)) {
|
|
1972
|
-
this._associations["attachments"] = new MediaQueryOptions(options);
|
|
1973
|
-
} else {
|
|
1974
|
-
this._associations["attachments"] = options || new MediaQueryOptions(["id"]);
|
|
1975
|
-
}
|
|
1976
|
-
return this;
|
|
1977
|
-
}
|
|
1978
|
-
attachmentsAggregate(aggregate) {
|
|
1979
|
-
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
1980
|
-
return this;
|
|
1981
|
-
}
|
|
1982
|
-
draftOf(options) {
|
|
1983
|
-
if (Array.isArray(options)) {
|
|
1984
|
-
this._associations["draftOf"] = new ProductQueryOptions(options);
|
|
1985
|
-
} else {
|
|
1986
|
-
this._associations["draftOf"] = options || new ProductQueryOptions(["id"]);
|
|
1987
|
-
}
|
|
1988
|
-
return this;
|
|
1989
|
-
}
|
|
1990
|
-
creator(options) {
|
|
1991
|
-
if (Array.isArray(options)) {
|
|
1992
|
-
this._associations["creator"] = new UserQueryOptions(options);
|
|
1993
|
-
} else {
|
|
1994
|
-
this._associations["creator"] = options || new UserQueryOptions(["id"]);
|
|
1995
|
-
}
|
|
1996
|
-
return this;
|
|
1997
|
-
}
|
|
1998
|
-
draft(options) {
|
|
1994
|
+
author(options) {
|
|
1999
1995
|
if (Array.isArray(options)) {
|
|
2000
|
-
this._associations["
|
|
1996
|
+
this._associations["author"] = new UserQueryOptions(options);
|
|
2001
1997
|
} else {
|
|
2002
|
-
this._associations["
|
|
1998
|
+
this._associations["author"] = options || new UserQueryOptions(["id"]);
|
|
2003
1999
|
}
|
|
2004
2000
|
return this;
|
|
2005
2001
|
}
|
|
2006
|
-
|
|
2007
|
-
class MediaQueryOptions extends QueryOptions {
|
|
2008
|
-
constructor(fields, queryArgs) {
|
|
2009
|
-
super(MediaEntityName, fields, queryArgs);
|
|
2010
|
-
}
|
|
2011
|
-
id() {
|
|
2012
|
-
this.addField("id");
|
|
2013
|
-
return this;
|
|
2014
|
-
}
|
|
2015
|
-
name() {
|
|
2016
|
-
this.addField("name");
|
|
2017
|
-
return this;
|
|
2018
|
-
}
|
|
2019
|
-
size() {
|
|
2020
|
-
this.addField("size");
|
|
2021
|
-
return this;
|
|
2022
|
-
}
|
|
2023
|
-
mimeType() {
|
|
2024
|
-
this.addField("mimeType");
|
|
2025
|
-
return this;
|
|
2026
|
-
}
|
|
2027
|
-
extName() {
|
|
2028
|
-
this.addField("extName");
|
|
2029
|
-
return this;
|
|
2030
|
-
}
|
|
2031
|
-
file(fields) {
|
|
2032
|
-
this.addObjectField("file", fields);
|
|
2033
|
-
return this;
|
|
2034
|
-
}
|
|
2035
|
-
description() {
|
|
2036
|
-
this.addField("description");
|
|
2037
|
-
return this;
|
|
2038
|
-
}
|
|
2039
|
-
createdAt() {
|
|
2040
|
-
this.addField("createdAt");
|
|
2041
|
-
return this;
|
|
2042
|
-
}
|
|
2043
|
-
updatedAt() {
|
|
2044
|
-
this.addField("updatedAt");
|
|
2045
|
-
return this;
|
|
2046
|
-
}
|
|
2047
|
-
mediaType() {
|
|
2048
|
-
this.addField("mediaType");
|
|
2049
|
-
return this;
|
|
2050
|
-
}
|
|
2051
|
-
/**
|
|
2052
|
-
* 网站Id
|
|
2053
|
-
*/
|
|
2054
|
-
websiteId() {
|
|
2055
|
-
this.addField("websiteId");
|
|
2056
|
-
return this;
|
|
2057
|
-
}
|
|
2058
|
-
folder(options) {
|
|
2002
|
+
cover(options) {
|
|
2059
2003
|
if (Array.isArray(options)) {
|
|
2060
|
-
this._associations["
|
|
2004
|
+
this._associations["cover"] = new MediaQueryOptions(options);
|
|
2061
2005
|
} else {
|
|
2062
|
-
this._associations["
|
|
2006
|
+
this._associations["cover"] = options || new MediaQueryOptions(["id"]);
|
|
2063
2007
|
}
|
|
2064
2008
|
return this;
|
|
2065
2009
|
}
|
|
2066
|
-
|
|
2010
|
+
ogImage(options) {
|
|
2067
2011
|
if (Array.isArray(options)) {
|
|
2068
|
-
this._associations["
|
|
2012
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2069
2013
|
} else {
|
|
2070
|
-
this._associations["
|
|
2014
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2071
2015
|
}
|
|
2072
2016
|
return this;
|
|
2073
2017
|
}
|
|
2074
|
-
|
|
2018
|
+
draftOf(options) {
|
|
2075
2019
|
if (Array.isArray(options)) {
|
|
2076
|
-
this._associations["
|
|
2020
|
+
this._associations["draftOf"] = new PostQueryOptions(options);
|
|
2077
2021
|
} else {
|
|
2078
|
-
this._associations["
|
|
2022
|
+
this._associations["draftOf"] = options || new PostQueryOptions(["id"]);
|
|
2079
2023
|
}
|
|
2080
2024
|
return this;
|
|
2081
2025
|
}
|
|
2082
|
-
|
|
2083
|
-
this._aggregates["usedByProductsAggregate"] = aggregate;
|
|
2084
|
-
return this;
|
|
2085
|
-
}
|
|
2086
|
-
attachmentOf(options) {
|
|
2026
|
+
category(options) {
|
|
2087
2027
|
if (Array.isArray(options)) {
|
|
2088
|
-
this._associations["
|
|
2028
|
+
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
2089
2029
|
} else {
|
|
2090
|
-
this._associations["
|
|
2030
|
+
this._associations["category"] = options || new PostCategoryQueryOptions(["id"]);
|
|
2091
2031
|
}
|
|
2092
2032
|
return this;
|
|
2093
2033
|
}
|
|
2094
|
-
|
|
2095
|
-
this._aggregates["attachmentOfAggregate"] = aggregate;
|
|
2096
|
-
return this;
|
|
2097
|
-
}
|
|
2098
|
-
meidaOfProduct(options) {
|
|
2034
|
+
draft(options) {
|
|
2099
2035
|
if (Array.isArray(options)) {
|
|
2100
|
-
this._associations["
|
|
2036
|
+
this._associations["draft"] = new PostQueryOptions(options);
|
|
2101
2037
|
} else {
|
|
2102
|
-
this._associations["
|
|
2038
|
+
this._associations["draft"] = options || new PostQueryOptions(["id"]);
|
|
2103
2039
|
}
|
|
2104
2040
|
return this;
|
|
2105
2041
|
}
|
|
2106
|
-
meidaOfProductAggregate(aggregate) {
|
|
2107
|
-
this._aggregates["meidaOfProductAggregate"] = aggregate;
|
|
2108
|
-
return this;
|
|
2109
|
-
}
|
|
2110
2042
|
}
|
|
2111
2043
|
class WebsiteTypeQueryOptions extends QueryOptions {
|
|
2112
2044
|
constructor(fields, queryArgs) {
|
|
@@ -2348,12 +2280,95 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
2348
2280
|
this.addField("websiteId");
|
|
2349
2281
|
return this;
|
|
2350
2282
|
}
|
|
2351
|
-
slug() {
|
|
2352
|
-
this.addField("slug");
|
|
2283
|
+
slug() {
|
|
2284
|
+
this.addField("slug");
|
|
2285
|
+
return this;
|
|
2286
|
+
}
|
|
2287
|
+
description() {
|
|
2288
|
+
this.addField("description");
|
|
2289
|
+
return this;
|
|
2290
|
+
}
|
|
2291
|
+
/**
|
|
2292
|
+
* 创建时间
|
|
2293
|
+
*/
|
|
2294
|
+
createdAt() {
|
|
2295
|
+
this.addField("createdAt");
|
|
2296
|
+
return this;
|
|
2297
|
+
}
|
|
2298
|
+
/**
|
|
2299
|
+
* 更新时间
|
|
2300
|
+
*/
|
|
2301
|
+
updatedAt() {
|
|
2302
|
+
this.addField("updatedAt");
|
|
2303
|
+
return this;
|
|
2304
|
+
}
|
|
2305
|
+
/**
|
|
2306
|
+
* 备注
|
|
2307
|
+
*/
|
|
2308
|
+
remark() {
|
|
2309
|
+
this.addField("remark");
|
|
2310
|
+
return this;
|
|
2311
|
+
}
|
|
2312
|
+
templates(options) {
|
|
2313
|
+
if (Array.isArray(options)) {
|
|
2314
|
+
this._associations["templates"] = new TemplateQueryOptions(options);
|
|
2315
|
+
} else {
|
|
2316
|
+
this._associations["templates"] = options || new TemplateQueryOptions(["id"]);
|
|
2317
|
+
}
|
|
2318
|
+
return this;
|
|
2319
|
+
}
|
|
2320
|
+
templatesAggregate(aggregate) {
|
|
2321
|
+
this._aggregates["templatesAggregate"] = aggregate;
|
|
2322
|
+
return this;
|
|
2323
|
+
}
|
|
2324
|
+
themlateCategories(options) {
|
|
2325
|
+
if (Array.isArray(options)) {
|
|
2326
|
+
this._associations["themlateCategories"] = new TemplateCategoryQueryOptions(options);
|
|
2327
|
+
} else {
|
|
2328
|
+
this._associations["themlateCategories"] = options || new TemplateCategoryQueryOptions(["id"]);
|
|
2329
|
+
}
|
|
2330
|
+
return this;
|
|
2331
|
+
}
|
|
2332
|
+
themlateCategoriesAggregate(aggregate) {
|
|
2333
|
+
this._aggregates["themlateCategoriesAggregate"] = aggregate;
|
|
2334
|
+
return this;
|
|
2335
|
+
}
|
|
2336
|
+
selectedBy(options) {
|
|
2337
|
+
if (Array.isArray(options)) {
|
|
2338
|
+
this._associations["selectedBy"] = new WebsiteQueryOptions(options);
|
|
2339
|
+
} else {
|
|
2340
|
+
this._associations["selectedBy"] = options || new WebsiteQueryOptions(["id"]);
|
|
2341
|
+
}
|
|
2342
|
+
return this;
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
class WebsiteQueryOptions extends QueryOptions {
|
|
2346
|
+
constructor(fields, queryArgs) {
|
|
2347
|
+
super(WebsiteEntityName, fields, queryArgs);
|
|
2348
|
+
}
|
|
2349
|
+
id() {
|
|
2350
|
+
this.addField("id");
|
|
2351
|
+
return this;
|
|
2352
|
+
}
|
|
2353
|
+
/**
|
|
2354
|
+
* 站点名称
|
|
2355
|
+
*/
|
|
2356
|
+
name() {
|
|
2357
|
+
this.addField("name");
|
|
2358
|
+
return this;
|
|
2359
|
+
}
|
|
2360
|
+
/**
|
|
2361
|
+
* 站点备注
|
|
2362
|
+
*/
|
|
2363
|
+
remark() {
|
|
2364
|
+
this.addField("remark");
|
|
2353
2365
|
return this;
|
|
2354
2366
|
}
|
|
2355
|
-
|
|
2356
|
-
|
|
2367
|
+
/**
|
|
2368
|
+
* 创建者ID
|
|
2369
|
+
*/
|
|
2370
|
+
createdBy() {
|
|
2371
|
+
this.addField("createdBy");
|
|
2357
2372
|
return this;
|
|
2358
2373
|
}
|
|
2359
2374
|
/**
|
|
@@ -2363,6 +2378,13 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
2363
2378
|
this.addField("createdAt");
|
|
2364
2379
|
return this;
|
|
2365
2380
|
}
|
|
2381
|
+
/**
|
|
2382
|
+
* 最近打开时间
|
|
2383
|
+
*/
|
|
2384
|
+
lastOpenTime() {
|
|
2385
|
+
this.addField("lastOpenTime");
|
|
2386
|
+
return this;
|
|
2387
|
+
}
|
|
2366
2388
|
/**
|
|
2367
2389
|
* 更新时间
|
|
2368
2390
|
*/
|
|
@@ -2371,34 +2393,54 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
2371
2393
|
return this;
|
|
2372
2394
|
}
|
|
2373
2395
|
/**
|
|
2374
|
-
*
|
|
2396
|
+
* 更新者ID
|
|
2375
2397
|
*/
|
|
2376
|
-
|
|
2377
|
-
this.addField("
|
|
2398
|
+
updatedBy() {
|
|
2399
|
+
this.addField("updatedBy");
|
|
2378
2400
|
return this;
|
|
2379
2401
|
}
|
|
2380
|
-
|
|
2402
|
+
websiteType(options) {
|
|
2381
2403
|
if (Array.isArray(options)) {
|
|
2382
|
-
this._associations["
|
|
2404
|
+
this._associations["websiteType"] = new WebsiteTypeQueryOptions(options);
|
|
2383
2405
|
} else {
|
|
2384
|
-
this._associations["
|
|
2406
|
+
this._associations["websiteType"] = options || new WebsiteTypeQueryOptions(["id"]);
|
|
2385
2407
|
}
|
|
2386
2408
|
return this;
|
|
2387
2409
|
}
|
|
2388
|
-
|
|
2389
|
-
|
|
2410
|
+
selectedTheme(options) {
|
|
2411
|
+
if (Array.isArray(options)) {
|
|
2412
|
+
this._associations["selectedTheme"] = new ThemeQueryOptions(options);
|
|
2413
|
+
} else {
|
|
2414
|
+
this._associations["selectedTheme"] = options || new ThemeQueryOptions(["id"]);
|
|
2415
|
+
}
|
|
2390
2416
|
return this;
|
|
2391
2417
|
}
|
|
2392
|
-
|
|
2418
|
+
homePage(options) {
|
|
2393
2419
|
if (Array.isArray(options)) {
|
|
2394
|
-
this._associations["
|
|
2420
|
+
this._associations["homePage"] = new PageQueryOptions(options);
|
|
2395
2421
|
} else {
|
|
2396
|
-
this._associations["
|
|
2422
|
+
this._associations["homePage"] = options || new PageQueryOptions(["id"]);
|
|
2397
2423
|
}
|
|
2398
2424
|
return this;
|
|
2399
2425
|
}
|
|
2400
|
-
|
|
2401
|
-
|
|
2426
|
+
owner(options) {
|
|
2427
|
+
if (Array.isArray(options)) {
|
|
2428
|
+
this._associations["owner"] = new UserQueryOptions(options);
|
|
2429
|
+
} else {
|
|
2430
|
+
this._associations["owner"] = options || new UserQueryOptions(["id"]);
|
|
2431
|
+
}
|
|
2432
|
+
return this;
|
|
2433
|
+
}
|
|
2434
|
+
users(options) {
|
|
2435
|
+
if (Array.isArray(options)) {
|
|
2436
|
+
this._associations["users"] = new UserQueryOptions(options);
|
|
2437
|
+
} else {
|
|
2438
|
+
this._associations["users"] = options || new UserQueryOptions(["id"]);
|
|
2439
|
+
}
|
|
2440
|
+
return this;
|
|
2441
|
+
}
|
|
2442
|
+
usersAggregate(aggregate) {
|
|
2443
|
+
this._aggregates["usersAggregate"] = aggregate;
|
|
2402
2444
|
return this;
|
|
2403
2445
|
}
|
|
2404
2446
|
}
|
|
@@ -2523,106 +2565,164 @@ class PageQueryOptions extends QueryOptions {
|
|
|
2523
2565
|
}
|
|
2524
2566
|
return this;
|
|
2525
2567
|
}
|
|
2568
|
+
homeOf(options) {
|
|
2569
|
+
if (Array.isArray(options)) {
|
|
2570
|
+
this._associations["homeOf"] = new WebsiteQueryOptions(options);
|
|
2571
|
+
} else {
|
|
2572
|
+
this._associations["homeOf"] = options || new WebsiteQueryOptions(["id"]);
|
|
2573
|
+
}
|
|
2574
|
+
return this;
|
|
2575
|
+
}
|
|
2526
2576
|
}
|
|
2527
|
-
class
|
|
2577
|
+
class MediaQueryOptions extends QueryOptions {
|
|
2528
2578
|
constructor(fields, queryArgs) {
|
|
2529
|
-
super(
|
|
2579
|
+
super(MediaEntityName, fields, queryArgs);
|
|
2530
2580
|
}
|
|
2531
2581
|
id() {
|
|
2532
2582
|
this.addField("id");
|
|
2533
2583
|
return this;
|
|
2534
2584
|
}
|
|
2535
|
-
/**
|
|
2536
|
-
* 站点名称
|
|
2537
|
-
*/
|
|
2538
2585
|
name() {
|
|
2539
2586
|
this.addField("name");
|
|
2540
2587
|
return this;
|
|
2541
2588
|
}
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
*/
|
|
2545
|
-
remark() {
|
|
2546
|
-
this.addField("remark");
|
|
2589
|
+
size() {
|
|
2590
|
+
this.addField("size");
|
|
2547
2591
|
return this;
|
|
2548
2592
|
}
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
*/
|
|
2552
|
-
createdBy() {
|
|
2553
|
-
this.addField("createdBy");
|
|
2593
|
+
mimeType() {
|
|
2594
|
+
this.addField("mimeType");
|
|
2554
2595
|
return this;
|
|
2555
2596
|
}
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
*/
|
|
2559
|
-
createdAt() {
|
|
2560
|
-
this.addField("createdAt");
|
|
2597
|
+
extName() {
|
|
2598
|
+
this.addField("extName");
|
|
2561
2599
|
return this;
|
|
2562
2600
|
}
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2601
|
+
file(fields) {
|
|
2602
|
+
this.addObjectField("file", fields);
|
|
2603
|
+
return this;
|
|
2604
|
+
}
|
|
2605
|
+
description() {
|
|
2606
|
+
this.addField("description");
|
|
2607
|
+
return this;
|
|
2608
|
+
}
|
|
2609
|
+
createdAt() {
|
|
2610
|
+
this.addField("createdAt");
|
|
2568
2611
|
return this;
|
|
2569
2612
|
}
|
|
2570
|
-
/**
|
|
2571
|
-
* 更新时间
|
|
2572
|
-
*/
|
|
2573
2613
|
updatedAt() {
|
|
2574
2614
|
this.addField("updatedAt");
|
|
2575
2615
|
return this;
|
|
2576
2616
|
}
|
|
2617
|
+
mediaType() {
|
|
2618
|
+
this.addField("mediaType");
|
|
2619
|
+
return this;
|
|
2620
|
+
}
|
|
2577
2621
|
/**
|
|
2578
|
-
*
|
|
2622
|
+
* 网站Id
|
|
2579
2623
|
*/
|
|
2580
|
-
|
|
2581
|
-
this.addField("
|
|
2624
|
+
websiteId() {
|
|
2625
|
+
this.addField("websiteId");
|
|
2582
2626
|
return this;
|
|
2583
2627
|
}
|
|
2584
|
-
|
|
2628
|
+
folder(options) {
|
|
2585
2629
|
if (Array.isArray(options)) {
|
|
2586
|
-
this._associations["
|
|
2630
|
+
this._associations["folder"] = new MediaFolderQueryOptions(options);
|
|
2587
2631
|
} else {
|
|
2588
|
-
this._associations["
|
|
2632
|
+
this._associations["folder"] = options || new MediaFolderQueryOptions(["id"]);
|
|
2589
2633
|
}
|
|
2590
2634
|
return this;
|
|
2591
2635
|
}
|
|
2592
|
-
|
|
2636
|
+
coverOf(options) {
|
|
2593
2637
|
if (Array.isArray(options)) {
|
|
2594
|
-
this._associations["
|
|
2638
|
+
this._associations["coverOf"] = new PostQueryOptions(options);
|
|
2595
2639
|
} else {
|
|
2596
|
-
this._associations["
|
|
2640
|
+
this._associations["coverOf"] = options || new PostQueryOptions(["id"]);
|
|
2597
2641
|
}
|
|
2598
2642
|
return this;
|
|
2599
2643
|
}
|
|
2600
|
-
|
|
2644
|
+
coverOfAggregate(aggregate) {
|
|
2645
|
+
this._aggregates["coverOfAggregate"] = aggregate;
|
|
2646
|
+
return this;
|
|
2647
|
+
}
|
|
2648
|
+
avatarOfUser(options) {
|
|
2601
2649
|
if (Array.isArray(options)) {
|
|
2602
|
-
this._associations["
|
|
2650
|
+
this._associations["avatarOfUser"] = new UserQueryOptions(options);
|
|
2603
2651
|
} else {
|
|
2604
|
-
this._associations["
|
|
2652
|
+
this._associations["avatarOfUser"] = options || new UserQueryOptions(["id"]);
|
|
2605
2653
|
}
|
|
2606
2654
|
return this;
|
|
2607
2655
|
}
|
|
2608
|
-
|
|
2656
|
+
usedByProducts(options) {
|
|
2609
2657
|
if (Array.isArray(options)) {
|
|
2610
|
-
this._associations["
|
|
2658
|
+
this._associations["usedByProducts"] = new ProductQueryOptions(options);
|
|
2611
2659
|
} else {
|
|
2612
|
-
this._associations["
|
|
2660
|
+
this._associations["usedByProducts"] = options || new ProductQueryOptions(["id"]);
|
|
2613
2661
|
}
|
|
2614
2662
|
return this;
|
|
2615
2663
|
}
|
|
2616
|
-
|
|
2664
|
+
usedByProductsAggregate(aggregate) {
|
|
2665
|
+
this._aggregates["usedByProductsAggregate"] = aggregate;
|
|
2666
|
+
return this;
|
|
2667
|
+
}
|
|
2668
|
+
ogMetaOfPage(options) {
|
|
2617
2669
|
if (Array.isArray(options)) {
|
|
2618
|
-
this._associations["
|
|
2670
|
+
this._associations["ogMetaOfPage"] = new PageQueryOptions(options);
|
|
2619
2671
|
} else {
|
|
2620
|
-
this._associations["
|
|
2672
|
+
this._associations["ogMetaOfPage"] = options || new PageQueryOptions(["id"]);
|
|
2621
2673
|
}
|
|
2622
2674
|
return this;
|
|
2623
2675
|
}
|
|
2624
|
-
|
|
2625
|
-
this._aggregates["
|
|
2676
|
+
ogMetaOfPageAggregate(aggregate) {
|
|
2677
|
+
this._aggregates["ogMetaOfPageAggregate"] = aggregate;
|
|
2678
|
+
return this;
|
|
2679
|
+
}
|
|
2680
|
+
ogMetaOfProduct(options) {
|
|
2681
|
+
if (Array.isArray(options)) {
|
|
2682
|
+
this._associations["ogMetaOfProduct"] = new ProductQueryOptions(options);
|
|
2683
|
+
} else {
|
|
2684
|
+
this._associations["ogMetaOfProduct"] = options || new ProductQueryOptions(["id"]);
|
|
2685
|
+
}
|
|
2686
|
+
return this;
|
|
2687
|
+
}
|
|
2688
|
+
ogMetaOfProductAggregate(aggregate) {
|
|
2689
|
+
this._aggregates["ogMetaOfProductAggregate"] = aggregate;
|
|
2690
|
+
return this;
|
|
2691
|
+
}
|
|
2692
|
+
ogMetaOfPost(options) {
|
|
2693
|
+
if (Array.isArray(options)) {
|
|
2694
|
+
this._associations["ogMetaOfPost"] = new PostQueryOptions(options);
|
|
2695
|
+
} else {
|
|
2696
|
+
this._associations["ogMetaOfPost"] = options || new PostQueryOptions(["id"]);
|
|
2697
|
+
}
|
|
2698
|
+
return this;
|
|
2699
|
+
}
|
|
2700
|
+
ogMetaOfPostAggregate(aggregate) {
|
|
2701
|
+
this._aggregates["ogMetaOfPostAggregate"] = aggregate;
|
|
2702
|
+
return this;
|
|
2703
|
+
}
|
|
2704
|
+
attachmentOf(options) {
|
|
2705
|
+
if (Array.isArray(options)) {
|
|
2706
|
+
this._associations["attachmentOf"] = new ProductQueryOptions(options);
|
|
2707
|
+
} else {
|
|
2708
|
+
this._associations["attachmentOf"] = options || new ProductQueryOptions(["id"]);
|
|
2709
|
+
}
|
|
2710
|
+
return this;
|
|
2711
|
+
}
|
|
2712
|
+
attachmentOfAggregate(aggregate) {
|
|
2713
|
+
this._aggregates["attachmentOfAggregate"] = aggregate;
|
|
2714
|
+
return this;
|
|
2715
|
+
}
|
|
2716
|
+
meidaOfProduct(options) {
|
|
2717
|
+
if (Array.isArray(options)) {
|
|
2718
|
+
this._associations["meidaOfProduct"] = new ProductCategoryQueryOptions(options);
|
|
2719
|
+
} else {
|
|
2720
|
+
this._associations["meidaOfProduct"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2721
|
+
}
|
|
2722
|
+
return this;
|
|
2723
|
+
}
|
|
2724
|
+
meidaOfProductAggregate(aggregate) {
|
|
2725
|
+
this._aggregates["meidaOfProductAggregate"] = aggregate;
|
|
2626
2726
|
return this;
|
|
2627
2727
|
}
|
|
2628
2728
|
}
|
|
@@ -2830,6 +2930,67 @@ class AbilityQueryOptions extends QueryOptions {
|
|
|
2830
2930
|
return this;
|
|
2831
2931
|
}
|
|
2832
2932
|
}
|
|
2933
|
+
class MailQueryOptions extends QueryOptions {
|
|
2934
|
+
constructor(fields, queryArgs) {
|
|
2935
|
+
super(MailEntityName, fields, queryArgs);
|
|
2936
|
+
}
|
|
2937
|
+
id() {
|
|
2938
|
+
this.addField("id");
|
|
2939
|
+
return this;
|
|
2940
|
+
}
|
|
2941
|
+
createdAt() {
|
|
2942
|
+
this.addField("createdAt");
|
|
2943
|
+
return this;
|
|
2944
|
+
}
|
|
2945
|
+
updatedAt() {
|
|
2946
|
+
this.addField("updatedAt");
|
|
2947
|
+
return this;
|
|
2948
|
+
}
|
|
2949
|
+
taskId() {
|
|
2950
|
+
this.addField("taskId");
|
|
2951
|
+
return this;
|
|
2952
|
+
}
|
|
2953
|
+
taskName() {
|
|
2954
|
+
this.addField("taskName");
|
|
2955
|
+
return this;
|
|
2956
|
+
}
|
|
2957
|
+
remark() {
|
|
2958
|
+
this.addField("remark");
|
|
2959
|
+
return this;
|
|
2960
|
+
}
|
|
2961
|
+
subject() {
|
|
2962
|
+
this.addField("subject");
|
|
2963
|
+
return this;
|
|
2964
|
+
}
|
|
2965
|
+
message() {
|
|
2966
|
+
this.addField("message");
|
|
2967
|
+
return this;
|
|
2968
|
+
}
|
|
2969
|
+
to() {
|
|
2970
|
+
this.addField("to");
|
|
2971
|
+
return this;
|
|
2972
|
+
}
|
|
2973
|
+
cc() {
|
|
2974
|
+
this.addField("cc");
|
|
2975
|
+
return this;
|
|
2976
|
+
}
|
|
2977
|
+
label() {
|
|
2978
|
+
this.addField("label");
|
|
2979
|
+
return this;
|
|
2980
|
+
}
|
|
2981
|
+
name() {
|
|
2982
|
+
this.addField("name");
|
|
2983
|
+
return this;
|
|
2984
|
+
}
|
|
2985
|
+
company() {
|
|
2986
|
+
this.addField("company");
|
|
2987
|
+
return this;
|
|
2988
|
+
}
|
|
2989
|
+
mailType() {
|
|
2990
|
+
this.addField("mailType");
|
|
2991
|
+
return this;
|
|
2992
|
+
}
|
|
2993
|
+
}
|
|
2833
2994
|
class LangQueryOptions extends QueryOptions {
|
|
2834
2995
|
constructor(fields, queryArgs) {
|
|
2835
2996
|
super(LangEntityName, fields, queryArgs);
|
|
@@ -3111,15 +3272,6 @@ class EnquiryQueryOptions extends QueryOptions {
|
|
|
3111
3272
|
return this;
|
|
3112
3273
|
}
|
|
3113
3274
|
}
|
|
3114
|
-
class WebsiteMetaQueryOptions extends QueryOptions {
|
|
3115
|
-
constructor(fields, queryArgs) {
|
|
3116
|
-
super(WebsiteMetaEntityName, fields, queryArgs);
|
|
3117
|
-
}
|
|
3118
|
-
id() {
|
|
3119
|
-
this.addField("id");
|
|
3120
|
-
return this;
|
|
3121
|
-
}
|
|
3122
|
-
}
|
|
3123
3275
|
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
3124
3276
|
constructor(fields, queryArgs) {
|
|
3125
3277
|
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
@@ -3330,6 +3482,11 @@ const mediaEntry = {
|
|
|
3330
3482
|
entityLabel: MediaEntityLabel,
|
|
3331
3483
|
toInput: mediaToInput
|
|
3332
3484
|
};
|
|
3485
|
+
const mailEntry = {
|
|
3486
|
+
entityName: MailEntityName,
|
|
3487
|
+
entityLabel: MailEntityLabel,
|
|
3488
|
+
toInput: mailToInput
|
|
3489
|
+
};
|
|
3333
3490
|
const websiteEntry = {
|
|
3334
3491
|
entityName: WebsiteEntityName,
|
|
3335
3492
|
entityLabel: WebsiteEntityLabel,
|
|
@@ -3365,11 +3522,6 @@ const enquiryEntry = {
|
|
|
3365
3522
|
entityLabel: EnquiryEntityLabel,
|
|
3366
3523
|
toInput: enquiryToInput
|
|
3367
3524
|
};
|
|
3368
|
-
const websiteMetaEntry = {
|
|
3369
|
-
entityName: WebsiteMetaEntityName,
|
|
3370
|
-
entityLabel: WebsiteMetaEntityLabel,
|
|
3371
|
-
toInput: websiteMetaToInput
|
|
3372
|
-
};
|
|
3373
3525
|
const websiteSettingsEntry = {
|
|
3374
3526
|
entityName: WebsiteSettingsEntityName,
|
|
3375
3527
|
entityLabel: WebsiteSettingsEntityLabel,
|
|
@@ -3498,15 +3650,42 @@ var MediaFields = /* @__PURE__ */ ((MediaFields2) => {
|
|
|
3498
3650
|
})(MediaFields || {});
|
|
3499
3651
|
var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
3500
3652
|
MediaAssciations2["folder"] = "folder";
|
|
3653
|
+
MediaAssciations2["coverOf"] = "coverOf";
|
|
3654
|
+
MediaAssciations2["coverOfAggregate"] = "coverOfAggregate";
|
|
3501
3655
|
MediaAssciations2["avatarOfUser"] = "avatarOfUser";
|
|
3502
3656
|
MediaAssciations2["usedByProducts"] = "usedByProducts";
|
|
3503
3657
|
MediaAssciations2["usedByProductsAggregate"] = "usedByProductsAggregate";
|
|
3658
|
+
MediaAssciations2["ogMetaOfPage"] = "ogMetaOfPage";
|
|
3659
|
+
MediaAssciations2["ogMetaOfPageAggregate"] = "ogMetaOfPageAggregate";
|
|
3660
|
+
MediaAssciations2["ogMetaOfProduct"] = "ogMetaOfProduct";
|
|
3661
|
+
MediaAssciations2["ogMetaOfProductAggregate"] = "ogMetaOfProductAggregate";
|
|
3662
|
+
MediaAssciations2["ogMetaOfPost"] = "ogMetaOfPost";
|
|
3663
|
+
MediaAssciations2["ogMetaOfPostAggregate"] = "ogMetaOfPostAggregate";
|
|
3504
3664
|
MediaAssciations2["attachmentOf"] = "attachmentOf";
|
|
3505
3665
|
MediaAssciations2["attachmentOfAggregate"] = "attachmentOfAggregate";
|
|
3506
3666
|
MediaAssciations2["meidaOfProduct"] = "meidaOfProduct";
|
|
3507
3667
|
MediaAssciations2["meidaOfProductAggregate"] = "meidaOfProductAggregate";
|
|
3508
3668
|
return MediaAssciations2;
|
|
3509
3669
|
})(MediaAssciations || {});
|
|
3670
|
+
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
3671
|
+
MailFields2["id"] = "id";
|
|
3672
|
+
MailFields2["createdAt"] = "createdAt";
|
|
3673
|
+
MailFields2["updatedAt"] = "updatedAt";
|
|
3674
|
+
MailFields2["taskId"] = "taskId";
|
|
3675
|
+
MailFields2["taskName"] = "taskName";
|
|
3676
|
+
MailFields2["remark"] = "remark";
|
|
3677
|
+
MailFields2["subject"] = "subject";
|
|
3678
|
+
MailFields2["message"] = "message";
|
|
3679
|
+
MailFields2["to"] = "to";
|
|
3680
|
+
MailFields2["cc"] = "cc";
|
|
3681
|
+
MailFields2["label"] = "label";
|
|
3682
|
+
MailFields2["name"] = "name";
|
|
3683
|
+
MailFields2["company"] = "company";
|
|
3684
|
+
MailFields2["mailType"] = "mailType";
|
|
3685
|
+
return MailFields2;
|
|
3686
|
+
})(MailFields || {});
|
|
3687
|
+
var MailAssciations = /* @__PURE__ */ ((MailAssciations2) => {
|
|
3688
|
+
})();
|
|
3510
3689
|
var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
3511
3690
|
WebsiteFields2["id"] = "id";
|
|
3512
3691
|
WebsiteFields2["name"] = "name";
|
|
@@ -3591,6 +3770,7 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
3591
3770
|
})(PageFields || {});
|
|
3592
3771
|
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
3593
3772
|
PageAssciations2["ogImage"] = "ogImage";
|
|
3773
|
+
PageAssciations2["homeOf"] = "homeOf";
|
|
3594
3774
|
return PageAssciations2;
|
|
3595
3775
|
})(PageAssciations || {});
|
|
3596
3776
|
var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
@@ -3713,12 +3893,6 @@ var EnquiryAssciations = /* @__PURE__ */ ((EnquiryAssciations2) => {
|
|
|
3713
3893
|
EnquiryAssciations2["customer"] = "customer";
|
|
3714
3894
|
return EnquiryAssciations2;
|
|
3715
3895
|
})(EnquiryAssciations || {});
|
|
3716
|
-
var WebsiteMetaFields = /* @__PURE__ */ ((WebsiteMetaFields2) => {
|
|
3717
|
-
WebsiteMetaFields2["id"] = "id";
|
|
3718
|
-
return WebsiteMetaFields2;
|
|
3719
|
-
})(WebsiteMetaFields || {});
|
|
3720
|
-
var WebsiteMetaAssciations = /* @__PURE__ */ ((WebsiteMetaAssciations2) => {
|
|
3721
|
-
})();
|
|
3722
3896
|
var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
3723
3897
|
WebsiteSettingsFields2["id"] = "id";
|
|
3724
3898
|
WebsiteSettingsFields2["smtpConfig"] = "smtpConfig";
|
|
@@ -3805,6 +3979,7 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
3805
3979
|
ThemeAssciations2["templatesAggregate"] = "templatesAggregate";
|
|
3806
3980
|
ThemeAssciations2["themlateCategories"] = "themlateCategories";
|
|
3807
3981
|
ThemeAssciations2["themlateCategoriesAggregate"] = "themlateCategoriesAggregate";
|
|
3982
|
+
ThemeAssciations2["selectedBy"] = "selectedBy";
|
|
3808
3983
|
return ThemeAssciations2;
|
|
3809
3984
|
})(ThemeAssciations || {});
|
|
3810
3985
|
var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
|
|
@@ -3959,6 +4134,13 @@ export {
|
|
|
3959
4134
|
LangEntityName,
|
|
3960
4135
|
LangFields,
|
|
3961
4136
|
LangQueryOptions,
|
|
4137
|
+
MailAssciations,
|
|
4138
|
+
MailDistinctEnum,
|
|
4139
|
+
MailEntityLabel,
|
|
4140
|
+
MailEntityName,
|
|
4141
|
+
MailFields,
|
|
4142
|
+
MailQueryOptions,
|
|
4143
|
+
MailType,
|
|
3962
4144
|
MediaAssciations,
|
|
3963
4145
|
MediaDistinctEnum,
|
|
3964
4146
|
MediaEntityLabel,
|
|
@@ -4059,12 +4241,6 @@ export {
|
|
|
4059
4241
|
WebsiteEntityLabel,
|
|
4060
4242
|
WebsiteEntityName,
|
|
4061
4243
|
WebsiteFields,
|
|
4062
|
-
WebsiteMetaAssciations,
|
|
4063
|
-
WebsiteMetaDistinctEnum,
|
|
4064
|
-
WebsiteMetaEntityLabel,
|
|
4065
|
-
WebsiteMetaEntityName,
|
|
4066
|
-
WebsiteMetaFields,
|
|
4067
|
-
WebsiteMetaQueryOptions,
|
|
4068
4244
|
WebsitePartDistinctEnum,
|
|
4069
4245
|
WebsiteQueryOptions,
|
|
4070
4246
|
WebsiteSettingsAssciations,
|
|
@@ -4095,6 +4271,9 @@ export {
|
|
|
4095
4271
|
langEntry,
|
|
4096
4272
|
langToInput,
|
|
4097
4273
|
langToInputCascade,
|
|
4274
|
+
mailEntry,
|
|
4275
|
+
mailToInput,
|
|
4276
|
+
mailToInputCascade,
|
|
4098
4277
|
mediaEntry,
|
|
4099
4278
|
mediaFolderEntry,
|
|
4100
4279
|
mediaFolderToInput,
|
|
@@ -4138,9 +4317,6 @@ export {
|
|
|
4138
4317
|
userToInput,
|
|
4139
4318
|
userToInputCascade,
|
|
4140
4319
|
websiteEntry,
|
|
4141
|
-
websiteMetaEntry,
|
|
4142
|
-
websiteMetaToInput,
|
|
4143
|
-
websiteMetaToInputCascade,
|
|
4144
4320
|
websiteSettingsEntry,
|
|
4145
4321
|
websiteSettingsToInput,
|
|
4146
4322
|
websiteSettingsToInputCascade,
|