@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
@@ -4,25 +4,16 @@ import { Customer, CustomerBoolExp, CustomerDistinctExp, CustomerOrderBy } from
4
4
  import { EnquiryQueryOptions } from './EnquiryQueryOptions';
5
5
  import { Enquiry } from '../interfaces';
6
6
  import { EnquiryBoolExp } from '../interfaces';
7
+ import { LangQueryOptions } from './LangQueryOptions';
8
+ import { Lang } from '../interfaces';
9
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
10
+ import { Website } from '../interfaces';
7
11
  export declare class CustomerQueryOptions extends QueryOptions<Customer, CustomerBoolExp, CustomerOrderBy, CustomerDistinctExp> {
8
12
  constructor(fields?: (keyof Customer)[], queryArgs?: IQueryArgs<CustomerBoolExp, CustomerOrderBy, CustomerDistinctExp>);
9
13
  id(): this;
10
14
  company(): this;
11
- websiteId(): this;
12
- slug(): this;
13
- description(): this;
14
- /**
15
- * 创建时间
16
- */
17
15
  createdAt(): this;
18
- /**
19
- * 更新时间
20
- */
21
16
  updatedAt(): this;
22
- /**
23
- * 备注
24
- */
25
- remark(): this;
26
17
  /**
27
18
  * 邮箱
28
19
  */
@@ -48,4 +39,6 @@ export declare class CustomerQueryOptions extends QueryOptions<Customer, Custome
48
39
  summary(): this;
49
40
  enquires(options?: EnquiryQueryOptions | (keyof Enquiry)[]): this;
50
41
  enquiresAggregate(aggregate: IAggregate<EnquiryBoolExp>): this;
42
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
43
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
51
44
  }
@@ -1,8 +1,12 @@
1
1
  import { IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Enquiry, EnquiryBoolExp, EnquiryDistinctExp, EnquiryOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
4
6
  import { CustomerQueryOptions } from './CustomerQueryOptions';
5
7
  import { Customer } from '../interfaces';
8
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
9
+ import { Website } from '../interfaces';
6
10
  export declare class EnquiryQueryOptions extends QueryOptions<Enquiry, EnquiryBoolExp, EnquiryOrderBy, EnquiryDistinctExp> {
7
11
  constructor(fields?: (keyof Enquiry)[], queryArgs?: IQueryArgs<EnquiryBoolExp, EnquiryOrderBy, EnquiryDistinctExp>);
8
12
  id(): this;
@@ -20,20 +24,9 @@ export declare class EnquiryQueryOptions extends QueryOptions<Enquiry, EnquiryBo
20
24
  fromCta(): this;
21
25
  read(): this;
22
26
  spam(): this;
23
- websiteId(): this;
24
- slug(): this;
25
- description(): this;
26
- /**
27
- * 创建时间
28
- */
29
27
  createdAt(): this;
30
- /**
31
- * 更新时间
32
- */
33
28
  updatedAt(): this;
34
- /**
35
- * 备注
36
- */
37
- remark(): this;
29
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
38
30
  customer(options?: CustomerQueryOptions | (keyof Customer)[]): this;
31
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
39
32
  }
@@ -1,6 +1,51 @@
1
- import { IQueryArgs } from "@rxdrag/entify-hooks";
1
+ import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Lang, LangBoolExp, LangDistinctExp, LangOrderBy } from "../interfaces";
4
+ import { WebsiteSettingsQueryOptions } from './WebsiteSettingsQueryOptions';
5
+ import { WebsiteSettings } from '../interfaces';
6
+ import { WebsiteSettingsBoolExp } from '../interfaces';
7
+ import { ThemeQueryOptions } from './ThemeQueryOptions';
8
+ import { Theme } from '../interfaces';
9
+ import { ThemeBoolExp } from '../interfaces';
10
+ import { TemplateQueryOptions } from './TemplateQueryOptions';
11
+ import { Template } from '../interfaces';
12
+ import { TemplateBoolExp } from '../interfaces';
13
+ import { TemplateCategoryQueryOptions } from './TemplateCategoryQueryOptions';
14
+ import { TemplateCategory } from '../interfaces';
15
+ import { TemplateCategoryBoolExp } from '../interfaces';
16
+ import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
17
+ import { MediaFolder } from '../interfaces';
18
+ import { MediaFolderBoolExp } from '../interfaces';
19
+ import { EnquiryQueryOptions } from './EnquiryQueryOptions';
20
+ import { Enquiry } from '../interfaces';
21
+ import { EnquiryBoolExp } from '../interfaces';
22
+ import { PageQueryOptions } from './PageQueryOptions';
23
+ import { Page } from '../interfaces';
24
+ import { PageBoolExp } from '../interfaces';
25
+ import { ProductQueryOptions } from './ProductQueryOptions';
26
+ import { Product } from '../interfaces';
27
+ import { ProductBoolExp } from '../interfaces';
28
+ import { PostQueryOptions } from './PostQueryOptions';
29
+ import { Post } from '../interfaces';
30
+ import { PostBoolExp } from '../interfaces';
31
+ import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
32
+ import { PostCategory } from '../interfaces';
33
+ import { PostCategoryBoolExp } from '../interfaces';
34
+ import { TagQueryOptions } from './TagQueryOptions';
35
+ import { Tag } from '../interfaces';
36
+ import { TagBoolExp } from '../interfaces';
37
+ import { CustomerQueryOptions } from './CustomerQueryOptions';
38
+ import { Customer } from '../interfaces';
39
+ import { CustomerBoolExp } from '../interfaces';
40
+ import { ProductCategoryQueryOptions } from './ProductCategoryQueryOptions';
41
+ import { ProductCategory } from '../interfaces';
42
+ import { ProductCategoryBoolExp } from '../interfaces';
43
+ import { SpamFilterRuleQueryOptions } from './SpamFilterRuleQueryOptions';
44
+ import { SpamFilterRule } from '../interfaces';
45
+ import { SpamFilterRuleBoolExp } from '../interfaces';
46
+ import { MediaQueryOptions } from './MediaQueryOptions';
47
+ import { Media } from '../interfaces';
48
+ import { MediaBoolExp } from '../interfaces';
4
49
  export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, LangOrderBy, LangDistinctExp> {
5
50
  constructor(fields?: (keyof Lang)[], queryArgs?: IQueryArgs<LangBoolExp, LangOrderBy, LangDistinctExp>);
6
51
  id(): this;
@@ -23,16 +68,35 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
23
68
  /**
24
69
  * 备注
25
70
  */
26
- remark(): this;
27
- websiteId(): this;
28
- slug(): this;
29
71
  description(): this;
30
- /**
31
- * 创建时间
32
- */
33
- createdAt(): this;
34
- /**
35
- * 更新时间
36
- */
37
- updatedAt(): this;
72
+ webPartsOfWebsiteSettings(options?: WebsiteSettingsQueryOptions | (keyof WebsiteSettings)[]): this;
73
+ webPartsOfWebsiteSettingsAggregate(aggregate: IAggregate<WebsiteSettingsBoolExp>): this;
74
+ webPartsOfTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
75
+ webPartsOfThemeAggregate(aggregate: IAggregate<ThemeBoolExp>): this;
76
+ webPartsOfTemplate(options?: TemplateQueryOptions | (keyof Template)[]): this;
77
+ webPartsOfTemplateAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
78
+ webPartsOfTemplateCategory(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
79
+ webPartsOfTemplateCategoryAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
80
+ webPartsOfMediaFolder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
81
+ webPartsOfMediaFolderAggregate(aggregate: IAggregate<MediaFolderBoolExp>): this;
82
+ webPartsOfEnquiry(options?: EnquiryQueryOptions | (keyof Enquiry)[]): this;
83
+ webPartsOfEnquiryAggregate(aggregate: IAggregate<EnquiryBoolExp>): this;
84
+ webPartsOfPage(options?: PageQueryOptions | (keyof Page)[]): this;
85
+ webPartsOfPageAggregate(aggregate: IAggregate<PageBoolExp>): this;
86
+ webPartsOfProduct(options?: ProductQueryOptions | (keyof Product)[]): this;
87
+ webPartsOfProductAggregate(aggregate: IAggregate<ProductBoolExp>): this;
88
+ webPartsOfPost(options?: PostQueryOptions | (keyof Post)[]): this;
89
+ webPartsOfPostAggregate(aggregate: IAggregate<PostBoolExp>): this;
90
+ webPartsOfPostCategory(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
91
+ webPartsOfPostCategoryAggregate(aggregate: IAggregate<PostCategoryBoolExp>): this;
92
+ webPartsOfTag(options?: TagQueryOptions | (keyof Tag)[]): this;
93
+ webPartsOfTagAggregate(aggregate: IAggregate<TagBoolExp>): this;
94
+ webPartsOfCustomer(options?: CustomerQueryOptions | (keyof Customer)[]): this;
95
+ webPartsOfCustomerAggregate(aggregate: IAggregate<CustomerBoolExp>): this;
96
+ webPartsOfProductCategory(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
97
+ webPartsOfProductCategoryAggregate(aggregate: IAggregate<ProductCategoryBoolExp>): this;
98
+ webPartsOfSpamFilterRule(options?: SpamFilterRuleQueryOptions | (keyof SpamFilterRule)[]): this;
99
+ webPartsOfSpamFilterRuleAggregate(aggregate: IAggregate<SpamFilterRuleBoolExp>): this;
100
+ webPartsOfMedia(options?: MediaQueryOptions | (keyof Media)[]): this;
101
+ webPartsOfMediaAggregate(aggregate: IAggregate<MediaBoolExp>): this;
38
102
  }
@@ -1,32 +1,25 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { MediaFolder, MediaFolderBoolExp, MediaFolderDistinctExp, MediaFolderOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
4
6
  import { MediaQueryOptions } from './MediaQueryOptions';
5
7
  import { Media } from '../interfaces';
6
8
  import { MediaBoolExp } from '../interfaces';
9
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
10
+ import { Website } from '../interfaces';
7
11
  export declare class MediaFolderQueryOptions extends QueryOptions<MediaFolder, MediaFolderBoolExp, MediaFolderOrderBy, MediaFolderDistinctExp> {
8
12
  constructor(fields?: (keyof MediaFolder)[], queryArgs?: IQueryArgs<MediaFolderBoolExp, MediaFolderOrderBy, MediaFolderDistinctExp>);
9
13
  id(): this;
10
14
  name(): this;
11
15
  seqValue(): this;
12
- websiteId(): this;
13
- slug(): this;
14
- description(): this;
15
- /**
16
- * 创建时间
17
- */
18
16
  createdAt(): this;
19
- /**
20
- * 更新时间
21
- */
22
17
  updatedAt(): this;
23
- /**
24
- * 备注
25
- */
26
- remark(): this;
27
18
  children(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
28
19
  childrenAggregate(aggregate: IAggregate<MediaFolderBoolExp>): this;
20
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
29
21
  parent(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
30
22
  medias(options?: MediaQueryOptions | (keyof Media)[]): this;
31
23
  mediasAggregate(aggregate: IAggregate<MediaBoolExp>): this;
24
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
32
25
  }
@@ -3,6 +3,8 @@ import { QueryOptions } from "./QueryOptions";
3
3
  import { Media, MediaBoolExp, MediaDistinctExp, MediaOrderBy } from "../interfaces";
4
4
  import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
5
5
  import { MediaFolder } from '../interfaces';
6
+ import { LangQueryOptions } from './LangQueryOptions';
7
+ import { Lang } from '../interfaces';
6
8
  import { PostQueryOptions } from './PostQueryOptions';
7
9
  import { Post } from '../interfaces';
8
10
  import { PostBoolExp } from '../interfaces';
@@ -23,6 +25,8 @@ import { MediaOnProductBoolExp } from '../interfaces';
23
25
  import { AttachmentOnProductQueryOptions } from './AttachmentOnProductQueryOptions';
24
26
  import { AttachmentOnProduct } from '../interfaces';
25
27
  import { AttachmentOnProductBoolExp } from '../interfaces';
28
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
29
+ import { Website } from '../interfaces';
26
30
  export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp, MediaOrderBy, MediaDistinctExp> {
27
31
  constructor(fields?: (keyof Media)[], queryArgs?: IQueryArgs<MediaBoolExp, MediaOrderBy, MediaDistinctExp>);
28
32
  id(): this;
@@ -35,11 +39,8 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
35
39
  createdAt(): this;
36
40
  updatedAt(): this;
37
41
  mediaType(): this;
38
- /**
39
- * 网站Id
40
- */
41
- websiteId(): this;
42
42
  folder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
43
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
43
44
  coverOf(options?: PostQueryOptions | (keyof Post)[]): this;
44
45
  coverOfAggregate(aggregate: IAggregate<PostBoolExp>): this;
45
46
  avatarOfUser(options?: UserQueryOptions | (keyof User)[]): this;
@@ -55,4 +56,5 @@ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp,
55
56
  productMediaPivotsAggregate(aggregate: IAggregate<MediaOnProductBoolExp>): this;
56
57
  productAttacPivots(options?: AttachmentOnProductQueryOptions | (keyof AttachmentOnProduct)[]): this;
57
58
  productAttacPivotsAggregate(aggregate: IAggregate<AttachmentOnProductBoolExp>): this;
59
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
58
60
  }
@@ -3,29 +3,21 @@ import { QueryOptions } from "./QueryOptions";
3
3
  import { Page, PageBoolExp, PageDistinctExp, PageOrderBy } from "../interfaces";
4
4
  import { MediaQueryOptions } from './MediaQueryOptions';
5
5
  import { Media } from '../interfaces';
6
+ import { LangQueryOptions } from './LangQueryOptions';
7
+ import { Lang } from '../interfaces';
6
8
  import { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
9
  import { Website } from '../interfaces';
8
10
  export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, PageOrderBy, PageDistinctExp> {
9
11
  constructor(fields?: (keyof Page)[], queryArgs?: IQueryArgs<PageBoolExp, PageOrderBy, PageDistinctExp>);
10
12
  id(): this;
11
13
  title(): this;
12
- content(): this;
13
14
  /**
14
15
  * 备注
15
16
  */
16
17
  remark(): this;
17
- langAbbr(): this;
18
+ content(): this;
18
19
  extends(): this;
19
- websiteId(): this;
20
- slug(): this;
21
- description(): this;
22
- /**
23
- * 创建时间
24
- */
25
20
  createdAt(): this;
26
- /**
27
- * 更新时间
28
- */
29
21
  updatedAt(): this;
30
22
  seoTitle(): this;
31
23
  seoKeywords(): this;
@@ -40,7 +32,10 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
40
32
  xTitle(): this;
41
33
  xDescription(): this;
42
34
  xUrl(): this;
43
- lang(): this;
35
+ slug(): this;
36
+ description(): this;
44
37
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
38
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
45
39
  homeOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
40
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
46
41
  }
@@ -4,29 +4,24 @@ import { PostCategory, PostCategoryBoolExp, PostCategoryDistinctExp, PostCategor
4
4
  import { PostQueryOptions } from './PostQueryOptions';
5
5
  import { Post } from '../interfaces';
6
6
  import { PostBoolExp } from '../interfaces';
7
+ import { LangQueryOptions } from './LangQueryOptions';
8
+ import { Lang } from '../interfaces';
9
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
10
+ import { Website } from '../interfaces';
7
11
  export declare class PostCategoryQueryOptions extends QueryOptions<PostCategory, PostCategoryBoolExp, PostCategoryOrderBy, PostCategoryDistinctExp> {
8
12
  constructor(fields?: (keyof PostCategory)[], queryArgs?: IQueryArgs<PostCategoryBoolExp, PostCategoryOrderBy, PostCategoryDistinctExp>);
9
13
  id(): this;
10
14
  name(): this;
11
15
  seqValue(): this;
12
- websiteId(): this;
13
- slug(): this;
14
- description(): this;
15
- /**
16
- * 创建时间
17
- */
18
16
  createdAt(): this;
19
- /**
20
- * 更新时间
21
- */
22
17
  updatedAt(): this;
23
- /**
24
- * 备注
25
- */
26
- remark(): this;
18
+ slug(): this;
19
+ description(): this;
27
20
  children(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
28
21
  childrenAggregate(aggregate: IAggregate<PostCategoryBoolExp>): this;
29
22
  posts(options?: PostQueryOptions | (keyof Post)[]): this;
30
23
  postsAggregate(aggregate: IAggregate<PostBoolExp>): this;
24
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
31
25
  parent(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
26
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
32
27
  }
@@ -8,8 +8,12 @@ import { UserQueryOptions } from './UserQueryOptions';
8
8
  import { User } from '../interfaces';
9
9
  import { MediaQueryOptions } from './MediaQueryOptions';
10
10
  import { Media } from '../interfaces';
11
+ import { LangQueryOptions } from './LangQueryOptions';
12
+ import { Lang } from '../interfaces';
11
13
  import { PostCategoryQueryOptions } from './PostCategoryQueryOptions';
12
14
  import { PostCategory } from '../interfaces';
15
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
16
+ import { Website } from '../interfaces';
13
17
  export declare class PostQueryOptions extends QueryOptions<Post, PostBoolExp, PostOrderBy, PostDistinctExp> {
14
18
  constructor(fields?: (keyof Post)[], queryArgs?: IQueryArgs<PostBoolExp, PostOrderBy, PostDistinctExp>);
15
19
  id(): this;
@@ -24,21 +28,8 @@ export declare class PostQueryOptions extends QueryOptions<Post, PostBoolExp, Po
24
28
  title(): this;
25
29
  content(): this;
26
30
  extends(): this;
27
- websiteId(): this;
28
- slug(): this;
29
- description(): this;
30
- /**
31
- * 创建时间
32
- */
33
31
  createdAt(): this;
34
- /**
35
- * 更新时间
36
- */
37
32
  updatedAt(): this;
38
- /**
39
- * 备注
40
- */
41
- remark(): this;
42
33
  seoTitle(): this;
43
34
  seoKeywords(): this;
44
35
  seoDescription(): this;
@@ -52,13 +43,16 @@ export declare class PostQueryOptions extends QueryOptions<Post, PostBoolExp, Po
52
43
  xTitle(): this;
53
44
  xDescription(): this;
54
45
  xUrl(): this;
55
- lang(): this;
46
+ slug(): this;
47
+ description(): this;
56
48
  tags(options?: TagQueryOptions | (keyof Tag)[]): this;
57
49
  tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
58
50
  author(options?: UserQueryOptions | (keyof User)[]): this;
59
51
  cover(options?: MediaQueryOptions | (keyof Media)[]): this;
60
52
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
61
53
  draftOf(options?: PostQueryOptions | (keyof Post)[]): this;
54
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
62
55
  category(options?: PostCategoryQueryOptions | (keyof PostCategory)[]): this;
63
56
  draft(options?: PostQueryOptions | (keyof Post)[]): this;
57
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
64
58
  }
@@ -3,33 +3,28 @@ import { QueryOptions } from "./QueryOptions";
3
3
  import { ProductCategory, ProductCategoryBoolExp, ProductCategoryDistinctExp, ProductCategoryOrderBy } from "../interfaces";
4
4
  import { MediaQueryOptions } from './MediaQueryOptions';
5
5
  import { Media } from '../interfaces';
6
+ import { LangQueryOptions } from './LangQueryOptions';
7
+ import { Lang } from '../interfaces';
6
8
  import { ProductQueryOptions } from './ProductQueryOptions';
7
9
  import { Product } from '../interfaces';
8
10
  import { ProductBoolExp } from '../interfaces';
11
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
12
+ import { Website } from '../interfaces';
9
13
  export declare class ProductCategoryQueryOptions extends QueryOptions<ProductCategory, ProductCategoryBoolExp, ProductCategoryOrderBy, ProductCategoryDistinctExp> {
10
14
  constructor(fields?: (keyof ProductCategory)[], queryArgs?: IQueryArgs<ProductCategoryBoolExp, ProductCategoryOrderBy, ProductCategoryDistinctExp>);
11
15
  id(): this;
12
16
  name(): this;
13
17
  seqValue(): this;
14
- websiteId(): this;
15
- slug(): this;
16
- description(): this;
17
- /**
18
- * 创建时间
19
- */
20
18
  createdAt(): this;
21
- /**
22
- * 更新时间
23
- */
24
19
  updatedAt(): this;
25
- /**
26
- * 备注
27
- */
28
- remark(): this;
20
+ slug(): this;
21
+ description(): this;
29
22
  children(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
30
23
  childrenAggregate(aggregate: IAggregate<ProductCategoryBoolExp>): this;
31
24
  media(options?: MediaQueryOptions | (keyof Media)[]): this;
25
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
32
26
  parent(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
33
27
  products(options?: ProductQueryOptions | (keyof Product)[]): this;
34
28
  productsAggregate(aggregate: IAggregate<ProductBoolExp>): this;
29
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
35
30
  }
@@ -14,8 +14,12 @@ import { MediaOnProductBoolExp } from '../interfaces';
14
14
  import { AttachmentOnProductQueryOptions } from './AttachmentOnProductQueryOptions';
15
15
  import { AttachmentOnProduct } from '../interfaces';
16
16
  import { AttachmentOnProductBoolExp } from '../interfaces';
17
+ import { LangQueryOptions } from './LangQueryOptions';
18
+ import { Lang } from '../interfaces';
17
19
  import { UserQueryOptions } from './UserQueryOptions';
18
20
  import { User } from '../interfaces';
21
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
22
+ import { Website } from '../interfaces';
19
23
  export declare class ProductQueryOptions extends QueryOptions<Product, ProductBoolExp, ProductOrderBy, ProductDistinctExp> {
20
24
  constructor(fields?: (keyof Product)[], queryArgs?: IQueryArgs<ProductBoolExp, ProductOrderBy, ProductDistinctExp>);
21
25
  id(): this;
@@ -39,21 +43,8 @@ export declare class ProductQueryOptions extends QueryOptions<Product, ProductBo
39
43
  title(): this;
40
44
  content(): this;
41
45
  extends(): this;
42
- websiteId(): this;
43
- slug(): this;
44
- description(): this;
45
- /**
46
- * 创建时间
47
- */
48
46
  createdAt(): this;
49
- /**
50
- * 更新时间
51
- */
52
47
  updatedAt(): this;
53
- /**
54
- * 备注
55
- */
56
- remark(): this;
57
48
  seoTitle(): this;
58
49
  seoKeywords(): this;
59
50
  seoDescription(): this;
@@ -67,7 +58,8 @@ export declare class ProductQueryOptions extends QueryOptions<Product, ProductBo
67
58
  xTitle(): this;
68
59
  xDescription(): this;
69
60
  xUrl(): this;
70
- lang(): this;
61
+ slug(): this;
62
+ description(): this;
71
63
  category(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
72
64
  tags(options?: TagQueryOptions | (keyof Tag)[]): this;
73
65
  tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
@@ -77,6 +69,8 @@ export declare class ProductQueryOptions extends QueryOptions<Product, ProductBo
77
69
  mediaPivotsAggregate(aggregate: IAggregate<MediaOnProductBoolExp>): this;
78
70
  attachmentPivots(options?: AttachmentOnProductQueryOptions | (keyof AttachmentOnProduct)[]): this;
79
71
  attachmentPivotsAggregate(aggregate: IAggregate<AttachmentOnProductBoolExp>): this;
72
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
80
73
  creator(options?: UserQueryOptions | (keyof User)[]): this;
81
74
  draft(options?: ProductQueryOptions | (keyof Product)[]): this;
75
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
82
76
  }
@@ -1,6 +1,10 @@
1
1
  import { IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { SpamFilterRule, SpamFilterRuleBoolExp, SpamFilterRuleDistinctExp, SpamFilterRuleOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
6
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
+ import { Website } from '../interfaces';
4
8
  export declare class SpamFilterRuleQueryOptions extends QueryOptions<SpamFilterRule, SpamFilterRuleBoolExp, SpamFilterRuleOrderBy, SpamFilterRuleDistinctExp> {
5
9
  constructor(fields?: (keyof SpamFilterRule)[], queryArgs?: IQueryArgs<SpamFilterRuleBoolExp, SpamFilterRuleOrderBy, SpamFilterRuleDistinctExp>);
6
10
  id(): this;
@@ -9,11 +13,6 @@ export declare class SpamFilterRuleQueryOptions extends QueryOptions<SpamFilterR
9
13
  keywords(): this;
10
14
  createdAt(): this;
11
15
  updatedAt(): this;
12
- websiteId(): this;
13
- slug(): this;
14
- description(): this;
15
- /**
16
- * 备注
17
- */
18
- remark(): this;
16
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
17
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
19
18
  }
@@ -1,12 +1,16 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Tag, TagBoolExp, TagDistinctExp, TagOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
4
6
  import { PostQueryOptions } from './PostQueryOptions';
5
7
  import { Post } from '../interfaces';
6
8
  import { PostBoolExp } from '../interfaces';
7
9
  import { ProductQueryOptions } from './ProductQueryOptions';
8
10
  import { Product } from '../interfaces';
9
11
  import { ProductBoolExp } from '../interfaces';
12
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
13
+ import { Website } from '../interfaces';
10
14
  export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOrderBy, TagDistinctExp> {
11
15
  constructor(fields?: (keyof Tag)[], queryArgs?: IQueryArgs<TagBoolExp, TagOrderBy, TagDistinctExp>);
12
16
  id(): this;
@@ -15,23 +19,12 @@ export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOr
15
19
  */
16
20
  name(): this;
17
21
  color(): this;
18
- websiteId(): this;
19
- slug(): this;
20
- description(): this;
21
- /**
22
- * 创建时间
23
- */
24
22
  createdAt(): this;
25
- /**
26
- * 更新时间
27
- */
28
23
  updatedAt(): this;
29
- /**
30
- * 备注
31
- */
32
- remark(): this;
24
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
33
25
  posts(options?: PostQueryOptions | (keyof Post)[]): this;
34
26
  postsAggregate(aggregate: IAggregate<PostBoolExp>): this;
35
27
  products(options?: ProductQueryOptions | (keyof Product)[]): this;
36
28
  productsAggregate(aggregate: IAggregate<ProductBoolExp>): this;
29
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
37
30
  }
@@ -4,29 +4,22 @@ import { TemplateCategory, TemplateCategoryBoolExp, TemplateCategoryDistinctExp,
4
4
  import { TemplateQueryOptions } from './TemplateQueryOptions';
5
5
  import { Template } from '../interfaces';
6
6
  import { TemplateBoolExp } from '../interfaces';
7
+ import { LangQueryOptions } from './LangQueryOptions';
8
+ import { Lang } from '../interfaces';
7
9
  import { ThemeQueryOptions } from './ThemeQueryOptions';
8
10
  import { Theme } from '../interfaces';
11
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
12
+ import { Website } from '../interfaces';
9
13
  export declare class TemplateCategoryQueryOptions extends QueryOptions<TemplateCategory, TemplateCategoryBoolExp, TemplateCategoryOrderBy, TemplateCategoryDistinctExp> {
10
14
  constructor(fields?: (keyof TemplateCategory)[], queryArgs?: IQueryArgs<TemplateCategoryBoolExp, TemplateCategoryOrderBy, TemplateCategoryDistinctExp>);
11
15
  id(): this;
12
16
  name(): this;
13
17
  seqValue(): this;
14
- websiteId(): this;
15
- slug(): this;
16
- description(): this;
17
- /**
18
- * 创建时间
19
- */
20
18
  createdAt(): this;
21
- /**
22
- * 更新时间
23
- */
24
19
  updatedAt(): this;
25
- /**
26
- * 备注
27
- */
28
- remark(): this;
29
20
  templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
30
21
  templatesAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
22
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
31
23
  theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
24
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
32
25
  }
@@ -1,10 +1,14 @@
1
1
  import { IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Template, TemplateBoolExp, TemplateDistinctExp, TemplateOrderBy } from "../interfaces";
4
+ import { LangQueryOptions } from './LangQueryOptions';
5
+ import { Lang } from '../interfaces';
4
6
  import { TemplateCategoryQueryOptions } from './TemplateCategoryQueryOptions';
5
7
  import { TemplateCategory } from '../interfaces';
6
8
  import { ThemeQueryOptions } from './ThemeQueryOptions';
7
9
  import { Theme } from '../interfaces';
10
+ import { WebsiteQueryOptions } from './WebsiteQueryOptions';
11
+ import { Website } from '../interfaces';
8
12
  export declare class TemplateQueryOptions extends QueryOptions<Template, TemplateBoolExp, TemplateOrderBy, TemplateDistinctExp> {
9
13
  constructor(fields?: (keyof Template)[], queryArgs?: IQueryArgs<TemplateBoolExp, TemplateOrderBy, TemplateDistinctExp>);
10
14
  id(): this;
@@ -15,21 +19,10 @@ export declare class TemplateQueryOptions extends QueryOptions<Template, Templat
15
19
  * 模板类型
16
20
  */
17
21
  templateType(): this;
18
- websiteId(): this;
19
- slug(): this;
20
- description(): this;
21
- /**
22
- * 创建时间
23
- */
24
22
  createdAt(): this;
25
- /**
26
- * 更新时间
27
- */
28
23
  updatedAt(): this;
29
- /**
30
- * 备注
31
- */
32
- remark(): this;
24
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
33
25
  category(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
34
26
  theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
27
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
35
28
  }
@@ -7,6 +7,8 @@ import { TemplateBoolExp } from '../interfaces';
7
7
  import { TemplateCategoryQueryOptions } from './TemplateCategoryQueryOptions';
8
8
  import { TemplateCategory } from '../interfaces';
9
9
  import { TemplateCategoryBoolExp } from '../interfaces';
10
+ import { LangQueryOptions } from './LangQueryOptions';
11
+ import { Lang } from '../interfaces';
10
12
  import { WebsiteQueryOptions } from './WebsiteQueryOptions';
11
13
  import { Website } from '../interfaces';
12
14
  export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp> {
@@ -15,24 +17,14 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
15
17
  name(): this;
16
18
  styles(): this;
17
19
  settings(): this;
18
- websiteId(): this;
19
- slug(): this;
20
20
  description(): this;
21
- /**
22
- * 创建时间
23
- */
24
21
  createdAt(): this;
25
- /**
26
- * 更新时间
27
- */
28
22
  updatedAt(): this;
29
- /**
30
- * 备注
31
- */
32
- remark(): this;
33
23
  templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
34
24
  templatesAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
35
25
  themlateCategories(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
36
26
  themlateCategoriesAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
27
+ lang(options?: LangQueryOptions | (keyof Lang)[]): this;
37
28
  selectedBy(options?: WebsiteQueryOptions | (keyof Website)[]): this;
29
+ website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
38
30
  }