@rxdrag/rxcms-models 0.3.47 → 0.3.49
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/LangQueryOptions.d.ts +1 -5
- package/dist/classes/ThemeConfigQueryOptions.d.ts +7 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +4 -5
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +2 -28
- package/dist/fields/LangFields.d.ts +2 -3
- package/dist/fields/ThemeConfigFields.d.ts +8 -1
- package/dist/fields/WebsiteFields.d.ts +4 -4
- package/dist/fields/WebsiteSettingsFields.d.ts +2 -26
- package/dist/index.mjs +322 -359
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/CookieConsentStrategy.d.ts +10 -0
- package/dist/interfaces/GaConfig.d.ts +2 -0
- package/dist/interfaces/Lang.d.ts +1 -3
- package/dist/interfaces/LangBoolExp.d.ts +1 -2
- package/dist/interfaces/LangDistinctExp.d.ts +2 -1
- package/dist/interfaces/LangInput.d.ts +1 -2
- package/dist/interfaces/LangOrderBy.d.ts +1 -0
- package/dist/interfaces/SmtpConfig.d.ts +0 -4
- package/dist/interfaces/ThemeConfig.d.ts +7 -0
- package/dist/interfaces/ThemeConfigBoolExp.d.ts +7 -0
- package/dist/interfaces/ThemeConfigDistinctExp.d.ts +8 -1
- package/dist/interfaces/ThemeConfigInput.d.ts +7 -0
- package/dist/interfaces/ThemeConfigOrderBy.d.ts +7 -0
- package/dist/interfaces/Website.d.ts +3 -3
- package/dist/interfaces/WebsiteBoolExp.d.ts +3 -2
- package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
- package/dist/interfaces/WebsiteInput.d.ts +3 -2
- package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsiteSettings.d.ts +5 -28
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +6 -13
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +3 -27
- package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -28
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +5 -26
- package/dist/interfaces/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { CookieConsentStrategy } from './CookieConsentStrategy';
|
|
1
2
|
import { GaDimension } from './GaDimension';
|
|
2
3
|
export interface GaConfig {
|
|
3
4
|
enabled?: boolean;
|
|
4
5
|
measurementId?: string;
|
|
5
6
|
enableEcommerce?: boolean;
|
|
6
7
|
dimensions?: GaDimension[];
|
|
8
|
+
cookieConsentStrategy?: CookieConsentStrategy;
|
|
7
9
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { WebsiteSettings } from './WebsiteSettings';
|
|
2
1
|
import { MediaFolder } from './MediaFolder';
|
|
3
2
|
import { Enquiry } from './Enquiry';
|
|
4
3
|
import { Product } from './Product';
|
|
@@ -43,7 +42,7 @@ export interface Lang {
|
|
|
43
42
|
circleIcon?: string;
|
|
44
43
|
cnName?: string;
|
|
45
44
|
htmlLang?: string;
|
|
46
|
-
|
|
45
|
+
urlFragment?: string;
|
|
47
46
|
webPartsOfMediaFolder?: MediaFolder[];
|
|
48
47
|
webPartsOfEnquiry?: Enquiry[];
|
|
49
48
|
webPartsOfProduct?: Product[];
|
|
@@ -57,7 +56,6 @@ export interface Lang {
|
|
|
57
56
|
websites?: Website[];
|
|
58
57
|
baseLangOf?: Website[];
|
|
59
58
|
themes?: Theme[];
|
|
60
|
-
webPartsOfWebsiteSettingsAggregate?: Aggregate;
|
|
61
59
|
webPartsOfMediaFolderAggregate?: Aggregate;
|
|
62
60
|
webPartsOfEnquiryAggregate?: Aggregate;
|
|
63
61
|
webPartsOfProductAggregate?: Aggregate;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
2
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
-
import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
|
|
4
3
|
import { MediaFolderBoolExp } from './MediaFolderBoolExp';
|
|
5
4
|
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
6
5
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
@@ -30,7 +29,7 @@ export interface LangBoolExp {
|
|
|
30
29
|
circleIcon?: StringComparisonExp;
|
|
31
30
|
cnName?: StringComparisonExp;
|
|
32
31
|
htmlLang?: StringComparisonExp;
|
|
33
|
-
|
|
32
|
+
urlFragment?: StringComparisonExp;
|
|
34
33
|
webPartsOfMediaFolder?: MediaFolderBoolExp;
|
|
35
34
|
webPartsOfEnquiry?: EnquiryBoolExp;
|
|
36
35
|
webPartsOfProduct?: ProductBoolExp;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Lang } from './Lang';
|
|
2
|
-
import { WebsiteSettingsInput } from './WebsiteSettingsInput';
|
|
3
2
|
import { MediaFolderInput } from './MediaFolderInput';
|
|
4
3
|
import { EnquiryInput } from './EnquiryInput';
|
|
5
4
|
import { ProductInput } from './ProductInput';
|
|
@@ -42,7 +41,7 @@ export interface LangInput {
|
|
|
42
41
|
circleIcon?: string;
|
|
43
42
|
cnName?: string;
|
|
44
43
|
htmlLang?: string;
|
|
45
|
-
|
|
44
|
+
urlFragment?: string;
|
|
46
45
|
webPartsOfMediaFolder?: SetHasMany<MediaFolderInput>;
|
|
47
46
|
webPartsOfEnquiry?: SetHasMany<EnquiryInput>;
|
|
48
47
|
webPartsOfProduct?: SetHasMany<ProductInput>;
|
|
@@ -14,6 +14,13 @@ export interface ThemeConfig {
|
|
|
14
14
|
fax?: string;
|
|
15
15
|
mobile?: string;
|
|
16
16
|
wechat?: string;
|
|
17
|
+
domain?: string;
|
|
18
|
+
svgIcon?: string;
|
|
19
|
+
themeColor?: string;
|
|
20
|
+
pngIcon?: string;
|
|
21
|
+
icoIcon?: string;
|
|
22
|
+
appleTouchIcon?: string;
|
|
23
|
+
redirects?: string;
|
|
17
24
|
contactAvatar?: Media;
|
|
18
25
|
theme?: Theme;
|
|
19
26
|
}
|
|
@@ -16,6 +16,13 @@ export interface ThemeConfigBoolExp {
|
|
|
16
16
|
fax?: StringComparisonExp;
|
|
17
17
|
mobile?: StringComparisonExp;
|
|
18
18
|
wechat?: StringComparisonExp;
|
|
19
|
+
domain?: StringComparisonExp;
|
|
20
|
+
svgIcon?: StringComparisonExp;
|
|
21
|
+
themeColor?: StringComparisonExp;
|
|
22
|
+
pngIcon?: StringComparisonExp;
|
|
23
|
+
icoIcon?: StringComparisonExp;
|
|
24
|
+
appleTouchIcon?: StringComparisonExp;
|
|
25
|
+
redirects?: StringComparisonExp;
|
|
19
26
|
contactAvatar?: MediaBoolExp;
|
|
20
27
|
theme?: ThemeBoolExp;
|
|
21
28
|
}
|
|
@@ -8,6 +8,13 @@ export declare enum ThemeConfigDistinctEnum {
|
|
|
8
8
|
tel = "tel",
|
|
9
9
|
fax = "fax",
|
|
10
10
|
mobile = "mobile",
|
|
11
|
-
wechat = "wechat"
|
|
11
|
+
wechat = "wechat",
|
|
12
|
+
domain = "domain",
|
|
13
|
+
svgIcon = "svgIcon",
|
|
14
|
+
themeColor = "themeColor",
|
|
15
|
+
pngIcon = "pngIcon",
|
|
16
|
+
icoIcon = "icoIcon",
|
|
17
|
+
appleTouchIcon = "appleTouchIcon",
|
|
18
|
+
redirects = "redirects"
|
|
12
19
|
}
|
|
13
20
|
export type ThemeConfigDistinctExp = ThemeConfigDistinctEnum;
|
|
@@ -14,6 +14,13 @@ export interface ThemeConfigInput {
|
|
|
14
14
|
fax?: string;
|
|
15
15
|
mobile?: string;
|
|
16
16
|
wechat?: string;
|
|
17
|
+
domain?: string;
|
|
18
|
+
svgIcon?: string;
|
|
19
|
+
themeColor?: string;
|
|
20
|
+
pngIcon?: string;
|
|
21
|
+
icoIcon?: string;
|
|
22
|
+
appleTouchIcon?: string;
|
|
23
|
+
redirects?: string;
|
|
17
24
|
contactAvatar?: SetHasOne<MediaInput>;
|
|
18
25
|
theme?: SetHasOne<ThemeInput>;
|
|
19
26
|
}
|
|
@@ -10,4 +10,11 @@ export interface ThemeConfigOrderBy {
|
|
|
10
10
|
fax?: OrderBy;
|
|
11
11
|
mobile?: OrderBy;
|
|
12
12
|
wechat?: OrderBy;
|
|
13
|
+
domain?: OrderBy;
|
|
14
|
+
svgIcon?: OrderBy;
|
|
15
|
+
themeColor?: OrderBy;
|
|
16
|
+
pngIcon?: OrderBy;
|
|
17
|
+
icoIcon?: OrderBy;
|
|
18
|
+
appleTouchIcon?: OrderBy;
|
|
19
|
+
redirects?: OrderBy;
|
|
13
20
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { WebsiteType } from './WebsiteType';
|
|
2
2
|
import { User } from './User';
|
|
3
|
-
import { WebsiteSettings } from './WebsiteSettings';
|
|
4
3
|
import { MediaFolder } from './MediaFolder';
|
|
5
4
|
import { Enquiry } from './Enquiry';
|
|
6
5
|
import { Product } from './Product';
|
|
@@ -14,6 +13,7 @@ import { Media } from './Media';
|
|
|
14
13
|
import { Lang } from './Lang';
|
|
15
14
|
import { Theme } from './Theme';
|
|
16
15
|
import { AnalyticsConfig } from './AnalyticsConfig';
|
|
16
|
+
import { WebsiteSettings } from './WebsiteSettings';
|
|
17
17
|
import { Aggregate } from './Aggregate';
|
|
18
18
|
export declare const WebsiteEntityName = "Website";
|
|
19
19
|
export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
|
|
@@ -52,10 +52,10 @@ export interface Website {
|
|
|
52
52
|
*/
|
|
53
53
|
updatedBy?: string | null;
|
|
54
54
|
description?: string;
|
|
55
|
+
title?: string;
|
|
55
56
|
websiteType?: WebsiteType;
|
|
56
57
|
owner?: User;
|
|
57
58
|
users?: User[];
|
|
58
|
-
partsOfWebsiteSettings?: WebsiteSettings[];
|
|
59
59
|
partsOfMediaFolder?: MediaFolder[];
|
|
60
60
|
partsOfEnquiry?: Enquiry[];
|
|
61
61
|
partsOfProduct?: Product[];
|
|
@@ -70,8 +70,8 @@ export interface Website {
|
|
|
70
70
|
baseLang?: Lang;
|
|
71
71
|
themes?: Theme[];
|
|
72
72
|
analyticsConfig?: AnalyticsConfig;
|
|
73
|
+
settings?: WebsiteSettings;
|
|
73
74
|
usersAggregate?: Aggregate;
|
|
74
|
-
partsOfWebsiteSettingsAggregate?: Aggregate;
|
|
75
75
|
partsOfMediaFolderAggregate?: Aggregate;
|
|
76
76
|
partsOfEnquiryAggregate?: Aggregate;
|
|
77
77
|
partsOfProductAggregate?: Aggregate;
|
|
@@ -3,7 +3,6 @@ import { StringComparisonExp } from './StringComparisonExp';
|
|
|
3
3
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
4
4
|
import { WebsiteTypeBoolExp } from './WebsiteTypeBoolExp';
|
|
5
5
|
import { UserBoolExp } from './UserBoolExp';
|
|
6
|
-
import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
|
|
7
6
|
import { MediaFolderBoolExp } from './MediaFolderBoolExp';
|
|
8
7
|
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
9
8
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
@@ -17,6 +16,7 @@ import { MediaBoolExp } from './MediaBoolExp';
|
|
|
17
16
|
import { LangBoolExp } from './LangBoolExp';
|
|
18
17
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
19
18
|
import { AnalyticsConfigBoolExp } from './AnalyticsConfigBoolExp';
|
|
19
|
+
import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
|
|
20
20
|
/**
|
|
21
21
|
* 站点
|
|
22
22
|
* 网站实体
|
|
@@ -34,10 +34,10 @@ export interface WebsiteBoolExp {
|
|
|
34
34
|
updatedAt?: DateTimeComparisonExp;
|
|
35
35
|
updatedBy?: IdComparisonExp;
|
|
36
36
|
description?: StringComparisonExp;
|
|
37
|
+
title?: StringComparisonExp;
|
|
37
38
|
websiteType?: WebsiteTypeBoolExp;
|
|
38
39
|
owner?: UserBoolExp;
|
|
39
40
|
users?: UserBoolExp;
|
|
40
|
-
partsOfWebsiteSettings?: WebsiteSettingsBoolExp;
|
|
41
41
|
partsOfMediaFolder?: MediaFolderBoolExp;
|
|
42
42
|
partsOfEnquiry?: EnquiryBoolExp;
|
|
43
43
|
partsOfProduct?: ProductBoolExp;
|
|
@@ -52,4 +52,5 @@ export interface WebsiteBoolExp {
|
|
|
52
52
|
baseLang?: LangBoolExp;
|
|
53
53
|
themes?: ThemeBoolExp;
|
|
54
54
|
analyticsConfig?: AnalyticsConfigBoolExp;
|
|
55
|
+
settings?: WebsiteSettingsBoolExp;
|
|
55
56
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Website } from './Website';
|
|
2
2
|
import { WebsiteTypeInput } from './WebsiteTypeInput';
|
|
3
3
|
import { UserInput } from './UserInput';
|
|
4
|
-
import { WebsiteSettingsInput } from './WebsiteSettingsInput';
|
|
5
4
|
import { MediaFolderInput } from './MediaFolderInput';
|
|
6
5
|
import { EnquiryInput } from './EnquiryInput';
|
|
7
6
|
import { ProductInput } from './ProductInput';
|
|
@@ -15,6 +14,7 @@ import { MediaInput } from './MediaInput';
|
|
|
15
14
|
import { LangInput } from './LangInput';
|
|
16
15
|
import { ThemeInput } from './ThemeInput';
|
|
17
16
|
import { AnalyticsConfigInput } from './AnalyticsConfigInput';
|
|
17
|
+
import { WebsiteSettingsInput } from './WebsiteSettingsInput';
|
|
18
18
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
19
19
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
20
20
|
/**
|
|
@@ -52,10 +52,10 @@ export interface WebsiteInput {
|
|
|
52
52
|
*/
|
|
53
53
|
updatedBy?: string | null;
|
|
54
54
|
description?: string;
|
|
55
|
+
title?: string;
|
|
55
56
|
websiteType?: SetHasOne<WebsiteTypeInput>;
|
|
56
57
|
owner?: SetHasOne<UserInput>;
|
|
57
58
|
users?: SetHasMany<UserInput>;
|
|
58
|
-
partsOfWebsiteSettings?: SetHasMany<WebsiteSettingsInput>;
|
|
59
59
|
partsOfMediaFolder?: SetHasMany<MediaFolderInput>;
|
|
60
60
|
partsOfEnquiry?: SetHasMany<EnquiryInput>;
|
|
61
61
|
partsOfProduct?: SetHasMany<ProductInput>;
|
|
@@ -70,6 +70,7 @@ export interface WebsiteInput {
|
|
|
70
70
|
baseLang?: SetHasOne<LangInput>;
|
|
71
71
|
themes?: SetHasMany<ThemeInput>;
|
|
72
72
|
analyticsConfig?: SetHasOne<AnalyticsConfigInput>;
|
|
73
|
+
settings?: SetHasOne<WebsiteSettingsInput>;
|
|
73
74
|
}
|
|
74
75
|
export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
|
|
75
76
|
export declare const websiteToInput: (entity: Website) => WebsiteInput;
|
|
@@ -1,43 +1,20 @@
|
|
|
1
1
|
import { SmtpConfig } from './SmtpConfig';
|
|
2
|
-
import { Lang } from './Lang';
|
|
3
2
|
import { Website } from './Website';
|
|
4
|
-
import { WebsitePart } from './WebsitePart';
|
|
5
3
|
export declare const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
6
4
|
export declare const WebsiteSettingsEntityLabel = "";
|
|
7
|
-
export interface WebsiteSettings
|
|
5
|
+
export interface WebsiteSettings {
|
|
8
6
|
id?: string | null;
|
|
9
7
|
/**
|
|
10
8
|
* 邮件配置
|
|
11
9
|
*/
|
|
12
10
|
smtpConfig?: SmtpConfig;
|
|
13
|
-
whatsapp?: string;
|
|
14
|
-
robots?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 站点名称
|
|
17
|
-
*/
|
|
18
|
-
websiteName?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 域名
|
|
21
|
-
*/
|
|
22
|
-
domain?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 打开iRobots
|
|
25
|
-
*/
|
|
26
|
-
openRobots?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* 301映射表
|
|
29
|
-
*/
|
|
30
|
-
map301?: string;
|
|
31
|
-
headerCode?: string;
|
|
32
|
-
footerCode?: string;
|
|
33
|
-
/**
|
|
34
|
-
* GA跟踪码
|
|
35
|
-
*/
|
|
36
|
-
gaTrackingId?: string;
|
|
37
11
|
/**
|
|
38
12
|
* 通知邮箱
|
|
39
13
|
*/
|
|
40
14
|
noticeEmail?: string;
|
|
41
|
-
|
|
15
|
+
useCustomizedSmtp?: boolean;
|
|
16
|
+
createdAt?: Date;
|
|
17
|
+
updatedAt?: Date;
|
|
18
|
+
replyToEmail?: string;
|
|
42
19
|
website?: Website;
|
|
43
20
|
}
|
|
@@ -1,25 +1,18 @@
|
|
|
1
|
-
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
1
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
2
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
3
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
5
|
-
import {
|
|
4
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
6
5
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
7
|
-
export interface WebsiteSettingsBoolExp
|
|
6
|
+
export interface WebsiteSettingsBoolExp {
|
|
8
7
|
_and?: WebsiteSettingsBoolExp[];
|
|
9
8
|
_or?: WebsiteSettingsBoolExp[];
|
|
10
9
|
_not?: WebsiteSettingsBoolExp;
|
|
11
10
|
id?: IdComparisonExp;
|
|
12
11
|
smtpConfig?: unknown;
|
|
13
|
-
whatsapp?: StringComparisonExp;
|
|
14
|
-
robots?: StringComparisonExp;
|
|
15
|
-
websiteName?: StringComparisonExp;
|
|
16
|
-
domain?: StringComparisonExp;
|
|
17
|
-
openRobots?: BooleanComparisonExp;
|
|
18
|
-
map301?: StringComparisonExp;
|
|
19
|
-
headerCode?: StringComparisonExp;
|
|
20
|
-
footerCode?: StringComparisonExp;
|
|
21
|
-
gaTrackingId?: StringComparisonExp;
|
|
22
12
|
noticeEmail?: StringComparisonExp;
|
|
23
|
-
|
|
13
|
+
useCustomizedSmtp?: BooleanComparisonExp;
|
|
14
|
+
createdAt?: DateTimeComparisonExp;
|
|
15
|
+
updatedAt?: DateTimeComparisonExp;
|
|
16
|
+
replyToEmail?: StringComparisonExp;
|
|
24
17
|
website?: WebsiteBoolExp;
|
|
25
18
|
}
|
|
@@ -1,40 +1,16 @@
|
|
|
1
|
-
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
1
|
export declare enum WebsiteSettingsDistinctEnum {
|
|
3
2
|
id = "id",
|
|
4
3
|
/**
|
|
5
4
|
* 邮件配置
|
|
6
5
|
*/
|
|
7
6
|
smtpConfig = "smtpConfig",
|
|
8
|
-
whatsapp = "whatsapp",
|
|
9
|
-
robots = "robots",
|
|
10
|
-
/**
|
|
11
|
-
* 站点名称
|
|
12
|
-
*/
|
|
13
|
-
websiteName = "websiteName",
|
|
14
|
-
/**
|
|
15
|
-
* 域名
|
|
16
|
-
*/
|
|
17
|
-
domain = "domain",
|
|
18
|
-
/**
|
|
19
|
-
* 打开iRobots
|
|
20
|
-
*/
|
|
21
|
-
openRobots = "openRobots",
|
|
22
|
-
/**
|
|
23
|
-
* 301映射表
|
|
24
|
-
*/
|
|
25
|
-
map301 = "map301",
|
|
26
|
-
headerCode = "headerCode",
|
|
27
|
-
footerCode = "footerCode",
|
|
28
|
-
/**
|
|
29
|
-
* GA跟踪码
|
|
30
|
-
*/
|
|
31
|
-
gaTrackingId = "gaTrackingId",
|
|
32
7
|
/**
|
|
33
8
|
* 通知邮箱
|
|
34
9
|
*/
|
|
35
10
|
noticeEmail = "noticeEmail",
|
|
11
|
+
useCustomizedSmtp = "useCustomizedSmtp",
|
|
36
12
|
createdAt = "createdAt",
|
|
37
13
|
updatedAt = "updatedAt",
|
|
38
|
-
|
|
14
|
+
replyToEmail = "replyToEmail"
|
|
39
15
|
}
|
|
40
|
-
export type WebsiteSettingsDistinctExp = WebsiteSettingsDistinctEnum
|
|
16
|
+
export type WebsiteSettingsDistinctExp = WebsiteSettingsDistinctEnum;
|
|
@@ -1,44 +1,21 @@
|
|
|
1
1
|
import { WebsiteSettings } from './WebsiteSettings';
|
|
2
2
|
import { SmtpConfig } from './SmtpConfig';
|
|
3
|
-
import { LangInput } from './LangInput';
|
|
4
3
|
import { WebsiteInput } from './WebsiteInput';
|
|
5
4
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
|
-
|
|
7
|
-
export interface WebsiteSettingsInput extends WebsitePart {
|
|
5
|
+
export interface WebsiteSettingsInput {
|
|
8
6
|
id?: string | null;
|
|
9
7
|
/**
|
|
10
8
|
* 邮件配置
|
|
11
9
|
*/
|
|
12
10
|
smtpConfig?: SmtpConfig;
|
|
13
|
-
whatsapp?: string;
|
|
14
|
-
robots?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 站点名称
|
|
17
|
-
*/
|
|
18
|
-
websiteName?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 域名
|
|
21
|
-
*/
|
|
22
|
-
domain?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 打开iRobots
|
|
25
|
-
*/
|
|
26
|
-
openRobots?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* 301映射表
|
|
29
|
-
*/
|
|
30
|
-
map301?: string;
|
|
31
|
-
headerCode?: string;
|
|
32
|
-
footerCode?: string;
|
|
33
|
-
/**
|
|
34
|
-
* GA跟踪码
|
|
35
|
-
*/
|
|
36
|
-
gaTrackingId?: string;
|
|
37
11
|
/**
|
|
38
12
|
* 通知邮箱
|
|
39
13
|
*/
|
|
40
14
|
noticeEmail?: string;
|
|
41
|
-
|
|
15
|
+
useCustomizedSmtp?: boolean;
|
|
16
|
+
createdAt?: Date;
|
|
17
|
+
updatedAt?: Date;
|
|
18
|
+
replyToEmail?: string;
|
|
42
19
|
website?: SetHasOne<WebsiteInput>;
|
|
43
20
|
}
|
|
44
21
|
export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
@@ -1,37 +1,16 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
-
|
|
3
|
-
export interface WebsiteSettingsOrderBy extends WebsitePartOrderBy {
|
|
2
|
+
export interface WebsiteSettingsOrderBy {
|
|
4
3
|
id?: OrderBy;
|
|
5
4
|
/**
|
|
6
5
|
* 邮件配置
|
|
7
6
|
*/
|
|
8
7
|
smtpConfig?: OrderBy;
|
|
9
|
-
whatsapp?: OrderBy;
|
|
10
|
-
robots?: OrderBy;
|
|
11
|
-
/**
|
|
12
|
-
* 站点名称
|
|
13
|
-
*/
|
|
14
|
-
websiteName?: OrderBy;
|
|
15
|
-
/**
|
|
16
|
-
* 域名
|
|
17
|
-
*/
|
|
18
|
-
domain?: OrderBy;
|
|
19
|
-
/**
|
|
20
|
-
* 打开iRobots
|
|
21
|
-
*/
|
|
22
|
-
openRobots?: OrderBy;
|
|
23
|
-
/**
|
|
24
|
-
* 301映射表
|
|
25
|
-
*/
|
|
26
|
-
map301?: OrderBy;
|
|
27
|
-
headerCode?: OrderBy;
|
|
28
|
-
footerCode?: OrderBy;
|
|
29
|
-
/**
|
|
30
|
-
* GA跟踪码
|
|
31
|
-
*/
|
|
32
|
-
gaTrackingId?: OrderBy;
|
|
33
8
|
/**
|
|
34
9
|
* 通知邮箱
|
|
35
10
|
*/
|
|
36
11
|
noticeEmail?: OrderBy;
|
|
12
|
+
useCustomizedSmtp?: OrderBy;
|
|
13
|
+
createdAt?: OrderBy;
|
|
14
|
+
updatedAt?: OrderBy;
|
|
15
|
+
replyToEmail?: OrderBy;
|
|
37
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.49",
|
|
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.2.
|
|
20
|
+
"@rxdrag/entify-hooks": "0.2.43"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|