@rxdrag/rxcms-models 0.2.5 → 0.2.7
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/WebsiteSettingsQueryOptions.d.ts +12 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +12 -0
- package/dist/index.mjs +27 -0
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/EmailTemplate.d.ts +4 -0
- package/dist/interfaces/EmailTemplates.d.ts +11 -0
- package/dist/interfaces/WebsiteSettings.d.ts +13 -0
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +3 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +12 -0
- package/dist/interfaces/WebsiteSettingsInput.d.ts +13 -0
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +12 -0
- package/dist/interfaces/index.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SmtpConfig } from './SmtpConfig';
|
|
2
|
+
import { EmailTemplates } from './EmailTemplates';
|
|
2
3
|
import { WebsitePart } from './WebsitePart';
|
|
3
4
|
export declare const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
4
5
|
export declare const WebsiteSettingsEntityLabel = "";
|
|
@@ -35,4 +36,16 @@ export interface WebsiteSettings extends WebsitePart {
|
|
|
35
36
|
map301?: string;
|
|
36
37
|
headerCode?: string;
|
|
37
38
|
footerCode?: string;
|
|
39
|
+
/**
|
|
40
|
+
* GA跟踪码
|
|
41
|
+
*/
|
|
42
|
+
gaTrackingId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 通知邮箱
|
|
45
|
+
*/
|
|
46
|
+
noticeEmail?: string;
|
|
47
|
+
/**
|
|
48
|
+
* 邮件模板
|
|
49
|
+
*/
|
|
50
|
+
emailTemplates?: EmailTemplates;
|
|
38
51
|
}
|
|
@@ -23,4 +23,7 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
|
|
|
23
23
|
map301?: StringComparisonExp;
|
|
24
24
|
headerCode?: StringComparisonExp;
|
|
25
25
|
footerCode?: StringComparisonExp;
|
|
26
|
+
gaTrackingId?: StringComparisonExp;
|
|
27
|
+
noticeEmail?: StringComparisonExp;
|
|
28
|
+
emailTemplates?: unknown;
|
|
26
29
|
}
|
|
@@ -32,6 +32,18 @@ export declare enum WebsiteSettingsDistinctEnum {
|
|
|
32
32
|
map301 = "map301",
|
|
33
33
|
headerCode = "headerCode",
|
|
34
34
|
footerCode = "footerCode",
|
|
35
|
+
/**
|
|
36
|
+
* GA跟踪码
|
|
37
|
+
*/
|
|
38
|
+
gaTrackingId = "gaTrackingId",
|
|
39
|
+
/**
|
|
40
|
+
* 通知邮箱
|
|
41
|
+
*/
|
|
42
|
+
noticeEmail = "noticeEmail",
|
|
43
|
+
/**
|
|
44
|
+
* 邮件模板
|
|
45
|
+
*/
|
|
46
|
+
emailTemplates = "emailTemplates",
|
|
35
47
|
websiteId = "websiteId",
|
|
36
48
|
slug = "slug",
|
|
37
49
|
description = "description",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WebsiteSettings } from './WebsiteSettings';
|
|
2
2
|
import { SmtpConfig } from './SmtpConfig';
|
|
3
|
+
import { EmailTemplates } from './EmailTemplates';
|
|
3
4
|
import { WebsitePart } from './WebsitePart';
|
|
4
5
|
export interface WebsiteSettingsInput extends WebsitePart {
|
|
5
6
|
id?: string;
|
|
@@ -34,6 +35,18 @@ export interface WebsiteSettingsInput extends WebsitePart {
|
|
|
34
35
|
map301?: string;
|
|
35
36
|
headerCode?: string;
|
|
36
37
|
footerCode?: string;
|
|
38
|
+
/**
|
|
39
|
+
* GA跟踪码
|
|
40
|
+
*/
|
|
41
|
+
gaTrackingId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 通知邮箱
|
|
44
|
+
*/
|
|
45
|
+
noticeEmail?: string;
|
|
46
|
+
/**
|
|
47
|
+
* 邮件模板
|
|
48
|
+
*/
|
|
49
|
+
emailTemplates?: EmailTemplates;
|
|
37
50
|
}
|
|
38
51
|
export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
39
52
|
export declare const websiteSettingsToInput: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
@@ -33,4 +33,16 @@ export interface WebsiteSettingsOrderBy extends WebsitePartOrderBy {
|
|
|
33
33
|
map301?: OrderBy;
|
|
34
34
|
headerCode?: OrderBy;
|
|
35
35
|
footerCode?: OrderBy;
|
|
36
|
+
/**
|
|
37
|
+
* GA跟踪码
|
|
38
|
+
*/
|
|
39
|
+
gaTrackingId?: OrderBy;
|
|
40
|
+
/**
|
|
41
|
+
* 通知邮箱
|
|
42
|
+
*/
|
|
43
|
+
noticeEmail?: OrderBy;
|
|
44
|
+
/**
|
|
45
|
+
* 邮件模板
|
|
46
|
+
*/
|
|
47
|
+
emailTemplates?: OrderBy;
|
|
36
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
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.2"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|