@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.
Files changed (35) hide show
  1. package/dist/classes/LangQueryOptions.d.ts +1 -5
  2. package/dist/classes/ThemeConfigQueryOptions.d.ts +7 -0
  3. package/dist/classes/WebsiteQueryOptions.d.ts +4 -5
  4. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +2 -28
  5. package/dist/fields/LangFields.d.ts +2 -3
  6. package/dist/fields/ThemeConfigFields.d.ts +8 -1
  7. package/dist/fields/WebsiteFields.d.ts +4 -4
  8. package/dist/fields/WebsiteSettingsFields.d.ts +2 -26
  9. package/dist/index.mjs +322 -359
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/interfaces/CookieConsentStrategy.d.ts +10 -0
  12. package/dist/interfaces/GaConfig.d.ts +2 -0
  13. package/dist/interfaces/Lang.d.ts +1 -3
  14. package/dist/interfaces/LangBoolExp.d.ts +1 -2
  15. package/dist/interfaces/LangDistinctExp.d.ts +2 -1
  16. package/dist/interfaces/LangInput.d.ts +1 -2
  17. package/dist/interfaces/LangOrderBy.d.ts +1 -0
  18. package/dist/interfaces/SmtpConfig.d.ts +0 -4
  19. package/dist/interfaces/ThemeConfig.d.ts +7 -0
  20. package/dist/interfaces/ThemeConfigBoolExp.d.ts +7 -0
  21. package/dist/interfaces/ThemeConfigDistinctExp.d.ts +8 -1
  22. package/dist/interfaces/ThemeConfigInput.d.ts +7 -0
  23. package/dist/interfaces/ThemeConfigOrderBy.d.ts +7 -0
  24. package/dist/interfaces/Website.d.ts +3 -3
  25. package/dist/interfaces/WebsiteBoolExp.d.ts +3 -2
  26. package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
  27. package/dist/interfaces/WebsiteInput.d.ts +3 -2
  28. package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
  29. package/dist/interfaces/WebsiteSettings.d.ts +5 -28
  30. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +6 -13
  31. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +3 -27
  32. package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -28
  33. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +5 -26
  34. package/dist/interfaces/index.d.ts +1 -0
  35. package/package.json +2 -2
@@ -1,9 +1,6 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Lang, LangBoolExp, LangDistinctExp, LangOrderBy } from "../interfaces";
4
- import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
5
- import { WebsiteSettings } from '../interfaces';
6
- import { WebsiteSettingsBoolExp } from '../interfaces';
7
4
  import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
8
5
  import { MediaFolder } from '../interfaces';
9
6
  import { MediaFolderBoolExp } from '../interfaces';
@@ -66,8 +63,7 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
66
63
  circleIcon(): this;
67
64
  cnName(): this;
68
65
  htmlLang(): this;
69
- webPartsOfWebsiteSettings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
70
- webPartsOfWebsiteSettingsAggregate(aggregate: IAggregate<WebsiteSettingsBoolExp>): this;
66
+ urlFragment(): this;
71
67
  webPartsOfMediaFolder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
72
68
  webPartsOfMediaFolderAggregate(aggregate: IAggregate<MediaFolderBoolExp>): this;
73
69
  webPartsOfEnquiry(options?: EnquiryQueryOptions | (keyof Enquiry)[]): this;
@@ -17,6 +17,13 @@ export declare class ThemeConfigQueryOptions extends QueryOptions<ThemeConfig, T
17
17
  fax(): this;
18
18
  mobile(): this;
19
19
  wechat(): this;
20
+ domain(): this;
21
+ svgIcon(): this;
22
+ themeColor(): this;
23
+ pngIcon(): this;
24
+ icoIcon(): this;
25
+ appleTouchIcon(): this;
26
+ redirects(): this;
20
27
  contactAvatar(options?: MediaQueryOptions | (keyof Media)[]): this;
21
28
  theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
22
29
  }
@@ -6,9 +6,6 @@ import { WebsiteType } from '../interfaces';
6
6
  import { UserQueryOptions } from './UserQueryOptions';
7
7
  import { User } from '../interfaces';
8
8
  import { UserBoolExp } from '../interfaces';
9
- import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
10
- import { WebsiteSettings } from '../interfaces';
11
- import { WebsiteSettingsBoolExp } from '../interfaces';
12
9
  import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
13
10
  import { MediaFolder } from '../interfaces';
14
11
  import { MediaFolderBoolExp } from '../interfaces';
@@ -47,6 +44,8 @@ import { Theme } from '../interfaces';
47
44
  import { ThemeBoolExp } from '../interfaces';
48
45
  import { AnalyticsConfigQueryOptions } from './AnalyticsConfigQueryOptions';
49
46
  import { AnalyticsConfig } from '../interfaces';
47
+ import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
48
+ import { WebsiteSettings } from '../interfaces';
50
49
  export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
51
50
  constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
52
51
  id(): this;
@@ -79,12 +78,11 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
79
78
  */
80
79
  updatedBy(): this;
81
80
  description(): this;
81
+ title(): this;
82
82
  websiteType(options?: WebsiteTypeQueryOptions | (keyof WebsiteType)[]): this;
83
83
  owner(options?: UserQueryOptions | (keyof User)[]): this;
84
84
  users(options?: UserQueryOptions | (keyof User)[]): this;
85
85
  usersAggregate(aggregate: IAggregate<UserBoolExp>): this;
86
- partsOfWebsiteSettings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
87
- partsOfWebsiteSettingsAggregate(aggregate: IAggregate<WebsiteSettingsBoolExp>): this;
88
86
  partsOfMediaFolder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
89
87
  partsOfMediaFolderAggregate(aggregate: IAggregate<MediaFolderBoolExp>): this;
90
88
  partsOfEnquiry(options?: EnquiryQueryOptions | (keyof Enquiry)[]): this;
@@ -111,4 +109,5 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
111
109
  themes(options?: ThemeQueryOptions | (keyof Theme)[]): this;
112
110
  themesAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
113
111
  analyticsConfig(options?: AnalyticsConfigQueryOptions | (keyof AnalyticsConfig)[]): this;
112
+ settings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
114
113
  }
@@ -1,8 +1,6 @@
1
1
  import { IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { WebsiteSettings, WebsiteSettingsBoolExp, WebsiteSettingsDistinctExp, WebsiteSettingsOrderBy } from "../interfaces";
4
- import { LangQueryOptions } from './LangQueryOptions';
5
- import { Lang } from '../interfaces';
6
4
  import { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
5
  import { Website } from '../interfaces';
8
6
  export declare class WebsiteSettingsQueryOptions extends QueryOptions<WebsiteSettings, WebsiteSettingsBoolExp, WebsiteSettingsOrderBy, WebsiteSettingsDistinctExp> {
@@ -12,37 +10,13 @@ export declare class WebsiteSettingsQueryOptions extends QueryOptions<WebsiteSet
12
10
  * 邮件配置
13
11
  */
14
12
  smtpConfig(): this;
15
- whatsapp(): this;
16
- robots(): this;
17
- /**
18
- * 站点名称
19
- */
20
- websiteName(): this;
21
- /**
22
- * 域名
23
- */
24
- domain(): this;
25
- /**
26
- * 打开iRobots
27
- */
28
- openRobots(): this;
29
- /**
30
- * 301映射表
31
- */
32
- map301(): this;
33
- headerCode(): this;
34
- footerCode(): this;
35
- /**
36
- * GA跟踪码
37
- */
38
- gaTrackingId(): this;
39
13
  /**
40
14
  * 通知邮箱
41
15
  */
42
16
  noticeEmail(): this;
17
+ useCustomizedSmtp(): this;
43
18
  createdAt(): this;
44
19
  updatedAt(): this;
45
- content(): this;
46
- lang(options?: LangQueryOptions | (keyof Lang)[]): this;
20
+ replyToEmail(): this;
47
21
  website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
48
22
  }
@@ -22,11 +22,10 @@ export declare enum LangFields {
22
22
  description = "description",
23
23
  circleIcon = "circleIcon",
24
24
  cnName = "cnName",
25
- htmlLang = "htmlLang"
25
+ htmlLang = "htmlLang",
26
+ urlFragment = "urlFragment"
26
27
  }
27
28
  export declare enum LangAssciations {
28
- webPartsOfWebsiteSettings = "webPartsOfWebsiteSettings",
29
- webPartsOfWebsiteSettingsAggregate = "webPartsOfWebsiteSettingsAggregate",
30
29
  webPartsOfMediaFolder = "webPartsOfMediaFolder",
31
30
  webPartsOfMediaFolderAggregate = "webPartsOfMediaFolderAggregate",
32
31
  webPartsOfEnquiry = "webPartsOfEnquiry",
@@ -8,7 +8,14 @@ export declare enum ThemeConfigFields {
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 declare enum ThemeConfigAssciations {
14
21
  contactAvatar = "contactAvatar",
@@ -28,15 +28,14 @@ export declare enum WebsiteFields {
28
28
  * 更新者ID
29
29
  */
30
30
  updatedBy = "updatedBy",
31
- description = "description"
31
+ description = "description",
32
+ title = "title"
32
33
  }
33
34
  export declare enum WebsiteAssciations {
34
35
  websiteType = "websiteType",
35
36
  owner = "owner",
36
37
  users = "users",
37
38
  usersAggregate = "usersAggregate",
38
- partsOfWebsiteSettings = "partsOfWebsiteSettings",
39
- partsOfWebsiteSettingsAggregate = "partsOfWebsiteSettingsAggregate",
40
39
  partsOfMediaFolder = "partsOfMediaFolder",
41
40
  partsOfMediaFolderAggregate = "partsOfMediaFolderAggregate",
42
41
  partsOfEnquiry = "partsOfEnquiry",
@@ -62,5 +61,6 @@ export declare enum WebsiteAssciations {
62
61
  baseLang = "baseLang",
63
62
  themes = "themes",
64
63
  themesAggregate = "themesAggregate",
65
- analyticsConfig = "analyticsConfig"
64
+ analyticsConfig = "analyticsConfig",
65
+ settings = "settings"
66
66
  }
@@ -4,39 +4,15 @@ export declare enum WebsiteSettingsFields {
4
4
  * 邮件配置
5
5
  */
6
6
  smtpConfig = "smtpConfig",
7
- whatsapp = "whatsapp",
8
- robots = "robots",
9
- /**
10
- * 站点名称
11
- */
12
- websiteName = "websiteName",
13
- /**
14
- * 域名
15
- */
16
- domain = "domain",
17
- /**
18
- * 打开iRobots
19
- */
20
- openRobots = "openRobots",
21
- /**
22
- * 301映射表
23
- */
24
- map301 = "map301",
25
- headerCode = "headerCode",
26
- footerCode = "footerCode",
27
- /**
28
- * GA跟踪码
29
- */
30
- gaTrackingId = "gaTrackingId",
31
7
  /**
32
8
  * 通知邮箱
33
9
  */
34
10
  noticeEmail = "noticeEmail",
11
+ useCustomizedSmtp = "useCustomizedSmtp",
35
12
  createdAt = "createdAt",
36
13
  updatedAt = "updatedAt",
37
- content = "content"
14
+ replyToEmail = "replyToEmail"
38
15
  }
39
16
  export declare enum WebsiteSettingsAssciations {
40
- lang = "lang",
41
17
  website = "website"
42
18
  }