@rxdrag/rxcms-models 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/CustomerQueryOptions.d.ts +3 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +3 -0
- package/dist/classes/LangQueryOptions.d.ts +2 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +2 -0
- package/dist/classes/MediaQueryOptions.d.ts +9 -3
- package/dist/classes/PageQueryOptions.d.ts +2 -3
- package/dist/classes/PostCategoryQueryOptions.d.ts +2 -0
- package/dist/classes/PostQueryOptions.d.ts +4 -8
- package/dist/classes/ProductCategoryQueryOptions.d.ts +5 -0
- package/dist/classes/ProductQueryOptions.d.ts +11 -9
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +19 -0
- package/dist/classes/TagQueryOptions.d.ts +2 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +2 -0
- package/dist/classes/TemplateQueryOptions.d.ts +2 -0
- package/dist/classes/ThemeQueryOptions.d.ts +2 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +21 -0
- package/dist/classes/index.d.ts +1 -1
- package/dist/entries/index.d.ts +1 -1
- package/dist/entries/spamFilterRuleEntry.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +3 -0
- package/dist/fields/EnquiryFields.d.ts +3 -0
- package/dist/fields/LangFields.d.ts +2 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/MediaFolderFields.d.ts +2 -0
- package/dist/fields/PageFields.d.ts +2 -1
- package/dist/fields/PostCategoryFields.d.ts +2 -0
- package/dist/fields/PostFields.d.ts +5 -7
- package/dist/fields/ProductCategoryFields.d.ts +3 -0
- package/dist/fields/ProductFields.d.ts +8 -5
- package/dist/fields/SpamFilterRuleFields.d.ts +17 -0
- package/dist/fields/TagFields.d.ts +2 -0
- package/dist/fields/TemplateCategoryFields.d.ts +2 -0
- package/dist/fields/TemplateFields.d.ts +2 -0
- package/dist/fields/ThemeFields.d.ts +2 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +21 -0
- package/dist/fields/index.d.ts +1 -1
- package/dist/index.mjs +730 -339
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AttachmentAddon.d.ts +3 -0
- package/dist/interfaces/AttachmentAddonOrderBy.d.ts +4 -0
- package/dist/interfaces/BooleanComparisonExp.d.ts +1 -0
- package/dist/interfaces/Customer.d.ts +1 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +2 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +3 -0
- package/dist/interfaces/CustomerInput.d.ts +1 -0
- package/dist/interfaces/CustomerOrderBy.d.ts +1 -0
- package/dist/interfaces/Enquiry.d.ts +1 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +3 -0
- package/dist/interfaces/EnquiryInput.d.ts +1 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
- package/dist/interfaces/LangDistinctExp.d.ts +2 -0
- package/dist/interfaces/Media.d.ts +5 -1
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +2 -0
- package/dist/interfaces/MediaInput.d.ts +4 -1
- package/dist/interfaces/Page.d.ts +0 -2
- package/dist/interfaces/PageBoolExp.d.ts +0 -2
- package/dist/interfaces/PageDistinctExp.d.ts +2 -0
- package/dist/interfaces/PageInput.d.ts +0 -2
- package/dist/interfaces/Post.d.ts +2 -3
- package/dist/interfaces/PostBoolExp.d.ts +2 -3
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +2 -0
- package/dist/interfaces/PostDistinctExp.d.ts +2 -5
- package/dist/interfaces/PostInput.d.ts +2 -3
- package/dist/interfaces/PostOrderBy.d.ts +0 -1
- package/dist/interfaces/Product.d.ts +9 -4
- package/dist/interfaces/ProductBoolExp.d.ts +5 -4
- package/dist/interfaces/ProductCategory.d.ts +2 -0
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +2 -0
- package/dist/interfaces/ProductCategoryInput.d.ts +2 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +5 -3
- package/dist/interfaces/ProductInput.d.ts +9 -4
- package/dist/interfaces/ProductOrderBy.d.ts +5 -1
- package/dist/interfaces/Publishable.d.ts +4 -4
- package/dist/interfaces/PublishableBoolExp.d.ts +4 -1
- package/dist/interfaces/PublishableDistinctExp.d.ts +2 -4
- package/dist/interfaces/PublishableOrderBy.d.ts +4 -4
- package/dist/interfaces/SmtpConfig.d.ts +36 -0
- package/dist/interfaces/SpamFilterRule.d.ts +15 -0
- package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +19 -0
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +17 -0
- package/dist/interfaces/SpamFilterRuleInput.d.ts +16 -0
- package/dist/interfaces/SpamFilterRuleOrderBy.d.ts +14 -0
- package/dist/interfaces/TagDistinctExp.d.ts +2 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +2 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +2 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +1 -2
- package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +2 -0
- package/dist/interfaces/WebsitePart.d.ts +2 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -0
- package/dist/interfaces/WebsitePartOrderBy.d.ts +2 -0
- package/dist/interfaces/WebsiteSettings.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +9 -1
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +21 -0
- package/dist/interfaces/WebsiteSettingsInput.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +19 -0
- package/dist/interfaces/WebsiteUser.d.ts +1 -1
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/index.d.ts +37 -5
- package/package.json +2 -2
- package/dist/classes/SlugQueryOptions.d.ts +0 -30
- package/dist/entries/slugEntry.d.ts +0 -2
- package/dist/fields/SlugFields.d.ts +0 -22
- package/dist/interfaces/Slug.d.ts +0 -13
- package/dist/interfaces/SlugBoolExp.d.ts +0 -16
- package/dist/interfaces/SlugDistinctExp.d.ts +0 -19
- package/dist/interfaces/SlugInput.d.ts +0 -15
- package/dist/interfaces/SlugOrderBy.d.ts +0 -6
package/dist/index.mjs
CHANGED
|
@@ -7,10 +7,12 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
import { processHasManyClear, convertHasManyToInput, processHasOneClear, convertHasOneToInput } from "@rxdrag/entify-hooks";
|
|
8
8
|
const associationsClasses = {
|
|
9
9
|
Product: {
|
|
10
|
-
medias: "MediaAddon"
|
|
10
|
+
medias: "MediaAddon",
|
|
11
|
+
attachments: "AttachmentAddon"
|
|
11
12
|
},
|
|
12
13
|
Media: {
|
|
13
|
-
usedByProducts: "MediaAddon"
|
|
14
|
+
usedByProducts: "MediaAddon",
|
|
15
|
+
attachmentOf: "AttachmentAddon"
|
|
14
16
|
}
|
|
15
17
|
};
|
|
16
18
|
const aggregateEntities = {
|
|
@@ -25,7 +27,8 @@ const aggregateEntities = {
|
|
|
25
27
|
},
|
|
26
28
|
Media: {
|
|
27
29
|
usedByProductsAggregate: "Product",
|
|
28
|
-
attachmentOfAggregate: "Product"
|
|
30
|
+
attachmentOfAggregate: "Product",
|
|
31
|
+
meidaOfProductAggregate: "ProductCategory"
|
|
29
32
|
},
|
|
30
33
|
Website: {
|
|
31
34
|
usersAggregate: "User"
|
|
@@ -267,6 +270,7 @@ const productCategoryToInputCascade = (entity) => {
|
|
|
267
270
|
return {
|
|
268
271
|
...rest,
|
|
269
272
|
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
273
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInput(entity.media) }) : void 0,
|
|
270
274
|
parent: entity.parent ? processHasOneClear({ sync: productCategoryToInput(entity.parent) }) : void 0,
|
|
271
275
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
272
276
|
};
|
|
@@ -276,27 +280,11 @@ const productCategoryToInput = (entity) => {
|
|
|
276
280
|
return {
|
|
277
281
|
...rest,
|
|
278
282
|
children: convertHasManyToInput(entity.children),
|
|
283
|
+
media: convertHasOneToInput(entity.media),
|
|
279
284
|
parent: convertHasOneToInput(entity.parent),
|
|
280
285
|
products: convertHasManyToInput(entity.products)
|
|
281
286
|
};
|
|
282
287
|
};
|
|
283
|
-
const tagToInputCascade = (entity) => {
|
|
284
|
-
var _a, _b;
|
|
285
|
-
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
286
|
-
return {
|
|
287
|
-
...rest,
|
|
288
|
-
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
289
|
-
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
const tagToInput = (entity) => {
|
|
293
|
-
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
294
|
-
return {
|
|
295
|
-
...rest,
|
|
296
|
-
posts: convertHasManyToInput(entity.posts),
|
|
297
|
-
products: convertHasManyToInput(entity.products)
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
288
|
const postCategoryToInputCascade = (entity) => {
|
|
301
289
|
var _a, _b;
|
|
302
290
|
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
@@ -321,54 +309,43 @@ const postToInputCascade = (entity) => {
|
|
|
321
309
|
const { tagsAggregate, ...rest } = entity;
|
|
322
310
|
return {
|
|
323
311
|
...rest,
|
|
324
|
-
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0,
|
|
325
312
|
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
|
|
326
313
|
author: entity.author ? processHasOneClear({ sync: userToInput(entity.author) }) : void 0,
|
|
327
314
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
328
315
|
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
329
|
-
|
|
316
|
+
draftOf: entity.draftOf ? processHasOneClear({ sync: postToInput(entity.draftOf) }) : void 0,
|
|
317
|
+
category: entity.category ? processHasOneClear({ sync: postCategoryToInput(entity.category) }) : void 0,
|
|
318
|
+
draft: entity.draft ? processHasOneClear({ sync: postToInput(entity.draft) }) : void 0
|
|
330
319
|
};
|
|
331
320
|
};
|
|
332
321
|
const postToInput = (entity) => {
|
|
333
322
|
const { tagsAggregate, ...rest } = entity;
|
|
334
323
|
return {
|
|
335
324
|
...rest,
|
|
336
|
-
slug: convertHasOneToInput(entity.slug),
|
|
337
325
|
tags: convertHasManyToInput(entity.tags),
|
|
338
326
|
author: convertHasOneToInput(entity.author),
|
|
339
327
|
cover: convertHasOneToInput(entity.cover),
|
|
340
328
|
ogImage: convertHasOneToInput(entity.ogImage),
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
const pageToInputCascade = (entity) => {
|
|
345
|
-
return {
|
|
346
|
-
...entity,
|
|
347
|
-
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0,
|
|
348
|
-
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
const pageToInput = (entity) => {
|
|
352
|
-
return {
|
|
353
|
-
...entity,
|
|
354
|
-
slug: convertHasOneToInput(entity.slug),
|
|
355
|
-
ogImage: convertHasOneToInput(entity.ogImage)
|
|
329
|
+
draftOf: convertHasOneToInput(entity.draftOf),
|
|
330
|
+
category: convertHasOneToInput(entity.category),
|
|
331
|
+
draft: convertHasOneToInput(entity.draft)
|
|
356
332
|
};
|
|
357
333
|
};
|
|
358
|
-
const
|
|
334
|
+
const tagToInputCascade = (entity) => {
|
|
335
|
+
var _a, _b;
|
|
336
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
359
337
|
return {
|
|
360
|
-
...
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
page: entity.page ? processHasOneClear({ sync: pageToInput(entity.page) }) : void 0
|
|
338
|
+
...rest,
|
|
339
|
+
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
340
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
364
341
|
};
|
|
365
342
|
};
|
|
366
|
-
const
|
|
343
|
+
const tagToInput = (entity) => {
|
|
344
|
+
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
367
345
|
return {
|
|
368
|
-
...
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
page: convertHasOneToInput(entity.page)
|
|
346
|
+
...rest,
|
|
347
|
+
posts: convertHasManyToInput(entity.posts),
|
|
348
|
+
products: convertHasManyToInput(entity.products)
|
|
372
349
|
};
|
|
373
350
|
};
|
|
374
351
|
const productToInputCascade = (entity) => {
|
|
@@ -378,11 +355,12 @@ const productToInputCascade = (entity) => {
|
|
|
378
355
|
...rest,
|
|
379
356
|
category: entity.category ? processHasOneClear({ sync: productCategoryToInput(entity.category) }) : void 0,
|
|
380
357
|
medias: entity.medias ? processHasManyClear({ sync: (_a = entity.medias) == null ? void 0 : _a.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
381
|
-
slug: entity.slug ? processHasOneClear({ sync: slugToInput(entity.slug) }) : void 0,
|
|
382
358
|
tags: entity.tags ? processHasManyClear({ sync: (_b = entity.tags) == null ? void 0 : _b.map((ent) => tagToInput(ent)) }) : void 0,
|
|
383
359
|
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInput(entity.ogImage) }) : void 0,
|
|
384
360
|
attachments: entity.attachments ? processHasManyClear({ sync: (_c = entity.attachments) == null ? void 0 : _c.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
385
|
-
|
|
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
|
|
386
364
|
};
|
|
387
365
|
};
|
|
388
366
|
const productToInput = (entity) => {
|
|
@@ -391,32 +369,35 @@ const productToInput = (entity) => {
|
|
|
391
369
|
...rest,
|
|
392
370
|
category: convertHasOneToInput(entity.category),
|
|
393
371
|
medias: convertHasManyToInput(entity.medias),
|
|
394
|
-
slug: convertHasOneToInput(entity.slug),
|
|
395
372
|
tags: convertHasManyToInput(entity.tags),
|
|
396
373
|
ogImage: convertHasOneToInput(entity.ogImage),
|
|
397
374
|
attachments: convertHasManyToInput(entity.attachments),
|
|
398
|
-
|
|
375
|
+
draftOf: convertHasOneToInput(entity.draftOf),
|
|
376
|
+
creator: convertHasOneToInput(entity.creator),
|
|
377
|
+
draft: convertHasOneToInput(entity.draft)
|
|
399
378
|
};
|
|
400
379
|
};
|
|
401
380
|
const mediaToInputCascade = (entity) => {
|
|
402
|
-
var _a, _b;
|
|
403
|
-
const { file, usedByProductsAggregate, attachmentOfAggregate, ...rest } = entity;
|
|
381
|
+
var _a, _b, _c;
|
|
382
|
+
const { file, usedByProductsAggregate, attachmentOfAggregate, meidaOfProductAggregate, ...rest } = entity;
|
|
404
383
|
return {
|
|
405
384
|
...rest,
|
|
406
385
|
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInput(entity.folder) }) : void 0,
|
|
407
386
|
avatarOfUser: entity.avatarOfUser ? processHasOneClear({ sync: userToInput(entity.avatarOfUser) }) : void 0,
|
|
408
387
|
usedByProducts: entity.usedByProducts ? processHasManyClear({ sync: (_a = entity.usedByProducts) == null ? void 0 : _a.map((ent) => productToInput(ent)) }) : void 0,
|
|
409
|
-
attachmentOf: entity.attachmentOf ? processHasManyClear({ sync: (_b = entity.attachmentOf) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0
|
|
388
|
+
attachmentOf: entity.attachmentOf ? processHasManyClear({ sync: (_b = entity.attachmentOf) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
389
|
+
meidaOfProduct: entity.meidaOfProduct ? processHasManyClear({ sync: (_c = entity.meidaOfProduct) == null ? void 0 : _c.map((ent) => productCategoryToInput(ent)) }) : void 0
|
|
410
390
|
};
|
|
411
391
|
};
|
|
412
392
|
const mediaToInput = (entity) => {
|
|
413
|
-
const { file, usedByProductsAggregate, attachmentOfAggregate, ...rest } = entity;
|
|
393
|
+
const { file, usedByProductsAggregate, attachmentOfAggregate, meidaOfProductAggregate, ...rest } = entity;
|
|
414
394
|
return {
|
|
415
395
|
...rest,
|
|
416
396
|
folder: convertHasOneToInput(entity.folder),
|
|
417
397
|
avatarOfUser: convertHasOneToInput(entity.avatarOfUser),
|
|
418
398
|
usedByProducts: convertHasManyToInput(entity.usedByProducts),
|
|
419
|
-
attachmentOf: convertHasManyToInput(entity.attachmentOf)
|
|
399
|
+
attachmentOf: convertHasManyToInput(entity.attachmentOf),
|
|
400
|
+
meidaOfProduct: convertHasManyToInput(entity.meidaOfProduct)
|
|
420
401
|
};
|
|
421
402
|
};
|
|
422
403
|
const websiteTypeToInputCascade = (entity) => {
|
|
@@ -482,6 +463,18 @@ const themeToInput = (entity) => {
|
|
|
482
463
|
themlateCategories: convertHasManyToInput(entity.themlateCategories)
|
|
483
464
|
};
|
|
484
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)
|
|
476
|
+
};
|
|
477
|
+
};
|
|
485
478
|
const websiteToInputCascade = (entity) => {
|
|
486
479
|
var _a;
|
|
487
480
|
const { usersAggregate, ...rest } = entity;
|
|
@@ -648,6 +641,8 @@ var LangDistinctEnum = /* @__PURE__ */ ((LangDistinctEnum2) => {
|
|
|
648
641
|
LangDistinctEnum2["icon"] = "icon";
|
|
649
642
|
LangDistinctEnum2["remark"] = "remark";
|
|
650
643
|
LangDistinctEnum2["websiteId"] = "websiteId";
|
|
644
|
+
LangDistinctEnum2["slug"] = "slug";
|
|
645
|
+
LangDistinctEnum2["description"] = "description";
|
|
651
646
|
LangDistinctEnum2["createdAt"] = "createdAt";
|
|
652
647
|
LangDistinctEnum2["updatedAt"] = "updatedAt";
|
|
653
648
|
return LangDistinctEnum2;
|
|
@@ -677,6 +672,8 @@ var PageDistinctEnum = /* @__PURE__ */ ((PageDistinctEnum2) => {
|
|
|
677
672
|
PageDistinctEnum2["langAbbr"] = "langAbbr";
|
|
678
673
|
PageDistinctEnum2["extends"] = "extends";
|
|
679
674
|
PageDistinctEnum2["websiteId"] = "websiteId";
|
|
675
|
+
PageDistinctEnum2["slug"] = "slug";
|
|
676
|
+
PageDistinctEnum2["description"] = "description";
|
|
680
677
|
PageDistinctEnum2["createdAt"] = "createdAt";
|
|
681
678
|
PageDistinctEnum2["updatedAt"] = "updatedAt";
|
|
682
679
|
PageDistinctEnum2["seoTitle"] = "seoTitle";
|
|
@@ -702,14 +699,14 @@ var PostDistinctEnum = /* @__PURE__ */ ((PostDistinctEnum2) => {
|
|
|
702
699
|
PostDistinctEnum2["seqValue"] = "seqValue";
|
|
703
700
|
PostDistinctEnum2["pinToTop"] = "pinToTop";
|
|
704
701
|
PostDistinctEnum2["authorEmail"] = "authorEmail";
|
|
705
|
-
PostDistinctEnum2["summary"] = "summary";
|
|
706
|
-
PostDistinctEnum2["publishedContent"] = "publishedContent";
|
|
707
702
|
PostDistinctEnum2["publishedAt"] = "publishedAt";
|
|
708
703
|
PostDistinctEnum2["status"] = "status";
|
|
709
704
|
PostDistinctEnum2["title"] = "title";
|
|
710
705
|
PostDistinctEnum2["content"] = "content";
|
|
711
706
|
PostDistinctEnum2["extends"] = "extends";
|
|
712
707
|
PostDistinctEnum2["websiteId"] = "websiteId";
|
|
708
|
+
PostDistinctEnum2["slug"] = "slug";
|
|
709
|
+
PostDistinctEnum2["description"] = "description";
|
|
713
710
|
PostDistinctEnum2["createdAt"] = "createdAt";
|
|
714
711
|
PostDistinctEnum2["updatedAt"] = "updatedAt";
|
|
715
712
|
PostDistinctEnum2["remark"] = "remark";
|
|
@@ -734,20 +731,22 @@ const ProductEntityLabel = "";
|
|
|
734
731
|
var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
735
732
|
ProductDistinctEnum2["id"] = "id";
|
|
736
733
|
ProductDistinctEnum2["published"] = "published";
|
|
737
|
-
ProductDistinctEnum2["summary"] = "summary";
|
|
738
734
|
ProductDistinctEnum2["featured"] = "featured";
|
|
739
735
|
ProductDistinctEnum2["showInNavMenu"] = "showInNavMenu";
|
|
740
736
|
ProductDistinctEnum2["seqValue"] = "seqValue";
|
|
741
737
|
ProductDistinctEnum2["features"] = "features";
|
|
742
738
|
ProductDistinctEnum2["content2"] = "content2";
|
|
743
739
|
ProductDistinctEnum2["content3"] = "content3";
|
|
744
|
-
ProductDistinctEnum2["
|
|
740
|
+
ProductDistinctEnum2["shortTitle"] = "shortTitle";
|
|
741
|
+
ProductDistinctEnum2["externalVideoUrl"] = "externalVideoUrl";
|
|
745
742
|
ProductDistinctEnum2["publishedAt"] = "publishedAt";
|
|
746
743
|
ProductDistinctEnum2["status"] = "status";
|
|
747
744
|
ProductDistinctEnum2["title"] = "title";
|
|
748
745
|
ProductDistinctEnum2["content"] = "content";
|
|
749
746
|
ProductDistinctEnum2["extends"] = "extends";
|
|
750
747
|
ProductDistinctEnum2["websiteId"] = "websiteId";
|
|
748
|
+
ProductDistinctEnum2["slug"] = "slug";
|
|
749
|
+
ProductDistinctEnum2["description"] = "description";
|
|
751
750
|
ProductDistinctEnum2["createdAt"] = "createdAt";
|
|
752
751
|
ProductDistinctEnum2["updatedAt"] = "updatedAt";
|
|
753
752
|
ProductDistinctEnum2["remark"] = "remark";
|
|
@@ -767,17 +766,6 @@ var ProductDistinctEnum = /* @__PURE__ */ ((ProductDistinctEnum2) => {
|
|
|
767
766
|
ProductDistinctEnum2["lang"] = "lang";
|
|
768
767
|
return ProductDistinctEnum2;
|
|
769
768
|
})(ProductDistinctEnum || {});
|
|
770
|
-
const SlugEntityName = "Slug";
|
|
771
|
-
const SlugEntityLabel = "";
|
|
772
|
-
var SlugDistinctEnum = /* @__PURE__ */ ((SlugDistinctEnum2) => {
|
|
773
|
-
SlugDistinctEnum2["id"] = "id";
|
|
774
|
-
SlugDistinctEnum2["uniqueName"] = "uniqueName";
|
|
775
|
-
SlugDistinctEnum2["websiteId"] = "websiteId";
|
|
776
|
-
SlugDistinctEnum2["createdAt"] = "createdAt";
|
|
777
|
-
SlugDistinctEnum2["updatedAt"] = "updatedAt";
|
|
778
|
-
SlugDistinctEnum2["remark"] = "remark";
|
|
779
|
-
return SlugDistinctEnum2;
|
|
780
|
-
})(SlugDistinctEnum || {});
|
|
781
769
|
const EnquiryEntityName = "Enquiry";
|
|
782
770
|
const EnquiryEntityLabel = "";
|
|
783
771
|
const customerToInputCascade = (entity) => {
|
|
@@ -819,7 +807,10 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
|
819
807
|
EnquiryDistinctEnum2["userAgent"] = "userAgent";
|
|
820
808
|
EnquiryDistinctEnum2["fromCta"] = "fromCta";
|
|
821
809
|
EnquiryDistinctEnum2["read"] = "read";
|
|
810
|
+
EnquiryDistinctEnum2["spam"] = "spam";
|
|
822
811
|
EnquiryDistinctEnum2["websiteId"] = "websiteId";
|
|
812
|
+
EnquiryDistinctEnum2["slug"] = "slug";
|
|
813
|
+
EnquiryDistinctEnum2["description"] = "description";
|
|
823
814
|
EnquiryDistinctEnum2["createdAt"] = "createdAt";
|
|
824
815
|
EnquiryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
825
816
|
EnquiryDistinctEnum2["remark"] = "remark";
|
|
@@ -864,7 +855,16 @@ var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2
|
|
|
864
855
|
WebsiteSettingsDistinctEnum2["wechat"] = "wechat";
|
|
865
856
|
WebsiteSettingsDistinctEnum2["whatsapp"] = "whatsapp";
|
|
866
857
|
WebsiteSettingsDistinctEnum2["mobile"] = "mobile";
|
|
858
|
+
WebsiteSettingsDistinctEnum2["robots"] = "robots";
|
|
859
|
+
WebsiteSettingsDistinctEnum2["websiteName"] = "websiteName";
|
|
860
|
+
WebsiteSettingsDistinctEnum2["domain"] = "domain";
|
|
861
|
+
WebsiteSettingsDistinctEnum2["openRobots"] = "openRobots";
|
|
862
|
+
WebsiteSettingsDistinctEnum2["map301"] = "map301";
|
|
863
|
+
WebsiteSettingsDistinctEnum2["headerCode"] = "headerCode";
|
|
864
|
+
WebsiteSettingsDistinctEnum2["footerCode"] = "footerCode";
|
|
867
865
|
WebsiteSettingsDistinctEnum2["websiteId"] = "websiteId";
|
|
866
|
+
WebsiteSettingsDistinctEnum2["slug"] = "slug";
|
|
867
|
+
WebsiteSettingsDistinctEnum2["description"] = "description";
|
|
868
868
|
WebsiteSettingsDistinctEnum2["createdAt"] = "createdAt";
|
|
869
869
|
WebsiteSettingsDistinctEnum2["updatedAt"] = "updatedAt";
|
|
870
870
|
WebsiteSettingsDistinctEnum2["remark"] = "remark";
|
|
@@ -879,6 +879,8 @@ var TemplateDistinctEnum = /* @__PURE__ */ ((TemplateDistinctEnum2) => {
|
|
|
879
879
|
TemplateDistinctEnum2["content"] = "content";
|
|
880
880
|
TemplateDistinctEnum2["templateType"] = "templateType";
|
|
881
881
|
TemplateDistinctEnum2["websiteId"] = "websiteId";
|
|
882
|
+
TemplateDistinctEnum2["slug"] = "slug";
|
|
883
|
+
TemplateDistinctEnum2["description"] = "description";
|
|
882
884
|
TemplateDistinctEnum2["createdAt"] = "createdAt";
|
|
883
885
|
TemplateDistinctEnum2["updatedAt"] = "updatedAt";
|
|
884
886
|
TemplateDistinctEnum2["remark"] = "remark";
|
|
@@ -891,6 +893,8 @@ var TemplateCategoryDistinctEnum = /* @__PURE__ */ ((TemplateCategoryDistinctEnu
|
|
|
891
893
|
TemplateCategoryDistinctEnum2["name"] = "name";
|
|
892
894
|
TemplateCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
893
895
|
TemplateCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
896
|
+
TemplateCategoryDistinctEnum2["slug"] = "slug";
|
|
897
|
+
TemplateCategoryDistinctEnum2["description"] = "description";
|
|
894
898
|
TemplateCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
895
899
|
TemplateCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
896
900
|
TemplateCategoryDistinctEnum2["remark"] = "remark";
|
|
@@ -904,6 +908,8 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
904
908
|
ThemeDistinctEnum2["styles"] = "styles";
|
|
905
909
|
ThemeDistinctEnum2["settings"] = "settings";
|
|
906
910
|
ThemeDistinctEnum2["websiteId"] = "websiteId";
|
|
911
|
+
ThemeDistinctEnum2["slug"] = "slug";
|
|
912
|
+
ThemeDistinctEnum2["description"] = "description";
|
|
907
913
|
ThemeDistinctEnum2["createdAt"] = "createdAt";
|
|
908
914
|
ThemeDistinctEnum2["updatedAt"] = "updatedAt";
|
|
909
915
|
ThemeDistinctEnum2["remark"] = "remark";
|
|
@@ -916,16 +922,55 @@ var MediaFolderDistinctEnum = /* @__PURE__ */ ((MediaFolderDistinctEnum2) => {
|
|
|
916
922
|
MediaFolderDistinctEnum2["name"] = "name";
|
|
917
923
|
MediaFolderDistinctEnum2["seqValue"] = "seqValue";
|
|
918
924
|
MediaFolderDistinctEnum2["websiteId"] = "websiteId";
|
|
925
|
+
MediaFolderDistinctEnum2["slug"] = "slug";
|
|
926
|
+
MediaFolderDistinctEnum2["description"] = "description";
|
|
919
927
|
MediaFolderDistinctEnum2["createdAt"] = "createdAt";
|
|
920
928
|
MediaFolderDistinctEnum2["updatedAt"] = "updatedAt";
|
|
921
929
|
MediaFolderDistinctEnum2["remark"] = "remark";
|
|
922
930
|
return MediaFolderDistinctEnum2;
|
|
923
931
|
})(MediaFolderDistinctEnum || {});
|
|
932
|
+
var WebsitePartDistinctEnum = /* @__PURE__ */ ((WebsitePartDistinctEnum2) => {
|
|
933
|
+
WebsitePartDistinctEnum2["id"] = "id";
|
|
934
|
+
WebsitePartDistinctEnum2["websiteId"] = "websiteId";
|
|
935
|
+
WebsitePartDistinctEnum2["slug"] = "slug";
|
|
936
|
+
WebsitePartDistinctEnum2["description"] = "description";
|
|
937
|
+
WebsitePartDistinctEnum2["createdAt"] = "createdAt";
|
|
938
|
+
WebsitePartDistinctEnum2["updatedAt"] = "updatedAt";
|
|
939
|
+
WebsitePartDistinctEnum2["remark"] = "remark";
|
|
940
|
+
return WebsitePartDistinctEnum2;
|
|
941
|
+
})(WebsitePartDistinctEnum || {});
|
|
924
942
|
var WebsiteTypeStatus = /* @__PURE__ */ ((WebsiteTypeStatus2) => {
|
|
925
943
|
WebsiteTypeStatus2["normal"] = "normal";
|
|
926
944
|
WebsiteTypeStatus2["expried"] = "expried";
|
|
927
945
|
return WebsiteTypeStatus2;
|
|
928
946
|
})(WebsiteTypeStatus || {});
|
|
947
|
+
var WebsiteContentDistinctEnum = /* @__PURE__ */ ((WebsiteContentDistinctEnum2) => {
|
|
948
|
+
WebsiteContentDistinctEnum2["id"] = "id";
|
|
949
|
+
WebsiteContentDistinctEnum2["title"] = "title";
|
|
950
|
+
WebsiteContentDistinctEnum2["content"] = "content";
|
|
951
|
+
WebsiteContentDistinctEnum2["extends"] = "extends";
|
|
952
|
+
WebsiteContentDistinctEnum2["websiteId"] = "websiteId";
|
|
953
|
+
WebsiteContentDistinctEnum2["slug"] = "slug";
|
|
954
|
+
WebsiteContentDistinctEnum2["description"] = "description";
|
|
955
|
+
WebsiteContentDistinctEnum2["createdAt"] = "createdAt";
|
|
956
|
+
WebsiteContentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
957
|
+
WebsiteContentDistinctEnum2["remark"] = "remark";
|
|
958
|
+
WebsiteContentDistinctEnum2["seoTitle"] = "seoTitle";
|
|
959
|
+
WebsiteContentDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
960
|
+
WebsiteContentDistinctEnum2["seoDescription"] = "seoDescription";
|
|
961
|
+
WebsiteContentDistinctEnum2["ogTitle"] = "ogTitle";
|
|
962
|
+
WebsiteContentDistinctEnum2["ogDescription"] = "ogDescription";
|
|
963
|
+
WebsiteContentDistinctEnum2["ogUrl"] = "ogUrl";
|
|
964
|
+
WebsiteContentDistinctEnum2["ogSiteName"] = "ogSiteName";
|
|
965
|
+
WebsiteContentDistinctEnum2["ogType"] = "ogType";
|
|
966
|
+
WebsiteContentDistinctEnum2["xCard"] = "xCard";
|
|
967
|
+
WebsiteContentDistinctEnum2["xSite"] = "xSite";
|
|
968
|
+
WebsiteContentDistinctEnum2["xTitle"] = "xTitle";
|
|
969
|
+
WebsiteContentDistinctEnum2["xDescription"] = "xDescription";
|
|
970
|
+
WebsiteContentDistinctEnum2["xUrl"] = "xUrl";
|
|
971
|
+
WebsiteContentDistinctEnum2["lang"] = "lang";
|
|
972
|
+
return WebsiteContentDistinctEnum2;
|
|
973
|
+
})(WebsiteContentDistinctEnum || {});
|
|
929
974
|
const PostCategoryEntityName = "PostCategory";
|
|
930
975
|
const PostCategoryEntityLabel = "文章分类";
|
|
931
976
|
var PostCategoryDistinctEnum = /* @__PURE__ */ ((PostCategoryDistinctEnum2) => {
|
|
@@ -933,6 +978,8 @@ var PostCategoryDistinctEnum = /* @__PURE__ */ ((PostCategoryDistinctEnum2) => {
|
|
|
933
978
|
PostCategoryDistinctEnum2["name"] = "name";
|
|
934
979
|
PostCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
935
980
|
PostCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
981
|
+
PostCategoryDistinctEnum2["slug"] = "slug";
|
|
982
|
+
PostCategoryDistinctEnum2["description"] = "description";
|
|
936
983
|
PostCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
937
984
|
PostCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
938
985
|
PostCategoryDistinctEnum2["remark"] = "remark";
|
|
@@ -945,22 +992,92 @@ var TagDistinctEnum = /* @__PURE__ */ ((TagDistinctEnum2) => {
|
|
|
945
992
|
TagDistinctEnum2["name"] = "name";
|
|
946
993
|
TagDistinctEnum2["color"] = "color";
|
|
947
994
|
TagDistinctEnum2["websiteId"] = "websiteId";
|
|
995
|
+
TagDistinctEnum2["slug"] = "slug";
|
|
996
|
+
TagDistinctEnum2["description"] = "description";
|
|
948
997
|
TagDistinctEnum2["createdAt"] = "createdAt";
|
|
949
998
|
TagDistinctEnum2["updatedAt"] = "updatedAt";
|
|
950
999
|
TagDistinctEnum2["remark"] = "remark";
|
|
951
1000
|
return TagDistinctEnum2;
|
|
952
1001
|
})(TagDistinctEnum || {});
|
|
1002
|
+
var SeoMetaDistinctEnum = /* @__PURE__ */ ((SeoMetaDistinctEnum2) => {
|
|
1003
|
+
SeoMetaDistinctEnum2["id"] = "id";
|
|
1004
|
+
SeoMetaDistinctEnum2["seoTitle"] = "seoTitle";
|
|
1005
|
+
SeoMetaDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
1006
|
+
SeoMetaDistinctEnum2["seoDescription"] = "seoDescription";
|
|
1007
|
+
return SeoMetaDistinctEnum2;
|
|
1008
|
+
})(SeoMetaDistinctEnum || {});
|
|
1009
|
+
var OgMetaDistinctEnum = /* @__PURE__ */ ((OgMetaDistinctEnum2) => {
|
|
1010
|
+
OgMetaDistinctEnum2["id"] = "id";
|
|
1011
|
+
OgMetaDistinctEnum2["ogTitle"] = "ogTitle";
|
|
1012
|
+
OgMetaDistinctEnum2["ogDescription"] = "ogDescription";
|
|
1013
|
+
OgMetaDistinctEnum2["ogUrl"] = "ogUrl";
|
|
1014
|
+
OgMetaDistinctEnum2["ogSiteName"] = "ogSiteName";
|
|
1015
|
+
OgMetaDistinctEnum2["ogType"] = "ogType";
|
|
1016
|
+
OgMetaDistinctEnum2["xCard"] = "xCard";
|
|
1017
|
+
OgMetaDistinctEnum2["xSite"] = "xSite";
|
|
1018
|
+
OgMetaDistinctEnum2["xTitle"] = "xTitle";
|
|
1019
|
+
OgMetaDistinctEnum2["xDescription"] = "xDescription";
|
|
1020
|
+
OgMetaDistinctEnum2["xUrl"] = "xUrl";
|
|
1021
|
+
return OgMetaDistinctEnum2;
|
|
1022
|
+
})(OgMetaDistinctEnum || {});
|
|
1023
|
+
var PublishableDistinctEnum = /* @__PURE__ */ ((PublishableDistinctEnum2) => {
|
|
1024
|
+
PublishableDistinctEnum2["id"] = "id";
|
|
1025
|
+
PublishableDistinctEnum2["publishedAt"] = "publishedAt";
|
|
1026
|
+
PublishableDistinctEnum2["status"] = "status";
|
|
1027
|
+
PublishableDistinctEnum2["title"] = "title";
|
|
1028
|
+
PublishableDistinctEnum2["content"] = "content";
|
|
1029
|
+
PublishableDistinctEnum2["extends"] = "extends";
|
|
1030
|
+
PublishableDistinctEnum2["websiteId"] = "websiteId";
|
|
1031
|
+
PublishableDistinctEnum2["slug"] = "slug";
|
|
1032
|
+
PublishableDistinctEnum2["description"] = "description";
|
|
1033
|
+
PublishableDistinctEnum2["createdAt"] = "createdAt";
|
|
1034
|
+
PublishableDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1035
|
+
PublishableDistinctEnum2["remark"] = "remark";
|
|
1036
|
+
PublishableDistinctEnum2["seoTitle"] = "seoTitle";
|
|
1037
|
+
PublishableDistinctEnum2["seoKeywords"] = "seoKeywords";
|
|
1038
|
+
PublishableDistinctEnum2["seoDescription"] = "seoDescription";
|
|
1039
|
+
PublishableDistinctEnum2["ogTitle"] = "ogTitle";
|
|
1040
|
+
PublishableDistinctEnum2["ogDescription"] = "ogDescription";
|
|
1041
|
+
PublishableDistinctEnum2["ogUrl"] = "ogUrl";
|
|
1042
|
+
PublishableDistinctEnum2["ogSiteName"] = "ogSiteName";
|
|
1043
|
+
PublishableDistinctEnum2["ogType"] = "ogType";
|
|
1044
|
+
PublishableDistinctEnum2["xCard"] = "xCard";
|
|
1045
|
+
PublishableDistinctEnum2["xSite"] = "xSite";
|
|
1046
|
+
PublishableDistinctEnum2["xTitle"] = "xTitle";
|
|
1047
|
+
PublishableDistinctEnum2["xDescription"] = "xDescription";
|
|
1048
|
+
PublishableDistinctEnum2["xUrl"] = "xUrl";
|
|
1049
|
+
PublishableDistinctEnum2["lang"] = "lang";
|
|
1050
|
+
return PublishableDistinctEnum2;
|
|
1051
|
+
})(PublishableDistinctEnum || {});
|
|
953
1052
|
var PublishableStatus = /* @__PURE__ */ ((PublishableStatus2) => {
|
|
954
1053
|
PublishableStatus2["draft"] = "draft";
|
|
955
1054
|
PublishableStatus2["published"] = "published";
|
|
956
1055
|
PublishableStatus2["cancelled"] = "cancelled";
|
|
957
1056
|
return PublishableStatus2;
|
|
958
1057
|
})(PublishableStatus || {});
|
|
1058
|
+
var PersonDistinctEnum = /* @__PURE__ */ ((PersonDistinctEnum2) => {
|
|
1059
|
+
PersonDistinctEnum2["id"] = "id";
|
|
1060
|
+
PersonDistinctEnum2["email"] = "email";
|
|
1061
|
+
PersonDistinctEnum2["tel"] = "tel";
|
|
1062
|
+
PersonDistinctEnum2["tel2"] = "tel2";
|
|
1063
|
+
PersonDistinctEnum2["name"] = "name";
|
|
1064
|
+
PersonDistinctEnum2["mobile"] = "mobile";
|
|
1065
|
+
PersonDistinctEnum2["whatsApp"] = "whatsApp";
|
|
1066
|
+
PersonDistinctEnum2["linkedIn"] = "linkedIn";
|
|
1067
|
+
PersonDistinctEnum2["twitter"] = "twitter";
|
|
1068
|
+
PersonDistinctEnum2["facebook"] = "facebook";
|
|
1069
|
+
PersonDistinctEnum2["instagram"] = "instagram";
|
|
1070
|
+
PersonDistinctEnum2["summary"] = "summary";
|
|
1071
|
+
return PersonDistinctEnum2;
|
|
1072
|
+
})(PersonDistinctEnum || {});
|
|
959
1073
|
const CustomerEntityName = "Customer";
|
|
960
1074
|
const CustomerEntityLabel = "";
|
|
961
1075
|
var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
962
1076
|
CustomerDistinctEnum2["id"] = "id";
|
|
1077
|
+
CustomerDistinctEnum2["company"] = "company";
|
|
963
1078
|
CustomerDistinctEnum2["websiteId"] = "websiteId";
|
|
1079
|
+
CustomerDistinctEnum2["slug"] = "slug";
|
|
1080
|
+
CustomerDistinctEnum2["description"] = "description";
|
|
964
1081
|
CustomerDistinctEnum2["createdAt"] = "createdAt";
|
|
965
1082
|
CustomerDistinctEnum2["updatedAt"] = "updatedAt";
|
|
966
1083
|
CustomerDistinctEnum2["remark"] = "remark";
|
|
@@ -977,6 +1094,41 @@ var CustomerDistinctEnum = /* @__PURE__ */ ((CustomerDistinctEnum2) => {
|
|
|
977
1094
|
CustomerDistinctEnum2["summary"] = "summary";
|
|
978
1095
|
return CustomerDistinctEnum2;
|
|
979
1096
|
})(CustomerDistinctEnum || {});
|
|
1097
|
+
var BaseEntityDistinctEnum = /* @__PURE__ */ ((BaseEntityDistinctEnum2) => {
|
|
1098
|
+
BaseEntityDistinctEnum2["id"] = "id";
|
|
1099
|
+
BaseEntityDistinctEnum2["createdAt"] = "createdAt";
|
|
1100
|
+
BaseEntityDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1101
|
+
BaseEntityDistinctEnum2["remark"] = "remark";
|
|
1102
|
+
return BaseEntityDistinctEnum2;
|
|
1103
|
+
})(BaseEntityDistinctEnum || {});
|
|
1104
|
+
var MultiLangableDistinctEnum = /* @__PURE__ */ ((MultiLangableDistinctEnum2) => {
|
|
1105
|
+
MultiLangableDistinctEnum2["id"] = "id";
|
|
1106
|
+
MultiLangableDistinctEnum2["lang"] = "lang";
|
|
1107
|
+
return MultiLangableDistinctEnum2;
|
|
1108
|
+
})(MultiLangableDistinctEnum || {});
|
|
1109
|
+
var WebsiteUserDistinctEnum = /* @__PURE__ */ ((WebsiteUserDistinctEnum2) => {
|
|
1110
|
+
WebsiteUserDistinctEnum2["id"] = "id";
|
|
1111
|
+
WebsiteUserDistinctEnum2["postion"] = "postion";
|
|
1112
|
+
WebsiteUserDistinctEnum2["profile"] = "profile";
|
|
1113
|
+
WebsiteUserDistinctEnum2["userType"] = "userType";
|
|
1114
|
+
WebsiteUserDistinctEnum2["email"] = "email";
|
|
1115
|
+
WebsiteUserDistinctEnum2["tel"] = "tel";
|
|
1116
|
+
WebsiteUserDistinctEnum2["tel2"] = "tel2";
|
|
1117
|
+
WebsiteUserDistinctEnum2["name"] = "name";
|
|
1118
|
+
WebsiteUserDistinctEnum2["mobile"] = "mobile";
|
|
1119
|
+
WebsiteUserDistinctEnum2["whatsApp"] = "whatsApp";
|
|
1120
|
+
WebsiteUserDistinctEnum2["linkedIn"] = "linkedIn";
|
|
1121
|
+
WebsiteUserDistinctEnum2["twitter"] = "twitter";
|
|
1122
|
+
WebsiteUserDistinctEnum2["facebook"] = "facebook";
|
|
1123
|
+
WebsiteUserDistinctEnum2["instagram"] = "instagram";
|
|
1124
|
+
WebsiteUserDistinctEnum2["summary"] = "summary";
|
|
1125
|
+
return WebsiteUserDistinctEnum2;
|
|
1126
|
+
})(WebsiteUserDistinctEnum || {});
|
|
1127
|
+
var CustomizeMediaDistinctEnum = /* @__PURE__ */ ((CustomizeMediaDistinctEnum2) => {
|
|
1128
|
+
CustomizeMediaDistinctEnum2["id"] = "id";
|
|
1129
|
+
CustomizeMediaDistinctEnum2["websiteId"] = "websiteId";
|
|
1130
|
+
return CustomizeMediaDistinctEnum2;
|
|
1131
|
+
})(CustomizeMediaDistinctEnum || {});
|
|
980
1132
|
var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
981
1133
|
UserType2["saasUser"] = "saasUser";
|
|
982
1134
|
UserType2["websiteUser"] = "websiteUser";
|
|
@@ -1001,6 +1153,8 @@ var ProductCategoryDistinctEnum = /* @__PURE__ */ ((ProductCategoryDistinctEnum2
|
|
|
1001
1153
|
ProductCategoryDistinctEnum2["name"] = "name";
|
|
1002
1154
|
ProductCategoryDistinctEnum2["seqValue"] = "seqValue";
|
|
1003
1155
|
ProductCategoryDistinctEnum2["websiteId"] = "websiteId";
|
|
1156
|
+
ProductCategoryDistinctEnum2["slug"] = "slug";
|
|
1157
|
+
ProductCategoryDistinctEnum2["description"] = "description";
|
|
1004
1158
|
ProductCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
1005
1159
|
ProductCategoryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1006
1160
|
ProductCategoryDistinctEnum2["remark"] = "remark";
|
|
@@ -1025,6 +1179,31 @@ var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
|
1025
1179
|
ComponentType2["RichText"] = "RichText";
|
|
1026
1180
|
return ComponentType2;
|
|
1027
1181
|
})(ComponentType || {});
|
|
1182
|
+
const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
1183
|
+
const SpamFilterRuleEntityLabel = "垃圾过滤规则";
|
|
1184
|
+
const spamFilterRuleToInputCascade = (entity) => {
|
|
1185
|
+
return {
|
|
1186
|
+
...entity
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
const spamFilterRuleToInput = (entity) => {
|
|
1190
|
+
return {
|
|
1191
|
+
...entity
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
var SpamFilterRuleDistinctEnum = /* @__PURE__ */ ((SpamFilterRuleDistinctEnum2) => {
|
|
1195
|
+
SpamFilterRuleDistinctEnum2["id"] = "id";
|
|
1196
|
+
SpamFilterRuleDistinctEnum2["emails"] = "emails";
|
|
1197
|
+
SpamFilterRuleDistinctEnum2["ips"] = "ips";
|
|
1198
|
+
SpamFilterRuleDistinctEnum2["keywords"] = "keywords";
|
|
1199
|
+
SpamFilterRuleDistinctEnum2["createdAt"] = "createdAt";
|
|
1200
|
+
SpamFilterRuleDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1201
|
+
SpamFilterRuleDistinctEnum2["websiteId"] = "websiteId";
|
|
1202
|
+
SpamFilterRuleDistinctEnum2["slug"] = "slug";
|
|
1203
|
+
SpamFilterRuleDistinctEnum2["description"] = "description";
|
|
1204
|
+
SpamFilterRuleDistinctEnum2["remark"] = "remark";
|
|
1205
|
+
return SpamFilterRuleDistinctEnum2;
|
|
1206
|
+
})(SpamFilterRuleDistinctEnum || {});
|
|
1028
1207
|
class RoleQueryOptions extends QueryOptions {
|
|
1029
1208
|
constructor(fields, queryArgs) {
|
|
1030
1209
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1082,6 +1261,14 @@ class MediaFolderQueryOptions extends QueryOptions {
|
|
|
1082
1261
|
this.addField("websiteId");
|
|
1083
1262
|
return this;
|
|
1084
1263
|
}
|
|
1264
|
+
slug() {
|
|
1265
|
+
this.addField("slug");
|
|
1266
|
+
return this;
|
|
1267
|
+
}
|
|
1268
|
+
description() {
|
|
1269
|
+
this.addField("description");
|
|
1270
|
+
return this;
|
|
1271
|
+
}
|
|
1085
1272
|
/**
|
|
1086
1273
|
* 创建时间
|
|
1087
1274
|
*/
|
|
@@ -1156,6 +1343,14 @@ class ProductCategoryQueryOptions extends QueryOptions {
|
|
|
1156
1343
|
this.addField("websiteId");
|
|
1157
1344
|
return this;
|
|
1158
1345
|
}
|
|
1346
|
+
slug() {
|
|
1347
|
+
this.addField("slug");
|
|
1348
|
+
return this;
|
|
1349
|
+
}
|
|
1350
|
+
description() {
|
|
1351
|
+
this.addField("description");
|
|
1352
|
+
return this;
|
|
1353
|
+
}
|
|
1159
1354
|
/**
|
|
1160
1355
|
* 创建时间
|
|
1161
1356
|
*/
|
|
@@ -1189,83 +1384,22 @@ class ProductCategoryQueryOptions extends QueryOptions {
|
|
|
1189
1384
|
this._aggregates["childrenAggregate"] = aggregate;
|
|
1190
1385
|
return this;
|
|
1191
1386
|
}
|
|
1192
|
-
|
|
1193
|
-
if (Array.isArray(options)) {
|
|
1194
|
-
this._associations["parent"] = new ProductCategoryQueryOptions(options);
|
|
1195
|
-
} else {
|
|
1196
|
-
this._associations["parent"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1197
|
-
}
|
|
1198
|
-
return this;
|
|
1199
|
-
}
|
|
1200
|
-
products(options) {
|
|
1387
|
+
media(options) {
|
|
1201
1388
|
if (Array.isArray(options)) {
|
|
1202
|
-
this._associations["
|
|
1389
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
1203
1390
|
} else {
|
|
1204
|
-
this._associations["
|
|
1391
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
1205
1392
|
}
|
|
1206
1393
|
return this;
|
|
1207
1394
|
}
|
|
1208
|
-
|
|
1209
|
-
this._aggregates["productsAggregate"] = aggregate;
|
|
1210
|
-
return this;
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
class TagQueryOptions extends QueryOptions {
|
|
1214
|
-
constructor(fields, queryArgs) {
|
|
1215
|
-
super(TagEntityName, fields, queryArgs);
|
|
1216
|
-
}
|
|
1217
|
-
id() {
|
|
1218
|
-
this.addField("id");
|
|
1219
|
-
return this;
|
|
1220
|
-
}
|
|
1221
|
-
/**
|
|
1222
|
-
* 名称
|
|
1223
|
-
*/
|
|
1224
|
-
name() {
|
|
1225
|
-
this.addField("name");
|
|
1226
|
-
return this;
|
|
1227
|
-
}
|
|
1228
|
-
color() {
|
|
1229
|
-
this.addField("color");
|
|
1230
|
-
return this;
|
|
1231
|
-
}
|
|
1232
|
-
websiteId() {
|
|
1233
|
-
this.addField("websiteId");
|
|
1234
|
-
return this;
|
|
1235
|
-
}
|
|
1236
|
-
/**
|
|
1237
|
-
* 创建时间
|
|
1238
|
-
*/
|
|
1239
|
-
createdAt() {
|
|
1240
|
-
this.addField("createdAt");
|
|
1241
|
-
return this;
|
|
1242
|
-
}
|
|
1243
|
-
/**
|
|
1244
|
-
* 更新时间
|
|
1245
|
-
*/
|
|
1246
|
-
updatedAt() {
|
|
1247
|
-
this.addField("updatedAt");
|
|
1248
|
-
return this;
|
|
1249
|
-
}
|
|
1250
|
-
/**
|
|
1251
|
-
* 备注
|
|
1252
|
-
*/
|
|
1253
|
-
remark() {
|
|
1254
|
-
this.addField("remark");
|
|
1255
|
-
return this;
|
|
1256
|
-
}
|
|
1257
|
-
posts(options) {
|
|
1395
|
+
parent(options) {
|
|
1258
1396
|
if (Array.isArray(options)) {
|
|
1259
|
-
this._associations["
|
|
1397
|
+
this._associations["parent"] = new ProductCategoryQueryOptions(options);
|
|
1260
1398
|
} else {
|
|
1261
|
-
this._associations["
|
|
1399
|
+
this._associations["parent"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
1262
1400
|
}
|
|
1263
1401
|
return this;
|
|
1264
1402
|
}
|
|
1265
|
-
postsAggregate(aggregate) {
|
|
1266
|
-
this._aggregates["postsAggregate"] = aggregate;
|
|
1267
|
-
return this;
|
|
1268
|
-
}
|
|
1269
1403
|
products(options) {
|
|
1270
1404
|
if (Array.isArray(options)) {
|
|
1271
1405
|
this._associations["products"] = new ProductQueryOptions(options);
|
|
@@ -1299,6 +1433,14 @@ class PostCategoryQueryOptions extends QueryOptions {
|
|
|
1299
1433
|
this.addField("websiteId");
|
|
1300
1434
|
return this;
|
|
1301
1435
|
}
|
|
1436
|
+
slug() {
|
|
1437
|
+
this.addField("slug");
|
|
1438
|
+
return this;
|
|
1439
|
+
}
|
|
1440
|
+
description() {
|
|
1441
|
+
this.addField("description");
|
|
1442
|
+
return this;
|
|
1443
|
+
}
|
|
1302
1444
|
/**
|
|
1303
1445
|
* 创建时间
|
|
1304
1446
|
*/
|
|
@@ -1376,17 +1518,6 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1376
1518
|
this.addField("authorEmail");
|
|
1377
1519
|
return this;
|
|
1378
1520
|
}
|
|
1379
|
-
summary() {
|
|
1380
|
-
this.addField("summary");
|
|
1381
|
-
return this;
|
|
1382
|
-
}
|
|
1383
|
-
/**
|
|
1384
|
-
* 发布的内容
|
|
1385
|
-
*/
|
|
1386
|
-
publishedContent() {
|
|
1387
|
-
this.addField("publishedContent");
|
|
1388
|
-
return this;
|
|
1389
|
-
}
|
|
1390
1521
|
publishedAt() {
|
|
1391
1522
|
this.addField("publishedAt");
|
|
1392
1523
|
return this;
|
|
@@ -1411,6 +1542,14 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1411
1542
|
this.addField("websiteId");
|
|
1412
1543
|
return this;
|
|
1413
1544
|
}
|
|
1545
|
+
slug() {
|
|
1546
|
+
this.addField("slug");
|
|
1547
|
+
return this;
|
|
1548
|
+
}
|
|
1549
|
+
description() {
|
|
1550
|
+
this.addField("description");
|
|
1551
|
+
return this;
|
|
1552
|
+
}
|
|
1414
1553
|
/**
|
|
1415
1554
|
* 创建时间
|
|
1416
1555
|
*/
|
|
@@ -1488,14 +1627,6 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1488
1627
|
this.addField("lang");
|
|
1489
1628
|
return this;
|
|
1490
1629
|
}
|
|
1491
|
-
slug(options) {
|
|
1492
|
-
if (Array.isArray(options)) {
|
|
1493
|
-
this._associations["slug"] = new SlugQueryOptions(options);
|
|
1494
|
-
} else {
|
|
1495
|
-
this._associations["slug"] = options || new SlugQueryOptions(["id"]);
|
|
1496
|
-
}
|
|
1497
|
-
return this;
|
|
1498
|
-
}
|
|
1499
1630
|
tags(options) {
|
|
1500
1631
|
if (Array.isArray(options)) {
|
|
1501
1632
|
this._associations["tags"] = new TagQueryOptions(options);
|
|
@@ -1532,6 +1663,14 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1532
1663
|
}
|
|
1533
1664
|
return this;
|
|
1534
1665
|
}
|
|
1666
|
+
draftOf(options) {
|
|
1667
|
+
if (Array.isArray(options)) {
|
|
1668
|
+
this._associations["draftOf"] = new PostQueryOptions(options);
|
|
1669
|
+
} else {
|
|
1670
|
+
this._associations["draftOf"] = options || new PostQueryOptions(["id"]);
|
|
1671
|
+
}
|
|
1672
|
+
return this;
|
|
1673
|
+
}
|
|
1535
1674
|
category(options) {
|
|
1536
1675
|
if (Array.isArray(options)) {
|
|
1537
1676
|
this._associations["category"] = new PostCategoryQueryOptions(options);
|
|
@@ -1540,143 +1679,44 @@ class PostQueryOptions extends QueryOptions {
|
|
|
1540
1679
|
}
|
|
1541
1680
|
return this;
|
|
1542
1681
|
}
|
|
1682
|
+
draft(options) {
|
|
1683
|
+
if (Array.isArray(options)) {
|
|
1684
|
+
this._associations["draft"] = new PostQueryOptions(options);
|
|
1685
|
+
} else {
|
|
1686
|
+
this._associations["draft"] = options || new PostQueryOptions(["id"]);
|
|
1687
|
+
}
|
|
1688
|
+
return this;
|
|
1689
|
+
}
|
|
1543
1690
|
}
|
|
1544
|
-
class
|
|
1691
|
+
class TagQueryOptions extends QueryOptions {
|
|
1545
1692
|
constructor(fields, queryArgs) {
|
|
1546
|
-
super(
|
|
1693
|
+
super(TagEntityName, fields, queryArgs);
|
|
1547
1694
|
}
|
|
1548
1695
|
id() {
|
|
1549
1696
|
this.addField("id");
|
|
1550
1697
|
return this;
|
|
1551
1698
|
}
|
|
1552
|
-
title() {
|
|
1553
|
-
this.addField("title");
|
|
1554
|
-
return this;
|
|
1555
|
-
}
|
|
1556
|
-
content() {
|
|
1557
|
-
this.addField("content");
|
|
1558
|
-
return this;
|
|
1559
|
-
}
|
|
1560
1699
|
/**
|
|
1561
|
-
*
|
|
1700
|
+
* 名称
|
|
1562
1701
|
*/
|
|
1563
|
-
|
|
1564
|
-
this.addField("
|
|
1565
|
-
return this;
|
|
1566
|
-
}
|
|
1567
|
-
langAbbr() {
|
|
1568
|
-
this.addField("langAbbr");
|
|
1702
|
+
name() {
|
|
1703
|
+
this.addField("name");
|
|
1569
1704
|
return this;
|
|
1570
1705
|
}
|
|
1571
|
-
|
|
1572
|
-
this.addField("
|
|
1706
|
+
color() {
|
|
1707
|
+
this.addField("color");
|
|
1573
1708
|
return this;
|
|
1574
1709
|
}
|
|
1575
1710
|
websiteId() {
|
|
1576
1711
|
this.addField("websiteId");
|
|
1577
1712
|
return this;
|
|
1578
1713
|
}
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
*/
|
|
1582
|
-
createdAt() {
|
|
1583
|
-
this.addField("createdAt");
|
|
1714
|
+
slug() {
|
|
1715
|
+
this.addField("slug");
|
|
1584
1716
|
return this;
|
|
1585
1717
|
}
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
*/
|
|
1589
|
-
updatedAt() {
|
|
1590
|
-
this.addField("updatedAt");
|
|
1591
|
-
return this;
|
|
1592
|
-
}
|
|
1593
|
-
seoTitle() {
|
|
1594
|
-
this.addField("seoTitle");
|
|
1595
|
-
return this;
|
|
1596
|
-
}
|
|
1597
|
-
seoKeywords() {
|
|
1598
|
-
this.addField("seoKeywords");
|
|
1599
|
-
return this;
|
|
1600
|
-
}
|
|
1601
|
-
seoDescription() {
|
|
1602
|
-
this.addField("seoDescription");
|
|
1603
|
-
return this;
|
|
1604
|
-
}
|
|
1605
|
-
ogTitle() {
|
|
1606
|
-
this.addField("ogTitle");
|
|
1607
|
-
return this;
|
|
1608
|
-
}
|
|
1609
|
-
ogDescription() {
|
|
1610
|
-
this.addField("ogDescription");
|
|
1611
|
-
return this;
|
|
1612
|
-
}
|
|
1613
|
-
ogUrl() {
|
|
1614
|
-
this.addField("ogUrl");
|
|
1615
|
-
return this;
|
|
1616
|
-
}
|
|
1617
|
-
ogSiteName() {
|
|
1618
|
-
this.addField("ogSiteName");
|
|
1619
|
-
return this;
|
|
1620
|
-
}
|
|
1621
|
-
ogType() {
|
|
1622
|
-
this.addField("ogType");
|
|
1623
|
-
return this;
|
|
1624
|
-
}
|
|
1625
|
-
xCard() {
|
|
1626
|
-
this.addField("xCard");
|
|
1627
|
-
return this;
|
|
1628
|
-
}
|
|
1629
|
-
xSite() {
|
|
1630
|
-
this.addField("xSite");
|
|
1631
|
-
return this;
|
|
1632
|
-
}
|
|
1633
|
-
xTitle() {
|
|
1634
|
-
this.addField("xTitle");
|
|
1635
|
-
return this;
|
|
1636
|
-
}
|
|
1637
|
-
xDescription() {
|
|
1638
|
-
this.addField("xDescription");
|
|
1639
|
-
return this;
|
|
1640
|
-
}
|
|
1641
|
-
xUrl() {
|
|
1642
|
-
this.addField("xUrl");
|
|
1643
|
-
return this;
|
|
1644
|
-
}
|
|
1645
|
-
lang() {
|
|
1646
|
-
this.addField("lang");
|
|
1647
|
-
return this;
|
|
1648
|
-
}
|
|
1649
|
-
slug(options) {
|
|
1650
|
-
if (Array.isArray(options)) {
|
|
1651
|
-
this._associations["slug"] = new SlugQueryOptions(options);
|
|
1652
|
-
} else {
|
|
1653
|
-
this._associations["slug"] = options || new SlugQueryOptions(["id"]);
|
|
1654
|
-
}
|
|
1655
|
-
return this;
|
|
1656
|
-
}
|
|
1657
|
-
ogImage(options) {
|
|
1658
|
-
if (Array.isArray(options)) {
|
|
1659
|
-
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
1660
|
-
} else {
|
|
1661
|
-
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
1662
|
-
}
|
|
1663
|
-
return this;
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
class SlugQueryOptions extends QueryOptions {
|
|
1667
|
-
constructor(fields, queryArgs) {
|
|
1668
|
-
super(SlugEntityName, fields, queryArgs);
|
|
1669
|
-
}
|
|
1670
|
-
id() {
|
|
1671
|
-
this.addField("id");
|
|
1672
|
-
return this;
|
|
1673
|
-
}
|
|
1674
|
-
uniqueName() {
|
|
1675
|
-
this.addField("uniqueName");
|
|
1676
|
-
return this;
|
|
1677
|
-
}
|
|
1678
|
-
websiteId() {
|
|
1679
|
-
this.addField("websiteId");
|
|
1718
|
+
description() {
|
|
1719
|
+
this.addField("description");
|
|
1680
1720
|
return this;
|
|
1681
1721
|
}
|
|
1682
1722
|
/**
|
|
@@ -1700,30 +1740,30 @@ class SlugQueryOptions extends QueryOptions {
|
|
|
1700
1740
|
this.addField("remark");
|
|
1701
1741
|
return this;
|
|
1702
1742
|
}
|
|
1703
|
-
|
|
1743
|
+
posts(options) {
|
|
1704
1744
|
if (Array.isArray(options)) {
|
|
1705
|
-
this._associations["
|
|
1745
|
+
this._associations["posts"] = new PostQueryOptions(options);
|
|
1706
1746
|
} else {
|
|
1707
|
-
this._associations["
|
|
1747
|
+
this._associations["posts"] = options || new PostQueryOptions(["id"]);
|
|
1708
1748
|
}
|
|
1709
1749
|
return this;
|
|
1710
1750
|
}
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
this._associations["product"] = new ProductQueryOptions(options);
|
|
1714
|
-
} else {
|
|
1715
|
-
this._associations["product"] = options || new ProductQueryOptions(["id"]);
|
|
1716
|
-
}
|
|
1751
|
+
postsAggregate(aggregate) {
|
|
1752
|
+
this._aggregates["postsAggregate"] = aggregate;
|
|
1717
1753
|
return this;
|
|
1718
1754
|
}
|
|
1719
|
-
|
|
1755
|
+
products(options) {
|
|
1720
1756
|
if (Array.isArray(options)) {
|
|
1721
|
-
this._associations["
|
|
1757
|
+
this._associations["products"] = new ProductQueryOptions(options);
|
|
1722
1758
|
} else {
|
|
1723
|
-
this._associations["
|
|
1759
|
+
this._associations["products"] = options || new ProductQueryOptions(["id"]);
|
|
1724
1760
|
}
|
|
1725
1761
|
return this;
|
|
1726
1762
|
}
|
|
1763
|
+
productsAggregate(aggregate) {
|
|
1764
|
+
this._aggregates["productsAggregate"] = aggregate;
|
|
1765
|
+
return this;
|
|
1766
|
+
}
|
|
1727
1767
|
}
|
|
1728
1768
|
class ProductQueryOptions extends QueryOptions {
|
|
1729
1769
|
constructor(fields, queryArgs) {
|
|
@@ -1737,10 +1777,6 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1737
1777
|
this.addField("published");
|
|
1738
1778
|
return this;
|
|
1739
1779
|
}
|
|
1740
|
-
summary() {
|
|
1741
|
-
this.addField("summary");
|
|
1742
|
-
return this;
|
|
1743
|
-
}
|
|
1744
1780
|
featured() {
|
|
1745
1781
|
this.addField("featured");
|
|
1746
1782
|
return this;
|
|
@@ -1768,11 +1804,15 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1768
1804
|
this.addField("content3");
|
|
1769
1805
|
return this;
|
|
1770
1806
|
}
|
|
1807
|
+
shortTitle() {
|
|
1808
|
+
this.addField("shortTitle");
|
|
1809
|
+
return this;
|
|
1810
|
+
}
|
|
1771
1811
|
/**
|
|
1772
|
-
*
|
|
1812
|
+
* 第三方视频url
|
|
1773
1813
|
*/
|
|
1774
|
-
|
|
1775
|
-
this.addField("
|
|
1814
|
+
externalVideoUrl() {
|
|
1815
|
+
this.addField("externalVideoUrl");
|
|
1776
1816
|
return this;
|
|
1777
1817
|
}
|
|
1778
1818
|
publishedAt() {
|
|
@@ -1799,6 +1839,14 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1799
1839
|
this.addField("websiteId");
|
|
1800
1840
|
return this;
|
|
1801
1841
|
}
|
|
1842
|
+
slug() {
|
|
1843
|
+
this.addField("slug");
|
|
1844
|
+
return this;
|
|
1845
|
+
}
|
|
1846
|
+
description() {
|
|
1847
|
+
this.addField("description");
|
|
1848
|
+
return this;
|
|
1849
|
+
}
|
|
1802
1850
|
/**
|
|
1803
1851
|
* 创建时间
|
|
1804
1852
|
*/
|
|
@@ -1896,14 +1944,6 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1896
1944
|
this._aggregates["mediasAggregate"] = aggregate;
|
|
1897
1945
|
return this;
|
|
1898
1946
|
}
|
|
1899
|
-
slug(options) {
|
|
1900
|
-
if (Array.isArray(options)) {
|
|
1901
|
-
this._associations["slug"] = new SlugQueryOptions(options);
|
|
1902
|
-
} else {
|
|
1903
|
-
this._associations["slug"] = options || new SlugQueryOptions(["id"]);
|
|
1904
|
-
}
|
|
1905
|
-
return this;
|
|
1906
|
-
}
|
|
1907
1947
|
tags(options) {
|
|
1908
1948
|
if (Array.isArray(options)) {
|
|
1909
1949
|
this._associations["tags"] = new TagQueryOptions(options);
|
|
@@ -1936,6 +1976,14 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1936
1976
|
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
1937
1977
|
return this;
|
|
1938
1978
|
}
|
|
1979
|
+
draftOf(options) {
|
|
1980
|
+
if (Array.isArray(options)) {
|
|
1981
|
+
this._associations["draftOf"] = new ProductQueryOptions(options);
|
|
1982
|
+
} else {
|
|
1983
|
+
this._associations["draftOf"] = options || new ProductQueryOptions(["id"]);
|
|
1984
|
+
}
|
|
1985
|
+
return this;
|
|
1986
|
+
}
|
|
1939
1987
|
creator(options) {
|
|
1940
1988
|
if (Array.isArray(options)) {
|
|
1941
1989
|
this._associations["creator"] = new UserQueryOptions(options);
|
|
@@ -1944,6 +1992,14 @@ class ProductQueryOptions extends QueryOptions {
|
|
|
1944
1992
|
}
|
|
1945
1993
|
return this;
|
|
1946
1994
|
}
|
|
1995
|
+
draft(options) {
|
|
1996
|
+
if (Array.isArray(options)) {
|
|
1997
|
+
this._associations["draft"] = new ProductQueryOptions(options);
|
|
1998
|
+
} else {
|
|
1999
|
+
this._associations["draft"] = options || new ProductQueryOptions(["id"]);
|
|
2000
|
+
}
|
|
2001
|
+
return this;
|
|
2002
|
+
}
|
|
1947
2003
|
}
|
|
1948
2004
|
class MediaQueryOptions extends QueryOptions {
|
|
1949
2005
|
constructor(fields, queryArgs) {
|
|
@@ -2036,6 +2092,18 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
2036
2092
|
this._aggregates["attachmentOfAggregate"] = aggregate;
|
|
2037
2093
|
return this;
|
|
2038
2094
|
}
|
|
2095
|
+
meidaOfProduct(options) {
|
|
2096
|
+
if (Array.isArray(options)) {
|
|
2097
|
+
this._associations["meidaOfProduct"] = new ProductCategoryQueryOptions(options);
|
|
2098
|
+
} else {
|
|
2099
|
+
this._associations["meidaOfProduct"] = options || new ProductCategoryQueryOptions(["id"]);
|
|
2100
|
+
}
|
|
2101
|
+
return this;
|
|
2102
|
+
}
|
|
2103
|
+
meidaOfProductAggregate(aggregate) {
|
|
2104
|
+
this._aggregates["meidaOfProductAggregate"] = aggregate;
|
|
2105
|
+
return this;
|
|
2106
|
+
}
|
|
2039
2107
|
}
|
|
2040
2108
|
class WebsiteTypeQueryOptions extends QueryOptions {
|
|
2041
2109
|
constructor(fields, queryArgs) {
|
|
@@ -2126,6 +2194,14 @@ class TemplateCategoryQueryOptions extends QueryOptions {
|
|
|
2126
2194
|
this.addField("websiteId");
|
|
2127
2195
|
return this;
|
|
2128
2196
|
}
|
|
2197
|
+
slug() {
|
|
2198
|
+
this.addField("slug");
|
|
2199
|
+
return this;
|
|
2200
|
+
}
|
|
2201
|
+
description() {
|
|
2202
|
+
this.addField("description");
|
|
2203
|
+
return this;
|
|
2204
|
+
}
|
|
2129
2205
|
/**
|
|
2130
2206
|
* 创建时间
|
|
2131
2207
|
*/
|
|
@@ -2199,6 +2275,14 @@ class TemplateQueryOptions extends QueryOptions {
|
|
|
2199
2275
|
this.addField("websiteId");
|
|
2200
2276
|
return this;
|
|
2201
2277
|
}
|
|
2278
|
+
slug() {
|
|
2279
|
+
this.addField("slug");
|
|
2280
|
+
return this;
|
|
2281
|
+
}
|
|
2282
|
+
description() {
|
|
2283
|
+
this.addField("description");
|
|
2284
|
+
return this;
|
|
2285
|
+
}
|
|
2202
2286
|
/**
|
|
2203
2287
|
* 创建时间
|
|
2204
2288
|
*/
|
|
@@ -2261,6 +2345,14 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
2261
2345
|
this.addField("websiteId");
|
|
2262
2346
|
return this;
|
|
2263
2347
|
}
|
|
2348
|
+
slug() {
|
|
2349
|
+
this.addField("slug");
|
|
2350
|
+
return this;
|
|
2351
|
+
}
|
|
2352
|
+
description() {
|
|
2353
|
+
this.addField("description");
|
|
2354
|
+
return this;
|
|
2355
|
+
}
|
|
2264
2356
|
/**
|
|
2265
2357
|
* 创建时间
|
|
2266
2358
|
*/
|
|
@@ -2307,6 +2399,128 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
2307
2399
|
return this;
|
|
2308
2400
|
}
|
|
2309
2401
|
}
|
|
2402
|
+
class PageQueryOptions extends QueryOptions {
|
|
2403
|
+
constructor(fields, queryArgs) {
|
|
2404
|
+
super(PageEntityName, fields, queryArgs);
|
|
2405
|
+
}
|
|
2406
|
+
id() {
|
|
2407
|
+
this.addField("id");
|
|
2408
|
+
return this;
|
|
2409
|
+
}
|
|
2410
|
+
title() {
|
|
2411
|
+
this.addField("title");
|
|
2412
|
+
return this;
|
|
2413
|
+
}
|
|
2414
|
+
content() {
|
|
2415
|
+
this.addField("content");
|
|
2416
|
+
return this;
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* 备注
|
|
2420
|
+
*/
|
|
2421
|
+
remark() {
|
|
2422
|
+
this.addField("remark");
|
|
2423
|
+
return this;
|
|
2424
|
+
}
|
|
2425
|
+
langAbbr() {
|
|
2426
|
+
this.addField("langAbbr");
|
|
2427
|
+
return this;
|
|
2428
|
+
}
|
|
2429
|
+
extends() {
|
|
2430
|
+
this.addField("extends");
|
|
2431
|
+
return this;
|
|
2432
|
+
}
|
|
2433
|
+
websiteId() {
|
|
2434
|
+
this.addField("websiteId");
|
|
2435
|
+
return this;
|
|
2436
|
+
}
|
|
2437
|
+
slug() {
|
|
2438
|
+
this.addField("slug");
|
|
2439
|
+
return this;
|
|
2440
|
+
}
|
|
2441
|
+
description() {
|
|
2442
|
+
this.addField("description");
|
|
2443
|
+
return this;
|
|
2444
|
+
}
|
|
2445
|
+
/**
|
|
2446
|
+
* 创建时间
|
|
2447
|
+
*/
|
|
2448
|
+
createdAt() {
|
|
2449
|
+
this.addField("createdAt");
|
|
2450
|
+
return this;
|
|
2451
|
+
}
|
|
2452
|
+
/**
|
|
2453
|
+
* 更新时间
|
|
2454
|
+
*/
|
|
2455
|
+
updatedAt() {
|
|
2456
|
+
this.addField("updatedAt");
|
|
2457
|
+
return this;
|
|
2458
|
+
}
|
|
2459
|
+
seoTitle() {
|
|
2460
|
+
this.addField("seoTitle");
|
|
2461
|
+
return this;
|
|
2462
|
+
}
|
|
2463
|
+
seoKeywords() {
|
|
2464
|
+
this.addField("seoKeywords");
|
|
2465
|
+
return this;
|
|
2466
|
+
}
|
|
2467
|
+
seoDescription() {
|
|
2468
|
+
this.addField("seoDescription");
|
|
2469
|
+
return this;
|
|
2470
|
+
}
|
|
2471
|
+
ogTitle() {
|
|
2472
|
+
this.addField("ogTitle");
|
|
2473
|
+
return this;
|
|
2474
|
+
}
|
|
2475
|
+
ogDescription() {
|
|
2476
|
+
this.addField("ogDescription");
|
|
2477
|
+
return this;
|
|
2478
|
+
}
|
|
2479
|
+
ogUrl() {
|
|
2480
|
+
this.addField("ogUrl");
|
|
2481
|
+
return this;
|
|
2482
|
+
}
|
|
2483
|
+
ogSiteName() {
|
|
2484
|
+
this.addField("ogSiteName");
|
|
2485
|
+
return this;
|
|
2486
|
+
}
|
|
2487
|
+
ogType() {
|
|
2488
|
+
this.addField("ogType");
|
|
2489
|
+
return this;
|
|
2490
|
+
}
|
|
2491
|
+
xCard() {
|
|
2492
|
+
this.addField("xCard");
|
|
2493
|
+
return this;
|
|
2494
|
+
}
|
|
2495
|
+
xSite() {
|
|
2496
|
+
this.addField("xSite");
|
|
2497
|
+
return this;
|
|
2498
|
+
}
|
|
2499
|
+
xTitle() {
|
|
2500
|
+
this.addField("xTitle");
|
|
2501
|
+
return this;
|
|
2502
|
+
}
|
|
2503
|
+
xDescription() {
|
|
2504
|
+
this.addField("xDescription");
|
|
2505
|
+
return this;
|
|
2506
|
+
}
|
|
2507
|
+
xUrl() {
|
|
2508
|
+
this.addField("xUrl");
|
|
2509
|
+
return this;
|
|
2510
|
+
}
|
|
2511
|
+
lang() {
|
|
2512
|
+
this.addField("lang");
|
|
2513
|
+
return this;
|
|
2514
|
+
}
|
|
2515
|
+
ogImage(options) {
|
|
2516
|
+
if (Array.isArray(options)) {
|
|
2517
|
+
this._associations["ogImage"] = new MediaQueryOptions(options);
|
|
2518
|
+
} else {
|
|
2519
|
+
this._associations["ogImage"] = options || new MediaQueryOptions(["id"]);
|
|
2520
|
+
}
|
|
2521
|
+
return this;
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2310
2524
|
class WebsiteQueryOptions extends QueryOptions {
|
|
2311
2525
|
constructor(fields, queryArgs) {
|
|
2312
2526
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -2660,6 +2874,14 @@ class LangQueryOptions extends QueryOptions {
|
|
|
2660
2874
|
this.addField("websiteId");
|
|
2661
2875
|
return this;
|
|
2662
2876
|
}
|
|
2877
|
+
slug() {
|
|
2878
|
+
this.addField("slug");
|
|
2879
|
+
return this;
|
|
2880
|
+
}
|
|
2881
|
+
description() {
|
|
2882
|
+
this.addField("description");
|
|
2883
|
+
return this;
|
|
2884
|
+
}
|
|
2663
2885
|
/**
|
|
2664
2886
|
* 创建时间
|
|
2665
2887
|
*/
|
|
@@ -2683,10 +2905,22 @@ class CustomerQueryOptions extends QueryOptions {
|
|
|
2683
2905
|
this.addField("id");
|
|
2684
2906
|
return this;
|
|
2685
2907
|
}
|
|
2908
|
+
company() {
|
|
2909
|
+
this.addField("company");
|
|
2910
|
+
return this;
|
|
2911
|
+
}
|
|
2686
2912
|
websiteId() {
|
|
2687
2913
|
this.addField("websiteId");
|
|
2688
2914
|
return this;
|
|
2689
2915
|
}
|
|
2916
|
+
slug() {
|
|
2917
|
+
this.addField("slug");
|
|
2918
|
+
return this;
|
|
2919
|
+
}
|
|
2920
|
+
description() {
|
|
2921
|
+
this.addField("description");
|
|
2922
|
+
return this;
|
|
2923
|
+
}
|
|
2690
2924
|
/**
|
|
2691
2925
|
* 创建时间
|
|
2692
2926
|
*/
|
|
@@ -2828,10 +3062,22 @@ class EnquiryQueryOptions extends QueryOptions {
|
|
|
2828
3062
|
this.addField("read");
|
|
2829
3063
|
return this;
|
|
2830
3064
|
}
|
|
3065
|
+
spam() {
|
|
3066
|
+
this.addField("spam");
|
|
3067
|
+
return this;
|
|
3068
|
+
}
|
|
2831
3069
|
websiteId() {
|
|
2832
3070
|
this.addField("websiteId");
|
|
2833
3071
|
return this;
|
|
2834
3072
|
}
|
|
3073
|
+
slug() {
|
|
3074
|
+
this.addField("slug");
|
|
3075
|
+
return this;
|
|
3076
|
+
}
|
|
3077
|
+
description() {
|
|
3078
|
+
this.addField("description");
|
|
3079
|
+
return this;
|
|
3080
|
+
}
|
|
2835
3081
|
/**
|
|
2836
3082
|
* 创建时间
|
|
2837
3083
|
*/
|
|
@@ -2918,10 +3164,58 @@ class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
|
2918
3164
|
this.addField("mobile");
|
|
2919
3165
|
return this;
|
|
2920
3166
|
}
|
|
3167
|
+
robots() {
|
|
3168
|
+
this.addField("robots");
|
|
3169
|
+
return this;
|
|
3170
|
+
}
|
|
3171
|
+
/**
|
|
3172
|
+
* 站点名称
|
|
3173
|
+
*/
|
|
3174
|
+
websiteName() {
|
|
3175
|
+
this.addField("websiteName");
|
|
3176
|
+
return this;
|
|
3177
|
+
}
|
|
3178
|
+
/**
|
|
3179
|
+
* 域名
|
|
3180
|
+
*/
|
|
3181
|
+
domain() {
|
|
3182
|
+
this.addField("domain");
|
|
3183
|
+
return this;
|
|
3184
|
+
}
|
|
3185
|
+
/**
|
|
3186
|
+
* 打开iRobots
|
|
3187
|
+
*/
|
|
3188
|
+
openRobots() {
|
|
3189
|
+
this.addField("openRobots");
|
|
3190
|
+
return this;
|
|
3191
|
+
}
|
|
3192
|
+
/**
|
|
3193
|
+
* 301映射表
|
|
3194
|
+
*/
|
|
3195
|
+
map301() {
|
|
3196
|
+
this.addField("map301");
|
|
3197
|
+
return this;
|
|
3198
|
+
}
|
|
3199
|
+
headerCode() {
|
|
3200
|
+
this.addField("headerCode");
|
|
3201
|
+
return this;
|
|
3202
|
+
}
|
|
3203
|
+
footerCode() {
|
|
3204
|
+
this.addField("footerCode");
|
|
3205
|
+
return this;
|
|
3206
|
+
}
|
|
2921
3207
|
websiteId() {
|
|
2922
3208
|
this.addField("websiteId");
|
|
2923
3209
|
return this;
|
|
2924
3210
|
}
|
|
3211
|
+
slug() {
|
|
3212
|
+
this.addField("slug");
|
|
3213
|
+
return this;
|
|
3214
|
+
}
|
|
3215
|
+
description() {
|
|
3216
|
+
this.addField("description");
|
|
3217
|
+
return this;
|
|
3218
|
+
}
|
|
2925
3219
|
/**
|
|
2926
3220
|
* 创建时间
|
|
2927
3221
|
*/
|
|
@@ -2944,6 +3238,54 @@ class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
|
2944
3238
|
return this;
|
|
2945
3239
|
}
|
|
2946
3240
|
}
|
|
3241
|
+
class SpamFilterRuleQueryOptions extends QueryOptions {
|
|
3242
|
+
constructor(fields, queryArgs) {
|
|
3243
|
+
super(SpamFilterRuleEntityName, fields, queryArgs);
|
|
3244
|
+
}
|
|
3245
|
+
id() {
|
|
3246
|
+
this.addField("id");
|
|
3247
|
+
return this;
|
|
3248
|
+
}
|
|
3249
|
+
emails() {
|
|
3250
|
+
this.addField("emails");
|
|
3251
|
+
return this;
|
|
3252
|
+
}
|
|
3253
|
+
ips() {
|
|
3254
|
+
this.addField("ips");
|
|
3255
|
+
return this;
|
|
3256
|
+
}
|
|
3257
|
+
keywords() {
|
|
3258
|
+
this.addField("keywords");
|
|
3259
|
+
return this;
|
|
3260
|
+
}
|
|
3261
|
+
createdAt() {
|
|
3262
|
+
this.addField("createdAt");
|
|
3263
|
+
return this;
|
|
3264
|
+
}
|
|
3265
|
+
updatedAt() {
|
|
3266
|
+
this.addField("updatedAt");
|
|
3267
|
+
return this;
|
|
3268
|
+
}
|
|
3269
|
+
websiteId() {
|
|
3270
|
+
this.addField("websiteId");
|
|
3271
|
+
return this;
|
|
3272
|
+
}
|
|
3273
|
+
slug() {
|
|
3274
|
+
this.addField("slug");
|
|
3275
|
+
return this;
|
|
3276
|
+
}
|
|
3277
|
+
description() {
|
|
3278
|
+
this.addField("description");
|
|
3279
|
+
return this;
|
|
3280
|
+
}
|
|
3281
|
+
/**
|
|
3282
|
+
* 备注
|
|
3283
|
+
*/
|
|
3284
|
+
remark() {
|
|
3285
|
+
this.addField("remark");
|
|
3286
|
+
return this;
|
|
3287
|
+
}
|
|
3288
|
+
}
|
|
2947
3289
|
const userEntry = {
|
|
2948
3290
|
entityName: UserEntityName,
|
|
2949
3291
|
entityLabel: UserEntityLabel,
|
|
@@ -2994,11 +3336,6 @@ const productEntry = {
|
|
|
2994
3336
|
entityLabel: ProductEntityLabel,
|
|
2995
3337
|
toInput: productToInput
|
|
2996
3338
|
};
|
|
2997
|
-
const slugEntry = {
|
|
2998
|
-
entityName: SlugEntityName,
|
|
2999
|
-
entityLabel: SlugEntityLabel,
|
|
3000
|
-
toInput: slugToInput
|
|
3001
|
-
};
|
|
3002
3339
|
const enquiryEntry = {
|
|
3003
3340
|
entityName: EnquiryEntityName,
|
|
3004
3341
|
entityLabel: EnquiryEntityLabel,
|
|
@@ -3054,6 +3391,11 @@ const productCategoryEntry = {
|
|
|
3054
3391
|
entityLabel: ProductCategoryEntityLabel,
|
|
3055
3392
|
toInput: productCategoryToInput
|
|
3056
3393
|
};
|
|
3394
|
+
const spamFilterRuleEntry = {
|
|
3395
|
+
entityName: SpamFilterRuleEntityName,
|
|
3396
|
+
entityLabel: SpamFilterRuleEntityLabel,
|
|
3397
|
+
toInput: spamFilterRuleToInput
|
|
3398
|
+
};
|
|
3057
3399
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
3058
3400
|
UserFields2["id"] = "id";
|
|
3059
3401
|
UserFields2["loginName"] = "loginName";
|
|
@@ -3137,6 +3479,8 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
3137
3479
|
MediaAssciations2["usedByProductsAggregate"] = "usedByProductsAggregate";
|
|
3138
3480
|
MediaAssciations2["attachmentOf"] = "attachmentOf";
|
|
3139
3481
|
MediaAssciations2["attachmentOfAggregate"] = "attachmentOfAggregate";
|
|
3482
|
+
MediaAssciations2["meidaOfProduct"] = "meidaOfProduct";
|
|
3483
|
+
MediaAssciations2["meidaOfProductAggregate"] = "meidaOfProductAggregate";
|
|
3140
3484
|
return MediaAssciations2;
|
|
3141
3485
|
})(MediaAssciations || {});
|
|
3142
3486
|
var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
@@ -3167,6 +3511,8 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
|
3167
3511
|
LangFields2["icon"] = "icon";
|
|
3168
3512
|
LangFields2["remark"] = "remark";
|
|
3169
3513
|
LangFields2["websiteId"] = "websiteId";
|
|
3514
|
+
LangFields2["slug"] = "slug";
|
|
3515
|
+
LangFields2["description"] = "description";
|
|
3170
3516
|
LangFields2["createdAt"] = "createdAt";
|
|
3171
3517
|
LangFields2["updatedAt"] = "updatedAt";
|
|
3172
3518
|
return LangFields2;
|
|
@@ -3199,6 +3545,8 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
3199
3545
|
PageFields2["langAbbr"] = "langAbbr";
|
|
3200
3546
|
PageFields2["extends"] = "extends";
|
|
3201
3547
|
PageFields2["websiteId"] = "websiteId";
|
|
3548
|
+
PageFields2["slug"] = "slug";
|
|
3549
|
+
PageFields2["description"] = "description";
|
|
3202
3550
|
PageFields2["createdAt"] = "createdAt";
|
|
3203
3551
|
PageFields2["updatedAt"] = "updatedAt";
|
|
3204
3552
|
PageFields2["seoTitle"] = "seoTitle";
|
|
@@ -3218,7 +3566,6 @@ var PageFields = /* @__PURE__ */ ((PageFields2) => {
|
|
|
3218
3566
|
return PageFields2;
|
|
3219
3567
|
})(PageFields || {});
|
|
3220
3568
|
var PageAssciations = /* @__PURE__ */ ((PageAssciations2) => {
|
|
3221
|
-
PageAssciations2["slug"] = "slug";
|
|
3222
3569
|
PageAssciations2["ogImage"] = "ogImage";
|
|
3223
3570
|
return PageAssciations2;
|
|
3224
3571
|
})(PageAssciations || {});
|
|
@@ -3227,14 +3574,14 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
3227
3574
|
PostFields2["seqValue"] = "seqValue";
|
|
3228
3575
|
PostFields2["pinToTop"] = "pinToTop";
|
|
3229
3576
|
PostFields2["authorEmail"] = "authorEmail";
|
|
3230
|
-
PostFields2["summary"] = "summary";
|
|
3231
|
-
PostFields2["publishedContent"] = "publishedContent";
|
|
3232
3577
|
PostFields2["publishedAt"] = "publishedAt";
|
|
3233
3578
|
PostFields2["status"] = "status";
|
|
3234
3579
|
PostFields2["title"] = "title";
|
|
3235
3580
|
PostFields2["content"] = "content";
|
|
3236
3581
|
PostFields2["extends"] = "extends";
|
|
3237
3582
|
PostFields2["websiteId"] = "websiteId";
|
|
3583
|
+
PostFields2["slug"] = "slug";
|
|
3584
|
+
PostFields2["description"] = "description";
|
|
3238
3585
|
PostFields2["createdAt"] = "createdAt";
|
|
3239
3586
|
PostFields2["updatedAt"] = "updatedAt";
|
|
3240
3587
|
PostFields2["remark"] = "remark";
|
|
@@ -3255,32 +3602,35 @@ var PostFields = /* @__PURE__ */ ((PostFields2) => {
|
|
|
3255
3602
|
return PostFields2;
|
|
3256
3603
|
})(PostFields || {});
|
|
3257
3604
|
var PostAssciations = /* @__PURE__ */ ((PostAssciations2) => {
|
|
3258
|
-
PostAssciations2["slug"] = "slug";
|
|
3259
3605
|
PostAssciations2["tags"] = "tags";
|
|
3260
3606
|
PostAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
3261
3607
|
PostAssciations2["author"] = "author";
|
|
3262
3608
|
PostAssciations2["cover"] = "cover";
|
|
3263
3609
|
PostAssciations2["ogImage"] = "ogImage";
|
|
3610
|
+
PostAssciations2["draftOf"] = "draftOf";
|
|
3264
3611
|
PostAssciations2["category"] = "category";
|
|
3612
|
+
PostAssciations2["draft"] = "draft";
|
|
3265
3613
|
return PostAssciations2;
|
|
3266
3614
|
})(PostAssciations || {});
|
|
3267
3615
|
var ProductFields = /* @__PURE__ */ ((ProductFields2) => {
|
|
3268
3616
|
ProductFields2["id"] = "id";
|
|
3269
3617
|
ProductFields2["published"] = "published";
|
|
3270
|
-
ProductFields2["summary"] = "summary";
|
|
3271
3618
|
ProductFields2["featured"] = "featured";
|
|
3272
3619
|
ProductFields2["showInNavMenu"] = "showInNavMenu";
|
|
3273
3620
|
ProductFields2["seqValue"] = "seqValue";
|
|
3274
3621
|
ProductFields2["features"] = "features";
|
|
3275
3622
|
ProductFields2["content2"] = "content2";
|
|
3276
3623
|
ProductFields2["content3"] = "content3";
|
|
3277
|
-
ProductFields2["
|
|
3624
|
+
ProductFields2["shortTitle"] = "shortTitle";
|
|
3625
|
+
ProductFields2["externalVideoUrl"] = "externalVideoUrl";
|
|
3278
3626
|
ProductFields2["publishedAt"] = "publishedAt";
|
|
3279
3627
|
ProductFields2["status"] = "status";
|
|
3280
3628
|
ProductFields2["title"] = "title";
|
|
3281
3629
|
ProductFields2["content"] = "content";
|
|
3282
3630
|
ProductFields2["extends"] = "extends";
|
|
3283
3631
|
ProductFields2["websiteId"] = "websiteId";
|
|
3632
|
+
ProductFields2["slug"] = "slug";
|
|
3633
|
+
ProductFields2["description"] = "description";
|
|
3284
3634
|
ProductFields2["createdAt"] = "createdAt";
|
|
3285
3635
|
ProductFields2["updatedAt"] = "updatedAt";
|
|
3286
3636
|
ProductFields2["remark"] = "remark";
|
|
@@ -3304,30 +3654,16 @@ var ProductAssciations = /* @__PURE__ */ ((ProductAssciations2) => {
|
|
|
3304
3654
|
ProductAssciations2["category"] = "category";
|
|
3305
3655
|
ProductAssciations2["medias"] = "medias";
|
|
3306
3656
|
ProductAssciations2["mediasAggregate"] = "mediasAggregate";
|
|
3307
|
-
ProductAssciations2["slug"] = "slug";
|
|
3308
3657
|
ProductAssciations2["tags"] = "tags";
|
|
3309
3658
|
ProductAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
3310
3659
|
ProductAssciations2["ogImage"] = "ogImage";
|
|
3311
3660
|
ProductAssciations2["attachments"] = "attachments";
|
|
3312
3661
|
ProductAssciations2["attachmentsAggregate"] = "attachmentsAggregate";
|
|
3662
|
+
ProductAssciations2["draftOf"] = "draftOf";
|
|
3313
3663
|
ProductAssciations2["creator"] = "creator";
|
|
3664
|
+
ProductAssciations2["draft"] = "draft";
|
|
3314
3665
|
return ProductAssciations2;
|
|
3315
3666
|
})(ProductAssciations || {});
|
|
3316
|
-
var SlugFields = /* @__PURE__ */ ((SlugFields2) => {
|
|
3317
|
-
SlugFields2["id"] = "id";
|
|
3318
|
-
SlugFields2["uniqueName"] = "uniqueName";
|
|
3319
|
-
SlugFields2["websiteId"] = "websiteId";
|
|
3320
|
-
SlugFields2["createdAt"] = "createdAt";
|
|
3321
|
-
SlugFields2["updatedAt"] = "updatedAt";
|
|
3322
|
-
SlugFields2["remark"] = "remark";
|
|
3323
|
-
return SlugFields2;
|
|
3324
|
-
})(SlugFields || {});
|
|
3325
|
-
var SlugAssciations = /* @__PURE__ */ ((SlugAssciations2) => {
|
|
3326
|
-
SlugAssciations2["post"] = "post";
|
|
3327
|
-
SlugAssciations2["product"] = "product";
|
|
3328
|
-
SlugAssciations2["page"] = "page";
|
|
3329
|
-
return SlugAssciations2;
|
|
3330
|
-
})(SlugAssciations || {});
|
|
3331
3667
|
var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
3332
3668
|
EnquiryFields2["id"] = "id";
|
|
3333
3669
|
EnquiryFields2["title"] = "title";
|
|
@@ -3340,7 +3676,10 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
|
3340
3676
|
EnquiryFields2["userAgent"] = "userAgent";
|
|
3341
3677
|
EnquiryFields2["fromCta"] = "fromCta";
|
|
3342
3678
|
EnquiryFields2["read"] = "read";
|
|
3679
|
+
EnquiryFields2["spam"] = "spam";
|
|
3343
3680
|
EnquiryFields2["websiteId"] = "websiteId";
|
|
3681
|
+
EnquiryFields2["slug"] = "slug";
|
|
3682
|
+
EnquiryFields2["description"] = "description";
|
|
3344
3683
|
EnquiryFields2["createdAt"] = "createdAt";
|
|
3345
3684
|
EnquiryFields2["updatedAt"] = "updatedAt";
|
|
3346
3685
|
EnquiryFields2["remark"] = "remark";
|
|
@@ -3367,7 +3706,16 @@ var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
|
3367
3706
|
WebsiteSettingsFields2["wechat"] = "wechat";
|
|
3368
3707
|
WebsiteSettingsFields2["whatsapp"] = "whatsapp";
|
|
3369
3708
|
WebsiteSettingsFields2["mobile"] = "mobile";
|
|
3709
|
+
WebsiteSettingsFields2["robots"] = "robots";
|
|
3710
|
+
WebsiteSettingsFields2["websiteName"] = "websiteName";
|
|
3711
|
+
WebsiteSettingsFields2["domain"] = "domain";
|
|
3712
|
+
WebsiteSettingsFields2["openRobots"] = "openRobots";
|
|
3713
|
+
WebsiteSettingsFields2["map301"] = "map301";
|
|
3714
|
+
WebsiteSettingsFields2["headerCode"] = "headerCode";
|
|
3715
|
+
WebsiteSettingsFields2["footerCode"] = "footerCode";
|
|
3370
3716
|
WebsiteSettingsFields2["websiteId"] = "websiteId";
|
|
3717
|
+
WebsiteSettingsFields2["slug"] = "slug";
|
|
3718
|
+
WebsiteSettingsFields2["description"] = "description";
|
|
3371
3719
|
WebsiteSettingsFields2["createdAt"] = "createdAt";
|
|
3372
3720
|
WebsiteSettingsFields2["updatedAt"] = "updatedAt";
|
|
3373
3721
|
WebsiteSettingsFields2["remark"] = "remark";
|
|
@@ -3382,6 +3730,8 @@ var TemplateFields = /* @__PURE__ */ ((TemplateFields2) => {
|
|
|
3382
3730
|
TemplateFields2["content"] = "content";
|
|
3383
3731
|
TemplateFields2["templateType"] = "templateType";
|
|
3384
3732
|
TemplateFields2["websiteId"] = "websiteId";
|
|
3733
|
+
TemplateFields2["slug"] = "slug";
|
|
3734
|
+
TemplateFields2["description"] = "description";
|
|
3385
3735
|
TemplateFields2["createdAt"] = "createdAt";
|
|
3386
3736
|
TemplateFields2["updatedAt"] = "updatedAt";
|
|
3387
3737
|
TemplateFields2["remark"] = "remark";
|
|
@@ -3397,6 +3747,8 @@ var TemplateCategoryFields = /* @__PURE__ */ ((TemplateCategoryFields2) => {
|
|
|
3397
3747
|
TemplateCategoryFields2["name"] = "name";
|
|
3398
3748
|
TemplateCategoryFields2["seqValue"] = "seqValue";
|
|
3399
3749
|
TemplateCategoryFields2["websiteId"] = "websiteId";
|
|
3750
|
+
TemplateCategoryFields2["slug"] = "slug";
|
|
3751
|
+
TemplateCategoryFields2["description"] = "description";
|
|
3400
3752
|
TemplateCategoryFields2["createdAt"] = "createdAt";
|
|
3401
3753
|
TemplateCategoryFields2["updatedAt"] = "updatedAt";
|
|
3402
3754
|
TemplateCategoryFields2["remark"] = "remark";
|
|
@@ -3414,6 +3766,8 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
3414
3766
|
ThemeFields2["styles"] = "styles";
|
|
3415
3767
|
ThemeFields2["settings"] = "settings";
|
|
3416
3768
|
ThemeFields2["websiteId"] = "websiteId";
|
|
3769
|
+
ThemeFields2["slug"] = "slug";
|
|
3770
|
+
ThemeFields2["description"] = "description";
|
|
3417
3771
|
ThemeFields2["createdAt"] = "createdAt";
|
|
3418
3772
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
3419
3773
|
ThemeFields2["remark"] = "remark";
|
|
@@ -3431,6 +3785,8 @@ var MediaFolderFields = /* @__PURE__ */ ((MediaFolderFields2) => {
|
|
|
3431
3785
|
MediaFolderFields2["name"] = "name";
|
|
3432
3786
|
MediaFolderFields2["seqValue"] = "seqValue";
|
|
3433
3787
|
MediaFolderFields2["websiteId"] = "websiteId";
|
|
3788
|
+
MediaFolderFields2["slug"] = "slug";
|
|
3789
|
+
MediaFolderFields2["description"] = "description";
|
|
3434
3790
|
MediaFolderFields2["createdAt"] = "createdAt";
|
|
3435
3791
|
MediaFolderFields2["updatedAt"] = "updatedAt";
|
|
3436
3792
|
MediaFolderFields2["remark"] = "remark";
|
|
@@ -3449,6 +3805,8 @@ var PostCategoryFields = /* @__PURE__ */ ((PostCategoryFields2) => {
|
|
|
3449
3805
|
PostCategoryFields2["name"] = "name";
|
|
3450
3806
|
PostCategoryFields2["seqValue"] = "seqValue";
|
|
3451
3807
|
PostCategoryFields2["websiteId"] = "websiteId";
|
|
3808
|
+
PostCategoryFields2["slug"] = "slug";
|
|
3809
|
+
PostCategoryFields2["description"] = "description";
|
|
3452
3810
|
PostCategoryFields2["createdAt"] = "createdAt";
|
|
3453
3811
|
PostCategoryFields2["updatedAt"] = "updatedAt";
|
|
3454
3812
|
PostCategoryFields2["remark"] = "remark";
|
|
@@ -3467,6 +3825,8 @@ var TagFields = /* @__PURE__ */ ((TagFields2) => {
|
|
|
3467
3825
|
TagFields2["name"] = "name";
|
|
3468
3826
|
TagFields2["color"] = "color";
|
|
3469
3827
|
TagFields2["websiteId"] = "websiteId";
|
|
3828
|
+
TagFields2["slug"] = "slug";
|
|
3829
|
+
TagFields2["description"] = "description";
|
|
3470
3830
|
TagFields2["createdAt"] = "createdAt";
|
|
3471
3831
|
TagFields2["updatedAt"] = "updatedAt";
|
|
3472
3832
|
TagFields2["remark"] = "remark";
|
|
@@ -3481,7 +3841,10 @@ var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|
|
|
3481
3841
|
})(TagAssciations || {});
|
|
3482
3842
|
var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
3483
3843
|
CustomerFields2["id"] = "id";
|
|
3844
|
+
CustomerFields2["company"] = "company";
|
|
3484
3845
|
CustomerFields2["websiteId"] = "websiteId";
|
|
3846
|
+
CustomerFields2["slug"] = "slug";
|
|
3847
|
+
CustomerFields2["description"] = "description";
|
|
3485
3848
|
CustomerFields2["createdAt"] = "createdAt";
|
|
3486
3849
|
CustomerFields2["updatedAt"] = "updatedAt";
|
|
3487
3850
|
CustomerFields2["remark"] = "remark";
|
|
@@ -3508,6 +3871,8 @@ var ProductCategoryFields = /* @__PURE__ */ ((ProductCategoryFields2) => {
|
|
|
3508
3871
|
ProductCategoryFields2["name"] = "name";
|
|
3509
3872
|
ProductCategoryFields2["seqValue"] = "seqValue";
|
|
3510
3873
|
ProductCategoryFields2["websiteId"] = "websiteId";
|
|
3874
|
+
ProductCategoryFields2["slug"] = "slug";
|
|
3875
|
+
ProductCategoryFields2["description"] = "description";
|
|
3511
3876
|
ProductCategoryFields2["createdAt"] = "createdAt";
|
|
3512
3877
|
ProductCategoryFields2["updatedAt"] = "updatedAt";
|
|
3513
3878
|
ProductCategoryFields2["remark"] = "remark";
|
|
@@ -3516,11 +3881,27 @@ var ProductCategoryFields = /* @__PURE__ */ ((ProductCategoryFields2) => {
|
|
|
3516
3881
|
var ProductCategoryAssciations = /* @__PURE__ */ ((ProductCategoryAssciations2) => {
|
|
3517
3882
|
ProductCategoryAssciations2["children"] = "children";
|
|
3518
3883
|
ProductCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
3884
|
+
ProductCategoryAssciations2["media"] = "media";
|
|
3519
3885
|
ProductCategoryAssciations2["parent"] = "parent";
|
|
3520
3886
|
ProductCategoryAssciations2["products"] = "products";
|
|
3521
3887
|
ProductCategoryAssciations2["productsAggregate"] = "productsAggregate";
|
|
3522
3888
|
return ProductCategoryAssciations2;
|
|
3523
3889
|
})(ProductCategoryAssciations || {});
|
|
3890
|
+
var SpamFilterRuleFields = /* @__PURE__ */ ((SpamFilterRuleFields2) => {
|
|
3891
|
+
SpamFilterRuleFields2["id"] = "id";
|
|
3892
|
+
SpamFilterRuleFields2["emails"] = "emails";
|
|
3893
|
+
SpamFilterRuleFields2["ips"] = "ips";
|
|
3894
|
+
SpamFilterRuleFields2["keywords"] = "keywords";
|
|
3895
|
+
SpamFilterRuleFields2["createdAt"] = "createdAt";
|
|
3896
|
+
SpamFilterRuleFields2["updatedAt"] = "updatedAt";
|
|
3897
|
+
SpamFilterRuleFields2["websiteId"] = "websiteId";
|
|
3898
|
+
SpamFilterRuleFields2["slug"] = "slug";
|
|
3899
|
+
SpamFilterRuleFields2["description"] = "description";
|
|
3900
|
+
SpamFilterRuleFields2["remark"] = "remark";
|
|
3901
|
+
return SpamFilterRuleFields2;
|
|
3902
|
+
})(SpamFilterRuleFields || {});
|
|
3903
|
+
var SpamFilterRuleAssciations = /* @__PURE__ */ ((SpamFilterRuleAssciations2) => {
|
|
3904
|
+
})();
|
|
3524
3905
|
export {
|
|
3525
3906
|
AbilityAssciations,
|
|
3526
3907
|
AbilityDistinctEnum,
|
|
@@ -3529,6 +3910,7 @@ export {
|
|
|
3529
3910
|
AbilityFields,
|
|
3530
3911
|
AbilityQueryOptions,
|
|
3531
3912
|
AbilityType,
|
|
3913
|
+
BaseEntityDistinctEnum,
|
|
3532
3914
|
ComponentType,
|
|
3533
3915
|
CustomerAssciations,
|
|
3534
3916
|
CustomerDistinctEnum,
|
|
@@ -3536,6 +3918,7 @@ export {
|
|
|
3536
3918
|
CustomerEntityName,
|
|
3537
3919
|
CustomerFields,
|
|
3538
3920
|
CustomerQueryOptions,
|
|
3921
|
+
CustomizeMediaDistinctEnum,
|
|
3539
3922
|
EnquiryAssciations,
|
|
3540
3923
|
EnquiryDistinctEnum,
|
|
3541
3924
|
EnquiryEntityLabel,
|
|
@@ -3562,12 +3945,15 @@ export {
|
|
|
3562
3945
|
MediaFolderQueryOptions,
|
|
3563
3946
|
MediaQueryOptions,
|
|
3564
3947
|
MediaType,
|
|
3948
|
+
MultiLangableDistinctEnum,
|
|
3949
|
+
OgMetaDistinctEnum,
|
|
3565
3950
|
PageAssciations,
|
|
3566
3951
|
PageDistinctEnum,
|
|
3567
3952
|
PageEntityLabel,
|
|
3568
3953
|
PageEntityName,
|
|
3569
3954
|
PageFields,
|
|
3570
3955
|
PageQueryOptions,
|
|
3956
|
+
PersonDistinctEnum,
|
|
3571
3957
|
PostAssciations,
|
|
3572
3958
|
PostCategoryAssciations,
|
|
3573
3959
|
PostCategoryDistinctEnum,
|
|
@@ -3592,6 +3978,7 @@ export {
|
|
|
3592
3978
|
ProductEntityName,
|
|
3593
3979
|
ProductFields,
|
|
3594
3980
|
ProductQueryOptions,
|
|
3981
|
+
PublishableDistinctEnum,
|
|
3595
3982
|
PublishableStatus,
|
|
3596
3983
|
QueryOptions,
|
|
3597
3984
|
RoleAssciations,
|
|
@@ -3600,12 +3987,13 @@ export {
|
|
|
3600
3987
|
RoleEntityName,
|
|
3601
3988
|
RoleFields,
|
|
3602
3989
|
RoleQueryOptions,
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3990
|
+
SeoMetaDistinctEnum,
|
|
3991
|
+
SpamFilterRuleAssciations,
|
|
3992
|
+
SpamFilterRuleDistinctEnum,
|
|
3993
|
+
SpamFilterRuleEntityLabel,
|
|
3994
|
+
SpamFilterRuleEntityName,
|
|
3995
|
+
SpamFilterRuleFields,
|
|
3996
|
+
SpamFilterRuleQueryOptions,
|
|
3609
3997
|
TagAssciations,
|
|
3610
3998
|
TagDistinctEnum,
|
|
3611
3999
|
TagEntityLabel,
|
|
@@ -3639,6 +4027,7 @@ export {
|
|
|
3639
4027
|
UserQueryOptions,
|
|
3640
4028
|
UserType,
|
|
3641
4029
|
WebsiteAssciations,
|
|
4030
|
+
WebsiteContentDistinctEnum,
|
|
3642
4031
|
WebsiteDistinctEnum,
|
|
3643
4032
|
WebsiteEntityLabel,
|
|
3644
4033
|
WebsiteEntityName,
|
|
@@ -3649,6 +4038,7 @@ export {
|
|
|
3649
4038
|
WebsiteMetaEntityName,
|
|
3650
4039
|
WebsiteMetaFields,
|
|
3651
4040
|
WebsiteMetaQueryOptions,
|
|
4041
|
+
WebsitePartDistinctEnum,
|
|
3652
4042
|
WebsiteQueryOptions,
|
|
3653
4043
|
WebsiteSettingsAssciations,
|
|
3654
4044
|
WebsiteSettingsDistinctEnum,
|
|
@@ -3663,6 +4053,7 @@ export {
|
|
|
3663
4053
|
WebsiteTypeFields,
|
|
3664
4054
|
WebsiteTypeQueryOptions,
|
|
3665
4055
|
WebsiteTypeStatus,
|
|
4056
|
+
WebsiteUserDistinctEnum,
|
|
3666
4057
|
abilityEntry,
|
|
3667
4058
|
abilityToInput,
|
|
3668
4059
|
abilityToInputCascade,
|
|
@@ -3701,9 +4092,9 @@ export {
|
|
|
3701
4092
|
roleEntry,
|
|
3702
4093
|
roleToInput,
|
|
3703
4094
|
roleToInputCascade,
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
4095
|
+
spamFilterRuleEntry,
|
|
4096
|
+
spamFilterRuleToInput,
|
|
4097
|
+
spamFilterRuleToInputCascade,
|
|
3707
4098
|
tagEntry,
|
|
3708
4099
|
tagToInput,
|
|
3709
4100
|
tagToInputCascade,
|