@rxdrag/rxcms-models 0.2.13 → 0.2.14

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 (138) hide show
  1. package/dist/classes/CustomerQueryOptions.d.ts +6 -13
  2. package/dist/classes/EnquiryQueryOptions.d.ts +6 -13
  3. package/dist/classes/LangQueryOptions.d.ts +76 -12
  4. package/dist/classes/MediaFolderQueryOptions.d.ts +6 -13
  5. package/dist/classes/MediaQueryOptions.d.ts +6 -4
  6. package/dist/classes/PageQueryOptions.d.ts +7 -12
  7. package/dist/classes/PostCategoryQueryOptions.d.ts +8 -13
  8. package/dist/classes/PostQueryOptions.d.ts +8 -14
  9. package/dist/classes/ProductCategoryQueryOptions.d.ts +8 -13
  10. package/dist/classes/ProductQueryOptions.d.ts +8 -14
  11. package/dist/classes/SpamFilterRuleQueryOptions.d.ts +6 -7
  12. package/dist/classes/TagQueryOptions.d.ts +6 -13
  13. package/dist/classes/TemplateCategoryQueryOptions.d.ts +6 -13
  14. package/dist/classes/TemplateQueryOptions.d.ts +6 -13
  15. package/dist/classes/ThemeQueryOptions.d.ts +4 -12
  16. package/dist/classes/WebsiteQueryOptions.d.ts +72 -0
  17. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +6 -13
  18. package/dist/fields/CustomerFields.d.ts +3 -14
  19. package/dist/fields/EnquiryFields.d.ts +4 -15
  20. package/dist/fields/LangFields.d.ts +31 -12
  21. package/dist/fields/MediaFields.d.ts +4 -6
  22. package/dist/fields/MediaFolderFields.d.ts +4 -15
  23. package/dist/fields/PageFields.d.ts +6 -13
  24. package/dist/fields/PostCategoryFields.d.ts +5 -14
  25. package/dist/fields/PostFields.d.ts +5 -15
  26. package/dist/fields/ProductCategoryFields.d.ts +5 -14
  27. package/dist/fields/ProductFields.d.ts +5 -15
  28. package/dist/fields/SpamFilterRuleFields.d.ts +3 -8
  29. package/dist/fields/TagFields.d.ts +4 -15
  30. package/dist/fields/TemplateCategoryFields.d.ts +4 -15
  31. package/dist/fields/TemplateFields.d.ts +4 -15
  32. package/dist/fields/ThemeFields.d.ts +4 -14
  33. package/dist/fields/WebsiteFields.d.ts +33 -2
  34. package/dist/fields/WebsiteSettingsFields.d.ts +3 -14
  35. package/dist/index.mjs +1765 -1384
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/interfaces/Customer.d.ts +4 -0
  38. package/dist/interfaces/CustomerBoolExp.d.ts +4 -0
  39. package/dist/interfaces/CustomerDistinctExp.d.ts +0 -13
  40. package/dist/interfaces/CustomerInput.d.ts +5 -0
  41. package/dist/interfaces/Enquiry.d.ts +4 -0
  42. package/dist/interfaces/EnquiryBoolExp.d.ts +4 -0
  43. package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -14
  44. package/dist/interfaces/EnquiryInput.d.ts +4 -0
  45. package/dist/interfaces/Lang.d.ts +48 -3
  46. package/dist/interfaces/LangBoolExp.d.ts +32 -3
  47. package/dist/interfaces/LangDistinctExp.d.ts +2 -14
  48. package/dist/interfaces/LangInput.d.ts +33 -3
  49. package/dist/interfaces/LangOrderBy.d.ts +2 -3
  50. package/dist/interfaces/Media.d.ts +6 -2
  51. package/dist/interfaces/MediaBoolExp.d.ts +6 -2
  52. package/dist/interfaces/MediaDistinctExp.d.ts +3 -7
  53. package/dist/interfaces/MediaFolder.d.ts +4 -0
  54. package/dist/interfaces/MediaFolderBoolExp.d.ts +4 -0
  55. package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -14
  56. package/dist/interfaces/MediaFolderInput.d.ts +4 -0
  57. package/dist/interfaces/MediaInput.d.ts +6 -2
  58. package/dist/interfaces/MediaOrderBy.d.ts +2 -2
  59. package/dist/interfaces/Page.d.ts +3 -2
  60. package/dist/interfaces/PageBoolExp.d.ts +3 -2
  61. package/dist/interfaces/PageDistinctExp.d.ts +3 -12
  62. package/dist/interfaces/PageInput.d.ts +3 -2
  63. package/dist/interfaces/PageOrderBy.d.ts +0 -2
  64. package/dist/interfaces/Post.d.ts +4 -0
  65. package/dist/interfaces/PostBoolExp.d.ts +4 -0
  66. package/dist/interfaces/PostCategory.d.ts +6 -1
  67. package/dist/interfaces/PostCategoryBoolExp.d.ts +6 -1
  68. package/dist/interfaces/PostCategoryDistinctExp.d.ts +4 -14
  69. package/dist/interfaces/PostCategoryInput.d.ts +6 -1
  70. package/dist/interfaces/PostCategoryOrderBy.d.ts +2 -1
  71. package/dist/interfaces/PostDistinctExp.d.ts +2 -14
  72. package/dist/interfaces/PostInput.d.ts +4 -0
  73. package/dist/interfaces/Product.d.ts +4 -0
  74. package/dist/interfaces/ProductBoolExp.d.ts +4 -0
  75. package/dist/interfaces/ProductCategory.d.ts +6 -1
  76. package/dist/interfaces/ProductCategoryBoolExp.d.ts +6 -1
  77. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +4 -14
  78. package/dist/interfaces/ProductCategoryInput.d.ts +6 -1
  79. package/dist/interfaces/ProductCategoryOrderBy.d.ts +2 -1
  80. package/dist/interfaces/ProductDistinctExp.d.ts +2 -14
  81. package/dist/interfaces/ProductInput.d.ts +4 -0
  82. package/dist/interfaces/PublishableDistinctExp.d.ts +2 -14
  83. package/dist/interfaces/Slugable.d.ts +5 -0
  84. package/dist/interfaces/SlugableBoolExp.d.ts +10 -0
  85. package/dist/interfaces/SlugableDistinctExp.d.ts +6 -0
  86. package/dist/interfaces/SlugableOrderBy.d.ts +6 -0
  87. package/dist/interfaces/SpamFilterRule.d.ts +4 -0
  88. package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +4 -0
  89. package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +1 -8
  90. package/dist/interfaces/SpamFilterRuleInput.d.ts +5 -0
  91. package/dist/interfaces/Tag.d.ts +4 -0
  92. package/dist/interfaces/TagBoolExp.d.ts +4 -0
  93. package/dist/interfaces/TagDistinctExp.d.ts +1 -14
  94. package/dist/interfaces/TagInput.d.ts +5 -0
  95. package/dist/interfaces/Template.d.ts +4 -0
  96. package/dist/interfaces/TemplateBoolExp.d.ts +4 -0
  97. package/dist/interfaces/TemplateCategory.d.ts +4 -0
  98. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +4 -0
  99. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -14
  100. package/dist/interfaces/TemplateCategoryInput.d.ts +4 -0
  101. package/dist/interfaces/TemplateDistinctExp.d.ts +1 -14
  102. package/dist/interfaces/TemplateInput.d.ts +4 -0
  103. package/dist/interfaces/Theme.d.ts +4 -0
  104. package/dist/interfaces/ThemeBoolExp.d.ts +4 -0
  105. package/dist/interfaces/ThemeDistinctExp.d.ts +1 -13
  106. package/dist/interfaces/ThemeInput.d.ts +4 -0
  107. package/dist/interfaces/ThemeOrderBy.d.ts +1 -0
  108. package/dist/interfaces/Website.d.ts +44 -0
  109. package/dist/interfaces/WebsiteBoolExp.d.ts +29 -0
  110. package/dist/interfaces/WebsiteContent.d.ts +2 -2
  111. package/dist/interfaces/WebsiteContentBoolExp.d.ts +2 -2
  112. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +4 -16
  113. package/dist/interfaces/WebsiteContentOrderBy.d.ts +2 -2
  114. package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
  115. package/dist/interfaces/WebsiteInput.d.ts +29 -0
  116. package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
  117. package/dist/interfaces/WebsitePart.d.ts +3 -5
  118. package/dist/interfaces/WebsitePartBoolExp.d.ts +4 -6
  119. package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -16
  120. package/dist/interfaces/WebsitePartOrderBy.d.ts +3 -5
  121. package/dist/interfaces/WebsiteSettings.d.ts +4 -0
  122. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +4 -0
  123. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -14
  124. package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -0
  125. package/dist/interfaces/index.d.ts +4 -12
  126. package/package.json +2 -2
  127. package/dist/interfaces/BaseEntity.d.ts +0 -15
  128. package/dist/interfaces/BaseEntityBoolExp.d.ts +0 -12
  129. package/dist/interfaces/BaseEntityDistinctExp.d.ts +0 -16
  130. package/dist/interfaces/BaseEntityOrderBy.d.ts +0 -16
  131. package/dist/interfaces/CustomizeMedia.d.ts +0 -7
  132. package/dist/interfaces/CustomizeMediaBoolExp.d.ts +0 -9
  133. package/dist/interfaces/CustomizeMediaDistinctExp.d.ts +0 -8
  134. package/dist/interfaces/CustomizeMediaOrderBy.d.ts +0 -8
  135. package/dist/interfaces/MultiLangable.d.ts +0 -4
  136. package/dist/interfaces/MultiLangableBoolExp.d.ts +0 -9
  137. package/dist/interfaces/MultiLangableDistinctExp.d.ts +0 -5
  138. package/dist/interfaces/MultiLangableOrderBy.d.ts +0 -5
@@ -44,20 +44,7 @@ export declare enum WebsiteSettingsDistinctEnum {
44
44
  * 邮件模板
45
45
  */
46
46
  emailTemplates = "emailTemplates",
47
- websiteId = "websiteId",
48
- slug = "slug",
49
- description = "description",
50
- /**
51
- * 创建时间
52
- */
53
47
  createdAt = "createdAt",
54
- /**
55
- * 更新时间
56
- */
57
- updatedAt = "updatedAt",
58
- /**
59
- * 备注
60
- */
61
- remark = "remark"
48
+ updatedAt = "updatedAt"
62
49
  }
63
50
  export type WebsiteSettingsDistinctExp = WebsiteSettingsDistinctEnum | WebsitePartDistinctExp;
@@ -1,6 +1,9 @@
1
1
  import { WebsiteSettings } from './WebsiteSettings';
2
2
  import { SmtpConfig } from './SmtpConfig';
3
3
  import { EmailTemplates } from './EmailTemplates';
4
+ import { LangInput } from './LangInput';
5
+ import { WebsiteInput } from './WebsiteInput';
6
+ import { SetHasOne } from '@rxdrag/entify-hooks';
4
7
  import { WebsitePart } from './WebsitePart';
5
8
  export interface WebsiteSettingsInput extends WebsitePart {
6
9
  id?: string;
@@ -47,6 +50,8 @@ export interface WebsiteSettingsInput extends WebsitePart {
47
50
  * 邮件模板
48
51
  */
49
52
  emailTemplates?: EmailTemplates;
53
+ lang?: SetHasOne<LangInput>;
54
+ website?: SetHasOne<WebsiteInput>;
50
55
  }
51
56
  export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
52
57
  export declare const websiteSettingsToInput: (entity: WebsiteSettings) => WebsiteSettingsInput;
@@ -133,22 +133,10 @@ export * from './CustomerInput';
133
133
  export * from './CustomerBoolExp';
134
134
  export * from './CustomerOrderBy';
135
135
  export * from './CustomerDistinctExp';
136
- export * from './BaseEntity';
137
- export * from './BaseEntityBoolExp';
138
- export * from './BaseEntityOrderBy';
139
- export * from './BaseEntityDistinctExp';
140
- export * from './MultiLangable';
141
- export * from './MultiLangableBoolExp';
142
- export * from './MultiLangableOrderBy';
143
- export * from './MultiLangableDistinctExp';
144
136
  export * from './WebsiteUser';
145
137
  export * from './WebsiteUserBoolExp';
146
138
  export * from './WebsiteUserOrderBy';
147
139
  export * from './WebsiteUserDistinctExp';
148
- export * from './CustomizeMedia';
149
- export * from './CustomizeMediaBoolExp';
150
- export * from './CustomizeMediaOrderBy';
151
- export * from './CustomizeMediaDistinctExp';
152
140
  export * from './UserType';
153
141
  export * from './TemplateType';
154
142
  export * from './ProductCategory';
@@ -181,3 +169,7 @@ export * from './AttachmentOnProductInput';
181
169
  export * from './AttachmentOnProductBoolExp';
182
170
  export * from './AttachmentOnProductOrderBy';
183
171
  export * from './AttachmentOnProductDistinctExp';
172
+ export * from './Slugable';
173
+ export * from './SlugableBoolExp';
174
+ export * from './SlugableOrderBy';
175
+ export * from './SlugableDistinctExp';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
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.5"
20
+ "@rxdrag/entify-hooks": "0.1.6"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint . --ext .ts,tsx",
@@ -1,15 +0,0 @@
1
- export interface BaseEntity {
2
- id?: string;
3
- /**
4
- * 创建时间
5
- */
6
- createdAt?: Date;
7
- /**
8
- * 更新时间
9
- */
10
- updatedAt?: Date;
11
- /**
12
- * 备注
13
- */
14
- remark?: string;
15
- }
@@ -1,12 +0,0 @@
1
- import { IdComparisonExp } from './IdComparisonExp';
2
- import { DateTimeComparisonExp } from './DateTimeComparisonExp';
3
- import { StringComparisonExp } from './StringComparisonExp';
4
- export interface BaseEntityBoolExp {
5
- _and?: BaseEntityBoolExp[];
6
- _or?: BaseEntityBoolExp[];
7
- _not?: BaseEntityBoolExp;
8
- id?: IdComparisonExp;
9
- createdAt?: DateTimeComparisonExp;
10
- updatedAt?: DateTimeComparisonExp;
11
- remark?: StringComparisonExp;
12
- }
@@ -1,16 +0,0 @@
1
- export declare enum BaseEntityDistinctEnum {
2
- id = "id",
3
- /**
4
- * 创建时间
5
- */
6
- createdAt = "createdAt",
7
- /**
8
- * 更新时间
9
- */
10
- updatedAt = "updatedAt",
11
- /**
12
- * 备注
13
- */
14
- remark = "remark"
15
- }
16
- export type BaseEntityDistinctExp = BaseEntityDistinctEnum;
@@ -1,16 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- export interface BaseEntityOrderBy {
3
- id?: OrderBy;
4
- /**
5
- * 创建时间
6
- */
7
- createdAt?: OrderBy;
8
- /**
9
- * 更新时间
10
- */
11
- updatedAt?: OrderBy;
12
- /**
13
- * 备注
14
- */
15
- remark?: OrderBy;
16
- }
@@ -1,7 +0,0 @@
1
- export interface CustomizeMedia {
2
- id?: string;
3
- /**
4
- * 网站Id
5
- */
6
- websiteId?: string;
7
- }
@@ -1,9 +0,0 @@
1
- import { IdComparisonExp } from './IdComparisonExp';
2
- import { StringComparisonExp } from './StringComparisonExp';
3
- export interface CustomizeMediaBoolExp {
4
- _and?: CustomizeMediaBoolExp[];
5
- _or?: CustomizeMediaBoolExp[];
6
- _not?: CustomizeMediaBoolExp;
7
- id?: IdComparisonExp;
8
- websiteId?: StringComparisonExp;
9
- }
@@ -1,8 +0,0 @@
1
- export declare enum CustomizeMediaDistinctEnum {
2
- id = "id",
3
- /**
4
- * 网站Id
5
- */
6
- websiteId = "websiteId"
7
- }
8
- export type CustomizeMediaDistinctExp = CustomizeMediaDistinctEnum;
@@ -1,8 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- export interface CustomizeMediaOrderBy {
3
- id?: OrderBy;
4
- /**
5
- * 网站Id
6
- */
7
- websiteId?: OrderBy;
8
- }
@@ -1,4 +0,0 @@
1
- export interface MultiLangable {
2
- id?: string;
3
- lang?: string;
4
- }
@@ -1,9 +0,0 @@
1
- import { IdComparisonExp } from './IdComparisonExp';
2
- import { StringComparisonExp } from './StringComparisonExp';
3
- export interface MultiLangableBoolExp {
4
- _and?: MultiLangableBoolExp[];
5
- _or?: MultiLangableBoolExp[];
6
- _not?: MultiLangableBoolExp;
7
- id?: IdComparisonExp;
8
- lang?: StringComparisonExp;
9
- }
@@ -1,5 +0,0 @@
1
- export declare enum MultiLangableDistinctEnum {
2
- id = "id",
3
- lang = "lang"
4
- }
5
- export type MultiLangableDistinctExp = MultiLangableDistinctEnum;
@@ -1,5 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- export interface MultiLangableOrderBy {
3
- id?: OrderBy;
4
- lang?: OrderBy;
5
- }