@rxdrag/rxcms-models 0.3.50 → 0.3.52
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/MediaQueryOptions.d.ts +5 -0
- package/dist/classes/SearchIndexQueryOptions.d.ts +24 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +5 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/searchIndexEntry.d.ts +2 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/SearchIndexFields.d.ts +18 -0
- package/dist/fields/WebsiteFields.d.ts +3 -1
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +186 -12
- package/dist/index.mjs.map +1 -1
- 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 +3 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsiteInput.d.ts +2 -0
- package/dist/interfaces/index.d.ts +6 -0
- package/package.json +2 -2
|
@@ -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
|
+
}
|
|
@@ -49,6 +49,9 @@ import { WebsiteSettings } from '../interfaces';
|
|
|
49
49
|
import { ChangeLogQueryOptions } from './ChangeLogQueryOptions';
|
|
50
50
|
import { ChangeLog } from '../interfaces';
|
|
51
51
|
import { ChangeLogBoolExp } from '../interfaces';
|
|
52
|
+
import { SearchIndexQueryOptions } from './SearchIndexQueryOptions';
|
|
53
|
+
import { SearchIndex } from '../interfaces';
|
|
54
|
+
import { SearchIndexBoolExp } from '../interfaces';
|
|
52
55
|
export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
|
|
53
56
|
constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
|
|
54
57
|
id(): this;
|
|
@@ -115,4 +118,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
115
118
|
settings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
|
|
116
119
|
changelogs(options?: ChangeLogQueryOptions | (keyof ChangeLog)[]): this;
|
|
117
120
|
changelogsAggregate(aggregate: IAggregate<ChangeLogBoolExp>): this;
|
|
121
|
+
searchIndexes(options?: SearchIndexQueryOptions | (keyof SearchIndex)[]): this;
|
|
122
|
+
searchIndexesAggregate(aggregate: IAggregate<SearchIndexBoolExp>): this;
|
|
118
123
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -32,5 +32,6 @@ export * from './ThemeCategoryQueryOptions';
|
|
|
32
32
|
export * from './TemplateCategoryQueryOptions';
|
|
33
33
|
export * from './StyleConfigQueryOptions';
|
|
34
34
|
export * from './ChangeLogQueryOptions';
|
|
35
|
+
export * from './SearchIndexQueryOptions';
|
|
35
36
|
export * from './QueryOptions';
|
|
36
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
|
+
}
|
|
@@ -64,5 +64,7 @@ export declare enum WebsiteAssciations {
|
|
|
64
64
|
analyticsConfig = "analyticsConfig",
|
|
65
65
|
settings = "settings",
|
|
66
66
|
changelogs = "changelogs",
|
|
67
|
-
changelogsAggregate = "changelogsAggregate"
|
|
67
|
+
changelogsAggregate = "changelogsAggregate",
|
|
68
|
+
searchIndexes = "searchIndexes",
|
|
69
|
+
searchIndexesAggregate = "searchIndexesAggregate"
|
|
68
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",
|
|
@@ -39,7 +40,8 @@ const aggregateEntities = {
|
|
|
39
40
|
partsOfMediaAggregate: "Media",
|
|
40
41
|
langsAggregate: "Lang",
|
|
41
42
|
themesAggregate: "Theme",
|
|
42
|
-
changelogsAggregate: "ChangeLog"
|
|
43
|
+
changelogsAggregate: "ChangeLog",
|
|
44
|
+
searchIndexesAggregate: "SearchIndex"
|
|
43
45
|
},
|
|
44
46
|
Lang: {
|
|
45
47
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -701,9 +703,23 @@ const changeLogToInput = (entity) => {
|
|
|
701
703
|
website: convertHasOneToInput(entity.website)
|
|
702
704
|
};
|
|
703
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
|
+
};
|
|
704
720
|
const websiteToInputCascade = (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;
|
|
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;
|
|
707
723
|
return {
|
|
708
724
|
...rest,
|
|
709
725
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
@@ -724,11 +740,12 @@ const websiteToInputCascade = (entity) => {
|
|
|
724
740
|
themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0,
|
|
725
741
|
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0,
|
|
726
742
|
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
|
|
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
|
|
728
745
|
};
|
|
729
746
|
};
|
|
730
747
|
const websiteToInput = (entity) => {
|
|
731
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, ...rest } = entity;
|
|
748
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, ...rest } = entity;
|
|
732
749
|
return {
|
|
733
750
|
...rest,
|
|
734
751
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -749,7 +766,8 @@ const websiteToInput = (entity) => {
|
|
|
749
766
|
themes: convertHasManyToInput(entity.themes),
|
|
750
767
|
analyticsConfig: convertHasOneToInput(entity.analyticsConfig),
|
|
751
768
|
settings: convertHasOneToInput(entity.settings),
|
|
752
|
-
changelogs: convertHasManyToInput(entity.changelogs)
|
|
769
|
+
changelogs: convertHasManyToInput(entity.changelogs),
|
|
770
|
+
searchIndexes: convertHasManyToInput(entity.searchIndexes)
|
|
753
771
|
};
|
|
754
772
|
};
|
|
755
773
|
const customerToInputCascade = (entity) => {
|
|
@@ -850,8 +868,8 @@ const mediaFolderToInput = (entity) => {
|
|
|
850
868
|
};
|
|
851
869
|
};
|
|
852
870
|
const mediaToInputCascade = (entity) => {
|
|
853
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
854
|
-
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;
|
|
855
873
|
return {
|
|
856
874
|
...rest,
|
|
857
875
|
folder: entity.folder ? processHasOneClear({ sync: mediaFolderToInput(entity.folder) }) : void 0,
|
|
@@ -865,11 +883,12 @@ const mediaToInputCascade = (entity) => {
|
|
|
865
883
|
coverOfTheme: entity.coverOfTheme ? processHasManyClear({ sync: (_e = entity.coverOfTheme) == null ? void 0 : _e.map((ent) => themeToInput(ent)) }) : void 0,
|
|
866
884
|
postCategory: entity.postCategory ? processHasOneClear({ sync: postCategoryToInput(entity.postCategory) }) : void 0,
|
|
867
885
|
usedByThemConfig: entity.usedByThemConfig ? processHasManyClear({ sync: (_f = entity.usedByThemConfig) == null ? void 0 : _f.map((ent) => themeConfigToInput(ent)) }) : void 0,
|
|
868
|
-
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
|
|
869
888
|
};
|
|
870
889
|
};
|
|
871
890
|
const mediaToInput = (entity) => {
|
|
872
|
-
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, coverOfThemeAggregate, usedByThemConfigAggregate, pageMetaAggregate, ...rest } = entity;
|
|
891
|
+
const { file, coverOfAggregate, meidaOfProductAggregate, productMediaPivotsAggregate, productAttacPivotsAggregate, coverOfThemeAggregate, usedByThemConfigAggregate, pageMetaAggregate, searchIndexAggregate, ...rest } = entity;
|
|
873
892
|
return {
|
|
874
893
|
...rest,
|
|
875
894
|
folder: convertHasOneToInput(entity.folder),
|
|
@@ -883,7 +902,8 @@ const mediaToInput = (entity) => {
|
|
|
883
902
|
coverOfTheme: convertHasManyToInput(entity.coverOfTheme),
|
|
884
903
|
postCategory: convertHasOneToInput(entity.postCategory),
|
|
885
904
|
usedByThemConfig: convertHasManyToInput(entity.usedByThemConfig),
|
|
886
|
-
pageMeta: convertHasManyToInput(entity.pageMeta)
|
|
905
|
+
pageMeta: convertHasManyToInput(entity.pageMeta),
|
|
906
|
+
searchIndex: convertHasManyToInput(entity.searchIndex)
|
|
887
907
|
};
|
|
888
908
|
};
|
|
889
909
|
const userToInputCascade = (entity) => {
|
|
@@ -1568,6 +1588,28 @@ var ChangeLogDistinctEnum = /* @__PURE__ */ ((ChangeLogDistinctEnum2) => {
|
|
|
1568
1588
|
ChangeLogDistinctEnum2["createdAt"] = "createdAt";
|
|
1569
1589
|
return ChangeLogDistinctEnum2;
|
|
1570
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 || {});
|
|
1571
1613
|
class RoleQueryOptions extends QueryOptions {
|
|
1572
1614
|
constructor(fields, queryArgs) {
|
|
1573
1615
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -3243,6 +3285,75 @@ class ChangeLogQueryOptions extends QueryOptions {
|
|
|
3243
3285
|
return this;
|
|
3244
3286
|
}
|
|
3245
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
|
+
}
|
|
3246
3357
|
class WebsiteQueryOptions extends QueryOptions {
|
|
3247
3358
|
constructor(fields, queryArgs) {
|
|
3248
3359
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -3516,6 +3627,18 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3516
3627
|
this._aggregates["changelogsAggregate"] = aggregate;
|
|
3517
3628
|
return this;
|
|
3518
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
|
+
}
|
|
3519
3642
|
}
|
|
3520
3643
|
class CustomerQueryOptions extends QueryOptions {
|
|
3521
3644
|
constructor(fields, queryArgs) {
|
|
@@ -4187,6 +4310,18 @@ class MediaQueryOptions extends QueryOptions {
|
|
|
4187
4310
|
this._aggregates["pageMetaAggregate"] = aggregate;
|
|
4188
4311
|
return this;
|
|
4189
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
|
+
}
|
|
4190
4325
|
}
|
|
4191
4326
|
class UserQueryOptions extends QueryOptions {
|
|
4192
4327
|
constructor(fields, queryArgs) {
|
|
@@ -4623,6 +4758,11 @@ const changeLogEntry = {
|
|
|
4623
4758
|
entityLabel: ChangeLogEntityLabel,
|
|
4624
4759
|
toInput: changeLogToInput
|
|
4625
4760
|
};
|
|
4761
|
+
const searchIndexEntry = {
|
|
4762
|
+
entityName: SearchIndexEntityName,
|
|
4763
|
+
entityLabel: SearchIndexEntityLabel,
|
|
4764
|
+
toInput: searchIndexToInput
|
|
4765
|
+
};
|
|
4626
4766
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
4627
4767
|
UserFields2["id"] = "id";
|
|
4628
4768
|
UserFields2["loginName"] = "loginName";
|
|
@@ -4720,6 +4860,8 @@ var MediaAssciations = /* @__PURE__ */ ((MediaAssciations2) => {
|
|
|
4720
4860
|
MediaAssciations2["usedByThemConfigAggregate"] = "usedByThemConfigAggregate";
|
|
4721
4861
|
MediaAssciations2["pageMeta"] = "pageMeta";
|
|
4722
4862
|
MediaAssciations2["pageMetaAggregate"] = "pageMetaAggregate";
|
|
4863
|
+
MediaAssciations2["searchIndex"] = "searchIndex";
|
|
4864
|
+
MediaAssciations2["searchIndexAggregate"] = "searchIndexAggregate";
|
|
4723
4865
|
return MediaAssciations2;
|
|
4724
4866
|
})(MediaAssciations || {});
|
|
4725
4867
|
var MailFields = /* @__PURE__ */ ((MailFields2) => {
|
|
@@ -4788,6 +4930,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4788
4930
|
WebsiteAssciations2["settings"] = "settings";
|
|
4789
4931
|
WebsiteAssciations2["changelogs"] = "changelogs";
|
|
4790
4932
|
WebsiteAssciations2["changelogsAggregate"] = "changelogsAggregate";
|
|
4933
|
+
WebsiteAssciations2["searchIndexes"] = "searchIndexes";
|
|
4934
|
+
WebsiteAssciations2["searchIndexesAggregate"] = "searchIndexesAggregate";
|
|
4791
4935
|
return WebsiteAssciations2;
|
|
4792
4936
|
})(WebsiteAssciations || {});
|
|
4793
4937
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -5340,6 +5484,26 @@ var ChangeLogAssciations = /* @__PURE__ */ ((ChangeLogAssciations2) => {
|
|
|
5340
5484
|
ChangeLogAssciations2["website"] = "website";
|
|
5341
5485
|
return ChangeLogAssciations2;
|
|
5342
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 || {});
|
|
5343
5507
|
export {
|
|
5344
5508
|
AbilityAssciations,
|
|
5345
5509
|
AbilityDistinctEnum,
|
|
@@ -5473,6 +5637,12 @@ export {
|
|
|
5473
5637
|
RoleEntityName,
|
|
5474
5638
|
RoleFields,
|
|
5475
5639
|
RoleQueryOptions,
|
|
5640
|
+
SearchIndexAssciations,
|
|
5641
|
+
SearchIndexDistinctEnum,
|
|
5642
|
+
SearchIndexEntityLabel,
|
|
5643
|
+
SearchIndexEntityName,
|
|
5644
|
+
SearchIndexFields,
|
|
5645
|
+
SearchIndexQueryOptions,
|
|
5476
5646
|
SectionTemplateAssciations,
|
|
5477
5647
|
SectionTemplateDistinctEnum,
|
|
5478
5648
|
SectionTemplateEntityLabel,
|
|
@@ -5480,6 +5650,7 @@ export {
|
|
|
5480
5650
|
SectionTemplateFields,
|
|
5481
5651
|
SectionTemplateQueryOptions,
|
|
5482
5652
|
SlugableDistinctEnum,
|
|
5653
|
+
SourceType,
|
|
5483
5654
|
SpamFilterRuleAssciations,
|
|
5484
5655
|
SpamFilterRuleDistinctEnum,
|
|
5485
5656
|
SpamFilterRuleEntityLabel,
|
|
@@ -5625,6 +5796,9 @@ export {
|
|
|
5625
5796
|
roleEntry,
|
|
5626
5797
|
roleToInput,
|
|
5627
5798
|
roleToInputCascade,
|
|
5799
|
+
searchIndexEntry,
|
|
5800
|
+
searchIndexToInput,
|
|
5801
|
+
searchIndexToInputCascade,
|
|
5628
5802
|
sectionTemplateEntry,
|
|
5629
5803
|
sectionTemplateToInput,
|
|
5630
5804
|
sectionTemplateToInputCascade,
|