@rxdrag/rxcms-models 0.3.42 → 0.3.44
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/AnalyticsConfigQueryOptions.d.ts +16 -0
- package/dist/classes/CustomerQueryOptions.d.ts +1 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
- package/dist/classes/FrontComponentQueryOptions.d.ts +2 -1
- package/dist/classes/LangQueryOptions.d.ts +15 -25
- package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
- package/dist/classes/MediaQueryOptions.d.ts +11 -17
- package/dist/classes/PageMetaQueryOptions.d.ts +33 -0
- package/dist/classes/PageQueryOptions.d.ts +8 -24
- package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/PostQueryOptions.d.ts +4 -15
- package/dist/classes/ProductCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/ProductQueryOptions.d.ts +4 -17
- package/dist/classes/QueryOptions.d.ts +5 -5
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +1 -0
- package/dist/classes/TagQueryOptions.d.ts +1 -0
- package/dist/classes/ThemeConfigQueryOptions.d.ts +22 -0
- package/dist/classes/ThemeInMarketQueryOptions.d.ts +17 -0
- package/dist/classes/ThemeQueryOptions.d.ts +22 -14
- package/dist/classes/ThemeVersionQueryOptions.d.ts +14 -0
- package/dist/classes/UserQueryOptions.d.ts +1 -1
- package/dist/classes/WebsiteQueryOptions.d.ts +14 -26
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +1 -14
- package/dist/classes/index.d.ts +5 -3
- package/dist/entries/analyticsConfigEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +5 -3
- package/dist/entries/{templateEntry.d.ts → pageMetaEntry.d.ts} +1 -1
- package/dist/entries/themeConfigEntry.d.ts +2 -0
- package/dist/entries/themeInMarketEntry.d.ts +2 -0
- package/dist/entries/themeVersionEntry.d.ts +2 -0
- package/dist/fields/AnalyticsConfigFields.d.ts +12 -0
- package/dist/fields/CustomerFields.d.ts +1 -0
- package/dist/fields/EnquiryFields.d.ts +2 -1
- package/dist/fields/FrontComponentFields.d.ts +3 -2
- package/dist/fields/LangFields.d.ts +10 -11
- package/dist/fields/MediaFields.d.ts +7 -10
- package/dist/fields/MediaFolderFields.d.ts +2 -1
- package/dist/fields/PageFields.d.ts +5 -19
- package/dist/fields/PageMetaFields.d.ts +23 -0
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/PostFields.d.ts +2 -15
- package/dist/fields/ProductCategoryFields.d.ts +1 -0
- package/dist/fields/ProductFields.d.ts +2 -15
- package/dist/fields/SpamFilterRuleFields.d.ts +2 -1
- package/dist/fields/TagFields.d.ts +2 -1
- package/dist/fields/ThemeConfigFields.d.ts +16 -0
- package/dist/fields/ThemeFields.d.ts +13 -6
- package/dist/fields/ThemeInMarketFields.d.ts +12 -0
- package/dist/fields/ThemeVersionFields.d.ts +8 -0
- package/dist/fields/UserFields.d.ts +1 -1
- package/dist/fields/WebsiteFields.d.ts +6 -11
- package/dist/fields/WebsiteSettingsFields.d.ts +2 -13
- package/dist/fields/index.d.ts +5 -3
- package/dist/index.mjs +1062 -1215
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AnalyticsConfig.d.ts +15 -0
- package/dist/interfaces/AnalyticsConfigBoolExp.d.ts +13 -0
- package/dist/interfaces/AnalyticsConfigDistinctExp.d.ts +10 -0
- package/dist/interfaces/AnalyticsConfigInput.d.ts +17 -0
- package/dist/interfaces/AnalyticsConfigItem.d.ts +5 -0
- package/dist/interfaces/AnalyticsConfigOrderBy.d.ts +10 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +1 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +2 -1
- package/dist/interfaces/FrontComponent.d.ts +2 -2
- package/dist/interfaces/FrontComponentBoolExp.d.ts +2 -1
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +3 -2
- package/dist/interfaces/FrontComponentInput.d.ts +2 -2
- package/dist/interfaces/FrontComponentOrderBy.d.ts +2 -1
- package/dist/interfaces/GaConfig.d.ts +7 -0
- package/dist/interfaces/GaDimension.d.ts +4 -0
- package/dist/interfaces/Lang.d.ts +11 -15
- package/dist/interfaces/LangBoolExp.d.ts +8 -10
- package/dist/interfaces/LangDistinctExp.d.ts +4 -1
- package/dist/interfaces/LangInput.d.ts +8 -10
- package/dist/interfaces/LangOrderBy.d.ts +3 -0
- package/dist/interfaces/Marketable.d.ts +9 -0
- package/dist/interfaces/MarketableBoolExp.d.ts +16 -0
- package/dist/interfaces/MarketableDistinctExp.d.ts +9 -0
- package/dist/interfaces/MarketableOrderBy.d.ts +9 -0
- package/dist/interfaces/MarketableStatus.d.ts +14 -0
- package/dist/interfaces/Media.d.ts +6 -11
- package/dist/interfaces/MediaBoolExp.d.ts +4 -7
- package/dist/interfaces/MediaDistinctExp.d.ts +2 -1
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +2 -1
- package/dist/interfaces/MediaInput.d.ts +4 -7
- package/dist/interfaces/OtherAnalyticsConfig.d.ts +4 -0
- package/dist/interfaces/Page.d.ts +11 -8
- package/dist/interfaces/PageBoolExp.d.ts +12 -8
- package/dist/interfaces/PageDistinctExp.d.ts +4 -18
- package/dist/interfaces/PageInput.d.ts +11 -8
- package/dist/interfaces/PageMeta.d.ts +27 -0
- package/dist/interfaces/PageMetaBoolExp.d.ts +30 -0
- package/dist/interfaces/PageMetaDistinctExp.d.ts +18 -0
- package/dist/interfaces/PageMetaInput.d.ts +29 -0
- package/dist/interfaces/{OgMetaOrderBy.d.ts → PageMetaOrderBy.d.ts} +7 -3
- package/dist/interfaces/PageOrderBy.d.ts +7 -2
- package/dist/interfaces/Post.d.ts +2 -1
- package/dist/interfaces/PostBoolExp.d.ts +2 -1
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/PostDistinctExp.d.ts +1 -14
- package/dist/interfaces/PostInput.d.ts +2 -1
- package/dist/interfaces/Product.d.ts +4 -5
- package/dist/interfaces/ProductBoolExp.d.ts +4 -4
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +1 -14
- package/dist/interfaces/ProductInput.d.ts +4 -5
- package/dist/interfaces/PublishableDistinctExp.d.ts +1 -14
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +2 -1
- package/dist/interfaces/TagDistinctExp.d.ts +2 -1
- package/dist/interfaces/Theme.d.ts +20 -11
- package/dist/interfaces/ThemeBoolExp.d.ts +15 -9
- package/dist/interfaces/ThemeConfig.d.ts +19 -0
- package/dist/interfaces/ThemeConfigBoolExp.d.ts +21 -0
- package/dist/interfaces/ThemeConfigDistinctExp.d.ts +13 -0
- package/dist/interfaces/ThemeConfigInput.d.ts +21 -0
- package/dist/interfaces/ThemeConfigOrderBy.d.ts +13 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +9 -2
- package/dist/interfaces/ThemeInMarket.d.ts +10 -0
- package/dist/interfaces/ThemeInMarketBoolExp.d.ts +10 -0
- package/dist/interfaces/ThemeInMarketDistinctExp.d.ts +10 -0
- package/dist/interfaces/ThemeInMarketInput.d.ts +10 -0
- package/dist/interfaces/ThemeInMarketOrderBy.d.ts +5 -0
- package/dist/interfaces/ThemeInput.d.ts +19 -9
- package/dist/interfaces/ThemeOrderBy.d.ts +11 -2
- package/dist/interfaces/ThemeVersion.d.ts +10 -0
- package/dist/interfaces/ThemeVersionBoolExp.d.ts +13 -0
- package/dist/interfaces/ThemeVersionDistinctExp.d.ts +5 -0
- package/dist/interfaces/ThemeVersionInput.d.ts +12 -0
- package/dist/interfaces/ThemeVersionOrderBy.d.ts +5 -0
- package/dist/interfaces/User.d.ts +1 -1
- package/dist/interfaces/UserBoolExp.d.ts +1 -1
- package/dist/interfaces/UserInput.d.ts +1 -1
- package/dist/interfaces/Website.d.ts +9 -16
- package/dist/interfaces/WebsiteBoolExp.d.ts +7 -11
- package/dist/interfaces/WebsiteContent.d.ts +1 -5
- package/dist/interfaces/WebsiteContentBoolExp.d.ts +1 -4
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +2 -17
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -4
- package/dist/interfaces/WebsiteInput.d.ts +7 -11
- package/dist/interfaces/WebsitePart.d.ts +1 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -1
- package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsiteSettings.d.ts +0 -14
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +0 -10
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +2 -12
- package/dist/interfaces/WebsiteSettingsInput.d.ts +0 -14
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +0 -11
- package/dist/interfaces/WebsiteUser.d.ts +1 -1
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/index.d.ts +34 -24
- package/package.json +4 -4
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +0 -25
- package/dist/classes/TemplateQueryOptions.d.ts +0 -24
- package/dist/classes/WebsiteFrameQueryOptions.d.ts +0 -18
- package/dist/entries/templateCategoryEntry.d.ts +0 -2
- package/dist/entries/websiteFrameEntry.d.ts +0 -2
- package/dist/fields/TemplateCategoryFields.d.ts +0 -14
- package/dist/fields/TemplateFields.d.ts +0 -14
- package/dist/fields/WebsiteFrameFields.d.ts +0 -12
- package/dist/interfaces/Content.d.ts +0 -3
- package/dist/interfaces/OgMeta.d.ts +0 -13
- package/dist/interfaces/OgMetaBoolExp.d.ts +0 -18
- package/dist/interfaces/OgMetaDistinctExp.d.ts +0 -14
- package/dist/interfaces/SeoMeta.d.ts +0 -6
- package/dist/interfaces/SeoMetaBoolExp.d.ts +0 -11
- package/dist/interfaces/SeoMetaDistinctExp.d.ts +0 -7
- package/dist/interfaces/SeoMetaOrderBy.d.ts +0 -7
- package/dist/interfaces/Template.d.ts +0 -17
- package/dist/interfaces/TemplateBoolExp.d.ts +0 -21
- package/dist/interfaces/TemplateCategory.d.ts +0 -18
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +0 -20
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +0 -9
- package/dist/interfaces/TemplateCategoryInput.d.ts +0 -19
- package/dist/interfaces/TemplateCategoryOrderBy.d.ts +0 -7
- package/dist/interfaces/TemplateDistinctExp.d.ts +0 -10
- package/dist/interfaces/TemplateInput.d.ts +0 -19
- package/dist/interfaces/TemplateOrderBy.d.ts +0 -8
- package/dist/interfaces/WebsiteFrame.d.ts +0 -14
- package/dist/interfaces/WebsiteFrameBoolExp.d.ts +0 -15
- package/dist/interfaces/WebsiteFrameDistinctExp.d.ts +0 -10
- package/dist/interfaces/WebsiteFrameInput.d.ts +0 -16
- package/dist/interfaces/WebsiteFrameOrderBy.d.ts +0 -8
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { AnalyticsConfig, AnalyticsConfigBoolExp, AnalyticsConfigDistinctExp, AnalyticsConfigOrderBy } from "../interfaces";
|
|
4
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
5
|
+
import { Website } from '../interfaces';
|
|
6
|
+
export declare class AnalyticsConfigQueryOptions extends QueryOptions<AnalyticsConfig, AnalyticsConfigBoolExp, AnalyticsConfigOrderBy, AnalyticsConfigDistinctExp> {
|
|
7
|
+
constructor(fields?: (keyof AnalyticsConfig)[], queryArgs?: IQueryArgs<AnalyticsConfigBoolExp, AnalyticsConfigOrderBy, AnalyticsConfigDistinctExp>);
|
|
8
|
+
id(): this;
|
|
9
|
+
/**
|
|
10
|
+
* 启用本地统计
|
|
11
|
+
*/
|
|
12
|
+
enableLocal(): this;
|
|
13
|
+
gaConfig(): this;
|
|
14
|
+
otherConfigs(): this;
|
|
15
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
16
|
+
}
|
|
@@ -26,6 +26,7 @@ export declare class EnquiryQueryOptions extends QueryOptions<Enquiry, EnquiryBo
|
|
|
26
26
|
spam(): this;
|
|
27
27
|
createdAt(): this;
|
|
28
28
|
updatedAt(): this;
|
|
29
|
+
content(): this;
|
|
29
30
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
30
31
|
customer(options?: CustomerQueryOptions | (keyof Customer)[]): this;
|
|
31
32
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
@@ -11,13 +11,14 @@ export declare class FrontComponentQueryOptions extends QueryOptions<FrontCompon
|
|
|
11
11
|
name(): this;
|
|
12
12
|
title(): this;
|
|
13
13
|
seqValue(): this;
|
|
14
|
-
content(): this;
|
|
15
14
|
props(): this;
|
|
16
15
|
testConfig(): this;
|
|
17
16
|
updatedAt(): this;
|
|
18
17
|
createdAt(): this;
|
|
19
18
|
slots(): this;
|
|
20
19
|
droppable(): this;
|
|
20
|
+
isInMarket(): this;
|
|
21
|
+
code(): this;
|
|
21
22
|
category(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
|
|
22
23
|
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
23
24
|
}
|
|
@@ -4,24 +4,12 @@ import { Lang, LangBoolExp, LangDistinctExp, LangOrderBy } from "../interfaces";
|
|
|
4
4
|
import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
|
|
5
5
|
import { WebsiteSettings } from '../interfaces';
|
|
6
6
|
import { WebsiteSettingsBoolExp } from '../interfaces';
|
|
7
|
-
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
8
|
-
import { Theme } from '../interfaces';
|
|
9
|
-
import { ThemeBoolExp } from '../interfaces';
|
|
10
|
-
import { TemplateQueryOptions } from './TemplateQueryOptions';
|
|
11
|
-
import { Template } from '../interfaces';
|
|
12
|
-
import { TemplateBoolExp } from '../interfaces';
|
|
13
|
-
import { TemplateCategoryQueryOptions } from './TemplateCategoryQueryOptions';
|
|
14
|
-
import { TemplateCategory } from '../interfaces';
|
|
15
|
-
import { TemplateCategoryBoolExp } from '../interfaces';
|
|
16
7
|
import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
|
|
17
8
|
import { MediaFolder } from '../interfaces';
|
|
18
9
|
import { MediaFolderBoolExp } from '../interfaces';
|
|
19
10
|
import { EnquiryQueryOptions } from './EnquiryQueryOptions';
|
|
20
11
|
import { Enquiry } from '../interfaces';
|
|
21
12
|
import { EnquiryBoolExp } from '../interfaces';
|
|
22
|
-
import { PageQueryOptions } from './PageQueryOptions';
|
|
23
|
-
import { Page } from '../interfaces';
|
|
24
|
-
import { PageBoolExp } from '../interfaces';
|
|
25
13
|
import { ProductQueryOptions } from './ProductQueryOptions';
|
|
26
14
|
import { Product } from '../interfaces';
|
|
27
15
|
import { ProductBoolExp } from '../interfaces';
|
|
@@ -46,9 +34,12 @@ import { SpamFilterRuleBoolExp } from '../interfaces';
|
|
|
46
34
|
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
47
35
|
import { Media } from '../interfaces';
|
|
48
36
|
import { MediaBoolExp } from '../interfaces';
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
37
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
38
|
+
import { Website } from '../interfaces';
|
|
39
|
+
import { WebsiteBoolExp } from '../interfaces';
|
|
40
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
41
|
+
import { Theme } from '../interfaces';
|
|
42
|
+
import { ThemeBoolExp } from '../interfaces';
|
|
52
43
|
export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, LangOrderBy, LangDistinctExp> {
|
|
53
44
|
constructor(fields?: (keyof Lang)[], queryArgs?: IQueryArgs<LangBoolExp, LangOrderBy, LangDistinctExp>);
|
|
54
45
|
id(): this;
|
|
@@ -72,20 +63,15 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
|
|
|
72
63
|
* 备注
|
|
73
64
|
*/
|
|
74
65
|
description(): this;
|
|
66
|
+
circleIcon(): this;
|
|
67
|
+
cnName(): this;
|
|
68
|
+
htmlLang(): this;
|
|
75
69
|
webPartsOfWebsiteSettings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
|
|
76
70
|
webPartsOfWebsiteSettingsAggregate(aggregate: IAggregate<WebsiteSettingsBoolExp>): this;
|
|
77
|
-
webPartsOfTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
78
|
-
webPartsOfThemeAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
|
|
79
|
-
webPartsOfTemplate(options?: TemplateQueryOptions | (keyof Template)[]): this;
|
|
80
|
-
webPartsOfTemplateAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
|
|
81
|
-
webPartsOfTemplateCategory(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
|
|
82
|
-
webPartsOfTemplateCategoryAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
|
|
83
71
|
webPartsOfMediaFolder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
|
|
84
72
|
webPartsOfMediaFolderAggregate(aggregate: IAggregate<MediaFolderBoolExp>): this;
|
|
85
73
|
webPartsOfEnquiry(options?: EnquiryQueryOptions | (keyof Enquiry)[]): this;
|
|
86
74
|
webPartsOfEnquiryAggregate(aggregate: IAggregate<EnquiryBoolExp>): this;
|
|
87
|
-
webPartsOfPage(options?: PageQueryOptions | (keyof Page)[]): this;
|
|
88
|
-
webPartsOfPageAggregate(aggregate: IAggregate<PageBoolExp>): this;
|
|
89
75
|
webPartsOfProduct(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
90
76
|
webPartsOfProductAggregate(aggregate: IAggregate<ProductBoolExp>): this;
|
|
91
77
|
webPartsOfPost(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
@@ -102,6 +88,10 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
|
|
|
102
88
|
webPartsOfSpamFilterRuleAggregate(aggregate: IAggregate<SpamFilterRuleBoolExp>): this;
|
|
103
89
|
webPartsOfMedia(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
104
90
|
webPartsOfMediaAggregate(aggregate: IAggregate<MediaBoolExp>): this;
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
websites(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
92
|
+
websitesAggregate(aggregate: IAggregate<WebsiteBoolExp>): this;
|
|
93
|
+
baseLangOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
94
|
+
baseLangOfAggregate(aggregate: IAggregate<WebsiteBoolExp>): this;
|
|
95
|
+
themes(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
96
|
+
themesAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
|
|
107
97
|
}
|
|
@@ -15,6 +15,7 @@ export declare class MediaFolderQueryOptions extends QueryOptions<MediaFolder, M
|
|
|
15
15
|
seqValue(): this;
|
|
16
16
|
createdAt(): this;
|
|
17
17
|
updatedAt(): this;
|
|
18
|
+
content(): this;
|
|
18
19
|
children(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
|
|
19
20
|
childrenAggregate(aggregate: IAggregate<MediaFolderBoolExp>): this;
|
|
20
21
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
@@ -10,12 +10,6 @@ import { Post } from '../interfaces';
|
|
|
10
10
|
import { PostBoolExp } from '../interfaces';
|
|
11
11
|
import { UserQueryOptions } from './UserQueryOptions';
|
|
12
12
|
import { User } from '../interfaces';
|
|
13
|
-
import { PageQueryOptions } from './PageQueryOptions';
|
|
14
|
-
import { Page } from '../interfaces';
|
|
15
|
-
import { PageBoolExp } from '../interfaces';
|
|
16
|
-
import { ProductQueryOptions } from './ProductQueryOptions';
|
|
17
|
-
import { Product } from '../interfaces';
|
|
18
|
-
import { ProductBoolExp } from '../interfaces';
|
|
19
13
|
import { ProductCategoryQueryOptions } from './ProductCategoryQueryOptions';
|
|
20
14
|
import { ProductCategory } from '../interfaces';
|
|
21
15
|
import { ProductCategoryBoolExp } from '../interfaces';
|
|
@@ -27,14 +21,17 @@ import { AttachmentOnProduct } from '../interfaces';
|
|
|
27
21
|
import { AttachmentOnProductBoolExp } from '../interfaces';
|
|
28
22
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
29
23
|
import { Website } from '../interfaces';
|
|
30
|
-
import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
|
|
31
|
-
import { WebsiteSettings } from '../interfaces';
|
|
32
|
-
import { WebsiteSettingsBoolExp } from '../interfaces';
|
|
33
24
|
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
34
25
|
import { Theme } from '../interfaces';
|
|
35
26
|
import { ThemeBoolExp } from '../interfaces';
|
|
36
27
|
import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
|
|
37
28
|
import { PostCategory } from '../interfaces';
|
|
29
|
+
import { ThemeConfigQueryOptions } from './ThemeConfigQueryOptions';
|
|
30
|
+
import { ThemeConfig } from '../interfaces';
|
|
31
|
+
import { ThemeConfigBoolExp } from '../interfaces';
|
|
32
|
+
import { PageMetaQueryOptions } from './PageMetaQueryOptions';
|
|
33
|
+
import { PageMeta } from '../interfaces';
|
|
34
|
+
import { PageMetaBoolExp } from '../interfaces';
|
|
38
35
|
export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp, MediaOrderBy, MediaDistinctExp> {
|
|
39
36
|
constructor(fields?: (keyof Media)[], queryArgs?: IQueryArgs<MediaBoolExp, MediaOrderBy, MediaDistinctExp>);
|
|
40
37
|
id(): this;
|
|
@@ -47,17 +44,12 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
|
|
|
47
44
|
createdAt(): this;
|
|
48
45
|
updatedAt(): this;
|
|
49
46
|
mediaType(): this;
|
|
47
|
+
content(): this;
|
|
50
48
|
folder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
|
|
51
49
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
52
50
|
coverOf(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
53
51
|
coverOfAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
54
52
|
avatarOfUser(options?: UserQueryOptions | (keyof User)[]): this;
|
|
55
|
-
ogMetaOfPage(options?: PageQueryOptions | (keyof Page)[]): this;
|
|
56
|
-
ogMetaOfPageAggregate(aggregate: IAggregate<PageBoolExp>): this;
|
|
57
|
-
ogMetaOfProduct(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
58
|
-
ogMetaOfProductAggregate(aggregate: IAggregate<ProductBoolExp>): this;
|
|
59
|
-
ogMetaOfPost(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
60
|
-
ogMetaOfPostAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
61
53
|
meidaOfProduct(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
|
|
62
54
|
meidaOfProductAggregate(aggregate: IAggregate<ProductCategoryBoolExp>): this;
|
|
63
55
|
productMediaPivots(options?: MediaOnProductQueryOptions | (keyof MediaOnProduct)[]): this;
|
|
@@ -65,9 +57,11 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
|
|
|
65
57
|
productAttacPivots(options?: AttachmentOnProductQueryOptions | (keyof AttachmentOnProduct)[]): this;
|
|
66
58
|
productAttacPivotsAggregate(aggregate: IAggregate<AttachmentOnProductBoolExp>): this;
|
|
67
59
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
68
|
-
usedByContact(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
|
|
69
|
-
usedByContactAggregate(aggregate: IAggregate<WebsiteSettingsBoolExp>): this;
|
|
70
60
|
coverOfTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
71
61
|
coverOfThemeAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
|
|
72
62
|
postCategory(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
63
|
+
usedByThemConfig(options?: ThemeConfigQueryOptions | (keyof ThemeConfig)[]): this;
|
|
64
|
+
usedByThemConfigAggregate(aggregate: IAggregate<ThemeConfigBoolExp>): this;
|
|
65
|
+
pageMeta(options?: PageMetaQueryOptions | (keyof PageMeta)[]): this;
|
|
66
|
+
pageMetaAggregate(aggregate: IAggregate<PageMetaBoolExp>): this;
|
|
73
67
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { PageMeta, PageMetaBoolExp, PageMetaDistinctExp, PageMetaOrderBy } from "../interfaces";
|
|
4
|
+
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
5
|
+
import { Media } from '../interfaces';
|
|
6
|
+
import { ProductQueryOptions } from './ProductQueryOptions';
|
|
7
|
+
import { Product } from '../interfaces';
|
|
8
|
+
import { PageQueryOptions } from './PageQueryOptions';
|
|
9
|
+
import { Page } from '../interfaces';
|
|
10
|
+
import { PostQueryOptions } from './PostQueryOptions';
|
|
11
|
+
import { Post } from '../interfaces';
|
|
12
|
+
export declare class PageMetaQueryOptions extends QueryOptions<PageMeta, PageMetaBoolExp, PageMetaOrderBy, PageMetaDistinctExp> {
|
|
13
|
+
constructor(fields?: (keyof PageMeta)[], queryArgs?: IQueryArgs<PageMetaBoolExp, PageMetaOrderBy, PageMetaDistinctExp>);
|
|
14
|
+
id(): this;
|
|
15
|
+
seoTitle(): this;
|
|
16
|
+
seoKeywords(): this;
|
|
17
|
+
seoDescription(): this;
|
|
18
|
+
seoAuthor(): this;
|
|
19
|
+
publisher(): this;
|
|
20
|
+
seoRobots(): this;
|
|
21
|
+
ogTitle(): this;
|
|
22
|
+
ogDescription(): this;
|
|
23
|
+
ogUrl(): this;
|
|
24
|
+
ogSiteName(): this;
|
|
25
|
+
ogType(): this;
|
|
26
|
+
xCard(): this;
|
|
27
|
+
xSite(): this;
|
|
28
|
+
xUrl(): this;
|
|
29
|
+
ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
30
|
+
product(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
31
|
+
page(options?: PageQueryOptions | (keyof Page)[]): this;
|
|
32
|
+
post(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
33
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
2
|
import { QueryOptions } from "./QueryOptions";
|
|
3
3
|
import { Page, PageBoolExp, PageDistinctExp, PageOrderBy } from "../interfaces";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
9
|
-
import { Website } from '../interfaces';
|
|
4
|
+
import { PageMetaQueryOptions } from './PageMetaQueryOptions';
|
|
5
|
+
import { PageMeta } from '../interfaces';
|
|
6
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
7
|
+
import { Theme } from '../interfaces';
|
|
10
8
|
export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, PageOrderBy, PageDistinctExp> {
|
|
11
9
|
constructor(fields?: (keyof Page)[], queryArgs?: IQueryArgs<PageBoolExp, PageOrderBy, PageDistinctExp>);
|
|
12
10
|
id(): this;
|
|
@@ -17,26 +15,12 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
|
|
|
17
15
|
remark(): this;
|
|
18
16
|
pageType(): this;
|
|
19
17
|
dataSource(): this;
|
|
20
|
-
|
|
21
|
-
extends(): this;
|
|
18
|
+
content2(): this;
|
|
22
19
|
createdAt(): this;
|
|
23
20
|
updatedAt(): this;
|
|
24
|
-
seoTitle(): this;
|
|
25
|
-
seoKeywords(): this;
|
|
26
|
-
seoDescription(): this;
|
|
27
|
-
ogTitle(): this;
|
|
28
|
-
ogDescription(): this;
|
|
29
|
-
ogUrl(): this;
|
|
30
|
-
ogSiteName(): this;
|
|
31
|
-
ogType(): this;
|
|
32
|
-
xCard(): this;
|
|
33
|
-
xSite(): this;
|
|
34
|
-
xTitle(): this;
|
|
35
|
-
xDescription(): this;
|
|
36
|
-
xUrl(): this;
|
|
37
21
|
slug(): this;
|
|
38
22
|
description(): this;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
23
|
+
code(): this;
|
|
24
|
+
meta(options?: PageMetaQueryOptions | (keyof PageMeta)[]): this;
|
|
25
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
42
26
|
}
|
|
@@ -17,6 +17,7 @@ export declare class PostCategoryQueryOptions extends QueryOptions<PostCategory,
|
|
|
17
17
|
seqValue(): this;
|
|
18
18
|
createdAt(): this;
|
|
19
19
|
updatedAt(): this;
|
|
20
|
+
content(): this;
|
|
20
21
|
slug(): this;
|
|
21
22
|
description(): this;
|
|
22
23
|
children(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
@@ -10,6 +10,8 @@ import { MediaQueryOptions } from './MediaQueryOptions';
|
|
|
10
10
|
import { Media } from '../interfaces';
|
|
11
11
|
import { LangQueryOptions } from './LangQueryOptions';
|
|
12
12
|
import { Lang } from '../interfaces';
|
|
13
|
+
import { PageMetaQueryOptions } from './PageMetaQueryOptions';
|
|
14
|
+
import { PageMeta } from '../interfaces';
|
|
13
15
|
import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
|
|
14
16
|
import { PostCategory } from '../interfaces';
|
|
15
17
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
@@ -26,32 +28,19 @@ export declare class PostQueryOptions extends QueryOptions<Post, PostBoolExp, Po
|
|
|
26
28
|
publishedAt(): this;
|
|
27
29
|
status(): this;
|
|
28
30
|
title(): this;
|
|
29
|
-
content(): this;
|
|
30
31
|
extends(): this;
|
|
31
32
|
createdAt(): this;
|
|
32
33
|
updatedAt(): this;
|
|
33
|
-
|
|
34
|
-
seoKeywords(): this;
|
|
35
|
-
seoDescription(): this;
|
|
36
|
-
ogTitle(): this;
|
|
37
|
-
ogDescription(): this;
|
|
38
|
-
ogUrl(): this;
|
|
39
|
-
ogSiteName(): this;
|
|
40
|
-
ogType(): this;
|
|
41
|
-
xCard(): this;
|
|
42
|
-
xSite(): this;
|
|
43
|
-
xTitle(): this;
|
|
44
|
-
xDescription(): this;
|
|
45
|
-
xUrl(): this;
|
|
34
|
+
content(): this;
|
|
46
35
|
slug(): this;
|
|
47
36
|
description(): this;
|
|
48
37
|
tags(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
49
38
|
tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
50
39
|
author(options?: UserQueryOptions | (keyof User)[]): this;
|
|
51
40
|
cover(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
52
|
-
ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
53
41
|
draftOf(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
54
42
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
43
|
+
meta(options?: PageMetaQueryOptions | (keyof PageMeta)[]): this;
|
|
55
44
|
category(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
|
|
56
45
|
draft(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
57
46
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
@@ -17,6 +17,7 @@ export declare class ProductCategoryQueryOptions extends QueryOptions<ProductCat
|
|
|
17
17
|
seqValue(): this;
|
|
18
18
|
createdAt(): this;
|
|
19
19
|
updatedAt(): this;
|
|
20
|
+
content(): this;
|
|
20
21
|
slug(): this;
|
|
21
22
|
description(): this;
|
|
22
23
|
children(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
|
|
@@ -6,8 +6,6 @@ import { ProductCategory } from '../interfaces';
|
|
|
6
6
|
import { TagQueryOptions } from './TagQueryOptions';
|
|
7
7
|
import { Tag } from '../interfaces';
|
|
8
8
|
import { TagBoolExp } from '../interfaces';
|
|
9
|
-
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
10
|
-
import { Media } from '../interfaces';
|
|
11
9
|
import { MediaOnProductQueryOptions } from './MediaOnProductQueryOptions';
|
|
12
10
|
import { MediaOnProduct } from '../interfaces';
|
|
13
11
|
import { MediaOnProductBoolExp } from '../interfaces';
|
|
@@ -19,6 +17,8 @@ import { Lang } from '../interfaces';
|
|
|
19
17
|
import { ProductRelatedPivotQueryOptions } from './ProductRelatedPivotQueryOptions';
|
|
20
18
|
import { ProductRelatedPivot } from '../interfaces';
|
|
21
19
|
import { ProductRelatedPivotBoolExp } from '../interfaces';
|
|
20
|
+
import { PageMetaQueryOptions } from './PageMetaQueryOptions';
|
|
21
|
+
import { PageMeta } from '../interfaces';
|
|
22
22
|
import { UserQueryOptions } from './UserQueryOptions';
|
|
23
23
|
import { User } from '../interfaces';
|
|
24
24
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
@@ -44,29 +44,15 @@ export declare class ProductQueryOptions extends QueryOptions<Product, ProductBo
|
|
|
44
44
|
publishedAt(): this;
|
|
45
45
|
status(): this;
|
|
46
46
|
title(): this;
|
|
47
|
-
content(): this;
|
|
48
47
|
extends(): this;
|
|
49
48
|
createdAt(): this;
|
|
50
49
|
updatedAt(): this;
|
|
51
|
-
|
|
52
|
-
seoKeywords(): this;
|
|
53
|
-
seoDescription(): this;
|
|
54
|
-
ogTitle(): this;
|
|
55
|
-
ogDescription(): this;
|
|
56
|
-
ogUrl(): this;
|
|
57
|
-
ogSiteName(): this;
|
|
58
|
-
ogType(): this;
|
|
59
|
-
xCard(): this;
|
|
60
|
-
xSite(): this;
|
|
61
|
-
xTitle(): this;
|
|
62
|
-
xDescription(): this;
|
|
63
|
-
xUrl(): this;
|
|
50
|
+
content(): this;
|
|
64
51
|
slug(): this;
|
|
65
52
|
description(): this;
|
|
66
53
|
category(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
|
|
67
54
|
tags(options?: TagQueryOptions | (keyof Tag)[]): this;
|
|
68
55
|
tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
|
|
69
|
-
ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
70
56
|
draftOf(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
71
57
|
mediaPivots(options?: MediaOnProductQueryOptions | (keyof MediaOnProduct)[]): this;
|
|
72
58
|
mediaPivotsAggregate(aggregate: IAggregate<MediaOnProductBoolExp>): this;
|
|
@@ -75,6 +61,7 @@ export declare class ProductQueryOptions extends QueryOptions<Product, ProductBo
|
|
|
75
61
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
76
62
|
relatedPivot(options?: ProductRelatedPivotQueryOptions | (keyof ProductRelatedPivot)[]): this;
|
|
77
63
|
relatedPivotAggregate(aggregate: IAggregate<ProductRelatedPivotBoolExp>): this;
|
|
64
|
+
meta(options?: PageMetaQueryOptions | (keyof PageMeta)[]): this;
|
|
78
65
|
creator(options?: UserQueryOptions | (keyof User)[]): this;
|
|
79
66
|
draft(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
80
67
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { Aggregates, Associations, IAggregate, IEntity, IGqlQueryOptions, IQueryArgs, IQueryOptions, ObjectFields } from "@rxdrag/entify-hooks/src/interfaces";
|
|
2
2
|
export declare class QueryOptions<T extends IEntity = IEntity, WhereExp = unknown, OrderBy = unknown, DistinctExp = unknown> implements IQueryOptions<T, WhereExp, OrderBy, DistinctExp> {
|
|
3
3
|
entityName: string;
|
|
4
|
-
protected _fields:
|
|
4
|
+
protected _fields: (keyof T)[];
|
|
5
5
|
protected _associations: Associations;
|
|
6
6
|
protected _objectFields: ObjectFields;
|
|
7
7
|
protected _aggregates: Aggregates;
|
|
8
8
|
protected _queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>;
|
|
9
9
|
protected _noQuery?: boolean;
|
|
10
|
-
constructor(entityName: string, fields?:
|
|
11
|
-
getFields: () =>
|
|
10
|
+
constructor(entityName: string, fields?: (keyof T)[], queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>);
|
|
11
|
+
getFields: () => (keyof T)[];
|
|
12
12
|
getObjectFields: () => ObjectFields;
|
|
13
13
|
getAssociations: () => Associations;
|
|
14
14
|
getAggegates: () => Aggregates | undefined;
|
|
15
15
|
setAssociations: (association?: Associations) => this;
|
|
16
16
|
getQueryArgs: () => IQueryArgs<WhereExp, OrderBy, DistinctExp> | undefined;
|
|
17
17
|
getNoQuery: () => boolean | undefined;
|
|
18
|
-
addField: (...fields:
|
|
18
|
+
addField: (...fields: (keyof T)[]) => this;
|
|
19
19
|
addAssociation: (name: string, entityName: string, association?: IQueryOptions<any>) => this;
|
|
20
20
|
addObjectField: (name: string, fields: string[]) => this;
|
|
21
21
|
addAggregate: (name: string, aggregate: IAggregate) => this;
|
|
22
22
|
setQueryArgs: (queryArgs?: IQueryArgs<WhereExp, OrderBy, DistinctExp>) => this;
|
|
23
23
|
setNoQuery: (noQuery?: boolean) => this;
|
|
24
|
-
setFields: (fields:
|
|
24
|
+
setFields: (fields: (keyof T)[]) => this;
|
|
25
25
|
toGqlOptions: () => IGqlQueryOptions<T, WhereExp, OrderBy, DistinctExp>;
|
|
26
26
|
private queryOptionsToGql;
|
|
27
27
|
}
|
|
@@ -13,6 +13,7 @@ export declare class SpamFilterRuleQueryOptions extends QueryOptions<SpamFilterR
|
|
|
13
13
|
keywords(): this;
|
|
14
14
|
createdAt(): this;
|
|
15
15
|
updatedAt(): this;
|
|
16
|
+
content(): this;
|
|
16
17
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
17
18
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
18
19
|
}
|
|
@@ -21,6 +21,7 @@ export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOr
|
|
|
21
21
|
color(): this;
|
|
22
22
|
createdAt(): this;
|
|
23
23
|
updatedAt(): this;
|
|
24
|
+
content(): this;
|
|
24
25
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
25
26
|
posts(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
26
27
|
postsAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { ThemeConfig, ThemeConfigBoolExp, ThemeConfigDistinctExp, ThemeConfigOrderBy } from "../interfaces";
|
|
4
|
+
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
5
|
+
import { Media } from '../interfaces';
|
|
6
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
7
|
+
import { Theme } from '../interfaces';
|
|
8
|
+
export declare class ThemeConfigQueryOptions extends QueryOptions<ThemeConfig, ThemeConfigBoolExp, ThemeConfigOrderBy, ThemeConfigDistinctExp> {
|
|
9
|
+
constructor(fields?: (keyof ThemeConfig)[], queryArgs?: IQueryArgs<ThemeConfigBoolExp, ThemeConfigOrderBy, ThemeConfigDistinctExp>);
|
|
10
|
+
id(): this;
|
|
11
|
+
websiteTitle(): this;
|
|
12
|
+
emailTemplates(): this;
|
|
13
|
+
contact(): this;
|
|
14
|
+
address(): this;
|
|
15
|
+
email(): this;
|
|
16
|
+
tel(): this;
|
|
17
|
+
fax(): this;
|
|
18
|
+
mobile(): this;
|
|
19
|
+
wechat(): this;
|
|
20
|
+
contactAvatar(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
21
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { ThemeInMarket, ThemeInMarketBoolExp, ThemeInMarketDistinctExp, ThemeInMarketOrderBy } from "../interfaces";
|
|
4
|
+
import { ThemeVersionQueryOptions } from './ThemeVersionQueryOptions';
|
|
5
|
+
import { ThemeVersion } from '../interfaces';
|
|
6
|
+
import { ThemeVersionBoolExp } from '../interfaces';
|
|
7
|
+
export declare class ThemeInMarketQueryOptions extends QueryOptions<ThemeInMarket, ThemeInMarketBoolExp, ThemeInMarketOrderBy, ThemeInMarketDistinctExp> {
|
|
8
|
+
constructor(fields?: (keyof ThemeInMarket)[], queryArgs?: IQueryArgs<ThemeInMarketBoolExp, ThemeInMarketOrderBy, ThemeInMarketDistinctExp>);
|
|
9
|
+
id(): this;
|
|
10
|
+
title(): this;
|
|
11
|
+
description(): this;
|
|
12
|
+
status(): this;
|
|
13
|
+
updatedAt(): this;
|
|
14
|
+
createdAt(): this;
|
|
15
|
+
versions(options?: ThemeVersionQueryOptions | (keyof ThemeVersion)[]): this;
|
|
16
|
+
versionsAggregate(aggregate: IAggregate<ThemeVersionBoolExp>): this;
|
|
17
|
+
}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
2
|
import { QueryOptions } from "./QueryOptions";
|
|
3
3
|
import { Theme, ThemeBoolExp, ThemeDistinctExp, ThemeOrderBy } from "../interfaces";
|
|
4
|
-
import { TemplateQueryOptions } from './TemplateQueryOptions';
|
|
5
|
-
import { Template } from '../interfaces';
|
|
6
|
-
import { TemplateBoolExp } from '../interfaces';
|
|
7
|
-
import { TemplateCategoryQueryOptions } from './TemplateCategoryQueryOptions';
|
|
8
|
-
import { TemplateCategory } from '../interfaces';
|
|
9
|
-
import { TemplateCategoryBoolExp } from '../interfaces';
|
|
10
|
-
import { LangQueryOptions } from './LangQueryOptions';
|
|
11
|
-
import { Lang } from '../interfaces';
|
|
12
4
|
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
13
5
|
import { Media } from '../interfaces';
|
|
14
6
|
import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
|
|
@@ -17,6 +9,15 @@ import { FrontComponentBoolExp } from '../interfaces';
|
|
|
17
9
|
import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
|
|
18
10
|
import { ComponentCategory } from '../interfaces';
|
|
19
11
|
import { ComponentCategoryBoolExp } from '../interfaces';
|
|
12
|
+
import { PageQueryOptions } from './PageQueryOptions';
|
|
13
|
+
import { Page } from '../interfaces';
|
|
14
|
+
import { PageBoolExp } from '../interfaces';
|
|
15
|
+
import { LangQueryOptions } from './LangQueryOptions';
|
|
16
|
+
import { Lang } from '../interfaces';
|
|
17
|
+
import { ThemeConfigQueryOptions } from './ThemeConfigQueryOptions';
|
|
18
|
+
import { ThemeConfig } from '../interfaces';
|
|
19
|
+
import { ThemeVersionQueryOptions } from './ThemeVersionQueryOptions';
|
|
20
|
+
import { ThemeVersion } from '../interfaces';
|
|
20
21
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
21
22
|
import { Website } from '../interfaces';
|
|
22
23
|
export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp> {
|
|
@@ -28,18 +29,25 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
|
|
|
28
29
|
description(): this;
|
|
29
30
|
tailwindConfig(): this;
|
|
30
31
|
css(): this;
|
|
32
|
+
/**
|
|
33
|
+
* 是否在主题市场
|
|
34
|
+
*/
|
|
35
|
+
isInMarket(): this;
|
|
36
|
+
/**
|
|
37
|
+
* 对应市场主题ID
|
|
38
|
+
*/
|
|
39
|
+
themeVersionId(): this;
|
|
31
40
|
createdAt(): this;
|
|
32
41
|
updatedAt(): this;
|
|
33
|
-
templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
|
|
34
|
-
templatesAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
|
|
35
|
-
themlateCategories(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
|
|
36
|
-
themlateCategoriesAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
|
|
37
|
-
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
38
42
|
cover(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
39
43
|
components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
|
|
40
44
|
componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
|
|
41
45
|
componentCategories(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
|
|
42
46
|
componentCategoriesAggregate(aggregate: IAggregate<ComponentCategoryBoolExp>): this;
|
|
43
|
-
|
|
47
|
+
pages(options?: PageQueryOptions | (keyof Page)[]): this;
|
|
48
|
+
pagesAggregate(aggregate: IAggregate<PageBoolExp>): this;
|
|
49
|
+
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
50
|
+
config(options?: ThemeConfigQueryOptions | (keyof ThemeConfig)[]): this;
|
|
51
|
+
marketVersion(options?: ThemeVersionQueryOptions | (keyof ThemeVersion)[]): this;
|
|
44
52
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
45
53
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { ThemeVersion, ThemeVersionBoolExp, ThemeVersionDistinctExp, ThemeVersionOrderBy } from "../interfaces";
|
|
4
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
5
|
+
import { Theme } from '../interfaces';
|
|
6
|
+
import { ThemeInMarketQueryOptions } from './ThemeInMarketQueryOptions';
|
|
7
|
+
import { ThemeInMarket } from '../interfaces';
|
|
8
|
+
export declare class ThemeVersionQueryOptions extends QueryOptions<ThemeVersion, ThemeVersionBoolExp, ThemeVersionOrderBy, ThemeVersionDistinctExp> {
|
|
9
|
+
constructor(fields?: (keyof ThemeVersion)[], queryArgs?: IQueryArgs<ThemeVersionBoolExp, ThemeVersionOrderBy, ThemeVersionDistinctExp>);
|
|
10
|
+
id(): this;
|
|
11
|
+
version(): this;
|
|
12
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
13
|
+
themeInMarket(options?: ThemeInMarketQueryOptions | (keyof ThemeInMarket)[]): this;
|
|
14
|
+
}
|
|
@@ -65,5 +65,5 @@ export declare class UserQueryOptions extends QueryOptions<User, UserBoolExp, Us
|
|
|
65
65
|
postsAggregate(aggregate: IAggregate<PostBoolExp>): this;
|
|
66
66
|
websites(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
67
67
|
websitesAggregate(aggregate: IAggregate<WebsiteBoolExp>): this;
|
|
68
|
-
|
|
68
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
69
69
|
}
|