@rxdrag/rxcms-models 0.3.76 → 0.3.77

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 (194) hide show
  1. package/dist/classes/AbilityQueryOptions.d.ts +2 -2
  2. package/dist/classes/ComponentCategoryQueryOptions.d.ts +4 -3
  3. package/dist/classes/EnquiryQueryOptions.d.ts +10 -1
  4. package/dist/classes/FAQQueryOptions.d.ts +1 -6
  5. package/dist/classes/FrontComponentQueryOptions.d.ts +12 -3
  6. package/dist/classes/LangQueryOptions.d.ts +5 -15
  7. package/dist/classes/MediaQueryOptions.d.ts +30 -5
  8. package/dist/classes/PageQueryOptions.d.ts +3 -3
  9. package/dist/classes/PostQueryOptions.d.ts +2 -0
  10. package/dist/classes/ProductQueryOptions.d.ts +3 -0
  11. package/dist/classes/RoleQueryOptions.d.ts +5 -0
  12. package/dist/classes/RoleVariableQueryOptions.d.ts +15 -0
  13. package/dist/classes/SectionTemplateQueryOptions.d.ts +6 -3
  14. package/dist/classes/StorageRecordQueryOptions.d.ts +11 -0
  15. package/dist/classes/StyleConfigQueryOptions.d.ts +3 -3
  16. package/dist/classes/TemplateCategoryQueryOptions.d.ts +3 -3
  17. package/dist/classes/ThemeBranchQueryOptions.d.ts +62 -0
  18. package/dist/classes/ThemeConfigQueryOptions.d.ts +3 -3
  19. package/dist/classes/ThemeQueryOptions.d.ts +5 -50
  20. package/dist/classes/ThemeVersionQueryOptions.d.ts +3 -3
  21. package/dist/classes/UserOperationQueryOptions.d.ts +19 -0
  22. package/dist/classes/UserQueryOptions.d.ts +8 -0
  23. package/dist/classes/VisitorLogQueryOptions.d.ts +27 -0
  24. package/dist/classes/WebsiteQueryOptions.d.ts +16 -20
  25. package/dist/classes/WebsiteSnapshotQueryOptions.d.ts +15 -0
  26. package/dist/classes/index.d.ts +7 -3
  27. package/dist/entries/index.d.ts +7 -3
  28. package/dist/entries/roleVariableEntry.d.ts +2 -0
  29. package/dist/entries/storageRecordEntry.d.ts +2 -0
  30. package/dist/entries/themeBranchEntry.d.ts +2 -0
  31. package/dist/entries/userOperationEntry.d.ts +2 -0
  32. package/dist/entries/visitorLogEntry.d.ts +2 -0
  33. package/dist/entries/websiteSnapshotEntry.d.ts +2 -0
  34. package/dist/fields/AbilityFields.d.ts +2 -2
  35. package/dist/fields/ComponentCategoryFields.d.ts +2 -1
  36. package/dist/fields/EnquiryFields.d.ts +6 -0
  37. package/dist/fields/FAQFields.d.ts +3 -4
  38. package/dist/fields/FrontComponentFields.d.ts +8 -1
  39. package/dist/fields/LangFields.d.ts +0 -4
  40. package/dist/fields/MediaFields.d.ts +19 -4
  41. package/dist/fields/PostFields.d.ts +3 -1
  42. package/dist/fields/ProductFields.d.ts +5 -2
  43. package/dist/fields/RoleFields.d.ts +2 -0
  44. package/dist/fields/RoleVariableFields.d.ts +11 -0
  45. package/dist/fields/SectionTemplateFields.d.ts +1 -0
  46. package/dist/fields/StorageRecordFields.d.ts +9 -0
  47. package/dist/fields/ThemeBranchFields.d.ts +33 -0
  48. package/dist/fields/ThemeFields.d.ts +2 -25
  49. package/dist/fields/UserFields.d.ts +4 -0
  50. package/dist/fields/UserOperationFields.d.ts +13 -0
  51. package/dist/fields/VisitorLogFields.d.ts +25 -0
  52. package/dist/fields/WebsiteFields.d.ts +6 -7
  53. package/dist/fields/WebsiteSnapshotFields.d.ts +8 -0
  54. package/dist/fields/index.d.ts +7 -3
  55. package/dist/index.mjs +1172 -581
  56. package/dist/index.mjs.map +1 -1
  57. package/dist/interfaces/Ability.d.ts +3 -3
  58. package/dist/interfaces/AbilityBoolExp.d.ts +3 -3
  59. package/dist/interfaces/AbilityDistinctExp.d.ts +2 -2
  60. package/dist/interfaces/AbilityInput.d.ts +3 -3
  61. package/dist/interfaces/AbilityOrderBy.d.ts +2 -2
  62. package/dist/interfaces/ComponentCategory.d.ts +3 -2
  63. package/dist/interfaces/ComponentCategoryBoolExp.d.ts +3 -2
  64. package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +2 -1
  65. package/dist/interfaces/ComponentCategoryInput.d.ts +3 -2
  66. package/dist/interfaces/ComponentCategoryOrderBy.d.ts +1 -0
  67. package/dist/interfaces/Enquiry.d.ts +8 -0
  68. package/dist/interfaces/EnquiryBoolExp.d.ts +6 -0
  69. package/dist/interfaces/EnquiryDistinctExp.d.ts +4 -0
  70. package/dist/interfaces/EnquiryInput.d.ts +7 -0
  71. package/dist/interfaces/EnquiryOrderBy.d.ts +4 -0
  72. package/dist/interfaces/EnquirySettings.d.ts +4 -0
  73. package/dist/interfaces/FAQ.d.ts +1 -4
  74. package/dist/interfaces/FAQBoolExp.d.ts +2 -4
  75. package/dist/interfaces/FAQDistinctExp.d.ts +2 -1
  76. package/dist/interfaces/FAQInput.d.ts +1 -4
  77. package/dist/interfaces/FAQOrderBy.d.ts +1 -0
  78. package/dist/interfaces/FileRef.d.ts +7 -0
  79. package/dist/interfaces/FileRefInput.d.ts +5 -0
  80. package/dist/interfaces/FrontComponent.d.ts +12 -4
  81. package/dist/interfaces/FrontComponentBoolExp.d.ts +7 -2
  82. package/dist/interfaces/FrontComponentDistinctExp.d.ts +7 -1
  83. package/dist/interfaces/FrontComponentInput.d.ts +12 -4
  84. package/dist/interfaces/FrontComponentOrderBy.d.ts +6 -0
  85. package/dist/interfaces/ImageSize.d.ts +4 -0
  86. package/dist/interfaces/ImageSizes.d.ts +6 -0
  87. package/dist/interfaces/Lang.d.ts +2 -8
  88. package/dist/interfaces/LangBoolExp.d.ts +2 -6
  89. package/dist/interfaces/LangInput.d.ts +2 -6
  90. package/dist/interfaces/Media.d.ts +22 -4
  91. package/dist/interfaces/MediaBoolExp.d.ts +16 -3
  92. package/dist/interfaces/MediaDistinctExp.d.ts +11 -2
  93. package/dist/interfaces/MediaInput.d.ts +21 -5
  94. package/dist/interfaces/MediaOrderBy.d.ts +8 -1
  95. package/dist/interfaces/Page.d.ts +2 -2
  96. package/dist/interfaces/PageBoolExp.d.ts +2 -2
  97. package/dist/interfaces/PageInput.d.ts +2 -2
  98. package/dist/interfaces/PageType.d.ts +9 -1
  99. package/dist/interfaces/Post.d.ts +2 -1
  100. package/dist/interfaces/PostBoolExp.d.ts +2 -1
  101. package/dist/interfaces/PostDistinctExp.d.ts +5 -2
  102. package/dist/interfaces/PostInput.d.ts +2 -1
  103. package/dist/interfaces/PostOrderBy.d.ts +2 -1
  104. package/dist/interfaces/Product.d.ts +4 -2
  105. package/dist/interfaces/ProductBoolExp.d.ts +2 -1
  106. package/dist/interfaces/ProductDistinctExp.d.ts +5 -2
  107. package/dist/interfaces/ProductInput.d.ts +3 -2
  108. package/dist/interfaces/ProductOrderBy.d.ts +2 -1
  109. package/dist/interfaces/PropsSchema.d.ts +7 -0
  110. package/dist/interfaces/Role.d.ts +3 -0
  111. package/dist/interfaces/RoleBoolExp.d.ts +2 -0
  112. package/dist/interfaces/RoleInput.d.ts +2 -0
  113. package/dist/interfaces/RoleVariable.d.ts +13 -0
  114. package/dist/interfaces/RoleVariableBoolExp.d.ts +17 -0
  115. package/dist/interfaces/RoleVariableDistinctExp.d.ts +9 -0
  116. package/dist/interfaces/RoleVariableInput.d.ts +15 -0
  117. package/dist/interfaces/RoleVariableOrderBy.d.ts +9 -0
  118. package/dist/interfaces/SectionTemplate.d.ts +4 -2
  119. package/dist/interfaces/SectionTemplateBoolExp.d.ts +4 -2
  120. package/dist/interfaces/SectionTemplateInput.d.ts +4 -2
  121. package/dist/interfaces/Softable.d.ts +5 -0
  122. package/dist/interfaces/SoftableBoolExp.d.ts +11 -0
  123. package/dist/interfaces/SoftableDistinctExp.d.ts +6 -0
  124. package/dist/interfaces/SoftableOrderBy.d.ts +6 -0
  125. package/dist/interfaces/StorageRecord.d.ts +9 -0
  126. package/dist/interfaces/StorageRecordBoolExp.d.ts +13 -0
  127. package/dist/interfaces/StorageRecordDistinctExp.d.ts +8 -0
  128. package/dist/interfaces/StorageRecordInput.d.ts +10 -0
  129. package/dist/interfaces/StorageRecordOrderBy.d.ts +8 -0
  130. package/dist/interfaces/StyleConfig.d.ts +2 -2
  131. package/dist/interfaces/StyleConfigBoolExp.d.ts +2 -2
  132. package/dist/interfaces/StyleConfigInput.d.ts +2 -2
  133. package/dist/interfaces/TemplateCategory.d.ts +2 -2
  134. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +2 -2
  135. package/dist/interfaces/TemplateCategoryInput.d.ts +2 -2
  136. package/dist/interfaces/Theme.d.ts +4 -37
  137. package/dist/interfaces/ThemeBoolExp.d.ts +4 -27
  138. package/dist/interfaces/ThemeBranch.d.ts +46 -0
  139. package/dist/interfaces/ThemeBranchBoolExp.d.ts +40 -0
  140. package/dist/interfaces/ThemeBranchDistinctExp.d.ts +15 -0
  141. package/dist/interfaces/ThemeBranchInput.d.ts +43 -0
  142. package/dist/interfaces/ThemeBranchOrderBy.d.ts +15 -0
  143. package/dist/interfaces/ThemeConfig.d.ts +2 -2
  144. package/dist/interfaces/ThemeConfigBoolExp.d.ts +2 -2
  145. package/dist/interfaces/ThemeConfigInput.d.ts +2 -2
  146. package/dist/interfaces/ThemeDistinctExp.d.ts +0 -10
  147. package/dist/interfaces/ThemeInput.d.ts +3 -32
  148. package/dist/interfaces/ThemeOrderBy.d.ts +0 -10
  149. package/dist/interfaces/ThemeSettings.d.ts +5 -0
  150. package/dist/interfaces/ThemeVersion.d.ts +2 -2
  151. package/dist/interfaces/ThemeVersionBoolExp.d.ts +2 -2
  152. package/dist/interfaces/ThemeVersionInput.d.ts +2 -2
  153. package/dist/interfaces/User.d.ts +5 -0
  154. package/dist/interfaces/UserBoolExp.d.ts +3 -0
  155. package/dist/interfaces/UserInput.d.ts +3 -0
  156. package/dist/interfaces/UserOperation.d.ts +16 -0
  157. package/dist/interfaces/UserOperationBoolExp.d.ts +21 -0
  158. package/dist/interfaces/UserOperationDistinctExp.d.ts +10 -0
  159. package/dist/interfaces/UserOperationInput.d.ts +18 -0
  160. package/dist/interfaces/UserOperationOrderBy.d.ts +10 -0
  161. package/dist/interfaces/VariableType.d.ts +10 -0
  162. package/dist/interfaces/VisitorLog.d.ts +26 -0
  163. package/dist/interfaces/VisitorLogBoolExp.d.ts +33 -0
  164. package/dist/interfaces/VisitorLogDistinctExp.d.ts +24 -0
  165. package/dist/interfaces/VisitorLogInput.d.ts +27 -0
  166. package/dist/interfaces/VisitorLogOrderBy.d.ts +24 -0
  167. package/dist/interfaces/VistType.d.ts +14 -0
  168. package/dist/interfaces/Website.d.ts +9 -11
  169. package/dist/interfaces/WebsiteBoolExp.d.ts +7 -8
  170. package/dist/interfaces/WebsiteInput.d.ts +7 -8
  171. package/dist/interfaces/WebsiteSnapshot.d.ts +11 -0
  172. package/dist/interfaces/WebsiteSnapshotBoolExp.d.ts +11 -0
  173. package/dist/interfaces/WebsiteSnapshotDistinctExp.d.ts +4 -0
  174. package/dist/interfaces/WebsiteSnapshotInput.d.ts +12 -0
  175. package/dist/interfaces/WebsiteSnapshotOrderBy.d.ts +4 -0
  176. package/dist/interfaces/index.d.ts +46 -16
  177. package/package.json +4 -4
  178. package/dist/classes/CustomerCaseQueryOptions.d.ts +0 -22
  179. package/dist/classes/SolutionQueryOptions.d.ts +0 -27
  180. package/dist/entries/customerCaseEntry.d.ts +0 -2
  181. package/dist/entries/solutionEntry.d.ts +0 -2
  182. package/dist/fields/CustomerCaseFields.d.ts +0 -16
  183. package/dist/fields/SolutionFields.d.ts +0 -18
  184. package/dist/interfaces/CustomerCase.d.ts +0 -11
  185. package/dist/interfaces/CustomerCaseBoolExp.d.ts +0 -13
  186. package/dist/interfaces/CustomerCaseDistinctExp.d.ts +0 -15
  187. package/dist/interfaces/CustomerCaseInput.d.ts +0 -13
  188. package/dist/interfaces/CustomerCaseOrderBy.d.ts +0 -6
  189. package/dist/interfaces/PropsFields.d.ts +0 -8
  190. package/dist/interfaces/Solution.d.ts +0 -15
  191. package/dist/interfaces/SolutionBoolExp.d.ts +0 -15
  192. package/dist/interfaces/SolutionDistinctExp.d.ts +0 -15
  193. package/dist/interfaces/SolutionInput.d.ts +0 -16
  194. package/dist/interfaces/SolutionOrderBy.d.ts +0 -6
@@ -1,5 +1,6 @@
1
1
  import { MediaType } from './MediaType';
2
2
  import { WebsitePartBoolExp } from './WebsitePartBoolExp';
3
+ import { SoftableBoolExp } from './SoftableBoolExp';
3
4
  import { IdComparisonExp } from './IdComparisonExp';
4
5
  import { StringComparisonExp } from './StringComparisonExp';
5
6
  import { NumberComparisonExp } from './NumberComparisonExp';
@@ -13,16 +14,21 @@ import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
13
14
  import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
14
15
  import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
15
16
  import { WebsiteBoolExp } from './WebsiteBoolExp';
16
- import { ThemeBoolExp } from './ThemeBoolExp';
17
17
  import { PostCategoryBoolExp } from './PostCategoryBoolExp';
18
18
  import { ThemeConfigBoolExp } from './ThemeConfigBoolExp';
19
19
  import { PageMetaBoolExp } from './PageMetaBoolExp';
20
20
  import { SearchIndexBoolExp } from './SearchIndexBoolExp';
21
- export interface MediaBoolExp extends WebsitePartBoolExp {
21
+ import { WebsiteSnapshotBoolExp } from './WebsiteSnapshotBoolExp';
22
+ import { FrontComponentBoolExp } from './FrontComponentBoolExp';
23
+ import { SectionTemplateBoolExp } from './SectionTemplateBoolExp';
24
+ import { EnquiryBoolExp } from './EnquiryBoolExp';
25
+ import { ThemeBoolExp } from './ThemeBoolExp';
26
+ export interface MediaBoolExp extends WebsitePartBoolExp, SoftableBoolExp {
22
27
  _and?: MediaBoolExp[];
23
28
  _or?: MediaBoolExp[];
24
29
  _not?: MediaBoolExp;
25
30
  id?: IdComparisonExp;
31
+ mediaRef?: StringComparisonExp;
26
32
  name?: StringComparisonExp;
27
33
  size?: NumberComparisonExp;
28
34
  mimeType?: StringComparisonExp;
@@ -31,6 +37,8 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
31
37
  createdAt?: DateTimeComparisonExp;
32
38
  updatedAt?: DateTimeComparisonExp;
33
39
  mediaType?: EnumComparisonExp<MediaType>;
40
+ resource?: StringComparisonExp;
41
+ storageType?: StringComparisonExp;
34
42
  folder?: MediaFolderBoolExp;
35
43
  lang?: LangBoolExp;
36
44
  coverOf?: PostBoolExp;
@@ -39,9 +47,14 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
39
47
  productMediaPivots?: MediaOnProductBoolExp;
40
48
  productAttacPivots?: AttachmentOnProductBoolExp;
41
49
  website?: WebsiteBoolExp;
42
- coverOfTheme?: ThemeBoolExp;
43
50
  postCategory?: PostCategoryBoolExp;
44
51
  usedByThemConfig?: ThemeConfigBoolExp;
45
52
  pageMeta?: PageMetaBoolExp;
46
53
  searchIndex?: SearchIndexBoolExp;
54
+ snapshot?: WebsiteSnapshotBoolExp;
55
+ coverOfComponent?: FrontComponentBoolExp;
56
+ coverOfSectionTemplate?: SectionTemplateBoolExp;
57
+ attachmentOfEnquiry?: EnquiryBoolExp;
58
+ coverOfTheme?: ThemeBoolExp;
59
+ owner?: UserBoolExp;
47
60
  }
@@ -1,15 +1,24 @@
1
1
  import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
+ import { SoftableDistinctExp } from './SoftableDistinctExp';
2
3
  export declare enum MediaDistinctEnum {
3
4
  id = "id",
5
+ mediaRef = "mediaRef",
4
6
  name = "name",
5
7
  size = "size",
6
8
  mimeType = "mimeType",
7
9
  extName = "extName",
10
+ /**
11
+ * media file
12
+ */
8
13
  file = "file",
9
14
  description = "description",
10
15
  createdAt = "createdAt",
11
16
  updatedAt = "updatedAt",
12
17
  mediaType = "mediaType",
13
- content = "content"
18
+ resource = "resource",
19
+ storageType = "storageType",
20
+ content = "content",
21
+ isDeleted = "isDeleted",
22
+ deletedAt = "deletedAt"
14
23
  }
15
- export type MediaDistinctExp = MediaDistinctEnum | WebsitePartDistinctExp;
24
+ export type MediaDistinctExp = MediaDistinctEnum | WebsitePartDistinctExp | SoftableDistinctExp;
@@ -1,6 +1,6 @@
1
1
  import { Media } from './Media';
2
2
  import { MediaType } from './MediaType';
3
- import { FileRef } from './FileRef';
3
+ import { FileRefInput } from './FileRefInput';
4
4
  import { MediaFolderInput } from './MediaFolderInput';
5
5
  import { LangInput } from './LangInput';
6
6
  import { PostInput } from './PostInput';
@@ -9,25 +9,36 @@ import { ProductCategoryInput } from './ProductCategoryInput';
9
9
  import { MediaOnProductInput } from './MediaOnProductInput';
10
10
  import { AttachmentOnProductInput } from './AttachmentOnProductInput';
11
11
  import { WebsiteInput } from './WebsiteInput';
12
- import { ThemeInput } from './ThemeInput';
13
12
  import { PostCategoryInput } from './PostCategoryInput';
14
13
  import { ThemeConfigInput } from './ThemeConfigInput';
15
14
  import { PageMetaInput } from './PageMetaInput';
16
15
  import { SearchIndexInput } from './SearchIndexInput';
16
+ import { WebsiteSnapshotInput } from './WebsiteSnapshotInput';
17
+ import { FrontComponentInput } from './FrontComponentInput';
18
+ import { SectionTemplateInput } from './SectionTemplateInput';
19
+ import { EnquiryInput } from './EnquiryInput';
20
+ import { ThemeInput } from './ThemeInput';
17
21
  import { SetHasMany } from '@rxdrag/entify-lib';
18
22
  import { SetHasOne } from '@rxdrag/entify-lib';
19
23
  import { WebsitePart } from './WebsitePart';
20
- export interface MediaInput extends WebsitePart {
24
+ import { Softable } from './Softable';
25
+ export interface MediaInput extends WebsitePart, Softable {
21
26
  id?: string | null;
27
+ mediaRef?: string;
22
28
  name?: string;
23
29
  size?: number;
24
30
  mimeType?: string;
25
31
  extName?: string;
26
- file?: FileRef;
32
+ /**
33
+ * media file
34
+ */
35
+ file?: FileRefInput;
27
36
  description?: string;
28
37
  createdAt?: Date;
29
38
  updatedAt?: Date;
30
39
  mediaType?: MediaType;
40
+ resource?: string;
41
+ storageType?: string;
31
42
  folder?: SetHasOne<MediaFolderInput>;
32
43
  lang?: SetHasOne<LangInput>;
33
44
  coverOf?: SetHasMany<PostInput>;
@@ -36,11 +47,16 @@ export interface MediaInput extends WebsitePart {
36
47
  productMediaPivots?: SetHasMany<MediaOnProductInput>;
37
48
  productAttacPivots?: SetHasMany<AttachmentOnProductInput>;
38
49
  website?: SetHasOne<WebsiteInput>;
39
- coverOfTheme?: SetHasMany<ThemeInput>;
40
50
  postCategory?: SetHasOne<PostCategoryInput>;
41
51
  usedByThemConfig?: SetHasMany<ThemeConfigInput>;
42
52
  pageMeta?: SetHasMany<PageMetaInput>;
43
53
  searchIndex?: SetHasMany<SearchIndexInput>;
54
+ snapshot?: SetHasMany<WebsiteSnapshotInput>;
55
+ coverOfComponent?: SetHasMany<FrontComponentInput>;
56
+ coverOfSectionTemplate?: SetHasMany<SectionTemplateInput>;
57
+ attachmentOfEnquiry?: SetHasOne<EnquiryInput>;
58
+ coverOfTheme?: SetHasOne<ThemeInput>;
59
+ owner?: SetHasOne<UserInput>;
44
60
  }
45
61
  export declare const mediaToInputCascade: (entity: Media) => MediaInput;
46
62
  export declare const mediaToInput: (entity: Media) => MediaInput;
@@ -1,14 +1,21 @@
1
1
  import { OrderBy } from '@rxdrag/entify-lib';
2
2
  import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
- export interface MediaOrderBy extends WebsitePartOrderBy {
3
+ import { SoftableOrderBy } from './SoftableOrderBy';
4
+ export interface MediaOrderBy extends WebsitePartOrderBy, SoftableOrderBy {
4
5
  id?: OrderBy;
6
+ mediaRef?: OrderBy;
5
7
  name?: OrderBy;
6
8
  size?: OrderBy;
7
9
  mimeType?: OrderBy;
8
10
  extName?: OrderBy;
11
+ /**
12
+ * media file
13
+ */
9
14
  file?: OrderBy;
10
15
  description?: OrderBy;
11
16
  createdAt?: OrderBy;
12
17
  updatedAt?: OrderBy;
13
18
  mediaType?: OrderBy;
19
+ resource?: OrderBy;
20
+ storageType?: OrderBy;
14
21
  }
@@ -1,6 +1,6 @@
1
1
  import { PageType } from './PageType';
2
2
  import { PageMeta } from './PageMeta';
3
- import { Theme } from './Theme';
3
+ import { ThemeBranch } from './ThemeBranch';
4
4
  export declare const PageEntityName = "Page";
5
5
  export declare const PageEntityLabel = "";
6
6
  export interface Page {
@@ -19,5 +19,5 @@ export interface Page {
19
19
  description?: string;
20
20
  code?: string;
21
21
  meta?: PageMeta;
22
- theme?: Theme;
22
+ theme?: ThemeBranch;
23
23
  }
@@ -4,7 +4,7 @@ import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { EnumComparisonExp } from './EnumComparisonExp';
5
5
  import { DateTimeComparisonExp } from './DateTimeComparisonExp';
6
6
  import { PageMetaBoolExp } from './PageMetaBoolExp';
7
- import { ThemeBoolExp } from './ThemeBoolExp';
7
+ import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
8
8
  export interface PageBoolExp {
9
9
  _and?: PageBoolExp[];
10
10
  _or?: PageBoolExp[];
@@ -21,5 +21,5 @@ export interface PageBoolExp {
21
21
  description?: StringComparisonExp;
22
22
  code?: StringComparisonExp;
23
23
  meta?: PageMetaBoolExp;
24
- theme?: ThemeBoolExp;
24
+ theme?: ThemeBranchBoolExp;
25
25
  }
@@ -1,7 +1,7 @@
1
1
  import { Page } from './Page';
2
2
  import { PageType } from './PageType';
3
3
  import { PageMetaInput } from './PageMetaInput';
4
- import { ThemeInput } from './ThemeInput';
4
+ import { ThemeBranchInput } from './ThemeBranchInput';
5
5
  import { SetHasOne } from '@rxdrag/entify-lib';
6
6
  export interface PageInput {
7
7
  id?: string | null;
@@ -19,7 +19,7 @@ export interface PageInput {
19
19
  description?: string;
20
20
  code?: string;
21
21
  meta?: SetHasOne<PageMetaInput>;
22
- theme?: SetHasOne<ThemeInput>;
22
+ theme?: SetHasOne<ThemeBranchInput>;
23
23
  }
24
24
  export declare const pageToInputCascade: (entity: Page) => PageInput;
25
25
  export declare const pageToInput: (entity: Page) => PageInput;
@@ -50,5 +50,13 @@ export declare enum PageType {
50
50
  /**
51
51
  * label: undefined
52
52
  */
53
- ProductList = "ProductList"
53
+ ProductList = "ProductList",
54
+ /**
55
+ * label: undefined
56
+ */
57
+ AskForQuote = "AskForQuote",
58
+ /**
59
+ * label: undefined
60
+ */
61
+ CustomizedApi = "CustomizedApi"
54
62
  }
@@ -7,13 +7,14 @@ import { PostCategory } from './PostCategory';
7
7
  import { Website } from './Website';
8
8
  import { Aggregate } from './Aggregate';
9
9
  import { Publishable } from './Publishable';
10
+ import { Softable } from './Softable';
10
11
  export declare const PostEntityName = "Post";
11
12
  export declare const PostEntityLabel = "\u6587\u7AE0";
12
13
  /**
13
14
  * 文章
14
15
  *
15
16
  */
16
- export interface Post extends Publishable {
17
+ export interface Post extends Publishable, Softable {
17
18
  id?: string | null;
18
19
  seqValue?: number;
19
20
  /**
@@ -1,4 +1,5 @@
1
1
  import { PublishableBoolExp } from './PublishableBoolExp';
2
+ import { SoftableBoolExp } from './SoftableBoolExp';
2
3
  import { IdComparisonExp } from './IdComparisonExp';
3
4
  import { NumberComparisonExp } from './NumberComparisonExp';
4
5
  import { BooleanComparisonExp } from './BooleanComparisonExp';
@@ -14,7 +15,7 @@ import { WebsiteBoolExp } from './WebsiteBoolExp';
14
15
  * 文章
15
16
  *
16
17
  */
17
- export interface PostBoolExp extends PublishableBoolExp {
18
+ export interface PostBoolExp extends PublishableBoolExp, SoftableBoolExp {
18
19
  _and?: PostBoolExp[];
19
20
  _or?: PostBoolExp[];
20
21
  _not?: PostBoolExp;
@@ -1,4 +1,5 @@
1
1
  import { PublishableDistinctExp } from './PublishableDistinctExp';
2
+ import { SoftableDistinctExp } from './SoftableDistinctExp';
2
3
  export declare enum PostDistinctEnum {
3
4
  id = "id",
4
5
  seqValue = "seqValue",
@@ -15,6 +16,8 @@ export declare enum PostDistinctEnum {
15
16
  updatedAt = "updatedAt",
16
17
  content = "content",
17
18
  slug = "slug",
18
- description = "description"
19
+ description = "description",
20
+ isDeleted = "isDeleted",
21
+ deletedAt = "deletedAt"
19
22
  }
20
- export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp;
23
+ export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp | SoftableDistinctExp;
@@ -9,11 +9,12 @@ import { WebsiteInput } from './WebsiteInput';
9
9
  import { SetHasMany } from '@rxdrag/entify-lib';
10
10
  import { SetHasOne } from '@rxdrag/entify-lib';
11
11
  import { Publishable } from './Publishable';
12
+ import { Softable } from './Softable';
12
13
  /**
13
14
  * 文章
14
15
  *
15
16
  */
16
- export interface PostInput extends Publishable {
17
+ export interface PostInput extends Publishable, Softable {
17
18
  id?: string | null;
18
19
  seqValue?: number;
19
20
  /**
@@ -1,10 +1,11 @@
1
1
  import { OrderBy } from '@rxdrag/entify-lib';
2
2
  import { PublishableOrderBy } from './PublishableOrderBy';
3
+ import { SoftableOrderBy } from './SoftableOrderBy';
3
4
  /**
4
5
  * 文章
5
6
  *
6
7
  */
7
- export interface PostOrderBy extends PublishableOrderBy {
8
+ export interface PostOrderBy extends PublishableOrderBy, SoftableOrderBy {
8
9
  id?: OrderBy;
9
10
  seqValue?: OrderBy;
10
11
  /**
@@ -10,9 +10,10 @@ import { User } from './User';
10
10
  import { Website } from './Website';
11
11
  import { Aggregate } from './Aggregate';
12
12
  import { Publishable } from './Publishable';
13
+ import { Softable } from './Softable';
13
14
  export declare const ProductEntityName = "Product";
14
15
  export declare const ProductEntityLabel = "";
15
- export interface Product extends Publishable {
16
+ export interface Product extends Publishable, Softable {
16
17
  id?: string | null;
17
18
  published?: boolean;
18
19
  featured?: boolean;
@@ -40,10 +41,11 @@ export interface Product extends Publishable {
40
41
  relatedPivots?: ProductRelatedPivot[];
41
42
  creator?: User;
42
43
  website?: Website;
43
- relatedByPovit?: ProductRelatedPivot;
44
+ relatedByPovit?: ProductRelatedPivot[];
44
45
  tagsAggregate?: Aggregate;
45
46
  mediaPivotsAggregate?: Aggregate;
46
47
  attachmentPivotsAggregate?: Aggregate;
47
48
  faqsAggregate?: Aggregate;
48
49
  relatedPivotsAggregate?: Aggregate;
50
+ relatedByPovitAggregate?: Aggregate;
49
51
  }
@@ -1,4 +1,5 @@
1
1
  import { PublishableBoolExp } from './PublishableBoolExp';
2
+ import { SoftableBoolExp } from './SoftableBoolExp';
2
3
  import { IdComparisonExp } from './IdComparisonExp';
3
4
  import { BooleanComparisonExp } from './BooleanComparisonExp';
4
5
  import { NumberComparisonExp } from './NumberComparisonExp';
@@ -13,7 +14,7 @@ import { FAQBoolExp } from './FAQBoolExp';
13
14
  import { ProductRelatedPivotBoolExp } from './ProductRelatedPivotBoolExp';
14
15
  import { UserBoolExp } from './UserBoolExp';
15
16
  import { WebsiteBoolExp } from './WebsiteBoolExp';
16
- export interface ProductBoolExp extends PublishableBoolExp {
17
+ export interface ProductBoolExp extends PublishableBoolExp, SoftableBoolExp {
17
18
  _and?: ProductBoolExp[];
18
19
  _or?: ProductBoolExp[];
19
20
  _not?: ProductBoolExp;
@@ -1,4 +1,5 @@
1
1
  import { PublishableDistinctExp } from './PublishableDistinctExp';
2
+ import { SoftableDistinctExp } from './SoftableDistinctExp';
2
3
  export declare enum ProductDistinctEnum {
3
4
  id = "id",
4
5
  published = "published",
@@ -25,6 +26,8 @@ export declare enum ProductDistinctEnum {
25
26
  updatedAt = "updatedAt",
26
27
  content = "content",
27
28
  slug = "slug",
28
- description = "description"
29
+ description = "description",
30
+ isDeleted = "isDeleted",
31
+ deletedAt = "deletedAt"
29
32
  }
30
- export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp;
33
+ export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp | SoftableDistinctExp;
@@ -12,7 +12,8 @@ import { WebsiteInput } from './WebsiteInput';
12
12
  import { SetHasMany } from '@rxdrag/entify-lib';
13
13
  import { SetHasOne } from '@rxdrag/entify-lib';
14
14
  import { Publishable } from './Publishable';
15
- export interface ProductInput extends Publishable {
15
+ import { Softable } from './Softable';
16
+ export interface ProductInput extends Publishable, Softable {
16
17
  id?: string | null;
17
18
  published?: boolean;
18
19
  featured?: boolean;
@@ -40,7 +41,7 @@ export interface ProductInput extends Publishable {
40
41
  relatedPivots?: SetHasMany<ProductRelatedPivotInput>;
41
42
  creator?: SetHasOne<UserInput>;
42
43
  website?: SetHasOne<WebsiteInput>;
43
- relatedByPovit?: SetHasOne<ProductRelatedPivotInput>;
44
+ relatedByPovit?: SetHasMany<ProductRelatedPivotInput>;
44
45
  }
45
46
  export declare const productToInputCascade: (entity: Product) => ProductInput;
46
47
  export declare const productToInput: (entity: Product) => ProductInput;
@@ -1,6 +1,7 @@
1
1
  import { OrderBy } from '@rxdrag/entify-lib';
2
2
  import { PublishableOrderBy } from './PublishableOrderBy';
3
- export interface ProductOrderBy extends PublishableOrderBy {
3
+ import { SoftableOrderBy } from './SoftableOrderBy';
4
+ export interface ProductOrderBy extends PublishableOrderBy, SoftableOrderBy {
4
5
  id?: OrderBy;
5
6
  published?: OrderBy;
6
7
  featured?: OrderBy;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * PropsSchema
3
+ * 目前后值类数组还没完成,用这个类中转一下
4
+ */
5
+ export interface PropsSchema {
6
+ tabs?: any[];
7
+ }
@@ -1,3 +1,4 @@
1
+ import { RoleVariable } from './RoleVariable';
1
2
  import { User } from './User';
2
3
  import { Aggregate } from './Aggregate';
3
4
  export declare const RoleEntityName = "Role";
@@ -9,6 +10,8 @@ export interface Role {
9
10
  description?: string;
10
11
  createdAt?: Date;
11
12
  updatedAt?: Date;
13
+ variables?: RoleVariable[];
12
14
  users?: User[];
15
+ variablesAggregate?: Aggregate;
13
16
  usersAggregate?: Aggregate;
14
17
  }
@@ -1,6 +1,7 @@
1
1
  import { IdComparisonExp } from './IdComparisonExp';
2
2
  import { StringComparisonExp } from './StringComparisonExp';
3
3
  import { DateTimeComparisonExp } from './DateTimeComparisonExp';
4
+ import { RoleVariableBoolExp } from './RoleVariableBoolExp';
4
5
  import { UserBoolExp } from './UserBoolExp';
5
6
  export interface RoleBoolExp {
6
7
  _and?: RoleBoolExp[];
@@ -12,5 +13,6 @@ export interface RoleBoolExp {
12
13
  description?: StringComparisonExp;
13
14
  createdAt?: DateTimeComparisonExp;
14
15
  updatedAt?: DateTimeComparisonExp;
16
+ variables?: RoleVariableBoolExp;
15
17
  users?: UserBoolExp;
16
18
  }
@@ -1,4 +1,5 @@
1
1
  import { Role } from './Role';
2
+ import { RoleVariableInput } from './RoleVariableInput';
2
3
  import { UserInput } from './UserInput';
3
4
  import { SetHasMany } from '@rxdrag/entify-lib';
4
5
  export interface RoleInput {
@@ -8,6 +9,7 @@ export interface RoleInput {
8
9
  description?: string;
9
10
  createdAt?: Date;
10
11
  updatedAt?: Date;
12
+ variables?: SetHasMany<RoleVariableInput>;
11
13
  users?: SetHasMany<UserInput>;
12
14
  }
13
15
  export declare const roleToInputCascade: (entity: Role) => RoleInput;
@@ -0,0 +1,13 @@
1
+ import { VariableType } from './VariableType';
2
+ import { Role } from './Role';
3
+ export declare const RoleVariableEntityName = "RoleVariable";
4
+ export declare const RoleVariableEntityLabel = "";
5
+ export interface RoleVariable {
6
+ id?: string | null;
7
+ name?: string;
8
+ type?: VariableType;
9
+ entityName?: string;
10
+ whereExpression?: any;
11
+ field?: string;
12
+ role?: Role;
13
+ }
@@ -0,0 +1,17 @@
1
+ import { VariableType } from './VariableType';
2
+ import { IdComparisonExp } from './IdComparisonExp';
3
+ import { StringComparisonExp } from './StringComparisonExp';
4
+ import { EnumComparisonExp } from './EnumComparisonExp';
5
+ import { RoleBoolExp } from './RoleBoolExp';
6
+ export interface RoleVariableBoolExp {
7
+ _and?: RoleVariableBoolExp[];
8
+ _or?: RoleVariableBoolExp[];
9
+ _not?: RoleVariableBoolExp;
10
+ id?: IdComparisonExp;
11
+ name?: StringComparisonExp;
12
+ type?: EnumComparisonExp<VariableType>;
13
+ entityName?: StringComparisonExp;
14
+ whereExpression?: unknown;
15
+ field?: StringComparisonExp;
16
+ role?: RoleBoolExp;
17
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum RoleVariableDistinctEnum {
2
+ id = "id",
3
+ name = "name",
4
+ type = "type",
5
+ entityName = "entityName",
6
+ whereExpression = "whereExpression",
7
+ field = "field"
8
+ }
9
+ export type RoleVariableDistinctExp = RoleVariableDistinctEnum;
@@ -0,0 +1,15 @@
1
+ import { RoleVariable } from './RoleVariable';
2
+ import { VariableType } from './VariableType';
3
+ import { RoleInput } from './RoleInput';
4
+ import { SetHasOne } from '@rxdrag/entify-lib';
5
+ export interface RoleVariableInput {
6
+ id?: string | null;
7
+ name?: string;
8
+ type?: VariableType;
9
+ entityName?: string;
10
+ whereExpression?: any;
11
+ field?: string;
12
+ role?: SetHasOne<RoleInput>;
13
+ }
14
+ export declare const roleVariableToInputCascade: (entity: RoleVariable) => RoleVariableInput;
15
+ export declare const roleVariableToInput: (entity: RoleVariable) => RoleVariableInput;
@@ -0,0 +1,9 @@
1
+ import { OrderBy } from '@rxdrag/entify-lib';
2
+ export interface RoleVariableOrderBy {
3
+ id?: OrderBy;
4
+ name?: OrderBy;
5
+ type?: OrderBy;
6
+ entityName?: OrderBy;
7
+ whereExpression?: OrderBy;
8
+ field?: OrderBy;
9
+ }
@@ -1,5 +1,6 @@
1
+ import { Media } from './Media';
1
2
  import { TemplateCategory } from './TemplateCategory';
2
- import { Theme } from './Theme';
3
+ import { ThemeBranch } from './ThemeBranch';
3
4
  export declare const SectionTemplateEntityName = "SectionTemplate";
4
5
  export declare const SectionTemplateEntityLabel = "";
5
6
  export interface SectionTemplate {
@@ -10,6 +11,7 @@ export interface SectionTemplate {
10
11
  seqValue?: number;
11
12
  createdAt?: Date;
12
13
  updatedAt?: Date;
14
+ cover?: Media;
13
15
  category?: TemplateCategory;
14
- theme?: Theme;
16
+ theme?: ThemeBranch;
15
17
  }
@@ -2,8 +2,9 @@ import { IdComparisonExp } from './IdComparisonExp';
2
2
  import { StringComparisonExp } from './StringComparisonExp';
3
3
  import { NumberComparisonExp } from './NumberComparisonExp';
4
4
  import { DateTimeComparisonExp } from './DateTimeComparisonExp';
5
+ import { MediaBoolExp } from './MediaBoolExp';
5
6
  import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
6
- import { ThemeBoolExp } from './ThemeBoolExp';
7
+ import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
7
8
  export interface SectionTemplateBoolExp {
8
9
  _and?: SectionTemplateBoolExp[];
9
10
  _or?: SectionTemplateBoolExp[];
@@ -15,6 +16,7 @@ export interface SectionTemplateBoolExp {
15
16
  seqValue?: NumberComparisonExp;
16
17
  createdAt?: DateTimeComparisonExp;
17
18
  updatedAt?: DateTimeComparisonExp;
19
+ cover?: MediaBoolExp;
18
20
  category?: TemplateCategoryBoolExp;
19
- theme?: ThemeBoolExp;
21
+ theme?: ThemeBranchBoolExp;
20
22
  }
@@ -1,6 +1,7 @@
1
1
  import { SectionTemplate } from './SectionTemplate';
2
+ import { MediaInput } from './MediaInput';
2
3
  import { TemplateCategoryInput } from './TemplateCategoryInput';
3
- import { ThemeInput } from './ThemeInput';
4
+ import { ThemeBranchInput } from './ThemeBranchInput';
4
5
  import { SetHasOne } from '@rxdrag/entify-lib';
5
6
  export interface SectionTemplateInput {
6
7
  id?: string | null;
@@ -10,8 +11,9 @@ export interface SectionTemplateInput {
10
11
  seqValue?: number;
11
12
  createdAt?: Date;
12
13
  updatedAt?: Date;
14
+ cover?: SetHasOne<MediaInput>;
13
15
  category?: SetHasOne<TemplateCategoryInput>;
14
- theme?: SetHasOne<ThemeInput>;
16
+ theme?: SetHasOne<ThemeBranchInput>;
15
17
  }
16
18
  export declare const sectionTemplateToInputCascade: (entity: SectionTemplate) => SectionTemplateInput;
17
19
  export declare const sectionTemplateToInput: (entity: SectionTemplate) => SectionTemplateInput;
@@ -0,0 +1,5 @@
1
+ export interface Softable {
2
+ id?: string | null;
3
+ isDeleted?: boolean;
4
+ deletedAt?: Date;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { IdComparisonExp } from './IdComparisonExp';
2
+ import { BooleanComparisonExp } from './BooleanComparisonExp';
3
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
4
+ export interface SoftableBoolExp {
5
+ _and?: SoftableBoolExp[];
6
+ _or?: SoftableBoolExp[];
7
+ _not?: SoftableBoolExp;
8
+ id?: IdComparisonExp;
9
+ isDeleted?: BooleanComparisonExp;
10
+ deletedAt?: DateTimeComparisonExp;
11
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum SoftableDistinctEnum {
2
+ id = "id",
3
+ isDeleted = "isDeleted",
4
+ deletedAt = "deletedAt"
5
+ }
6
+ export type SoftableDistinctExp = SoftableDistinctEnum;
@@ -0,0 +1,6 @@
1
+ import { OrderBy } from '@rxdrag/entify-lib';
2
+ export interface SoftableOrderBy {
3
+ id?: OrderBy;
4
+ isDeleted?: OrderBy;
5
+ deletedAt?: OrderBy;
6
+ }
@@ -0,0 +1,9 @@
1
+ export declare const StorageRecordEntityName = "StorageRecord";
2
+ export declare const StorageRecordEntityLabel = "";
3
+ export interface StorageRecord {
4
+ id?: string | null;
5
+ resource?: string;
6
+ storageType?: string;
7
+ createdAt?: Date;
8
+ updatedAt?: Date;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { IdComparisonExp } from './IdComparisonExp';
2
+ import { StringComparisonExp } from './StringComparisonExp';
3
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
4
+ export interface StorageRecordBoolExp {
5
+ _and?: StorageRecordBoolExp[];
6
+ _or?: StorageRecordBoolExp[];
7
+ _not?: StorageRecordBoolExp;
8
+ id?: IdComparisonExp;
9
+ resource?: StringComparisonExp;
10
+ storageType?: StringComparisonExp;
11
+ createdAt?: DateTimeComparisonExp;
12
+ updatedAt?: DateTimeComparisonExp;
13
+ }