@rxdrag/rxcms-models 0.2.13 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/classes/CustomerQueryOptions.d.ts +6 -13
  2. package/dist/classes/EnquiryQueryOptions.d.ts +6 -13
  3. package/dist/classes/LangQueryOptions.d.ts +76 -12
  4. package/dist/classes/MediaFolderQueryOptions.d.ts +6 -13
  5. package/dist/classes/MediaQueryOptions.d.ts +6 -4
  6. package/dist/classes/PageQueryOptions.d.ts +7 -12
  7. package/dist/classes/PostCategoryQueryOptions.d.ts +8 -13
  8. package/dist/classes/PostQueryOptions.d.ts +8 -14
  9. package/dist/classes/ProductCategoryQueryOptions.d.ts +8 -13
  10. package/dist/classes/ProductQueryOptions.d.ts +8 -14
  11. package/dist/classes/SpamFilterRuleQueryOptions.d.ts +6 -7
  12. package/dist/classes/TagQueryOptions.d.ts +6 -13
  13. package/dist/classes/TemplateCategoryQueryOptions.d.ts +6 -13
  14. package/dist/classes/TemplateQueryOptions.d.ts +6 -13
  15. package/dist/classes/ThemeQueryOptions.d.ts +4 -12
  16. package/dist/classes/WebsiteQueryOptions.d.ts +72 -0
  17. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +6 -13
  18. package/dist/fields/CustomerFields.d.ts +3 -14
  19. package/dist/fields/EnquiryFields.d.ts +4 -15
  20. package/dist/fields/LangFields.d.ts +31 -12
  21. package/dist/fields/MediaFields.d.ts +4 -6
  22. package/dist/fields/MediaFolderFields.d.ts +4 -15
  23. package/dist/fields/PageFields.d.ts +6 -13
  24. package/dist/fields/PostCategoryFields.d.ts +5 -14
  25. package/dist/fields/PostFields.d.ts +5 -15
  26. package/dist/fields/ProductCategoryFields.d.ts +5 -14
  27. package/dist/fields/ProductFields.d.ts +5 -15
  28. package/dist/fields/SpamFilterRuleFields.d.ts +3 -8
  29. package/dist/fields/TagFields.d.ts +4 -15
  30. package/dist/fields/TemplateCategoryFields.d.ts +4 -15
  31. package/dist/fields/TemplateFields.d.ts +4 -15
  32. package/dist/fields/ThemeFields.d.ts +4 -14
  33. package/dist/fields/WebsiteFields.d.ts +33 -2
  34. package/dist/fields/WebsiteSettingsFields.d.ts +3 -14
  35. package/dist/index.mjs +1765 -1384
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/interfaces/Customer.d.ts +4 -0
  38. package/dist/interfaces/CustomerBoolExp.d.ts +4 -0
  39. package/dist/interfaces/CustomerDistinctExp.d.ts +0 -13
  40. package/dist/interfaces/CustomerInput.d.ts +5 -0
  41. package/dist/interfaces/Enquiry.d.ts +4 -0
  42. package/dist/interfaces/EnquiryBoolExp.d.ts +4 -0
  43. package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -14
  44. package/dist/interfaces/EnquiryInput.d.ts +4 -0
  45. package/dist/interfaces/Lang.d.ts +48 -3
  46. package/dist/interfaces/LangBoolExp.d.ts +32 -3
  47. package/dist/interfaces/LangDistinctExp.d.ts +2 -14
  48. package/dist/interfaces/LangInput.d.ts +33 -3
  49. package/dist/interfaces/LangOrderBy.d.ts +2 -3
  50. package/dist/interfaces/Media.d.ts +6 -2
  51. package/dist/interfaces/MediaBoolExp.d.ts +6 -2
  52. package/dist/interfaces/MediaDistinctExp.d.ts +3 -7
  53. package/dist/interfaces/MediaFolder.d.ts +4 -0
  54. package/dist/interfaces/MediaFolderBoolExp.d.ts +4 -0
  55. package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -14
  56. package/dist/interfaces/MediaFolderInput.d.ts +4 -0
  57. package/dist/interfaces/MediaInput.d.ts +6 -2
  58. package/dist/interfaces/MediaOrderBy.d.ts +2 -2
  59. package/dist/interfaces/Page.d.ts +3 -2
  60. package/dist/interfaces/PageBoolExp.d.ts +3 -2
  61. package/dist/interfaces/PageDistinctExp.d.ts +3 -12
  62. package/dist/interfaces/PageInput.d.ts +3 -2
  63. package/dist/interfaces/PageOrderBy.d.ts +0 -2
  64. package/dist/interfaces/Post.d.ts +4 -0
  65. package/dist/interfaces/PostBoolExp.d.ts +4 -0
  66. package/dist/interfaces/PostCategory.d.ts +6 -1
  67. package/dist/interfaces/PostCategoryBoolExp.d.ts +6 -1
  68. package/dist/interfaces/PostCategoryDistinctExp.d.ts +4 -14
  69. package/dist/interfaces/PostCategoryInput.d.ts +6 -1
  70. package/dist/interfaces/PostCategoryOrderBy.d.ts +2 -1
  71. package/dist/interfaces/PostDistinctExp.d.ts +2 -14
  72. package/dist/interfaces/PostInput.d.ts +4 -0
  73. package/dist/interfaces/Product.d.ts +4 -0
  74. package/dist/interfaces/ProductBoolExp.d.ts +4 -0
  75. package/dist/interfaces/ProductCategory.d.ts +6 -1
  76. package/dist/interfaces/ProductCategoryBoolExp.d.ts +6 -1
  77. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +4 -14
  78. package/dist/interfaces/ProductCategoryInput.d.ts +6 -1
  79. package/dist/interfaces/ProductCategoryOrderBy.d.ts +2 -1
  80. package/dist/interfaces/ProductDistinctExp.d.ts +2 -14
  81. package/dist/interfaces/ProductInput.d.ts +4 -0
  82. package/dist/interfaces/PublishableDistinctExp.d.ts +2 -14
  83. package/dist/interfaces/Slugable.d.ts +5 -0
  84. package/dist/interfaces/SlugableBoolExp.d.ts +10 -0
  85. package/dist/interfaces/SlugableDistinctExp.d.ts +6 -0
  86. package/dist/interfaces/SlugableOrderBy.d.ts +6 -0
  87. package/dist/interfaces/SpamFilterRule.d.ts +4 -0
  88. package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +4 -0
  89. package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +1 -8
  90. package/dist/interfaces/SpamFilterRuleInput.d.ts +5 -0
  91. package/dist/interfaces/Tag.d.ts +4 -0
  92. package/dist/interfaces/TagBoolExp.d.ts +4 -0
  93. package/dist/interfaces/TagDistinctExp.d.ts +1 -14
  94. package/dist/interfaces/TagInput.d.ts +5 -0
  95. package/dist/interfaces/Template.d.ts +4 -0
  96. package/dist/interfaces/TemplateBoolExp.d.ts +4 -0
  97. package/dist/interfaces/TemplateCategory.d.ts +4 -0
  98. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +4 -0
  99. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -14
  100. package/dist/interfaces/TemplateCategoryInput.d.ts +4 -0
  101. package/dist/interfaces/TemplateDistinctExp.d.ts +1 -14
  102. package/dist/interfaces/TemplateInput.d.ts +4 -0
  103. package/dist/interfaces/Theme.d.ts +4 -0
  104. package/dist/interfaces/ThemeBoolExp.d.ts +4 -0
  105. package/dist/interfaces/ThemeDistinctExp.d.ts +1 -13
  106. package/dist/interfaces/ThemeInput.d.ts +4 -0
  107. package/dist/interfaces/ThemeOrderBy.d.ts +1 -0
  108. package/dist/interfaces/Website.d.ts +44 -0
  109. package/dist/interfaces/WebsiteBoolExp.d.ts +29 -0
  110. package/dist/interfaces/WebsiteContent.d.ts +2 -2
  111. package/dist/interfaces/WebsiteContentBoolExp.d.ts +2 -2
  112. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +4 -16
  113. package/dist/interfaces/WebsiteContentOrderBy.d.ts +2 -2
  114. package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
  115. package/dist/interfaces/WebsiteInput.d.ts +29 -0
  116. package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
  117. package/dist/interfaces/WebsitePart.d.ts +3 -5
  118. package/dist/interfaces/WebsitePartBoolExp.d.ts +4 -6
  119. package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -16
  120. package/dist/interfaces/WebsitePartOrderBy.d.ts +3 -5
  121. package/dist/interfaces/WebsiteSettings.d.ts +4 -0
  122. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +4 -0
  123. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -14
  124. package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -0
  125. package/dist/interfaces/index.d.ts +4 -12
  126. package/package.json +2 -2
  127. package/dist/interfaces/BaseEntity.d.ts +0 -15
  128. package/dist/interfaces/BaseEntityBoolExp.d.ts +0 -12
  129. package/dist/interfaces/BaseEntityDistinctExp.d.ts +0 -16
  130. package/dist/interfaces/BaseEntityOrderBy.d.ts +0 -16
  131. package/dist/interfaces/CustomizeMedia.d.ts +0 -7
  132. package/dist/interfaces/CustomizeMediaBoolExp.d.ts +0 -9
  133. package/dist/interfaces/CustomizeMediaDistinctExp.d.ts +0 -8
  134. package/dist/interfaces/CustomizeMediaOrderBy.d.ts +0 -8
  135. package/dist/interfaces/MultiLangable.d.ts +0 -4
  136. package/dist/interfaces/MultiLangableBoolExp.d.ts +0 -9
  137. package/dist/interfaces/MultiLangableDistinctExp.d.ts +0 -5
  138. package/dist/interfaces/MultiLangableOrderBy.d.ts +0 -5
@@ -1,4 +1,6 @@
1
1
  import { Enquiry } from './Enquiry';
2
+ import { Lang } from './Lang';
3
+ import { Website } from './Website';
2
4
  import { Aggregate } from './Aggregate';
3
5
  import { WebsitePart } from './WebsitePart';
4
6
  import { Person } from './Person';
@@ -8,5 +10,7 @@ export interface Customer extends WebsitePart, Person {
8
10
  id?: string;
9
11
  company?: string;
10
12
  enquires?: Enquiry[];
13
+ lang?: Lang;
14
+ website?: Website;
11
15
  enquiresAggregate?: Aggregate;
12
16
  }
@@ -3,6 +3,8 @@ import { PersonBoolExp } from './PersonBoolExp';
3
3
  import { IdComparisonExp } from './IdComparisonExp';
4
4
  import { StringComparisonExp } from './StringComparisonExp';
5
5
  import { EnquiryBoolExp } from './EnquiryBoolExp';
6
+ import { LangBoolExp } from './LangBoolExp';
7
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
6
8
  export interface CustomerBoolExp extends WebsitePartBoolExp, PersonBoolExp {
7
9
  _and?: CustomerBoolExp[];
8
10
  _or?: CustomerBoolExp[];
@@ -10,4 +12,6 @@ export interface CustomerBoolExp extends WebsitePartBoolExp, PersonBoolExp {
10
12
  id?: IdComparisonExp;
11
13
  company?: StringComparisonExp;
12
14
  enquires?: EnquiryBoolExp;
15
+ lang?: LangBoolExp;
16
+ website?: WebsiteBoolExp;
13
17
  }
@@ -3,21 +3,8 @@ import { PersonDistinctExp } from './PersonDistinctExp';
3
3
  export declare enum CustomerDistinctEnum {
4
4
  id = "id",
5
5
  company = "company",
6
- websiteId = "websiteId",
7
- slug = "slug",
8
- description = "description",
9
- /**
10
- * 创建时间
11
- */
12
6
  createdAt = "createdAt",
13
- /**
14
- * 更新时间
15
- */
16
7
  updatedAt = "updatedAt",
17
- /**
18
- * 备注
19
- */
20
- remark = "remark",
21
8
  /**
22
9
  * 邮箱
23
10
  */
@@ -1,12 +1,17 @@
1
1
  import { Customer } from './Customer';
2
2
  import { EnquiryInput } from './EnquiryInput';
3
+ import { LangInput } from './LangInput';
4
+ import { WebsiteInput } from './WebsiteInput';
3
5
  import { SetHasMany } from '@rxdrag/entify-hooks';
6
+ import { SetHasOne } from '@rxdrag/entify-hooks';
4
7
  import { WebsitePart } from './WebsitePart';
5
8
  import { Person } from './Person';
6
9
  export interface CustomerInput extends WebsitePart, Person {
7
10
  id?: string;
8
11
  company?: string;
9
12
  enquires?: SetHasMany<EnquiryInput>;
13
+ lang?: SetHasOne<LangInput>;
14
+ website?: SetHasOne<WebsiteInput>;
10
15
  }
11
16
  export declare const customerToInputCascade: (entity: Customer) => CustomerInput;
12
17
  export declare const customerToInput: (entity: Customer) => CustomerInput;
@@ -1,4 +1,6 @@
1
+ import { Lang } from './Lang';
1
2
  import { Customer } from './Customer';
3
+ import { Website } from './Website';
2
4
  import { WebsitePart } from './WebsitePart';
3
5
  export declare const EnquiryEntityName = "Enquiry";
4
6
  export declare const EnquiryEntityLabel = "";
@@ -18,5 +20,7 @@ export interface Enquiry extends WebsitePart {
18
20
  fromCta?: string;
19
21
  read?: boolean;
20
22
  spam?: boolean;
23
+ lang?: Lang;
21
24
  customer?: Customer;
25
+ website?: Website;
22
26
  }
@@ -2,7 +2,9 @@ import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
2
  import { IdComparisonExp } from './IdComparisonExp';
3
3
  import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { BooleanComparisonExp } from './BooleanComparisonExp';
5
+ import { LangBoolExp } from './LangBoolExp';
5
6
  import { CustomerBoolExp } from './CustomerBoolExp';
7
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
6
8
  export interface EnquiryBoolExp extends WebsitePartBoolExp {
7
9
  _and?: EnquiryBoolExp[];
8
10
  _or?: EnquiryBoolExp[];
@@ -19,5 +21,7 @@ export interface EnquiryBoolExp extends WebsitePartBoolExp {
19
21
  fromCta?: StringComparisonExp;
20
22
  read?: BooleanComparisonExp;
21
23
  spam?: BooleanComparisonExp;
24
+ lang?: LangBoolExp;
22
25
  customer?: CustomerBoolExp;
26
+ website?: WebsiteBoolExp;
23
27
  }
@@ -15,20 +15,7 @@ export declare enum EnquiryDistinctEnum {
15
15
  fromCta = "fromCta",
16
16
  read = "read",
17
17
  spam = "spam",
18
- websiteId = "websiteId",
19
- slug = "slug",
20
- description = "description",
21
- /**
22
- * 创建时间
23
- */
24
18
  createdAt = "createdAt",
25
- /**
26
- * 更新时间
27
- */
28
- updatedAt = "updatedAt",
29
- /**
30
- * 备注
31
- */
32
- remark = "remark"
19
+ updatedAt = "updatedAt"
33
20
  }
34
21
  export type EnquiryDistinctExp = EnquiryDistinctEnum | WebsitePartDistinctExp;
@@ -1,5 +1,7 @@
1
1
  import { Enquiry } from './Enquiry';
2
+ import { LangInput } from './LangInput';
2
3
  import { CustomerInput } from './CustomerInput';
4
+ import { WebsiteInput } from './WebsiteInput';
3
5
  import { SetHasOne } from '@rxdrag/entify-hooks';
4
6
  import { WebsitePart } from './WebsitePart';
5
7
  export interface EnquiryInput extends WebsitePart {
@@ -18,7 +20,9 @@ export interface EnquiryInput extends WebsitePart {
18
20
  fromCta?: string;
19
21
  read?: boolean;
20
22
  spam?: boolean;
23
+ lang?: SetHasOne<LangInput>;
21
24
  customer?: SetHasOne<CustomerInput>;
25
+ website?: SetHasOne<WebsiteInput>;
22
26
  }
23
27
  export declare const enquiryToInputCascade: (entity: Enquiry) => EnquiryInput;
24
28
  export declare const enquiryToInput: (entity: Enquiry) => EnquiryInput;
@@ -1,11 +1,26 @@
1
- import { WebsitePart } from './WebsitePart';
1
+ import { WebsiteSettings } from './WebsiteSettings';
2
+ import { Theme } from './Theme';
3
+ import { Template } from './Template';
4
+ import { TemplateCategory } from './TemplateCategory';
5
+ import { MediaFolder } from './MediaFolder';
6
+ import { Enquiry } from './Enquiry';
7
+ import { Page } from './Page';
8
+ import { Product } from './Product';
9
+ import { Post } from './Post';
10
+ import { PostCategory } from './PostCategory';
11
+ import { Tag } from './Tag';
12
+ import { Customer } from './Customer';
13
+ import { ProductCategory } from './ProductCategory';
14
+ import { SpamFilterRule } from './SpamFilterRule';
15
+ import { Media } from './Media';
16
+ import { Aggregate } from './Aggregate';
2
17
  export declare const LangEntityName = "Lang";
3
18
  export declare const LangEntityLabel = "\u8BED\u8A00";
4
19
  /**
5
20
  * 语言
6
21
  *
7
22
  */
8
- export interface Lang extends WebsitePart {
23
+ export interface Lang {
9
24
  id?: string;
10
25
  /**
11
26
  * 缩写
@@ -26,5 +41,35 @@ export interface Lang extends WebsitePart {
26
41
  /**
27
42
  * 备注
28
43
  */
29
- remark?: string;
44
+ description?: string;
45
+ webPartsOfWebsiteSettings?: WebsiteSettings[];
46
+ webPartsOfTheme?: Theme[];
47
+ webPartsOfTemplate?: Template[];
48
+ webPartsOfTemplateCategory?: TemplateCategory[];
49
+ webPartsOfMediaFolder?: MediaFolder[];
50
+ webPartsOfEnquiry?: Enquiry[];
51
+ webPartsOfPage?: Page[];
52
+ webPartsOfProduct?: Product[];
53
+ webPartsOfPost?: Post[];
54
+ webPartsOfPostCategory?: PostCategory[];
55
+ webPartsOfTag?: Tag[];
56
+ webPartsOfCustomer?: Customer[];
57
+ webPartsOfProductCategory?: ProductCategory[];
58
+ webPartsOfSpamFilterRule?: SpamFilterRule[];
59
+ webPartsOfMedia?: Media[];
60
+ webPartsOfWebsiteSettingsAggregate?: Aggregate;
61
+ webPartsOfThemeAggregate?: Aggregate;
62
+ webPartsOfTemplateAggregate?: Aggregate;
63
+ webPartsOfTemplateCategoryAggregate?: Aggregate;
64
+ webPartsOfMediaFolderAggregate?: Aggregate;
65
+ webPartsOfEnquiryAggregate?: Aggregate;
66
+ webPartsOfPageAggregate?: Aggregate;
67
+ webPartsOfProductAggregate?: Aggregate;
68
+ webPartsOfPostAggregate?: Aggregate;
69
+ webPartsOfPostCategoryAggregate?: Aggregate;
70
+ webPartsOfTagAggregate?: Aggregate;
71
+ webPartsOfCustomerAggregate?: Aggregate;
72
+ webPartsOfProductCategoryAggregate?: Aggregate;
73
+ webPartsOfSpamFilterRuleAggregate?: Aggregate;
74
+ webPartsOfMediaAggregate?: Aggregate;
30
75
  }
@@ -1,11 +1,25 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
1
  import { IdComparisonExp } from './IdComparisonExp';
3
2
  import { StringComparisonExp } from './StringComparisonExp';
3
+ import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
4
+ import { ThemeBoolExp } from './ThemeBoolExp';
5
+ import { TemplateBoolExp } from './TemplateBoolExp';
6
+ import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
7
+ import { MediaFolderBoolExp } from './MediaFolderBoolExp';
8
+ import { EnquiryBoolExp } from './EnquiryBoolExp';
9
+ import { PageBoolExp } from './PageBoolExp';
10
+ import { ProductBoolExp } from './ProductBoolExp';
11
+ import { PostBoolExp } from './PostBoolExp';
12
+ import { PostCategoryBoolExp } from './PostCategoryBoolExp';
13
+ import { TagBoolExp } from './TagBoolExp';
14
+ import { CustomerBoolExp } from './CustomerBoolExp';
15
+ import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
16
+ import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
17
+ import { MediaBoolExp } from './MediaBoolExp';
4
18
  /**
5
19
  * 语言
6
20
  *
7
21
  */
8
- export interface LangBoolExp extends WebsitePartBoolExp {
22
+ export interface LangBoolExp {
9
23
  _and?: LangBoolExp[];
10
24
  _or?: LangBoolExp[];
11
25
  _not?: LangBoolExp;
@@ -14,5 +28,20 @@ export interface LangBoolExp extends WebsitePartBoolExp {
14
28
  enName?: StringComparisonExp;
15
29
  localName?: StringComparisonExp;
16
30
  icon?: StringComparisonExp;
17
- remark?: StringComparisonExp;
31
+ description?: StringComparisonExp;
32
+ webPartsOfWebsiteSettings?: WebsiteSettingsBoolExp;
33
+ webPartsOfTheme?: ThemeBoolExp;
34
+ webPartsOfTemplate?: TemplateBoolExp;
35
+ webPartsOfTemplateCategory?: TemplateCategoryBoolExp;
36
+ webPartsOfMediaFolder?: MediaFolderBoolExp;
37
+ webPartsOfEnquiry?: EnquiryBoolExp;
38
+ webPartsOfPage?: PageBoolExp;
39
+ webPartsOfProduct?: ProductBoolExp;
40
+ webPartsOfPost?: PostBoolExp;
41
+ webPartsOfPostCategory?: PostCategoryBoolExp;
42
+ webPartsOfTag?: TagBoolExp;
43
+ webPartsOfCustomer?: CustomerBoolExp;
44
+ webPartsOfProductCategory?: ProductCategoryBoolExp;
45
+ webPartsOfSpamFilterRule?: SpamFilterRuleBoolExp;
46
+ webPartsOfMedia?: MediaBoolExp;
18
47
  }
@@ -1,4 +1,3 @@
1
- import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
1
  export declare enum LangDistinctEnum {
3
2
  id = "id",
4
3
  /**
@@ -20,17 +19,6 @@ export declare enum LangDistinctEnum {
20
19
  /**
21
20
  * 备注
22
21
  */
23
- remark = "remark",
24
- websiteId = "websiteId",
25
- slug = "slug",
26
- description = "description",
27
- /**
28
- * 创建时间
29
- */
30
- createdAt = "createdAt",
31
- /**
32
- * 更新时间
33
- */
34
- updatedAt = "updatedAt"
22
+ description = "description"
35
23
  }
36
- export type LangDistinctExp = LangDistinctEnum | WebsitePartDistinctExp;
24
+ export type LangDistinctExp = LangDistinctEnum;
@@ -1,10 +1,25 @@
1
1
  import { Lang } from './Lang';
2
- import { WebsitePart } from './WebsitePart';
2
+ import { WebsiteSettingsInput } from './WebsiteSettingsInput';
3
+ import { ThemeInput } from './ThemeInput';
4
+ import { TemplateInput } from './TemplateInput';
5
+ import { TemplateCategoryInput } from './TemplateCategoryInput';
6
+ import { MediaFolderInput } from './MediaFolderInput';
7
+ import { EnquiryInput } from './EnquiryInput';
8
+ import { PageInput } from './PageInput';
9
+ import { ProductInput } from './ProductInput';
10
+ import { PostInput } from './PostInput';
11
+ import { PostCategoryInput } from './PostCategoryInput';
12
+ import { TagInput } from './TagInput';
13
+ import { CustomerInput } from './CustomerInput';
14
+ import { ProductCategoryInput } from './ProductCategoryInput';
15
+ import { SpamFilterRuleInput } from './SpamFilterRuleInput';
16
+ import { MediaInput } from './MediaInput';
17
+ import { SetHasMany } from '@rxdrag/entify-hooks';
3
18
  /**
4
19
  * 语言
5
20
  *
6
21
  */
7
- export interface LangInput extends WebsitePart {
22
+ export interface LangInput {
8
23
  id?: string;
9
24
  /**
10
25
  * 缩写
@@ -25,7 +40,22 @@ export interface LangInput extends WebsitePart {
25
40
  /**
26
41
  * 备注
27
42
  */
28
- remark?: string;
43
+ description?: string;
44
+ webPartsOfWebsiteSettings?: SetHasMany<WebsiteSettingsInput>;
45
+ webPartsOfTheme?: SetHasMany<ThemeInput>;
46
+ webPartsOfTemplate?: SetHasMany<TemplateInput>;
47
+ webPartsOfTemplateCategory?: SetHasMany<TemplateCategoryInput>;
48
+ webPartsOfMediaFolder?: SetHasMany<MediaFolderInput>;
49
+ webPartsOfEnquiry?: SetHasMany<EnquiryInput>;
50
+ webPartsOfPage?: SetHasMany<PageInput>;
51
+ webPartsOfProduct?: SetHasMany<ProductInput>;
52
+ webPartsOfPost?: SetHasMany<PostInput>;
53
+ webPartsOfPostCategory?: SetHasMany<PostCategoryInput>;
54
+ webPartsOfTag?: SetHasMany<TagInput>;
55
+ webPartsOfCustomer?: SetHasMany<CustomerInput>;
56
+ webPartsOfProductCategory?: SetHasMany<ProductCategoryInput>;
57
+ webPartsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
58
+ webPartsOfMedia?: SetHasMany<MediaInput>;
29
59
  }
30
60
  export declare const langToInputCascade: (entity: Lang) => LangInput;
31
61
  export declare const langToInput: (entity: Lang) => LangInput;
@@ -1,10 +1,9 @@
1
1
  import { OrderBy } from '@rxdrag/entify-hooks';
2
- import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
2
  /**
4
3
  * 语言
5
4
  *
6
5
  */
7
- export interface LangOrderBy extends WebsitePartOrderBy {
6
+ export interface LangOrderBy {
8
7
  id?: OrderBy;
9
8
  /**
10
9
  * 缩写
@@ -25,5 +24,5 @@ export interface LangOrderBy extends WebsitePartOrderBy {
25
24
  /**
26
25
  * 备注
27
26
  */
28
- remark?: OrderBy;
27
+ description?: OrderBy;
29
28
  }
@@ -1,6 +1,7 @@
1
1
  import { MediaType } from './MediaType';
2
2
  import { FileRef } from './FileRef';
3
3
  import { MediaFolder } from './MediaFolder';
4
+ import { Lang } from './Lang';
4
5
  import { Post } from './Post';
5
6
  import { User } from './User';
6
7
  import { Page } from './Page';
@@ -8,11 +9,12 @@ import { Product } from './Product';
8
9
  import { ProductCategory } from './ProductCategory';
9
10
  import { MediaOnProduct } from './MediaOnProduct';
10
11
  import { AttachmentOnProduct } from './AttachmentOnProduct';
12
+ import { Website } from './Website';
11
13
  import { Aggregate } from './Aggregate';
12
- import { CustomizeMedia } from './CustomizeMedia';
14
+ import { WebsitePart } from './WebsitePart';
13
15
  export declare const MediaEntityName = "Media";
14
16
  export declare const MediaEntityLabel = "";
15
- export interface Media extends CustomizeMedia {
17
+ export interface Media extends WebsitePart {
16
18
  id?: string;
17
19
  name?: string;
18
20
  size?: number;
@@ -24,6 +26,7 @@ export interface Media extends CustomizeMedia {
24
26
  updatedAt?: Date;
25
27
  mediaType?: MediaType;
26
28
  folder?: MediaFolder;
29
+ lang?: Lang;
27
30
  coverOf?: Post[];
28
31
  avatarOfUser?: User;
29
32
  ogMetaOfPage?: Page[];
@@ -32,6 +35,7 @@ export interface Media extends CustomizeMedia {
32
35
  meidaOfProduct?: ProductCategory[];
33
36
  productMediaPivots?: MediaOnProduct[];
34
37
  productAttacPivots?: AttachmentOnProduct[];
38
+ website?: Website;
35
39
  coverOfAggregate?: Aggregate;
36
40
  ogMetaOfPageAggregate?: Aggregate;
37
41
  ogMetaOfProductAggregate?: Aggregate;
@@ -1,11 +1,12 @@
1
1
  import { MediaType } from './MediaType';
2
- import { CustomizeMediaBoolExp } from './CustomizeMediaBoolExp';
2
+ import { WebsitePartBoolExp } from './WebsitePartBoolExp';
3
3
  import { IdComparisonExp } from './IdComparisonExp';
4
4
  import { StringComparisonExp } from './StringComparisonExp';
5
5
  import { NumberComparisonExp } from './NumberComparisonExp';
6
6
  import { DateTimeComparisonExp } from './DateTimeComparisonExp';
7
7
  import { EnumComparisonExp } from './EnumComparisonExp';
8
8
  import { MediaFolderBoolExp } from './MediaFolderBoolExp';
9
+ import { LangBoolExp } from './LangBoolExp';
9
10
  import { PostBoolExp } from './PostBoolExp';
10
11
  import { UserBoolExp } from './UserBoolExp';
11
12
  import { PageBoolExp } from './PageBoolExp';
@@ -13,7 +14,8 @@ import { ProductBoolExp } from './ProductBoolExp';
13
14
  import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
14
15
  import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
15
16
  import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
16
- export interface MediaBoolExp extends CustomizeMediaBoolExp {
17
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
18
+ export interface MediaBoolExp extends WebsitePartBoolExp {
17
19
  _and?: MediaBoolExp[];
18
20
  _or?: MediaBoolExp[];
19
21
  _not?: MediaBoolExp;
@@ -27,6 +29,7 @@ export interface MediaBoolExp extends CustomizeMediaBoolExp {
27
29
  updatedAt?: DateTimeComparisonExp;
28
30
  mediaType?: EnumComparisonExp<MediaType>;
29
31
  folder?: MediaFolderBoolExp;
32
+ lang?: LangBoolExp;
30
33
  coverOf?: PostBoolExp;
31
34
  avatarOfUser?: UserBoolExp;
32
35
  ogMetaOfPage?: PageBoolExp;
@@ -35,4 +38,5 @@ export interface MediaBoolExp extends CustomizeMediaBoolExp {
35
38
  meidaOfProduct?: ProductCategoryBoolExp;
36
39
  productMediaPivots?: MediaOnProductBoolExp;
37
40
  productAttacPivots?: AttachmentOnProductBoolExp;
41
+ website?: WebsiteBoolExp;
38
42
  }
@@ -1,4 +1,4 @@
1
- import { CustomizeMediaDistinctExp } from './CustomizeMediaDistinctExp';
1
+ import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
2
  export declare enum MediaDistinctEnum {
3
3
  id = "id",
4
4
  name = "name",
@@ -9,10 +9,6 @@ export declare enum MediaDistinctEnum {
9
9
  description = "description",
10
10
  createdAt = "createdAt",
11
11
  updatedAt = "updatedAt",
12
- mediaType = "mediaType",
13
- /**
14
- * 网站Id
15
- */
16
- websiteId = "websiteId"
12
+ mediaType = "mediaType"
17
13
  }
18
- export type MediaDistinctExp = MediaDistinctEnum | CustomizeMediaDistinctExp;
14
+ export type MediaDistinctExp = MediaDistinctEnum | WebsitePartDistinctExp;
@@ -1,4 +1,6 @@
1
+ import { Lang } from './Lang';
1
2
  import { Media } from './Media';
3
+ import { Website } from './Website';
2
4
  import { Aggregate } from './Aggregate';
3
5
  import { WebsitePart } from './WebsitePart';
4
6
  export declare const MediaFolderEntityName = "MediaFolder";
@@ -12,8 +14,10 @@ export interface MediaFolder extends WebsitePart {
12
14
  name?: string;
13
15
  seqValue?: number;
14
16
  children?: MediaFolder[];
17
+ lang?: Lang;
15
18
  parent?: MediaFolder;
16
19
  medias?: Media[];
20
+ website?: Website;
17
21
  childrenAggregate?: Aggregate;
18
22
  mediasAggregate?: Aggregate;
19
23
  }
@@ -2,7 +2,9 @@ import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
2
  import { IdComparisonExp } from './IdComparisonExp';
3
3
  import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { NumberComparisonExp } from './NumberComparisonExp';
5
+ import { LangBoolExp } from './LangBoolExp';
5
6
  import { MediaBoolExp } from './MediaBoolExp';
7
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
6
8
  /**
7
9
  * 媒体分类
8
10
  *
@@ -15,6 +17,8 @@ export interface MediaFolderBoolExp extends WebsitePartBoolExp {
15
17
  name?: StringComparisonExp;
16
18
  seqValue?: NumberComparisonExp;
17
19
  children?: MediaFolderBoolExp;
20
+ lang?: LangBoolExp;
18
21
  parent?: MediaFolderBoolExp;
19
22
  medias?: MediaBoolExp;
23
+ website?: WebsiteBoolExp;
20
24
  }
@@ -3,20 +3,7 @@ export declare enum MediaFolderDistinctEnum {
3
3
  id = "id",
4
4
  name = "name",
5
5
  seqValue = "seqValue",
6
- websiteId = "websiteId",
7
- slug = "slug",
8
- description = "description",
9
- /**
10
- * 创建时间
11
- */
12
6
  createdAt = "createdAt",
13
- /**
14
- * 更新时间
15
- */
16
- updatedAt = "updatedAt",
17
- /**
18
- * 备注
19
- */
20
- remark = "remark"
7
+ updatedAt = "updatedAt"
21
8
  }
22
9
  export type MediaFolderDistinctExp = MediaFolderDistinctEnum | WebsitePartDistinctExp;
@@ -1,5 +1,7 @@
1
1
  import { MediaFolder } from './MediaFolder';
2
+ import { LangInput } from './LangInput';
2
3
  import { MediaInput } from './MediaInput';
4
+ import { WebsiteInput } from './WebsiteInput';
3
5
  import { SetHasMany } from '@rxdrag/entify-hooks';
4
6
  import { SetHasOne } from '@rxdrag/entify-hooks';
5
7
  import { WebsitePart } from './WebsitePart';
@@ -12,8 +14,10 @@ export interface MediaFolderInput extends WebsitePart {
12
14
  name?: string;
13
15
  seqValue?: number;
14
16
  children?: SetHasMany<MediaFolderInput>;
17
+ lang?: SetHasOne<LangInput>;
15
18
  parent?: SetHasOne<MediaFolderInput>;
16
19
  medias?: SetHasMany<MediaInput>;
20
+ website?: SetHasOne<WebsiteInput>;
17
21
  }
18
22
  export declare const mediaFolderToInputCascade: (entity: MediaFolder) => MediaFolderInput;
19
23
  export declare const mediaFolderToInput: (entity: MediaFolder) => MediaFolderInput;
@@ -2,6 +2,7 @@ import { Media } from './Media';
2
2
  import { MediaType } from './MediaType';
3
3
  import { FileRef } from './FileRef';
4
4
  import { MediaFolderInput } from './MediaFolderInput';
5
+ import { LangInput } from './LangInput';
5
6
  import { PostInput } from './PostInput';
6
7
  import { UserInput } from './UserInput';
7
8
  import { PageInput } from './PageInput';
@@ -9,10 +10,11 @@ import { ProductInput } from './ProductInput';
9
10
  import { ProductCategoryInput } from './ProductCategoryInput';
10
11
  import { MediaOnProductInput } from './MediaOnProductInput';
11
12
  import { AttachmentOnProductInput } from './AttachmentOnProductInput';
13
+ import { WebsiteInput } from './WebsiteInput';
12
14
  import { SetHasMany } from '@rxdrag/entify-hooks';
13
15
  import { SetHasOne } from '@rxdrag/entify-hooks';
14
- import { CustomizeMedia } from './CustomizeMedia';
15
- export interface MediaInput extends CustomizeMedia {
16
+ import { WebsitePart } from './WebsitePart';
17
+ export interface MediaInput extends WebsitePart {
16
18
  id?: string;
17
19
  name?: string;
18
20
  size?: number;
@@ -24,6 +26,7 @@ export interface MediaInput extends CustomizeMedia {
24
26
  updatedAt?: Date;
25
27
  mediaType?: MediaType;
26
28
  folder?: SetHasOne<MediaFolderInput>;
29
+ lang?: SetHasOne<LangInput>;
27
30
  coverOf?: SetHasMany<PostInput>;
28
31
  avatarOfUser?: SetHasOne<UserInput>;
29
32
  ogMetaOfPage?: SetHasMany<PageInput>;
@@ -32,6 +35,7 @@ export interface MediaInput extends CustomizeMedia {
32
35
  meidaOfProduct?: SetHasMany<ProductCategoryInput>;
33
36
  productMediaPivots?: SetHasMany<MediaOnProductInput>;
34
37
  productAttacPivots?: SetHasMany<AttachmentOnProductInput>;
38
+ website?: SetHasOne<WebsiteInput>;
35
39
  }
36
40
  export declare const mediaToInputCascade: (entity: Media) => MediaInput;
37
41
  export declare const mediaToInput: (entity: Media) => MediaInput;
@@ -1,6 +1,6 @@
1
1
  import { OrderBy } from '@rxdrag/entify-hooks';
2
- import { CustomizeMediaOrderBy } from './CustomizeMediaOrderBy';
3
- export interface MediaOrderBy extends CustomizeMediaOrderBy {
2
+ import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
+ export interface MediaOrderBy extends WebsitePartOrderBy {
4
4
  id?: OrderBy;
5
5
  name?: OrderBy;
6
6
  size?: OrderBy;
@@ -1,4 +1,5 @@
1
1
  import { Media } from './Media';
2
+ import { Lang } from './Lang';
2
3
  import { Website } from './Website';
3
4
  import { WebsiteContent } from './WebsiteContent';
4
5
  export declare const PageEntityName = "Page";
@@ -6,12 +7,12 @@ export declare const PageEntityLabel = "";
6
7
  export interface Page extends WebsiteContent {
7
8
  id?: string;
8
9
  title?: string;
9
- content?: any;
10
10
  /**
11
11
  * 备注
12
12
  */
13
13
  remark?: string;
14
- langAbbr?: string;
15
14
  ogImage?: Media;
15
+ lang?: Lang;
16
16
  homeOf?: Website;
17
+ website?: Website;
17
18
  }
@@ -2,6 +2,7 @@ import { WebsiteContentBoolExp } from './WebsiteContentBoolExp';
2
2
  import { IdComparisonExp } from './IdComparisonExp';
3
3
  import { StringComparisonExp } from './StringComparisonExp';
4
4
  import { MediaBoolExp } from './MediaBoolExp';
5
+ import { LangBoolExp } from './LangBoolExp';
5
6
  import { WebsiteBoolExp } from './WebsiteBoolExp';
6
7
  export interface PageBoolExp extends WebsiteContentBoolExp {
7
8
  _and?: PageBoolExp[];
@@ -9,9 +10,9 @@ export interface PageBoolExp extends WebsiteContentBoolExp {
9
10
  _not?: PageBoolExp;
10
11
  id?: IdComparisonExp;
11
12
  title?: StringComparisonExp;
12
- content?: unknown;
13
13
  remark?: StringComparisonExp;
14
- langAbbr?: StringComparisonExp;
15
14
  ogImage?: MediaBoolExp;
15
+ lang?: LangBoolExp;
16
16
  homeOf?: WebsiteBoolExp;
17
+ website?: WebsiteBoolExp;
17
18
  }
@@ -2,23 +2,13 @@ import { WebsiteContentDistinctExp } from './WebsiteContentDistinctExp';
2
2
  export declare enum PageDistinctEnum {
3
3
  id = "id",
4
4
  title = "title",
5
- content = "content",
6
5
  /**
7
6
  * 备注
8
7
  */
9
8
  remark = "remark",
10
- langAbbr = "langAbbr",
9
+ content = "content",
11
10
  extends = "extends",
12
- websiteId = "websiteId",
13
- slug = "slug",
14
- description = "description",
15
- /**
16
- * 创建时间
17
- */
18
11
  createdAt = "createdAt",
19
- /**
20
- * 更新时间
21
- */
22
12
  updatedAt = "updatedAt",
23
13
  seoTitle = "seoTitle",
24
14
  seoKeywords = "seoKeywords",
@@ -33,6 +23,7 @@ export declare enum PageDistinctEnum {
33
23
  xTitle = "xTitle",
34
24
  xDescription = "xDescription",
35
25
  xUrl = "xUrl",
36
- lang = "lang"
26
+ slug = "slug",
27
+ description = "description"
37
28
  }
38
29
  export type PageDistinctExp = PageDistinctEnum | WebsiteContentDistinctExp;