@rxdrag/rxcms-models 0.2.13 → 0.2.14
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 +6 -13
- package/dist/classes/EnquiryQueryOptions.d.ts +6 -13
- package/dist/classes/LangQueryOptions.d.ts +76 -12
- package/dist/classes/MediaFolderQueryOptions.d.ts +6 -13
- package/dist/classes/MediaQueryOptions.d.ts +6 -4
- package/dist/classes/PageQueryOptions.d.ts +7 -12
- package/dist/classes/PostCategoryQueryOptions.d.ts +8 -13
- package/dist/classes/PostQueryOptions.d.ts +8 -14
- package/dist/classes/ProductCategoryQueryOptions.d.ts +8 -13
- package/dist/classes/ProductQueryOptions.d.ts +8 -14
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +6 -7
- package/dist/classes/TagQueryOptions.d.ts +6 -13
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +6 -13
- package/dist/classes/TemplateQueryOptions.d.ts +6 -13
- package/dist/classes/ThemeQueryOptions.d.ts +4 -12
- package/dist/classes/WebsiteQueryOptions.d.ts +72 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +6 -13
- package/dist/fields/CustomerFields.d.ts +3 -14
- package/dist/fields/EnquiryFields.d.ts +4 -15
- package/dist/fields/LangFields.d.ts +31 -12
- package/dist/fields/MediaFields.d.ts +4 -6
- package/dist/fields/MediaFolderFields.d.ts +4 -15
- package/dist/fields/PageFields.d.ts +6 -13
- package/dist/fields/PostCategoryFields.d.ts +5 -14
- package/dist/fields/PostFields.d.ts +5 -15
- package/dist/fields/ProductCategoryFields.d.ts +5 -14
- package/dist/fields/ProductFields.d.ts +5 -15
- package/dist/fields/SpamFilterRuleFields.d.ts +3 -8
- package/dist/fields/TagFields.d.ts +4 -15
- package/dist/fields/TemplateCategoryFields.d.ts +4 -15
- package/dist/fields/TemplateFields.d.ts +4 -15
- package/dist/fields/ThemeFields.d.ts +4 -14
- package/dist/fields/WebsiteFields.d.ts +33 -2
- package/dist/fields/WebsiteSettingsFields.d.ts +3 -14
- package/dist/index.mjs +1765 -1384
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Customer.d.ts +4 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +4 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +0 -13
- package/dist/interfaces/CustomerInput.d.ts +5 -0
- package/dist/interfaces/Enquiry.d.ts +4 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +4 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -14
- package/dist/interfaces/EnquiryInput.d.ts +4 -0
- package/dist/interfaces/Lang.d.ts +48 -3
- package/dist/interfaces/LangBoolExp.d.ts +32 -3
- package/dist/interfaces/LangDistinctExp.d.ts +2 -14
- package/dist/interfaces/LangInput.d.ts +33 -3
- package/dist/interfaces/LangOrderBy.d.ts +2 -3
- package/dist/interfaces/Media.d.ts +6 -2
- package/dist/interfaces/MediaBoolExp.d.ts +6 -2
- package/dist/interfaces/MediaDistinctExp.d.ts +3 -7
- package/dist/interfaces/MediaFolder.d.ts +4 -0
- package/dist/interfaces/MediaFolderBoolExp.d.ts +4 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -14
- package/dist/interfaces/MediaFolderInput.d.ts +4 -0
- package/dist/interfaces/MediaInput.d.ts +6 -2
- package/dist/interfaces/MediaOrderBy.d.ts +2 -2
- package/dist/interfaces/Page.d.ts +3 -2
- package/dist/interfaces/PageBoolExp.d.ts +3 -2
- package/dist/interfaces/PageDistinctExp.d.ts +3 -12
- package/dist/interfaces/PageInput.d.ts +3 -2
- package/dist/interfaces/PageOrderBy.d.ts +0 -2
- package/dist/interfaces/Post.d.ts +4 -0
- package/dist/interfaces/PostBoolExp.d.ts +4 -0
- package/dist/interfaces/PostCategory.d.ts +6 -1
- package/dist/interfaces/PostCategoryBoolExp.d.ts +6 -1
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +4 -14
- package/dist/interfaces/PostCategoryInput.d.ts +6 -1
- package/dist/interfaces/PostCategoryOrderBy.d.ts +2 -1
- package/dist/interfaces/PostDistinctExp.d.ts +2 -14
- package/dist/interfaces/PostInput.d.ts +4 -0
- package/dist/interfaces/Product.d.ts +4 -0
- package/dist/interfaces/ProductBoolExp.d.ts +4 -0
- package/dist/interfaces/ProductCategory.d.ts +6 -1
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +6 -1
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +4 -14
- package/dist/interfaces/ProductCategoryInput.d.ts +6 -1
- package/dist/interfaces/ProductCategoryOrderBy.d.ts +2 -1
- package/dist/interfaces/ProductDistinctExp.d.ts +2 -14
- package/dist/interfaces/ProductInput.d.ts +4 -0
- package/dist/interfaces/PublishableDistinctExp.d.ts +2 -14
- package/dist/interfaces/Slugable.d.ts +5 -0
- package/dist/interfaces/SlugableBoolExp.d.ts +10 -0
- package/dist/interfaces/SlugableDistinctExp.d.ts +6 -0
- package/dist/interfaces/SlugableOrderBy.d.ts +6 -0
- package/dist/interfaces/SpamFilterRule.d.ts +4 -0
- package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +4 -0
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +1 -8
- package/dist/interfaces/SpamFilterRuleInput.d.ts +5 -0
- package/dist/interfaces/Tag.d.ts +4 -0
- package/dist/interfaces/TagBoolExp.d.ts +4 -0
- package/dist/interfaces/TagDistinctExp.d.ts +1 -14
- package/dist/interfaces/TagInput.d.ts +5 -0
- package/dist/interfaces/Template.d.ts +4 -0
- package/dist/interfaces/TemplateBoolExp.d.ts +4 -0
- package/dist/interfaces/TemplateCategory.d.ts +4 -0
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +4 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -14
- package/dist/interfaces/TemplateCategoryInput.d.ts +4 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +1 -14
- package/dist/interfaces/TemplateInput.d.ts +4 -0
- package/dist/interfaces/Theme.d.ts +4 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +4 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +1 -13
- package/dist/interfaces/ThemeInput.d.ts +4 -0
- package/dist/interfaces/ThemeOrderBy.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +44 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +29 -0
- package/dist/interfaces/WebsiteContent.d.ts +2 -2
- package/dist/interfaces/WebsiteContentBoolExp.d.ts +2 -2
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +4 -16
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +2 -2
- package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
- package/dist/interfaces/WebsiteInput.d.ts +29 -0
- package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsitePart.d.ts +3 -5
- package/dist/interfaces/WebsitePartBoolExp.d.ts +4 -6
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -16
- package/dist/interfaces/WebsitePartOrderBy.d.ts +3 -5
- package/dist/interfaces/WebsiteSettings.d.ts +4 -0
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +4 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -14
- package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -0
- package/dist/interfaces/index.d.ts +4 -12
- package/package.json +2 -2
- package/dist/interfaces/BaseEntity.d.ts +0 -15
- package/dist/interfaces/BaseEntityBoolExp.d.ts +0 -12
- package/dist/interfaces/BaseEntityDistinctExp.d.ts +0 -16
- package/dist/interfaces/BaseEntityOrderBy.d.ts +0 -16
- package/dist/interfaces/CustomizeMedia.d.ts +0 -7
- package/dist/interfaces/CustomizeMediaBoolExp.d.ts +0 -9
- package/dist/interfaces/CustomizeMediaDistinctExp.d.ts +0 -8
- package/dist/interfaces/CustomizeMediaOrderBy.d.ts +0 -8
- package/dist/interfaces/MultiLangable.d.ts +0 -4
- package/dist/interfaces/MultiLangableBoolExp.d.ts +0 -9
- package/dist/interfaces/MultiLangableDistinctExp.d.ts +0 -5
- package/dist/interfaces/MultiLangableOrderBy.d.ts +0 -5
|
@@ -44,20 +44,7 @@ export declare enum WebsiteSettingsDistinctEnum {
|
|
|
44
44
|
* 邮件模板
|
|
45
45
|
*/
|
|
46
46
|
emailTemplates = "emailTemplates",
|
|
47
|
-
websiteId = "websiteId",
|
|
48
|
-
slug = "slug",
|
|
49
|
-
description = "description",
|
|
50
|
-
/**
|
|
51
|
-
* 创建时间
|
|
52
|
-
*/
|
|
53
47
|
createdAt = "createdAt",
|
|
54
|
-
|
|
55
|
-
* 更新时间
|
|
56
|
-
*/
|
|
57
|
-
updatedAt = "updatedAt",
|
|
58
|
-
/**
|
|
59
|
-
* 备注
|
|
60
|
-
*/
|
|
61
|
-
remark = "remark"
|
|
48
|
+
updatedAt = "updatedAt"
|
|
62
49
|
}
|
|
63
50
|
export type WebsiteSettingsDistinctExp = WebsiteSettingsDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { WebsiteSettings } from './WebsiteSettings';
|
|
2
2
|
import { SmtpConfig } from './SmtpConfig';
|
|
3
3
|
import { EmailTemplates } from './EmailTemplates';
|
|
4
|
+
import { LangInput } from './LangInput';
|
|
5
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
6
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
4
7
|
import { WebsitePart } from './WebsitePart';
|
|
5
8
|
export interface WebsiteSettingsInput extends WebsitePart {
|
|
6
9
|
id?: string;
|
|
@@ -47,6 +50,8 @@ export interface WebsiteSettingsInput extends WebsitePart {
|
|
|
47
50
|
* 邮件模板
|
|
48
51
|
*/
|
|
49
52
|
emailTemplates?: EmailTemplates;
|
|
53
|
+
lang?: SetHasOne<LangInput>;
|
|
54
|
+
website?: SetHasOne<WebsiteInput>;
|
|
50
55
|
}
|
|
51
56
|
export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
52
57
|
export declare const websiteSettingsToInput: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
@@ -133,22 +133,10 @@ export * from './CustomerInput';
|
|
|
133
133
|
export * from './CustomerBoolExp';
|
|
134
134
|
export * from './CustomerOrderBy';
|
|
135
135
|
export * from './CustomerDistinctExp';
|
|
136
|
-
export * from './BaseEntity';
|
|
137
|
-
export * from './BaseEntityBoolExp';
|
|
138
|
-
export * from './BaseEntityOrderBy';
|
|
139
|
-
export * from './BaseEntityDistinctExp';
|
|
140
|
-
export * from './MultiLangable';
|
|
141
|
-
export * from './MultiLangableBoolExp';
|
|
142
|
-
export * from './MultiLangableOrderBy';
|
|
143
|
-
export * from './MultiLangableDistinctExp';
|
|
144
136
|
export * from './WebsiteUser';
|
|
145
137
|
export * from './WebsiteUserBoolExp';
|
|
146
138
|
export * from './WebsiteUserOrderBy';
|
|
147
139
|
export * from './WebsiteUserDistinctExp';
|
|
148
|
-
export * from './CustomizeMedia';
|
|
149
|
-
export * from './CustomizeMediaBoolExp';
|
|
150
|
-
export * from './CustomizeMediaOrderBy';
|
|
151
|
-
export * from './CustomizeMediaDistinctExp';
|
|
152
140
|
export * from './UserType';
|
|
153
141
|
export * from './TemplateType';
|
|
154
142
|
export * from './ProductCategory';
|
|
@@ -181,3 +169,7 @@ export * from './AttachmentOnProductInput';
|
|
|
181
169
|
export * from './AttachmentOnProductBoolExp';
|
|
182
170
|
export * from './AttachmentOnProductOrderBy';
|
|
183
171
|
export * from './AttachmentOnProductDistinctExp';
|
|
172
|
+
export * from './Slugable';
|
|
173
|
+
export * from './SlugableBoolExp';
|
|
174
|
+
export * from './SlugableOrderBy';
|
|
175
|
+
export * from './SlugableDistinctExp';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
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.6"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
-
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
3
|
-
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
-
export interface BaseEntityBoolExp {
|
|
5
|
-
_and?: BaseEntityBoolExp[];
|
|
6
|
-
_or?: BaseEntityBoolExp[];
|
|
7
|
-
_not?: BaseEntityBoolExp;
|
|
8
|
-
id?: IdComparisonExp;
|
|
9
|
-
createdAt?: DateTimeComparisonExp;
|
|
10
|
-
updatedAt?: DateTimeComparisonExp;
|
|
11
|
-
remark?: StringComparisonExp;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare enum BaseEntityDistinctEnum {
|
|
2
|
-
id = "id",
|
|
3
|
-
/**
|
|
4
|
-
* 创建时间
|
|
5
|
-
*/
|
|
6
|
-
createdAt = "createdAt",
|
|
7
|
-
/**
|
|
8
|
-
* 更新时间
|
|
9
|
-
*/
|
|
10
|
-
updatedAt = "updatedAt",
|
|
11
|
-
/**
|
|
12
|
-
* 备注
|
|
13
|
-
*/
|
|
14
|
-
remark = "remark"
|
|
15
|
-
}
|
|
16
|
-
export type BaseEntityDistinctExp = BaseEntityDistinctEnum;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
-
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
-
export interface CustomizeMediaBoolExp {
|
|
4
|
-
_and?: CustomizeMediaBoolExp[];
|
|
5
|
-
_or?: CustomizeMediaBoolExp[];
|
|
6
|
-
_not?: CustomizeMediaBoolExp;
|
|
7
|
-
id?: IdComparisonExp;
|
|
8
|
-
websiteId?: StringComparisonExp;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
-
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
-
export interface MultiLangableBoolExp {
|
|
4
|
-
_and?: MultiLangableBoolExp[];
|
|
5
|
-
_or?: MultiLangableBoolExp[];
|
|
6
|
-
_not?: MultiLangableBoolExp;
|
|
7
|
-
id?: IdComparisonExp;
|
|
8
|
-
lang?: StringComparisonExp;
|
|
9
|
-
}
|