@rxdrag/rxcms-models 0.2.3 → 0.2.5

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 (99) hide show
  1. package/dist/classes/CustomerQueryOptions.d.ts +2 -0
  2. package/dist/classes/EnquiryQueryOptions.d.ts +2 -0
  3. package/dist/classes/LangQueryOptions.d.ts +1 -0
  4. package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
  5. package/dist/classes/MediaQueryOptions.d.ts +5 -0
  6. package/dist/classes/PageQueryOptions.d.ts +1 -0
  7. package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
  8. package/dist/classes/PostQueryOptions.d.ts +3 -5
  9. package/dist/classes/ProductCategoryQueryOptions.d.ts +4 -0
  10. package/dist/classes/ProductQueryOptions.d.ts +6 -3
  11. package/dist/classes/SpamFilterRuleQueryOptions.d.ts +19 -0
  12. package/dist/classes/TagQueryOptions.d.ts +1 -0
  13. package/dist/classes/TemplateCategoryQueryOptions.d.ts +1 -0
  14. package/dist/classes/TemplateQueryOptions.d.ts +1 -0
  15. package/dist/classes/ThemeQueryOptions.d.ts +1 -0
  16. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +20 -0
  17. package/dist/classes/index.d.ts +1 -0
  18. package/dist/entries/index.d.ts +1 -0
  19. package/dist/entries/spamFilterRuleEntry.d.ts +2 -0
  20. package/dist/fields/CustomerFields.d.ts +2 -0
  21. package/dist/fields/EnquiryFields.d.ts +2 -0
  22. package/dist/fields/LangFields.d.ts +1 -0
  23. package/dist/fields/MediaFields.d.ts +3 -1
  24. package/dist/fields/MediaFolderFields.d.ts +1 -0
  25. package/dist/fields/PageFields.d.ts +1 -0
  26. package/dist/fields/PostCategoryFields.d.ts +1 -0
  27. package/dist/fields/PostFields.d.ts +4 -6
  28. package/dist/fields/ProductCategoryFields.d.ts +2 -0
  29. package/dist/fields/ProductFields.d.ts +7 -4
  30. package/dist/fields/SpamFilterRuleFields.d.ts +17 -0
  31. package/dist/fields/TagFields.d.ts +1 -0
  32. package/dist/fields/TemplateCategoryFields.d.ts +1 -0
  33. package/dist/fields/TemplateFields.d.ts +1 -0
  34. package/dist/fields/ThemeFields.d.ts +1 -0
  35. package/dist/fields/WebsiteSettingsFields.d.ts +20 -0
  36. package/dist/fields/index.d.ts +1 -0
  37. package/dist/index.mjs +492 -36
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/interfaces/BooleanComparisonExp.d.ts +1 -0
  40. package/dist/interfaces/Customer.d.ts +1 -0
  41. package/dist/interfaces/CustomerBoolExp.d.ts +2 -0
  42. package/dist/interfaces/CustomerDistinctExp.d.ts +2 -0
  43. package/dist/interfaces/CustomerInput.d.ts +1 -0
  44. package/dist/interfaces/CustomerOrderBy.d.ts +1 -0
  45. package/dist/interfaces/Enquiry.d.ts +1 -0
  46. package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
  47. package/dist/interfaces/EnquiryDistinctExp.d.ts +2 -0
  48. package/dist/interfaces/EnquiryInput.d.ts +1 -0
  49. package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
  50. package/dist/interfaces/LangDistinctExp.d.ts +1 -0
  51. package/dist/interfaces/Media.d.ts +3 -0
  52. package/dist/interfaces/MediaBoolExp.d.ts +2 -0
  53. package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -0
  54. package/dist/interfaces/MediaInput.d.ts +2 -0
  55. package/dist/interfaces/PageDistinctExp.d.ts +1 -0
  56. package/dist/interfaces/Post.d.ts +2 -1
  57. package/dist/interfaces/PostBoolExp.d.ts +2 -1
  58. package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
  59. package/dist/interfaces/PostDistinctExp.d.ts +1 -5
  60. package/dist/interfaces/PostInput.d.ts +2 -1
  61. package/dist/interfaces/PostOrderBy.d.ts +0 -1
  62. package/dist/interfaces/Product.d.ts +7 -1
  63. package/dist/interfaces/ProductBoolExp.d.ts +5 -2
  64. package/dist/interfaces/ProductCategory.d.ts +2 -0
  65. package/dist/interfaces/ProductCategoryBoolExp.d.ts +2 -0
  66. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
  67. package/dist/interfaces/ProductCategoryInput.d.ts +2 -0
  68. package/dist/interfaces/ProductDistinctExp.d.ts +4 -3
  69. package/dist/interfaces/ProductInput.d.ts +7 -1
  70. package/dist/interfaces/ProductOrderBy.d.ts +5 -1
  71. package/dist/interfaces/Publishable.d.ts +4 -4
  72. package/dist/interfaces/PublishableBoolExp.d.ts +4 -1
  73. package/dist/interfaces/PublishableDistinctExp.d.ts +1 -4
  74. package/dist/interfaces/PublishableOrderBy.d.ts +4 -4
  75. package/dist/interfaces/SmtpConfig.d.ts +36 -0
  76. package/dist/interfaces/SpamFilterRule.d.ts +15 -0
  77. package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +19 -0
  78. package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +17 -0
  79. package/dist/interfaces/SpamFilterRuleInput.d.ts +16 -0
  80. package/dist/interfaces/SpamFilterRuleOrderBy.d.ts +14 -0
  81. package/dist/interfaces/TagDistinctExp.d.ts +1 -0
  82. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -0
  83. package/dist/interfaces/TemplateDistinctExp.d.ts +1 -0
  84. package/dist/interfaces/ThemeBoolExp.d.ts +1 -2
  85. package/dist/interfaces/ThemeDistinctExp.d.ts +1 -0
  86. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +1 -0
  87. package/dist/interfaces/WebsitePart.d.ts +1 -0
  88. package/dist/interfaces/WebsitePartBoolExp.d.ts +1 -0
  89. package/dist/interfaces/WebsitePartDistinctExp.d.ts +1 -0
  90. package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
  91. package/dist/interfaces/WebsiteSettings.d.ts +21 -1
  92. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +9 -1
  93. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +20 -0
  94. package/dist/interfaces/WebsiteSettingsInput.d.ts +21 -1
  95. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +19 -0
  96. package/dist/interfaces/WebsiteUser.d.ts +1 -1
  97. package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
  98. package/dist/interfaces/index.d.ts +36 -0
  99. package/package.json +4 -4
@@ -5,6 +5,7 @@ export declare enum TemplateCategoryDistinctEnum {
5
5
  seqValue = "seqValue",
6
6
  websiteId = "websiteId",
7
7
  slug = "slug",
8
+ description = "description",
8
9
  /**
9
10
  * 创建时间
10
11
  */
@@ -10,6 +10,7 @@ export declare enum TemplateDistinctEnum {
10
10
  templateType = "templateType",
11
11
  websiteId = "websiteId",
12
12
  slug = "slug",
13
+ description = "description",
13
14
  /**
14
15
  * 创建时间
15
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
  }
@@ -6,6 +6,7 @@ export declare enum ThemeDistinctEnum {
6
6
  settings = "settings",
7
7
  websiteId = "websiteId",
8
8
  slug = "slug",
9
+ description = "description",
9
10
  /**
10
11
  * 创建时间
11
12
  */
@@ -9,6 +9,7 @@ export declare enum WebsiteContentDistinctEnum {
9
9
  extends = "extends",
10
10
  websiteId = "websiteId",
11
11
  slug = "slug",
12
+ description = "description",
12
13
  /**
13
14
  * 创建时间
14
15
  */
@@ -3,4 +3,5 @@ export interface WebsitePart extends BaseEntity {
3
3
  id?: string;
4
4
  websiteId?: string;
5
5
  slug?: string;
6
+ description?: string;
6
7
  }
@@ -8,4 +8,5 @@ export interface WebsitePartBoolExp extends BaseEntityBoolExp {
8
8
  id?: IdComparisonExp;
9
9
  websiteId?: StringComparisonExp;
10
10
  slug?: StringComparisonExp;
11
+ description?: StringComparisonExp;
11
12
  }
@@ -3,6 +3,7 @@ export declare enum WebsitePartDistinctEnum {
3
3
  id = "id",
4
4
  websiteId = "websiteId",
5
5
  slug = "slug",
6
+ description = "description",
6
7
  /**
7
8
  * 创建时间
8
9
  */
@@ -4,4 +4,5 @@ export interface WebsitePartOrderBy extends BaseEntityOrderBy {
4
4
  id?: OrderBy;
5
5
  websiteId?: OrderBy;
6
6
  slug?: OrderBy;
7
+ description?: OrderBy;
7
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,8 +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",
17
36
  slug = "slug",
37
+ description = "description",
18
38
  /**
19
39
  * 创建时间
20
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
  }
@@ -86,8 +86,14 @@ export * from './MediaFolderBoolExp';
86
86
  export * from './MediaFolderOrderBy';
87
87
  export * from './MediaFolderDistinctExp';
88
88
  export * from './WebsitePart';
89
+ export * from './WebsitePartBoolExp';
90
+ export * from './WebsitePartOrderBy';
91
+ export * from './WebsitePartDistinctExp';
89
92
  export * from './WebsiteTypeStatus';
90
93
  export * from './WebsiteContent';
94
+ export * from './WebsiteContentBoolExp';
95
+ export * from './WebsiteContentOrderBy';
96
+ export * from './WebsiteContentDistinctExp';
91
97
  export * from './PostCategory';
92
98
  export * from './PostCategoryInput';
93
99
  export * from './PostCategoryBoolExp';
@@ -99,19 +105,43 @@ export * from './TagBoolExp';
99
105
  export * from './TagOrderBy';
100
106
  export * from './TagDistinctExp';
101
107
  export * from './SeoMeta';
108
+ export * from './SeoMetaBoolExp';
109
+ export * from './SeoMetaOrderBy';
110
+ export * from './SeoMetaDistinctExp';
102
111
  export * from './OgMeta';
112
+ export * from './OgMetaBoolExp';
113
+ export * from './OgMetaOrderBy';
114
+ export * from './OgMetaDistinctExp';
103
115
  export * from './Publishable';
116
+ export * from './PublishableBoolExp';
117
+ export * from './PublishableOrderBy';
118
+ export * from './PublishableDistinctExp';
104
119
  export * from './PublishableStatus';
105
120
  export * from './Person';
121
+ export * from './PersonBoolExp';
122
+ export * from './PersonOrderBy';
123
+ export * from './PersonDistinctExp';
106
124
  export * from './Customer';
107
125
  export * from './CustomerInput';
108
126
  export * from './CustomerBoolExp';
109
127
  export * from './CustomerOrderBy';
110
128
  export * from './CustomerDistinctExp';
111
129
  export * from './BaseEntity';
130
+ export * from './BaseEntityBoolExp';
131
+ export * from './BaseEntityOrderBy';
132
+ export * from './BaseEntityDistinctExp';
112
133
  export * from './MultiLangable';
134
+ export * from './MultiLangableBoolExp';
135
+ export * from './MultiLangableOrderBy';
136
+ export * from './MultiLangableDistinctExp';
113
137
  export * from './WebsiteUser';
138
+ export * from './WebsiteUserBoolExp';
139
+ export * from './WebsiteUserOrderBy';
140
+ export * from './WebsiteUserDistinctExp';
114
141
  export * from './CustomizeMedia';
142
+ export * from './CustomizeMediaBoolExp';
143
+ export * from './CustomizeMediaOrderBy';
144
+ export * from './CustomizeMediaDistinctExp';
115
145
  export * from './UserType';
116
146
  export * from './TemplateType';
117
147
  export * from './ProductCategory';
@@ -128,3 +158,9 @@ export * from './ExtendFieldType';
128
158
  export * from './ComponentType';
129
159
  export * from './ExtendField';
130
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",
3
+ "version": "0.2.5",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -12,12 +12,12 @@
12
12
  "devDependencies": {
13
13
  "eslint": "^7.32.0",
14
14
  "typescript": "^5",
15
- "@rxdrag/tsconfig": "0.1.1",
16
- "@rxdrag/eslint-config-custom": "0.1.1"
15
+ "@rxdrag/eslint-config-custom": "0.1.1",
16
+ "@rxdrag/tsconfig": "0.1.1"
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",