@rxdrag/rxcms-models 0.3.49 → 0.3.50
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/ChangeLogQueryOptions.d.ts +13 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +5 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/changeLogEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/fields/ChangeLogFields.d.ts +9 -0
- package/dist/fields/EnquiryFields.d.ts +1 -0
- package/dist/fields/WebsiteFields.d.ts +3 -1
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +104 -6
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/ChangeLog.d.ts +10 -0
- package/dist/interfaces/ChangeLogBoolExp.d.ts +14 -0
- package/dist/interfaces/ChangeLogDistinctExp.d.ts +7 -0
- package/dist/interfaces/ChangeLogInput.d.ts +12 -0
- package/dist/interfaces/ChangeLogOrderBy.d.ts +7 -0
- package/dist/interfaces/Enquiry.d.ts +1 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -0
- package/dist/interfaces/EnquiryInput.d.ts +1 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +3 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsiteInput.d.ts +2 -0
- package/dist/interfaces/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { ChangeLog, ChangeLogBoolExp, ChangeLogDistinctExp, ChangeLogOrderBy } from "../interfaces";
|
|
4
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
5
|
+
import { Website } from '../interfaces';
|
|
6
|
+
export declare class ChangeLogQueryOptions extends QueryOptions<ChangeLog, ChangeLogBoolExp, ChangeLogOrderBy, ChangeLogDistinctExp> {
|
|
7
|
+
constructor(fields?: (keyof ChangeLog)[], queryArgs?: IQueryArgs<ChangeLogBoolExp, ChangeLogOrderBy, ChangeLogDistinctExp>);
|
|
8
|
+
id(): this;
|
|
9
|
+
title(): this;
|
|
10
|
+
description(): this;
|
|
11
|
+
createdAt(): this;
|
|
12
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
13
|
+
}
|
|
@@ -46,6 +46,9 @@ import { AnalyticsConfigQueryOptions } from './AnalyticsConfigQueryOptions';
|
|
|
46
46
|
import { AnalyticsConfig } from '../interfaces';
|
|
47
47
|
import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
|
|
48
48
|
import { WebsiteSettings } from '../interfaces';
|
|
49
|
+
import { ChangeLogQueryOptions } from './ChangeLogQueryOptions';
|
|
50
|
+
import { ChangeLog } from '../interfaces';
|
|
51
|
+
import { ChangeLogBoolExp } from '../interfaces';
|
|
49
52
|
export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
|
|
50
53
|
constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
|
|
51
54
|
id(): this;
|
|
@@ -110,4 +113,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
110
113
|
themesAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
|
|
111
114
|
analyticsConfig(options?: AnalyticsConfigQueryOptions | (keyof AnalyticsConfig)[]): this;
|
|
112
115
|
settings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
|
|
116
|
+
changelogs(options?: ChangeLogQueryOptions | (keyof ChangeLog)[]): this;
|
|
117
|
+
changelogsAggregate(aggregate: IAggregate<ChangeLogBoolExp>): this;
|
|
113
118
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -31,5 +31,6 @@ export * from './SectionTemplateQueryOptions';
|
|
|
31
31
|
export * from './ThemeCategoryQueryOptions';
|
|
32
32
|
export * from './TemplateCategoryQueryOptions';
|
|
33
33
|
export * from './StyleConfigQueryOptions';
|
|
34
|
+
export * from './ChangeLogQueryOptions';
|
|
34
35
|
export * from './QueryOptions';
|
|
35
36
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -62,5 +62,7 @@ export declare enum WebsiteAssciations {
|
|
|
62
62
|
themes = "themes",
|
|
63
63
|
themesAggregate = "themesAggregate",
|
|
64
64
|
analyticsConfig = "analyticsConfig",
|
|
65
|
-
settings = "settings"
|
|
65
|
+
settings = "settings",
|
|
66
|
+
changelogs = "changelogs",
|
|
67
|
+
changelogsAggregate = "changelogsAggregate"
|
|
66
68
|
}
|
package/dist/fields/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,8 @@ const aggregateEntities = {
|
|
|
38
38
|
partsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
39
39
|
partsOfMediaAggregate: "Media",
|
|
40
40
|
langsAggregate: "Lang",
|
|
41
|
-
themesAggregate: "Theme"
|
|
41
|
+
themesAggregate: "Theme",
|
|
42
|
+
changelogsAggregate: "ChangeLog"
|
|
42
43
|
},
|
|
43
44
|
Lang: {
|
|
44
45
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -688,9 +689,21 @@ const websiteSettingsToInput = (entity) => {
|
|
|
688
689
|
website: convertHasOneToInput(entity.website)
|
|
689
690
|
};
|
|
690
691
|
};
|
|
692
|
+
const changeLogToInputCascade = (entity) => {
|
|
693
|
+
return {
|
|
694
|
+
...entity,
|
|
695
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
const changeLogToInput = (entity) => {
|
|
699
|
+
return {
|
|
700
|
+
...entity,
|
|
701
|
+
website: convertHasOneToInput(entity.website)
|
|
702
|
+
};
|
|
703
|
+
};
|
|
691
704
|
const websiteToInputCascade = (entity) => {
|
|
692
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
693
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
|
|
705
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
706
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, ...rest } = entity;
|
|
694
707
|
return {
|
|
695
708
|
...rest,
|
|
696
709
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
@@ -710,11 +723,12 @@ const websiteToInputCascade = (entity) => {
|
|
|
710
723
|
baseLang: entity.baseLang ? processHasOneClear({ sync: langToInput(entity.baseLang) }) : void 0,
|
|
711
724
|
themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0,
|
|
712
725
|
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0,
|
|
713
|
-
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0
|
|
726
|
+
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0,
|
|
727
|
+
changelogs: entity.changelogs ? processHasManyClear({ sync: (_n = entity.changelogs) == null ? void 0 : _n.map((ent) => changeLogToInput(ent)) }) : void 0
|
|
714
728
|
};
|
|
715
729
|
};
|
|
716
730
|
const websiteToInput = (entity) => {
|
|
717
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
|
|
731
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, ...rest } = entity;
|
|
718
732
|
return {
|
|
719
733
|
...rest,
|
|
720
734
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -734,7 +748,8 @@ const websiteToInput = (entity) => {
|
|
|
734
748
|
baseLang: convertHasOneToInput(entity.baseLang),
|
|
735
749
|
themes: convertHasManyToInput(entity.themes),
|
|
736
750
|
analyticsConfig: convertHasOneToInput(entity.analyticsConfig),
|
|
737
|
-
settings: convertHasOneToInput(entity.settings)
|
|
751
|
+
settings: convertHasOneToInput(entity.settings),
|
|
752
|
+
changelogs: convertHasManyToInput(entity.changelogs)
|
|
738
753
|
};
|
|
739
754
|
};
|
|
740
755
|
const customerToInputCascade = (entity) => {
|
|
@@ -1138,6 +1153,7 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
|
1138
1153
|
EnquiryDistinctEnum2["fromCta"] = "fromCta";
|
|
1139
1154
|
EnquiryDistinctEnum2["read"] = "read";
|
|
1140
1155
|
EnquiryDistinctEnum2["spam"] = "spam";
|
|
1156
|
+
EnquiryDistinctEnum2["mobile"] = "mobile";
|
|
1141
1157
|
EnquiryDistinctEnum2["createdAt"] = "createdAt";
|
|
1142
1158
|
EnquiryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1143
1159
|
EnquiryDistinctEnum2["content"] = "content";
|
|
@@ -1543,6 +1559,15 @@ var CookieConsentStrategy = /* @__PURE__ */ ((CookieConsentStrategy2) => {
|
|
|
1543
1559
|
CookieConsentStrategy2["ALWAYS_SHOW"] = "ALWAYS_SHOW";
|
|
1544
1560
|
return CookieConsentStrategy2;
|
|
1545
1561
|
})(CookieConsentStrategy || {});
|
|
1562
|
+
const ChangeLogEntityName = "ChangeLog";
|
|
1563
|
+
const ChangeLogEntityLabel = "";
|
|
1564
|
+
var ChangeLogDistinctEnum = /* @__PURE__ */ ((ChangeLogDistinctEnum2) => {
|
|
1565
|
+
ChangeLogDistinctEnum2["id"] = "id";
|
|
1566
|
+
ChangeLogDistinctEnum2["title"] = "title";
|
|
1567
|
+
ChangeLogDistinctEnum2["description"] = "description";
|
|
1568
|
+
ChangeLogDistinctEnum2["createdAt"] = "createdAt";
|
|
1569
|
+
return ChangeLogDistinctEnum2;
|
|
1570
|
+
})(ChangeLogDistinctEnum || {});
|
|
1546
1571
|
class RoleQueryOptions extends QueryOptions {
|
|
1547
1572
|
constructor(fields, queryArgs) {
|
|
1548
1573
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -3189,6 +3214,35 @@ class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
|
3189
3214
|
return this;
|
|
3190
3215
|
}
|
|
3191
3216
|
}
|
|
3217
|
+
class ChangeLogQueryOptions extends QueryOptions {
|
|
3218
|
+
constructor(fields, queryArgs) {
|
|
3219
|
+
super(ChangeLogEntityName, fields, queryArgs);
|
|
3220
|
+
}
|
|
3221
|
+
id() {
|
|
3222
|
+
this.addField("id");
|
|
3223
|
+
return this;
|
|
3224
|
+
}
|
|
3225
|
+
title() {
|
|
3226
|
+
this.addField("title");
|
|
3227
|
+
return this;
|
|
3228
|
+
}
|
|
3229
|
+
description() {
|
|
3230
|
+
this.addField("description");
|
|
3231
|
+
return this;
|
|
3232
|
+
}
|
|
3233
|
+
createdAt() {
|
|
3234
|
+
this.addField("createdAt");
|
|
3235
|
+
return this;
|
|
3236
|
+
}
|
|
3237
|
+
website(options) {
|
|
3238
|
+
if (Array.isArray(options)) {
|
|
3239
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3240
|
+
} else {
|
|
3241
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3242
|
+
}
|
|
3243
|
+
return this;
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3192
3246
|
class WebsiteQueryOptions extends QueryOptions {
|
|
3193
3247
|
constructor(fields, queryArgs) {
|
|
3194
3248
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -3450,6 +3504,18 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3450
3504
|
}
|
|
3451
3505
|
return this;
|
|
3452
3506
|
}
|
|
3507
|
+
changelogs(options) {
|
|
3508
|
+
if (Array.isArray(options)) {
|
|
3509
|
+
this._associations["changelogs"] = new ChangeLogQueryOptions(options);
|
|
3510
|
+
} else {
|
|
3511
|
+
this._associations["changelogs"] = options || new ChangeLogQueryOptions(["id"]);
|
|
3512
|
+
}
|
|
3513
|
+
return this;
|
|
3514
|
+
}
|
|
3515
|
+
changelogsAggregate(aggregate) {
|
|
3516
|
+
this._aggregates["changelogsAggregate"] = aggregate;
|
|
3517
|
+
return this;
|
|
3518
|
+
}
|
|
3453
3519
|
}
|
|
3454
3520
|
class CustomerQueryOptions extends QueryOptions {
|
|
3455
3521
|
constructor(fields, queryArgs) {
|
|
@@ -3615,6 +3681,10 @@ class EnquiryQueryOptions extends QueryOptions {
|
|
|
3615
3681
|
this.addField("spam");
|
|
3616
3682
|
return this;
|
|
3617
3683
|
}
|
|
3684
|
+
mobile() {
|
|
3685
|
+
this.addField("mobile");
|
|
3686
|
+
return this;
|
|
3687
|
+
}
|
|
3618
3688
|
createdAt() {
|
|
3619
3689
|
this.addField("createdAt");
|
|
3620
3690
|
return this;
|
|
@@ -4548,6 +4618,11 @@ const styleConfigEntry = {
|
|
|
4548
4618
|
entityLabel: StyleConfigEntityLabel,
|
|
4549
4619
|
toInput: styleConfigToInput
|
|
4550
4620
|
};
|
|
4621
|
+
const changeLogEntry = {
|
|
4622
|
+
entityName: ChangeLogEntityName,
|
|
4623
|
+
entityLabel: ChangeLogEntityLabel,
|
|
4624
|
+
toInput: changeLogToInput
|
|
4625
|
+
};
|
|
4551
4626
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4552
4627
|
UserFields2["id"] = "id";
|
|
4553
4628
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4711,6 +4786,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4711
4786
|
WebsiteAssciations2["themesAggregate"] = "themesAggregate";
|
|
4712
4787
|
WebsiteAssciations2["analyticsConfig"] = "analyticsConfig";
|
|
4713
4788
|
WebsiteAssciations2["settings"] = "settings";
|
|
4789
|
+
WebsiteAssciations2["changelogs"] = "changelogs";
|
|
4790
|
+
WebsiteAssciations2["changelogsAggregate"] = "changelogsAggregate";
|
|
4714
4791
|
return WebsiteAssciations2;
|
|
4715
4792
|
})(WebsiteAssciations || {});
|
|
4716
4793
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -4869,6 +4946,7 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
|
4869
4946
|
EnquiryFields2["fromCta"] = "fromCta";
|
|
4870
4947
|
EnquiryFields2["read"] = "read";
|
|
4871
4948
|
EnquiryFields2["spam"] = "spam";
|
|
4949
|
+
EnquiryFields2["mobile"] = "mobile";
|
|
4872
4950
|
EnquiryFields2["createdAt"] = "createdAt";
|
|
4873
4951
|
EnquiryFields2["updatedAt"] = "updatedAt";
|
|
4874
4952
|
EnquiryFields2["content"] = "content";
|
|
@@ -5251,6 +5329,17 @@ var StyleConfigAssciations = /* @__PURE__ */ ((StyleConfigAssciations2) => {
|
|
|
5251
5329
|
StyleConfigAssciations2["theme"] = "theme";
|
|
5252
5330
|
return StyleConfigAssciations2;
|
|
5253
5331
|
})(StyleConfigAssciations || {});
|
|
5332
|
+
var ChangeLogFields = /* @__PURE__ */ ((ChangeLogFields2) => {
|
|
5333
|
+
ChangeLogFields2["id"] = "id";
|
|
5334
|
+
ChangeLogFields2["title"] = "title";
|
|
5335
|
+
ChangeLogFields2["description"] = "description";
|
|
5336
|
+
ChangeLogFields2["createdAt"] = "createdAt";
|
|
5337
|
+
return ChangeLogFields2;
|
|
5338
|
+
})(ChangeLogFields || {});
|
|
5339
|
+
var ChangeLogAssciations = /* @__PURE__ */ ((ChangeLogAssciations2) => {
|
|
5340
|
+
ChangeLogAssciations2["website"] = "website";
|
|
5341
|
+
return ChangeLogAssciations2;
|
|
5342
|
+
})(ChangeLogAssciations || {});
|
|
5254
5343
|
export {
|
|
5255
5344
|
AbilityAssciations,
|
|
5256
5345
|
AbilityDistinctEnum,
|
|
@@ -5271,6 +5360,12 @@ export {
|
|
|
5271
5360
|
AttachmentOnProductEntityName,
|
|
5272
5361
|
AttachmentOnProductFields,
|
|
5273
5362
|
AttachmentOnProductQueryOptions,
|
|
5363
|
+
ChangeLogAssciations,
|
|
5364
|
+
ChangeLogDistinctEnum,
|
|
5365
|
+
ChangeLogEntityLabel,
|
|
5366
|
+
ChangeLogEntityName,
|
|
5367
|
+
ChangeLogFields,
|
|
5368
|
+
ChangeLogQueryOptions,
|
|
5274
5369
|
ComponentCategoryAssciations,
|
|
5275
5370
|
ComponentCategoryDistinctEnum,
|
|
5276
5371
|
ComponentCategoryEntityLabel,
|
|
@@ -5479,6 +5574,9 @@ export {
|
|
|
5479
5574
|
attachmentOnProductEntry,
|
|
5480
5575
|
attachmentOnProductToInput,
|
|
5481
5576
|
attachmentOnProductToInputCascade,
|
|
5577
|
+
changeLogEntry,
|
|
5578
|
+
changeLogToInput,
|
|
5579
|
+
changeLogToInputCascade,
|
|
5482
5580
|
componentCategoryEntry,
|
|
5483
5581
|
componentCategoryToInput,
|
|
5484
5582
|
componentCategoryToInputCascade,
|