@rxdrag/rxcms-models 0.2.2 → 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 +3 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +3 -0
- package/dist/classes/LangQueryOptions.d.ts +2 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +2 -0
- package/dist/classes/MediaQueryOptions.d.ts +9 -3
- package/dist/classes/PageQueryOptions.d.ts +2 -3
- package/dist/classes/PostCategoryQueryOptions.d.ts +2 -0
- package/dist/classes/PostQueryOptions.d.ts +4 -8
- package/dist/classes/ProductCategoryQueryOptions.d.ts +5 -0
- package/dist/classes/ProductQueryOptions.d.ts +11 -9
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +19 -0
- package/dist/classes/TagQueryOptions.d.ts +2 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +2 -0
- package/dist/classes/TemplateQueryOptions.d.ts +2 -0
- package/dist/classes/ThemeQueryOptions.d.ts +2 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +21 -0
- package/dist/classes/index.d.ts +1 -1
- package/dist/entries/index.d.ts +1 -1
- package/dist/entries/spamFilterRuleEntry.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +3 -0
- package/dist/fields/EnquiryFields.d.ts +3 -0
- package/dist/fields/LangFields.d.ts +2 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/MediaFolderFields.d.ts +2 -0
- package/dist/fields/PageFields.d.ts +2 -1
- package/dist/fields/PostCategoryFields.d.ts +2 -0
- package/dist/fields/PostFields.d.ts +5 -7
- package/dist/fields/ProductCategoryFields.d.ts +3 -0
- package/dist/fields/ProductFields.d.ts +8 -5
- package/dist/fields/SpamFilterRuleFields.d.ts +17 -0
- package/dist/fields/TagFields.d.ts +2 -0
- package/dist/fields/TemplateCategoryFields.d.ts +2 -0
- package/dist/fields/TemplateFields.d.ts +2 -0
- package/dist/fields/ThemeFields.d.ts +2 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +21 -0
- package/dist/fields/index.d.ts +1 -1
- package/dist/index.mjs +730 -339
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AttachmentAddon.d.ts +3 -0
- package/dist/interfaces/AttachmentAddonOrderBy.d.ts +4 -0
- 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 +3 -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 +3 -0
- package/dist/interfaces/EnquiryInput.d.ts +1 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
- package/dist/interfaces/LangDistinctExp.d.ts +2 -0
- package/dist/interfaces/Media.d.ts +5 -1
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +2 -0
- package/dist/interfaces/MediaInput.d.ts +4 -1
- package/dist/interfaces/Page.d.ts +0 -2
- package/dist/interfaces/PageBoolExp.d.ts +0 -2
- package/dist/interfaces/PageDistinctExp.d.ts +2 -0
- package/dist/interfaces/PageInput.d.ts +0 -2
- package/dist/interfaces/Post.d.ts +2 -3
- package/dist/interfaces/PostBoolExp.d.ts +2 -3
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +2 -0
- package/dist/interfaces/PostDistinctExp.d.ts +2 -5
- package/dist/interfaces/PostInput.d.ts +2 -3
- package/dist/interfaces/PostOrderBy.d.ts +0 -1
- package/dist/interfaces/Product.d.ts +9 -4
- package/dist/interfaces/ProductBoolExp.d.ts +5 -4
- package/dist/interfaces/ProductCategory.d.ts +2 -0
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +2 -0
- package/dist/interfaces/ProductCategoryInput.d.ts +2 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +5 -3
- package/dist/interfaces/ProductInput.d.ts +9 -4
- 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 +2 -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 +2 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +2 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +2 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +1 -2
- package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +2 -0
- package/dist/interfaces/WebsitePart.d.ts +2 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -0
- package/dist/interfaces/WebsitePartOrderBy.d.ts +2 -0
- package/dist/interfaces/WebsiteSettings.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +9 -1
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +21 -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 +37 -5
- package/package.json +2 -2
- package/dist/classes/SlugQueryOptions.d.ts +0 -30
- package/dist/entries/slugEntry.d.ts +0 -2
- package/dist/fields/SlugFields.d.ts +0 -22
- package/dist/interfaces/Slug.d.ts +0 -13
- package/dist/interfaces/SlugBoolExp.d.ts +0 -16
- package/dist/interfaces/SlugDistinctExp.d.ts +0 -19
- package/dist/interfaces/SlugInput.d.ts +0 -15
- package/dist/interfaces/SlugOrderBy.d.ts +0 -6
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface SmtpConfig {
|
|
2
|
+
/**
|
|
3
|
+
* 服务器地址
|
|
4
|
+
*/
|
|
5
|
+
smtpServer?: string;
|
|
6
|
+
/**
|
|
7
|
+
* 端口
|
|
8
|
+
*/
|
|
9
|
+
port?: string;
|
|
10
|
+
useName?: string;
|
|
11
|
+
password?: string;
|
|
12
|
+
/**
|
|
13
|
+
* 加密类型
|
|
14
|
+
*/
|
|
15
|
+
encryption?: string;
|
|
16
|
+
/**
|
|
17
|
+
* 是否需要身份验证
|
|
18
|
+
*/
|
|
19
|
+
authentication?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 发件人邮箱
|
|
22
|
+
*/
|
|
23
|
+
fromEmail?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 回复邮箱
|
|
26
|
+
*/
|
|
27
|
+
replyToEmail?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 超时时间(秒)
|
|
30
|
+
*/
|
|
31
|
+
timeout?: number;
|
|
32
|
+
/**
|
|
33
|
+
* 使用Saas配置
|
|
34
|
+
*/
|
|
35
|
+
useSaasConfig?: boolean;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WebsitePart } from './WebsitePart';
|
|
2
|
+
export declare const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
3
|
+
export declare const SpamFilterRuleEntityLabel = "\u5783\u573E\u8FC7\u6EE4\u89C4\u5219";
|
|
4
|
+
/**
|
|
5
|
+
* 垃圾过滤规则
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export interface SpamFilterRule extends WebsitePart {
|
|
9
|
+
id?: string;
|
|
10
|
+
emails?: string;
|
|
11
|
+
ips?: string;
|
|
12
|
+
keywords?: string;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
/**
|
|
6
|
+
* 垃圾过滤规则
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export interface SpamFilterRuleBoolExp extends WebsitePartBoolExp {
|
|
10
|
+
_and?: SpamFilterRuleBoolExp[];
|
|
11
|
+
_or?: SpamFilterRuleBoolExp[];
|
|
12
|
+
_not?: SpamFilterRuleBoolExp;
|
|
13
|
+
id?: IdComparisonExp;
|
|
14
|
+
emails?: StringComparisonExp;
|
|
15
|
+
ips?: StringComparisonExp;
|
|
16
|
+
keywords?: StringComparisonExp;
|
|
17
|
+
createdAt?: DateTimeComparisonExp;
|
|
18
|
+
updatedAt?: DateTimeComparisonExp;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
export declare enum SpamFilterRuleDistinctEnum {
|
|
3
|
+
id = "id",
|
|
4
|
+
emails = "emails",
|
|
5
|
+
ips = "ips",
|
|
6
|
+
keywords = "keywords",
|
|
7
|
+
createdAt = "createdAt",
|
|
8
|
+
updatedAt = "updatedAt",
|
|
9
|
+
websiteId = "websiteId",
|
|
10
|
+
slug = "slug",
|
|
11
|
+
description = "description",
|
|
12
|
+
/**
|
|
13
|
+
* 备注
|
|
14
|
+
*/
|
|
15
|
+
remark = "remark"
|
|
16
|
+
}
|
|
17
|
+
export type SpamFilterRuleDistinctExp = SpamFilterRuleDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SpamFilterRule } from './SpamFilterRule';
|
|
2
|
+
import { WebsitePart } from './WebsitePart';
|
|
3
|
+
/**
|
|
4
|
+
* 垃圾过滤规则
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface SpamFilterRuleInput extends WebsitePart {
|
|
8
|
+
id?: string;
|
|
9
|
+
emails?: string;
|
|
10
|
+
ips?: string;
|
|
11
|
+
keywords?: string;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
}
|
|
15
|
+
export declare const spamFilterRuleToInputCascade: (entity: SpamFilterRule) => SpamFilterRuleInput;
|
|
16
|
+
export declare const spamFilterRuleToInput: (entity: SpamFilterRule) => SpamFilterRuleInput;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
+
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
|
+
/**
|
|
4
|
+
* 垃圾过滤规则
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface SpamFilterRuleOrderBy extends WebsitePartOrderBy {
|
|
8
|
+
id?: OrderBy;
|
|
9
|
+
emails?: OrderBy;
|
|
10
|
+
ips?: OrderBy;
|
|
11
|
+
keywords?: OrderBy;
|
|
12
|
+
createdAt?: OrderBy;
|
|
13
|
+
updatedAt?: OrderBy;
|
|
14
|
+
}
|
|
@@ -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,7 +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",
|
|
36
|
+
slug = "slug",
|
|
37
|
+
description = "description",
|
|
17
38
|
/**
|
|
18
39
|
* 创建时间
|
|
19
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
|
}
|
|
@@ -50,11 +50,6 @@ export * from './ProductInput';
|
|
|
50
50
|
export * from './ProductBoolExp';
|
|
51
51
|
export * from './ProductOrderBy';
|
|
52
52
|
export * from './ProductDistinctExp';
|
|
53
|
-
export * from './Slug';
|
|
54
|
-
export * from './SlugInput';
|
|
55
|
-
export * from './SlugBoolExp';
|
|
56
|
-
export * from './SlugOrderBy';
|
|
57
|
-
export * from './SlugDistinctExp';
|
|
58
53
|
export * from './Enquiry';
|
|
59
54
|
export * from './EnquiryInput';
|
|
60
55
|
export * from './EnquiryBoolExp';
|
|
@@ -91,8 +86,14 @@ export * from './MediaFolderBoolExp';
|
|
|
91
86
|
export * from './MediaFolderOrderBy';
|
|
92
87
|
export * from './MediaFolderDistinctExp';
|
|
93
88
|
export * from './WebsitePart';
|
|
89
|
+
export * from './WebsitePartBoolExp';
|
|
90
|
+
export * from './WebsitePartOrderBy';
|
|
91
|
+
export * from './WebsitePartDistinctExp';
|
|
94
92
|
export * from './WebsiteTypeStatus';
|
|
95
93
|
export * from './WebsiteContent';
|
|
94
|
+
export * from './WebsiteContentBoolExp';
|
|
95
|
+
export * from './WebsiteContentOrderBy';
|
|
96
|
+
export * from './WebsiteContentDistinctExp';
|
|
96
97
|
export * from './PostCategory';
|
|
97
98
|
export * from './PostCategoryInput';
|
|
98
99
|
export * from './PostCategoryBoolExp';
|
|
@@ -104,19 +105,43 @@ export * from './TagBoolExp';
|
|
|
104
105
|
export * from './TagOrderBy';
|
|
105
106
|
export * from './TagDistinctExp';
|
|
106
107
|
export * from './SeoMeta';
|
|
108
|
+
export * from './SeoMetaBoolExp';
|
|
109
|
+
export * from './SeoMetaOrderBy';
|
|
110
|
+
export * from './SeoMetaDistinctExp';
|
|
107
111
|
export * from './OgMeta';
|
|
112
|
+
export * from './OgMetaBoolExp';
|
|
113
|
+
export * from './OgMetaOrderBy';
|
|
114
|
+
export * from './OgMetaDistinctExp';
|
|
108
115
|
export * from './Publishable';
|
|
116
|
+
export * from './PublishableBoolExp';
|
|
117
|
+
export * from './PublishableOrderBy';
|
|
118
|
+
export * from './PublishableDistinctExp';
|
|
109
119
|
export * from './PublishableStatus';
|
|
110
120
|
export * from './Person';
|
|
121
|
+
export * from './PersonBoolExp';
|
|
122
|
+
export * from './PersonOrderBy';
|
|
123
|
+
export * from './PersonDistinctExp';
|
|
111
124
|
export * from './Customer';
|
|
112
125
|
export * from './CustomerInput';
|
|
113
126
|
export * from './CustomerBoolExp';
|
|
114
127
|
export * from './CustomerOrderBy';
|
|
115
128
|
export * from './CustomerDistinctExp';
|
|
116
129
|
export * from './BaseEntity';
|
|
130
|
+
export * from './BaseEntityBoolExp';
|
|
131
|
+
export * from './BaseEntityOrderBy';
|
|
132
|
+
export * from './BaseEntityDistinctExp';
|
|
117
133
|
export * from './MultiLangable';
|
|
134
|
+
export * from './MultiLangableBoolExp';
|
|
135
|
+
export * from './MultiLangableOrderBy';
|
|
136
|
+
export * from './MultiLangableDistinctExp';
|
|
118
137
|
export * from './WebsiteUser';
|
|
138
|
+
export * from './WebsiteUserBoolExp';
|
|
139
|
+
export * from './WebsiteUserOrderBy';
|
|
140
|
+
export * from './WebsiteUserDistinctExp';
|
|
119
141
|
export * from './CustomizeMedia';
|
|
142
|
+
export * from './CustomizeMediaBoolExp';
|
|
143
|
+
export * from './CustomizeMediaOrderBy';
|
|
144
|
+
export * from './CustomizeMediaDistinctExp';
|
|
120
145
|
export * from './UserType';
|
|
121
146
|
export * from './TemplateType';
|
|
122
147
|
export * from './ProductCategory';
|
|
@@ -132,3 +157,10 @@ export * from './FormSettings';
|
|
|
132
157
|
export * from './ExtendFieldType';
|
|
133
158
|
export * from './ComponentType';
|
|
134
159
|
export * from './ExtendField';
|
|
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",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
-
import { QueryOptions } from "./QueryOptions";
|
|
3
|
-
import { Slug, SlugBoolExp, SlugDistinctExp, SlugOrderBy } from "../interfaces";
|
|
4
|
-
import { PostQueryOptions } from './PostQueryOptions';
|
|
5
|
-
import { Post } from '../interfaces';
|
|
6
|
-
import { ProductQueryOptions } from './ProductQueryOptions';
|
|
7
|
-
import { Product } from '../interfaces';
|
|
8
|
-
import { PageQueryOptions } from './PageQueryOptions';
|
|
9
|
-
import { Page } from '../interfaces';
|
|
10
|
-
export declare class SlugQueryOptions extends QueryOptions<Slug, SlugBoolExp, SlugOrderBy, SlugDistinctExp> {
|
|
11
|
-
constructor(fields?: (keyof Slug)[], queryArgs?: IQueryArgs<SlugBoolExp, SlugOrderBy, SlugDistinctExp>);
|
|
12
|
-
id(): this;
|
|
13
|
-
uniqueName(): this;
|
|
14
|
-
websiteId(): this;
|
|
15
|
-
/**
|
|
16
|
-
* 创建时间
|
|
17
|
-
*/
|
|
18
|
-
createdAt(): this;
|
|
19
|
-
/**
|
|
20
|
-
* 更新时间
|
|
21
|
-
*/
|
|
22
|
-
updatedAt(): this;
|
|
23
|
-
/**
|
|
24
|
-
* 备注
|
|
25
|
-
*/
|
|
26
|
-
remark(): this;
|
|
27
|
-
post(options?: PostQueryOptions | (keyof Post)[]): this;
|
|
28
|
-
product(options?: ProductQueryOptions | (keyof Product)[]): this;
|
|
29
|
-
page(options?: PageQueryOptions | (keyof Page)[]): this;
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare enum SlugFields {
|
|
2
|
-
id = "id",
|
|
3
|
-
uniqueName = "uniqueName",
|
|
4
|
-
websiteId = "websiteId",
|
|
5
|
-
/**
|
|
6
|
-
* 创建时间
|
|
7
|
-
*/
|
|
8
|
-
createdAt = "createdAt",
|
|
9
|
-
/**
|
|
10
|
-
* 更新时间
|
|
11
|
-
*/
|
|
12
|
-
updatedAt = "updatedAt",
|
|
13
|
-
/**
|
|
14
|
-
* 备注
|
|
15
|
-
*/
|
|
16
|
-
remark = "remark"
|
|
17
|
-
}
|
|
18
|
-
export declare enum SlugAssciations {
|
|
19
|
-
post = "post",
|
|
20
|
-
product = "product",
|
|
21
|
-
page = "page"
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Post } from './Post';
|
|
2
|
-
import { Product } from './Product';
|
|
3
|
-
import { Page } from './Page';
|
|
4
|
-
import { WebsitePart } from './WebsitePart';
|
|
5
|
-
export declare const SlugEntityName = "Slug";
|
|
6
|
-
export declare const SlugEntityLabel = "";
|
|
7
|
-
export interface Slug extends WebsitePart {
|
|
8
|
-
id?: string;
|
|
9
|
-
uniqueName?: string;
|
|
10
|
-
post?: Post;
|
|
11
|
-
product?: Product;
|
|
12
|
-
page?: Page;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
-
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
-
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
-
import { PostBoolExp } from './PostBoolExp';
|
|
5
|
-
import { ProductBoolExp } from './ProductBoolExp';
|
|
6
|
-
import { PageBoolExp } from './PageBoolExp';
|
|
7
|
-
export interface SlugBoolExp extends WebsitePartBoolExp {
|
|
8
|
-
_and?: SlugBoolExp[];
|
|
9
|
-
_or?: SlugBoolExp[];
|
|
10
|
-
_not?: SlugBoolExp;
|
|
11
|
-
id?: IdComparisonExp;
|
|
12
|
-
uniqueName?: StringComparisonExp;
|
|
13
|
-
post?: PostBoolExp;
|
|
14
|
-
product?: ProductBoolExp;
|
|
15
|
-
page?: PageBoolExp;
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
-
export declare enum SlugDistinctEnum {
|
|
3
|
-
id = "id",
|
|
4
|
-
uniqueName = "uniqueName",
|
|
5
|
-
websiteId = "websiteId",
|
|
6
|
-
/**
|
|
7
|
-
* 创建时间
|
|
8
|
-
*/
|
|
9
|
-
createdAt = "createdAt",
|
|
10
|
-
/**
|
|
11
|
-
* 更新时间
|
|
12
|
-
*/
|
|
13
|
-
updatedAt = "updatedAt",
|
|
14
|
-
/**
|
|
15
|
-
* 备注
|
|
16
|
-
*/
|
|
17
|
-
remark = "remark"
|
|
18
|
-
}
|
|
19
|
-
export type SlugDistinctExp = SlugDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Slug } from './Slug';
|
|
2
|
-
import { PostInput } from './PostInput';
|
|
3
|
-
import { ProductInput } from './ProductInput';
|
|
4
|
-
import { PageInput } from './PageInput';
|
|
5
|
-
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
|
-
import { WebsitePart } from './WebsitePart';
|
|
7
|
-
export interface SlugInput extends WebsitePart {
|
|
8
|
-
id?: string;
|
|
9
|
-
uniqueName?: string;
|
|
10
|
-
post?: SetHasOne<PostInput>;
|
|
11
|
-
product?: SetHasOne<ProductInput>;
|
|
12
|
-
page?: SetHasOne<PageInput>;
|
|
13
|
-
}
|
|
14
|
-
export declare const slugToInputCascade: (entity: Slug) => SlugInput;
|
|
15
|
-
export declare const slugToInput: (entity: Slug) => SlugInput;
|