@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.
Files changed (112) hide show
  1. package/dist/classes/CustomerQueryOptions.d.ts +3 -0
  2. package/dist/classes/EnquiryQueryOptions.d.ts +3 -0
  3. package/dist/classes/LangQueryOptions.d.ts +2 -0
  4. package/dist/classes/MediaFolderQueryOptions.d.ts +2 -0
  5. package/dist/classes/MediaQueryOptions.d.ts +9 -3
  6. package/dist/classes/PageQueryOptions.d.ts +2 -3
  7. package/dist/classes/PostCategoryQueryOptions.d.ts +2 -0
  8. package/dist/classes/PostQueryOptions.d.ts +4 -8
  9. package/dist/classes/ProductCategoryQueryOptions.d.ts +5 -0
  10. package/dist/classes/ProductQueryOptions.d.ts +11 -9
  11. package/dist/classes/SpamFilterRuleQueryOptions.d.ts +19 -0
  12. package/dist/classes/TagQueryOptions.d.ts +2 -0
  13. package/dist/classes/TemplateCategoryQueryOptions.d.ts +2 -0
  14. package/dist/classes/TemplateQueryOptions.d.ts +2 -0
  15. package/dist/classes/ThemeQueryOptions.d.ts +2 -0
  16. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +21 -0
  17. package/dist/classes/index.d.ts +1 -1
  18. package/dist/entries/index.d.ts +1 -1
  19. package/dist/entries/spamFilterRuleEntry.d.ts +2 -0
  20. package/dist/fields/CustomerFields.d.ts +3 -0
  21. package/dist/fields/EnquiryFields.d.ts +3 -0
  22. package/dist/fields/LangFields.d.ts +2 -0
  23. package/dist/fields/MediaFields.d.ts +3 -1
  24. package/dist/fields/MediaFolderFields.d.ts +2 -0
  25. package/dist/fields/PageFields.d.ts +2 -1
  26. package/dist/fields/PostCategoryFields.d.ts +2 -0
  27. package/dist/fields/PostFields.d.ts +5 -7
  28. package/dist/fields/ProductCategoryFields.d.ts +3 -0
  29. package/dist/fields/ProductFields.d.ts +8 -5
  30. package/dist/fields/SpamFilterRuleFields.d.ts +17 -0
  31. package/dist/fields/TagFields.d.ts +2 -0
  32. package/dist/fields/TemplateCategoryFields.d.ts +2 -0
  33. package/dist/fields/TemplateFields.d.ts +2 -0
  34. package/dist/fields/ThemeFields.d.ts +2 -0
  35. package/dist/fields/WebsiteSettingsFields.d.ts +21 -0
  36. package/dist/fields/index.d.ts +1 -1
  37. package/dist/index.mjs +730 -339
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/interfaces/AttachmentAddon.d.ts +3 -0
  40. package/dist/interfaces/AttachmentAddonOrderBy.d.ts +4 -0
  41. package/dist/interfaces/BooleanComparisonExp.d.ts +1 -0
  42. package/dist/interfaces/Customer.d.ts +1 -0
  43. package/dist/interfaces/CustomerBoolExp.d.ts +2 -0
  44. package/dist/interfaces/CustomerDistinctExp.d.ts +3 -0
  45. package/dist/interfaces/CustomerInput.d.ts +1 -0
  46. package/dist/interfaces/CustomerOrderBy.d.ts +1 -0
  47. package/dist/interfaces/Enquiry.d.ts +1 -0
  48. package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
  49. package/dist/interfaces/EnquiryDistinctExp.d.ts +3 -0
  50. package/dist/interfaces/EnquiryInput.d.ts +1 -0
  51. package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
  52. package/dist/interfaces/LangDistinctExp.d.ts +2 -0
  53. package/dist/interfaces/Media.d.ts +5 -1
  54. package/dist/interfaces/MediaBoolExp.d.ts +2 -0
  55. package/dist/interfaces/MediaFolderDistinctExp.d.ts +2 -0
  56. package/dist/interfaces/MediaInput.d.ts +4 -1
  57. package/dist/interfaces/Page.d.ts +0 -2
  58. package/dist/interfaces/PageBoolExp.d.ts +0 -2
  59. package/dist/interfaces/PageDistinctExp.d.ts +2 -0
  60. package/dist/interfaces/PageInput.d.ts +0 -2
  61. package/dist/interfaces/Post.d.ts +2 -3
  62. package/dist/interfaces/PostBoolExp.d.ts +2 -3
  63. package/dist/interfaces/PostCategoryDistinctExp.d.ts +2 -0
  64. package/dist/interfaces/PostDistinctExp.d.ts +2 -5
  65. package/dist/interfaces/PostInput.d.ts +2 -3
  66. package/dist/interfaces/PostOrderBy.d.ts +0 -1
  67. package/dist/interfaces/Product.d.ts +9 -4
  68. package/dist/interfaces/ProductBoolExp.d.ts +5 -4
  69. package/dist/interfaces/ProductCategory.d.ts +2 -0
  70. package/dist/interfaces/ProductCategoryBoolExp.d.ts +2 -0
  71. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +2 -0
  72. package/dist/interfaces/ProductCategoryInput.d.ts +2 -0
  73. package/dist/interfaces/ProductDistinctExp.d.ts +5 -3
  74. package/dist/interfaces/ProductInput.d.ts +9 -4
  75. package/dist/interfaces/ProductOrderBy.d.ts +5 -1
  76. package/dist/interfaces/Publishable.d.ts +4 -4
  77. package/dist/interfaces/PublishableBoolExp.d.ts +4 -1
  78. package/dist/interfaces/PublishableDistinctExp.d.ts +2 -4
  79. package/dist/interfaces/PublishableOrderBy.d.ts +4 -4
  80. package/dist/interfaces/SmtpConfig.d.ts +36 -0
  81. package/dist/interfaces/SpamFilterRule.d.ts +15 -0
  82. package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +19 -0
  83. package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +17 -0
  84. package/dist/interfaces/SpamFilterRuleInput.d.ts +16 -0
  85. package/dist/interfaces/SpamFilterRuleOrderBy.d.ts +14 -0
  86. package/dist/interfaces/TagDistinctExp.d.ts +2 -0
  87. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +2 -0
  88. package/dist/interfaces/TemplateDistinctExp.d.ts +2 -0
  89. package/dist/interfaces/ThemeBoolExp.d.ts +1 -2
  90. package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
  91. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +2 -0
  92. package/dist/interfaces/WebsitePart.d.ts +2 -0
  93. package/dist/interfaces/WebsitePartBoolExp.d.ts +2 -0
  94. package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -0
  95. package/dist/interfaces/WebsitePartOrderBy.d.ts +2 -0
  96. package/dist/interfaces/WebsiteSettings.d.ts +21 -1
  97. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +9 -1
  98. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +21 -0
  99. package/dist/interfaces/WebsiteSettingsInput.d.ts +21 -1
  100. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +19 -0
  101. package/dist/interfaces/WebsiteUser.d.ts +1 -1
  102. package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
  103. package/dist/interfaces/index.d.ts +37 -5
  104. package/package.json +2 -2
  105. package/dist/classes/SlugQueryOptions.d.ts +0 -30
  106. package/dist/entries/slugEntry.d.ts +0 -2
  107. package/dist/fields/SlugFields.d.ts +0 -22
  108. package/dist/interfaces/Slug.d.ts +0 -13
  109. package/dist/interfaces/SlugBoolExp.d.ts +0 -16
  110. package/dist/interfaces/SlugDistinctExp.d.ts +0 -19
  111. package/dist/interfaces/SlugInput.d.ts +0 -15
  112. 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
+ }
@@ -7,6 +7,8 @@ export declare enum TagDistinctEnum {
7
7
  name = "name",
8
8
  color = "color",
9
9
  websiteId = "websiteId",
10
+ slug = "slug",
11
+ description = "description",
10
12
  /**
11
13
  * 创建时间
12
14
  */
@@ -4,6 +4,8 @@ export declare enum TemplateCategoryDistinctEnum {
4
4
  name = "name",
5
5
  seqValue = "seqValue",
6
6
  websiteId = "websiteId",
7
+ slug = "slug",
8
+ description = "description",
7
9
  /**
8
10
  * 创建时间
9
11
  */
@@ -9,6 +9,8 @@ export declare enum TemplateDistinctEnum {
9
9
  */
10
10
  templateType = "templateType",
11
11
  websiteId = "websiteId",
12
+ slug = "slug",
13
+ description = "description",
12
14
  /**
13
15
  * 创建时间
14
16
  */
@@ -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?: unkonwn;
13
+ settings?: unknown;
15
14
  templates?: TemplateBoolExp;
16
15
  themlateCategories?: TemplateCategoryBoolExp;
17
16
  }
@@ -5,6 +5,8 @@ export declare enum ThemeDistinctEnum {
5
5
  styles = "styles",
6
6
  settings = "settings",
7
7
  websiteId = "websiteId",
8
+ slug = "slug",
9
+ description = "description",
8
10
  /**
9
11
  * 创建时间
10
12
  */
@@ -8,6 +8,8 @@ export declare enum WebsiteContentDistinctEnum {
8
8
  content = "content",
9
9
  extends = "extends",
10
10
  websiteId = "websiteId",
11
+ slug = "slug",
12
+ description = "description",
11
13
  /**
12
14
  * 创建时间
13
15
  */
@@ -2,4 +2,6 @@ import { BaseEntity } from './BaseEntity';
2
2
  export interface WebsitePart extends BaseEntity {
3
3
  id?: string;
4
4
  websiteId?: string;
5
+ slug?: string;
6
+ description?: string;
5
7
  }
@@ -7,4 +7,6 @@ export interface WebsitePartBoolExp extends BaseEntityBoolExp {
7
7
  _not?: WebsitePartBoolExp;
8
8
  id?: IdComparisonExp;
9
9
  websiteId?: StringComparisonExp;
10
+ slug?: StringComparisonExp;
11
+ description?: StringComparisonExp;
10
12
  }
@@ -2,6 +2,8 @@ import { BaseEntityDistinctExp } from './BaseEntityDistinctExp';
2
2
  export declare enum WebsitePartDistinctEnum {
3
3
  id = "id",
4
4
  websiteId = "websiteId",
5
+ slug = "slug",
6
+ description = "description",
5
7
  /**
6
8
  * 创建时间
7
9
  */
@@ -3,4 +3,6 @@ import { BaseEntityOrderBy } from './BaseEntityOrderBy';
3
3
  export interface WebsitePartOrderBy extends BaseEntityOrderBy {
4
4
  id?: OrderBy;
5
5
  websiteId?: OrderBy;
6
+ slug?: OrderBy;
7
+ description?: OrderBy;
6
8
  }
@@ -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?: string;
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?: StringComparisonExp;
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?: string;
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
  }
@@ -9,6 +9,6 @@ export interface WebsiteUser extends Person {
9
9
  /**
10
10
  * 自我介绍
11
11
  */
12
- profile?: any;
12
+ profile?: string;
13
13
  userType?: UserType;
14
14
  }
@@ -9,6 +9,6 @@ export interface WebsiteUserBoolExp extends PersonBoolExp {
9
9
  _not?: WebsiteUserBoolExp;
10
10
  id?: IdComparisonExp;
11
11
  postion?: StringComparisonExp;
12
- profile?: unknown;
12
+ profile?: StringComparisonExp;
13
13
  userType?: EnumComparisonExp<UserType>;
14
14
  }
@@ -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.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.0"
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,2 +0,0 @@
1
- import { EntityEntry } from "@rxdrag/entify-hooks";
2
- export declare const slugEntry: EntityEntry;
@@ -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;
@@ -1,6 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
- export interface SlugOrderBy extends WebsitePartOrderBy {
4
- id?: OrderBy;
5
- uniqueName?: OrderBy;
6
- }