@rxdrag/rxcms-models 0.3.33 → 0.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/classes/ComponentCategoryQueryOptions.d.ts +19 -0
  2. package/dist/classes/FrontComponentQueryOptions.d.ts +23 -0
  3. package/dist/classes/PageQueryOptions.d.ts +1 -1
  4. package/dist/classes/TemplateQueryOptions.d.ts +0 -4
  5. package/dist/classes/ThemeQueryOptions.d.ts +12 -0
  6. package/dist/classes/UserQueryOptions.d.ts +1 -1
  7. package/dist/classes/WebsiteQueryOptions.d.ts +2 -3
  8. package/dist/classes/index.d.ts +2 -0
  9. package/dist/entries/componentCategoryEntry.d.ts +2 -0
  10. package/dist/entries/frontComponentEntry.d.ts +2 -0
  11. package/dist/entries/index.d.ts +2 -0
  12. package/dist/fields/ComponentCategoryFields.d.ts +12 -0
  13. package/dist/fields/FrontComponentFields.d.ts +17 -0
  14. package/dist/fields/PageFields.d.ts +1 -1
  15. package/dist/fields/TemplateFields.d.ts +0 -4
  16. package/dist/fields/ThemeFields.d.ts +6 -0
  17. package/dist/fields/UserFields.d.ts +1 -1
  18. package/dist/fields/WebsiteFields.d.ts +0 -1
  19. package/dist/fields/index.d.ts +2 -0
  20. package/dist/index.mjs +424 -165
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/interfaces/Ability.d.ts +2 -2
  23. package/dist/interfaces/AbilityInput.d.ts +2 -2
  24. package/dist/interfaces/AttachmentOnProduct.d.ts +1 -1
  25. package/dist/interfaces/AttachmentOnProductInput.d.ts +1 -1
  26. package/dist/interfaces/ComponentCategory.d.ts +15 -0
  27. package/dist/interfaces/ComponentCategoryBoolExp.d.ts +18 -0
  28. package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +8 -0
  29. package/dist/interfaces/ComponentCategoryInput.d.ts +16 -0
  30. package/dist/interfaces/ComponentCategoryOrderBy.d.ts +8 -0
  31. package/dist/interfaces/ComponentType.d.ts +32 -8
  32. package/dist/interfaces/Customer.d.ts +1 -1
  33. package/dist/interfaces/CustomerInput.d.ts +1 -1
  34. package/dist/interfaces/Enquiry.d.ts +1 -1
  35. package/dist/interfaces/EnquiryInput.d.ts +1 -1
  36. package/dist/interfaces/ExtendField.d.ts +1 -0
  37. package/dist/interfaces/FrontComponent.d.ts +20 -0
  38. package/dist/interfaces/FrontComponentBoolExp.d.ts +25 -0
  39. package/dist/interfaces/FrontComponentDistinctExp.d.ts +14 -0
  40. package/dist/interfaces/FrontComponentInput.d.ts +22 -0
  41. package/dist/interfaces/FrontComponentOrderBy.d.ts +14 -0
  42. package/dist/interfaces/IdComparisonExp.d.ts +1 -1
  43. package/dist/interfaces/Lang.d.ts +1 -1
  44. package/dist/interfaces/LangInput.d.ts +1 -1
  45. package/dist/interfaces/Mail.d.ts +1 -1
  46. package/dist/interfaces/MailInput.d.ts +1 -1
  47. package/dist/interfaces/Media.d.ts +1 -1
  48. package/dist/interfaces/MediaFolder.d.ts +1 -1
  49. package/dist/interfaces/MediaFolderInput.d.ts +1 -1
  50. package/dist/interfaces/MediaInput.d.ts +1 -1
  51. package/dist/interfaces/MediaOnProduct.d.ts +1 -1
  52. package/dist/interfaces/MediaOnProductInput.d.ts +1 -1
  53. package/dist/interfaces/OgMeta.d.ts +1 -1
  54. package/dist/interfaces/Page.d.ts +3 -2
  55. package/dist/interfaces/PageBoolExp.d.ts +3 -1
  56. package/dist/interfaces/PageDistinctExp.d.ts +1 -0
  57. package/dist/interfaces/PageInput.d.ts +3 -2
  58. package/dist/interfaces/PageOrderBy.d.ts +1 -0
  59. package/dist/interfaces/{TemplateType.d.ts → PageType.d.ts} +16 -12
  60. package/dist/interfaces/Person.d.ts +1 -1
  61. package/dist/interfaces/Post.d.ts +1 -1
  62. package/dist/interfaces/PostCategory.d.ts +1 -1
  63. package/dist/interfaces/PostCategoryInput.d.ts +1 -1
  64. package/dist/interfaces/PostInput.d.ts +1 -1
  65. package/dist/interfaces/Product.d.ts +1 -1
  66. package/dist/interfaces/ProductCategory.d.ts +1 -1
  67. package/dist/interfaces/ProductCategoryInput.d.ts +1 -1
  68. package/dist/interfaces/ProductInput.d.ts +1 -1
  69. package/dist/interfaces/ProductRelatedPivot.d.ts +1 -1
  70. package/dist/interfaces/ProductRelatedPivotInput.d.ts +1 -1
  71. package/dist/interfaces/PropsFields.d.ts +8 -0
  72. package/dist/interfaces/Publishable.d.ts +1 -1
  73. package/dist/interfaces/Role.d.ts +1 -1
  74. package/dist/interfaces/RoleInput.d.ts +1 -1
  75. package/dist/interfaces/SeoMeta.d.ts +1 -1
  76. package/dist/interfaces/Slugable.d.ts +1 -1
  77. package/dist/interfaces/SpamFilterRule.d.ts +1 -1
  78. package/dist/interfaces/SpamFilterRuleInput.d.ts +1 -1
  79. package/dist/interfaces/Tag.d.ts +1 -1
  80. package/dist/interfaces/TagInput.d.ts +1 -1
  81. package/dist/interfaces/Template.d.ts +1 -6
  82. package/dist/interfaces/TemplateBoolExp.d.ts +0 -3
  83. package/dist/interfaces/TemplateCategory.d.ts +1 -1
  84. package/dist/interfaces/TemplateCategoryInput.d.ts +1 -1
  85. package/dist/interfaces/TemplateDistinctExp.d.ts +0 -4
  86. package/dist/interfaces/TemplateInput.d.ts +1 -6
  87. package/dist/interfaces/TemplateOrderBy.d.ts +0 -4
  88. package/dist/interfaces/Theme.d.ts +9 -1
  89. package/dist/interfaces/ThemeBoolExp.d.ts +6 -0
  90. package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
  91. package/dist/interfaces/ThemeInput.d.ts +7 -1
  92. package/dist/interfaces/ThemeOrderBy.d.ts +2 -0
  93. package/dist/interfaces/User.d.ts +1 -1
  94. package/dist/interfaces/UserDistinctExp.d.ts +1 -1
  95. package/dist/interfaces/UserInput.d.ts +1 -1
  96. package/dist/interfaces/Website.d.ts +4 -5
  97. package/dist/interfaces/WebsiteBoolExp.d.ts +1 -2
  98. package/dist/interfaces/WebsiteContent.d.ts +1 -1
  99. package/dist/interfaces/WebsiteInput.d.ts +4 -5
  100. package/dist/interfaces/WebsitePart.d.ts +1 -1
  101. package/dist/interfaces/WebsiteSettings.d.ts +1 -1
  102. package/dist/interfaces/WebsiteSettingsInput.d.ts +1 -1
  103. package/dist/interfaces/WebsiteType.d.ts +1 -1
  104. package/dist/interfaces/WebsiteTypeInput.d.ts +1 -1
  105. package/dist/interfaces/WebsiteUser.d.ts +2 -2
  106. package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
  107. package/dist/interfaces/WebsiteUserDistinctExp.d.ts +1 -1
  108. package/dist/interfaces/WebsiteUserOrderBy.d.ts +1 -1
  109. package/dist/interfaces/index.d.ts +13 -1
  110. package/package.json +3 -3
@@ -8,7 +8,7 @@ import { Slugable } from './Slugable';
8
8
  export declare const ProductCategoryEntityName = "ProductCategory";
9
9
  export declare const ProductCategoryEntityLabel = "";
10
10
  export interface ProductCategory extends WebsitePart, Slugable {
11
- id?: string;
11
+ id?: string | null;
12
12
  name?: string;
13
13
  seqValue?: number;
14
14
  children?: ProductCategory[];
@@ -8,7 +8,7 @@ import { SetHasOne } from '@rxdrag/entify-hooks';
8
8
  import { WebsitePart } from './WebsitePart';
9
9
  import { Slugable } from './Slugable';
10
10
  export interface ProductCategoryInput extends WebsitePart, Slugable {
11
- id?: string;
11
+ id?: string | null;
12
12
  name?: string;
13
13
  seqValue?: number;
14
14
  children?: SetHasMany<ProductCategoryInput>;
@@ -12,7 +12,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
12
12
  import { SetHasOne } from '@rxdrag/entify-hooks';
13
13
  import { Publishable } from './Publishable';
14
14
  export interface ProductInput extends Publishable {
15
- id?: string;
15
+ id?: string | null;
16
16
  published?: boolean;
17
17
  featured?: boolean;
18
18
  showInNavMenu?: boolean;
@@ -2,7 +2,7 @@ import { Product } from './Product';
2
2
  export declare const ProductRelatedPivotEntityName = "ProductRelatedPivot";
3
3
  export declare const ProductRelatedPivotEntityLabel = "";
4
4
  export interface ProductRelatedPivot {
5
- id?: string;
5
+ id?: string | null;
6
6
  seqValue?: number;
7
7
  target?: Product;
8
8
  source?: Product;
@@ -2,7 +2,7 @@ import { ProductRelatedPivot } from './ProductRelatedPivot';
2
2
  import { ProductInput } from './ProductInput';
3
3
  import { SetHasOne } from '@rxdrag/entify-hooks';
4
4
  export interface ProductRelatedPivotInput {
5
- id?: string;
5
+ id?: string | null;
6
6
  seqValue?: number;
7
7
  target?: SetHasOne<ProductInput>;
8
8
  source?: SetHasOne<ProductInput>;
@@ -0,0 +1,8 @@
1
+ import { ExtendField } from './ExtendField';
2
+ /**
3
+ * PropsFields
4
+ * 目前后值类数组还没完成,用这个类中转一下
5
+ */
6
+ export interface PropsFields {
7
+ items?: ExtendField[];
8
+ }
@@ -5,7 +5,7 @@ import { WebsiteContent } from './WebsiteContent';
5
5
  * 草稿发布是一个 复制的过程
6
6
  */
7
7
  export interface Publishable extends WebsiteContent {
8
- id?: string;
8
+ id?: string | null;
9
9
  publishedAt?: Date;
10
10
  status?: PublishableStatus;
11
11
  }
@@ -3,7 +3,7 @@ import { Aggregate } from './Aggregate';
3
3
  export declare const RoleEntityName = "Role";
4
4
  export declare const RoleEntityLabel = "";
5
5
  export interface Role {
6
- id?: string;
6
+ id?: string | null;
7
7
  name?: string;
8
8
  description?: string;
9
9
  createdAt?: Date;
@@ -2,7 +2,7 @@ import { Role } from './Role';
2
2
  import { UserInput } from './UserInput';
3
3
  import { SetHasMany } from '@rxdrag/entify-hooks';
4
4
  export interface RoleInput {
5
- id?: string;
5
+ id?: string | null;
6
6
  name?: string;
7
7
  description?: string;
8
8
  createdAt?: Date;
@@ -1,5 +1,5 @@
1
1
  export interface SeoMeta {
2
- id?: string;
2
+ id?: string | null;
3
3
  seoTitle?: string;
4
4
  seoKeywords?: string;
5
5
  seoDescription?: string;
@@ -1,5 +1,5 @@
1
1
  export interface Slugable {
2
- id?: string;
2
+ id?: string | null;
3
3
  slug?: string;
4
4
  description?: string;
5
5
  }
@@ -8,7 +8,7 @@ export declare const SpamFilterRuleEntityLabel = "\u5783\u573E\u8FC7\u6EE4\u89C4
8
8
  *
9
9
  */
10
10
  export interface SpamFilterRule extends WebsitePart {
11
- id?: string;
11
+ id?: string | null;
12
12
  emails?: string;
13
13
  ips?: string;
14
14
  keywords?: string;
@@ -8,7 +8,7 @@ import { WebsitePart } from './WebsitePart';
8
8
  *
9
9
  */
10
10
  export interface SpamFilterRuleInput extends WebsitePart {
11
- id?: string;
11
+ id?: string | null;
12
12
  emails?: string;
13
13
  ips?: string;
14
14
  keywords?: string;
@@ -11,7 +11,7 @@ export declare const TagEntityLabel = "\u6587\u7AE0\u6807\u7B7E";
11
11
  *
12
12
  */
13
13
  export interface Tag extends WebsitePart {
14
- id?: string;
14
+ id?: string | null;
15
15
  /**
16
16
  * 名称
17
17
  */
@@ -11,7 +11,7 @@ import { WebsitePart } from './WebsitePart';
11
11
  *
12
12
  */
13
13
  export interface TagInput extends WebsitePart {
14
- id?: string;
14
+ id?: string | null;
15
15
  /**
16
16
  * 名称
17
17
  */
@@ -1,4 +1,3 @@
1
- import { TemplateType } from './TemplateType';
2
1
  import { Lang } from './Lang';
3
2
  import { TemplateCategory } from './TemplateCategory';
4
3
  import { Theme } from './Theme';
@@ -7,14 +6,10 @@ import { WebsitePart } from './WebsitePart';
7
6
  export declare const TemplateEntityName = "Template";
8
7
  export declare const TemplateEntityLabel = "";
9
8
  export interface Template extends WebsitePart {
10
- id?: string;
9
+ id?: string | null;
11
10
  name?: string;
12
11
  seqValue?: number;
13
12
  content?: any;
14
- /**
15
- * 模板类型
16
- */
17
- templateType?: TemplateType;
18
13
  lang?: Lang;
19
14
  category?: TemplateCategory;
20
15
  theme?: Theme;
@@ -1,9 +1,7 @@
1
- import { TemplateType } from './TemplateType';
2
1
  import { WebsitePartBoolExp } from './WebsitePartBoolExp';
3
2
  import { IdComparisonExp } from './IdComparisonExp';
4
3
  import { StringComparisonExp } from './StringComparisonExp';
5
4
  import { NumberComparisonExp } from './NumberComparisonExp';
6
- import { EnumComparisonExp } from './EnumComparisonExp';
7
5
  import { LangBoolExp } from './LangBoolExp';
8
6
  import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
9
7
  import { ThemeBoolExp } from './ThemeBoolExp';
@@ -16,7 +14,6 @@ export interface TemplateBoolExp extends WebsitePartBoolExp {
16
14
  name?: StringComparisonExp;
17
15
  seqValue?: NumberComparisonExp;
18
16
  content?: unknown;
19
- templateType?: EnumComparisonExp<TemplateType>;
20
17
  lang?: LangBoolExp;
21
18
  category?: TemplateCategoryBoolExp;
22
19
  theme?: ThemeBoolExp;
@@ -7,7 +7,7 @@ import { WebsitePart } from './WebsitePart';
7
7
  export declare const TemplateCategoryEntityName = "TemplateCategory";
8
8
  export declare const TemplateCategoryEntityLabel = "";
9
9
  export interface TemplateCategory extends WebsitePart {
10
- id?: string;
10
+ id?: string | null;
11
11
  name?: string;
12
12
  seqValue?: number;
13
13
  templates?: Template[];
@@ -7,7 +7,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
7
7
  import { SetHasOne } from '@rxdrag/entify-hooks';
8
8
  import { WebsitePart } from './WebsitePart';
9
9
  export interface TemplateCategoryInput extends WebsitePart {
10
- id?: string;
10
+ id?: string | null;
11
11
  name?: string;
12
12
  seqValue?: number;
13
13
  templates?: SetHasMany<TemplateInput>;
@@ -4,10 +4,6 @@ export declare enum TemplateDistinctEnum {
4
4
  name = "name",
5
5
  seqValue = "seqValue",
6
6
  content = "content",
7
- /**
8
- * 模板类型
9
- */
10
- templateType = "templateType",
11
7
  createdAt = "createdAt",
12
8
  updatedAt = "updatedAt"
13
9
  }
@@ -1,5 +1,4 @@
1
1
  import { Template } from './Template';
2
- import { TemplateType } from './TemplateType';
3
2
  import { LangInput } from './LangInput';
4
3
  import { TemplateCategoryInput } from './TemplateCategoryInput';
5
4
  import { ThemeInput } from './ThemeInput';
@@ -7,14 +6,10 @@ import { WebsiteInput } from './WebsiteInput';
7
6
  import { SetHasOne } from '@rxdrag/entify-hooks';
8
7
  import { WebsitePart } from './WebsitePart';
9
8
  export interface TemplateInput extends WebsitePart {
10
- id?: string;
9
+ id?: string | null;
11
10
  name?: string;
12
11
  seqValue?: number;
13
12
  content?: any;
14
- /**
15
- * 模板类型
16
- */
17
- templateType?: TemplateType;
18
13
  lang?: SetHasOne<LangInput>;
19
14
  category?: SetHasOne<TemplateCategoryInput>;
20
15
  theme?: SetHasOne<ThemeInput>;
@@ -5,8 +5,4 @@ export interface TemplateOrderBy extends WebsitePartOrderBy {
5
5
  name?: OrderBy;
6
6
  seqValue?: OrderBy;
7
7
  content?: OrderBy;
8
- /**
9
- * 模板类型
10
- */
11
- templateType?: OrderBy;
12
8
  }
@@ -3,23 +3,31 @@ import { Template } from './Template';
3
3
  import { TemplateCategory } from './TemplateCategory';
4
4
  import { Lang } from './Lang';
5
5
  import { Media } from './Media';
6
+ import { FrontComponent } from './FrontComponent';
7
+ import { ComponentCategory } from './ComponentCategory';
6
8
  import { Website } from './Website';
7
9
  import { Aggregate } from './Aggregate';
8
10
  import { WebsitePart } from './WebsitePart';
9
11
  export declare const ThemeEntityName = "Theme";
10
12
  export declare const ThemeEntityLabel = "";
11
13
  export interface Theme extends WebsitePart {
12
- id?: string;
14
+ id?: string | null;
13
15
  name?: string;
14
16
  styles?: any;
15
17
  settings?: ThemeSettings;
16
18
  description?: string;
19
+ tailwindConfig?: string;
20
+ css?: string;
17
21
  templates?: Template[];
18
22
  themlateCategories?: TemplateCategory[];
19
23
  lang?: Lang;
20
24
  cover?: Media;
25
+ components?: FrontComponent[];
26
+ componentCategories?: ComponentCategory[];
21
27
  selectedBy?: Website;
22
28
  website?: Website;
23
29
  templatesAggregate?: Aggregate;
24
30
  themlateCategoriesAggregate?: Aggregate;
31
+ componentsAggregate?: Aggregate;
32
+ componentCategoriesAggregate?: Aggregate;
25
33
  }
@@ -5,6 +5,8 @@ import { TemplateBoolExp } from './TemplateBoolExp';
5
5
  import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
6
6
  import { LangBoolExp } from './LangBoolExp';
7
7
  import { MediaBoolExp } from './MediaBoolExp';
8
+ import { FrontComponentBoolExp } from './FrontComponentBoolExp';
9
+ import { ComponentCategoryBoolExp } from './ComponentCategoryBoolExp';
8
10
  import { WebsiteBoolExp } from './WebsiteBoolExp';
9
11
  export interface ThemeBoolExp extends WebsitePartBoolExp {
10
12
  _and?: ThemeBoolExp[];
@@ -15,10 +17,14 @@ export interface ThemeBoolExp extends WebsitePartBoolExp {
15
17
  styles?: unknown;
16
18
  settings?: unknown;
17
19
  description?: StringComparisonExp;
20
+ tailwindConfig?: StringComparisonExp;
21
+ css?: StringComparisonExp;
18
22
  templates?: TemplateBoolExp;
19
23
  themlateCategories?: TemplateCategoryBoolExp;
20
24
  lang?: LangBoolExp;
21
25
  cover?: MediaBoolExp;
26
+ components?: FrontComponentBoolExp;
27
+ componentCategories?: ComponentCategoryBoolExp;
22
28
  selectedBy?: WebsiteBoolExp;
23
29
  website?: WebsiteBoolExp;
24
30
  }
@@ -5,6 +5,8 @@ export declare enum ThemeDistinctEnum {
5
5
  styles = "styles",
6
6
  settings = "settings",
7
7
  description = "description",
8
+ tailwindConfig = "tailwindConfig",
9
+ css = "css",
8
10
  createdAt = "createdAt",
9
11
  updatedAt = "updatedAt"
10
12
  }
@@ -4,20 +4,26 @@ import { TemplateInput } from './TemplateInput';
4
4
  import { TemplateCategoryInput } from './TemplateCategoryInput';
5
5
  import { LangInput } from './LangInput';
6
6
  import { MediaInput } from './MediaInput';
7
+ import { FrontComponentInput } from './FrontComponentInput';
8
+ import { ComponentCategoryInput } from './ComponentCategoryInput';
7
9
  import { WebsiteInput } from './WebsiteInput';
8
10
  import { SetHasMany } from '@rxdrag/entify-hooks';
9
11
  import { SetHasOne } from '@rxdrag/entify-hooks';
10
12
  import { WebsitePart } from './WebsitePart';
11
13
  export interface ThemeInput extends WebsitePart {
12
- id?: string;
14
+ id?: string | null;
13
15
  name?: string;
14
16
  styles?: any;
15
17
  settings?: ThemeSettings;
16
18
  description?: string;
19
+ tailwindConfig?: string;
20
+ css?: string;
17
21
  templates?: SetHasMany<TemplateInput>;
18
22
  themlateCategories?: SetHasMany<TemplateCategoryInput>;
19
23
  lang?: SetHasOne<LangInput>;
20
24
  cover?: SetHasOne<MediaInput>;
25
+ components?: SetHasMany<FrontComponentInput>;
26
+ componentCategories?: SetHasMany<ComponentCategoryInput>;
21
27
  selectedBy?: SetHasOne<WebsiteInput>;
22
28
  website?: SetHasOne<WebsiteInput>;
23
29
  }
@@ -6,4 +6,6 @@ export interface ThemeOrderBy extends WebsitePartOrderBy {
6
6
  styles?: OrderBy;
7
7
  settings?: OrderBy;
8
8
  description?: OrderBy;
9
+ tailwindConfig?: OrderBy;
10
+ css?: OrderBy;
9
11
  }
@@ -8,7 +8,7 @@ import { WebsiteUser } from './WebsiteUser';
8
8
  export declare const UserEntityName = "User";
9
9
  export declare const UserEntityLabel = "";
10
10
  export interface User extends WebsiteUser {
11
- id?: string;
11
+ id?: string | null;
12
12
  loginName?: string;
13
13
  name?: string;
14
14
  mobileNumber?: string;
@@ -11,7 +11,7 @@ export declare enum UserDistinctEnum {
11
11
  /**
12
12
  * 职位
13
13
  */
14
- postion = "postion",
14
+ position = "position",
15
15
  /**
16
16
  * 自我介绍
17
17
  */
@@ -8,7 +8,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
8
8
  import { SetHasOne } from '@rxdrag/entify-hooks';
9
9
  import { WebsiteUser } from './WebsiteUser';
10
10
  export interface UserInput extends WebsiteUser {
11
- id?: string;
11
+ id?: string | null;
12
12
  loginName?: string;
13
13
  name?: string;
14
14
  mobileNumber?: string;
@@ -1,12 +1,12 @@
1
1
  import { WebsiteType } from './WebsiteType';
2
2
  import { Theme } from './Theme';
3
- import { Page } from './Page';
4
3
  import { User } from './User';
5
4
  import { WebsiteSettings } from './WebsiteSettings';
6
5
  import { Template } from './Template';
7
6
  import { TemplateCategory } from './TemplateCategory';
8
7
  import { MediaFolder } from './MediaFolder';
9
8
  import { Enquiry } from './Enquiry';
9
+ import { Page } from './Page';
10
10
  import { Product } from './Product';
11
11
  import { Post } from './Post';
12
12
  import { PostCategory } from './PostCategory';
@@ -23,7 +23,7 @@ export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
23
23
  * 网站实体
24
24
  */
25
25
  export interface Website {
26
- id?: string;
26
+ id?: string | null;
27
27
  /**
28
28
  * 站点名称
29
29
  */
@@ -35,7 +35,7 @@ export interface Website {
35
35
  /**
36
36
  * 创建者ID
37
37
  */
38
- createdBy?: string;
38
+ createdBy?: string | null;
39
39
  /**
40
40
  * 创建时间
41
41
  */
@@ -51,11 +51,10 @@ export interface Website {
51
51
  /**
52
52
  * 更新者ID
53
53
  */
54
- updatedBy?: string;
54
+ updatedBy?: string | null;
55
55
  description?: string;
56
56
  websiteType?: WebsiteType;
57
57
  selectedTheme?: Theme;
58
- homePage?: Page;
59
58
  owner?: User;
60
59
  users?: User[];
61
60
  partsOfWebsiteSettings?: WebsiteSettings[];
@@ -3,13 +3,13 @@ import { StringComparisonExp } from './StringComparisonExp';
3
3
  import { DateTimeComparisonExp } from './DateTimeComparisonExp';
4
4
  import { WebsiteTypeBoolExp } from './WebsiteTypeBoolExp';
5
5
  import { ThemeBoolExp } from './ThemeBoolExp';
6
- import { PageBoolExp } from './PageBoolExp';
7
6
  import { UserBoolExp } from './UserBoolExp';
8
7
  import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
9
8
  import { TemplateBoolExp } from './TemplateBoolExp';
10
9
  import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
11
10
  import { MediaFolderBoolExp } from './MediaFolderBoolExp';
12
11
  import { EnquiryBoolExp } from './EnquiryBoolExp';
12
+ import { PageBoolExp } from './PageBoolExp';
13
13
  import { ProductBoolExp } from './ProductBoolExp';
14
14
  import { PostBoolExp } from './PostBoolExp';
15
15
  import { PostCategoryBoolExp } from './PostCategoryBoolExp';
@@ -37,7 +37,6 @@ export interface WebsiteBoolExp {
37
37
  description?: StringComparisonExp;
38
38
  websiteType?: WebsiteTypeBoolExp;
39
39
  selectedTheme?: ThemeBoolExp;
40
- homePage?: PageBoolExp;
41
40
  owner?: UserBoolExp;
42
41
  users?: UserBoolExp;
43
42
  partsOfWebsiteSettings?: WebsiteSettingsBoolExp;
@@ -7,7 +7,7 @@ import { Slugable } from './Slugable';
7
7
  * 页面、产品、文章等被搜索引擎检索的内容
8
8
  */
9
9
  export interface WebsiteContent extends WebsitePart, SeoMeta, OgMeta, Slugable {
10
- id?: string;
10
+ id?: string | null;
11
11
  title?: string;
12
12
  content?: any;
13
13
  extends?: any;
@@ -1,13 +1,13 @@
1
1
  import { Website } from './Website';
2
2
  import { WebsiteTypeInput } from './WebsiteTypeInput';
3
3
  import { ThemeInput } from './ThemeInput';
4
- import { PageInput } from './PageInput';
5
4
  import { UserInput } from './UserInput';
6
5
  import { WebsiteSettingsInput } from './WebsiteSettingsInput';
7
6
  import { TemplateInput } from './TemplateInput';
8
7
  import { TemplateCategoryInput } from './TemplateCategoryInput';
9
8
  import { MediaFolderInput } from './MediaFolderInput';
10
9
  import { EnquiryInput } from './EnquiryInput';
10
+ import { PageInput } from './PageInput';
11
11
  import { ProductInput } from './ProductInput';
12
12
  import { PostInput } from './PostInput';
13
13
  import { PostCategoryInput } from './PostCategoryInput';
@@ -23,7 +23,7 @@ import { SetHasOne } from '@rxdrag/entify-hooks';
23
23
  * 网站实体
24
24
  */
25
25
  export interface WebsiteInput {
26
- id?: string;
26
+ id?: string | null;
27
27
  /**
28
28
  * 站点名称
29
29
  */
@@ -35,7 +35,7 @@ export interface WebsiteInput {
35
35
  /**
36
36
  * 创建者ID
37
37
  */
38
- createdBy?: string;
38
+ createdBy?: string | null;
39
39
  /**
40
40
  * 创建时间
41
41
  */
@@ -51,11 +51,10 @@ export interface WebsiteInput {
51
51
  /**
52
52
  * 更新者ID
53
53
  */
54
- updatedBy?: string;
54
+ updatedBy?: string | null;
55
55
  description?: string;
56
56
  websiteType?: SetHasOne<WebsiteTypeInput>;
57
57
  selectedTheme?: SetHasOne<ThemeInput>;
58
- homePage?: SetHasOne<PageInput>;
59
58
  owner?: SetHasOne<UserInput>;
60
59
  users?: SetHasMany<UserInput>;
61
60
  partsOfWebsiteSettings?: SetHasMany<WebsiteSettingsInput>;
@@ -1,5 +1,5 @@
1
1
  export interface WebsitePart {
2
- id?: string;
2
+ id?: string | null;
3
3
  createdAt?: Date;
4
4
  updatedAt?: Date;
5
5
  }
@@ -7,7 +7,7 @@ import { WebsitePart } from './WebsitePart';
7
7
  export declare const WebsiteSettingsEntityName = "WebsiteSettings";
8
8
  export declare const WebsiteSettingsEntityLabel = "";
9
9
  export interface WebsiteSettings extends WebsitePart {
10
- id?: string;
10
+ id?: string | null;
11
11
  /**
12
12
  * 邮件配置
13
13
  */
@@ -7,7 +7,7 @@ import { WebsiteInput } from './WebsiteInput';
7
7
  import { SetHasOne } from '@rxdrag/entify-hooks';
8
8
  import { WebsitePart } from './WebsitePart';
9
9
  export interface WebsiteSettingsInput extends WebsitePart {
10
- id?: string;
10
+ id?: string | null;
11
11
  /**
12
12
  * 邮件配置
13
13
  */
@@ -8,7 +8,7 @@ export declare const WebsiteTypeEntityLabel = "\u7AD9\u70B9\u7C7B\u578B";
8
8
  *
9
9
  */
10
10
  export interface WebsiteType {
11
- id?: string;
11
+ id?: string | null;
12
12
  /**
13
13
  * 网站类型名称
14
14
  */
@@ -7,7 +7,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
7
7
  *
8
8
  */
9
9
  export interface WebsiteTypeInput {
10
- id?: string;
10
+ id?: string | null;
11
11
  /**
12
12
  * 网站类型名称
13
13
  */
@@ -1,11 +1,11 @@
1
1
  import { UserType } from './UserType';
2
2
  import { Person } from './Person';
3
3
  export interface WebsiteUser extends Person {
4
- id?: string;
4
+ id?: string | null;
5
5
  /**
6
6
  * 职位
7
7
  */
8
- postion?: string;
8
+ position?: string;
9
9
  /**
10
10
  * 自我介绍
11
11
  */
@@ -8,7 +8,7 @@ export interface WebsiteUserBoolExp extends PersonBoolExp {
8
8
  _or?: WebsiteUserBoolExp[];
9
9
  _not?: WebsiteUserBoolExp;
10
10
  id?: IdComparisonExp;
11
- postion?: StringComparisonExp;
11
+ position?: StringComparisonExp;
12
12
  profile?: unknown;
13
13
  userType?: EnumComparisonExp<UserType>;
14
14
  }
@@ -4,7 +4,7 @@ export declare enum WebsiteUserDistinctEnum {
4
4
  /**
5
5
  * 职位
6
6
  */
7
- postion = "postion",
7
+ position = "position",
8
8
  /**
9
9
  * 自我介绍
10
10
  */
@@ -5,7 +5,7 @@ export interface WebsiteUserOrderBy extends PersonOrderBy {
5
5
  /**
6
6
  * 职位
7
7
  */
8
- postion?: OrderBy;
8
+ position?: OrderBy;
9
9
  /**
10
10
  * 自我介绍
11
11
  */
@@ -1,3 +1,4 @@
1
+ export * from './FileRef';
1
2
  export * from './IdComparisonExp';
2
3
  export * from './BooleanComparisonExp';
3
4
  export * from './DateTimeComparisonExp';
@@ -138,7 +139,7 @@ export * from './WebsiteUserBoolExp';
138
139
  export * from './WebsiteUserOrderBy';
139
140
  export * from './WebsiteUserDistinctExp';
140
141
  export * from './UserType';
141
- export * from './TemplateType';
142
+ export * from './PageType';
142
143
  export * from './ProductCategory';
143
144
  export * from './ProductCategoryInput';
144
145
  export * from './ProductCategoryBoolExp';
@@ -178,3 +179,14 @@ export * from './ProductRelatedPivotInput';
178
179
  export * from './ProductRelatedPivotBoolExp';
179
180
  export * from './ProductRelatedPivotOrderBy';
180
181
  export * from './ProductRelatedPivotDistinctExp';
182
+ export * from './FrontComponent';
183
+ export * from './FrontComponentInput';
184
+ export * from './FrontComponentBoolExp';
185
+ export * from './FrontComponentOrderBy';
186
+ export * from './FrontComponentDistinctExp';
187
+ export * from './ComponentCategory';
188
+ export * from './ComponentCategoryInput';
189
+ export * from './ComponentCategoryBoolExp';
190
+ export * from './ComponentCategoryOrderBy';
191
+ export * from './ComponentCategoryDistinctExp';
192
+ export * from './PropsFields';