@rxdrag/rxcms-models 0.3.105 → 0.3.107
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/AgentAttachmentQueryOptions.d.ts +6 -6
- package/dist/classes/AgentMemoFileQueryOptions.d.ts +16 -0
- package/dist/classes/AgentMemoFolderQueryOptions.d.ts +18 -0
- package/dist/classes/AgentTimelineItemQueryOptions.d.ts +0 -3
- package/dist/classes/TempFileQueryOptions.d.ts +3 -1
- package/dist/classes/ThemeQueryOptions.d.ts +1 -0
- package/dist/classes/{SiteBlueprintQueryOptions.d.ts → WebsiteProfileQueryOptions.d.ts} +4 -4
- package/dist/classes/WebsiteQueryOptions.d.ts +3 -8
- package/dist/classes/index.d.ts +3 -3
- package/dist/entries/agentMemoFileEntry.d.ts +2 -0
- package/dist/entries/agentMemoFolderEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +3 -3
- package/dist/entries/websiteProfileEntry.d.ts +2 -0
- package/dist/fields/AgentAttachmentFields.d.ts +5 -7
- package/dist/fields/AgentMemoFileFields.d.ts +12 -0
- package/dist/fields/AgentMemoFolderFields.d.ts +13 -0
- package/dist/fields/AgentTimelineItemFields.d.ts +0 -1
- package/dist/fields/TempFileFields.d.ts +2 -2
- package/dist/fields/ThemeFields.d.ts +2 -1
- package/dist/fields/WebsiteFields.d.ts +1 -3
- package/dist/fields/{SiteBlueprintFields.d.ts → WebsiteProfileFields.d.ts} +3 -3
- package/dist/fields/index.d.ts +3 -3
- package/dist/index.mjs +550 -543
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AgentAttachment.d.ts +5 -7
- package/dist/interfaces/AgentAttachmentBoolExp.d.ts +6 -6
- package/dist/interfaces/AgentAttachmentDistinctExp.d.ts +4 -7
- package/dist/interfaces/AgentAttachmentInput.d.ts +5 -7
- package/dist/interfaces/AgentAttachmentOrderBy.d.ts +3 -6
- package/dist/interfaces/AgentMemoFile.d.ts +13 -0
- package/dist/interfaces/AgentMemoFileBoolExp.d.ts +17 -0
- package/dist/interfaces/AgentMemoFileDistinctExp.d.ts +10 -0
- package/dist/interfaces/AgentMemoFileInput.d.ts +15 -0
- package/dist/interfaces/AgentMemoFileOrderBy.d.ts +10 -0
- package/dist/interfaces/AgentMemoFolder.d.ts +15 -0
- package/dist/interfaces/AgentMemoFolderBoolExp.d.ts +16 -0
- package/dist/interfaces/AgentMemoFolderDistinctExp.d.ts +7 -0
- package/dist/interfaces/AgentMemoFolderInput.d.ts +15 -0
- package/dist/interfaces/AgentMemoFolderOrderBy.d.ts +7 -0
- package/dist/interfaces/AgentTimelineItem.d.ts +0 -2
- package/dist/interfaces/AgentTimelineItemBoolExp.d.ts +0 -2
- package/dist/interfaces/AgentTimelineItemInput.d.ts +0 -2
- package/dist/interfaces/TempFile.d.ts +2 -1
- package/dist/interfaces/TempFileBoolExp.d.ts +2 -1
- package/dist/interfaces/TempFileDistinctExp.d.ts +0 -1
- package/dist/interfaces/TempFileInput.d.ts +2 -1
- package/dist/interfaces/TempFileOrderBy.d.ts +0 -1
- package/dist/interfaces/Theme.d.ts +1 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +1 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +2 -1
- package/dist/interfaces/ThemeInput.d.ts +1 -0
- package/dist/interfaces/ThemeOrderBy.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +2 -5
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -4
- package/dist/interfaces/WebsiteInput.d.ts +2 -4
- package/dist/interfaces/{SiteBlueprint.d.ts → WebsiteProfile.d.ts} +4 -4
- package/dist/interfaces/{SiteBlueprintBoolExp.d.ts → WebsiteProfileBoolExp.d.ts} +5 -5
- package/dist/interfaces/{SiteBlueprintDistinctExp.d.ts → WebsiteProfileDistinctExp.d.ts} +3 -3
- package/dist/interfaces/{SiteBlueprintInput.d.ts → WebsiteProfileInput.d.ts} +5 -5
- package/dist/interfaces/{SiteBlueprintOrderBy.d.ts → WebsiteProfileOrderBy.d.ts} +2 -2
- package/dist/interfaces/index.d.ts +15 -15
- package/package.json +1 -1
- package/dist/classes/AgentContextQueryOptions.d.ts +0 -14
- package/dist/classes/CodeRevisionQueryOptions.d.ts +0 -16
- package/dist/entries/agentContextEntry.d.ts +0 -2
- package/dist/entries/codeRevisionEntry.d.ts +0 -2
- package/dist/entries/siteBlueprintEntry.d.ts +0 -2
- package/dist/fields/AgentContextFields.d.ts +0 -10
- package/dist/fields/CodeRevisionFields.d.ts +0 -12
- package/dist/interfaces/AgentContext.d.ts +0 -11
- package/dist/interfaces/AgentContextBoolExp.d.ts +0 -14
- package/dist/interfaces/AgentContextDistinctExp.d.ts +0 -8
- package/dist/interfaces/AgentContextInput.d.ts +0 -13
- package/dist/interfaces/AgentContextOrderBy.d.ts +0 -8
- package/dist/interfaces/CodeRevision.d.ts +0 -13
- package/dist/interfaces/CodeRevisionBoolExp.d.ts +0 -17
- package/dist/interfaces/CodeRevisionDistinctExp.d.ts +0 -10
- package/dist/interfaces/CodeRevisionInput.d.ts +0 -15
- package/dist/interfaces/CodeRevisionOrderBy.d.ts +0 -10
package/dist/index.mjs
CHANGED
|
@@ -52,8 +52,7 @@ const aggregateEntities = {
|
|
|
52
52
|
svgIconsAggregate: "SvgIcon",
|
|
53
53
|
tagsAggregate: "Tag",
|
|
54
54
|
agentThreadsAggregate: "AgentThread",
|
|
55
|
-
tempFilesAggregate: "TempFile"
|
|
56
|
-
agentContextsAggregate: "AgentContext"
|
|
55
|
+
tempFilesAggregate: "TempFile"
|
|
57
56
|
},
|
|
58
57
|
Lang: {
|
|
59
58
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -148,6 +147,10 @@ const aggregateEntities = {
|
|
|
148
147
|
},
|
|
149
148
|
AgentTimelineItem: {
|
|
150
149
|
attachmentsAggregate: "AgentAttachment"
|
|
150
|
+
},
|
|
151
|
+
AgentMemoFolder: {
|
|
152
|
+
filesAggregate: "AgentMemoFile",
|
|
153
|
+
childrenAggregate: "AgentMemoFolder"
|
|
151
154
|
}
|
|
152
155
|
};
|
|
153
156
|
class QueryOptions {
|
|
@@ -312,7 +315,7 @@ const UserEntityLabel = "";
|
|
|
312
315
|
const roleVariableToInputCascade = (entity) => {
|
|
313
316
|
return {
|
|
314
317
|
...entity,
|
|
315
|
-
role: entity.role ? processHasOneClear({ sync:
|
|
318
|
+
role: entity.role ? processHasOneClear({ sync: roleToInputCascade(entity.role) }) : void 0
|
|
316
319
|
};
|
|
317
320
|
};
|
|
318
321
|
const roleVariableToInput = (entity) => {
|
|
@@ -326,8 +329,8 @@ const roleToInputCascade = (entity) => {
|
|
|
326
329
|
const { variablesAggregate, usersAggregate, ...rest } = entity;
|
|
327
330
|
return {
|
|
328
331
|
...rest,
|
|
329
|
-
variables: entity.variables ? processHasManyClear({ sync: (_a = entity.variables) == null ? void 0 : _a.map((ent) =>
|
|
330
|
-
users: entity.users ? processHasManyClear({ sync: (_b = entity.users) == null ? void 0 : _b.map((ent) =>
|
|
332
|
+
variables: entity.variables ? processHasManyClear({ sync: (_a = entity.variables) == null ? void 0 : _a.map((ent) => roleVariableToInputCascade(ent)) }) : void 0,
|
|
333
|
+
users: entity.users ? processHasManyClear({ sync: (_b = entity.users) == null ? void 0 : _b.map((ent) => userToInputCascade(ent)) }) : void 0
|
|
331
334
|
};
|
|
332
335
|
};
|
|
333
336
|
const roleToInput = (entity) => {
|
|
@@ -343,7 +346,7 @@ const websiteTypeToInputCascade = (entity) => {
|
|
|
343
346
|
const { websitesAggregate, ...rest } = entity;
|
|
344
347
|
return {
|
|
345
348
|
...rest,
|
|
346
|
-
websites: entity.websites ? processHasManyClear({ sync: (_a = entity.websites) == null ? void 0 : _a.map((ent) =>
|
|
349
|
+
websites: entity.websites ? processHasManyClear({ sync: (_a = entity.websites) == null ? void 0 : _a.map((ent) => websiteToInputCascade(ent)) }) : void 0
|
|
347
350
|
};
|
|
348
351
|
};
|
|
349
352
|
const websiteTypeToInput = (entity) => {
|
|
@@ -358,12 +361,12 @@ const productCategoryToInputCascade = (entity) => {
|
|
|
358
361
|
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
359
362
|
return {
|
|
360
363
|
...rest,
|
|
361
|
-
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) =>
|
|
362
|
-
media: entity.media ? processHasOneClear({ sync:
|
|
363
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
364
|
-
parent: entity.parent ? processHasOneClear({ sync:
|
|
365
|
-
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) =>
|
|
366
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
364
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => productCategoryToInputCascade(ent)) }) : void 0,
|
|
365
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
366
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
367
|
+
parent: entity.parent ? processHasOneClear({ sync: productCategoryToInputCascade(entity.parent) }) : void 0,
|
|
368
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
369
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
367
370
|
};
|
|
368
371
|
};
|
|
369
372
|
const productCategoryToInput = (entity) => {
|
|
@@ -383,8 +386,8 @@ const componentCategoryToInputCascade = (entity) => {
|
|
|
383
386
|
const { componentsAggregate, ...rest } = entity;
|
|
384
387
|
return {
|
|
385
388
|
...rest,
|
|
386
|
-
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) =>
|
|
387
|
-
theme: entity.theme ? processHasOneClear({ sync:
|
|
389
|
+
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) => frontComponentToInputCascade(ent)) }) : void 0,
|
|
390
|
+
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0
|
|
388
391
|
};
|
|
389
392
|
};
|
|
390
393
|
const componentCategoryToInput = (entity) => {
|
|
@@ -398,9 +401,9 @@ const componentCategoryToInput = (entity) => {
|
|
|
398
401
|
const frontComponentToInputCascade = (entity) => {
|
|
399
402
|
return {
|
|
400
403
|
...entity,
|
|
401
|
-
cover: entity.cover ? processHasOneClear({ sync:
|
|
402
|
-
category: entity.category ? processHasOneClear({ sync:
|
|
403
|
-
theme: entity.theme ? processHasOneClear({ sync:
|
|
404
|
+
cover: entity.cover ? processHasOneClear({ sync: mediaToInputCascade(entity.cover) }) : void 0,
|
|
405
|
+
category: entity.category ? processHasOneClear({ sync: componentCategoryToInputCascade(entity.category) }) : void 0,
|
|
406
|
+
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0
|
|
404
407
|
};
|
|
405
408
|
};
|
|
406
409
|
const frontComponentToInput = (entity) => {
|
|
@@ -414,8 +417,8 @@ const frontComponentToInput = (entity) => {
|
|
|
414
417
|
const themeConfigToInputCascade = (entity) => {
|
|
415
418
|
return {
|
|
416
419
|
...entity,
|
|
417
|
-
contactAvatar: entity.contactAvatar ? processHasOneClear({ sync:
|
|
418
|
-
theme: entity.theme ? processHasOneClear({ sync:
|
|
420
|
+
contactAvatar: entity.contactAvatar ? processHasOneClear({ sync: mediaToInputCascade(entity.contactAvatar) }) : void 0,
|
|
421
|
+
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0
|
|
419
422
|
};
|
|
420
423
|
};
|
|
421
424
|
const themeConfigToInput = (entity) => {
|
|
@@ -428,7 +431,7 @@ const themeConfigToInput = (entity) => {
|
|
|
428
431
|
const styleConfigToInputCascade = (entity) => {
|
|
429
432
|
return {
|
|
430
433
|
...entity,
|
|
431
|
-
theme: entity.theme ? processHasOneClear({ sync:
|
|
434
|
+
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0
|
|
432
435
|
};
|
|
433
436
|
};
|
|
434
437
|
const styleConfigToInput = (entity) => {
|
|
@@ -442,10 +445,10 @@ const themeFileFolderToInputCascade = (entity) => {
|
|
|
442
445
|
const { foldersAggregate, filesAggregate, ...rest } = entity;
|
|
443
446
|
return {
|
|
444
447
|
...rest,
|
|
445
|
-
folders: entity.folders ? processHasManyClear({ sync: (_a = entity.folders) == null ? void 0 : _a.map((ent) =>
|
|
446
|
-
files: entity.files ? processHasManyClear({ sync: (_b = entity.files) == null ? void 0 : _b.map((ent) =>
|
|
447
|
-
themeBranch: entity.themeBranch ? processHasOneClear({ sync:
|
|
448
|
-
parent: entity.parent ? processHasOneClear({ sync:
|
|
448
|
+
folders: entity.folders ? processHasManyClear({ sync: (_a = entity.folders) == null ? void 0 : _a.map((ent) => themeFileFolderToInputCascade(ent)) }) : void 0,
|
|
449
|
+
files: entity.files ? processHasManyClear({ sync: (_b = entity.files) == null ? void 0 : _b.map((ent) => themeFileToInputCascade(ent)) }) : void 0,
|
|
450
|
+
themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.themeBranch) }) : void 0,
|
|
451
|
+
parent: entity.parent ? processHasOneClear({ sync: themeFileFolderToInputCascade(entity.parent) }) : void 0
|
|
449
452
|
};
|
|
450
453
|
};
|
|
451
454
|
const themeFileFolderToInput = (entity) => {
|
|
@@ -462,8 +465,8 @@ const themeFileToInputCascade = (entity) => {
|
|
|
462
465
|
const { storageMeta, ...rest } = entity;
|
|
463
466
|
return {
|
|
464
467
|
...rest,
|
|
465
|
-
themeBranch: entity.themeBranch ? processHasOneClear({ sync:
|
|
466
|
-
folder: entity.folder ? processHasOneClear({ sync:
|
|
468
|
+
themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.themeBranch) }) : void 0,
|
|
469
|
+
folder: entity.folder ? processHasOneClear({ sync: themeFileFolderToInputCascade(entity.folder) }) : void 0
|
|
467
470
|
};
|
|
468
471
|
};
|
|
469
472
|
const themeFileToInput = (entity) => {
|
|
@@ -474,30 +477,36 @@ const themeFileToInput = (entity) => {
|
|
|
474
477
|
folder: convertHasOneToInput(entity.folder)
|
|
475
478
|
};
|
|
476
479
|
};
|
|
477
|
-
const
|
|
480
|
+
const tempFileToInputCascade = (entity) => {
|
|
478
481
|
const { storageMeta, ...rest } = entity;
|
|
479
482
|
return {
|
|
480
483
|
...rest,
|
|
481
|
-
|
|
484
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
485
|
+
themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.themeBranch) }) : void 0,
|
|
486
|
+
agentAttachment: entity.agentAttachment ? processHasOneClear({ sync: agentAttachmentToInputCascade(entity.agentAttachment) }) : void 0
|
|
482
487
|
};
|
|
483
488
|
};
|
|
484
|
-
const
|
|
489
|
+
const tempFileToInput = (entity) => {
|
|
485
490
|
const { storageMeta, ...rest } = entity;
|
|
486
491
|
return {
|
|
487
492
|
...rest,
|
|
488
|
-
|
|
493
|
+
website: convertHasOneToInput(entity.website),
|
|
494
|
+
themeBranch: convertHasOneToInput(entity.themeBranch),
|
|
495
|
+
agentAttachment: convertHasOneToInput(entity.agentAttachment)
|
|
489
496
|
};
|
|
490
497
|
};
|
|
491
|
-
const
|
|
498
|
+
const agentAttachmentToInputCascade = (entity) => {
|
|
492
499
|
return {
|
|
493
500
|
...entity,
|
|
494
|
-
|
|
501
|
+
file: entity.file ? processHasOneClear({ sync: tempFileToInputCascade(entity.file) }) : void 0,
|
|
502
|
+
timelineItme: entity.timelineItme ? processHasOneClear({ sync: agentTimelineItemToInputCascade(entity.timelineItme) }) : void 0
|
|
495
503
|
};
|
|
496
504
|
};
|
|
497
|
-
const
|
|
505
|
+
const agentAttachmentToInput = (entity) => {
|
|
498
506
|
return {
|
|
499
507
|
...entity,
|
|
500
|
-
|
|
508
|
+
file: convertHasOneToInput(entity.file),
|
|
509
|
+
timelineItme: convertHasOneToInput(entity.timelineItme)
|
|
501
510
|
};
|
|
502
511
|
};
|
|
503
512
|
const agentTimelineItemToInputCascade = (entity) => {
|
|
@@ -505,9 +514,8 @@ const agentTimelineItemToInputCascade = (entity) => {
|
|
|
505
514
|
const { attachmentsAggregate, ...rest } = entity;
|
|
506
515
|
return {
|
|
507
516
|
...rest,
|
|
508
|
-
attachments: entity.attachments ? processHasManyClear({ sync: (_a = entity.attachments) == null ? void 0 : _a.map((ent) =>
|
|
509
|
-
|
|
510
|
-
run: entity.run ? processHasOneClear({ sync: agentRunToInput(entity.run) }) : void 0
|
|
517
|
+
attachments: entity.attachments ? processHasManyClear({ sync: (_a = entity.attachments) == null ? void 0 : _a.map((ent) => agentAttachmentToInputCascade(ent)) }) : void 0,
|
|
518
|
+
run: entity.run ? processHasOneClear({ sync: agentRunToInputCascade(entity.run) }) : void 0
|
|
511
519
|
};
|
|
512
520
|
};
|
|
513
521
|
const agentTimelineItemToInput = (entity) => {
|
|
@@ -515,7 +523,6 @@ const agentTimelineItemToInput = (entity) => {
|
|
|
515
523
|
return {
|
|
516
524
|
...rest,
|
|
517
525
|
attachments: convertHasManyToInput(entity.attachments),
|
|
518
|
-
codeRevision: convertHasOneToInput(entity.codeRevision),
|
|
519
526
|
run: convertHasOneToInput(entity.run)
|
|
520
527
|
};
|
|
521
528
|
};
|
|
@@ -524,8 +531,8 @@ const agentRunToInputCascade = (entity) => {
|
|
|
524
531
|
const { timelineAggregate, ...rest } = entity;
|
|
525
532
|
return {
|
|
526
533
|
...rest,
|
|
527
|
-
timeline: entity.timeline ? processHasManyClear({ sync: (_a = entity.timeline) == null ? void 0 : _a.map((ent) =>
|
|
528
|
-
thread: entity.thread ? processHasOneClear({ sync:
|
|
534
|
+
timeline: entity.timeline ? processHasManyClear({ sync: (_a = entity.timeline) == null ? void 0 : _a.map((ent) => agentTimelineItemToInputCascade(ent)) }) : void 0,
|
|
535
|
+
thread: entity.thread ? processHasOneClear({ sync: agentThreadToInputCascade(entity.thread) }) : void 0
|
|
529
536
|
};
|
|
530
537
|
};
|
|
531
538
|
const agentRunToInput = (entity) => {
|
|
@@ -541,10 +548,10 @@ const agentThreadToInputCascade = (entity) => {
|
|
|
541
548
|
const { runsAggregate, ...rest } = entity;
|
|
542
549
|
return {
|
|
543
550
|
...rest,
|
|
544
|
-
runs: entity.runs ? processHasManyClear({ sync: (_a = entity.runs) == null ? void 0 : _a.map((ent) =>
|
|
545
|
-
user: entity.user ? processHasOneClear({ sync:
|
|
546
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
547
|
-
themeBranch: entity.themeBranch ? processHasOneClear({ sync:
|
|
551
|
+
runs: entity.runs ? processHasManyClear({ sync: (_a = entity.runs) == null ? void 0 : _a.map((ent) => agentRunToInputCascade(ent)) }) : void 0,
|
|
552
|
+
user: entity.user ? processHasOneClear({ sync: userToInputCascade(entity.user) }) : void 0,
|
|
553
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
554
|
+
themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.themeBranch) }) : void 0
|
|
548
555
|
};
|
|
549
556
|
};
|
|
550
557
|
const agentThreadToInput = (entity) => {
|
|
@@ -557,28 +564,12 @@ const agentThreadToInput = (entity) => {
|
|
|
557
564
|
themeBranch: convertHasOneToInput(entity.themeBranch)
|
|
558
565
|
};
|
|
559
566
|
};
|
|
560
|
-
const tempFileToInputCascade = (entity) => {
|
|
561
|
-
const { storageMeta, ...rest } = entity;
|
|
562
|
-
return {
|
|
563
|
-
...rest,
|
|
564
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
|
|
565
|
-
themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInput(entity.themeBranch) }) : void 0
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
const tempFileToInput = (entity) => {
|
|
569
|
-
const { storageMeta, ...rest } = entity;
|
|
570
|
-
return {
|
|
571
|
-
...rest,
|
|
572
|
-
website: convertHasOneToInput(entity.website),
|
|
573
|
-
themeBranch: convertHasOneToInput(entity.themeBranch)
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
567
|
const themeInMarketToInputCascade = (entity) => {
|
|
577
568
|
var _a;
|
|
578
569
|
const { versionsAggregate, ...rest } = entity;
|
|
579
570
|
return {
|
|
580
571
|
...rest,
|
|
581
|
-
versions: entity.versions ? processHasManyClear({ sync: (_a = entity.versions) == null ? void 0 : _a.map((ent) =>
|
|
572
|
+
versions: entity.versions ? processHasManyClear({ sync: (_a = entity.versions) == null ? void 0 : _a.map((ent) => themeVersionToInputCascade(ent)) }) : void 0
|
|
582
573
|
};
|
|
583
574
|
};
|
|
584
575
|
const themeInMarketToInput = (entity) => {
|
|
@@ -591,8 +582,8 @@ const themeInMarketToInput = (entity) => {
|
|
|
591
582
|
const themeVersionToInputCascade = (entity) => {
|
|
592
583
|
return {
|
|
593
584
|
...entity,
|
|
594
|
-
theme: entity.theme ? processHasOneClear({ sync:
|
|
595
|
-
themeInMarket: entity.themeInMarket ? processHasOneClear({ sync:
|
|
585
|
+
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0,
|
|
586
|
+
themeInMarket: entity.themeInMarket ? processHasOneClear({ sync: themeInMarketToInputCascade(entity.themeInMarket) }) : void 0
|
|
596
587
|
};
|
|
597
588
|
};
|
|
598
589
|
const themeVersionToInput = (entity) => {
|
|
@@ -607,7 +598,7 @@ const themeCategoryToInputCascade = (entity) => {
|
|
|
607
598
|
const { themesAggregate, ...rest } = entity;
|
|
608
599
|
return {
|
|
609
600
|
...rest,
|
|
610
|
-
themes: entity.themes ? processHasManyClear({ sync: (_a = entity.themes) == null ? void 0 : _a.map((ent) =>
|
|
601
|
+
themes: entity.themes ? processHasManyClear({ sync: (_a = entity.themes) == null ? void 0 : _a.map((ent) => themeToInputCascade(ent)) }) : void 0
|
|
611
602
|
};
|
|
612
603
|
};
|
|
613
604
|
const themeCategoryToInput = (entity) => {
|
|
@@ -622,9 +613,9 @@ const themeToInputCascade = (entity) => {
|
|
|
622
613
|
const { branchesAggregate, ...rest } = entity;
|
|
623
614
|
return {
|
|
624
615
|
...rest,
|
|
625
|
-
branches: entity.branches ? processHasManyClear({ sync: (_a = entity.branches) == null ? void 0 : _a.map((ent) =>
|
|
626
|
-
cover: entity.cover ? processHasOneClear({ sync:
|
|
627
|
-
category: entity.category ? processHasOneClear({ sync:
|
|
616
|
+
branches: entity.branches ? processHasManyClear({ sync: (_a = entity.branches) == null ? void 0 : _a.map((ent) => themeBranchToInputCascade(ent)) }) : void 0,
|
|
617
|
+
cover: entity.cover ? processHasOneClear({ sync: mediaToInputCascade(entity.cover) }) : void 0,
|
|
618
|
+
category: entity.category ? processHasOneClear({ sync: themeCategoryToInputCascade(entity.category) }) : void 0
|
|
628
619
|
};
|
|
629
620
|
};
|
|
630
621
|
const themeToInput = (entity) => {
|
|
@@ -641,20 +632,20 @@ const themeBranchToInputCascade = (entity) => {
|
|
|
641
632
|
const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, filesAggregate, foldersAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
642
633
|
return {
|
|
643
634
|
...rest,
|
|
644
|
-
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) =>
|
|
645
|
-
componentCategories: entity.componentCategories ? processHasManyClear({ sync: (_b = entity.componentCategories) == null ? void 0 : _b.map((ent) =>
|
|
646
|
-
pages: entity.pages ? processHasManyClear({ sync: (_c = entity.pages) == null ? void 0 : _c.map((ent) =>
|
|
647
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
648
|
-
config: entity.config ? processHasOneClear({ sync:
|
|
649
|
-
styleConfig: entity.styleConfig ? processHasOneClear({ sync:
|
|
650
|
-
mockWebsite: entity.mockWebsite ? processHasOneClear({ sync:
|
|
651
|
-
files: entity.files ? processHasManyClear({ sync: (_d = entity.files) == null ? void 0 : _d.map((ent) =>
|
|
652
|
-
folders: entity.folders ? processHasManyClear({ sync: (_e = entity.folders) == null ? void 0 : _e.map((ent) =>
|
|
653
|
-
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_f = entity.agentThreads) == null ? void 0 : _f.map((ent) =>
|
|
654
|
-
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_g = entity.tempFiles) == null ? void 0 : _g.map((ent) =>
|
|
655
|
-
marketVersion: entity.marketVersion ? processHasOneClear({ sync:
|
|
656
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
657
|
-
belongsToMain: entity.belongsToMain ? processHasOneClear({ sync:
|
|
635
|
+
components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) => frontComponentToInputCascade(ent)) }) : void 0,
|
|
636
|
+
componentCategories: entity.componentCategories ? processHasManyClear({ sync: (_b = entity.componentCategories) == null ? void 0 : _b.map((ent) => componentCategoryToInputCascade(ent)) }) : void 0,
|
|
637
|
+
pages: entity.pages ? processHasManyClear({ sync: (_c = entity.pages) == null ? void 0 : _c.map((ent) => pageToInputCascade(ent)) }) : void 0,
|
|
638
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
639
|
+
config: entity.config ? processHasOneClear({ sync: themeConfigToInputCascade(entity.config) }) : void 0,
|
|
640
|
+
styleConfig: entity.styleConfig ? processHasOneClear({ sync: styleConfigToInputCascade(entity.styleConfig) }) : void 0,
|
|
641
|
+
mockWebsite: entity.mockWebsite ? processHasOneClear({ sync: websiteToInputCascade(entity.mockWebsite) }) : void 0,
|
|
642
|
+
files: entity.files ? processHasManyClear({ sync: (_d = entity.files) == null ? void 0 : _d.map((ent) => themeFileToInputCascade(ent)) }) : void 0,
|
|
643
|
+
folders: entity.folders ? processHasManyClear({ sync: (_e = entity.folders) == null ? void 0 : _e.map((ent) => themeFileFolderToInputCascade(ent)) }) : void 0,
|
|
644
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_f = entity.agentThreads) == null ? void 0 : _f.map((ent) => agentThreadToInputCascade(ent)) }) : void 0,
|
|
645
|
+
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_g = entity.tempFiles) == null ? void 0 : _g.map((ent) => tempFileToInputCascade(ent)) }) : void 0,
|
|
646
|
+
marketVersion: entity.marketVersion ? processHasOneClear({ sync: themeVersionToInputCascade(entity.marketVersion) }) : void 0,
|
|
647
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
648
|
+
belongsToMain: entity.belongsToMain ? processHasOneClear({ sync: themeToInputCascade(entity.belongsToMain) }) : void 0
|
|
658
649
|
};
|
|
659
650
|
};
|
|
660
651
|
const themeBranchToInput = (entity) => {
|
|
@@ -680,8 +671,8 @@ const themeBranchToInput = (entity) => {
|
|
|
680
671
|
const pageToInputCascade = (entity) => {
|
|
681
672
|
return {
|
|
682
673
|
...entity,
|
|
683
|
-
meta: entity.meta ? processHasOneClear({ sync:
|
|
684
|
-
theme: entity.theme ? processHasOneClear({ sync:
|
|
674
|
+
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
675
|
+
theme: entity.theme ? processHasOneClear({ sync: themeBranchToInputCascade(entity.theme) }) : void 0
|
|
685
676
|
};
|
|
686
677
|
};
|
|
687
678
|
const pageToInput = (entity) => {
|
|
@@ -694,10 +685,10 @@ const pageToInput = (entity) => {
|
|
|
694
685
|
const pageMetaToInputCascade = (entity) => {
|
|
695
686
|
return {
|
|
696
687
|
...entity,
|
|
697
|
-
ogImage: entity.ogImage ? processHasOneClear({ sync:
|
|
698
|
-
product: entity.product ? processHasOneClear({ sync:
|
|
699
|
-
page: entity.page ? processHasOneClear({ sync:
|
|
700
|
-
post: entity.post ? processHasOneClear({ sync:
|
|
688
|
+
ogImage: entity.ogImage ? processHasOneClear({ sync: mediaToInputCascade(entity.ogImage) }) : void 0,
|
|
689
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0,
|
|
690
|
+
page: entity.page ? processHasOneClear({ sync: pageToInputCascade(entity.page) }) : void 0,
|
|
691
|
+
post: entity.post ? processHasOneClear({ sync: postToInputCascade(entity.post) }) : void 0
|
|
701
692
|
};
|
|
702
693
|
};
|
|
703
694
|
const pageMetaToInput = (entity) => {
|
|
@@ -714,12 +705,12 @@ const postCategoryToInputCascade = (entity) => {
|
|
|
714
705
|
const { childrenAggregate, postsAggregate, ...rest } = entity;
|
|
715
706
|
return {
|
|
716
707
|
...rest,
|
|
717
|
-
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) =>
|
|
718
|
-
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) =>
|
|
719
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
720
|
-
media: entity.media ? processHasOneClear({ sync:
|
|
721
|
-
parent: entity.parent ? processHasOneClear({ sync:
|
|
722
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
708
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => postCategoryToInputCascade(ent)) }) : void 0,
|
|
709
|
+
posts: entity.posts ? processHasManyClear({ sync: (_b = entity.posts) == null ? void 0 : _b.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
710
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
711
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
712
|
+
parent: entity.parent ? processHasOneClear({ sync: postCategoryToInputCascade(entity.parent) }) : void 0,
|
|
713
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
723
714
|
};
|
|
724
715
|
};
|
|
725
716
|
const postCategoryToInput = (entity) => {
|
|
@@ -739,13 +730,13 @@ const postToInputCascade = (entity) => {
|
|
|
739
730
|
const { tagsAggregate, ...rest } = entity;
|
|
740
731
|
return {
|
|
741
732
|
...rest,
|
|
742
|
-
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) =>
|
|
743
|
-
author: entity.author ? processHasOneClear({ sync:
|
|
744
|
-
cover: entity.cover ? processHasOneClear({ sync:
|
|
745
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
746
|
-
meta: entity.meta ? processHasOneClear({ sync:
|
|
747
|
-
category: entity.category ? processHasOneClear({ sync:
|
|
748
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
733
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
734
|
+
author: entity.author ? processHasOneClear({ sync: userToInputCascade(entity.author) }) : void 0,
|
|
735
|
+
cover: entity.cover ? processHasOneClear({ sync: mediaToInputCascade(entity.cover) }) : void 0,
|
|
736
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
737
|
+
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
738
|
+
category: entity.category ? processHasOneClear({ sync: postCategoryToInputCascade(entity.category) }) : void 0,
|
|
739
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
749
740
|
};
|
|
750
741
|
};
|
|
751
742
|
const postToInput = (entity) => {
|
|
@@ -766,10 +757,10 @@ const tagCategoryToInputCascade = (entity) => {
|
|
|
766
757
|
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
767
758
|
return {
|
|
768
759
|
...rest,
|
|
769
|
-
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) =>
|
|
770
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
771
|
-
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) =>
|
|
772
|
-
parent: entity.parent ? processHasOneClear({ sync:
|
|
760
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
761
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
762
|
+
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => tagCategoryToInputCascade(ent)) }) : void 0,
|
|
763
|
+
parent: entity.parent ? processHasOneClear({ sync: tagCategoryToInputCascade(entity.parent) }) : void 0
|
|
773
764
|
};
|
|
774
765
|
};
|
|
775
766
|
const tagCategoryToInput = (entity) => {
|
|
@@ -787,11 +778,11 @@ const tagToInputCascade = (entity) => {
|
|
|
787
778
|
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
788
779
|
return {
|
|
789
780
|
...rest,
|
|
790
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
791
|
-
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) =>
|
|
792
|
-
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) =>
|
|
793
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
794
|
-
category: entity.category ? processHasOneClear({ sync:
|
|
781
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
782
|
+
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
783
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
784
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
785
|
+
category: entity.category ? processHasOneClear({ sync: tagCategoryToInputCascade(entity.category) }) : void 0
|
|
795
786
|
};
|
|
796
787
|
};
|
|
797
788
|
const tagToInput = (entity) => {
|
|
@@ -808,8 +799,8 @@ const tagToInput = (entity) => {
|
|
|
808
799
|
const mediaOnProductToInputCascade = (entity) => {
|
|
809
800
|
return {
|
|
810
801
|
...entity,
|
|
811
|
-
media: entity.media ? processHasOneClear({ sync:
|
|
812
|
-
product: entity.product ? processHasOneClear({ sync:
|
|
802
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
803
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
813
804
|
};
|
|
814
805
|
};
|
|
815
806
|
const mediaOnProductToInput = (entity) => {
|
|
@@ -822,8 +813,8 @@ const mediaOnProductToInput = (entity) => {
|
|
|
822
813
|
const attachmentOnProductToInputCascade = (entity) => {
|
|
823
814
|
return {
|
|
824
815
|
...entity,
|
|
825
|
-
attachment: entity.attachment ? processHasOneClear({ sync:
|
|
826
|
-
product: entity.product ? processHasOneClear({ sync:
|
|
816
|
+
attachment: entity.attachment ? processHasOneClear({ sync: mediaToInputCascade(entity.attachment) }) : void 0,
|
|
817
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
827
818
|
};
|
|
828
819
|
};
|
|
829
820
|
const attachmentOnProductToInput = (entity) => {
|
|
@@ -836,7 +827,7 @@ const attachmentOnProductToInput = (entity) => {
|
|
|
836
827
|
const fAQToInputCascade = (entity) => {
|
|
837
828
|
return {
|
|
838
829
|
...entity,
|
|
839
|
-
product: entity.product ? processHasOneClear({ sync:
|
|
830
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0
|
|
840
831
|
};
|
|
841
832
|
};
|
|
842
833
|
const fAQToInput = (entity) => {
|
|
@@ -848,8 +839,8 @@ const fAQToInput = (entity) => {
|
|
|
848
839
|
const productRelatedPivotToInputCascade = (entity) => {
|
|
849
840
|
return {
|
|
850
841
|
...entity,
|
|
851
|
-
product: entity.product ? processHasOneClear({ sync:
|
|
852
|
-
relatedBy: entity.relatedBy ? processHasOneClear({ sync:
|
|
842
|
+
product: entity.product ? processHasOneClear({ sync: productToInputCascade(entity.product) }) : void 0,
|
|
843
|
+
relatedBy: entity.relatedBy ? processHasOneClear({ sync: productToInputCascade(entity.relatedBy) }) : void 0
|
|
853
844
|
};
|
|
854
845
|
};
|
|
855
846
|
const productRelatedPivotToInput = (entity) => {
|
|
@@ -864,17 +855,17 @@ const productToInputCascade = (entity) => {
|
|
|
864
855
|
const { tagsAggregate, mediaPivotsAggregate, attachmentPivotsAggregate, faqsAggregate, relatedPivotsAggregate, relatedByPovitAggregate, ...rest } = entity;
|
|
865
856
|
return {
|
|
866
857
|
...rest,
|
|
867
|
-
category: entity.category ? processHasOneClear({ sync:
|
|
868
|
-
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) =>
|
|
869
|
-
mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) =>
|
|
870
|
-
attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) =>
|
|
871
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
872
|
-
meta: entity.meta ? processHasOneClear({ sync:
|
|
873
|
-
faqs: entity.faqs ? processHasManyClear({ sync: (_d = entity.faqs) == null ? void 0 : _d.map((ent) =>
|
|
874
|
-
relatedPivots: entity.relatedPivots ? processHasManyClear({ sync: (_e = entity.relatedPivots) == null ? void 0 : _e.map((ent) =>
|
|
875
|
-
creator: entity.creator ? processHasOneClear({ sync:
|
|
876
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
877
|
-
relatedByPovit: entity.relatedByPovit ? processHasManyClear({ sync: (_f = entity.relatedByPovit) == null ? void 0 : _f.map((ent) =>
|
|
858
|
+
category: entity.category ? processHasOneClear({ sync: productCategoryToInputCascade(entity.category) }) : void 0,
|
|
859
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
860
|
+
mediaPivots: entity.mediaPivots ? processHasManyClear({ sync: (_b = entity.mediaPivots) == null ? void 0 : _b.map((ent) => mediaOnProductToInputCascade(ent)) }) : void 0,
|
|
861
|
+
attachmentPivots: entity.attachmentPivots ? processHasManyClear({ sync: (_c = entity.attachmentPivots) == null ? void 0 : _c.map((ent) => attachmentOnProductToInputCascade(ent)) }) : void 0,
|
|
862
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
863
|
+
meta: entity.meta ? processHasOneClear({ sync: pageMetaToInputCascade(entity.meta) }) : void 0,
|
|
864
|
+
faqs: entity.faqs ? processHasManyClear({ sync: (_d = entity.faqs) == null ? void 0 : _d.map((ent) => fAQToInputCascade(ent)) }) : void 0,
|
|
865
|
+
relatedPivots: entity.relatedPivots ? processHasManyClear({ sync: (_e = entity.relatedPivots) == null ? void 0 : _e.map((ent) => productRelatedPivotToInputCascade(ent)) }) : void 0,
|
|
866
|
+
creator: entity.creator ? processHasOneClear({ sync: userToInputCascade(entity.creator) }) : void 0,
|
|
867
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
868
|
+
relatedByPovit: entity.relatedByPovit ? processHasManyClear({ sync: (_f = entity.relatedByPovit) == null ? void 0 : _f.map((ent) => productRelatedPivotToInputCascade(ent)) }) : void 0
|
|
878
869
|
};
|
|
879
870
|
};
|
|
880
871
|
const productToInput = (entity) => {
|
|
@@ -897,8 +888,8 @@ const productToInput = (entity) => {
|
|
|
897
888
|
const spamFilterRuleToInputCascade = (entity) => {
|
|
898
889
|
return {
|
|
899
890
|
...entity,
|
|
900
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
901
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
891
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
892
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
902
893
|
};
|
|
903
894
|
};
|
|
904
895
|
const spamFilterRuleToInput = (entity) => {
|
|
@@ -911,7 +902,7 @@ const spamFilterRuleToInput = (entity) => {
|
|
|
911
902
|
const analyticsConfigToInputCascade = (entity) => {
|
|
912
903
|
return {
|
|
913
904
|
...entity,
|
|
914
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
905
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
915
906
|
};
|
|
916
907
|
};
|
|
917
908
|
const analyticsConfigToInput = (entity) => {
|
|
@@ -923,7 +914,7 @@ const analyticsConfigToInput = (entity) => {
|
|
|
923
914
|
const websiteSettingsToInputCascade = (entity) => {
|
|
924
915
|
return {
|
|
925
916
|
...entity,
|
|
926
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
917
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
927
918
|
};
|
|
928
919
|
};
|
|
929
920
|
const websiteSettingsToInput = (entity) => {
|
|
@@ -935,7 +926,7 @@ const websiteSettingsToInput = (entity) => {
|
|
|
935
926
|
const changeLogToInputCascade = (entity) => {
|
|
936
927
|
return {
|
|
937
928
|
...entity,
|
|
938
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
929
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
939
930
|
};
|
|
940
931
|
};
|
|
941
932
|
const changeLogToInput = (entity) => {
|
|
@@ -947,8 +938,8 @@ const changeLogToInput = (entity) => {
|
|
|
947
938
|
const searchIndexToInputCascade = (entity) => {
|
|
948
939
|
return {
|
|
949
940
|
...entity,
|
|
950
|
-
media: entity.media ? processHasOneClear({ sync:
|
|
951
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
941
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInputCascade(entity.media) }) : void 0,
|
|
942
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
952
943
|
};
|
|
953
944
|
};
|
|
954
945
|
const searchIndexToInput = (entity) => {
|
|
@@ -961,8 +952,8 @@ const searchIndexToInput = (entity) => {
|
|
|
961
952
|
const bulletinToInputCascade = (entity) => {
|
|
962
953
|
return {
|
|
963
954
|
...entity,
|
|
964
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
965
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
955
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
956
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
966
957
|
};
|
|
967
958
|
};
|
|
968
959
|
const bulletinToInput = (entity) => {
|
|
@@ -977,8 +968,8 @@ const websiteSnapshotToInputCascade = (entity) => {
|
|
|
977
968
|
const { mediasAggregate, ...rest } = entity;
|
|
978
969
|
return {
|
|
979
970
|
...rest,
|
|
980
|
-
medias: entity.medias ? processHasManyClear({ sync: (_a = entity.medias) == null ? void 0 : _a.map((ent) =>
|
|
981
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
971
|
+
medias: entity.medias ? processHasManyClear({ sync: (_a = entity.medias) == null ? void 0 : _a.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
972
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
982
973
|
};
|
|
983
974
|
};
|
|
984
975
|
const websiteSnapshotToInput = (entity) => {
|
|
@@ -992,8 +983,8 @@ const websiteSnapshotToInput = (entity) => {
|
|
|
992
983
|
const userOperationToInputCascade = (entity) => {
|
|
993
984
|
return {
|
|
994
985
|
...entity,
|
|
995
|
-
user: entity.user ? processHasOneClear({ sync:
|
|
996
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
986
|
+
user: entity.user ? processHasOneClear({ sync: userToInputCascade(entity.user) }) : void 0,
|
|
987
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
997
988
|
};
|
|
998
989
|
};
|
|
999
990
|
const userOperationToInput = (entity) => {
|
|
@@ -1006,7 +997,7 @@ const userOperationToInput = (entity) => {
|
|
|
1006
997
|
const svgIconToInputCascade = (entity) => {
|
|
1007
998
|
return {
|
|
1008
999
|
...entity,
|
|
1009
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1000
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1010
1001
|
};
|
|
1011
1002
|
};
|
|
1012
1003
|
const svgIconToInput = (entity) => {
|
|
@@ -1015,68 +1006,55 @@ const svgIconToInput = (entity) => {
|
|
|
1015
1006
|
website: convertHasOneToInput(entity.website)
|
|
1016
1007
|
};
|
|
1017
1008
|
};
|
|
1018
|
-
const
|
|
1009
|
+
const websiteProfileToInputCascade = (entity) => {
|
|
1019
1010
|
return {
|
|
1020
1011
|
...entity,
|
|
1021
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1012
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1022
1013
|
};
|
|
1023
1014
|
};
|
|
1024
|
-
const
|
|
1025
|
-
return {
|
|
1026
|
-
...entity,
|
|
1027
|
-
website: convertHasOneToInput(entity.website)
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
const siteBlueprintToInputCascade = (entity) => {
|
|
1031
|
-
return {
|
|
1032
|
-
...entity,
|
|
1033
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
1034
|
-
};
|
|
1035
|
-
};
|
|
1036
|
-
const siteBlueprintToInput = (entity) => {
|
|
1015
|
+
const websiteProfileToInput = (entity) => {
|
|
1037
1016
|
return {
|
|
1038
1017
|
...entity,
|
|
1039
1018
|
website: convertHasOneToInput(entity.website)
|
|
1040
1019
|
};
|
|
1041
1020
|
};
|
|
1042
1021
|
const websiteToInputCascade = (entity) => {
|
|
1043
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u
|
|
1044
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate,
|
|
1022
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
1023
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
1045
1024
|
return {
|
|
1046
1025
|
...rest,
|
|
1047
|
-
websiteType: entity.websiteType ? processHasOneClear({ sync:
|
|
1048
|
-
owner: entity.owner ? processHasOneClear({ sync:
|
|
1049
|
-
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) =>
|
|
1050
|
-
partsOfMediaFolder: entity.partsOfMediaFolder ? processHasManyClear({ sync: (_b = entity.partsOfMediaFolder) == null ? void 0 : _b.map((ent) =>
|
|
1051
|
-
partsOfEnquiry: entity.partsOfEnquiry ? processHasManyClear({ sync: (_c = entity.partsOfEnquiry) == null ? void 0 : _c.map((ent) =>
|
|
1052
|
-
partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_d = entity.partsOfProduct) == null ? void 0 : _d.map((ent) =>
|
|
1053
|
-
partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_e = entity.partsOfPost) == null ? void 0 : _e.map((ent) =>
|
|
1054
|
-
partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_f = entity.partsOfPostCategory) == null ? void 0 : _f.map((ent) =>
|
|
1055
|
-
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_g = entity.partsOfCustomer) == null ? void 0 : _g.map((ent) =>
|
|
1056
|
-
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_h = entity.partsOfProductCategory) == null ? void 0 : _h.map((ent) =>
|
|
1057
|
-
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_i = entity.partsOfSpamFilterRule) == null ? void 0 : _i.map((ent) =>
|
|
1058
|
-
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_j = entity.partsOfMedia) == null ? void 0 : _j.map((ent) =>
|
|
1059
|
-
langs: entity.langs ? processHasManyClear({ sync: (_k = entity.langs) == null ? void 0 : _k.map((ent) =>
|
|
1060
|
-
baseLang: entity.baseLang ? processHasOneClear({ sync:
|
|
1061
|
-
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) =>
|
|
1062
|
-
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync:
|
|
1063
|
-
settings: entity.settings ? processHasOneClear({ sync:
|
|
1064
|
-
changelogs: entity.changelogs ? processHasManyClear({ sync: (_m = entity.changelogs) == null ? void 0 : _m.map((ent) =>
|
|
1065
|
-
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (_n = entity.searchIndexes) == null ? void 0 : _n.map((ent) =>
|
|
1066
|
-
bulletins: entity.bulletins ? processHasManyClear({ sync: (_o = entity.bulletins) == null ? void 0 : _o.map((ent) =>
|
|
1067
|
-
snapshots: entity.snapshots ? processHasManyClear({ sync: (_p = entity.snapshots) == null ? void 0 : _p.map((ent) =>
|
|
1068
|
-
userOperations: entity.userOperations ? processHasManyClear({ sync: (_q = entity.userOperations) == null ? void 0 : _q.map((ent) =>
|
|
1069
|
-
svgIcons: entity.svgIcons ? processHasManyClear({ sync: (_r = entity.svgIcons) == null ? void 0 : _r.map((ent) =>
|
|
1070
|
-
tags: entity.tags ? processHasManyClear({ sync: (_s = entity.tags) == null ? void 0 : _s.map((ent) =>
|
|
1071
|
-
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_t = entity.agentThreads) == null ? void 0 : _t.map((ent) =>
|
|
1072
|
-
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_u = entity.tempFiles) == null ? void 0 : _u.map((ent) =>
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInput(entity.mockBranch) }) : void 0
|
|
1026
|
+
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInputCascade(entity.websiteType) }) : void 0,
|
|
1027
|
+
owner: entity.owner ? processHasOneClear({ sync: userToInputCascade(entity.owner) }) : void 0,
|
|
1028
|
+
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInputCascade(ent)) }) : void 0,
|
|
1029
|
+
partsOfMediaFolder: entity.partsOfMediaFolder ? processHasManyClear({ sync: (_b = entity.partsOfMediaFolder) == null ? void 0 : _b.map((ent) => mediaFolderToInputCascade(ent)) }) : void 0,
|
|
1030
|
+
partsOfEnquiry: entity.partsOfEnquiry ? processHasManyClear({ sync: (_c = entity.partsOfEnquiry) == null ? void 0 : _c.map((ent) => enquiryToInputCascade(ent)) }) : void 0,
|
|
1031
|
+
partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_d = entity.partsOfProduct) == null ? void 0 : _d.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
1032
|
+
partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_e = entity.partsOfPost) == null ? void 0 : _e.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
1033
|
+
partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_f = entity.partsOfPostCategory) == null ? void 0 : _f.map((ent) => postCategoryToInputCascade(ent)) }) : void 0,
|
|
1034
|
+
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_g = entity.partsOfCustomer) == null ? void 0 : _g.map((ent) => customerToInputCascade(ent)) }) : void 0,
|
|
1035
|
+
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_h = entity.partsOfProductCategory) == null ? void 0 : _h.map((ent) => productCategoryToInputCascade(ent)) }) : void 0,
|
|
1036
|
+
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_i = entity.partsOfSpamFilterRule) == null ? void 0 : _i.map((ent) => spamFilterRuleToInputCascade(ent)) }) : void 0,
|
|
1037
|
+
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_j = entity.partsOfMedia) == null ? void 0 : _j.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1038
|
+
langs: entity.langs ? processHasManyClear({ sync: (_k = entity.langs) == null ? void 0 : _k.map((ent) => langToInputCascade(ent)) }) : void 0,
|
|
1039
|
+
baseLang: entity.baseLang ? processHasOneClear({ sync: langToInputCascade(entity.baseLang) }) : void 0,
|
|
1040
|
+
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) => themeBranchToInputCascade(ent)) }) : void 0,
|
|
1041
|
+
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInputCascade(entity.analyticsConfig) }) : void 0,
|
|
1042
|
+
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInputCascade(entity.settings) }) : void 0,
|
|
1043
|
+
changelogs: entity.changelogs ? processHasManyClear({ sync: (_m = entity.changelogs) == null ? void 0 : _m.map((ent) => changeLogToInputCascade(ent)) }) : void 0,
|
|
1044
|
+
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (_n = entity.searchIndexes) == null ? void 0 : _n.map((ent) => searchIndexToInputCascade(ent)) }) : void 0,
|
|
1045
|
+
bulletins: entity.bulletins ? processHasManyClear({ sync: (_o = entity.bulletins) == null ? void 0 : _o.map((ent) => bulletinToInputCascade(ent)) }) : void 0,
|
|
1046
|
+
snapshots: entity.snapshots ? processHasManyClear({ sync: (_p = entity.snapshots) == null ? void 0 : _p.map((ent) => websiteSnapshotToInputCascade(ent)) }) : void 0,
|
|
1047
|
+
userOperations: entity.userOperations ? processHasManyClear({ sync: (_q = entity.userOperations) == null ? void 0 : _q.map((ent) => userOperationToInputCascade(ent)) }) : void 0,
|
|
1048
|
+
svgIcons: entity.svgIcons ? processHasManyClear({ sync: (_r = entity.svgIcons) == null ? void 0 : _r.map((ent) => svgIconToInputCascade(ent)) }) : void 0,
|
|
1049
|
+
tags: entity.tags ? processHasManyClear({ sync: (_s = entity.tags) == null ? void 0 : _s.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
1050
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_t = entity.agentThreads) == null ? void 0 : _t.map((ent) => agentThreadToInputCascade(ent)) }) : void 0,
|
|
1051
|
+
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_u = entity.tempFiles) == null ? void 0 : _u.map((ent) => tempFileToInputCascade(ent)) }) : void 0,
|
|
1052
|
+
profile: entity.profile ? processHasOneClear({ sync: websiteProfileToInputCascade(entity.profile) }) : void 0,
|
|
1053
|
+
mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.mockBranch) }) : void 0
|
|
1076
1054
|
};
|
|
1077
1055
|
};
|
|
1078
1056
|
const websiteToInput = (entity) => {
|
|
1079
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate,
|
|
1057
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
1080
1058
|
return {
|
|
1081
1059
|
...rest,
|
|
1082
1060
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -1105,8 +1083,7 @@ const websiteToInput = (entity) => {
|
|
|
1105
1083
|
tags: convertHasManyToInput(entity.tags),
|
|
1106
1084
|
agentThreads: convertHasManyToInput(entity.agentThreads),
|
|
1107
1085
|
tempFiles: convertHasManyToInput(entity.tempFiles),
|
|
1108
|
-
|
|
1109
|
-
siteBlueprint: convertHasOneToInput(entity.siteBlueprint),
|
|
1086
|
+
profile: convertHasOneToInput(entity.profile),
|
|
1110
1087
|
mockBranch: convertHasOneToInput(entity.mockBranch)
|
|
1111
1088
|
};
|
|
1112
1089
|
};
|
|
@@ -1115,9 +1092,9 @@ const customerToInputCascade = (entity) => {
|
|
|
1115
1092
|
const { enquiresAggregate, ...rest } = entity;
|
|
1116
1093
|
return {
|
|
1117
1094
|
...rest,
|
|
1118
|
-
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) =>
|
|
1119
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
1120
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1095
|
+
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInputCascade(ent)) }) : void 0,
|
|
1096
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
1097
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1121
1098
|
};
|
|
1122
1099
|
};
|
|
1123
1100
|
const customerToInput = (entity) => {
|
|
@@ -1134,10 +1111,10 @@ const enquiryToInputCascade = (entity) => {
|
|
|
1134
1111
|
const { attachmentsAggregate, ...rest } = entity;
|
|
1135
1112
|
return {
|
|
1136
1113
|
...rest,
|
|
1137
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
1138
|
-
attachments: entity.attachments ? processHasManyClear({ sync: (_a = entity.attachments) == null ? void 0 : _a.map((ent) =>
|
|
1139
|
-
customer: entity.customer ? processHasOneClear({ sync:
|
|
1140
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1114
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
1115
|
+
attachments: entity.attachments ? processHasManyClear({ sync: (_a = entity.attachments) == null ? void 0 : _a.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1116
|
+
customer: entity.customer ? processHasOneClear({ sync: customerToInputCascade(entity.customer) }) : void 0,
|
|
1117
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1141
1118
|
};
|
|
1142
1119
|
};
|
|
1143
1120
|
const enquiryToInput = (entity) => {
|
|
@@ -1155,21 +1132,21 @@ const langToInputCascade = (entity) => {
|
|
|
1155
1132
|
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
1156
1133
|
return {
|
|
1157
1134
|
...rest,
|
|
1158
|
-
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) =>
|
|
1159
|
-
webPartsOfEnquiry: entity.webPartsOfEnquiry ? processHasManyClear({ sync: (_b = entity.webPartsOfEnquiry) == null ? void 0 : _b.map((ent) =>
|
|
1160
|
-
webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_c = entity.webPartsOfProduct) == null ? void 0 : _c.map((ent) =>
|
|
1161
|
-
webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_d = entity.webPartsOfPost) == null ? void 0 : _d.map((ent) =>
|
|
1162
|
-
webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_e = entity.webPartsOfPostCategory) == null ? void 0 : _e.map((ent) =>
|
|
1163
|
-
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_f = entity.webPartsOfCustomer) == null ? void 0 : _f.map((ent) =>
|
|
1164
|
-
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_g = entity.webPartsOfProductCategory) == null ? void 0 : _g.map((ent) =>
|
|
1165
|
-
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_h = entity.webPartsOfSpamFilterRule) == null ? void 0 : _h.map((ent) =>
|
|
1166
|
-
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_i = entity.webPartsOfMedia) == null ? void 0 : _i.map((ent) =>
|
|
1167
|
-
websites: entity.websites ? processHasManyClear({ sync: (_j = entity.websites) == null ? void 0 : _j.map((ent) =>
|
|
1168
|
-
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_k = entity.baseLangOf) == null ? void 0 : _k.map((ent) =>
|
|
1169
|
-
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) =>
|
|
1170
|
-
bulletins: entity.bulletins ? processHasManyClear({ sync: (_m = entity.bulletins) == null ? void 0 : _m.map((ent) =>
|
|
1171
|
-
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) =>
|
|
1172
|
-
tagCategories: entity.tagCategories ? processHasManyClear({ sync: (_o = entity.tagCategories) == null ? void 0 : _o.map((ent) =>
|
|
1135
|
+
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInputCascade(ent)) }) : void 0,
|
|
1136
|
+
webPartsOfEnquiry: entity.webPartsOfEnquiry ? processHasManyClear({ sync: (_b = entity.webPartsOfEnquiry) == null ? void 0 : _b.map((ent) => enquiryToInputCascade(ent)) }) : void 0,
|
|
1137
|
+
webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_c = entity.webPartsOfProduct) == null ? void 0 : _c.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
1138
|
+
webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_d = entity.webPartsOfPost) == null ? void 0 : _d.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
1139
|
+
webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_e = entity.webPartsOfPostCategory) == null ? void 0 : _e.map((ent) => postCategoryToInputCascade(ent)) }) : void 0,
|
|
1140
|
+
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_f = entity.webPartsOfCustomer) == null ? void 0 : _f.map((ent) => customerToInputCascade(ent)) }) : void 0,
|
|
1141
|
+
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_g = entity.webPartsOfProductCategory) == null ? void 0 : _g.map((ent) => productCategoryToInputCascade(ent)) }) : void 0,
|
|
1142
|
+
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_h = entity.webPartsOfSpamFilterRule) == null ? void 0 : _h.map((ent) => spamFilterRuleToInputCascade(ent)) }) : void 0,
|
|
1143
|
+
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_i = entity.webPartsOfMedia) == null ? void 0 : _i.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1144
|
+
websites: entity.websites ? processHasManyClear({ sync: (_j = entity.websites) == null ? void 0 : _j.map((ent) => websiteToInputCascade(ent)) }) : void 0,
|
|
1145
|
+
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_k = entity.baseLangOf) == null ? void 0 : _k.map((ent) => websiteToInputCascade(ent)) }) : void 0,
|
|
1146
|
+
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) => themeBranchToInputCascade(ent)) }) : void 0,
|
|
1147
|
+
bulletins: entity.bulletins ? processHasManyClear({ sync: (_m = entity.bulletins) == null ? void 0 : _m.map((ent) => bulletinToInputCascade(ent)) }) : void 0,
|
|
1148
|
+
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) => tagToInputCascade(ent)) }) : void 0,
|
|
1149
|
+
tagCategories: entity.tagCategories ? processHasManyClear({ sync: (_o = entity.tagCategories) == null ? void 0 : _o.map((ent) => tagCategoryToInputCascade(ent)) }) : void 0
|
|
1173
1150
|
};
|
|
1174
1151
|
};
|
|
1175
1152
|
const langToInput = (entity) => {
|
|
@@ -1198,11 +1175,11 @@ const mediaFolderToInputCascade = (entity) => {
|
|
|
1198
1175
|
const { childrenAggregate, mediasAggregate, ...rest } = entity;
|
|
1199
1176
|
return {
|
|
1200
1177
|
...rest,
|
|
1201
|
-
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) =>
|
|
1202
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
1203
|
-
parent: entity.parent ? processHasOneClear({ sync:
|
|
1204
|
-
medias: entity.medias ? processHasManyClear({ sync: (_b = entity.medias) == null ? void 0 : _b.map((ent) =>
|
|
1205
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1178
|
+
children: entity.children ? processHasManyClear({ sync: (_a = entity.children) == null ? void 0 : _a.map((ent) => mediaFolderToInputCascade(ent)) }) : void 0,
|
|
1179
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
1180
|
+
parent: entity.parent ? processHasOneClear({ sync: mediaFolderToInputCascade(entity.parent) }) : void 0,
|
|
1181
|
+
medias: entity.medias ? processHasManyClear({ sync: (_b = entity.medias) == null ? void 0 : _b.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1182
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1206
1183
|
};
|
|
1207
1184
|
};
|
|
1208
1185
|
const mediaFolderToInput = (entity) => {
|
|
@@ -1221,23 +1198,23 @@ const mediaToInputCascade = (entity) => {
|
|
|
1221
1198
|
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, usedByThemConfigAggregate, pageMetaAggregate, searchIndexAggregate, snapshotAggregate, coverOfComponentAggregate, ...rest } = entity;
|
|
1222
1199
|
return {
|
|
1223
1200
|
...rest,
|
|
1224
|
-
folder: entity.folder ? processHasOneClear({ sync:
|
|
1225
|
-
lang: entity.lang ? processHasOneClear({ sync:
|
|
1226
|
-
coverOf: entity.coverOf ? processHasManyClear({ sync: (_a = entity.coverOf) == null ? void 0 : _a.map((ent) =>
|
|
1227
|
-
avatarOfUser: entity.avatarOfUser ? processHasOneClear({ sync:
|
|
1228
|
-
meidaOfProduct: entity.meidaOfProduct ? processHasManyClear({ sync: (_b = entity.meidaOfProduct) == null ? void 0 : _b.map((ent) =>
|
|
1229
|
-
productMediaPivots: entity.productMediaPivots ? processHasManyClear({ sync: (_c = entity.productMediaPivots) == null ? void 0 : _c.map((ent) =>
|
|
1230
|
-
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_d = entity.productAttacPivots) == null ? void 0 : _d.map((ent) =>
|
|
1231
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1232
|
-
postCategory: entity.postCategory ? processHasOneClear({ sync:
|
|
1233
|
-
usedByThemConfig: entity.usedByThemConfig ? processHasManyClear({ sync: (_e = entity.usedByThemConfig) == null ? void 0 : _e.map((ent) =>
|
|
1234
|
-
pageMeta: entity.pageMeta ? processHasManyClear({ sync: (_f = entity.pageMeta) == null ? void 0 : _f.map((ent) =>
|
|
1235
|
-
searchIndex: entity.searchIndex ? processHasManyClear({ sync: (_g = entity.searchIndex) == null ? void 0 : _g.map((ent) =>
|
|
1236
|
-
snapshot: entity.snapshot ? processHasManyClear({ sync: (_h = entity.snapshot) == null ? void 0 : _h.map((ent) =>
|
|
1237
|
-
coverOfComponent: entity.coverOfComponent ? processHasManyClear({ sync: (_i = entity.coverOfComponent) == null ? void 0 : _i.map((ent) =>
|
|
1238
|
-
attachmentOfEnquiry: entity.attachmentOfEnquiry ? processHasOneClear({ sync:
|
|
1239
|
-
coverOfTheme: entity.coverOfTheme ? processHasOneClear({ sync:
|
|
1240
|
-
owner: entity.owner ? processHasOneClear({ sync:
|
|
1201
|
+
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInputCascade(entity.folder) }) : void 0,
|
|
1202
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInputCascade(entity.lang) }) : void 0,
|
|
1203
|
+
coverOf: entity.coverOf ? processHasManyClear({ sync: (_a = entity.coverOf) == null ? void 0 : _a.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
1204
|
+
avatarOfUser: entity.avatarOfUser ? processHasOneClear({ sync: userToInputCascade(entity.avatarOfUser) }) : void 0,
|
|
1205
|
+
meidaOfProduct: entity.meidaOfProduct ? processHasManyClear({ sync: (_b = entity.meidaOfProduct) == null ? void 0 : _b.map((ent) => productCategoryToInputCascade(ent)) }) : void 0,
|
|
1206
|
+
productMediaPivots: entity.productMediaPivots ? processHasManyClear({ sync: (_c = entity.productMediaPivots) == null ? void 0 : _c.map((ent) => mediaOnProductToInputCascade(ent)) }) : void 0,
|
|
1207
|
+
productAttacPivots: entity.productAttacPivots ? processHasManyClear({ sync: (_d = entity.productAttacPivots) == null ? void 0 : _d.map((ent) => attachmentOnProductToInputCascade(ent)) }) : void 0,
|
|
1208
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0,
|
|
1209
|
+
postCategory: entity.postCategory ? processHasOneClear({ sync: postCategoryToInputCascade(entity.postCategory) }) : void 0,
|
|
1210
|
+
usedByThemConfig: entity.usedByThemConfig ? processHasManyClear({ sync: (_e = entity.usedByThemConfig) == null ? void 0 : _e.map((ent) => themeConfigToInputCascade(ent)) }) : void 0,
|
|
1211
|
+
pageMeta: entity.pageMeta ? processHasManyClear({ sync: (_f = entity.pageMeta) == null ? void 0 : _f.map((ent) => pageMetaToInputCascade(ent)) }) : void 0,
|
|
1212
|
+
searchIndex: entity.searchIndex ? processHasManyClear({ sync: (_g = entity.searchIndex) == null ? void 0 : _g.map((ent) => searchIndexToInputCascade(ent)) }) : void 0,
|
|
1213
|
+
snapshot: entity.snapshot ? processHasManyClear({ sync: (_h = entity.snapshot) == null ? void 0 : _h.map((ent) => websiteSnapshotToInputCascade(ent)) }) : void 0,
|
|
1214
|
+
coverOfComponent: entity.coverOfComponent ? processHasManyClear({ sync: (_i = entity.coverOfComponent) == null ? void 0 : _i.map((ent) => frontComponentToInputCascade(ent)) }) : void 0,
|
|
1215
|
+
attachmentOfEnquiry: entity.attachmentOfEnquiry ? processHasOneClear({ sync: enquiryToInputCascade(entity.attachmentOfEnquiry) }) : void 0,
|
|
1216
|
+
coverOfTheme: entity.coverOfTheme ? processHasOneClear({ sync: themeToInputCascade(entity.coverOfTheme) }) : void 0,
|
|
1217
|
+
owner: entity.owner ? processHasOneClear({ sync: userToInputCascade(entity.owner) }) : void 0
|
|
1241
1218
|
};
|
|
1242
1219
|
};
|
|
1243
1220
|
const mediaToInput = (entity) => {
|
|
@@ -1268,15 +1245,15 @@ const userToInputCascade = (entity) => {
|
|
|
1268
1245
|
const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, agentThreadsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
1269
1246
|
return {
|
|
1270
1247
|
...rest,
|
|
1271
|
-
roles: entity.roles ? processHasManyClear({ sync: (_a = entity.roles) == null ? void 0 : _a.map((ent) =>
|
|
1272
|
-
avatar: entity.avatar ? processHasOneClear({ sync:
|
|
1273
|
-
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) =>
|
|
1274
|
-
operations: entity.operations ? processHasManyClear({ sync: (_c = entity.operations) == null ? void 0 : _c.map((ent) =>
|
|
1275
|
-
medias: entity.medias ? processHasManyClear({ sync: (_d = entity.medias) == null ? void 0 : _d.map((ent) =>
|
|
1276
|
-
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_e = entity.agentThreads) == null ? void 0 : _e.map((ent) =>
|
|
1277
|
-
posts: entity.posts ? processHasManyClear({ sync: (_f = entity.posts) == null ? void 0 : _f.map((ent) =>
|
|
1278
|
-
websites: entity.websites ? processHasManyClear({ sync: (_g = entity.websites) == null ? void 0 : _g.map((ent) =>
|
|
1279
|
-
website: entity.website ? processHasOneClear({ sync:
|
|
1248
|
+
roles: entity.roles ? processHasManyClear({ sync: (_a = entity.roles) == null ? void 0 : _a.map((ent) => roleToInputCascade(ent)) }) : void 0,
|
|
1249
|
+
avatar: entity.avatar ? processHasOneClear({ sync: mediaToInputCascade(entity.avatar) }) : void 0,
|
|
1250
|
+
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInputCascade(ent)) }) : void 0,
|
|
1251
|
+
operations: entity.operations ? processHasManyClear({ sync: (_c = entity.operations) == null ? void 0 : _c.map((ent) => userOperationToInputCascade(ent)) }) : void 0,
|
|
1252
|
+
medias: entity.medias ? processHasManyClear({ sync: (_d = entity.medias) == null ? void 0 : _d.map((ent) => mediaToInputCascade(ent)) }) : void 0,
|
|
1253
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_e = entity.agentThreads) == null ? void 0 : _e.map((ent) => agentThreadToInputCascade(ent)) }) : void 0,
|
|
1254
|
+
posts: entity.posts ? processHasManyClear({ sync: (_f = entity.posts) == null ? void 0 : _f.map((ent) => postToInputCascade(ent)) }) : void 0,
|
|
1255
|
+
websites: entity.websites ? processHasManyClear({ sync: (_g = entity.websites) == null ? void 0 : _g.map((ent) => websiteToInputCascade(ent)) }) : void 0,
|
|
1256
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1280
1257
|
};
|
|
1281
1258
|
};
|
|
1282
1259
|
const userToInput = (entity) => {
|
|
@@ -2213,6 +2190,7 @@ var ThemeDistinctEnum = /* @__PURE__ */ ((ThemeDistinctEnum2) => {
|
|
|
2213
2190
|
ThemeDistinctEnum2["createdAt"] = "createdAt";
|
|
2214
2191
|
ThemeDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2215
2192
|
ThemeDistinctEnum2["seqValue"] = "seqValue";
|
|
2193
|
+
ThemeDistinctEnum2["slug"] = "slug";
|
|
2216
2194
|
return ThemeDistinctEnum2;
|
|
2217
2195
|
})(ThemeDistinctEnum || {});
|
|
2218
2196
|
const SvgIconEntityName = "SvgIcon";
|
|
@@ -2301,14 +2279,11 @@ const AgentAttachmentEntityLabel = "";
|
|
|
2301
2279
|
var AgentAttachmentDistinctEnum = /* @__PURE__ */ ((AgentAttachmentDistinctEnum2) => {
|
|
2302
2280
|
AgentAttachmentDistinctEnum2["id"] = "id";
|
|
2303
2281
|
AgentAttachmentDistinctEnum2["name"] = "name";
|
|
2304
|
-
AgentAttachmentDistinctEnum2["
|
|
2305
|
-
AgentAttachmentDistinctEnum2["
|
|
2306
|
-
AgentAttachmentDistinctEnum2["extName"] = "extName";
|
|
2307
|
-
AgentAttachmentDistinctEnum2["mediaType"] = "mediaType";
|
|
2308
|
-
AgentAttachmentDistinctEnum2["storageMeta"] = "storageMeta";
|
|
2309
|
-
AgentAttachmentDistinctEnum2["seqValue"] = "seqValue";
|
|
2282
|
+
AgentAttachmentDistinctEnum2["type"] = "type";
|
|
2283
|
+
AgentAttachmentDistinctEnum2["playload"] = "playload";
|
|
2310
2284
|
AgentAttachmentDistinctEnum2["createdAt"] = "createdAt";
|
|
2311
2285
|
AgentAttachmentDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2286
|
+
AgentAttachmentDistinctEnum2["seqValue"] = "seqValue";
|
|
2312
2287
|
return AgentAttachmentDistinctEnum2;
|
|
2313
2288
|
})(AgentAttachmentDistinctEnum || {});
|
|
2314
2289
|
const TempFileEntityName = "TempFile";
|
|
@@ -2320,55 +2295,84 @@ var TempFileDistinctEnum = /* @__PURE__ */ ((TempFileDistinctEnum2) => {
|
|
|
2320
2295
|
TempFileDistinctEnum2["extName"] = "extName";
|
|
2321
2296
|
TempFileDistinctEnum2["mediaType"] = "mediaType";
|
|
2322
2297
|
TempFileDistinctEnum2["storageMeta"] = "storageMeta";
|
|
2323
|
-
TempFileDistinctEnum2["seqValue"] = "seqValue";
|
|
2324
2298
|
TempFileDistinctEnum2["createdAt"] = "createdAt";
|
|
2325
2299
|
TempFileDistinctEnum2["updateAt"] = "updateAt";
|
|
2326
2300
|
TempFileDistinctEnum2["mimeType"] = "mimeType";
|
|
2327
2301
|
return TempFileDistinctEnum2;
|
|
2328
2302
|
})(TempFileDistinctEnum || {});
|
|
2329
|
-
const
|
|
2330
|
-
const
|
|
2331
|
-
var
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
const
|
|
2352
|
-
const
|
|
2353
|
-
var
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2303
|
+
const WebsiteProfileEntityName = "WebsiteProfile";
|
|
2304
|
+
const WebsiteProfileEntityLabel = "";
|
|
2305
|
+
var WebsiteProfileDistinctEnum = /* @__PURE__ */ ((WebsiteProfileDistinctEnum2) => {
|
|
2306
|
+
WebsiteProfileDistinctEnum2["id"] = "id";
|
|
2307
|
+
WebsiteProfileDistinctEnum2["name"] = "name";
|
|
2308
|
+
WebsiteProfileDistinctEnum2["industry"] = "industry";
|
|
2309
|
+
WebsiteProfileDistinctEnum2["targetMarket"] = "targetMarket";
|
|
2310
|
+
WebsiteProfileDistinctEnum2["references"] = "references";
|
|
2311
|
+
WebsiteProfileDistinctEnum2["layoutPreference"] = "layoutPreference";
|
|
2312
|
+
WebsiteProfileDistinctEnum2["styleGuide"] = "styleGuide";
|
|
2313
|
+
WebsiteProfileDistinctEnum2["contentStrategy"] = "contentStrategy";
|
|
2314
|
+
WebsiteProfileDistinctEnum2["themeBranchId"] = "themeBranchId";
|
|
2315
|
+
WebsiteProfileDistinctEnum2["createdAt"] = "createdAt";
|
|
2316
|
+
WebsiteProfileDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2317
|
+
WebsiteProfileDistinctEnum2["products"] = "products";
|
|
2318
|
+
WebsiteProfileDistinctEnum2["companyInfo"] = "companyInfo";
|
|
2319
|
+
WebsiteProfileDistinctEnum2["slug"] = "slug";
|
|
2320
|
+
WebsiteProfileDistinctEnum2["langAbbr"] = "langAbbr";
|
|
2321
|
+
WebsiteProfileDistinctEnum2["pages"] = "pages";
|
|
2322
|
+
return WebsiteProfileDistinctEnum2;
|
|
2323
|
+
})(WebsiteProfileDistinctEnum || {});
|
|
2324
|
+
const AgentMemoFileEntityName = "AgentMemoFile";
|
|
2325
|
+
const AgentMemoFileEntityLabel = "";
|
|
2326
|
+
const agentMemoFolderToInputCascade = (entity) => {
|
|
2327
|
+
var _a, _b;
|
|
2328
|
+
const { filesAggregate, childrenAggregate, ...rest } = entity;
|
|
2329
|
+
return {
|
|
2330
|
+
...rest,
|
|
2331
|
+
files: entity.files ? processHasManyClear({ sync: (_a = entity.files) == null ? void 0 : _a.map((ent) => agentMemoFileToInputCascade(ent)) }) : void 0,
|
|
2332
|
+
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => agentMemoFolderToInputCascade(ent)) }) : void 0,
|
|
2333
|
+
parent: entity.parent ? processHasOneClear({ sync: agentMemoFolderToInputCascade(entity.parent) }) : void 0
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
const agentMemoFolderToInput = (entity) => {
|
|
2337
|
+
const { filesAggregate, childrenAggregate, ...rest } = entity;
|
|
2338
|
+
return {
|
|
2339
|
+
...rest,
|
|
2340
|
+
files: convertHasManyToInput(entity.files),
|
|
2341
|
+
children: convertHasManyToInput(entity.children),
|
|
2342
|
+
parent: convertHasOneToInput(entity.parent)
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
const agentMemoFileToInputCascade = (entity) => {
|
|
2346
|
+
return {
|
|
2347
|
+
...entity,
|
|
2348
|
+
folder: entity.folder ? processHasOneClear({ sync: agentMemoFolderToInputCascade(entity.folder) }) : void 0
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
const agentMemoFileToInput = (entity) => {
|
|
2352
|
+
return {
|
|
2353
|
+
...entity,
|
|
2354
|
+
folder: convertHasOneToInput(entity.folder)
|
|
2355
|
+
};
|
|
2356
|
+
};
|
|
2357
|
+
var AgentMemoFileDistinctEnum = /* @__PURE__ */ ((AgentMemoFileDistinctEnum2) => {
|
|
2358
|
+
AgentMemoFileDistinctEnum2["id"] = "id";
|
|
2359
|
+
AgentMemoFileDistinctEnum2["name"] = "name";
|
|
2360
|
+
AgentMemoFileDistinctEnum2["content"] = "content";
|
|
2361
|
+
AgentMemoFileDistinctEnum2["mimeType"] = "mimeType";
|
|
2362
|
+
AgentMemoFileDistinctEnum2["extName"] = "extName";
|
|
2363
|
+
AgentMemoFileDistinctEnum2["createdAt"] = "createdAt";
|
|
2364
|
+
AgentMemoFileDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2365
|
+
return AgentMemoFileDistinctEnum2;
|
|
2366
|
+
})(AgentMemoFileDistinctEnum || {});
|
|
2367
|
+
const AgentMemoFolderEntityName = "AgentMemoFolder";
|
|
2368
|
+
const AgentMemoFolderEntityLabel = "";
|
|
2369
|
+
var AgentMemoFolderDistinctEnum = /* @__PURE__ */ ((AgentMemoFolderDistinctEnum2) => {
|
|
2370
|
+
AgentMemoFolderDistinctEnum2["id"] = "id";
|
|
2371
|
+
AgentMemoFolderDistinctEnum2["name"] = "name";
|
|
2372
|
+
AgentMemoFolderDistinctEnum2["createdAt"] = "createdAt";
|
|
2373
|
+
AgentMemoFolderDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2374
|
+
return AgentMemoFolderDistinctEnum2;
|
|
2375
|
+
})(AgentMemoFolderDistinctEnum || {});
|
|
2372
2376
|
class RoleVariableQueryOptions extends QueryOptions {
|
|
2373
2377
|
constructor(fields, queryArgs) {
|
|
2374
2378
|
super(RoleVariableEntityName, fields, queryArgs);
|
|
@@ -3046,9 +3050,9 @@ class ThemeFileQueryOptions extends QueryOptions {
|
|
|
3046
3050
|
return this;
|
|
3047
3051
|
}
|
|
3048
3052
|
}
|
|
3049
|
-
class
|
|
3053
|
+
class TempFileQueryOptions extends QueryOptions {
|
|
3050
3054
|
constructor(fields, queryArgs) {
|
|
3051
|
-
super(
|
|
3055
|
+
super(TempFileEntityName, fields, queryArgs);
|
|
3052
3056
|
}
|
|
3053
3057
|
id() {
|
|
3054
3058
|
this.addField("id");
|
|
@@ -3058,10 +3062,6 @@ class AgentAttachmentQueryOptions extends QueryOptions {
|
|
|
3058
3062
|
this.addField("name");
|
|
3059
3063
|
return this;
|
|
3060
3064
|
}
|
|
3061
|
-
mimeType() {
|
|
3062
|
-
this.addField("mimeType");
|
|
3063
|
-
return this;
|
|
3064
|
-
}
|
|
3065
3065
|
size() {
|
|
3066
3066
|
this.addField("size");
|
|
3067
3067
|
return this;
|
|
@@ -3078,49 +3078,61 @@ class AgentAttachmentQueryOptions extends QueryOptions {
|
|
|
3078
3078
|
this.addObjectField("storageMeta", fields);
|
|
3079
3079
|
return this;
|
|
3080
3080
|
}
|
|
3081
|
-
seqValue() {
|
|
3082
|
-
this.addField("seqValue");
|
|
3083
|
-
return this;
|
|
3084
|
-
}
|
|
3085
3081
|
createdAt() {
|
|
3086
3082
|
this.addField("createdAt");
|
|
3087
3083
|
return this;
|
|
3088
3084
|
}
|
|
3089
|
-
|
|
3090
|
-
this.addField("
|
|
3085
|
+
updateAt() {
|
|
3086
|
+
this.addField("updateAt");
|
|
3091
3087
|
return this;
|
|
3092
3088
|
}
|
|
3093
|
-
|
|
3089
|
+
mimeType() {
|
|
3090
|
+
this.addField("mimeType");
|
|
3091
|
+
return this;
|
|
3092
|
+
}
|
|
3093
|
+
website(options) {
|
|
3094
3094
|
if (Array.isArray(options)) {
|
|
3095
|
-
this._associations["
|
|
3095
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3096
3096
|
} else {
|
|
3097
|
-
this._associations["
|
|
3097
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3098
|
+
}
|
|
3099
|
+
return this;
|
|
3100
|
+
}
|
|
3101
|
+
themeBranch(options) {
|
|
3102
|
+
if (Array.isArray(options)) {
|
|
3103
|
+
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
3104
|
+
} else {
|
|
3105
|
+
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3106
|
+
}
|
|
3107
|
+
return this;
|
|
3108
|
+
}
|
|
3109
|
+
agentAttachment(options) {
|
|
3110
|
+
if (Array.isArray(options)) {
|
|
3111
|
+
this._associations["agentAttachment"] = new AgentAttachmentQueryOptions(options);
|
|
3112
|
+
} else {
|
|
3113
|
+
this._associations["agentAttachment"] = options || new AgentAttachmentQueryOptions(["id"]);
|
|
3098
3114
|
}
|
|
3099
3115
|
return this;
|
|
3100
3116
|
}
|
|
3101
3117
|
}
|
|
3102
|
-
class
|
|
3118
|
+
class AgentAttachmentQueryOptions extends QueryOptions {
|
|
3103
3119
|
constructor(fields, queryArgs) {
|
|
3104
|
-
super(
|
|
3120
|
+
super(AgentAttachmentEntityName, fields, queryArgs);
|
|
3105
3121
|
}
|
|
3106
3122
|
id() {
|
|
3107
3123
|
this.addField("id");
|
|
3108
3124
|
return this;
|
|
3109
3125
|
}
|
|
3110
|
-
|
|
3111
|
-
this.addField("
|
|
3112
|
-
return this;
|
|
3113
|
-
}
|
|
3114
|
-
baseSnapshot() {
|
|
3115
|
-
this.addField("baseSnapshot");
|
|
3126
|
+
name() {
|
|
3127
|
+
this.addField("name");
|
|
3116
3128
|
return this;
|
|
3117
3129
|
}
|
|
3118
|
-
|
|
3119
|
-
this.addField("
|
|
3130
|
+
type() {
|
|
3131
|
+
this.addField("type");
|
|
3120
3132
|
return this;
|
|
3121
3133
|
}
|
|
3122
|
-
|
|
3123
|
-
this.addField("
|
|
3134
|
+
playload() {
|
|
3135
|
+
this.addField("playload");
|
|
3124
3136
|
return this;
|
|
3125
3137
|
}
|
|
3126
3138
|
createdAt() {
|
|
@@ -3131,11 +3143,23 @@ class CodeRevisionQueryOptions extends QueryOptions {
|
|
|
3131
3143
|
this.addField("updatedAt");
|
|
3132
3144
|
return this;
|
|
3133
3145
|
}
|
|
3134
|
-
|
|
3146
|
+
seqValue() {
|
|
3147
|
+
this.addField("seqValue");
|
|
3148
|
+
return this;
|
|
3149
|
+
}
|
|
3150
|
+
file(options) {
|
|
3151
|
+
if (Array.isArray(options)) {
|
|
3152
|
+
this._associations["file"] = new TempFileQueryOptions(options);
|
|
3153
|
+
} else {
|
|
3154
|
+
this._associations["file"] = options || new TempFileQueryOptions(["id"]);
|
|
3155
|
+
}
|
|
3156
|
+
return this;
|
|
3157
|
+
}
|
|
3158
|
+
timelineItme(options) {
|
|
3135
3159
|
if (Array.isArray(options)) {
|
|
3136
|
-
this._associations["
|
|
3160
|
+
this._associations["timelineItme"] = new AgentTimelineItemQueryOptions(options);
|
|
3137
3161
|
} else {
|
|
3138
|
-
this._associations["
|
|
3162
|
+
this._associations["timelineItme"] = options || new AgentTimelineItemQueryOptions(["id"]);
|
|
3139
3163
|
}
|
|
3140
3164
|
return this;
|
|
3141
3165
|
}
|
|
@@ -3180,14 +3204,6 @@ class AgentTimelineItemQueryOptions extends QueryOptions {
|
|
|
3180
3204
|
this._aggregates["attachmentsAggregate"] = aggregate;
|
|
3181
3205
|
return this;
|
|
3182
3206
|
}
|
|
3183
|
-
codeRevision(options) {
|
|
3184
|
-
if (Array.isArray(options)) {
|
|
3185
|
-
this._associations["codeRevision"] = new CodeRevisionQueryOptions(options);
|
|
3186
|
-
} else {
|
|
3187
|
-
this._associations["codeRevision"] = options || new CodeRevisionQueryOptions(["id"]);
|
|
3188
|
-
}
|
|
3189
|
-
return this;
|
|
3190
|
-
}
|
|
3191
3207
|
run(options) {
|
|
3192
3208
|
if (Array.isArray(options)) {
|
|
3193
3209
|
this._associations["run"] = new AgentRunQueryOptions(options);
|
|
@@ -3323,67 +3339,6 @@ class AgentThreadQueryOptions extends QueryOptions {
|
|
|
3323
3339
|
return this;
|
|
3324
3340
|
}
|
|
3325
3341
|
}
|
|
3326
|
-
class TempFileQueryOptions extends QueryOptions {
|
|
3327
|
-
constructor(fields, queryArgs) {
|
|
3328
|
-
super(TempFileEntityName, fields, queryArgs);
|
|
3329
|
-
}
|
|
3330
|
-
id() {
|
|
3331
|
-
this.addField("id");
|
|
3332
|
-
return this;
|
|
3333
|
-
}
|
|
3334
|
-
name() {
|
|
3335
|
-
this.addField("name");
|
|
3336
|
-
return this;
|
|
3337
|
-
}
|
|
3338
|
-
size() {
|
|
3339
|
-
this.addField("size");
|
|
3340
|
-
return this;
|
|
3341
|
-
}
|
|
3342
|
-
extName() {
|
|
3343
|
-
this.addField("extName");
|
|
3344
|
-
return this;
|
|
3345
|
-
}
|
|
3346
|
-
mediaType() {
|
|
3347
|
-
this.addField("mediaType");
|
|
3348
|
-
return this;
|
|
3349
|
-
}
|
|
3350
|
-
storageMeta(fields) {
|
|
3351
|
-
this.addObjectField("storageMeta", fields);
|
|
3352
|
-
return this;
|
|
3353
|
-
}
|
|
3354
|
-
seqValue() {
|
|
3355
|
-
this.addField("seqValue");
|
|
3356
|
-
return this;
|
|
3357
|
-
}
|
|
3358
|
-
createdAt() {
|
|
3359
|
-
this.addField("createdAt");
|
|
3360
|
-
return this;
|
|
3361
|
-
}
|
|
3362
|
-
updateAt() {
|
|
3363
|
-
this.addField("updateAt");
|
|
3364
|
-
return this;
|
|
3365
|
-
}
|
|
3366
|
-
mimeType() {
|
|
3367
|
-
this.addField("mimeType");
|
|
3368
|
-
return this;
|
|
3369
|
-
}
|
|
3370
|
-
website(options) {
|
|
3371
|
-
if (Array.isArray(options)) {
|
|
3372
|
-
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3373
|
-
} else {
|
|
3374
|
-
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3375
|
-
}
|
|
3376
|
-
return this;
|
|
3377
|
-
}
|
|
3378
|
-
themeBranch(options) {
|
|
3379
|
-
if (Array.isArray(options)) {
|
|
3380
|
-
this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
|
|
3381
|
-
} else {
|
|
3382
|
-
this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
|
|
3383
|
-
}
|
|
3384
|
-
return this;
|
|
3385
|
-
}
|
|
3386
|
-
}
|
|
3387
3342
|
class ThemeInMarketQueryOptions extends QueryOptions {
|
|
3388
3343
|
constructor(fields, queryArgs) {
|
|
3389
3344
|
super(ThemeInMarketEntityName, fields, queryArgs);
|
|
@@ -3523,6 +3478,10 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
3523
3478
|
this.addField("seqValue");
|
|
3524
3479
|
return this;
|
|
3525
3480
|
}
|
|
3481
|
+
slug() {
|
|
3482
|
+
this.addField("slug");
|
|
3483
|
+
return this;
|
|
3484
|
+
}
|
|
3526
3485
|
branches(options) {
|
|
3527
3486
|
if (Array.isArray(options)) {
|
|
3528
3487
|
this._associations["branches"] = new ThemeBranchQueryOptions(options);
|
|
@@ -5000,42 +4959,9 @@ class SvgIconQueryOptions extends QueryOptions {
|
|
|
5000
4959
|
return this;
|
|
5001
4960
|
}
|
|
5002
4961
|
}
|
|
5003
|
-
class
|
|
5004
|
-
constructor(fields, queryArgs) {
|
|
5005
|
-
super(AgentContextEntityName, fields, queryArgs);
|
|
5006
|
-
}
|
|
5007
|
-
id() {
|
|
5008
|
-
this.addField("id");
|
|
5009
|
-
return this;
|
|
5010
|
-
}
|
|
5011
|
-
scopeType() {
|
|
5012
|
-
this.addField("scopeType");
|
|
5013
|
-
return this;
|
|
5014
|
-
}
|
|
5015
|
-
scopeId() {
|
|
5016
|
-
this.addField("scopeId");
|
|
5017
|
-
return this;
|
|
5018
|
-
}
|
|
5019
|
-
contextType() {
|
|
5020
|
-
this.addField("contextType");
|
|
5021
|
-
return this;
|
|
5022
|
-
}
|
|
5023
|
-
content() {
|
|
5024
|
-
this.addField("content");
|
|
5025
|
-
return this;
|
|
5026
|
-
}
|
|
5027
|
-
website(options) {
|
|
5028
|
-
if (Array.isArray(options)) {
|
|
5029
|
-
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
5030
|
-
} else {
|
|
5031
|
-
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
5032
|
-
}
|
|
5033
|
-
return this;
|
|
5034
|
-
}
|
|
5035
|
-
}
|
|
5036
|
-
class SiteBlueprintQueryOptions extends QueryOptions {
|
|
4962
|
+
class WebsiteProfileQueryOptions extends QueryOptions {
|
|
5037
4963
|
constructor(fields, queryArgs) {
|
|
5038
|
-
super(
|
|
4964
|
+
super(WebsiteProfileEntityName, fields, queryArgs);
|
|
5039
4965
|
}
|
|
5040
4966
|
id() {
|
|
5041
4967
|
this.addField("id");
|
|
@@ -5069,8 +4995,8 @@ class SiteBlueprintQueryOptions extends QueryOptions {
|
|
|
5069
4995
|
this.addField("contentStrategy");
|
|
5070
4996
|
return this;
|
|
5071
4997
|
}
|
|
5072
|
-
|
|
5073
|
-
this.addField("
|
|
4998
|
+
themeBranchId() {
|
|
4999
|
+
this.addField("themeBranchId");
|
|
5074
5000
|
return this;
|
|
5075
5001
|
}
|
|
5076
5002
|
createdAt() {
|
|
@@ -5467,23 +5393,11 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
5467
5393
|
this._aggregates["tempFilesAggregate"] = aggregate;
|
|
5468
5394
|
return this;
|
|
5469
5395
|
}
|
|
5470
|
-
|
|
5471
|
-
if (Array.isArray(options)) {
|
|
5472
|
-
this._associations["agentContexts"] = new AgentContextQueryOptions(options);
|
|
5473
|
-
} else {
|
|
5474
|
-
this._associations["agentContexts"] = options || new AgentContextQueryOptions(["id"]);
|
|
5475
|
-
}
|
|
5476
|
-
return this;
|
|
5477
|
-
}
|
|
5478
|
-
agentContextsAggregate(aggregate) {
|
|
5479
|
-
this._aggregates["agentContextsAggregate"] = aggregate;
|
|
5480
|
-
return this;
|
|
5481
|
-
}
|
|
5482
|
-
siteBlueprint(options) {
|
|
5396
|
+
profile(options) {
|
|
5483
5397
|
if (Array.isArray(options)) {
|
|
5484
|
-
this._associations["
|
|
5398
|
+
this._associations["profile"] = new WebsiteProfileQueryOptions(options);
|
|
5485
5399
|
} else {
|
|
5486
|
-
this._associations["
|
|
5400
|
+
this._associations["profile"] = options || new WebsiteProfileQueryOptions(["id"]);
|
|
5487
5401
|
}
|
|
5488
5402
|
return this;
|
|
5489
5403
|
}
|
|
@@ -6823,6 +6737,100 @@ class VisitorLogQueryOptions extends QueryOptions {
|
|
|
6823
6737
|
return this;
|
|
6824
6738
|
}
|
|
6825
6739
|
}
|
|
6740
|
+
class AgentMemoFolderQueryOptions extends QueryOptions {
|
|
6741
|
+
constructor(fields, queryArgs) {
|
|
6742
|
+
super(AgentMemoFolderEntityName, fields, queryArgs);
|
|
6743
|
+
}
|
|
6744
|
+
id() {
|
|
6745
|
+
this.addField("id");
|
|
6746
|
+
return this;
|
|
6747
|
+
}
|
|
6748
|
+
name() {
|
|
6749
|
+
this.addField("name");
|
|
6750
|
+
return this;
|
|
6751
|
+
}
|
|
6752
|
+
createdAt() {
|
|
6753
|
+
this.addField("createdAt");
|
|
6754
|
+
return this;
|
|
6755
|
+
}
|
|
6756
|
+
updatedAt() {
|
|
6757
|
+
this.addField("updatedAt");
|
|
6758
|
+
return this;
|
|
6759
|
+
}
|
|
6760
|
+
files(options) {
|
|
6761
|
+
if (Array.isArray(options)) {
|
|
6762
|
+
this._associations["files"] = new AgentMemoFileQueryOptions(options);
|
|
6763
|
+
} else {
|
|
6764
|
+
this._associations["files"] = options || new AgentMemoFileQueryOptions(["id"]);
|
|
6765
|
+
}
|
|
6766
|
+
return this;
|
|
6767
|
+
}
|
|
6768
|
+
filesAggregate(aggregate) {
|
|
6769
|
+
this._aggregates["filesAggregate"] = aggregate;
|
|
6770
|
+
return this;
|
|
6771
|
+
}
|
|
6772
|
+
children(options) {
|
|
6773
|
+
if (Array.isArray(options)) {
|
|
6774
|
+
this._associations["children"] = new AgentMemoFolderQueryOptions(options);
|
|
6775
|
+
} else {
|
|
6776
|
+
this._associations["children"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
6777
|
+
}
|
|
6778
|
+
return this;
|
|
6779
|
+
}
|
|
6780
|
+
childrenAggregate(aggregate) {
|
|
6781
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
6782
|
+
return this;
|
|
6783
|
+
}
|
|
6784
|
+
parent(options) {
|
|
6785
|
+
if (Array.isArray(options)) {
|
|
6786
|
+
this._associations["parent"] = new AgentMemoFolderQueryOptions(options);
|
|
6787
|
+
} else {
|
|
6788
|
+
this._associations["parent"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
6789
|
+
}
|
|
6790
|
+
return this;
|
|
6791
|
+
}
|
|
6792
|
+
}
|
|
6793
|
+
class AgentMemoFileQueryOptions extends QueryOptions {
|
|
6794
|
+
constructor(fields, queryArgs) {
|
|
6795
|
+
super(AgentMemoFileEntityName, fields, queryArgs);
|
|
6796
|
+
}
|
|
6797
|
+
id() {
|
|
6798
|
+
this.addField("id");
|
|
6799
|
+
return this;
|
|
6800
|
+
}
|
|
6801
|
+
name() {
|
|
6802
|
+
this.addField("name");
|
|
6803
|
+
return this;
|
|
6804
|
+
}
|
|
6805
|
+
content() {
|
|
6806
|
+
this.addField("content");
|
|
6807
|
+
return this;
|
|
6808
|
+
}
|
|
6809
|
+
mimeType() {
|
|
6810
|
+
this.addField("mimeType");
|
|
6811
|
+
return this;
|
|
6812
|
+
}
|
|
6813
|
+
extName() {
|
|
6814
|
+
this.addField("extName");
|
|
6815
|
+
return this;
|
|
6816
|
+
}
|
|
6817
|
+
createdAt() {
|
|
6818
|
+
this.addField("createdAt");
|
|
6819
|
+
return this;
|
|
6820
|
+
}
|
|
6821
|
+
updatedAt() {
|
|
6822
|
+
this.addField("updatedAt");
|
|
6823
|
+
return this;
|
|
6824
|
+
}
|
|
6825
|
+
folder(options) {
|
|
6826
|
+
if (Array.isArray(options)) {
|
|
6827
|
+
this._associations["folder"] = new AgentMemoFolderQueryOptions(options);
|
|
6828
|
+
} else {
|
|
6829
|
+
this._associations["folder"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
6830
|
+
}
|
|
6831
|
+
return this;
|
|
6832
|
+
}
|
|
6833
|
+
}
|
|
6826
6834
|
const userEntry = {
|
|
6827
6835
|
entityName: UserEntityName,
|
|
6828
6836
|
entityLabel: UserEntityLabel,
|
|
@@ -7088,20 +7096,20 @@ const tempFileEntry = {
|
|
|
7088
7096
|
entityLabel: TempFileEntityLabel,
|
|
7089
7097
|
toInput: tempFileToInput
|
|
7090
7098
|
};
|
|
7091
|
-
const
|
|
7092
|
-
entityName:
|
|
7093
|
-
entityLabel:
|
|
7094
|
-
toInput:
|
|
7099
|
+
const websiteProfileEntry = {
|
|
7100
|
+
entityName: WebsiteProfileEntityName,
|
|
7101
|
+
entityLabel: WebsiteProfileEntityLabel,
|
|
7102
|
+
toInput: websiteProfileToInput
|
|
7095
7103
|
};
|
|
7096
|
-
const
|
|
7097
|
-
entityName:
|
|
7098
|
-
entityLabel:
|
|
7099
|
-
toInput:
|
|
7104
|
+
const agentMemoFileEntry = {
|
|
7105
|
+
entityName: AgentMemoFileEntityName,
|
|
7106
|
+
entityLabel: AgentMemoFileEntityLabel,
|
|
7107
|
+
toInput: agentMemoFileToInput
|
|
7100
7108
|
};
|
|
7101
|
-
const
|
|
7102
|
-
entityName:
|
|
7103
|
-
entityLabel:
|
|
7104
|
-
toInput:
|
|
7109
|
+
const agentMemoFolderEntry = {
|
|
7110
|
+
entityName: AgentMemoFolderEntityName,
|
|
7111
|
+
entityLabel: AgentMemoFolderEntityLabel,
|
|
7112
|
+
toInput: agentMemoFolderToInput
|
|
7105
7113
|
};
|
|
7106
7114
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
7107
7115
|
UserFields2["id"] = "id";
|
|
@@ -7326,9 +7334,7 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
7326
7334
|
WebsiteAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
|
|
7327
7335
|
WebsiteAssciations2["tempFiles"] = "tempFiles";
|
|
7328
7336
|
WebsiteAssciations2["tempFilesAggregate"] = "tempFilesAggregate";
|
|
7329
|
-
WebsiteAssciations2["
|
|
7330
|
-
WebsiteAssciations2["agentContextsAggregate"] = "agentContextsAggregate";
|
|
7331
|
-
WebsiteAssciations2["siteBlueprint"] = "siteBlueprint";
|
|
7337
|
+
WebsiteAssciations2["profile"] = "profile";
|
|
7332
7338
|
WebsiteAssciations2["mockBranch"] = "mockBranch";
|
|
7333
7339
|
return WebsiteAssciations2;
|
|
7334
7340
|
})(WebsiteAssciations || {});
|
|
@@ -8038,6 +8044,7 @@ var ThemeFields = /* @__PURE__ */ ((ThemeFields2) => {
|
|
|
8038
8044
|
ThemeFields2["createdAt"] = "createdAt";
|
|
8039
8045
|
ThemeFields2["updatedAt"] = "updatedAt";
|
|
8040
8046
|
ThemeFields2["seqValue"] = "seqValue";
|
|
8047
|
+
ThemeFields2["slug"] = "slug";
|
|
8041
8048
|
return ThemeFields2;
|
|
8042
8049
|
})(ThemeFields || {});
|
|
8043
8050
|
var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
@@ -8158,24 +8165,21 @@ var AgentTimelineItemFields = /* @__PURE__ */ ((AgentTimelineItemFields2) => {
|
|
|
8158
8165
|
var AgentTimelineItemAssciations = /* @__PURE__ */ ((AgentTimelineItemAssciations2) => {
|
|
8159
8166
|
AgentTimelineItemAssciations2["attachments"] = "attachments";
|
|
8160
8167
|
AgentTimelineItemAssciations2["attachmentsAggregate"] = "attachmentsAggregate";
|
|
8161
|
-
AgentTimelineItemAssciations2["codeRevision"] = "codeRevision";
|
|
8162
8168
|
AgentTimelineItemAssciations2["run"] = "run";
|
|
8163
8169
|
return AgentTimelineItemAssciations2;
|
|
8164
8170
|
})(AgentTimelineItemAssciations || {});
|
|
8165
8171
|
var AgentAttachmentFields = /* @__PURE__ */ ((AgentAttachmentFields2) => {
|
|
8166
8172
|
AgentAttachmentFields2["id"] = "id";
|
|
8167
8173
|
AgentAttachmentFields2["name"] = "name";
|
|
8168
|
-
AgentAttachmentFields2["
|
|
8169
|
-
AgentAttachmentFields2["
|
|
8170
|
-
AgentAttachmentFields2["extName"] = "extName";
|
|
8171
|
-
AgentAttachmentFields2["mediaType"] = "mediaType";
|
|
8172
|
-
AgentAttachmentFields2["storageMeta"] = "storageMeta";
|
|
8173
|
-
AgentAttachmentFields2["seqValue"] = "seqValue";
|
|
8174
|
+
AgentAttachmentFields2["type"] = "type";
|
|
8175
|
+
AgentAttachmentFields2["playload"] = "playload";
|
|
8174
8176
|
AgentAttachmentFields2["createdAt"] = "createdAt";
|
|
8175
8177
|
AgentAttachmentFields2["updatedAt"] = "updatedAt";
|
|
8178
|
+
AgentAttachmentFields2["seqValue"] = "seqValue";
|
|
8176
8179
|
return AgentAttachmentFields2;
|
|
8177
8180
|
})(AgentAttachmentFields || {});
|
|
8178
8181
|
var AgentAttachmentAssciations = /* @__PURE__ */ ((AgentAttachmentAssciations2) => {
|
|
8182
|
+
AgentAttachmentAssciations2["file"] = "file";
|
|
8179
8183
|
AgentAttachmentAssciations2["timelineItme"] = "timelineItme";
|
|
8180
8184
|
return AgentAttachmentAssciations2;
|
|
8181
8185
|
})(AgentAttachmentAssciations || {});
|
|
@@ -8186,7 +8190,6 @@ var TempFileFields = /* @__PURE__ */ ((TempFileFields2) => {
|
|
|
8186
8190
|
TempFileFields2["extName"] = "extName";
|
|
8187
8191
|
TempFileFields2["mediaType"] = "mediaType";
|
|
8188
8192
|
TempFileFields2["storageMeta"] = "storageMeta";
|
|
8189
|
-
TempFileFields2["seqValue"] = "seqValue";
|
|
8190
8193
|
TempFileFields2["createdAt"] = "createdAt";
|
|
8191
8194
|
TempFileFields2["updateAt"] = "updateAt";
|
|
8192
8195
|
TempFileFields2["mimeType"] = "mimeType";
|
|
@@ -8195,57 +8198,61 @@ var TempFileFields = /* @__PURE__ */ ((TempFileFields2) => {
|
|
|
8195
8198
|
var TempFileAssciations = /* @__PURE__ */ ((TempFileAssciations2) => {
|
|
8196
8199
|
TempFileAssciations2["website"] = "website";
|
|
8197
8200
|
TempFileAssciations2["themeBranch"] = "themeBranch";
|
|
8201
|
+
TempFileAssciations2["agentAttachment"] = "agentAttachment";
|
|
8198
8202
|
return TempFileAssciations2;
|
|
8199
8203
|
})(TempFileAssciations || {});
|
|
8200
|
-
var
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8204
|
+
var WebsiteProfileFields = /* @__PURE__ */ ((WebsiteProfileFields2) => {
|
|
8205
|
+
WebsiteProfileFields2["id"] = "id";
|
|
8206
|
+
WebsiteProfileFields2["name"] = "name";
|
|
8207
|
+
WebsiteProfileFields2["industry"] = "industry";
|
|
8208
|
+
WebsiteProfileFields2["targetMarket"] = "targetMarket";
|
|
8209
|
+
WebsiteProfileFields2["references"] = "references";
|
|
8210
|
+
WebsiteProfileFields2["layoutPreference"] = "layoutPreference";
|
|
8211
|
+
WebsiteProfileFields2["styleGuide"] = "styleGuide";
|
|
8212
|
+
WebsiteProfileFields2["contentStrategy"] = "contentStrategy";
|
|
8213
|
+
WebsiteProfileFields2["themeBranchId"] = "themeBranchId";
|
|
8214
|
+
WebsiteProfileFields2["createdAt"] = "createdAt";
|
|
8215
|
+
WebsiteProfileFields2["updatedAt"] = "updatedAt";
|
|
8216
|
+
WebsiteProfileFields2["products"] = "products";
|
|
8217
|
+
WebsiteProfileFields2["companyInfo"] = "companyInfo";
|
|
8218
|
+
WebsiteProfileFields2["slug"] = "slug";
|
|
8219
|
+
WebsiteProfileFields2["langAbbr"] = "langAbbr";
|
|
8220
|
+
WebsiteProfileFields2["pages"] = "pages";
|
|
8221
|
+
return WebsiteProfileFields2;
|
|
8222
|
+
})(WebsiteProfileFields || {});
|
|
8223
|
+
var WebsiteProfileAssciations = /* @__PURE__ */ ((WebsiteProfileAssciations2) => {
|
|
8224
|
+
WebsiteProfileAssciations2["website"] = "website";
|
|
8225
|
+
return WebsiteProfileAssciations2;
|
|
8226
|
+
})(WebsiteProfileAssciations || {});
|
|
8227
|
+
var AgentMemoFileFields = /* @__PURE__ */ ((AgentMemoFileFields2) => {
|
|
8228
|
+
AgentMemoFileFields2["id"] = "id";
|
|
8229
|
+
AgentMemoFileFields2["name"] = "name";
|
|
8230
|
+
AgentMemoFileFields2["content"] = "content";
|
|
8231
|
+
AgentMemoFileFields2["mimeType"] = "mimeType";
|
|
8232
|
+
AgentMemoFileFields2["extName"] = "extName";
|
|
8233
|
+
AgentMemoFileFields2["createdAt"] = "createdAt";
|
|
8234
|
+
AgentMemoFileFields2["updatedAt"] = "updatedAt";
|
|
8235
|
+
return AgentMemoFileFields2;
|
|
8236
|
+
})(AgentMemoFileFields || {});
|
|
8237
|
+
var AgentMemoFileAssciations = /* @__PURE__ */ ((AgentMemoFileAssciations2) => {
|
|
8238
|
+
AgentMemoFileAssciations2["folder"] = "folder";
|
|
8239
|
+
return AgentMemoFileAssciations2;
|
|
8240
|
+
})(AgentMemoFileAssciations || {});
|
|
8241
|
+
var AgentMemoFolderFields = /* @__PURE__ */ ((AgentMemoFolderFields2) => {
|
|
8242
|
+
AgentMemoFolderFields2["id"] = "id";
|
|
8243
|
+
AgentMemoFolderFields2["name"] = "name";
|
|
8244
|
+
AgentMemoFolderFields2["createdAt"] = "createdAt";
|
|
8245
|
+
AgentMemoFolderFields2["updatedAt"] = "updatedAt";
|
|
8246
|
+
return AgentMemoFolderFields2;
|
|
8247
|
+
})(AgentMemoFolderFields || {});
|
|
8248
|
+
var AgentMemoFolderAssciations = /* @__PURE__ */ ((AgentMemoFolderAssciations2) => {
|
|
8249
|
+
AgentMemoFolderAssciations2["files"] = "files";
|
|
8250
|
+
AgentMemoFolderAssciations2["filesAggregate"] = "filesAggregate";
|
|
8251
|
+
AgentMemoFolderAssciations2["children"] = "children";
|
|
8252
|
+
AgentMemoFolderAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
8253
|
+
AgentMemoFolderAssciations2["parent"] = "parent";
|
|
8254
|
+
return AgentMemoFolderAssciations2;
|
|
8255
|
+
})(AgentMemoFolderAssciations || {});
|
|
8249
8256
|
export {
|
|
8250
8257
|
AbilityAssciations,
|
|
8251
8258
|
AbilityDistinctEnum,
|
|
@@ -8260,12 +8267,18 @@ export {
|
|
|
8260
8267
|
AgentAttachmentEntityName,
|
|
8261
8268
|
AgentAttachmentFields,
|
|
8262
8269
|
AgentAttachmentQueryOptions,
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8270
|
+
AgentMemoFileAssciations,
|
|
8271
|
+
AgentMemoFileDistinctEnum,
|
|
8272
|
+
AgentMemoFileEntityLabel,
|
|
8273
|
+
AgentMemoFileEntityName,
|
|
8274
|
+
AgentMemoFileFields,
|
|
8275
|
+
AgentMemoFileQueryOptions,
|
|
8276
|
+
AgentMemoFolderAssciations,
|
|
8277
|
+
AgentMemoFolderDistinctEnum,
|
|
8278
|
+
AgentMemoFolderEntityLabel,
|
|
8279
|
+
AgentMemoFolderEntityName,
|
|
8280
|
+
AgentMemoFolderFields,
|
|
8281
|
+
AgentMemoFolderQueryOptions,
|
|
8269
8282
|
AgentRunAssciations,
|
|
8270
8283
|
AgentRunDistinctEnum,
|
|
8271
8284
|
AgentRunEntityLabel,
|
|
@@ -8309,12 +8322,6 @@ export {
|
|
|
8309
8322
|
ChangeLogEntityName,
|
|
8310
8323
|
ChangeLogFields,
|
|
8311
8324
|
ChangeLogQueryOptions,
|
|
8312
|
-
CodeRevisionAssciations,
|
|
8313
|
-
CodeRevisionDistinctEnum,
|
|
8314
|
-
CodeRevisionEntityLabel,
|
|
8315
|
-
CodeRevisionEntityName,
|
|
8316
|
-
CodeRevisionFields,
|
|
8317
|
-
CodeRevisionQueryOptions,
|
|
8318
8325
|
ComponentCategoryAssciations,
|
|
8319
8326
|
ComponentCategoryDistinctEnum,
|
|
8320
8327
|
ComponentCategoryEntityLabel,
|
|
@@ -8454,12 +8461,6 @@ export {
|
|
|
8454
8461
|
SearchIndexEntityName,
|
|
8455
8462
|
SearchIndexFields,
|
|
8456
8463
|
SearchIndexQueryOptions,
|
|
8457
|
-
SiteBlueprintAssciations,
|
|
8458
|
-
SiteBlueprintDistinctEnum,
|
|
8459
|
-
SiteBlueprintEntityLabel,
|
|
8460
|
-
SiteBlueprintEntityName,
|
|
8461
|
-
SiteBlueprintFields,
|
|
8462
|
-
SiteBlueprintQueryOptions,
|
|
8463
8464
|
SlugableDistinctEnum,
|
|
8464
8465
|
SoftableDistinctEnum,
|
|
8465
8466
|
SourceType,
|
|
@@ -8589,6 +8590,12 @@ export {
|
|
|
8589
8590
|
WebsiteEntityName,
|
|
8590
8591
|
WebsiteFields,
|
|
8591
8592
|
WebsitePartDistinctEnum,
|
|
8593
|
+
WebsiteProfileAssciations,
|
|
8594
|
+
WebsiteProfileDistinctEnum,
|
|
8595
|
+
WebsiteProfileEntityLabel,
|
|
8596
|
+
WebsiteProfileEntityName,
|
|
8597
|
+
WebsiteProfileFields,
|
|
8598
|
+
WebsiteProfileQueryOptions,
|
|
8592
8599
|
WebsiteQueryOptions,
|
|
8593
8600
|
WebsiteSettingsAssciations,
|
|
8594
8601
|
WebsiteSettingsDistinctEnum,
|
|
@@ -8616,9 +8623,12 @@ export {
|
|
|
8616
8623
|
agentAttachmentEntry,
|
|
8617
8624
|
agentAttachmentToInput,
|
|
8618
8625
|
agentAttachmentToInputCascade,
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
|
|
8626
|
+
agentMemoFileEntry,
|
|
8627
|
+
agentMemoFileToInput,
|
|
8628
|
+
agentMemoFileToInputCascade,
|
|
8629
|
+
agentMemoFolderEntry,
|
|
8630
|
+
agentMemoFolderToInput,
|
|
8631
|
+
agentMemoFolderToInputCascade,
|
|
8622
8632
|
agentRunEntry,
|
|
8623
8633
|
agentRunToInput,
|
|
8624
8634
|
agentRunToInputCascade,
|
|
@@ -8642,9 +8652,6 @@ export {
|
|
|
8642
8652
|
changeLogEntry,
|
|
8643
8653
|
changeLogToInput,
|
|
8644
8654
|
changeLogToInputCascade,
|
|
8645
|
-
codeRevisionEntry,
|
|
8646
|
-
codeRevisionToInput,
|
|
8647
|
-
codeRevisionToInputCascade,
|
|
8648
8655
|
componentCategoryEntry,
|
|
8649
8656
|
componentCategoryToInput,
|
|
8650
8657
|
componentCategoryToInputCascade,
|
|
@@ -8708,9 +8715,6 @@ export {
|
|
|
8708
8715
|
searchIndexEntry,
|
|
8709
8716
|
searchIndexToInput,
|
|
8710
8717
|
searchIndexToInputCascade,
|
|
8711
|
-
siteBlueprintEntry,
|
|
8712
|
-
siteBlueprintToInput,
|
|
8713
|
-
siteBlueprintToInputCascade,
|
|
8714
8718
|
spamFilterRuleEntry,
|
|
8715
8719
|
spamFilterRuleToInput,
|
|
8716
8720
|
spamFilterRuleToInputCascade,
|
|
@@ -8769,6 +8773,9 @@ export {
|
|
|
8769
8773
|
visitorLogToInput,
|
|
8770
8774
|
visitorLogToInputCascade,
|
|
8771
8775
|
websiteEntry,
|
|
8776
|
+
websiteProfileEntry,
|
|
8777
|
+
websiteProfileToInput,
|
|
8778
|
+
websiteProfileToInputCascade,
|
|
8772
8779
|
websiteSettingsEntry,
|
|
8773
8780
|
websiteSettingsToInput,
|
|
8774
8781
|
websiteSettingsToInputCascade,
|