@rxdrag/rxcms-models 0.1.3 → 0.2.0

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 (110) hide show
  1. package/dist/classes/AbilityQueryOptions.d.ts +13 -0
  2. package/dist/classes/CustomerQueryOptions.d.ts +48 -0
  3. package/dist/classes/EnquiryQueryOptions.d.ts +36 -0
  4. package/dist/classes/LangQueryOptions.d.ts +36 -0
  5. package/dist/classes/MediaFolderQueryOptions.d.ts +30 -0
  6. package/dist/classes/MediaQueryOptions.d.ts +32 -0
  7. package/dist/classes/PageQueryOptions.d.ts +44 -0
  8. package/dist/classes/PostCategoryQueryOptions.d.ts +30 -0
  9. package/dist/classes/PostQueryOptions.d.ts +68 -0
  10. package/dist/classes/ProductCategoryQueryOptions.d.ts +30 -0
  11. package/dist/classes/ProductQueryOptions.d.ts +69 -0
  12. package/dist/classes/QueryOptions.d.ts +27 -0
  13. package/dist/classes/RoleQueryOptions.d.ts +16 -0
  14. package/dist/classes/SlugQueryOptions.d.ts +30 -0
  15. package/dist/classes/TagQueryOptions.d.ts +35 -0
  16. package/dist/classes/TemplateCategoryQueryOptions.d.ts +30 -0
  17. package/dist/classes/TemplateQueryOptions.d.ts +33 -0
  18. package/dist/classes/ThemeQueryOptions.d.ts +33 -0
  19. package/dist/classes/UserQueryOptions.d.ts +69 -0
  20. package/dist/classes/WebsiteMetaQueryOptions.d.ts +7 -0
  21. package/dist/classes/WebsiteQueryOptions.d.ts +50 -0
  22. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +32 -0
  23. package/dist/classes/WebsiteTypeQueryOptions.d.ts +33 -0
  24. package/dist/classes/index.d.ts +24 -0
  25. package/dist/classes/metainfo.d.ts +2 -0
  26. package/dist/fields/AbilityFields.d.ts +2 -0
  27. package/dist/fields/CustomerFields.d.ts +3 -1
  28. package/dist/fields/EnquiryFields.d.ts +15 -2
  29. package/dist/fields/LangFields.d.ts +2 -0
  30. package/dist/fields/MediaFields.d.ts +3 -1
  31. package/dist/fields/MediaFolderFields.d.ts +3 -1
  32. package/dist/fields/PageFields.d.ts +10 -3
  33. package/dist/fields/PostCategoryFields.d.ts +3 -1
  34. package/dist/fields/PostFields.d.ts +9 -2
  35. package/dist/fields/ProductCategoryFields.d.ts +3 -1
  36. package/dist/fields/ProductFields.d.ts +12 -2
  37. package/dist/fields/RoleFields.d.ts +3 -1
  38. package/dist/fields/SlugFields.d.ts +3 -1
  39. package/dist/fields/TagFields.d.ts +3 -1
  40. package/dist/fields/TemplateCategoryFields.d.ts +3 -1
  41. package/dist/fields/TemplateFields.d.ts +3 -1
  42. package/dist/fields/ThemeFields.d.ts +3 -1
  43. package/dist/fields/UserFields.d.ts +3 -1
  44. package/dist/fields/WebsiteFields.d.ts +3 -1
  45. package/dist/fields/WebsiteMetaFields.d.ts +2 -0
  46. package/dist/fields/WebsiteSettingsFields.d.ts +10 -0
  47. package/dist/fields/WebsiteTypeFields.d.ts +3 -1
  48. package/dist/fields/index.d.ts +0 -10
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.mjs +2420 -240
  51. package/dist/index.mjs.map +1 -1
  52. package/dist/interfaces/BaseEntityOrderBy.d.ts +1 -1
  53. package/dist/interfaces/CustomizeMediaOrderBy.d.ts +1 -1
  54. package/dist/interfaces/Enquiry.d.ts +12 -1
  55. package/dist/interfaces/EnquiryBoolExp.d.ts +10 -1
  56. package/dist/interfaces/EnquiryDistinctExp.d.ts +12 -1
  57. package/dist/interfaces/EnquiryInput.d.ts +12 -1
  58. package/dist/interfaces/EnquiryOrderBy.d.ts +12 -1
  59. package/dist/interfaces/IdComparisonExp.d.ts +1 -0
  60. package/dist/interfaces/MediaAddonOrderBy.d.ts +5 -0
  61. package/dist/interfaces/MultiLangableOrderBy.d.ts +1 -1
  62. package/dist/interfaces/OgMeta.d.ts +5 -1
  63. package/dist/interfaces/OgMetaBoolExp.d.ts +5 -1
  64. package/dist/interfaces/OgMetaDistinctExp.d.ts +6 -2
  65. package/dist/interfaces/OgMetaOrderBy.d.ts +6 -2
  66. package/dist/interfaces/Page.d.ts +2 -0
  67. package/dist/interfaces/PageBoolExp.d.ts +2 -0
  68. package/dist/interfaces/PageDistinctExp.d.ts +5 -1
  69. package/dist/interfaces/PageInput.d.ts +2 -0
  70. package/dist/interfaces/PersonOrderBy.d.ts +1 -1
  71. package/dist/interfaces/Post.d.ts +1 -0
  72. package/dist/interfaces/PostBoolExp.d.ts +1 -0
  73. package/dist/interfaces/PostDistinctExp.d.ts +5 -1
  74. package/dist/interfaces/PostInput.d.ts +1 -0
  75. package/dist/interfaces/Product.d.ts +4 -0
  76. package/dist/interfaces/ProductBoolExp.d.ts +5 -0
  77. package/dist/interfaces/ProductDistinctExp.d.ts +8 -1
  78. package/dist/interfaces/ProductInput.d.ts +4 -0
  79. package/dist/interfaces/ProductOrderBy.d.ts +3 -0
  80. package/dist/interfaces/PublishableDistinctExp.d.ts +5 -1
  81. package/dist/interfaces/PublishableOrderBy.d.ts +1 -1
  82. package/dist/interfaces/SeoMetaOrderBy.d.ts +1 -1
  83. package/dist/interfaces/User.d.ts +2 -2
  84. package/dist/interfaces/UserBoolExp.d.ts +2 -2
  85. package/dist/interfaces/UserDistinctExp.d.ts +2 -2
  86. package/dist/interfaces/UserInput.d.ts +2 -2
  87. package/dist/interfaces/UserOrderBy.d.ts +2 -2
  88. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +5 -1
  89. package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -1
  90. package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -1
  91. package/dist/interfaces/WebsiteSettings.d.ts +8 -0
  92. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +8 -0
  93. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +8 -0
  94. package/dist/interfaces/WebsiteSettingsInput.d.ts +8 -0
  95. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +8 -0
  96. package/dist/interfaces/WebsiteUser.d.ts +2 -2
  97. package/dist/interfaces/{WebSiteUserBoolExp.d.ts → WebsiteUserBoolExp.d.ts} +4 -4
  98. package/dist/interfaces/{WebSiteUserDistinctExp.d.ts → WebsiteUserDistinctExp.d.ts} +2 -2
  99. package/dist/interfaces/{WebSiteUserOrderBy.d.ts → WebsiteUserOrderBy.d.ts} +2 -2
  100. package/package.json +4 -4
  101. package/dist/fields/BaseEntityFields.d.ts +0 -15
  102. package/dist/fields/CustomizeMediaFields.d.ts +0 -7
  103. package/dist/fields/MultiLangableFields.d.ts +0 -4
  104. package/dist/fields/OgMetaFields.d.ts +0 -9
  105. package/dist/fields/PersonFields.d.ts +0 -26
  106. package/dist/fields/PublishableFields.d.ts +0 -35
  107. package/dist/fields/SeoMetaFields.d.ts +0 -6
  108. package/dist/fields/WebsiteContentFields.d.ts +0 -29
  109. package/dist/fields/WebsitePartFields.d.ts +0 -16
  110. package/dist/fields/WebsiteUserFields.d.ts +0 -35
@@ -1,5 +1,5 @@
1
1
  import { PersonDistinctExp } from './PersonDistinctExp';
2
- export declare enum WebSiteUserDistinctEnum {
2
+ export declare enum WebsiteUserDistinctEnum {
3
3
  id = "id",
4
4
  /**
5
5
  * 职位
@@ -34,4 +34,4 @@ export declare enum WebSiteUserDistinctEnum {
34
34
  */
35
35
  summary = "summary"
36
36
  }
37
- export type WebSiteUserDistinctExp = WebSiteUserDistinctEnum | PersonDistinctExp;
37
+ export type WebsiteUserDistinctExp = WebsiteUserDistinctEnum | PersonDistinctExp;
@@ -1,6 +1,6 @@
1
- import { OrderBy } from './OrderBy';
1
+ import { OrderBy } from '@rxdrag/entify-hooks';
2
2
  import { PersonOrderBy } from './PersonOrderBy';
3
- export interface WebSiteUserOrderBy extends PersonOrderBy {
3
+ export interface WebsiteUserOrderBy extends PersonOrderBy {
4
4
  id?: OrderBy;
5
5
  /**
6
6
  * 职位
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
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/eslint-config-custom": "0.1.1",
16
- "@rxdrag/tsconfig": "0.1.1"
15
+ "@rxdrag/tsconfig": "0.1.1",
16
+ "@rxdrag/eslint-config-custom": "0.1.1"
17
17
  },
18
18
  "dependencies": {
19
19
  "swr": "^2.2.4",
20
- "@rxdrag/entify-hooks": "0.0.2"
20
+ "@rxdrag/entify-hooks": "0.1.0"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint . --ext .ts,tsx",
@@ -1,15 +0,0 @@
1
- export declare enum BaseEntityFields {
2
- id = "id",
3
- /**
4
- * 创建时间
5
- */
6
- createdAt = "createdAt",
7
- /**
8
- * 更新时间
9
- */
10
- updatedAt = "updatedAt",
11
- /**
12
- * 备注
13
- */
14
- remark = "remark"
15
- }
@@ -1,7 +0,0 @@
1
- export declare enum CustomizeMediaFields {
2
- id = "id",
3
- /**
4
- * 网站Id
5
- */
6
- websiteId = "websiteId"
7
- }
@@ -1,4 +0,0 @@
1
- export declare enum MultiLangableFields {
2
- id = "id",
3
- lang = "lang"
4
- }
@@ -1,9 +0,0 @@
1
- export declare enum OgMetaFields {
2
- id = "id",
3
- ogTitle = "ogTitle",
4
- ogDescription = "ogDescription",
5
- ogImageUrl = "ogImageUrl",
6
- ogUrl = "ogUrl",
7
- ogSiteName = "ogSiteName",
8
- ogType = "ogType"
9
- }
@@ -1,26 +0,0 @@
1
- export declare enum PersonFields {
2
- id = "id",
3
- /**
4
- * 邮箱
5
- */
6
- email = "email",
7
- /**
8
- * 电话
9
- */
10
- tel = "tel",
11
- /**
12
- * 电话2
13
- */
14
- tel2 = "tel2",
15
- name = "name",
16
- mobile = "mobile",
17
- whatsApp = "whatsApp",
18
- linkedIn = "linkedIn",
19
- twitter = "twitter",
20
- facebook = "facebook",
21
- instagram = "instagram",
22
- /**
23
- * 简介
24
- */
25
- summary = "summary"
26
- }
@@ -1,35 +0,0 @@
1
- export declare enum PublishableFields {
2
- id = "id",
3
- /**
4
- * 发布的内容
5
- */
6
- publishedContent = "publishedContent",
7
- publishedAt = "publishedAt",
8
- status = "status",
9
- title = "title",
10
- content = "content",
11
- extends = "extends",
12
- websiteId = "websiteId",
13
- /**
14
- * 创建时间
15
- */
16
- createdAt = "createdAt",
17
- /**
18
- * 更新时间
19
- */
20
- updatedAt = "updatedAt",
21
- /**
22
- * 备注
23
- */
24
- remark = "remark",
25
- seoTitle = "seoTitle",
26
- seoKeywords = "seoKeywords",
27
- seoDescription = "seoDescription",
28
- ogTitle = "ogTitle",
29
- ogDescription = "ogDescription",
30
- ogImageUrl = "ogImageUrl",
31
- ogUrl = "ogUrl",
32
- ogSiteName = "ogSiteName",
33
- ogType = "ogType",
34
- lang = "lang"
35
- }
@@ -1,6 +0,0 @@
1
- export declare enum SeoMetaFields {
2
- id = "id",
3
- seoTitle = "seoTitle",
4
- seoKeywords = "seoKeywords",
5
- seoDescription = "seoDescription"
6
- }
@@ -1,29 +0,0 @@
1
- export declare enum WebsiteContentFields {
2
- id = "id",
3
- title = "title",
4
- content = "content",
5
- extends = "extends",
6
- websiteId = "websiteId",
7
- /**
8
- * 创建时间
9
- */
10
- createdAt = "createdAt",
11
- /**
12
- * 更新时间
13
- */
14
- updatedAt = "updatedAt",
15
- /**
16
- * 备注
17
- */
18
- remark = "remark",
19
- seoTitle = "seoTitle",
20
- seoKeywords = "seoKeywords",
21
- seoDescription = "seoDescription",
22
- ogTitle = "ogTitle",
23
- ogDescription = "ogDescription",
24
- ogImageUrl = "ogImageUrl",
25
- ogUrl = "ogUrl",
26
- ogSiteName = "ogSiteName",
27
- ogType = "ogType",
28
- lang = "lang"
29
- }
@@ -1,16 +0,0 @@
1
- export declare enum WebsitePartFields {
2
- id = "id",
3
- websiteId = "websiteId",
4
- /**
5
- * 创建时间
6
- */
7
- createdAt = "createdAt",
8
- /**
9
- * 更新时间
10
- */
11
- updatedAt = "updatedAt",
12
- /**
13
- * 备注
14
- */
15
- remark = "remark"
16
- }
@@ -1,35 +0,0 @@
1
- export declare enum WebsiteUserFields {
2
- id = "id",
3
- /**
4
- * 职位
5
- */
6
- postion = "postion",
7
- /**
8
- * 自我介绍
9
- */
10
- profile = "profile",
11
- userType = "userType",
12
- /**
13
- * 邮箱
14
- */
15
- email = "email",
16
- /**
17
- * 电话
18
- */
19
- tel = "tel",
20
- /**
21
- * 电话2
22
- */
23
- tel2 = "tel2",
24
- name = "name",
25
- mobile = "mobile",
26
- whatsApp = "whatsApp",
27
- linkedIn = "linkedIn",
28
- twitter = "twitter",
29
- facebook = "facebook",
30
- instagram = "instagram",
31
- /**
32
- * 简介
33
- */
34
- summary = "summary"
35
- }