@rxdrag/rxcms-models 0.2.3 → 0.2.4
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/CustomerQueryOptions.d.ts +2 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +2 -0
- package/dist/classes/LangQueryOptions.d.ts +1 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
- package/dist/classes/MediaQueryOptions.d.ts +5 -0
- package/dist/classes/PageQueryOptions.d.ts +1 -0
- package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/PostQueryOptions.d.ts +3 -5
- package/dist/classes/ProductCategoryQueryOptions.d.ts +4 -0
- package/dist/classes/ProductQueryOptions.d.ts +6 -3
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +19 -0
- package/dist/classes/TagQueryOptions.d.ts +1 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/TemplateQueryOptions.d.ts +1 -0
- package/dist/classes/ThemeQueryOptions.d.ts +1 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +20 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/spamFilterRuleEntry.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +2 -0
- package/dist/fields/EnquiryFields.d.ts +2 -0
- package/dist/fields/LangFields.d.ts +1 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/MediaFolderFields.d.ts +1 -0
- package/dist/fields/PageFields.d.ts +1 -0
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/PostFields.d.ts +4 -6
- package/dist/fields/ProductCategoryFields.d.ts +2 -0
- package/dist/fields/ProductFields.d.ts +7 -4
- package/dist/fields/SpamFilterRuleFields.d.ts +17 -0
- package/dist/fields/TagFields.d.ts +1 -0
- package/dist/fields/TemplateCategoryFields.d.ts +1 -0
- package/dist/fields/TemplateFields.d.ts +1 -0
- package/dist/fields/ThemeFields.d.ts +1 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +20 -0
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +492 -36
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/BooleanComparisonExp.d.ts +1 -0
- package/dist/interfaces/Customer.d.ts +1 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +2 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +2 -0
- package/dist/interfaces/CustomerInput.d.ts +1 -0
- package/dist/interfaces/CustomerOrderBy.d.ts +1 -0
- package/dist/interfaces/Enquiry.d.ts +1 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +2 -0
- package/dist/interfaces/EnquiryInput.d.ts +1 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
- package/dist/interfaces/LangDistinctExp.d.ts +1 -0
- package/dist/interfaces/Media.d.ts +3 -0
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -0
- package/dist/interfaces/MediaInput.d.ts +2 -0
- package/dist/interfaces/PageDistinctExp.d.ts +1 -0
- 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 -5
- package/dist/interfaces/PostInput.d.ts +2 -1
- package/dist/interfaces/PostOrderBy.d.ts +0 -1
- package/dist/interfaces/Product.d.ts +7 -1
- package/dist/interfaces/ProductBoolExp.d.ts +5 -2
- package/dist/interfaces/ProductCategory.d.ts +2 -0
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/ProductCategoryInput.d.ts +2 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +4 -3
- package/dist/interfaces/ProductInput.d.ts +7 -1
- package/dist/interfaces/ProductOrderBy.d.ts +5 -1
- package/dist/interfaces/Publishable.d.ts +4 -4
- package/dist/interfaces/PublishableBoolExp.d.ts +4 -1
- package/dist/interfaces/PublishableDistinctExp.d.ts +1 -4
- package/dist/interfaces/PublishableOrderBy.d.ts +4 -4
- package/dist/interfaces/SmtpConfig.d.ts +36 -0
- package/dist/interfaces/SpamFilterRule.d.ts +15 -0
- package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +19 -0
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +17 -0
- package/dist/interfaces/SpamFilterRuleInput.d.ts +16 -0
- package/dist/interfaces/SpamFilterRuleOrderBy.d.ts +14 -0
- package/dist/interfaces/TagDistinctExp.d.ts +1 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +1 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +1 -2
- package/dist/interfaces/ThemeDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsitePart.d.ts +1 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +1 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsiteSettings.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +9 -1
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +20 -0
- package/dist/interfaces/WebsiteSettingsInput.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +19 -0
- package/dist/interfaces/WebsiteUser.d.ts +1 -1
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/index.d.ts +36 -0
- package/package.json +2 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
-
import { unkonwn } from './unkonwn';
|
|
5
4
|
import { TemplateBoolExp } from './TemplateBoolExp';
|
|
6
5
|
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
7
6
|
export interface ThemeBoolExp extends WebsitePartBoolExp {
|
|
@@ -11,7 +10,7 @@ export interface ThemeBoolExp extends WebsitePartBoolExp {
|
|
|
11
10
|
id?: IdComparisonExp;
|
|
12
11
|
name?: StringComparisonExp;
|
|
13
12
|
styles?: unknown;
|
|
14
|
-
settings?:
|
|
13
|
+
settings?: unknown;
|
|
15
14
|
templates?: TemplateBoolExp;
|
|
16
15
|
themlateCategories?: TemplateCategoryBoolExp;
|
|
17
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SmtpConfig } from './SmtpConfig';
|
|
1
2
|
import { WebsitePart } from './WebsitePart';
|
|
2
3
|
export declare const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
3
4
|
export declare const WebsiteSettingsEntityLabel = "";
|
|
@@ -6,7 +7,7 @@ export interface WebsiteSettings extends WebsitePart {
|
|
|
6
7
|
/**
|
|
7
8
|
* 邮件配置
|
|
8
9
|
*/
|
|
9
|
-
smtpConfig?:
|
|
10
|
+
smtpConfig?: SmtpConfig;
|
|
10
11
|
contact?: string;
|
|
11
12
|
address?: string;
|
|
12
13
|
email?: string;
|
|
@@ -15,4 +16,23 @@ export interface WebsiteSettings extends WebsitePart {
|
|
|
15
16
|
wechat?: string;
|
|
16
17
|
whatsapp?: string;
|
|
17
18
|
mobile?: string;
|
|
19
|
+
robots?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 站点名称
|
|
22
|
+
*/
|
|
23
|
+
websiteName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 域名
|
|
26
|
+
*/
|
|
27
|
+
domain?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 打开iRobots
|
|
30
|
+
*/
|
|
31
|
+
openRobots?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* 301映射表
|
|
34
|
+
*/
|
|
35
|
+
map301?: string;
|
|
36
|
+
headerCode?: string;
|
|
37
|
+
footerCode?: string;
|
|
18
38
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
5
|
export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
|
|
5
6
|
_and?: WebsiteSettingsBoolExp[];
|
|
6
7
|
_or?: WebsiteSettingsBoolExp[];
|
|
7
8
|
_not?: WebsiteSettingsBoolExp;
|
|
8
9
|
id?: IdComparisonExp;
|
|
9
|
-
smtpConfig?:
|
|
10
|
+
smtpConfig?: unknown;
|
|
10
11
|
contact?: StringComparisonExp;
|
|
11
12
|
address?: StringComparisonExp;
|
|
12
13
|
email?: StringComparisonExp;
|
|
@@ -15,4 +16,11 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
|
|
|
15
16
|
wechat?: StringComparisonExp;
|
|
16
17
|
whatsapp?: StringComparisonExp;
|
|
17
18
|
mobile?: StringComparisonExp;
|
|
19
|
+
robots?: StringComparisonExp;
|
|
20
|
+
websiteName?: StringComparisonExp;
|
|
21
|
+
domain?: StringComparisonExp;
|
|
22
|
+
openRobots?: BooleanComparisonExp;
|
|
23
|
+
map301?: StringComparisonExp;
|
|
24
|
+
headerCode?: StringComparisonExp;
|
|
25
|
+
footerCode?: StringComparisonExp;
|
|
18
26
|
}
|
|
@@ -13,8 +13,28 @@ export declare enum WebsiteSettingsDistinctEnum {
|
|
|
13
13
|
wechat = "wechat",
|
|
14
14
|
whatsapp = "whatsapp",
|
|
15
15
|
mobile = "mobile",
|
|
16
|
+
robots = "robots",
|
|
17
|
+
/**
|
|
18
|
+
* 站点名称
|
|
19
|
+
*/
|
|
20
|
+
websiteName = "websiteName",
|
|
21
|
+
/**
|
|
22
|
+
* 域名
|
|
23
|
+
*/
|
|
24
|
+
domain = "domain",
|
|
25
|
+
/**
|
|
26
|
+
* 打开iRobots
|
|
27
|
+
*/
|
|
28
|
+
openRobots = "openRobots",
|
|
29
|
+
/**
|
|
30
|
+
* 301映射表
|
|
31
|
+
*/
|
|
32
|
+
map301 = "map301",
|
|
33
|
+
headerCode = "headerCode",
|
|
34
|
+
footerCode = "footerCode",
|
|
16
35
|
websiteId = "websiteId",
|
|
17
36
|
slug = "slug",
|
|
37
|
+
description = "description",
|
|
18
38
|
/**
|
|
19
39
|
* 创建时间
|
|
20
40
|
*/
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { WebsiteSettings } from './WebsiteSettings';
|
|
2
|
+
import { SmtpConfig } from './SmtpConfig';
|
|
2
3
|
import { WebsitePart } from './WebsitePart';
|
|
3
4
|
export interface WebsiteSettingsInput extends WebsitePart {
|
|
4
5
|
id?: string;
|
|
5
6
|
/**
|
|
6
7
|
* 邮件配置
|
|
7
8
|
*/
|
|
8
|
-
smtpConfig?:
|
|
9
|
+
smtpConfig?: SmtpConfig;
|
|
9
10
|
contact?: string;
|
|
10
11
|
address?: string;
|
|
11
12
|
email?: string;
|
|
@@ -14,6 +15,25 @@ export interface WebsiteSettingsInput extends WebsitePart {
|
|
|
14
15
|
wechat?: string;
|
|
15
16
|
whatsapp?: string;
|
|
16
17
|
mobile?: string;
|
|
18
|
+
robots?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 站点名称
|
|
21
|
+
*/
|
|
22
|
+
websiteName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 域名
|
|
25
|
+
*/
|
|
26
|
+
domain?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 打开iRobots
|
|
29
|
+
*/
|
|
30
|
+
openRobots?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 301映射表
|
|
33
|
+
*/
|
|
34
|
+
map301?: string;
|
|
35
|
+
headerCode?: string;
|
|
36
|
+
footerCode?: string;
|
|
17
37
|
}
|
|
18
38
|
export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
19
39
|
export declare const websiteSettingsToInput: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
@@ -14,4 +14,23 @@ export interface WebsiteSettingsOrderBy extends WebsitePartOrderBy {
|
|
|
14
14
|
wechat?: OrderBy;
|
|
15
15
|
whatsapp?: OrderBy;
|
|
16
16
|
mobile?: OrderBy;
|
|
17
|
+
robots?: OrderBy;
|
|
18
|
+
/**
|
|
19
|
+
* 站点名称
|
|
20
|
+
*/
|
|
21
|
+
websiteName?: OrderBy;
|
|
22
|
+
/**
|
|
23
|
+
* 域名
|
|
24
|
+
*/
|
|
25
|
+
domain?: OrderBy;
|
|
26
|
+
/**
|
|
27
|
+
* 打开iRobots
|
|
28
|
+
*/
|
|
29
|
+
openRobots?: OrderBy;
|
|
30
|
+
/**
|
|
31
|
+
* 301映射表
|
|
32
|
+
*/
|
|
33
|
+
map301?: OrderBy;
|
|
34
|
+
headerCode?: OrderBy;
|
|
35
|
+
footerCode?: OrderBy;
|
|
17
36
|
}
|
|
@@ -86,8 +86,14 @@ export * from './MediaFolderBoolExp';
|
|
|
86
86
|
export * from './MediaFolderOrderBy';
|
|
87
87
|
export * from './MediaFolderDistinctExp';
|
|
88
88
|
export * from './WebsitePart';
|
|
89
|
+
export * from './WebsitePartBoolExp';
|
|
90
|
+
export * from './WebsitePartOrderBy';
|
|
91
|
+
export * from './WebsitePartDistinctExp';
|
|
89
92
|
export * from './WebsiteTypeStatus';
|
|
90
93
|
export * from './WebsiteContent';
|
|
94
|
+
export * from './WebsiteContentBoolExp';
|
|
95
|
+
export * from './WebsiteContentOrderBy';
|
|
96
|
+
export * from './WebsiteContentDistinctExp';
|
|
91
97
|
export * from './PostCategory';
|
|
92
98
|
export * from './PostCategoryInput';
|
|
93
99
|
export * from './PostCategoryBoolExp';
|
|
@@ -99,19 +105,43 @@ export * from './TagBoolExp';
|
|
|
99
105
|
export * from './TagOrderBy';
|
|
100
106
|
export * from './TagDistinctExp';
|
|
101
107
|
export * from './SeoMeta';
|
|
108
|
+
export * from './SeoMetaBoolExp';
|
|
109
|
+
export * from './SeoMetaOrderBy';
|
|
110
|
+
export * from './SeoMetaDistinctExp';
|
|
102
111
|
export * from './OgMeta';
|
|
112
|
+
export * from './OgMetaBoolExp';
|
|
113
|
+
export * from './OgMetaOrderBy';
|
|
114
|
+
export * from './OgMetaDistinctExp';
|
|
103
115
|
export * from './Publishable';
|
|
116
|
+
export * from './PublishableBoolExp';
|
|
117
|
+
export * from './PublishableOrderBy';
|
|
118
|
+
export * from './PublishableDistinctExp';
|
|
104
119
|
export * from './PublishableStatus';
|
|
105
120
|
export * from './Person';
|
|
121
|
+
export * from './PersonBoolExp';
|
|
122
|
+
export * from './PersonOrderBy';
|
|
123
|
+
export * from './PersonDistinctExp';
|
|
106
124
|
export * from './Customer';
|
|
107
125
|
export * from './CustomerInput';
|
|
108
126
|
export * from './CustomerBoolExp';
|
|
109
127
|
export * from './CustomerOrderBy';
|
|
110
128
|
export * from './CustomerDistinctExp';
|
|
111
129
|
export * from './BaseEntity';
|
|
130
|
+
export * from './BaseEntityBoolExp';
|
|
131
|
+
export * from './BaseEntityOrderBy';
|
|
132
|
+
export * from './BaseEntityDistinctExp';
|
|
112
133
|
export * from './MultiLangable';
|
|
134
|
+
export * from './MultiLangableBoolExp';
|
|
135
|
+
export * from './MultiLangableOrderBy';
|
|
136
|
+
export * from './MultiLangableDistinctExp';
|
|
113
137
|
export * from './WebsiteUser';
|
|
138
|
+
export * from './WebsiteUserBoolExp';
|
|
139
|
+
export * from './WebsiteUserOrderBy';
|
|
140
|
+
export * from './WebsiteUserDistinctExp';
|
|
114
141
|
export * from './CustomizeMedia';
|
|
142
|
+
export * from './CustomizeMediaBoolExp';
|
|
143
|
+
export * from './CustomizeMediaOrderBy';
|
|
144
|
+
export * from './CustomizeMediaDistinctExp';
|
|
115
145
|
export * from './UserType';
|
|
116
146
|
export * from './TemplateType';
|
|
117
147
|
export * from './ProductCategory';
|
|
@@ -128,3 +158,9 @@ export * from './ExtendFieldType';
|
|
|
128
158
|
export * from './ComponentType';
|
|
129
159
|
export * from './ExtendField';
|
|
130
160
|
export * from './AttachmentAddon';
|
|
161
|
+
export * from './SmtpConfig';
|
|
162
|
+
export * from './SpamFilterRule';
|
|
163
|
+
export * from './SpamFilterRuleInput';
|
|
164
|
+
export * from './SpamFilterRuleBoolExp';
|
|
165
|
+
export * from './SpamFilterRuleOrderBy';
|
|
166
|
+
export * from './SpamFilterRuleDistinctExp';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"swr": "^2.2.4",
|
|
20
|
-
"@rxdrag/entify-hooks": "0.1.
|
|
20
|
+
"@rxdrag/entify-hooks": "0.1.1"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|