@rxdrag/rxcms-models 0.3.49 → 0.3.51
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/MediaQueryOptions.d.ts +5 -0
- package/dist/classes/SearchIndexQueryOptions.d.ts +24 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +10 -0
- package/dist/classes/index.d.ts +2 -0
- package/dist/entries/changeLogEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +2 -0
- package/dist/entries/searchIndexEntry.d.ts +2 -0
- package/dist/fields/ChangeLogFields.d.ts +9 -0
- package/dist/fields/EnquiryFields.d.ts +1 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/SearchIndexFields.d.ts +18 -0
- package/dist/fields/WebsiteFields.d.ts +5 -1
- package/dist/fields/index.d.ts +2 -0
- package/dist/index.mjs +284 -12
- 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/Media.d.ts +3 -0
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaInput.d.ts +2 -0
- package/dist/interfaces/SearchIndex.d.ts +22 -0
- package/dist/interfaces/SearchIndexBoolExp.d.ts +27 -0
- package/dist/interfaces/SearchIndexDistinctExp.d.ts +15 -0
- package/dist/interfaces/SearchIndexInput.d.ts +24 -0
- package/dist/interfaces/SearchIndexOrderBy.d.ts +15 -0
- package/dist/interfaces/SourceType.d.ts +10 -0
- package/dist/interfaces/StringComparisonExp.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +6 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +4 -0
- package/dist/interfaces/WebsiteInput.d.ts +4 -0
- package/dist/interfaces/index.d.ts +11 -0
- package/package.json +3 -3
|
@@ -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
|
+
}
|
|
@@ -32,6 +32,9 @@ import { ThemeConfigBoolExp } from '../interfaces';
|
|
|
32
32
|
import { PageMetaQueryOptions } from './PageMetaQueryOptions';
|
|
33
33
|
import { PageMeta } from '../interfaces';
|
|
34
34
|
import { PageMetaBoolExp } from '../interfaces';
|
|
35
|
+
import { SearchIndexQueryOptions } from './SearchIndexQueryOptions';
|
|
36
|
+
import { SearchIndex } from '../interfaces';
|
|
37
|
+
import { SearchIndexBoolExp } from '../interfaces';
|
|
35
38
|
export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp, MediaOrderBy, MediaDistinctExp> {
|
|
36
39
|
constructor(fields?: (keyof Media)[], queryArgs?: IQueryArgs<MediaBoolExp, MediaOrderBy, MediaDistinctExp>);
|
|
37
40
|
id(): this;
|
|
@@ -64,4 +67,6 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
|
|
|
64
67
|
usedByThemConfigAggregate(aggregate: IAggregate<ThemeConfigBoolExp>): this;
|
|
65
68
|
pageMeta(options?: PageMetaQueryOptions | (keyof PageMeta)[]): this;
|
|
66
69
|
pageMetaAggregate(aggregate: IAggregate<PageMetaBoolExp>): this;
|
|
70
|
+
searchIndex(options?: SearchIndexQueryOptions | (keyof SearchIndex)[]): this;
|
|
71
|
+
searchIndexAggregate(aggregate: IAggregate<SearchIndexBoolExp>): this;
|
|
67
72
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { SearchIndex, SearchIndexBoolExp, SearchIndexDistinctExp, SearchIndexOrderBy } from "../interfaces";
|
|
4
|
+
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
5
|
+
import { Media } from '../interfaces';
|
|
6
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
7
|
+
import { Website } from '../interfaces';
|
|
8
|
+
export declare class SearchIndexQueryOptions extends QueryOptions<SearchIndex, SearchIndexBoolExp, SearchIndexOrderBy, SearchIndexDistinctExp> {
|
|
9
|
+
constructor(fields?: (keyof SearchIndex)[], queryArgs?: IQueryArgs<SearchIndexBoolExp, SearchIndexOrderBy, SearchIndexDistinctExp>);
|
|
10
|
+
id(): this;
|
|
11
|
+
sourceType(): this;
|
|
12
|
+
sourceId(): this;
|
|
13
|
+
title(): this;
|
|
14
|
+
content(): this;
|
|
15
|
+
tags(): this;
|
|
16
|
+
summary(): this;
|
|
17
|
+
updatedAt(): this;
|
|
18
|
+
createdAt(): this;
|
|
19
|
+
sourceSlug(): this;
|
|
20
|
+
sourceLang(): this;
|
|
21
|
+
sourceStatus(): this;
|
|
22
|
+
media(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
23
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
24
|
+
}
|
|
@@ -46,6 +46,12 @@ 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';
|
|
52
|
+
import { SearchIndexQueryOptions } from './SearchIndexQueryOptions';
|
|
53
|
+
import { SearchIndex } from '../interfaces';
|
|
54
|
+
import { SearchIndexBoolExp } from '../interfaces';
|
|
49
55
|
export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
|
|
50
56
|
constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
|
|
51
57
|
id(): this;
|
|
@@ -110,4 +116,8 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
110
116
|
themesAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
|
|
111
117
|
analyticsConfig(options?: AnalyticsConfigQueryOptions | (keyof AnalyticsConfig)[]): this;
|
|
112
118
|
settings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
|
|
119
|
+
changelogs(options?: ChangeLogQueryOptions | (keyof ChangeLog)[]): this;
|
|
120
|
+
changelogsAggregate(aggregate: IAggregate<ChangeLogBoolExp>): this;
|
|
121
|
+
searchIndexes(options?: SearchIndexQueryOptions | (keyof SearchIndex)[]): this;
|
|
122
|
+
searchIndexesAggregate(aggregate: IAggregate<SearchIndexBoolExp>): this;
|
|
113
123
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -31,5 +31,7 @@ export * from './SectionTemplateQueryOptions';
|
|
|
31
31
|
export * from './ThemeCategoryQueryOptions';
|
|
32
32
|
export * from './TemplateCategoryQueryOptions';
|
|
33
33
|
export * from './StyleConfigQueryOptions';
|
|
34
|
+
export * from './ChangeLogQueryOptions';
|
|
35
|
+
export * from './SearchIndexQueryOptions';
|
|
34
36
|
export * from './QueryOptions';
|
|
35
37
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -30,5 +30,7 @@ export declare enum MediaAssciations {
|
|
|
30
30
|
usedByThemConfig = "usedByThemConfig",
|
|
31
31
|
usedByThemConfigAggregate = "usedByThemConfigAggregate",
|
|
32
32
|
pageMeta = "pageMeta",
|
|
33
|
-
pageMetaAggregate = "pageMetaAggregate"
|
|
33
|
+
pageMetaAggregate = "pageMetaAggregate",
|
|
34
|
+
searchIndex = "searchIndex",
|
|
35
|
+
searchIndexAggregate = "searchIndexAggregate"
|
|
34
36
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum SearchIndexFields {
|
|
2
|
+
id = "id",
|
|
3
|
+
sourceType = "sourceType",
|
|
4
|
+
sourceId = "sourceId",
|
|
5
|
+
title = "title",
|
|
6
|
+
content = "content",
|
|
7
|
+
tags = "tags",
|
|
8
|
+
summary = "summary",
|
|
9
|
+
updatedAt = "updatedAt",
|
|
10
|
+
createdAt = "createdAt",
|
|
11
|
+
sourceSlug = "sourceSlug",
|
|
12
|
+
sourceLang = "sourceLang",
|
|
13
|
+
sourceStatus = "sourceStatus"
|
|
14
|
+
}
|
|
15
|
+
export declare enum SearchIndexAssciations {
|
|
16
|
+
media = "media",
|
|
17
|
+
website = "website"
|
|
18
|
+
}
|
|
@@ -62,5 +62,9 @@ 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",
|
|
68
|
+
searchIndexes = "searchIndexes",
|
|
69
|
+
searchIndexesAggregate = "searchIndexesAggregate"
|
|
66
70
|
}
|
package/dist/fields/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -23,7 +23,8 @@ const aggregateEntities = {
|
|
|
23
23
|
productAttacPivotsAggregate: "AttachmentOnProduct",
|
|
24
24
|
coverOfThemeAggregate: "Theme",
|
|
25
25
|
usedByThemConfigAggregate: "ThemeConfig",
|
|
26
|
-
pageMetaAggregate: "PageMeta"
|
|
26
|
+
pageMetaAggregate: "PageMeta",
|
|
27
|
+
searchIndexAggregate: "SearchIndex"
|
|
27
28
|
},
|
|
28
29
|
Website: {
|
|
29
30
|
usersAggregate: "User",
|
|
@@ -38,7 +39,9 @@ const aggregateEntities = {
|
|
|
38
39
|
partsOfSpamFilterRuleAggregate: "SpamFilterRule",
|
|
39
40
|
partsOfMediaAggregate: "Media",
|
|
40
41
|
langsAggregate: "Lang",
|
|
41
|
-
themesAggregate: "Theme"
|
|
42
|
+
themesAggregate: "Theme",
|
|
43
|
+
changelogsAggregate: "ChangeLog",
|
|
44
|
+
searchIndexesAggregate: "SearchIndex"
|
|
42
45
|
},
|
|
43
46
|
Lang: {
|
|
44
47
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -688,9 +691,35 @@ const websiteSettingsToInput = (entity) => {
|
|
|
688
691
|
website: convertHasOneToInput(entity.website)
|
|
689
692
|
};
|
|
690
693
|
};
|
|
694
|
+
const changeLogToInputCascade = (entity) => {
|
|
695
|
+
return {
|
|
696
|
+
...entity,
|
|
697
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
const changeLogToInput = (entity) => {
|
|
701
|
+
return {
|
|
702
|
+
...entity,
|
|
703
|
+
website: convertHasOneToInput(entity.website)
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
const searchIndexToInputCascade = (entity) => {
|
|
707
|
+
return {
|
|
708
|
+
...entity,
|
|
709
|
+
media: entity.media ? processHasOneClear({ sync: mediaToInput(entity.media) }) : void 0,
|
|
710
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
const searchIndexToInput = (entity) => {
|
|
714
|
+
return {
|
|
715
|
+
...entity,
|
|
716
|
+
media: convertHasOneToInput(entity.media),
|
|
717
|
+
website: convertHasOneToInput(entity.website)
|
|
718
|
+
};
|
|
719
|
+
};
|
|
691
720
|
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;
|
|
721
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
722
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, ...rest } = entity;
|
|
694
723
|
return {
|
|
695
724
|
...rest,
|
|
696
725
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
@@ -710,11 +739,13 @@ const websiteToInputCascade = (entity) => {
|
|
|
710
739
|
baseLang: entity.baseLang ? processHasOneClear({ sync: langToInput(entity.baseLang) }) : void 0,
|
|
711
740
|
themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0,
|
|
712
741
|
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0,
|
|
713
|
-
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0
|
|
742
|
+
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0,
|
|
743
|
+
changelogs: entity.changelogs ? processHasManyClear({ sync: (_n = entity.changelogs) == null ? void 0 : _n.map((ent) => changeLogToInput(ent)) }) : void 0,
|
|
744
|
+
searchIndexes: entity.searchIndexes ? processHasManyClear({ sync: (_o = entity.searchIndexes) == null ? void 0 : _o.map((ent) => searchIndexToInput(ent)) }) : void 0
|
|
714
745
|
};
|
|
715
746
|
};
|
|
716
747
|
const websiteToInput = (entity) => {
|
|
717
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
|
|
748
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, ...rest } = entity;
|
|
718
749
|
return {
|
|
719
750
|
...rest,
|
|
720
751
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -734,7 +765,9 @@ const websiteToInput = (entity) => {
|
|
|
734
765
|
baseLang: convertHasOneToInput(entity.baseLang),
|
|
735
766
|
themes: convertHasManyToInput(entity.themes),
|
|
736
767
|
analyticsConfig: convertHasOneToInput(entity.analyticsConfig),
|
|
737
|
-
settings: convertHasOneToInput(entity.settings)
|
|
768
|
+
settings: convertHasOneToInput(entity.settings),
|
|
769
|
+
changelogs: convertHasManyToInput(entity.changelogs),
|
|
770
|
+
searchIndexes: convertHasManyToInput(entity.searchIndexes)
|
|
738
771
|
};
|
|
739
772
|
};
|
|
740
773
|
const customerToInputCascade = (entity) => {
|
|
@@ -835,8 +868,8 @@ const mediaFolderToInput = (entity) => {
|
|
|
835
868
|
};
|
|
836
869
|
};
|
|
837
870
|
const mediaToInputCascade = (entity) => {
|
|
838
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
839
|
-
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, coverOfThemeAggregate, usedByThemConfigAggregate, pageMetaAggregate, ...rest } = entity;
|
|
871
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
872
|
+
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, coverOfThemeAggregate, usedByThemConfigAggregate, pageMetaAggregate, searchIndexAggregate, ...rest } = entity;
|
|
840
873
|
return {
|
|
841
874
|
...rest,
|
|
842
875
|
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInput(entity.folder) }) : void 0,
|
|
@@ -850,11 +883,12 @@ const mediaToInputCascade = (entity) => {
|
|
|
850
883
|
coverOfTheme: entity.coverOfTheme ? processHasManyClear({ sync: (_e = entity.coverOfTheme) == null ? void 0 : _e.map((ent) => themeToInput(ent)) }) : void 0,
|
|
851
884
|
postCategory: entity.postCategory ? processHasOneClear({ sync: postCategoryToInput(entity.postCategory) }) : void 0,
|
|
852
885
|
usedByThemConfig: entity.usedByThemConfig ? processHasManyClear({ sync: (_f = entity.usedByThemConfig) == null ? void 0 : _f.map((ent) => themeConfigToInput(ent)) }) : void 0,
|
|
853
|
-
pageMeta: entity.pageMeta ? processHasManyClear({ sync: (_g = entity.pageMeta) == null ? void 0 : _g.map((ent) => pageMetaToInput(ent)) }) : void 0
|
|
886
|
+
pageMeta: entity.pageMeta ? processHasManyClear({ sync: (_g = entity.pageMeta) == null ? void 0 : _g.map((ent) => pageMetaToInput(ent)) }) : void 0,
|
|
887
|
+
searchIndex: entity.searchIndex ? processHasManyClear({ sync: (_h = entity.searchIndex) == null ? void 0 : _h.map((ent) => searchIndexToInput(ent)) }) : void 0
|
|
854
888
|
};
|
|
855
889
|
};
|
|
856
890
|
const mediaToInput = (entity) => {
|
|
857
|
-
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, coverOfThemeAggregate, usedByThemConfigAggregate, pageMetaAggregate, ...rest } = entity;
|
|
891
|
+
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, coverOfThemeAggregate, usedByThemConfigAggregate, pageMetaAggregate, searchIndexAggregate, ...rest } = entity;
|
|
858
892
|
return {
|
|
859
893
|
...rest,
|
|
860
894
|
folder: convertHasOneToInput(entity.folder),
|
|
@@ -868,7 +902,8 @@ const mediaToInput = (entity) => {
|
|
|
868
902
|
coverOfTheme: convertHasManyToInput(entity.coverOfTheme),
|
|
869
903
|
postCategory: convertHasOneToInput(entity.postCategory),
|
|
870
904
|
usedByThemConfig: convertHasManyToInput(entity.usedByThemConfig),
|
|
871
|
-
pageMeta: convertHasManyToInput(entity.pageMeta)
|
|
905
|
+
pageMeta: convertHasManyToInput(entity.pageMeta),
|
|
906
|
+
searchIndex: convertHasManyToInput(entity.searchIndex)
|
|
872
907
|
};
|
|
873
908
|
};
|
|
874
909
|
const userToInputCascade = (entity) => {
|
|
@@ -1138,6 +1173,7 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
|
|
|
1138
1173
|
EnquiryDistinctEnum2["fromCta"] = "fromCta";
|
|
1139
1174
|
EnquiryDistinctEnum2["read"] = "read";
|
|
1140
1175
|
EnquiryDistinctEnum2["spam"] = "spam";
|
|
1176
|
+
EnquiryDistinctEnum2["mobile"] = "mobile";
|
|
1141
1177
|
EnquiryDistinctEnum2["createdAt"] = "createdAt";
|
|
1142
1178
|
EnquiryDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1143
1179
|
EnquiryDistinctEnum2["content"] = "content";
|
|
@@ -1543,6 +1579,37 @@ var CookieConsentStrategy = /* @__PURE__ */ ((CookieConsentStrategy2) => {
|
|
|
1543
1579
|
CookieConsentStrategy2["ALWAYS_SHOW"] = "ALWAYS_SHOW";
|
|
1544
1580
|
return CookieConsentStrategy2;
|
|
1545
1581
|
})(CookieConsentStrategy || {});
|
|
1582
|
+
const ChangeLogEntityName = "ChangeLog";
|
|
1583
|
+
const ChangeLogEntityLabel = "";
|
|
1584
|
+
var ChangeLogDistinctEnum = /* @__PURE__ */ ((ChangeLogDistinctEnum2) => {
|
|
1585
|
+
ChangeLogDistinctEnum2["id"] = "id";
|
|
1586
|
+
ChangeLogDistinctEnum2["title"] = "title";
|
|
1587
|
+
ChangeLogDistinctEnum2["description"] = "description";
|
|
1588
|
+
ChangeLogDistinctEnum2["createdAt"] = "createdAt";
|
|
1589
|
+
return ChangeLogDistinctEnum2;
|
|
1590
|
+
})(ChangeLogDistinctEnum || {});
|
|
1591
|
+
const SearchIndexEntityName = "SearchIndex";
|
|
1592
|
+
const SearchIndexEntityLabel = "";
|
|
1593
|
+
var SearchIndexDistinctEnum = /* @__PURE__ */ ((SearchIndexDistinctEnum2) => {
|
|
1594
|
+
SearchIndexDistinctEnum2["id"] = "id";
|
|
1595
|
+
SearchIndexDistinctEnum2["sourceType"] = "sourceType";
|
|
1596
|
+
SearchIndexDistinctEnum2["sourceId"] = "sourceId";
|
|
1597
|
+
SearchIndexDistinctEnum2["title"] = "title";
|
|
1598
|
+
SearchIndexDistinctEnum2["content"] = "content";
|
|
1599
|
+
SearchIndexDistinctEnum2["tags"] = "tags";
|
|
1600
|
+
SearchIndexDistinctEnum2["summary"] = "summary";
|
|
1601
|
+
SearchIndexDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1602
|
+
SearchIndexDistinctEnum2["createdAt"] = "createdAt";
|
|
1603
|
+
SearchIndexDistinctEnum2["sourceSlug"] = "sourceSlug";
|
|
1604
|
+
SearchIndexDistinctEnum2["sourceLang"] = "sourceLang";
|
|
1605
|
+
SearchIndexDistinctEnum2["sourceStatus"] = "sourceStatus";
|
|
1606
|
+
return SearchIndexDistinctEnum2;
|
|
1607
|
+
})(SearchIndexDistinctEnum || {});
|
|
1608
|
+
var SourceType = /* @__PURE__ */ ((SourceType2) => {
|
|
1609
|
+
SourceType2["product"] = "product";
|
|
1610
|
+
SourceType2["post"] = "post";
|
|
1611
|
+
return SourceType2;
|
|
1612
|
+
})(SourceType || {});
|
|
1546
1613
|
class RoleQueryOptions extends QueryOptions {
|
|
1547
1614
|
constructor(fields, queryArgs) {
|
|
1548
1615
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -3189,6 +3256,104 @@ class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
|
3189
3256
|
return this;
|
|
3190
3257
|
}
|
|
3191
3258
|
}
|
|
3259
|
+
class ChangeLogQueryOptions extends QueryOptions {
|
|
3260
|
+
constructor(fields, queryArgs) {
|
|
3261
|
+
super(ChangeLogEntityName, fields, queryArgs);
|
|
3262
|
+
}
|
|
3263
|
+
id() {
|
|
3264
|
+
this.addField("id");
|
|
3265
|
+
return this;
|
|
3266
|
+
}
|
|
3267
|
+
title() {
|
|
3268
|
+
this.addField("title");
|
|
3269
|
+
return this;
|
|
3270
|
+
}
|
|
3271
|
+
description() {
|
|
3272
|
+
this.addField("description");
|
|
3273
|
+
return this;
|
|
3274
|
+
}
|
|
3275
|
+
createdAt() {
|
|
3276
|
+
this.addField("createdAt");
|
|
3277
|
+
return this;
|
|
3278
|
+
}
|
|
3279
|
+
website(options) {
|
|
3280
|
+
if (Array.isArray(options)) {
|
|
3281
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3282
|
+
} else {
|
|
3283
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3284
|
+
}
|
|
3285
|
+
return this;
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
class SearchIndexQueryOptions extends QueryOptions {
|
|
3289
|
+
constructor(fields, queryArgs) {
|
|
3290
|
+
super(SearchIndexEntityName, fields, queryArgs);
|
|
3291
|
+
}
|
|
3292
|
+
id() {
|
|
3293
|
+
this.addField("id");
|
|
3294
|
+
return this;
|
|
3295
|
+
}
|
|
3296
|
+
sourceType() {
|
|
3297
|
+
this.addField("sourceType");
|
|
3298
|
+
return this;
|
|
3299
|
+
}
|
|
3300
|
+
sourceId() {
|
|
3301
|
+
this.addField("sourceId");
|
|
3302
|
+
return this;
|
|
3303
|
+
}
|
|
3304
|
+
title() {
|
|
3305
|
+
this.addField("title");
|
|
3306
|
+
return this;
|
|
3307
|
+
}
|
|
3308
|
+
content() {
|
|
3309
|
+
this.addField("content");
|
|
3310
|
+
return this;
|
|
3311
|
+
}
|
|
3312
|
+
tags() {
|
|
3313
|
+
this.addField("tags");
|
|
3314
|
+
return this;
|
|
3315
|
+
}
|
|
3316
|
+
summary() {
|
|
3317
|
+
this.addField("summary");
|
|
3318
|
+
return this;
|
|
3319
|
+
}
|
|
3320
|
+
updatedAt() {
|
|
3321
|
+
this.addField("updatedAt");
|
|
3322
|
+
return this;
|
|
3323
|
+
}
|
|
3324
|
+
createdAt() {
|
|
3325
|
+
this.addField("createdAt");
|
|
3326
|
+
return this;
|
|
3327
|
+
}
|
|
3328
|
+
sourceSlug() {
|
|
3329
|
+
this.addField("sourceSlug");
|
|
3330
|
+
return this;
|
|
3331
|
+
}
|
|
3332
|
+
sourceLang() {
|
|
3333
|
+
this.addField("sourceLang");
|
|
3334
|
+
return this;
|
|
3335
|
+
}
|
|
3336
|
+
sourceStatus() {
|
|
3337
|
+
this.addField("sourceStatus");
|
|
3338
|
+
return this;
|
|
3339
|
+
}
|
|
3340
|
+
media(options) {
|
|
3341
|
+
if (Array.isArray(options)) {
|
|
3342
|
+
this._associations["media"] = new MediaQueryOptions(options);
|
|
3343
|
+
} else {
|
|
3344
|
+
this._associations["media"] = options || new MediaQueryOptions(["id"]);
|
|
3345
|
+
}
|
|
3346
|
+
return this;
|
|
3347
|
+
}
|
|
3348
|
+
website(options) {
|
|
3349
|
+
if (Array.isArray(options)) {
|
|
3350
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3351
|
+
} else {
|
|
3352
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3353
|
+
}
|
|
3354
|
+
return this;
|
|
3355
|
+
}
|
|
3356
|
+
}
|
|
3192
3357
|
class WebsiteQueryOptions extends QueryOptions {
|
|
3193
3358
|
constructor(fields, queryArgs) {
|
|
3194
3359
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -3450,6 +3615,30 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3450
3615
|
}
|
|
3451
3616
|
return this;
|
|
3452
3617
|
}
|
|
3618
|
+
changelogs(options) {
|
|
3619
|
+
if (Array.isArray(options)) {
|
|
3620
|
+
this._associations["changelogs"] = new ChangeLogQueryOptions(options);
|
|
3621
|
+
} else {
|
|
3622
|
+
this._associations["changelogs"] = options || new ChangeLogQueryOptions(["id"]);
|
|
3623
|
+
}
|
|
3624
|
+
return this;
|
|
3625
|
+
}
|
|
3626
|
+
changelogsAggregate(aggregate) {
|
|
3627
|
+
this._aggregates["changelogsAggregate"] = aggregate;
|
|
3628
|
+
return this;
|
|
3629
|
+
}
|
|
3630
|
+
searchIndexes(options) {
|
|
3631
|
+
if (Array.isArray(options)) {
|
|
3632
|
+
this._associations["searchIndexes"] = new SearchIndexQueryOptions(options);
|
|
3633
|
+
} else {
|
|
3634
|
+
this._associations["searchIndexes"] = options || new SearchIndexQueryOptions(["id"]);
|
|
3635
|
+
}
|
|
3636
|
+
return this;
|
|
3637
|
+
}
|
|
3638
|
+
searchIndexesAggregate(aggregate) {
|
|
3639
|
+
this._aggregates["searchIndexesAggregate"] = aggregate;
|
|
3640
|
+
return this;
|
|
3641
|
+
}
|
|
3453
3642
|
}
|
|
3454
3643
|
class CustomerQueryOptions extends QueryOptions {
|
|
3455
3644
|
constructor(fields, queryArgs) {
|
|
@@ -3615,6 +3804,10 @@ class EnquiryQueryOptions extends QueryOptions {
|
|
|
3615
3804
|
this.addField("spam");
|
|
3616
3805
|
return this;
|
|
3617
3806
|
}
|
|
3807
|
+
mobile() {
|
|
3808
|
+
this.addField("mobile");
|
|
3809
|
+
return this;
|
|
3810
|
+
}
|
|
3618
3811
|
createdAt() {
|
|
3619
3812
|
this.addField("createdAt");
|
|
3620
3813
|
return this;
|
|
@@ -4117,6 +4310,18 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
4117
4310
|
this._aggregates["pageMetaAggregate"] = aggregate;
|
|
4118
4311
|
return this;
|
|
4119
4312
|
}
|
|
4313
|
+
searchIndex(options) {
|
|
4314
|
+
if (Array.isArray(options)) {
|
|
4315
|
+
this._associations["searchIndex"] = new SearchIndexQueryOptions(options);
|
|
4316
|
+
} else {
|
|
4317
|
+
this._associations["searchIndex"] = options || new SearchIndexQueryOptions(["id"]);
|
|
4318
|
+
}
|
|
4319
|
+
return this;
|
|
4320
|
+
}
|
|
4321
|
+
searchIndexAggregate(aggregate) {
|
|
4322
|
+
this._aggregates["searchIndexAggregate"] = aggregate;
|
|
4323
|
+
return this;
|
|
4324
|
+
}
|
|
4120
4325
|
}
|
|
4121
4326
|
class UserQueryOptions extends QueryOptions {
|
|
4122
4327
|
constructor(fields, queryArgs) {
|
|
@@ -4548,6 +4753,16 @@ const styleConfigEntry = {
|
|
|
4548
4753
|
entityLabel: StyleConfigEntityLabel,
|
|
4549
4754
|
toInput: styleConfigToInput
|
|
4550
4755
|
};
|
|
4756
|
+
const changeLogEntry = {
|
|
4757
|
+
entityName: ChangeLogEntityName,
|
|
4758
|
+
entityLabel: ChangeLogEntityLabel,
|
|
4759
|
+
toInput: changeLogToInput
|
|
4760
|
+
};
|
|
4761
|
+
const searchIndexEntry = {
|
|
4762
|
+
entityName: SearchIndexEntityName,
|
|
4763
|
+
entityLabel: SearchIndexEntityLabel,
|
|
4764
|
+
toInput: searchIndexToInput
|
|
4765
|
+
};
|
|
4551
4766
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4552
4767
|
UserFields2["id"] = "id";
|
|
4553
4768
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4645,6 +4860,8 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
4645
4860
|
MediaAssciations2["usedByThemConfigAggregate"] = "usedByThemConfigAggregate";
|
|
4646
4861
|
MediaAssciations2["pageMeta"] = "pageMeta";
|
|
4647
4862
|
MediaAssciations2["pageMetaAggregate"] = "pageMetaAggregate";
|
|
4863
|
+
MediaAssciations2["searchIndex"] = "searchIndex";
|
|
4864
|
+
MediaAssciations2["searchIndexAggregate"] = "searchIndexAggregate";
|
|
4648
4865
|
return MediaAssciations2;
|
|
4649
4866
|
})(MediaAssciations || {});
|
|
4650
4867
|
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
@@ -4711,6 +4928,10 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4711
4928
|
WebsiteAssciations2["themesAggregate"] = "themesAggregate";
|
|
4712
4929
|
WebsiteAssciations2["analyticsConfig"] = "analyticsConfig";
|
|
4713
4930
|
WebsiteAssciations2["settings"] = "settings";
|
|
4931
|
+
WebsiteAssciations2["changelogs"] = "changelogs";
|
|
4932
|
+
WebsiteAssciations2["changelogsAggregate"] = "changelogsAggregate";
|
|
4933
|
+
WebsiteAssciations2["searchIndexes"] = "searchIndexes";
|
|
4934
|
+
WebsiteAssciations2["searchIndexesAggregate"] = "searchIndexesAggregate";
|
|
4714
4935
|
return WebsiteAssciations2;
|
|
4715
4936
|
})(WebsiteAssciations || {});
|
|
4716
4937
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -4869,6 +5090,7 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
|
|
|
4869
5090
|
EnquiryFields2["fromCta"] = "fromCta";
|
|
4870
5091
|
EnquiryFields2["read"] = "read";
|
|
4871
5092
|
EnquiryFields2["spam"] = "spam";
|
|
5093
|
+
EnquiryFields2["mobile"] = "mobile";
|
|
4872
5094
|
EnquiryFields2["createdAt"] = "createdAt";
|
|
4873
5095
|
EnquiryFields2["updatedAt"] = "updatedAt";
|
|
4874
5096
|
EnquiryFields2["content"] = "content";
|
|
@@ -5251,6 +5473,37 @@ var StyleConfigAssciations = /* @__PURE__ */ ((StyleConfigAssciations2) => {
|
|
|
5251
5473
|
StyleConfigAssciations2["theme"] = "theme";
|
|
5252
5474
|
return StyleConfigAssciations2;
|
|
5253
5475
|
})(StyleConfigAssciations || {});
|
|
5476
|
+
var ChangeLogFields = /* @__PURE__ */ ((ChangeLogFields2) => {
|
|
5477
|
+
ChangeLogFields2["id"] = "id";
|
|
5478
|
+
ChangeLogFields2["title"] = "title";
|
|
5479
|
+
ChangeLogFields2["description"] = "description";
|
|
5480
|
+
ChangeLogFields2["createdAt"] = "createdAt";
|
|
5481
|
+
return ChangeLogFields2;
|
|
5482
|
+
})(ChangeLogFields || {});
|
|
5483
|
+
var ChangeLogAssciations = /* @__PURE__ */ ((ChangeLogAssciations2) => {
|
|
5484
|
+
ChangeLogAssciations2["website"] = "website";
|
|
5485
|
+
return ChangeLogAssciations2;
|
|
5486
|
+
})(ChangeLogAssciations || {});
|
|
5487
|
+
var SearchIndexFields = /* @__PURE__ */ ((SearchIndexFields2) => {
|
|
5488
|
+
SearchIndexFields2["id"] = "id";
|
|
5489
|
+
SearchIndexFields2["sourceType"] = "sourceType";
|
|
5490
|
+
SearchIndexFields2["sourceId"] = "sourceId";
|
|
5491
|
+
SearchIndexFields2["title"] = "title";
|
|
5492
|
+
SearchIndexFields2["content"] = "content";
|
|
5493
|
+
SearchIndexFields2["tags"] = "tags";
|
|
5494
|
+
SearchIndexFields2["summary"] = "summary";
|
|
5495
|
+
SearchIndexFields2["updatedAt"] = "updatedAt";
|
|
5496
|
+
SearchIndexFields2["createdAt"] = "createdAt";
|
|
5497
|
+
SearchIndexFields2["sourceSlug"] = "sourceSlug";
|
|
5498
|
+
SearchIndexFields2["sourceLang"] = "sourceLang";
|
|
5499
|
+
SearchIndexFields2["sourceStatus"] = "sourceStatus";
|
|
5500
|
+
return SearchIndexFields2;
|
|
5501
|
+
})(SearchIndexFields || {});
|
|
5502
|
+
var SearchIndexAssciations = /* @__PURE__ */ ((SearchIndexAssciations2) => {
|
|
5503
|
+
SearchIndexAssciations2["media"] = "media";
|
|
5504
|
+
SearchIndexAssciations2["website"] = "website";
|
|
5505
|
+
return SearchIndexAssciations2;
|
|
5506
|
+
})(SearchIndexAssciations || {});
|
|
5254
5507
|
export {
|
|
5255
5508
|
AbilityAssciations,
|
|
5256
5509
|
AbilityDistinctEnum,
|
|
@@ -5271,6 +5524,12 @@ export {
|
|
|
5271
5524
|
AttachmentOnProductEntityName,
|
|
5272
5525
|
AttachmentOnProductFields,
|
|
5273
5526
|
AttachmentOnProductQueryOptions,
|
|
5527
|
+
ChangeLogAssciations,
|
|
5528
|
+
ChangeLogDistinctEnum,
|
|
5529
|
+
ChangeLogEntityLabel,
|
|
5530
|
+
ChangeLogEntityName,
|
|
5531
|
+
ChangeLogFields,
|
|
5532
|
+
ChangeLogQueryOptions,
|
|
5274
5533
|
ComponentCategoryAssciations,
|
|
5275
5534
|
ComponentCategoryDistinctEnum,
|
|
5276
5535
|
ComponentCategoryEntityLabel,
|
|
@@ -5378,6 +5637,12 @@ export {
|
|
|
5378
5637
|
RoleEntityName,
|
|
5379
5638
|
RoleFields,
|
|
5380
5639
|
RoleQueryOptions,
|
|
5640
|
+
SearchIndexAssciations,
|
|
5641
|
+
SearchIndexDistinctEnum,
|
|
5642
|
+
SearchIndexEntityLabel,
|
|
5643
|
+
SearchIndexEntityName,
|
|
5644
|
+
SearchIndexFields,
|
|
5645
|
+
SearchIndexQueryOptions,
|
|
5381
5646
|
SectionTemplateAssciations,
|
|
5382
5647
|
SectionTemplateDistinctEnum,
|
|
5383
5648
|
SectionTemplateEntityLabel,
|
|
@@ -5385,6 +5650,7 @@ export {
|
|
|
5385
5650
|
SectionTemplateFields,
|
|
5386
5651
|
SectionTemplateQueryOptions,
|
|
5387
5652
|
SlugableDistinctEnum,
|
|
5653
|
+
SourceType,
|
|
5388
5654
|
SpamFilterRuleAssciations,
|
|
5389
5655
|
SpamFilterRuleDistinctEnum,
|
|
5390
5656
|
SpamFilterRuleEntityLabel,
|
|
@@ -5479,6 +5745,9 @@ export {
|
|
|
5479
5745
|
attachmentOnProductEntry,
|
|
5480
5746
|
attachmentOnProductToInput,
|
|
5481
5747
|
attachmentOnProductToInputCascade,
|
|
5748
|
+
changeLogEntry,
|
|
5749
|
+
changeLogToInput,
|
|
5750
|
+
changeLogToInputCascade,
|
|
5482
5751
|
componentCategoryEntry,
|
|
5483
5752
|
componentCategoryToInput,
|
|
5484
5753
|
componentCategoryToInputCascade,
|
|
@@ -5527,6 +5796,9 @@ export {
|
|
|
5527
5796
|
roleEntry,
|
|
5528
5797
|
roleToInput,
|
|
5529
5798
|
roleToInputCascade,
|
|
5799
|
+
searchIndexEntry,
|
|
5800
|
+
searchIndexToInput,
|
|
5801
|
+
searchIndexToInputCascade,
|
|
5530
5802
|
sectionTemplateEntry,
|
|
5531
5803
|
sectionTemplateToInput,
|
|
5532
5804
|
sectionTemplateToInputCascade,
|