@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
@@ -0,0 +1,19 @@
1
+ import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { ComponentCategory, ComponentCategoryBoolExp, ComponentCategoryDistinctExp, ComponentCategoryOrderBy } from "../interfaces";
4
+ import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
5
+ import { FrontComponent } from '../interfaces';
6
+ import { FrontComponentBoolExp } from '../interfaces';
7
+ import { ThemeQueryOptions } from './ThemeQueryOptions';
8
+ import { Theme } from '../interfaces';
9
+ export declare class ComponentCategoryQueryOptions extends QueryOptions<ComponentCategory, ComponentCategoryBoolExp, ComponentCategoryOrderBy, ComponentCategoryDistinctExp> {
10
+ constructor(fields?: (keyof ComponentCategory)[], queryArgs?: IQueryArgs<ComponentCategoryBoolExp, ComponentCategoryOrderBy, ComponentCategoryDistinctExp>);
11
+ id(): this;
12
+ name(): this;
13
+ seqValue(): this;
14
+ updatedAt(): this;
15
+ createdAt(): this;
16
+ components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
17
+ componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
18
+ theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
19
+ }
@@ -0,0 +1,23 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-hooks";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { FrontComponent, FrontComponentBoolExp, FrontComponentDistinctExp, FrontComponentOrderBy } from "../interfaces";
4
+ import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
5
+ import { ComponentCategory } from '../interfaces';
6
+ import { ThemeQueryOptions } from './ThemeQueryOptions';
7
+ import { Theme } from '../interfaces';
8
+ export declare class FrontComponentQueryOptions extends QueryOptions<FrontComponent, FrontComponentBoolExp, FrontComponentOrderBy, FrontComponentDistinctExp> {
9
+ constructor(fields?: (keyof FrontComponent)[], queryArgs?: IQueryArgs<FrontComponentBoolExp, FrontComponentOrderBy, FrontComponentDistinctExp>);
10
+ id(): this;
11
+ name(): this;
12
+ title(): this;
13
+ seqValue(): this;
14
+ content(): this;
15
+ props(): this;
16
+ testConfig(): this;
17
+ updatedAt(): this;
18
+ createdAt(): this;
19
+ slots(): this;
20
+ droppable(): this;
21
+ category(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
22
+ theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
23
+ }
@@ -15,6 +15,7 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
15
15
  * 备注
16
16
  */
17
17
  remark(): this;
18
+ pageType(): this;
18
19
  content(): this;
19
20
  extends(): this;
20
21
  createdAt(): this;
@@ -36,6 +37,5 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
36
37
  description(): this;
37
38
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
38
39
  lang(options?: LangQueryOptions | (keyof Lang)[]): this;
39
- homeOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
40
40
  website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
41
41
  }
@@ -15,10 +15,6 @@ export declare class TemplateQueryOptions extends QueryOptions<Template, Templat
15
15
  name(): this;
16
16
  seqValue(): this;
17
17
  content(): this;
18
- /**
19
- * 模板类型
20
- */
21
- templateType(): this;
22
18
  createdAt(): this;
23
19
  updatedAt(): this;
24
20
  lang(options?: LangQueryOptions | (keyof Lang)[]): this;
@@ -11,6 +11,12 @@ import { LangQueryOptions } from './LangQueryOptions';
11
11
  import { Lang } from '../interfaces';
12
12
  import { MediaQueryOptions } from './MediaQueryOptions';
13
13
  import { Media } from '../interfaces';
14
+ import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
15
+ import { FrontComponent } from '../interfaces';
16
+ import { FrontComponentBoolExp } from '../interfaces';
17
+ import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
18
+ import { ComponentCategory } from '../interfaces';
19
+ import { ComponentCategoryBoolExp } from '../interfaces';
14
20
  import { WebsiteQueryOptions } from './WebsiteQueryOptions';
15
21
  import { Website } from '../interfaces';
16
22
  export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp> {
@@ -20,6 +26,8 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
20
26
  styles(): this;
21
27
  settings(): this;
22
28
  description(): this;
29
+ tailwindConfig(): this;
30
+ css(): this;
23
31
  createdAt(): this;
24
32
  updatedAt(): this;
25
33
  templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
@@ -28,6 +36,10 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
28
36
  themlateCategoriesAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
29
37
  lang(options?: LangQueryOptions | (keyof Lang)[]): this;
30
38
  cover(options?: MediaQueryOptions | (keyof Media)[]): this;
39
+ components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
40
+ componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
41
+ componentCategories(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
42
+ componentCategoriesAggregate(aggregate: IAggregate<ComponentCategoryBoolExp>): this;
31
43
  selectedBy(options?: WebsiteQueryOptions | (keyof Website)[]): this;
32
44
  website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
33
45
  }
@@ -28,7 +28,7 @@ export declare class UserQueryOptions extends QueryOptions<User, UserBoolExp, Us
28
28
  /**
29
29
  * 职位
30
30
  */
31
- postion(): this;
31
+ position(): this;
32
32
  /**
33
33
  * 自我介绍
34
34
  */
@@ -5,8 +5,6 @@ import { WebsiteTypeQueryOptions } from './WebsiteTypeQueryOptions';
5
5
  import { WebsiteType } from '../interfaces';
6
6
  import { ThemeQueryOptions } from './ThemeQueryOptions';
7
7
  import { Theme } from '../interfaces';
8
- import { PageQueryOptions } from './PageQueryOptions';
9
- import { Page } from '../interfaces';
10
8
  import { UserQueryOptions } from './UserQueryOptions';
11
9
  import { User } from '../interfaces';
12
10
  import { UserBoolExp } from '../interfaces';
@@ -26,6 +24,8 @@ import { MediaFolderBoolExp } from '../interfaces';
26
24
  import { EnquiryQueryOptions } from './EnquiryQueryOptions';
27
25
  import { Enquiry } from '../interfaces';
28
26
  import { EnquiryBoolExp } from '../interfaces';
27
+ import { PageQueryOptions } from './PageQueryOptions';
28
+ import { Page } from '../interfaces';
29
29
  import { PageBoolExp } from '../interfaces';
30
30
  import { ProductQueryOptions } from './ProductQueryOptions';
31
31
  import { Product } from '../interfaces';
@@ -85,7 +85,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
85
85
  description(): this;
86
86
  websiteType(options?: WebsiteTypeQueryOptions | (keyof WebsiteType)[]): this;
87
87
  selectedTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
88
- homePage(options?: PageQueryOptions | (keyof Page)[]): this;
89
88
  owner(options?: UserQueryOptions | (keyof User)[]): this;
90
89
  users(options?: UserQueryOptions | (keyof User)[]): this;
91
90
  usersAggregate(aggregate: IAggregate<UserBoolExp>): this;
@@ -23,5 +23,7 @@ export * from './SpamFilterRuleQueryOptions';
23
23
  export * from './MediaOnProductQueryOptions';
24
24
  export * from './AttachmentOnProductQueryOptions';
25
25
  export * from './ProductRelatedPivotQueryOptions';
26
+ export * from './FrontComponentQueryOptions';
27
+ export * from './ComponentCategoryQueryOptions';
26
28
  export * from './QueryOptions';
27
29
  export * from './metainfo';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-hooks";
2
+ export declare const componentCategoryEntry: EntityEntry;
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-hooks";
2
+ export declare const frontComponentEntry: EntityEntry;
@@ -23,3 +23,5 @@ export * from './spamFilterRuleEntry';
23
23
  export * from './mediaOnProductEntry';
24
24
  export * from './attachmentOnProductEntry';
25
25
  export * from './productRelatedPivotEntry';
26
+ export * from './frontComponentEntry';
27
+ export * from './componentCategoryEntry';
@@ -0,0 +1,12 @@
1
+ export declare enum ComponentCategoryFields {
2
+ id = "id",
3
+ name = "name",
4
+ seqValue = "seqValue",
5
+ updatedAt = "updatedAt",
6
+ createdAt = "createdAt"
7
+ }
8
+ export declare enum ComponentCategoryAssciations {
9
+ components = "components",
10
+ componentsAggregate = "componentsAggregate",
11
+ theme = "theme"
12
+ }
@@ -0,0 +1,17 @@
1
+ export declare enum FrontComponentFields {
2
+ id = "id",
3
+ name = "name",
4
+ title = "title",
5
+ seqValue = "seqValue",
6
+ content = "content",
7
+ props = "props",
8
+ testConfig = "testConfig",
9
+ updatedAt = "updatedAt",
10
+ createdAt = "createdAt",
11
+ slots = "slots",
12
+ droppable = "droppable"
13
+ }
14
+ export declare enum FrontComponentAssciations {
15
+ category = "category",
16
+ theme = "theme"
17
+ }
@@ -5,6 +5,7 @@ export declare enum PageFields {
5
5
  * 备注
6
6
  */
7
7
  remark = "remark",
8
+ pageType = "pageType",
8
9
  content = "content",
9
10
  extends = "extends",
10
11
  createdAt = "createdAt",
@@ -28,6 +29,5 @@ export declare enum PageFields {
28
29
  export declare enum PageAssciations {
29
30
  ogImage = "ogImage",
30
31
  lang = "lang",
31
- homeOf = "homeOf",
32
32
  website = "website"
33
33
  }
@@ -3,10 +3,6 @@ export declare enum TemplateFields {
3
3
  name = "name",
4
4
  seqValue = "seqValue",
5
5
  content = "content",
6
- /**
7
- * 模板类型
8
- */
9
- templateType = "templateType",
10
6
  createdAt = "createdAt",
11
7
  updatedAt = "updatedAt"
12
8
  }
@@ -4,6 +4,8 @@ export declare enum ThemeFields {
4
4
  styles = "styles",
5
5
  settings = "settings",
6
6
  description = "description",
7
+ tailwindConfig = "tailwindConfig",
8
+ css = "css",
7
9
  createdAt = "createdAt",
8
10
  updatedAt = "updatedAt"
9
11
  }
@@ -14,6 +16,10 @@ export declare enum ThemeAssciations {
14
16
  themlateCategoriesAggregate = "themlateCategoriesAggregate",
15
17
  lang = "lang",
16
18
  cover = "cover",
19
+ components = "components",
20
+ componentsAggregate = "componentsAggregate",
21
+ componentCategories = "componentCategories",
22
+ componentCategoriesAggregate = "componentCategoriesAggregate",
17
23
  selectedBy = "selectedBy",
18
24
  website = "website"
19
25
  }
@@ -10,7 +10,7 @@ export declare enum UserFields {
10
10
  /**
11
11
  * 职位
12
12
  */
13
- postion = "postion",
13
+ position = "position",
14
14
  /**
15
15
  * 自我介绍
16
16
  */
@@ -33,7 +33,6 @@ export declare enum WebsiteFields {
33
33
  export declare enum WebsiteAssciations {
34
34
  websiteType = "websiteType",
35
35
  selectedTheme = "selectedTheme",
36
- homePage = "homePage",
37
36
  owner = "owner",
38
37
  users = "users",
39
38
  usersAggregate = "usersAggregate",
@@ -23,3 +23,5 @@ export * from './SpamFilterRuleFields';
23
23
  export * from './MediaOnProductFields';
24
24
  export * from './AttachmentOnProductFields';
25
25
  export * from './ProductRelatedPivotFields';
26
+ export * from './FrontComponentFields';
27
+ export * from './ComponentCategoryFields';