@rxdrag/rxcms-models 0.3.43 → 0.3.44

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 (183) hide show
  1. package/dist/classes/AnalyticsConfigQueryOptions.d.ts +16 -0
  2. package/dist/classes/CustomerQueryOptions.d.ts +1 -0
  3. package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
  4. package/dist/classes/FrontComponentQueryOptions.d.ts +2 -1
  5. package/dist/classes/LangQueryOptions.d.ts +15 -25
  6. package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
  7. package/dist/classes/MediaQueryOptions.d.ts +11 -17
  8. package/dist/classes/PageMetaQueryOptions.d.ts +33 -0
  9. package/dist/classes/PageQueryOptions.d.ts +8 -24
  10. package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
  11. package/dist/classes/PostQueryOptions.d.ts +4 -15
  12. package/dist/classes/ProductCategoryQueryOptions.d.ts +1 -0
  13. package/dist/classes/ProductQueryOptions.d.ts +4 -17
  14. package/dist/classes/QueryOptions.d.ts +5 -5
  15. package/dist/classes/SpamFilterRuleQueryOptions.d.ts +1 -0
  16. package/dist/classes/TagQueryOptions.d.ts +1 -0
  17. package/dist/classes/ThemeConfigQueryOptions.d.ts +22 -0
  18. package/dist/classes/ThemeInMarketQueryOptions.d.ts +17 -0
  19. package/dist/classes/ThemeQueryOptions.d.ts +22 -14
  20. package/dist/classes/ThemeVersionQueryOptions.d.ts +14 -0
  21. package/dist/classes/UserQueryOptions.d.ts +1 -1
  22. package/dist/classes/WebsiteQueryOptions.d.ts +14 -26
  23. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +1 -14
  24. package/dist/classes/index.d.ts +5 -3
  25. package/dist/entries/analyticsConfigEntry.d.ts +2 -0
  26. package/dist/entries/index.d.ts +5 -3
  27. package/dist/entries/{templateEntry.d.ts → pageMetaEntry.d.ts} +1 -1
  28. package/dist/entries/themeConfigEntry.d.ts +2 -0
  29. package/dist/entries/themeInMarketEntry.d.ts +2 -0
  30. package/dist/entries/themeVersionEntry.d.ts +2 -0
  31. package/dist/fields/AnalyticsConfigFields.d.ts +12 -0
  32. package/dist/fields/CustomerFields.d.ts +1 -0
  33. package/dist/fields/EnquiryFields.d.ts +2 -1
  34. package/dist/fields/FrontComponentFields.d.ts +3 -2
  35. package/dist/fields/LangFields.d.ts +10 -11
  36. package/dist/fields/MediaFields.d.ts +7 -10
  37. package/dist/fields/MediaFolderFields.d.ts +2 -1
  38. package/dist/fields/PageFields.d.ts +5 -19
  39. package/dist/fields/PageMetaFields.d.ts +23 -0
  40. package/dist/fields/PostCategoryFields.d.ts +1 -0
  41. package/dist/fields/PostFields.d.ts +2 -15
  42. package/dist/fields/ProductCategoryFields.d.ts +1 -0
  43. package/dist/fields/ProductFields.d.ts +2 -15
  44. package/dist/fields/SpamFilterRuleFields.d.ts +2 -1
  45. package/dist/fields/TagFields.d.ts +2 -1
  46. package/dist/fields/ThemeConfigFields.d.ts +16 -0
  47. package/dist/fields/ThemeFields.d.ts +13 -6
  48. package/dist/fields/ThemeInMarketFields.d.ts +12 -0
  49. package/dist/fields/ThemeVersionFields.d.ts +8 -0
  50. package/dist/fields/UserFields.d.ts +1 -1
  51. package/dist/fields/WebsiteFields.d.ts +6 -11
  52. package/dist/fields/WebsiteSettingsFields.d.ts +2 -13
  53. package/dist/fields/index.d.ts +5 -3
  54. package/dist/index.mjs +1062 -1215
  55. package/dist/index.mjs.map +1 -1
  56. package/dist/interfaces/AnalyticsConfig.d.ts +15 -0
  57. package/dist/interfaces/AnalyticsConfigBoolExp.d.ts +13 -0
  58. package/dist/interfaces/AnalyticsConfigDistinctExp.d.ts +10 -0
  59. package/dist/interfaces/AnalyticsConfigInput.d.ts +17 -0
  60. package/dist/interfaces/AnalyticsConfigItem.d.ts +5 -0
  61. package/dist/interfaces/AnalyticsConfigOrderBy.d.ts +10 -0
  62. package/dist/interfaces/CustomerDistinctExp.d.ts +1 -0
  63. package/dist/interfaces/EnquiryDistinctExp.d.ts +2 -1
  64. package/dist/interfaces/FrontComponent.d.ts +2 -2
  65. package/dist/interfaces/FrontComponentBoolExp.d.ts +2 -1
  66. package/dist/interfaces/FrontComponentDistinctExp.d.ts +3 -2
  67. package/dist/interfaces/FrontComponentInput.d.ts +2 -2
  68. package/dist/interfaces/FrontComponentOrderBy.d.ts +2 -1
  69. package/dist/interfaces/GaConfig.d.ts +7 -0
  70. package/dist/interfaces/GaDimension.d.ts +4 -0
  71. package/dist/interfaces/Lang.d.ts +11 -15
  72. package/dist/interfaces/LangBoolExp.d.ts +8 -10
  73. package/dist/interfaces/LangDistinctExp.d.ts +4 -1
  74. package/dist/interfaces/LangInput.d.ts +8 -10
  75. package/dist/interfaces/LangOrderBy.d.ts +3 -0
  76. package/dist/interfaces/Marketable.d.ts +9 -0
  77. package/dist/interfaces/MarketableBoolExp.d.ts +16 -0
  78. package/dist/interfaces/MarketableDistinctExp.d.ts +9 -0
  79. package/dist/interfaces/MarketableOrderBy.d.ts +9 -0
  80. package/dist/interfaces/MarketableStatus.d.ts +14 -0
  81. package/dist/interfaces/Media.d.ts +6 -11
  82. package/dist/interfaces/MediaBoolExp.d.ts +4 -7
  83. package/dist/interfaces/MediaDistinctExp.d.ts +2 -1
  84. package/dist/interfaces/MediaFolderDistinctExp.d.ts +2 -1
  85. package/dist/interfaces/MediaInput.d.ts +4 -7
  86. package/dist/interfaces/OtherAnalyticsConfig.d.ts +4 -0
  87. package/dist/interfaces/Page.d.ts +11 -8
  88. package/dist/interfaces/PageBoolExp.d.ts +12 -8
  89. package/dist/interfaces/PageDistinctExp.d.ts +4 -18
  90. package/dist/interfaces/PageInput.d.ts +11 -8
  91. package/dist/interfaces/PageMeta.d.ts +27 -0
  92. package/dist/interfaces/PageMetaBoolExp.d.ts +30 -0
  93. package/dist/interfaces/PageMetaDistinctExp.d.ts +18 -0
  94. package/dist/interfaces/PageMetaInput.d.ts +29 -0
  95. package/dist/interfaces/{OgMetaOrderBy.d.ts → PageMetaOrderBy.d.ts} +7 -3
  96. package/dist/interfaces/PageOrderBy.d.ts +7 -2
  97. package/dist/interfaces/Post.d.ts +2 -1
  98. package/dist/interfaces/PostBoolExp.d.ts +2 -1
  99. package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
  100. package/dist/interfaces/PostDistinctExp.d.ts +1 -14
  101. package/dist/interfaces/PostInput.d.ts +2 -1
  102. package/dist/interfaces/Product.d.ts +4 -5
  103. package/dist/interfaces/ProductBoolExp.d.ts +4 -4
  104. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
  105. package/dist/interfaces/ProductDistinctExp.d.ts +1 -14
  106. package/dist/interfaces/ProductInput.d.ts +4 -5
  107. package/dist/interfaces/PublishableDistinctExp.d.ts +1 -14
  108. package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +2 -1
  109. package/dist/interfaces/TagDistinctExp.d.ts +2 -1
  110. package/dist/interfaces/Theme.d.ts +20 -11
  111. package/dist/interfaces/ThemeBoolExp.d.ts +15 -9
  112. package/dist/interfaces/ThemeConfig.d.ts +19 -0
  113. package/dist/interfaces/ThemeConfigBoolExp.d.ts +21 -0
  114. package/dist/interfaces/ThemeConfigDistinctExp.d.ts +13 -0
  115. package/dist/interfaces/ThemeConfigInput.d.ts +21 -0
  116. package/dist/interfaces/ThemeConfigOrderBy.d.ts +13 -0
  117. package/dist/interfaces/ThemeDistinctExp.d.ts +9 -2
  118. package/dist/interfaces/ThemeInMarket.d.ts +10 -0
  119. package/dist/interfaces/ThemeInMarketBoolExp.d.ts +10 -0
  120. package/dist/interfaces/ThemeInMarketDistinctExp.d.ts +10 -0
  121. package/dist/interfaces/ThemeInMarketInput.d.ts +10 -0
  122. package/dist/interfaces/ThemeInMarketOrderBy.d.ts +5 -0
  123. package/dist/interfaces/ThemeInput.d.ts +19 -9
  124. package/dist/interfaces/ThemeOrderBy.d.ts +11 -2
  125. package/dist/interfaces/ThemeVersion.d.ts +10 -0
  126. package/dist/interfaces/ThemeVersionBoolExp.d.ts +13 -0
  127. package/dist/interfaces/ThemeVersionDistinctExp.d.ts +5 -0
  128. package/dist/interfaces/ThemeVersionInput.d.ts +12 -0
  129. package/dist/interfaces/ThemeVersionOrderBy.d.ts +5 -0
  130. package/dist/interfaces/User.d.ts +1 -1
  131. package/dist/interfaces/UserBoolExp.d.ts +1 -1
  132. package/dist/interfaces/UserInput.d.ts +1 -1
  133. package/dist/interfaces/Website.d.ts +9 -16
  134. package/dist/interfaces/WebsiteBoolExp.d.ts +7 -11
  135. package/dist/interfaces/WebsiteContent.d.ts +1 -5
  136. package/dist/interfaces/WebsiteContentBoolExp.d.ts +1 -4
  137. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +2 -17
  138. package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -4
  139. package/dist/interfaces/WebsiteInput.d.ts +7 -11
  140. package/dist/interfaces/WebsitePart.d.ts +1 -0
  141. package/dist/interfaces/WebsitePartBoolExp.d.ts +2 -0
  142. package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -1
  143. package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
  144. package/dist/interfaces/WebsiteSettings.d.ts +0 -14
  145. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +0 -10
  146. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +2 -12
  147. package/dist/interfaces/WebsiteSettingsInput.d.ts +0 -14
  148. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +0 -11
  149. package/dist/interfaces/WebsiteUser.d.ts +1 -1
  150. package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
  151. package/dist/interfaces/index.d.ts +34 -24
  152. package/package.json +4 -4
  153. package/dist/classes/TemplateCategoryQueryOptions.d.ts +0 -25
  154. package/dist/classes/TemplateQueryOptions.d.ts +0 -24
  155. package/dist/classes/WebsiteFrameQueryOptions.d.ts +0 -18
  156. package/dist/entries/templateCategoryEntry.d.ts +0 -2
  157. package/dist/entries/websiteFrameEntry.d.ts +0 -2
  158. package/dist/fields/TemplateCategoryFields.d.ts +0 -14
  159. package/dist/fields/TemplateFields.d.ts +0 -14
  160. package/dist/fields/WebsiteFrameFields.d.ts +0 -12
  161. package/dist/interfaces/Content.d.ts +0 -3
  162. package/dist/interfaces/OgMeta.d.ts +0 -13
  163. package/dist/interfaces/OgMetaBoolExp.d.ts +0 -18
  164. package/dist/interfaces/OgMetaDistinctExp.d.ts +0 -14
  165. package/dist/interfaces/SeoMeta.d.ts +0 -6
  166. package/dist/interfaces/SeoMetaBoolExp.d.ts +0 -11
  167. package/dist/interfaces/SeoMetaDistinctExp.d.ts +0 -7
  168. package/dist/interfaces/SeoMetaOrderBy.d.ts +0 -7
  169. package/dist/interfaces/Template.d.ts +0 -17
  170. package/dist/interfaces/TemplateBoolExp.d.ts +0 -21
  171. package/dist/interfaces/TemplateCategory.d.ts +0 -18
  172. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +0 -20
  173. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +0 -9
  174. package/dist/interfaces/TemplateCategoryInput.d.ts +0 -19
  175. package/dist/interfaces/TemplateCategoryOrderBy.d.ts +0 -7
  176. package/dist/interfaces/TemplateDistinctExp.d.ts +0 -10
  177. package/dist/interfaces/TemplateInput.d.ts +0 -19
  178. package/dist/interfaces/TemplateOrderBy.d.ts +0 -8
  179. package/dist/interfaces/WebsiteFrame.d.ts +0 -14
  180. package/dist/interfaces/WebsiteFrameBoolExp.d.ts +0 -15
  181. package/dist/interfaces/WebsiteFrameDistinctExp.d.ts +0 -10
  182. package/dist/interfaces/WebsiteFrameInput.d.ts +0 -16
  183. package/dist/interfaces/WebsiteFrameOrderBy.d.ts +0 -8
@@ -3,7 +3,6 @@ import { IdComparisonExp } from './IdComparisonExp';
3
3
  import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { BooleanComparisonExp } from './BooleanComparisonExp';
5
5
  import { LangBoolExp } from './LangBoolExp';
6
- import { MediaBoolExp } from './MediaBoolExp';
7
6
  import { WebsiteBoolExp } from './WebsiteBoolExp';
8
7
  export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
9
8
  _and?: WebsiteSettingsBoolExp[];
@@ -11,14 +10,7 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
11
10
  _not?: WebsiteSettingsBoolExp;
12
11
  id?: IdComparisonExp;
13
12
  smtpConfig?: unknown;
14
- contact?: StringComparisonExp;
15
- address?: StringComparisonExp;
16
- email?: StringComparisonExp;
17
- tel?: StringComparisonExp;
18
- fax?: StringComparisonExp;
19
- wechat?: StringComparisonExp;
20
13
  whatsapp?: StringComparisonExp;
21
- mobile?: StringComparisonExp;
22
14
  robots?: StringComparisonExp;
23
15
  websiteName?: StringComparisonExp;
24
16
  domain?: StringComparisonExp;
@@ -28,8 +20,6 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
28
20
  footerCode?: StringComparisonExp;
29
21
  gaTrackingId?: StringComparisonExp;
30
22
  noticeEmail?: StringComparisonExp;
31
- emailTemplates?: unknown;
32
23
  lang?: LangBoolExp;
33
- contactAvatar?: MediaBoolExp;
34
24
  website?: WebsiteBoolExp;
35
25
  }
@@ -5,14 +5,7 @@ export declare enum WebsiteSettingsDistinctEnum {
5
5
  * 邮件配置
6
6
  */
7
7
  smtpConfig = "smtpConfig",
8
- contact = "contact",
9
- address = "address",
10
- email = "email",
11
- tel = "tel",
12
- fax = "fax",
13
- wechat = "wechat",
14
8
  whatsapp = "whatsapp",
15
- mobile = "mobile",
16
9
  robots = "robots",
17
10
  /**
18
11
  * 站点名称
@@ -40,11 +33,8 @@ export declare enum WebsiteSettingsDistinctEnum {
40
33
  * 通知邮箱
41
34
  */
42
35
  noticeEmail = "noticeEmail",
43
- /**
44
- * 邮件模板
45
- */
46
- emailTemplates = "emailTemplates",
47
36
  createdAt = "createdAt",
48
- updatedAt = "updatedAt"
37
+ updatedAt = "updatedAt",
38
+ content = "content"
49
39
  }
50
40
  export type WebsiteSettingsDistinctExp = WebsiteSettingsDistinctEnum | WebsitePartDistinctExp;
@@ -1,8 +1,6 @@
1
1
  import { WebsiteSettings } from './WebsiteSettings';
2
2
  import { SmtpConfig } from './SmtpConfig';
3
- import { EmailTemplates } from './EmailTemplates';
4
3
  import { LangInput } from './LangInput';
5
- import { MediaInput } from './MediaInput';
6
4
  import { WebsiteInput } from './WebsiteInput';
7
5
  import { SetHasOne } from '@rxdrag/entify-hooks';
8
6
  import { WebsitePart } from './WebsitePart';
@@ -12,14 +10,7 @@ export interface WebsiteSettingsInput extends WebsitePart {
12
10
  * 邮件配置
13
11
  */
14
12
  smtpConfig?: SmtpConfig;
15
- contact?: string;
16
- address?: string;
17
- email?: string;
18
- tel?: string;
19
- fax?: string;
20
- wechat?: string;
21
13
  whatsapp?: string;
22
- mobile?: string;
23
14
  robots?: string;
24
15
  /**
25
16
  * 站点名称
@@ -47,12 +38,7 @@ export interface WebsiteSettingsInput extends WebsitePart {
47
38
  * 通知邮箱
48
39
  */
49
40
  noticeEmail?: string;
50
- /**
51
- * 邮件模板
52
- */
53
- emailTemplates?: EmailTemplates;
54
41
  lang?: SetHasOne<LangInput>;
55
- contactAvatar?: SetHasOne<MediaInput>;
56
42
  website?: SetHasOne<WebsiteInput>;
57
43
  }
58
44
  export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
@@ -6,14 +6,7 @@ export interface WebsiteSettingsOrderBy extends WebsitePartOrderBy {
6
6
  * 邮件配置
7
7
  */
8
8
  smtpConfig?: OrderBy;
9
- contact?: OrderBy;
10
- address?: OrderBy;
11
- email?: OrderBy;
12
- tel?: OrderBy;
13
- fax?: OrderBy;
14
- wechat?: OrderBy;
15
9
  whatsapp?: OrderBy;
16
- mobile?: OrderBy;
17
10
  robots?: OrderBy;
18
11
  /**
19
12
  * 站点名称
@@ -41,8 +34,4 @@ export interface WebsiteSettingsOrderBy extends WebsitePartOrderBy {
41
34
  * 通知邮箱
42
35
  */
43
36
  noticeEmail?: OrderBy;
44
- /**
45
- * 邮件模板
46
- */
47
- emailTemplates?: OrderBy;
48
37
  }
@@ -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
  position?: StringComparisonExp;
12
- profile?: unknown;
12
+ profile?: StringComparisonExp;
13
13
  userType?: EnumComparisonExp<UserType>;
14
14
  }
@@ -73,16 +73,6 @@ export * from './WebsiteSettingsInput';
73
73
  export * from './WebsiteSettingsBoolExp';
74
74
  export * from './WebsiteSettingsOrderBy';
75
75
  export * from './WebsiteSettingsDistinctExp';
76
- export * from './Template';
77
- export * from './TemplateInput';
78
- export * from './TemplateBoolExp';
79
- export * from './TemplateOrderBy';
80
- export * from './TemplateDistinctExp';
81
- export * from './TemplateCategory';
82
- export * from './TemplateCategoryInput';
83
- export * from './TemplateCategoryBoolExp';
84
- export * from './TemplateCategoryOrderBy';
85
- export * from './TemplateCategoryDistinctExp';
86
76
  export * from './Theme';
87
77
  export * from './ThemeInput';
88
78
  export * from './ThemeBoolExp';
@@ -112,14 +102,6 @@ export * from './TagInput';
112
102
  export * from './TagBoolExp';
113
103
  export * from './TagOrderBy';
114
104
  export * from './TagDistinctExp';
115
- export * from './SeoMeta';
116
- export * from './SeoMetaBoolExp';
117
- export * from './SeoMetaOrderBy';
118
- export * from './SeoMetaDistinctExp';
119
- export * from './OgMeta';
120
- export * from './OgMetaBoolExp';
121
- export * from './OgMetaOrderBy';
122
- export * from './OgMetaDistinctExp';
123
105
  export * from './Publishable';
124
106
  export * from './PublishableBoolExp';
125
107
  export * from './PublishableOrderBy';
@@ -190,9 +172,37 @@ export * from './ComponentCategoryBoolExp';
190
172
  export * from './ComponentCategoryOrderBy';
191
173
  export * from './ComponentCategoryDistinctExp';
192
174
  export * from './PropsFields';
193
- export * from './WebsiteFrame';
194
- export * from './WebsiteFrameInput';
195
- export * from './WebsiteFrameBoolExp';
196
- export * from './WebsiteFrameOrderBy';
197
- export * from './WebsiteFrameDistinctExp';
198
- export * from './Content';
175
+ export * from './Marketable';
176
+ export * from './MarketableBoolExp';
177
+ export * from './MarketableOrderBy';
178
+ export * from './MarketableDistinctExp';
179
+ export * from './MarketableStatus';
180
+ export * from './ThemeVersion';
181
+ export * from './ThemeVersionInput';
182
+ export * from './ThemeVersionBoolExp';
183
+ export * from './ThemeVersionOrderBy';
184
+ export * from './ThemeVersionDistinctExp';
185
+ export * from './ThemeInMarket';
186
+ export * from './ThemeInMarketInput';
187
+ export * from './ThemeInMarketBoolExp';
188
+ export * from './ThemeInMarketOrderBy';
189
+ export * from './ThemeInMarketDistinctExp';
190
+ export * from './ThemeConfig';
191
+ export * from './ThemeConfigInput';
192
+ export * from './ThemeConfigBoolExp';
193
+ export * from './ThemeConfigOrderBy';
194
+ export * from './ThemeConfigDistinctExp';
195
+ export * from './AnalyticsConfig';
196
+ export * from './AnalyticsConfigInput';
197
+ export * from './AnalyticsConfigBoolExp';
198
+ export * from './AnalyticsConfigOrderBy';
199
+ export * from './AnalyticsConfigDistinctExp';
200
+ export * from './GaConfig';
201
+ export * from './AnalyticsConfigItem';
202
+ export * from './OtherAnalyticsConfig';
203
+ export * from './GaDimension';
204
+ export * from './PageMeta';
205
+ export * from './PageMetaInput';
206
+ export * from './PageMetaBoolExp';
207
+ export * from './PageMetaOrderBy';
208
+ export * from './PageMetaDistinctExp';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.3.43",
3
+ "version": "0.3.44",
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.2.0",
16
- "@rxdrag/eslint-config-custom": "0.2.9"
15
+ "@rxdrag/eslint-config-custom": "0.2.10",
16
+ "@rxdrag/tsconfig": "0.2.0"
17
17
  },
18
18
  "dependencies": {
19
19
  "swr": "^2.2.4",
20
- "@rxdrag/entify-hooks": "0.2.37"
20
+ "@rxdrag/entify-hooks": "0.2.38"
21
21
  },
22
22
  "scripts": {
23
23
  "lint": "eslint . --ext .ts,tsx",
@@ -1,25 +0,0 @@
1
- import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
- import { QueryOptions } from "./QueryOptions";
3
- import { TemplateCategory, TemplateCategoryBoolExp, TemplateCategoryDistinctExp, TemplateCategoryOrderBy } from "../interfaces";
4
- import { TemplateQueryOptions } from './TemplateQueryOptions';
5
- import { Template } from '../interfaces';
6
- import { TemplateBoolExp } from '../interfaces';
7
- import { LangQueryOptions } from './LangQueryOptions';
8
- import { Lang } from '../interfaces';
9
- import { ThemeQueryOptions } from './ThemeQueryOptions';
10
- import { Theme } from '../interfaces';
11
- import { WebsiteQueryOptions } from './WebsiteQueryOptions';
12
- import { Website } from '../interfaces';
13
- export declare class TemplateCategoryQueryOptions extends QueryOptions<TemplateCategory, TemplateCategoryBoolExp, TemplateCategoryOrderBy, TemplateCategoryDistinctExp> {
14
- constructor(fields?: (keyof TemplateCategory)[], queryArgs?: IQueryArgs<TemplateCategoryBoolExp, TemplateCategoryOrderBy, TemplateCategoryDistinctExp>);
15
- id(): this;
16
- name(): this;
17
- seqValue(): this;
18
- createdAt(): this;
19
- updatedAt(): this;
20
- templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
21
- templatesAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
22
- lang(options?: LangQueryOptions | (keyof Lang)[]): this;
23
- theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
24
- website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
25
- }
@@ -1,24 +0,0 @@
1
- import { IQueryArgs } from "@rxdrag/entify-hooks";
2
- import { QueryOptions } from "./QueryOptions";
3
- import { Template, TemplateBoolExp, TemplateDistinctExp, TemplateOrderBy } from "../interfaces";
4
- import { LangQueryOptions } from './LangQueryOptions';
5
- import { Lang } from '../interfaces';
6
- import { TemplateCategoryQueryOptions } from './TemplateCategoryQueryOptions';
7
- import { TemplateCategory } from '../interfaces';
8
- import { ThemeQueryOptions } from './ThemeQueryOptions';
9
- import { Theme } from '../interfaces';
10
- import { WebsiteQueryOptions } from './WebsiteQueryOptions';
11
- import { Website } from '../interfaces';
12
- export declare class TemplateQueryOptions extends QueryOptions<Template, TemplateBoolExp, TemplateOrderBy, TemplateDistinctExp> {
13
- constructor(fields?: (keyof Template)[], queryArgs?: IQueryArgs<TemplateBoolExp, TemplateOrderBy, TemplateDistinctExp>);
14
- id(): this;
15
- name(): this;
16
- seqValue(): this;
17
- content(): this;
18
- createdAt(): this;
19
- updatedAt(): this;
20
- lang(options?: LangQueryOptions | (keyof Lang)[]): this;
21
- category(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
22
- theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
23
- website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
24
- }
@@ -1,18 +0,0 @@
1
- import { IQueryArgs } from "@rxdrag/entify-hooks";
2
- import { QueryOptions } from "./QueryOptions";
3
- import { WebsiteFrame, WebsiteFrameBoolExp, WebsiteFrameDistinctExp, WebsiteFrameOrderBy } from "../interfaces";
4
- import { LangQueryOptions } from './LangQueryOptions';
5
- import { Lang } from '../interfaces';
6
- import { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
- import { Website } from '../interfaces';
8
- export declare class WebsiteFrameQueryOptions extends QueryOptions<WebsiteFrame, WebsiteFrameBoolExp, WebsiteFrameOrderBy, WebsiteFrameDistinctExp> {
9
- constructor(fields?: (keyof WebsiteFrame)[], queryArgs?: IQueryArgs<WebsiteFrameBoolExp, WebsiteFrameOrderBy, WebsiteFrameDistinctExp>);
10
- id(): this;
11
- content(): this;
12
- settings(): this;
13
- dataSource(): this;
14
- createdAt(): this;
15
- updatedAt(): this;
16
- lang(options?: LangQueryOptions | (keyof Lang)[]): this;
17
- website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
18
- }
@@ -1,2 +0,0 @@
1
- import { EntityEntry } from "@rxdrag/entify-hooks";
2
- export declare const templateCategoryEntry: EntityEntry;
@@ -1,2 +0,0 @@
1
- import { EntityEntry } from "@rxdrag/entify-hooks";
2
- export declare const websiteFrameEntry: EntityEntry;
@@ -1,14 +0,0 @@
1
- export declare enum TemplateCategoryFields {
2
- id = "id",
3
- name = "name",
4
- seqValue = "seqValue",
5
- createdAt = "createdAt",
6
- updatedAt = "updatedAt"
7
- }
8
- export declare enum TemplateCategoryAssciations {
9
- templates = "templates",
10
- templatesAggregate = "templatesAggregate",
11
- lang = "lang",
12
- theme = "theme",
13
- website = "website"
14
- }
@@ -1,14 +0,0 @@
1
- export declare enum TemplateFields {
2
- id = "id",
3
- name = "name",
4
- seqValue = "seqValue",
5
- content = "content",
6
- createdAt = "createdAt",
7
- updatedAt = "updatedAt"
8
- }
9
- export declare enum TemplateAssciations {
10
- lang = "lang",
11
- category = "category",
12
- theme = "theme",
13
- website = "website"
14
- }
@@ -1,12 +0,0 @@
1
- export declare enum WebsiteFrameFields {
2
- id = "id",
3
- content = "content",
4
- settings = "settings",
5
- dataSource = "dataSource",
6
- createdAt = "createdAt",
7
- updatedAt = "updatedAt"
8
- }
9
- export declare enum WebsiteFrameAssciations {
10
- lang = "lang",
11
- website = "website"
12
- }
@@ -1,3 +0,0 @@
1
- export interface Content {
2
- elements?: any[];
3
- }
@@ -1,13 +0,0 @@
1
- export interface OgMeta {
2
- id?: string | null;
3
- ogTitle?: string;
4
- ogDescription?: string;
5
- ogUrl?: string;
6
- ogSiteName?: string;
7
- ogType?: string;
8
- xCard?: string;
9
- xSite?: string;
10
- xTitle?: string;
11
- xDescription?: string;
12
- xUrl?: string;
13
- }
@@ -1,18 +0,0 @@
1
- import { IdComparisonExp } from './IdComparisonExp';
2
- import { StringComparisonExp } from './StringComparisonExp';
3
- export interface OgMetaBoolExp {
4
- _and?: OgMetaBoolExp[];
5
- _or?: OgMetaBoolExp[];
6
- _not?: OgMetaBoolExp;
7
- id?: IdComparisonExp;
8
- ogTitle?: StringComparisonExp;
9
- ogDescription?: StringComparisonExp;
10
- ogUrl?: StringComparisonExp;
11
- ogSiteName?: StringComparisonExp;
12
- ogType?: StringComparisonExp;
13
- xCard?: StringComparisonExp;
14
- xSite?: StringComparisonExp;
15
- xTitle?: StringComparisonExp;
16
- xDescription?: StringComparisonExp;
17
- xUrl?: StringComparisonExp;
18
- }
@@ -1,14 +0,0 @@
1
- export declare enum OgMetaDistinctEnum {
2
- id = "id",
3
- ogTitle = "ogTitle",
4
- ogDescription = "ogDescription",
5
- ogUrl = "ogUrl",
6
- ogSiteName = "ogSiteName",
7
- ogType = "ogType",
8
- xCard = "xCard",
9
- xSite = "xSite",
10
- xTitle = "xTitle",
11
- xDescription = "xDescription",
12
- xUrl = "xUrl"
13
- }
14
- export type OgMetaDistinctExp = OgMetaDistinctEnum;
@@ -1,6 +0,0 @@
1
- export interface SeoMeta {
2
- id?: string | null;
3
- seoTitle?: string;
4
- seoKeywords?: string;
5
- seoDescription?: string;
6
- }
@@ -1,11 +0,0 @@
1
- import { IdComparisonExp } from './IdComparisonExp';
2
- import { StringComparisonExp } from './StringComparisonExp';
3
- export interface SeoMetaBoolExp {
4
- _and?: SeoMetaBoolExp[];
5
- _or?: SeoMetaBoolExp[];
6
- _not?: SeoMetaBoolExp;
7
- id?: IdComparisonExp;
8
- seoTitle?: StringComparisonExp;
9
- seoKeywords?: StringComparisonExp;
10
- seoDescription?: StringComparisonExp;
11
- }
@@ -1,7 +0,0 @@
1
- export declare enum SeoMetaDistinctEnum {
2
- id = "id",
3
- seoTitle = "seoTitle",
4
- seoKeywords = "seoKeywords",
5
- seoDescription = "seoDescription"
6
- }
7
- export type SeoMetaDistinctExp = SeoMetaDistinctEnum;
@@ -1,7 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- export interface SeoMetaOrderBy {
3
- id?: OrderBy;
4
- seoTitle?: OrderBy;
5
- seoKeywords?: OrderBy;
6
- seoDescription?: OrderBy;
7
- }
@@ -1,17 +0,0 @@
1
- import { Lang } from './Lang';
2
- import { TemplateCategory } from './TemplateCategory';
3
- import { Theme } from './Theme';
4
- import { Website } from './Website';
5
- import { WebsitePart } from './WebsitePart';
6
- export declare const TemplateEntityName = "Template";
7
- export declare const TemplateEntityLabel = "";
8
- export interface Template extends WebsitePart {
9
- id?: string | null;
10
- name?: string;
11
- seqValue?: number;
12
- content?: any;
13
- lang?: Lang;
14
- category?: TemplateCategory;
15
- theme?: Theme;
16
- website?: Website;
17
- }
@@ -1,21 +0,0 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
- import { IdComparisonExp } from './IdComparisonExp';
3
- import { StringComparisonExp } from './StringComparisonExp';
4
- import { NumberComparisonExp } from './NumberComparisonExp';
5
- import { LangBoolExp } from './LangBoolExp';
6
- import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
7
- import { ThemeBoolExp } from './ThemeBoolExp';
8
- import { WebsiteBoolExp } from './WebsiteBoolExp';
9
- export interface TemplateBoolExp extends WebsitePartBoolExp {
10
- _and?: TemplateBoolExp[];
11
- _or?: TemplateBoolExp[];
12
- _not?: TemplateBoolExp;
13
- id?: IdComparisonExp;
14
- name?: StringComparisonExp;
15
- seqValue?: NumberComparisonExp;
16
- content?: unknown;
17
- lang?: LangBoolExp;
18
- category?: TemplateCategoryBoolExp;
19
- theme?: ThemeBoolExp;
20
- website?: WebsiteBoolExp;
21
- }
@@ -1,18 +0,0 @@
1
- import { Template } from './Template';
2
- import { Lang } from './Lang';
3
- import { Theme } from './Theme';
4
- import { Website } from './Website';
5
- import { Aggregate } from './Aggregate';
6
- import { WebsitePart } from './WebsitePart';
7
- export declare const TemplateCategoryEntityName = "TemplateCategory";
8
- export declare const TemplateCategoryEntityLabel = "";
9
- export interface TemplateCategory extends WebsitePart {
10
- id?: string | null;
11
- name?: string;
12
- seqValue?: number;
13
- templates?: Template[];
14
- lang?: Lang;
15
- theme?: Theme;
16
- website?: Website;
17
- templatesAggregate?: Aggregate;
18
- }
@@ -1,20 +0,0 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
- import { IdComparisonExp } from './IdComparisonExp';
3
- import { StringComparisonExp } from './StringComparisonExp';
4
- import { NumberComparisonExp } from './NumberComparisonExp';
5
- import { TemplateBoolExp } from './TemplateBoolExp';
6
- import { LangBoolExp } from './LangBoolExp';
7
- import { ThemeBoolExp } from './ThemeBoolExp';
8
- import { WebsiteBoolExp } from './WebsiteBoolExp';
9
- export interface TemplateCategoryBoolExp extends WebsitePartBoolExp {
10
- _and?: TemplateCategoryBoolExp[];
11
- _or?: TemplateCategoryBoolExp[];
12
- _not?: TemplateCategoryBoolExp;
13
- id?: IdComparisonExp;
14
- name?: StringComparisonExp;
15
- seqValue?: NumberComparisonExp;
16
- templates?: TemplateBoolExp;
17
- lang?: LangBoolExp;
18
- theme?: ThemeBoolExp;
19
- website?: WebsiteBoolExp;
20
- }
@@ -1,9 +0,0 @@
1
- import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
- export declare enum TemplateCategoryDistinctEnum {
3
- id = "id",
4
- name = "name",
5
- seqValue = "seqValue",
6
- createdAt = "createdAt",
7
- updatedAt = "updatedAt"
8
- }
9
- export type TemplateCategoryDistinctExp = TemplateCategoryDistinctEnum | WebsitePartDistinctExp;
@@ -1,19 +0,0 @@
1
- import { TemplateCategory } from './TemplateCategory';
2
- import { TemplateInput } from './TemplateInput';
3
- import { LangInput } from './LangInput';
4
- import { ThemeInput } from './ThemeInput';
5
- import { WebsiteInput } from './WebsiteInput';
6
- import { SetHasMany } from '@rxdrag/entify-hooks';
7
- import { SetHasOne } from '@rxdrag/entify-hooks';
8
- import { WebsitePart } from './WebsitePart';
9
- export interface TemplateCategoryInput extends WebsitePart {
10
- id?: string | null;
11
- name?: string;
12
- seqValue?: number;
13
- templates?: SetHasMany<TemplateInput>;
14
- lang?: SetHasOne<LangInput>;
15
- theme?: SetHasOne<ThemeInput>;
16
- website?: SetHasOne<WebsiteInput>;
17
- }
18
- export declare const templateCategoryToInputCascade: (entity: TemplateCategory) => TemplateCategoryInput;
19
- export declare const templateCategoryToInput: (entity: TemplateCategory) => TemplateCategoryInput;
@@ -1,7 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
- export interface TemplateCategoryOrderBy extends WebsitePartOrderBy {
4
- id?: OrderBy;
5
- name?: OrderBy;
6
- seqValue?: OrderBy;
7
- }
@@ -1,10 +0,0 @@
1
- import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
- export declare enum TemplateDistinctEnum {
3
- id = "id",
4
- name = "name",
5
- seqValue = "seqValue",
6
- content = "content",
7
- createdAt = "createdAt",
8
- updatedAt = "updatedAt"
9
- }
10
- export type TemplateDistinctExp = TemplateDistinctEnum | WebsitePartDistinctExp;
@@ -1,19 +0,0 @@
1
- import { Template } from './Template';
2
- import { LangInput } from './LangInput';
3
- import { TemplateCategoryInput } from './TemplateCategoryInput';
4
- import { ThemeInput } from './ThemeInput';
5
- import { WebsiteInput } from './WebsiteInput';
6
- import { SetHasOne } from '@rxdrag/entify-hooks';
7
- import { WebsitePart } from './WebsitePart';
8
- export interface TemplateInput extends WebsitePart {
9
- id?: string | null;
10
- name?: string;
11
- seqValue?: number;
12
- content?: any;
13
- lang?: SetHasOne<LangInput>;
14
- category?: SetHasOne<TemplateCategoryInput>;
15
- theme?: SetHasOne<ThemeInput>;
16
- website?: SetHasOne<WebsiteInput>;
17
- }
18
- export declare const templateToInputCascade: (entity: Template) => TemplateInput;
19
- export declare const templateToInput: (entity: Template) => TemplateInput;
@@ -1,8 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-hooks';
2
- import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
- export interface TemplateOrderBy extends WebsitePartOrderBy {
4
- id?: OrderBy;
5
- name?: OrderBy;
6
- seqValue?: OrderBy;
7
- content?: OrderBy;
8
- }
@@ -1,14 +0,0 @@
1
- import { Content } from './Content';
2
- import { Lang } from './Lang';
3
- import { Website } from './Website';
4
- import { WebsitePart } from './WebsitePart';
5
- export declare const WebsiteFrameEntityName = "WebsiteFrame";
6
- export declare const WebsiteFrameEntityLabel = "";
7
- export interface WebsiteFrame extends WebsitePart {
8
- id?: string | null;
9
- content?: Content;
10
- settings?: any;
11
- dataSource?: any;
12
- lang?: Lang;
13
- website?: Website;
14
- }
@@ -1,15 +0,0 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
- import { IdComparisonExp } from './IdComparisonExp';
3
- import { LangBoolExp } from './LangBoolExp';
4
- import { WebsiteBoolExp } from './WebsiteBoolExp';
5
- export interface WebsiteFrameBoolExp extends WebsitePartBoolExp {
6
- _and?: WebsiteFrameBoolExp[];
7
- _or?: WebsiteFrameBoolExp[];
8
- _not?: WebsiteFrameBoolExp;
9
- id?: IdComparisonExp;
10
- content?: unknown;
11
- settings?: unknown;
12
- dataSource?: unknown;
13
- lang?: LangBoolExp;
14
- website?: WebsiteBoolExp;
15
- }