@rxdrag/rxcms-models 0.3.75 → 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 (210) hide show
  1. package/dist/classes/AbilityQueryOptions.d.ts +2 -2
  2. package/dist/classes/BulletinQueryOptions.d.ts +19 -0
  3. package/dist/classes/ComponentCategoryQueryOptions.d.ts +4 -3
  4. package/dist/classes/EnquiryQueryOptions.d.ts +10 -1
  5. package/dist/classes/FAQQueryOptions.d.ts +15 -0
  6. package/dist/classes/FrontComponentQueryOptions.d.ts +12 -3
  7. package/dist/classes/LangQueryOptions.d.ts +10 -15
  8. package/dist/classes/MediaQueryOptions.d.ts +30 -10
  9. package/dist/classes/PageQueryOptions.d.ts +3 -3
  10. package/dist/classes/PostQueryOptions.d.ts +2 -0
  11. package/dist/classes/ProductQueryOptions.d.ts +14 -0
  12. package/dist/classes/ProductRelatedPivotQueryOptions.d.ts +12 -0
  13. package/dist/classes/RoleQueryOptions.d.ts +5 -0
  14. package/dist/classes/RoleVariableQueryOptions.d.ts +15 -0
  15. package/dist/classes/SectionTemplateQueryOptions.d.ts +6 -3
  16. package/dist/classes/StorageRecordQueryOptions.d.ts +11 -0
  17. package/dist/classes/StyleConfigQueryOptions.d.ts +3 -3
  18. package/dist/classes/TemplateCategoryQueryOptions.d.ts +3 -3
  19. package/dist/classes/ThemeBranchQueryOptions.d.ts +62 -0
  20. package/dist/classes/ThemeConfigQueryOptions.d.ts +3 -3
  21. package/dist/classes/ThemeQueryOptions.d.ts +5 -50
  22. package/dist/classes/ThemeVersionQueryOptions.d.ts +3 -3
  23. package/dist/classes/UserOperationQueryOptions.d.ts +19 -0
  24. package/dist/classes/UserQueryOptions.d.ts +8 -0
  25. package/dist/classes/VisitorLogQueryOptions.d.ts +27 -0
  26. package/dist/classes/WebsiteQueryOptions.d.ts +21 -15
  27. package/dist/classes/WebsiteSnapshotQueryOptions.d.ts +15 -0
  28. package/dist/classes/index.d.ts +10 -3
  29. package/dist/entries/bulletinEntry.d.ts +2 -0
  30. package/dist/entries/{videoEntry.d.ts → fAQEntry.d.ts} +1 -1
  31. package/dist/entries/index.d.ts +10 -3
  32. package/dist/entries/productRelatedPivotEntry.d.ts +2 -0
  33. package/dist/entries/roleVariableEntry.d.ts +2 -0
  34. package/dist/entries/storageRecordEntry.d.ts +2 -0
  35. package/dist/entries/themeBranchEntry.d.ts +2 -0
  36. package/dist/entries/userOperationEntry.d.ts +2 -0
  37. package/dist/entries/visitorLogEntry.d.ts +2 -0
  38. package/dist/entries/websiteSnapshotEntry.d.ts +2 -0
  39. package/dist/fields/AbilityFields.d.ts +2 -2
  40. package/dist/fields/BulletinFields.d.ts +13 -0
  41. package/dist/fields/ComponentCategoryFields.d.ts +2 -1
  42. package/dist/fields/EnquiryFields.d.ts +6 -0
  43. package/dist/fields/FAQFields.d.ts +11 -0
  44. package/dist/fields/FrontComponentFields.d.ts +8 -1
  45. package/dist/fields/LangFields.d.ts +3 -5
  46. package/dist/fields/MediaFields.d.ts +18 -5
  47. package/dist/fields/PostFields.d.ts +3 -1
  48. package/dist/fields/ProductFields.d.ts +10 -2
  49. package/dist/fields/ProductRelatedPivotFields.d.ts +8 -0
  50. package/dist/fields/RoleFields.d.ts +2 -0
  51. package/dist/fields/RoleVariableFields.d.ts +11 -0
  52. package/dist/fields/SectionTemplateFields.d.ts +1 -0
  53. package/dist/fields/StorageRecordFields.d.ts +9 -0
  54. package/dist/fields/ThemeBranchFields.d.ts +33 -0
  55. package/dist/fields/ThemeFields.d.ts +2 -25
  56. package/dist/fields/UserFields.d.ts +4 -0
  57. package/dist/fields/UserOperationFields.d.ts +13 -0
  58. package/dist/fields/VisitorLogFields.d.ts +25 -0
  59. package/dist/fields/WebsiteFields.d.ts +8 -5
  60. package/dist/fields/WebsiteSnapshotFields.d.ts +8 -0
  61. package/dist/fields/index.d.ts +10 -3
  62. package/dist/index.mjs +1474 -566
  63. package/dist/index.mjs.map +1 -1
  64. package/dist/interfaces/Ability.d.ts +3 -3
  65. package/dist/interfaces/AbilityBoolExp.d.ts +3 -3
  66. package/dist/interfaces/AbilityDistinctExp.d.ts +2 -2
  67. package/dist/interfaces/AbilityInput.d.ts +3 -3
  68. package/dist/interfaces/AbilityOrderBy.d.ts +2 -2
  69. package/dist/interfaces/Bulletin.d.ts +19 -0
  70. package/dist/interfaces/BulletinBoolExp.d.ts +23 -0
  71. package/dist/interfaces/BulletinDistinctExp.d.ts +10 -0
  72. package/dist/interfaces/BulletinInput.d.ts +21 -0
  73. package/dist/interfaces/BulletinOrderBy.d.ts +14 -0
  74. package/dist/interfaces/ComponentCategory.d.ts +3 -2
  75. package/dist/interfaces/ComponentCategoryBoolExp.d.ts +3 -2
  76. package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +2 -1
  77. package/dist/interfaces/ComponentCategoryInput.d.ts +3 -2
  78. package/dist/interfaces/ComponentCategoryOrderBy.d.ts +1 -0
  79. package/dist/interfaces/Enquiry.d.ts +8 -0
  80. package/dist/interfaces/EnquiryBoolExp.d.ts +6 -0
  81. package/dist/interfaces/EnquiryDistinctExp.d.ts +4 -0
  82. package/dist/interfaces/EnquiryInput.d.ts +7 -0
  83. package/dist/interfaces/EnquiryOrderBy.d.ts +4 -0
  84. package/dist/interfaces/EnquirySettings.d.ts +4 -0
  85. package/dist/interfaces/FAQ.d.ts +12 -0
  86. package/dist/interfaces/FAQBoolExp.d.ts +17 -0
  87. package/dist/interfaces/FAQDistinctExp.d.ts +9 -0
  88. package/dist/interfaces/FAQInput.d.ts +14 -0
  89. package/dist/interfaces/FAQOrderBy.d.ts +9 -0
  90. package/dist/interfaces/FileRef.d.ts +7 -0
  91. package/dist/interfaces/FileRefInput.d.ts +5 -0
  92. package/dist/interfaces/FrontComponent.d.ts +12 -4
  93. package/dist/interfaces/FrontComponentBoolExp.d.ts +7 -2
  94. package/dist/interfaces/FrontComponentDistinctExp.d.ts +7 -1
  95. package/dist/interfaces/FrontComponentInput.d.ts +12 -4
  96. package/dist/interfaces/FrontComponentOrderBy.d.ts +6 -0
  97. package/dist/interfaces/ImageSize.d.ts +4 -0
  98. package/dist/interfaces/ImageSizes.d.ts +6 -0
  99. package/dist/interfaces/Lang.d.ts +5 -8
  100. package/dist/interfaces/LangBoolExp.d.ts +4 -6
  101. package/dist/interfaces/LangInput.d.ts +4 -6
  102. package/dist/interfaces/Media.d.ts +22 -7
  103. package/dist/interfaces/MediaBoolExp.d.ts +16 -5
  104. package/dist/interfaces/MediaDistinctExp.d.ts +11 -2
  105. package/dist/interfaces/MediaInput.d.ts +21 -7
  106. package/dist/interfaces/MediaOrderBy.d.ts +8 -1
  107. package/dist/interfaces/Page.d.ts +2 -2
  108. package/dist/interfaces/PageBoolExp.d.ts +2 -2
  109. package/dist/interfaces/PageInput.d.ts +2 -2
  110. package/dist/interfaces/PageType.d.ts +9 -1
  111. package/dist/interfaces/Post.d.ts +2 -1
  112. package/dist/interfaces/PostBoolExp.d.ts +2 -1
  113. package/dist/interfaces/PostDistinctExp.d.ts +5 -2
  114. package/dist/interfaces/PostInput.d.ts +2 -1
  115. package/dist/interfaces/PostOrderBy.d.ts +2 -1
  116. package/dist/interfaces/Product.d.ts +10 -1
  117. package/dist/interfaces/ProductBoolExp.d.ts +7 -1
  118. package/dist/interfaces/ProductDistinctExp.d.ts +5 -2
  119. package/dist/interfaces/ProductInput.d.ts +7 -1
  120. package/dist/interfaces/ProductOrderBy.d.ts +2 -1
  121. package/dist/interfaces/ProductRelatedPivot.d.ts +9 -0
  122. package/dist/interfaces/ProductRelatedPivotBoolExp.d.ts +12 -0
  123. package/dist/interfaces/ProductRelatedPivotDistinctExp.d.ts +5 -0
  124. package/dist/interfaces/ProductRelatedPivotInput.d.ts +11 -0
  125. package/dist/interfaces/ProductRelatedPivotOrderBy.d.ts +5 -0
  126. package/dist/interfaces/PropsSchema.d.ts +7 -0
  127. package/dist/interfaces/Role.d.ts +3 -0
  128. package/dist/interfaces/RoleBoolExp.d.ts +2 -0
  129. package/dist/interfaces/RoleInput.d.ts +2 -0
  130. package/dist/interfaces/RoleVariable.d.ts +13 -0
  131. package/dist/interfaces/RoleVariableBoolExp.d.ts +17 -0
  132. package/dist/interfaces/RoleVariableDistinctExp.d.ts +9 -0
  133. package/dist/interfaces/RoleVariableInput.d.ts +15 -0
  134. package/dist/interfaces/RoleVariableOrderBy.d.ts +9 -0
  135. package/dist/interfaces/SectionTemplate.d.ts +4 -2
  136. package/dist/interfaces/SectionTemplateBoolExp.d.ts +4 -2
  137. package/dist/interfaces/SectionTemplateInput.d.ts +4 -2
  138. package/dist/interfaces/Softable.d.ts +5 -0
  139. package/dist/interfaces/SoftableBoolExp.d.ts +11 -0
  140. package/dist/interfaces/SoftableDistinctExp.d.ts +6 -0
  141. package/dist/interfaces/SoftableOrderBy.d.ts +6 -0
  142. package/dist/interfaces/StorageRecord.d.ts +9 -0
  143. package/dist/interfaces/StorageRecordBoolExp.d.ts +13 -0
  144. package/dist/interfaces/StorageRecordDistinctExp.d.ts +8 -0
  145. package/dist/interfaces/StorageRecordInput.d.ts +10 -0
  146. package/dist/interfaces/StorageRecordOrderBy.d.ts +8 -0
  147. package/dist/interfaces/StyleConfig.d.ts +2 -2
  148. package/dist/interfaces/StyleConfigBoolExp.d.ts +2 -2
  149. package/dist/interfaces/StyleConfigInput.d.ts +2 -2
  150. package/dist/interfaces/TemplateCategory.d.ts +2 -2
  151. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +2 -2
  152. package/dist/interfaces/TemplateCategoryInput.d.ts +2 -2
  153. package/dist/interfaces/Theme.d.ts +4 -37
  154. package/dist/interfaces/ThemeBoolExp.d.ts +4 -27
  155. package/dist/interfaces/ThemeBranch.d.ts +46 -0
  156. package/dist/interfaces/ThemeBranchBoolExp.d.ts +40 -0
  157. package/dist/interfaces/ThemeBranchDistinctExp.d.ts +15 -0
  158. package/dist/interfaces/ThemeBranchInput.d.ts +43 -0
  159. package/dist/interfaces/ThemeBranchOrderBy.d.ts +15 -0
  160. package/dist/interfaces/ThemeConfig.d.ts +2 -2
  161. package/dist/interfaces/ThemeConfigBoolExp.d.ts +2 -2
  162. package/dist/interfaces/ThemeConfigInput.d.ts +2 -2
  163. package/dist/interfaces/ThemeDistinctExp.d.ts +0 -10
  164. package/dist/interfaces/ThemeInput.d.ts +3 -32
  165. package/dist/interfaces/ThemeOrderBy.d.ts +0 -10
  166. package/dist/interfaces/ThemeSettings.d.ts +5 -0
  167. package/dist/interfaces/ThemeVersion.d.ts +2 -2
  168. package/dist/interfaces/ThemeVersionBoolExp.d.ts +2 -2
  169. package/dist/interfaces/ThemeVersionInput.d.ts +2 -2
  170. package/dist/interfaces/User.d.ts +5 -0
  171. package/dist/interfaces/UserBoolExp.d.ts +3 -0
  172. package/dist/interfaces/UserInput.d.ts +3 -0
  173. package/dist/interfaces/UserOperation.d.ts +16 -0
  174. package/dist/interfaces/UserOperationBoolExp.d.ts +21 -0
  175. package/dist/interfaces/UserOperationDistinctExp.d.ts +10 -0
  176. package/dist/interfaces/UserOperationInput.d.ts +18 -0
  177. package/dist/interfaces/UserOperationOrderBy.d.ts +10 -0
  178. package/dist/interfaces/VariableType.d.ts +10 -0
  179. package/dist/interfaces/VisitorLog.d.ts +26 -0
  180. package/dist/interfaces/VisitorLogBoolExp.d.ts +33 -0
  181. package/dist/interfaces/VisitorLogDistinctExp.d.ts +24 -0
  182. package/dist/interfaces/VisitorLogInput.d.ts +27 -0
  183. package/dist/interfaces/VisitorLogOrderBy.d.ts +24 -0
  184. package/dist/interfaces/VistType.d.ts +14 -0
  185. package/dist/interfaces/Website.d.ts +12 -8
  186. package/dist/interfaces/WebsiteBoolExp.d.ts +9 -6
  187. package/dist/interfaces/WebsiteInput.d.ts +9 -6
  188. package/dist/interfaces/WebsiteSnapshot.d.ts +11 -0
  189. package/dist/interfaces/WebsiteSnapshotBoolExp.d.ts +11 -0
  190. package/dist/interfaces/WebsiteSnapshotDistinctExp.d.ts +4 -0
  191. package/dist/interfaces/WebsiteSnapshotInput.d.ts +12 -0
  192. package/dist/interfaces/WebsiteSnapshotOrderBy.d.ts +4 -0
  193. package/dist/interfaces/index.d.ts +61 -16
  194. package/package.json +2 -2
  195. package/dist/classes/VideoFolderQueryOptions.d.ts +0 -26
  196. package/dist/classes/VideoQueryOptions.d.ts +0 -31
  197. package/dist/entries/videoFolderEntry.d.ts +0 -2
  198. package/dist/fields/VideoFields.d.ts +0 -20
  199. package/dist/fields/VideoFolderFields.d.ts +0 -17
  200. package/dist/interfaces/PropsFields.d.ts +0 -8
  201. package/dist/interfaces/Video.d.ts +0 -27
  202. package/dist/interfaces/VideoBoolExp.d.ts +0 -29
  203. package/dist/interfaces/VideoDistinctExp.d.ts +0 -15
  204. package/dist/interfaces/VideoFolder.d.ts +0 -23
  205. package/dist/interfaces/VideoFolderBoolExp.d.ts +0 -24
  206. package/dist/interfaces/VideoFolderDistinctExp.d.ts +0 -10
  207. package/dist/interfaces/VideoFolderInput.d.ts +0 -23
  208. package/dist/interfaces/VideoFolderOrderBy.d.ts +0 -11
  209. package/dist/interfaces/VideoInput.d.ts +0 -28
  210. package/dist/interfaces/VideoOrderBy.d.ts +0 -16
@@ -1,47 +1,18 @@
1
1
  import { Theme } from './Theme';
2
- import { ThemeSettings } from './ThemeSettings';
2
+ import { ThemeBranchInput } from './ThemeBranchInput';
3
3
  import { MediaInput } from './MediaInput';
4
- import { FrontComponentInput } from './FrontComponentInput';
5
- import { ComponentCategoryInput } from './ComponentCategoryInput';
6
- import { PageInput } from './PageInput';
7
- import { LangInput } from './LangInput';
8
- import { ThemeConfigInput } from './ThemeConfigInput';
9
- import { SectionTemplateInput } from './SectionTemplateInput';
10
- import { TemplateCategoryInput } from './TemplateCategoryInput';
11
- import { StyleConfigInput } from './StyleConfigInput';
12
- import { ThemeVersionInput } from './ThemeVersionInput';
13
- import { WebsiteInput } from './WebsiteInput';
14
4
  import { ThemeCategoryInput } from './ThemeCategoryInput';
15
5
  import { SetHasMany } from '@rxdrag/entify-lib';
16
6
  import { SetHasOne } from '@rxdrag/entify-lib';
17
7
  export interface ThemeInput {
18
8
  id?: string | null;
19
9
  name?: string;
20
- settings?: ThemeSettings;
21
10
  description?: string;
22
- /**
23
- * 是否在主题市场
24
- */
25
- isInMarket?: boolean;
26
- /**
27
- * 对应市场母主题ID
28
- */
29
- parentThemeId?: string | null;
30
11
  createdAt?: Date;
31
12
  updatedAt?: Date;
32
- status?: string;
33
- seqValue?: number;
13
+ seqValue?: boolean;
14
+ branches?: SetHasMany<ThemeBranchInput>;
34
15
  cover?: SetHasOne<MediaInput>;
35
- components?: SetHasMany<FrontComponentInput>;
36
- componentCategories?: SetHasMany<ComponentCategoryInput>;
37
- pages?: SetHasMany<PageInput>;
38
- lang?: SetHasOne<LangInput>;
39
- config?: SetHasOne<ThemeConfigInput>;
40
- templates?: SetHasMany<SectionTemplateInput>;
41
- templateCategories?: SetHasMany<TemplateCategoryInput>;
42
- styleConfig?: SetHasOne<StyleConfigInput>;
43
- marketVersion?: SetHasOne<ThemeVersionInput>;
44
- website?: SetHasOne<WebsiteInput>;
45
16
  category?: SetHasOne<ThemeCategoryInput>;
46
17
  }
47
18
  export declare const themeToInputCascade: (entity: Theme) => ThemeInput;
@@ -2,18 +2,8 @@ import { OrderBy } from '@rxdrag/entify-lib';
2
2
  export interface ThemeOrderBy {
3
3
  id?: OrderBy;
4
4
  name?: OrderBy;
5
- settings?: OrderBy;
6
5
  description?: OrderBy;
7
- /**
8
- * 是否在主题市场
9
- */
10
- isInMarket?: OrderBy;
11
- /**
12
- * 对应市场母主题ID
13
- */
14
- parentThemeId?: OrderBy;
15
6
  createdAt?: OrderBy;
16
7
  updatedAt?: OrderBy;
17
- status?: OrderBy;
18
8
  seqValue?: OrderBy;
19
9
  }
@@ -1,8 +1,13 @@
1
1
  import { ProductSettings } from './ProductSettings';
2
2
  import { PostSettings } from './PostSettings';
3
3
  import { FormSettings } from './FormSettings';
4
+ import { ImageSizes } from './ImageSizes';
5
+ import { EnquirySettings } from './EnquirySettings';
4
6
  export interface ThemeSettings {
5
7
  product?: ProductSettings;
6
8
  post?: PostSettings;
7
9
  form?: FormSettings;
10
+ imageSizes?: ImageSizes;
11
+ googleFonts?: string;
12
+ enquiry?: EnquirySettings;
8
13
  }
@@ -1,10 +1,10 @@
1
- import { Theme } from './Theme';
1
+ import { ThemeBranch } from './ThemeBranch';
2
2
  import { ThemeInMarket } from './ThemeInMarket';
3
3
  export declare const ThemeVersionEntityName = "ThemeVersion";
4
4
  export declare const ThemeVersionEntityLabel = "";
5
5
  export interface ThemeVersion {
6
6
  id?: string | null;
7
7
  version?: string;
8
- theme?: Theme;
8
+ theme?: ThemeBranch;
9
9
  themeInMarket?: ThemeInMarket;
10
10
  }
@@ -1,6 +1,6 @@
1
1
  import { IdComparisonExp } from './IdComparisonExp';
2
2
  import { StringComparisonExp } from './StringComparisonExp';
3
- import { ThemeBoolExp } from './ThemeBoolExp';
3
+ import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
4
4
  import { ThemeInMarketBoolExp } from './ThemeInMarketBoolExp';
5
5
  export interface ThemeVersionBoolExp {
6
6
  _and?: ThemeVersionBoolExp[];
@@ -8,6 +8,6 @@ export interface ThemeVersionBoolExp {
8
8
  _not?: ThemeVersionBoolExp;
9
9
  id?: IdComparisonExp;
10
10
  version?: StringComparisonExp;
11
- theme?: ThemeBoolExp;
11
+ theme?: ThemeBranchBoolExp;
12
12
  themeInMarket?: ThemeInMarketBoolExp;
13
13
  }
@@ -1,11 +1,11 @@
1
1
  import { ThemeVersion } from './ThemeVersion';
2
- import { ThemeInput } from './ThemeInput';
2
+ import { ThemeBranchInput } from './ThemeBranchInput';
3
3
  import { ThemeInMarketInput } from './ThemeInMarketInput';
4
4
  import { SetHasOne } from '@rxdrag/entify-lib';
5
5
  export interface ThemeVersionInput {
6
6
  id?: string | null;
7
7
  version?: string;
8
- theme?: SetHasOne<ThemeInput>;
8
+ theme?: SetHasOne<ThemeBranchInput>;
9
9
  themeInMarket?: SetHasOne<ThemeInMarketInput>;
10
10
  }
11
11
  export declare const themeVersionToInputCascade: (entity: ThemeVersion) => ThemeVersionInput;
@@ -1,6 +1,7 @@
1
1
  import { Role } from './Role';
2
2
  import { Media } from './Media';
3
3
  import { Product } from './Product';
4
+ import { UserOperation } from './UserOperation';
4
5
  import { Post } from './Post';
5
6
  import { Website } from './Website';
6
7
  import { Aggregate } from './Aggregate';
@@ -19,11 +20,15 @@ export interface User extends WebsiteUser {
19
20
  roles?: Role[];
20
21
  avatar?: Media;
21
22
  products?: Product[];
23
+ operations?: UserOperation[];
24
+ medias?: Media[];
22
25
  posts?: Post[];
23
26
  websites?: Website[];
24
27
  website?: Website;
25
28
  rolesAggregate?: Aggregate;
26
29
  productsAggregate?: Aggregate;
30
+ operationsAggregate?: Aggregate;
31
+ mediasAggregate?: Aggregate;
27
32
  postsAggregate?: Aggregate;
28
33
  websitesAggregate?: Aggregate;
29
34
  }
@@ -6,6 +6,7 @@ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
6
6
  import { RoleBoolExp } from './RoleBoolExp';
7
7
  import { MediaBoolExp } from './MediaBoolExp';
8
8
  import { ProductBoolExp } from './ProductBoolExp';
9
+ import { UserOperationBoolExp } from './UserOperationBoolExp';
9
10
  import { PostBoolExp } from './PostBoolExp';
10
11
  import { WebsiteBoolExp } from './WebsiteBoolExp';
11
12
  export interface UserBoolExp extends WebsiteUserBoolExp {
@@ -23,6 +24,8 @@ export interface UserBoolExp extends WebsiteUserBoolExp {
23
24
  roles?: RoleBoolExp;
24
25
  avatar?: MediaBoolExp;
25
26
  products?: ProductBoolExp;
27
+ operations?: UserOperationBoolExp;
28
+ medias?: MediaBoolExp;
26
29
  posts?: PostBoolExp;
27
30
  websites?: WebsiteBoolExp;
28
31
  website?: WebsiteBoolExp;
@@ -2,6 +2,7 @@ import { User } from './User';
2
2
  import { RoleInput } from './RoleInput';
3
3
  import { MediaInput } from './MediaInput';
4
4
  import { ProductInput } from './ProductInput';
5
+ import { UserOperationInput } from './UserOperationInput';
5
6
  import { PostInput } from './PostInput';
6
7
  import { WebsiteInput } from './WebsiteInput';
7
8
  import { SetHasMany } from '@rxdrag/entify-lib';
@@ -19,6 +20,8 @@ export interface UserInput extends WebsiteUser {
19
20
  roles?: SetHasMany<RoleInput>;
20
21
  avatar?: SetHasOne<MediaInput>;
21
22
  products?: SetHasMany<ProductInput>;
23
+ operations?: SetHasMany<UserOperationInput>;
24
+ medias?: SetHasMany<MediaInput>;
22
25
  posts?: SetHasMany<PostInput>;
23
26
  websites?: SetHasMany<WebsiteInput>;
24
27
  website?: SetHasOne<WebsiteInput>;
@@ -0,0 +1,16 @@
1
+ import { AppModule } from './AppModule';
2
+ import { User } from './User';
3
+ import { Website } from './Website';
4
+ export declare const UserOperationEntityName = "UserOperation";
5
+ export declare const UserOperationEntityLabel = "";
6
+ export interface UserOperation {
7
+ id?: string | null;
8
+ type?: string;
9
+ createdAt?: Date;
10
+ title?: string;
11
+ description?: string;
12
+ module?: AppModule;
13
+ langId?: string | null;
14
+ user?: User;
15
+ website?: Website;
16
+ }
@@ -0,0 +1,21 @@
1
+ import { AppModule } from './AppModule';
2
+ import { IdComparisonExp } from './IdComparisonExp';
3
+ import { StringComparisonExp } from './StringComparisonExp';
4
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
5
+ import { EnumComparisonExp } from './EnumComparisonExp';
6
+ import { UserBoolExp } from './UserBoolExp';
7
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
8
+ export interface UserOperationBoolExp {
9
+ _and?: UserOperationBoolExp[];
10
+ _or?: UserOperationBoolExp[];
11
+ _not?: UserOperationBoolExp;
12
+ id?: IdComparisonExp;
13
+ type?: StringComparisonExp;
14
+ createdAt?: DateTimeComparisonExp;
15
+ title?: StringComparisonExp;
16
+ description?: StringComparisonExp;
17
+ module?: EnumComparisonExp<AppModule>;
18
+ langId?: IdComparisonExp;
19
+ user?: UserBoolExp;
20
+ website?: WebsiteBoolExp;
21
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum UserOperationDistinctEnum {
2
+ id = "id",
3
+ type = "type",
4
+ createdAt = "createdAt",
5
+ title = "title",
6
+ description = "description",
7
+ module = "module",
8
+ langId = "langId"
9
+ }
10
+ export type UserOperationDistinctExp = UserOperationDistinctEnum;
@@ -0,0 +1,18 @@
1
+ import { UserOperation } from './UserOperation';
2
+ import { AppModule } from './AppModule';
3
+ import { UserInput } from './UserInput';
4
+ import { WebsiteInput } from './WebsiteInput';
5
+ import { SetHasOne } from '@rxdrag/entify-lib';
6
+ export interface UserOperationInput {
7
+ id?: string | null;
8
+ type?: string;
9
+ createdAt?: Date;
10
+ title?: string;
11
+ description?: string;
12
+ module?: AppModule;
13
+ langId?: string | null;
14
+ user?: SetHasOne<UserInput>;
15
+ website?: SetHasOne<WebsiteInput>;
16
+ }
17
+ export declare const userOperationToInputCascade: (entity: UserOperation) => UserOperationInput;
18
+ export declare const userOperationToInput: (entity: UserOperation) => UserOperationInput;
@@ -0,0 +1,10 @@
1
+ import { OrderBy } from '@rxdrag/entify-lib';
2
+ export interface UserOperationOrderBy {
3
+ id?: OrderBy;
4
+ type?: OrderBy;
5
+ createdAt?: OrderBy;
6
+ title?: OrderBy;
7
+ description?: OrderBy;
8
+ module?: OrderBy;
9
+ langId?: OrderBy;
10
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum VariableType {
2
+ /**
3
+ * label: undefined
4
+ */
5
+ Single = "Single",
6
+ /**
7
+ * label: undefined
8
+ */
9
+ Array = "Array"
10
+ }
@@ -0,0 +1,26 @@
1
+ import { VistType } from './VistType';
2
+ export declare const VisitorLogEntityName = "VisitorLog";
3
+ export declare const VisitorLogEntityLabel = "";
4
+ export interface VisitorLog {
5
+ id?: string | null;
6
+ visitorId?: string;
7
+ sessionId?: string;
8
+ type?: VistType;
9
+ url?: string;
10
+ referrer?: string;
11
+ duration?: number;
12
+ timestamp?: Date;
13
+ userAgent?: string;
14
+ device?: string;
15
+ websiteId?: string | null;
16
+ langAbbr?: string;
17
+ country?: string;
18
+ city?: string;
19
+ ip?: string;
20
+ isNewUser?: boolean;
21
+ createdAt?: Date;
22
+ updatedAt?: Date;
23
+ browserLanguage?: string;
24
+ platform?: string;
25
+ pageTitle?: string;
26
+ }
@@ -0,0 +1,33 @@
1
+ import { VistType } from './VistType';
2
+ import { IdComparisonExp } from './IdComparisonExp';
3
+ import { StringComparisonExp } from './StringComparisonExp';
4
+ import { EnumComparisonExp } from './EnumComparisonExp';
5
+ import { NumberComparisonExp } from './NumberComparisonExp';
6
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
7
+ import { BooleanComparisonExp } from './BooleanComparisonExp';
8
+ export interface VisitorLogBoolExp {
9
+ _and?: VisitorLogBoolExp[];
10
+ _or?: VisitorLogBoolExp[];
11
+ _not?: VisitorLogBoolExp;
12
+ id?: IdComparisonExp;
13
+ visitorId?: StringComparisonExp;
14
+ sessionId?: StringComparisonExp;
15
+ type?: EnumComparisonExp<VistType>;
16
+ url?: StringComparisonExp;
17
+ referrer?: StringComparisonExp;
18
+ duration?: NumberComparisonExp;
19
+ timestamp?: DateTimeComparisonExp;
20
+ userAgent?: StringComparisonExp;
21
+ device?: StringComparisonExp;
22
+ websiteId?: IdComparisonExp;
23
+ langAbbr?: StringComparisonExp;
24
+ country?: StringComparisonExp;
25
+ city?: StringComparisonExp;
26
+ ip?: StringComparisonExp;
27
+ isNewUser?: BooleanComparisonExp;
28
+ createdAt?: DateTimeComparisonExp;
29
+ updatedAt?: DateTimeComparisonExp;
30
+ browserLanguage?: StringComparisonExp;
31
+ platform?: StringComparisonExp;
32
+ pageTitle?: StringComparisonExp;
33
+ }
@@ -0,0 +1,24 @@
1
+ export declare enum VisitorLogDistinctEnum {
2
+ id = "id",
3
+ visitorId = "visitorId",
4
+ sessionId = "sessionId",
5
+ type = "type",
6
+ url = "url",
7
+ referrer = "referrer",
8
+ duration = "duration",
9
+ timestamp = "timestamp",
10
+ userAgent = "userAgent",
11
+ device = "device",
12
+ websiteId = "websiteId",
13
+ langAbbr = "langAbbr",
14
+ country = "country",
15
+ city = "city",
16
+ ip = "ip",
17
+ isNewUser = "isNewUser",
18
+ createdAt = "createdAt",
19
+ updatedAt = "updatedAt",
20
+ browserLanguage = "browserLanguage",
21
+ platform = "platform",
22
+ pageTitle = "pageTitle"
23
+ }
24
+ export type VisitorLogDistinctExp = VisitorLogDistinctEnum;
@@ -0,0 +1,27 @@
1
+ import { VisitorLog } from './VisitorLog';
2
+ import { VistType } from './VistType';
3
+ export interface VisitorLogInput {
4
+ id?: string | null;
5
+ visitorId?: string;
6
+ sessionId?: string;
7
+ type?: VistType;
8
+ url?: string;
9
+ referrer?: string;
10
+ duration?: number;
11
+ timestamp?: Date;
12
+ userAgent?: string;
13
+ device?: string;
14
+ websiteId?: string | null;
15
+ langAbbr?: string;
16
+ country?: string;
17
+ city?: string;
18
+ ip?: string;
19
+ isNewUser?: boolean;
20
+ createdAt?: Date;
21
+ updatedAt?: Date;
22
+ browserLanguage?: string;
23
+ platform?: string;
24
+ pageTitle?: string;
25
+ }
26
+ export declare const visitorLogToInputCascade: (entity: VisitorLog) => VisitorLogInput;
27
+ export declare const visitorLogToInput: (entity: VisitorLog) => VisitorLogInput;
@@ -0,0 +1,24 @@
1
+ import { OrderBy } from '@rxdrag/entify-lib';
2
+ export interface VisitorLogOrderBy {
3
+ id?: OrderBy;
4
+ visitorId?: OrderBy;
5
+ sessionId?: OrderBy;
6
+ type?: OrderBy;
7
+ url?: OrderBy;
8
+ referrer?: OrderBy;
9
+ duration?: OrderBy;
10
+ timestamp?: OrderBy;
11
+ userAgent?: OrderBy;
12
+ device?: OrderBy;
13
+ websiteId?: OrderBy;
14
+ langAbbr?: OrderBy;
15
+ country?: OrderBy;
16
+ city?: OrderBy;
17
+ ip?: OrderBy;
18
+ isNewUser?: OrderBy;
19
+ createdAt?: OrderBy;
20
+ updatedAt?: OrderBy;
21
+ browserLanguage?: OrderBy;
22
+ platform?: OrderBy;
23
+ pageTitle?: OrderBy;
24
+ }
@@ -0,0 +1,14 @@
1
+ export declare enum VistType {
2
+ /**
3
+ * label: undefined
4
+ */
5
+ pageView = "pageView",
6
+ /**
7
+ * label: undefined
8
+ */
9
+ pageLeave = "pageLeave",
10
+ /**
11
+ * label: undefined
12
+ */
13
+ enquiry = "enquiry"
14
+ }
@@ -10,14 +10,15 @@ import { Customer } from './Customer';
10
10
  import { ProductCategory } from './ProductCategory';
11
11
  import { SpamFilterRule } from './SpamFilterRule';
12
12
  import { Media } from './Media';
13
- import { VideoFolder } from './VideoFolder';
14
- import { Video } from './Video';
15
13
  import { Lang } from './Lang';
16
- import { Theme } from './Theme';
14
+ import { ThemeBranch } from './ThemeBranch';
17
15
  import { AnalyticsConfig } from './AnalyticsConfig';
18
16
  import { WebsiteSettings } from './WebsiteSettings';
19
17
  import { ChangeLog } from './ChangeLog';
20
18
  import { SearchIndex } from './SearchIndex';
19
+ import { Bulletin } from './Bulletin';
20
+ import { WebsiteSnapshot } from './WebsiteSnapshot';
21
+ import { UserOperation } from './UserOperation';
21
22
  import { Aggregate } from './Aggregate';
22
23
  export declare const WebsiteEntityName = "Website";
23
24
  export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
@@ -70,15 +71,17 @@ export interface Website {
70
71
  partsOfProductCategory?: ProductCategory[];
71
72
  partsOfSpamFilterRule?: SpamFilterRule[];
72
73
  partsOfMedia?: Media[];
73
- partsOfVideoFolder?: VideoFolder[];
74
- partsOfVideo?: Video[];
75
74
  langs?: Lang[];
76
75
  baseLang?: Lang;
77
- themes?: Theme[];
76
+ themes?: ThemeBranch[];
78
77
  analyticsConfig?: AnalyticsConfig;
79
78
  settings?: WebsiteSettings;
80
79
  changelogs?: ChangeLog[];
81
80
  searchIndexes?: SearchIndex[];
81
+ bulletins?: Bulletin[];
82
+ snapshots?: WebsiteSnapshot[];
83
+ userOperations?: UserOperation[];
84
+ mockBranch?: ThemeBranch;
82
85
  usersAggregate?: Aggregate;
83
86
  partsOfMediaFolderAggregate?: Aggregate;
84
87
  partsOfEnquiryAggregate?: Aggregate;
@@ -90,10 +93,11 @@ export interface Website {
90
93
  partsOfProductCategoryAggregate?: Aggregate;
91
94
  partsOfSpamFilterRuleAggregate?: Aggregate;
92
95
  partsOfMediaAggregate?: Aggregate;
93
- partsOfVideoFolderAggregate?: Aggregate;
94
- partsOfVideoAggregate?: Aggregate;
95
96
  langsAggregate?: Aggregate;
96
97
  themesAggregate?: Aggregate;
97
98
  changelogsAggregate?: Aggregate;
98
99
  searchIndexesAggregate?: Aggregate;
100
+ bulletinsAggregate?: Aggregate;
101
+ snapshotsAggregate?: Aggregate;
102
+ userOperationsAggregate?: Aggregate;
99
103
  }
@@ -13,14 +13,15 @@ import { CustomerBoolExp } from './CustomerBoolExp';
13
13
  import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
14
14
  import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
15
15
  import { MediaBoolExp } from './MediaBoolExp';
16
- import { VideoFolderBoolExp } from './VideoFolderBoolExp';
17
- import { VideoBoolExp } from './VideoBoolExp';
18
16
  import { LangBoolExp } from './LangBoolExp';
19
- import { ThemeBoolExp } from './ThemeBoolExp';
17
+ import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
20
18
  import { AnalyticsConfigBoolExp } from './AnalyticsConfigBoolExp';
21
19
  import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
22
20
  import { ChangeLogBoolExp } from './ChangeLogBoolExp';
23
21
  import { SearchIndexBoolExp } from './SearchIndexBoolExp';
22
+ import { BulletinBoolExp } from './BulletinBoolExp';
23
+ import { WebsiteSnapshotBoolExp } from './WebsiteSnapshotBoolExp';
24
+ import { UserOperationBoolExp } from './UserOperationBoolExp';
24
25
  /**
25
26
  * 站点
26
27
  * 网站实体
@@ -52,13 +53,15 @@ export interface WebsiteBoolExp {
52
53
  partsOfProductCategory?: ProductCategoryBoolExp;
53
54
  partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
54
55
  partsOfMedia?: MediaBoolExp;
55
- partsOfVideoFolder?: VideoFolderBoolExp;
56
- partsOfVideo?: VideoBoolExp;
57
56
  langs?: LangBoolExp;
58
57
  baseLang?: LangBoolExp;
59
- themes?: ThemeBoolExp;
58
+ themes?: ThemeBranchBoolExp;
60
59
  analyticsConfig?: AnalyticsConfigBoolExp;
61
60
  settings?: WebsiteSettingsBoolExp;
62
61
  changelogs?: ChangeLogBoolExp;
63
62
  searchIndexes?: SearchIndexBoolExp;
63
+ bulletins?: BulletinBoolExp;
64
+ snapshots?: WebsiteSnapshotBoolExp;
65
+ userOperations?: UserOperationBoolExp;
66
+ mockBranch?: ThemeBranchBoolExp;
64
67
  }
@@ -11,14 +11,15 @@ import { CustomerInput } from './CustomerInput';
11
11
  import { ProductCategoryInput } from './ProductCategoryInput';
12
12
  import { SpamFilterRuleInput } from './SpamFilterRuleInput';
13
13
  import { MediaInput } from './MediaInput';
14
- import { VideoFolderInput } from './VideoFolderInput';
15
- import { VideoInput } from './VideoInput';
16
14
  import { LangInput } from './LangInput';
17
- import { ThemeInput } from './ThemeInput';
15
+ import { ThemeBranchInput } from './ThemeBranchInput';
18
16
  import { AnalyticsConfigInput } from './AnalyticsConfigInput';
19
17
  import { WebsiteSettingsInput } from './WebsiteSettingsInput';
20
18
  import { ChangeLogInput } from './ChangeLogInput';
21
19
  import { SearchIndexInput } from './SearchIndexInput';
20
+ import { BulletinInput } from './BulletinInput';
21
+ import { WebsiteSnapshotInput } from './WebsiteSnapshotInput';
22
+ import { UserOperationInput } from './UserOperationInput';
22
23
  import { SetHasMany } from '@rxdrag/entify-lib';
23
24
  import { SetHasOne } from '@rxdrag/entify-lib';
24
25
  /**
@@ -70,15 +71,17 @@ export interface WebsiteInput {
70
71
  partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
71
72
  partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
72
73
  partsOfMedia?: SetHasMany<MediaInput>;
73
- partsOfVideoFolder?: SetHasMany<VideoFolderInput>;
74
- partsOfVideo?: SetHasMany<VideoInput>;
75
74
  langs?: SetHasMany<LangInput>;
76
75
  baseLang?: SetHasOne<LangInput>;
77
- themes?: SetHasMany<ThemeInput>;
76
+ themes?: SetHasMany<ThemeBranchInput>;
78
77
  analyticsConfig?: SetHasOne<AnalyticsConfigInput>;
79
78
  settings?: SetHasOne<WebsiteSettingsInput>;
80
79
  changelogs?: SetHasMany<ChangeLogInput>;
81
80
  searchIndexes?: SetHasMany<SearchIndexInput>;
81
+ bulletins?: SetHasMany<BulletinInput>;
82
+ snapshots?: SetHasMany<WebsiteSnapshotInput>;
83
+ userOperations?: SetHasMany<UserOperationInput>;
84
+ mockBranch?: SetHasOne<ThemeBranchInput>;
82
85
  }
83
86
  export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
84
87
  export declare const websiteToInput: (entity: Website) => WebsiteInput;
@@ -0,0 +1,11 @@
1
+ import { Media } from './Media';
2
+ import { Website } from './Website';
3
+ import { Aggregate } from './Aggregate';
4
+ export declare const WebsiteSnapshotEntityName = "WebsiteSnapshot";
5
+ export declare const WebsiteSnapshotEntityLabel = "";
6
+ export interface WebsiteSnapshot {
7
+ id?: string | null;
8
+ medias?: Media[];
9
+ website?: Website;
10
+ mediasAggregate?: Aggregate;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { IdComparisonExp } from './IdComparisonExp';
2
+ import { MediaBoolExp } from './MediaBoolExp';
3
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
4
+ export interface WebsiteSnapshotBoolExp {
5
+ _and?: WebsiteSnapshotBoolExp[];
6
+ _or?: WebsiteSnapshotBoolExp[];
7
+ _not?: WebsiteSnapshotBoolExp;
8
+ id?: IdComparisonExp;
9
+ medias?: MediaBoolExp;
10
+ website?: WebsiteBoolExp;
11
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum WebsiteSnapshotDistinctEnum {
2
+ id = "id"
3
+ }
4
+ export type WebsiteSnapshotDistinctExp = WebsiteSnapshotDistinctEnum;
@@ -0,0 +1,12 @@
1
+ import { WebsiteSnapshot } from './WebsiteSnapshot';
2
+ import { MediaInput } from './MediaInput';
3
+ import { WebsiteInput } from './WebsiteInput';
4
+ import { SetHasMany } from '@rxdrag/entify-lib';
5
+ import { SetHasOne } from '@rxdrag/entify-lib';
6
+ export interface WebsiteSnapshotInput {
7
+ id?: string | null;
8
+ medias?: SetHasMany<MediaInput>;
9
+ website?: SetHasOne<WebsiteInput>;
10
+ }
11
+ export declare const websiteSnapshotToInputCascade: (entity: WebsiteSnapshot) => WebsiteSnapshotInput;
12
+ export declare const websiteSnapshotToInput: (entity: WebsiteSnapshot) => WebsiteSnapshotInput;
@@ -0,0 +1,4 @@
1
+ import { OrderBy } from '@rxdrag/entify-lib';
2
+ export interface WebsiteSnapshotOrderBy {
3
+ id?: OrderBy;
4
+ }