@rxdrag/rxcms-models 0.3.43 → 0.3.44

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 (183) hide show
  1. package/dist/classes/AnalyticsConfigQueryOptions.d.ts +16 -0
  2. package/dist/classes/CustomerQueryOptions.d.ts +1 -0
  3. package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
  4. package/dist/classes/FrontComponentQueryOptions.d.ts +2 -1
  5. package/dist/classes/LangQueryOptions.d.ts +15 -25
  6. package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
  7. package/dist/classes/MediaQueryOptions.d.ts +11 -17
  8. package/dist/classes/PageMetaQueryOptions.d.ts +33 -0
  9. package/dist/classes/PageQueryOptions.d.ts +8 -24
  10. package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
  11. package/dist/classes/PostQueryOptions.d.ts +4 -15
  12. package/dist/classes/ProductCategoryQueryOptions.d.ts +1 -0
  13. package/dist/classes/ProductQueryOptions.d.ts +4 -17
  14. package/dist/classes/QueryOptions.d.ts +5 -5
  15. package/dist/classes/SpamFilterRuleQueryOptions.d.ts +1 -0
  16. package/dist/classes/TagQueryOptions.d.ts +1 -0
  17. package/dist/classes/ThemeConfigQueryOptions.d.ts +22 -0
  18. package/dist/classes/ThemeInMarketQueryOptions.d.ts +17 -0
  19. package/dist/classes/ThemeQueryOptions.d.ts +22 -14
  20. package/dist/classes/ThemeVersionQueryOptions.d.ts +14 -0
  21. package/dist/classes/UserQueryOptions.d.ts +1 -1
  22. package/dist/classes/WebsiteQueryOptions.d.ts +14 -26
  23. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +1 -14
  24. package/dist/classes/index.d.ts +5 -3
  25. package/dist/entries/analyticsConfigEntry.d.ts +2 -0
  26. package/dist/entries/index.d.ts +5 -3
  27. package/dist/entries/{templateEntry.d.ts → pageMetaEntry.d.ts} +1 -1
  28. package/dist/entries/themeConfigEntry.d.ts +2 -0
  29. package/dist/entries/themeInMarketEntry.d.ts +2 -0
  30. package/dist/entries/themeVersionEntry.d.ts +2 -0
  31. package/dist/fields/AnalyticsConfigFields.d.ts +12 -0
  32. package/dist/fields/CustomerFields.d.ts +1 -0
  33. package/dist/fields/EnquiryFields.d.ts +2 -1
  34. package/dist/fields/FrontComponentFields.d.ts +3 -2
  35. package/dist/fields/LangFields.d.ts +10 -11
  36. package/dist/fields/MediaFields.d.ts +7 -10
  37. package/dist/fields/MediaFolderFields.d.ts +2 -1
  38. package/dist/fields/PageFields.d.ts +5 -19
  39. package/dist/fields/PageMetaFields.d.ts +23 -0
  40. package/dist/fields/PostCategoryFields.d.ts +1 -0
  41. package/dist/fields/PostFields.d.ts +2 -15
  42. package/dist/fields/ProductCategoryFields.d.ts +1 -0
  43. package/dist/fields/ProductFields.d.ts +2 -15
  44. package/dist/fields/SpamFilterRuleFields.d.ts +2 -1
  45. package/dist/fields/TagFields.d.ts +2 -1
  46. package/dist/fields/ThemeConfigFields.d.ts +16 -0
  47. package/dist/fields/ThemeFields.d.ts +13 -6
  48. package/dist/fields/ThemeInMarketFields.d.ts +12 -0
  49. package/dist/fields/ThemeVersionFields.d.ts +8 -0
  50. package/dist/fields/UserFields.d.ts +1 -1
  51. package/dist/fields/WebsiteFields.d.ts +6 -11
  52. package/dist/fields/WebsiteSettingsFields.d.ts +2 -13
  53. package/dist/fields/index.d.ts +5 -3
  54. package/dist/index.mjs +1062 -1215
  55. package/dist/index.mjs.map +1 -1
  56. package/dist/interfaces/AnalyticsConfig.d.ts +15 -0
  57. package/dist/interfaces/AnalyticsConfigBoolExp.d.ts +13 -0
  58. package/dist/interfaces/AnalyticsConfigDistinctExp.d.ts +10 -0
  59. package/dist/interfaces/AnalyticsConfigInput.d.ts +17 -0
  60. package/dist/interfaces/AnalyticsConfigItem.d.ts +5 -0
  61. package/dist/interfaces/AnalyticsConfigOrderBy.d.ts +10 -0
  62. package/dist/interfaces/CustomerDistinctExp.d.ts +1 -0
  63. package/dist/interfaces/EnquiryDistinctExp.d.ts +2 -1
  64. package/dist/interfaces/FrontComponent.d.ts +2 -2
  65. package/dist/interfaces/FrontComponentBoolExp.d.ts +2 -1
  66. package/dist/interfaces/FrontComponentDistinctExp.d.ts +3 -2
  67. package/dist/interfaces/FrontComponentInput.d.ts +2 -2
  68. package/dist/interfaces/FrontComponentOrderBy.d.ts +2 -1
  69. package/dist/interfaces/GaConfig.d.ts +7 -0
  70. package/dist/interfaces/GaDimension.d.ts +4 -0
  71. package/dist/interfaces/Lang.d.ts +11 -15
  72. package/dist/interfaces/LangBoolExp.d.ts +8 -10
  73. package/dist/interfaces/LangDistinctExp.d.ts +4 -1
  74. package/dist/interfaces/LangInput.d.ts +8 -10
  75. package/dist/interfaces/LangOrderBy.d.ts +3 -0
  76. package/dist/interfaces/Marketable.d.ts +9 -0
  77. package/dist/interfaces/MarketableBoolExp.d.ts +16 -0
  78. package/dist/interfaces/MarketableDistinctExp.d.ts +9 -0
  79. package/dist/interfaces/MarketableOrderBy.d.ts +9 -0
  80. package/dist/interfaces/MarketableStatus.d.ts +14 -0
  81. package/dist/interfaces/Media.d.ts +6 -11
  82. package/dist/interfaces/MediaBoolExp.d.ts +4 -7
  83. package/dist/interfaces/MediaDistinctExp.d.ts +2 -1
  84. package/dist/interfaces/MediaFolderDistinctExp.d.ts +2 -1
  85. package/dist/interfaces/MediaInput.d.ts +4 -7
  86. package/dist/interfaces/OtherAnalyticsConfig.d.ts +4 -0
  87. package/dist/interfaces/Page.d.ts +11 -8
  88. package/dist/interfaces/PageBoolExp.d.ts +12 -8
  89. package/dist/interfaces/PageDistinctExp.d.ts +4 -18
  90. package/dist/interfaces/PageInput.d.ts +11 -8
  91. package/dist/interfaces/PageMeta.d.ts +27 -0
  92. package/dist/interfaces/PageMetaBoolExp.d.ts +30 -0
  93. package/dist/interfaces/PageMetaDistinctExp.d.ts +18 -0
  94. package/dist/interfaces/PageMetaInput.d.ts +29 -0
  95. package/dist/interfaces/{OgMetaOrderBy.d.ts → PageMetaOrderBy.d.ts} +7 -3
  96. package/dist/interfaces/PageOrderBy.d.ts +7 -2
  97. package/dist/interfaces/Post.d.ts +2 -1
  98. package/dist/interfaces/PostBoolExp.d.ts +2 -1
  99. package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
  100. package/dist/interfaces/PostDistinctExp.d.ts +1 -14
  101. package/dist/interfaces/PostInput.d.ts +2 -1
  102. package/dist/interfaces/Product.d.ts +4 -5
  103. package/dist/interfaces/ProductBoolExp.d.ts +4 -4
  104. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
  105. package/dist/interfaces/ProductDistinctExp.d.ts +1 -14
  106. package/dist/interfaces/ProductInput.d.ts +4 -5
  107. package/dist/interfaces/PublishableDistinctExp.d.ts +1 -14
  108. package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +2 -1
  109. package/dist/interfaces/TagDistinctExp.d.ts +2 -1
  110. package/dist/interfaces/Theme.d.ts +20 -11
  111. package/dist/interfaces/ThemeBoolExp.d.ts +15 -9
  112. package/dist/interfaces/ThemeConfig.d.ts +19 -0
  113. package/dist/interfaces/ThemeConfigBoolExp.d.ts +21 -0
  114. package/dist/interfaces/ThemeConfigDistinctExp.d.ts +13 -0
  115. package/dist/interfaces/ThemeConfigInput.d.ts +21 -0
  116. package/dist/interfaces/ThemeConfigOrderBy.d.ts +13 -0
  117. package/dist/interfaces/ThemeDistinctExp.d.ts +9 -2
  118. package/dist/interfaces/ThemeInMarket.d.ts +10 -0
  119. package/dist/interfaces/ThemeInMarketBoolExp.d.ts +10 -0
  120. package/dist/interfaces/ThemeInMarketDistinctExp.d.ts +10 -0
  121. package/dist/interfaces/ThemeInMarketInput.d.ts +10 -0
  122. package/dist/interfaces/ThemeInMarketOrderBy.d.ts +5 -0
  123. package/dist/interfaces/ThemeInput.d.ts +19 -9
  124. package/dist/interfaces/ThemeOrderBy.d.ts +11 -2
  125. package/dist/interfaces/ThemeVersion.d.ts +10 -0
  126. package/dist/interfaces/ThemeVersionBoolExp.d.ts +13 -0
  127. package/dist/interfaces/ThemeVersionDistinctExp.d.ts +5 -0
  128. package/dist/interfaces/ThemeVersionInput.d.ts +12 -0
  129. package/dist/interfaces/ThemeVersionOrderBy.d.ts +5 -0
  130. package/dist/interfaces/User.d.ts +1 -1
  131. package/dist/interfaces/UserBoolExp.d.ts +1 -1
  132. package/dist/interfaces/UserInput.d.ts +1 -1
  133. package/dist/interfaces/Website.d.ts +9 -16
  134. package/dist/interfaces/WebsiteBoolExp.d.ts +7 -11
  135. package/dist/interfaces/WebsiteContent.d.ts +1 -5
  136. package/dist/interfaces/WebsiteContentBoolExp.d.ts +1 -4
  137. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +2 -17
  138. package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -4
  139. package/dist/interfaces/WebsiteInput.d.ts +7 -11
  140. package/dist/interfaces/WebsitePart.d.ts +1 -0
  141. package/dist/interfaces/WebsitePartBoolExp.d.ts +2 -0
  142. package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -1
  143. package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
  144. package/dist/interfaces/WebsiteSettings.d.ts +0 -14
  145. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +0 -10
  146. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +2 -12
  147. package/dist/interfaces/WebsiteSettingsInput.d.ts +0 -14
  148. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +0 -11
  149. package/dist/interfaces/WebsiteUser.d.ts +1 -1
  150. package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
  151. package/dist/interfaces/index.d.ts +34 -24
  152. package/package.json +4 -4
  153. package/dist/classes/TemplateCategoryQueryOptions.d.ts +0 -25
  154. package/dist/classes/TemplateQueryOptions.d.ts +0 -24
  155. package/dist/classes/WebsiteFrameQueryOptions.d.ts +0 -18
  156. package/dist/entries/templateCategoryEntry.d.ts +0 -2
  157. package/dist/entries/websiteFrameEntry.d.ts +0 -2
  158. package/dist/fields/TemplateCategoryFields.d.ts +0 -14
  159. package/dist/fields/TemplateFields.d.ts +0 -14
  160. package/dist/fields/WebsiteFrameFields.d.ts +0 -12
  161. package/dist/interfaces/Content.d.ts +0 -3
  162. package/dist/interfaces/OgMeta.d.ts +0 -13
  163. package/dist/interfaces/OgMetaBoolExp.d.ts +0 -18
  164. package/dist/interfaces/OgMetaDistinctExp.d.ts +0 -14
  165. package/dist/interfaces/SeoMeta.d.ts +0 -6
  166. package/dist/interfaces/SeoMetaBoolExp.d.ts +0 -11
  167. package/dist/interfaces/SeoMetaDistinctExp.d.ts +0 -7
  168. package/dist/interfaces/SeoMetaOrderBy.d.ts +0 -7
  169. package/dist/interfaces/Template.d.ts +0 -17
  170. package/dist/interfaces/TemplateBoolExp.d.ts +0 -21
  171. package/dist/interfaces/TemplateCategory.d.ts +0 -18
  172. package/dist/interfaces/TemplateCategoryBoolExp.d.ts +0 -20
  173. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +0 -9
  174. package/dist/interfaces/TemplateCategoryInput.d.ts +0 -19
  175. package/dist/interfaces/TemplateCategoryOrderBy.d.ts +0 -7
  176. package/dist/interfaces/TemplateDistinctExp.d.ts +0 -10
  177. package/dist/interfaces/TemplateInput.d.ts +0 -19
  178. package/dist/interfaces/TemplateOrderBy.d.ts +0 -8
  179. package/dist/interfaces/WebsiteFrame.d.ts +0 -14
  180. package/dist/interfaces/WebsiteFrameBoolExp.d.ts +0 -15
  181. package/dist/interfaces/WebsiteFrameDistinctExp.d.ts +0 -10
  182. package/dist/interfaces/WebsiteFrameInput.d.ts +0 -16
  183. package/dist/interfaces/WebsiteFrameOrderBy.d.ts +0 -8
@@ -1,12 +1,11 @@
1
1
  import { PageType } from './PageType';
2
- import { WebsiteContentBoolExp } from './WebsiteContentBoolExp';
3
2
  import { IdComparisonExp } from './IdComparisonExp';
4
3
  import { StringComparisonExp } from './StringComparisonExp';
5
4
  import { EnumComparisonExp } from './EnumComparisonExp';
6
- import { MediaBoolExp } from './MediaBoolExp';
7
- import { LangBoolExp } from './LangBoolExp';
8
- import { WebsiteBoolExp } from './WebsiteBoolExp';
9
- export interface PageBoolExp extends WebsiteContentBoolExp {
5
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
6
+ import { PageMetaBoolExp } from './PageMetaBoolExp';
7
+ import { ThemeBoolExp } from './ThemeBoolExp';
8
+ export interface PageBoolExp {
10
9
  _and?: PageBoolExp[];
11
10
  _or?: PageBoolExp[];
12
11
  _not?: PageBoolExp;
@@ -15,7 +14,12 @@ export interface PageBoolExp extends WebsiteContentBoolExp {
15
14
  remark?: StringComparisonExp;
16
15
  pageType?: EnumComparisonExp<PageType>;
17
16
  dataSource?: unknown;
18
- ogImage?: MediaBoolExp;
19
- lang?: LangBoolExp;
20
- website?: WebsiteBoolExp;
17
+ content2?: StringComparisonExp;
18
+ createdAt?: DateTimeComparisonExp;
19
+ updatedAt?: DateTimeComparisonExp;
20
+ slug?: StringComparisonExp;
21
+ description?: StringComparisonExp;
22
+ code?: StringComparisonExp;
23
+ meta?: PageMetaBoolExp;
24
+ theme?: ThemeBoolExp;
21
25
  }
@@ -1,4 +1,3 @@
1
- import { WebsiteContentDistinctExp } from './WebsiteContentDistinctExp';
2
1
  export declare enum PageDistinctEnum {
3
2
  id = "id",
4
3
  title = "title",
@@ -8,24 +7,11 @@ export declare enum PageDistinctEnum {
8
7
  remark = "remark",
9
8
  pageType = "pageType",
10
9
  dataSource = "dataSource",
11
- content = "content",
12
- extends = "extends",
10
+ content2 = "content2",
13
11
  createdAt = "createdAt",
14
12
  updatedAt = "updatedAt",
15
- seoTitle = "seoTitle",
16
- seoKeywords = "seoKeywords",
17
- seoDescription = "seoDescription",
18
- ogTitle = "ogTitle",
19
- ogDescription = "ogDescription",
20
- ogUrl = "ogUrl",
21
- ogSiteName = "ogSiteName",
22
- ogType = "ogType",
23
- xCard = "xCard",
24
- xSite = "xSite",
25
- xTitle = "xTitle",
26
- xDescription = "xDescription",
27
- xUrl = "xUrl",
28
13
  slug = "slug",
29
- description = "description"
14
+ description = "description",
15
+ code = "code"
30
16
  }
31
- export type PageDistinctExp = PageDistinctEnum | WebsiteContentDistinctExp;
17
+ export type PageDistinctExp = PageDistinctEnum;
@@ -1,11 +1,9 @@
1
1
  import { Page } from './Page';
2
2
  import { PageType } from './PageType';
3
- import { MediaInput } from './MediaInput';
4
- import { LangInput } from './LangInput';
5
- import { WebsiteInput } from './WebsiteInput';
3
+ import { PageMetaInput } from './PageMetaInput';
4
+ import { ThemeInput } from './ThemeInput';
6
5
  import { SetHasOne } from '@rxdrag/entify-hooks';
7
- import { WebsiteContent } from './WebsiteContent';
8
- export interface PageInput extends WebsiteContent {
6
+ export interface PageInput {
9
7
  id?: string | null;
10
8
  title?: string;
11
9
  /**
@@ -14,9 +12,14 @@ export interface PageInput extends WebsiteContent {
14
12
  remark?: string;
15
13
  pageType?: PageType;
16
14
  dataSource?: any;
17
- ogImage?: SetHasOne<MediaInput>;
18
- lang?: SetHasOne<LangInput>;
19
- website?: SetHasOne<WebsiteInput>;
15
+ content2?: string;
16
+ createdAt?: Date;
17
+ updatedAt?: Date;
18
+ slug?: string;
19
+ description?: string;
20
+ code?: string;
21
+ meta?: SetHasOne<PageMetaInput>;
22
+ theme?: SetHasOne<ThemeInput>;
20
23
  }
21
24
  export declare const pageToInputCascade: (entity: Page) => PageInput;
22
25
  export declare const pageToInput: (entity: Page) => PageInput;
@@ -0,0 +1,27 @@
1
+ import { Media } from './Media';
2
+ import { Product } from './Product';
3
+ import { Page } from './Page';
4
+ import { Post } from './Post';
5
+ export declare const PageMetaEntityName = "PageMeta";
6
+ export declare const PageMetaEntityLabel = "";
7
+ export interface PageMeta {
8
+ id?: string | null;
9
+ seoTitle?: string;
10
+ seoKeywords?: string;
11
+ seoDescription?: string;
12
+ seoAuthor?: string;
13
+ publisher?: string;
14
+ seoRobots?: string;
15
+ ogTitle?: string;
16
+ ogDescription?: string;
17
+ ogUrl?: string;
18
+ ogSiteName?: string;
19
+ ogType?: string;
20
+ xCard?: string;
21
+ xSite?: string;
22
+ xUrl?: string;
23
+ ogImage?: Media;
24
+ product?: Product;
25
+ page?: Page;
26
+ post?: Post;
27
+ }
@@ -0,0 +1,30 @@
1
+ import { IdComparisonExp } from './IdComparisonExp';
2
+ import { StringComparisonExp } from './StringComparisonExp';
3
+ import { MediaBoolExp } from './MediaBoolExp';
4
+ import { ProductBoolExp } from './ProductBoolExp';
5
+ import { PageBoolExp } from './PageBoolExp';
6
+ import { PostBoolExp } from './PostBoolExp';
7
+ export interface PageMetaBoolExp {
8
+ _and?: PageMetaBoolExp[];
9
+ _or?: PageMetaBoolExp[];
10
+ _not?: PageMetaBoolExp;
11
+ id?: IdComparisonExp;
12
+ seoTitle?: StringComparisonExp;
13
+ seoKeywords?: StringComparisonExp;
14
+ seoDescription?: StringComparisonExp;
15
+ seoAuthor?: StringComparisonExp;
16
+ publisher?: StringComparisonExp;
17
+ seoRobots?: StringComparisonExp;
18
+ ogTitle?: StringComparisonExp;
19
+ ogDescription?: StringComparisonExp;
20
+ ogUrl?: StringComparisonExp;
21
+ ogSiteName?: StringComparisonExp;
22
+ ogType?: StringComparisonExp;
23
+ xCard?: StringComparisonExp;
24
+ xSite?: StringComparisonExp;
25
+ xUrl?: StringComparisonExp;
26
+ ogImage?: MediaBoolExp;
27
+ product?: ProductBoolExp;
28
+ page?: PageBoolExp;
29
+ post?: PostBoolExp;
30
+ }
@@ -0,0 +1,18 @@
1
+ export declare enum PageMetaDistinctEnum {
2
+ id = "id",
3
+ seoTitle = "seoTitle",
4
+ seoKeywords = "seoKeywords",
5
+ seoDescription = "seoDescription",
6
+ seoAuthor = "seoAuthor",
7
+ publisher = "publisher",
8
+ seoRobots = "seoRobots",
9
+ ogTitle = "ogTitle",
10
+ ogDescription = "ogDescription",
11
+ ogUrl = "ogUrl",
12
+ ogSiteName = "ogSiteName",
13
+ ogType = "ogType",
14
+ xCard = "xCard",
15
+ xSite = "xSite",
16
+ xUrl = "xUrl"
17
+ }
18
+ export type PageMetaDistinctExp = PageMetaDistinctEnum;
@@ -0,0 +1,29 @@
1
+ import { PageMeta } from './PageMeta';
2
+ import { MediaInput } from './MediaInput';
3
+ import { ProductInput } from './ProductInput';
4
+ import { PageInput } from './PageInput';
5
+ import { PostInput } from './PostInput';
6
+ import { SetHasOne } from '@rxdrag/entify-hooks';
7
+ export interface PageMetaInput {
8
+ id?: string | null;
9
+ seoTitle?: string;
10
+ seoKeywords?: string;
11
+ seoDescription?: string;
12
+ seoAuthor?: string;
13
+ publisher?: string;
14
+ seoRobots?: string;
15
+ ogTitle?: string;
16
+ ogDescription?: string;
17
+ ogUrl?: string;
18
+ ogSiteName?: string;
19
+ ogType?: string;
20
+ xCard?: string;
21
+ xSite?: string;
22
+ xUrl?: string;
23
+ ogImage?: SetHasOne<MediaInput>;
24
+ product?: SetHasOne<ProductInput>;
25
+ page?: SetHasOne<PageInput>;
26
+ post?: SetHasOne<PostInput>;
27
+ }
28
+ export declare const pageMetaToInputCascade: (entity: PageMeta) => PageMetaInput;
29
+ export declare const pageMetaToInput: (entity: PageMeta) => PageMetaInput;
@@ -1,6 +1,12 @@
1
1
  import { OrderBy } from '@rxdrag/entify-hooks';
2
- export interface OgMetaOrderBy {
2
+ export interface PageMetaOrderBy {
3
3
  id?: OrderBy;
4
+ seoTitle?: OrderBy;
5
+ seoKeywords?: OrderBy;
6
+ seoDescription?: OrderBy;
7
+ seoAuthor?: OrderBy;
8
+ publisher?: OrderBy;
9
+ seoRobots?: OrderBy;
4
10
  ogTitle?: OrderBy;
5
11
  ogDescription?: OrderBy;
6
12
  ogUrl?: OrderBy;
@@ -8,7 +14,5 @@ export interface OgMetaOrderBy {
8
14
  ogType?: OrderBy;
9
15
  xCard?: OrderBy;
10
16
  xSite?: OrderBy;
11
- xTitle?: OrderBy;
12
- xDescription?: OrderBy;
13
17
  xUrl?: OrderBy;
14
18
  }
@@ -1,6 +1,5 @@
1
1
  import { OrderBy } from '@rxdrag/entify-hooks';
2
- import { WebsiteContentOrderBy } from './WebsiteContentOrderBy';
3
- export interface PageOrderBy extends WebsiteContentOrderBy {
2
+ export interface PageOrderBy {
4
3
  id?: OrderBy;
5
4
  title?: OrderBy;
6
5
  /**
@@ -9,4 +8,10 @@ export interface PageOrderBy extends WebsiteContentOrderBy {
9
8
  remark?: OrderBy;
10
9
  pageType?: OrderBy;
11
10
  dataSource?: OrderBy;
11
+ content2?: OrderBy;
12
+ createdAt?: OrderBy;
13
+ updatedAt?: OrderBy;
14
+ slug?: OrderBy;
15
+ description?: OrderBy;
16
+ code?: OrderBy;
12
17
  }
@@ -2,6 +2,7 @@ import { Tag } from './Tag';
2
2
  import { User } from './User';
3
3
  import { Media } from './Media';
4
4
  import { Lang } from './Lang';
5
+ import { PageMeta } from './PageMeta';
5
6
  import { PostCategory } from './PostCategory';
6
7
  import { Website } from './Website';
7
8
  import { Aggregate } from './Aggregate';
@@ -23,9 +24,9 @@ export interface Post extends Publishable {
23
24
  tags?: Tag[];
24
25
  author?: User;
25
26
  cover?: Media;
26
- ogImage?: Media;
27
27
  draftOf?: Post;
28
28
  lang?: Lang;
29
+ meta?: PageMeta;
29
30
  category?: PostCategory;
30
31
  draft?: Post;
31
32
  website?: Website;
@@ -7,6 +7,7 @@ import { TagBoolExp } from './TagBoolExp';
7
7
  import { UserBoolExp } from './UserBoolExp';
8
8
  import { MediaBoolExp } from './MediaBoolExp';
9
9
  import { LangBoolExp } from './LangBoolExp';
10
+ import { PageMetaBoolExp } from './PageMetaBoolExp';
10
11
  import { PostCategoryBoolExp } from './PostCategoryBoolExp';
11
12
  import { WebsiteBoolExp } from './WebsiteBoolExp';
12
13
  /**
@@ -24,9 +25,9 @@ export interface PostBoolExp extends PublishableBoolExp {
24
25
  tags?: TagBoolExp;
25
26
  author?: UserBoolExp;
26
27
  cover?: MediaBoolExp;
27
- ogImage?: MediaBoolExp;
28
28
  draftOf?: PostBoolExp;
29
29
  lang?: LangBoolExp;
30
+ meta?: PageMetaBoolExp;
30
31
  category?: PostCategoryBoolExp;
31
32
  draft?: PostBoolExp;
32
33
  website?: WebsiteBoolExp;
@@ -6,6 +6,7 @@ export declare enum PostCategoryDistinctEnum {
6
6
  seqValue = "seqValue",
7
7
  createdAt = "createdAt",
8
8
  updatedAt = "updatedAt",
9
+ content = "content",
9
10
  slug = "slug",
10
11
  description = "description"
11
12
  }
@@ -10,23 +10,10 @@ export declare enum PostDistinctEnum {
10
10
  publishedAt = "publishedAt",
11
11
  status = "status",
12
12
  title = "title",
13
- content = "content",
14
13
  extends = "extends",
15
14
  createdAt = "createdAt",
16
15
  updatedAt = "updatedAt",
17
- seoTitle = "seoTitle",
18
- seoKeywords = "seoKeywords",
19
- seoDescription = "seoDescription",
20
- ogTitle = "ogTitle",
21
- ogDescription = "ogDescription",
22
- ogUrl = "ogUrl",
23
- ogSiteName = "ogSiteName",
24
- ogType = "ogType",
25
- xCard = "xCard",
26
- xSite = "xSite",
27
- xTitle = "xTitle",
28
- xDescription = "xDescription",
29
- xUrl = "xUrl",
16
+ content = "content",
30
17
  slug = "slug",
31
18
  description = "description"
32
19
  }
@@ -3,6 +3,7 @@ import { TagInput } from './TagInput';
3
3
  import { UserInput } from './UserInput';
4
4
  import { MediaInput } from './MediaInput';
5
5
  import { LangInput } from './LangInput';
6
+ import { PageMetaInput } from './PageMetaInput';
6
7
  import { PostCategoryInput } from './PostCategoryInput';
7
8
  import { WebsiteInput } from './WebsiteInput';
8
9
  import { SetHasMany } from '@rxdrag/entify-hooks';
@@ -23,9 +24,9 @@ export interface PostInput extends Publishable {
23
24
  tags?: SetHasMany<TagInput>;
24
25
  author?: SetHasOne<UserInput>;
25
26
  cover?: SetHasOne<MediaInput>;
26
- ogImage?: SetHasOne<MediaInput>;
27
27
  draftOf?: SetHasOne<PostInput>;
28
28
  lang?: SetHasOne<LangInput>;
29
+ meta?: SetHasOne<PageMetaInput>;
29
30
  category?: SetHasOne<PostCategoryInput>;
30
31
  draft?: SetHasOne<PostInput>;
31
32
  website?: SetHasOne<WebsiteInput>;
@@ -1,11 +1,10 @@
1
- import { Content } from './Content';
2
1
  import { ProductCategory } from './ProductCategory';
3
2
  import { Tag } from './Tag';
4
- import { Media } from './Media';
5
3
  import { MediaOnProduct } from './MediaOnProduct';
6
4
  import { AttachmentOnProduct } from './AttachmentOnProduct';
7
5
  import { Lang } from './Lang';
8
6
  import { ProductRelatedPivot } from './ProductRelatedPivot';
7
+ import { PageMeta } from './PageMeta';
9
8
  import { User } from './User';
10
9
  import { Website } from './Website';
11
10
  import { Aggregate } from './Aggregate';
@@ -22,8 +21,8 @@ export interface Product extends Publishable {
22
21
  * 特色
23
22
  */
24
23
  features?: string;
25
- content2?: Content;
26
- content3?: Content;
24
+ content2?: string;
25
+ content3?: string;
27
26
  shortTitle?: string;
28
27
  /**
29
28
  * 第三方视频url
@@ -31,12 +30,12 @@ export interface Product extends Publishable {
31
30
  externalVideoUrl?: string;
32
31
  category?: ProductCategory;
33
32
  tags?: Tag[];
34
- ogImage?: Media;
35
33
  draftOf?: Product;
36
34
  mediaPivots?: MediaOnProduct[];
37
35
  attachmentPivots?: AttachmentOnProduct[];
38
36
  lang?: Lang;
39
37
  relatedPivot?: ProductRelatedPivot[];
38
+ meta?: PageMeta;
40
39
  creator?: User;
41
40
  draft?: Product;
42
41
  website?: Website;
@@ -5,11 +5,11 @@ import { NumberComparisonExp } from './NumberComparisonExp';
5
5
  import { StringComparisonExp } from './StringComparisonExp';
6
6
  import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
7
7
  import { TagBoolExp } from './TagBoolExp';
8
- import { MediaBoolExp } from './MediaBoolExp';
9
8
  import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
10
9
  import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
11
10
  import { LangBoolExp } from './LangBoolExp';
12
11
  import { ProductRelatedPivotBoolExp } from './ProductRelatedPivotBoolExp';
12
+ import { PageMetaBoolExp } from './PageMetaBoolExp';
13
13
  import { UserBoolExp } from './UserBoolExp';
14
14
  import { WebsiteBoolExp } from './WebsiteBoolExp';
15
15
  export interface ProductBoolExp extends PublishableBoolExp {
@@ -22,18 +22,18 @@ export interface ProductBoolExp extends PublishableBoolExp {
22
22
  showInNavMenu?: BooleanComparisonExp;
23
23
  seqValue?: NumberComparisonExp;
24
24
  features?: StringComparisonExp;
25
- content2?: unknown;
26
- content3?: unknown;
25
+ content2?: StringComparisonExp;
26
+ content3?: StringComparisonExp;
27
27
  shortTitle?: StringComparisonExp;
28
28
  externalVideoUrl?: StringComparisonExp;
29
29
  category?: ProductCategoryBoolExp;
30
30
  tags?: TagBoolExp;
31
- ogImage?: MediaBoolExp;
32
31
  draftOf?: ProductBoolExp;
33
32
  mediaPivots?: MediaOnProductBoolExp;
34
33
  attachmentPivots?: AttachmentOnProductBoolExp;
35
34
  lang?: LangBoolExp;
36
35
  relatedPivot?: ProductRelatedPivotBoolExp;
36
+ meta?: PageMetaBoolExp;
37
37
  creator?: UserBoolExp;
38
38
  draft?: ProductBoolExp;
39
39
  website?: WebsiteBoolExp;
@@ -6,6 +6,7 @@ export declare enum ProductCategoryDistinctEnum {
6
6
  seqValue = "seqValue",
7
7
  createdAt = "createdAt",
8
8
  updatedAt = "updatedAt",
9
+ content = "content",
9
10
  slug = "slug",
10
11
  description = "description"
11
12
  }
@@ -19,23 +19,10 @@ export declare enum ProductDistinctEnum {
19
19
  publishedAt = "publishedAt",
20
20
  status = "status",
21
21
  title = "title",
22
- content = "content",
23
22
  extends = "extends",
24
23
  createdAt = "createdAt",
25
24
  updatedAt = "updatedAt",
26
- seoTitle = "seoTitle",
27
- seoKeywords = "seoKeywords",
28
- seoDescription = "seoDescription",
29
- ogTitle = "ogTitle",
30
- ogDescription = "ogDescription",
31
- ogUrl = "ogUrl",
32
- ogSiteName = "ogSiteName",
33
- ogType = "ogType",
34
- xCard = "xCard",
35
- xSite = "xSite",
36
- xTitle = "xTitle",
37
- xDescription = "xDescription",
38
- xUrl = "xUrl",
25
+ content = "content",
39
26
  slug = "slug",
40
27
  description = "description"
41
28
  }
@@ -1,12 +1,11 @@
1
1
  import { Product } from './Product';
2
- import { Content } from './Content';
3
2
  import { ProductCategoryInput } from './ProductCategoryInput';
4
3
  import { TagInput } from './TagInput';
5
- import { MediaInput } from './MediaInput';
6
4
  import { MediaOnProductInput } from './MediaOnProductInput';
7
5
  import { AttachmentOnProductInput } from './AttachmentOnProductInput';
8
6
  import { LangInput } from './LangInput';
9
7
  import { ProductRelatedPivotInput } from './ProductRelatedPivotInput';
8
+ import { PageMetaInput } from './PageMetaInput';
10
9
  import { UserInput } from './UserInput';
11
10
  import { WebsiteInput } from './WebsiteInput';
12
11
  import { SetHasMany } from '@rxdrag/entify-hooks';
@@ -22,8 +21,8 @@ export interface ProductInput extends Publishable {
22
21
  * 特色
23
22
  */
24
23
  features?: string;
25
- content2?: Content;
26
- content3?: Content;
24
+ content2?: string;
25
+ content3?: string;
27
26
  shortTitle?: string;
28
27
  /**
29
28
  * 第三方视频url
@@ -31,12 +30,12 @@ export interface ProductInput extends Publishable {
31
30
  externalVideoUrl?: string;
32
31
  category?: SetHasOne<ProductCategoryInput>;
33
32
  tags?: SetHasMany<TagInput>;
34
- ogImage?: SetHasOne<MediaInput>;
35
33
  draftOf?: SetHasOne<ProductInput>;
36
34
  mediaPivots?: SetHasMany<MediaOnProductInput>;
37
35
  attachmentPivots?: SetHasMany<AttachmentOnProductInput>;
38
36
  lang?: SetHasOne<LangInput>;
39
37
  relatedPivot?: SetHasMany<ProductRelatedPivotInput>;
38
+ meta?: SetHasOne<PageMetaInput>;
40
39
  creator?: SetHasOne<UserInput>;
41
40
  draft?: SetHasOne<ProductInput>;
42
41
  website?: SetHasOne<WebsiteInput>;
@@ -4,23 +4,10 @@ export declare enum PublishableDistinctEnum {
4
4
  publishedAt = "publishedAt",
5
5
  status = "status",
6
6
  title = "title",
7
- content = "content",
8
7
  extends = "extends",
9
8
  createdAt = "createdAt",
10
9
  updatedAt = "updatedAt",
11
- seoTitle = "seoTitle",
12
- seoKeywords = "seoKeywords",
13
- seoDescription = "seoDescription",
14
- ogTitle = "ogTitle",
15
- ogDescription = "ogDescription",
16
- ogUrl = "ogUrl",
17
- ogSiteName = "ogSiteName",
18
- ogType = "ogType",
19
- xCard = "xCard",
20
- xSite = "xSite",
21
- xTitle = "xTitle",
22
- xDescription = "xDescription",
23
- xUrl = "xUrl",
10
+ content = "content",
24
11
  slug = "slug",
25
12
  description = "description"
26
13
  }
@@ -5,6 +5,7 @@ export declare enum SpamFilterRuleDistinctEnum {
5
5
  ips = "ips",
6
6
  keywords = "keywords",
7
7
  createdAt = "createdAt",
8
- updatedAt = "updatedAt"
8
+ updatedAt = "updatedAt",
9
+ content = "content"
9
10
  }
10
11
  export type SpamFilterRuleDistinctExp = SpamFilterRuleDistinctEnum | WebsitePartDistinctExp;
@@ -7,6 +7,7 @@ export declare enum TagDistinctEnum {
7
7
  name = "name",
8
8
  color = "color",
9
9
  createdAt = "createdAt",
10
- updatedAt = "updatedAt"
10
+ updatedAt = "updatedAt",
11
+ content = "content"
11
12
  }
12
13
  export type TagDistinctExp = TagDistinctEnum | WebsitePartDistinctExp;
@@ -1,16 +1,16 @@
1
1
  import { ThemeSettings } from './ThemeSettings';
2
- import { Template } from './Template';
3
- import { TemplateCategory } from './TemplateCategory';
4
- import { Lang } from './Lang';
5
2
  import { Media } from './Media';
6
3
  import { FrontComponent } from './FrontComponent';
7
4
  import { ComponentCategory } from './ComponentCategory';
5
+ import { Page } from './Page';
6
+ import { Lang } from './Lang';
7
+ import { ThemeConfig } from './ThemeConfig';
8
+ import { ThemeVersion } from './ThemeVersion';
8
9
  import { Website } from './Website';
9
10
  import { Aggregate } from './Aggregate';
10
- import { WebsitePart } from './WebsitePart';
11
11
  export declare const ThemeEntityName = "Theme";
12
12
  export declare const ThemeEntityLabel = "";
13
- export interface Theme extends WebsitePart {
13
+ export interface Theme {
14
14
  id?: string | null;
15
15
  name?: string;
16
16
  styles?: any;
@@ -18,16 +18,25 @@ export interface Theme extends WebsitePart {
18
18
  description?: string;
19
19
  tailwindConfig?: string;
20
20
  css?: string;
21
- templates?: Template[];
22
- themlateCategories?: TemplateCategory[];
23
- lang?: Lang;
21
+ /**
22
+ * 是否在主题市场
23
+ */
24
+ isInMarket?: boolean;
25
+ /**
26
+ * 对应市场主题ID
27
+ */
28
+ themeVersionId?: string | null;
29
+ createdAt?: Date;
30
+ updatedAt?: Date;
24
31
  cover?: Media;
25
32
  components?: FrontComponent[];
26
33
  componentCategories?: ComponentCategory[];
27
- selectedBy?: Website;
34
+ pages?: Page[];
35
+ lang?: Lang;
36
+ config?: ThemeConfig;
37
+ marketVersion?: ThemeVersion;
28
38
  website?: Website;
29
- templatesAggregate?: Aggregate;
30
- themlateCategoriesAggregate?: Aggregate;
31
39
  componentsAggregate?: Aggregate;
32
40
  componentCategoriesAggregate?: Aggregate;
41
+ pagesAggregate?: Aggregate;
33
42
  }
@@ -1,14 +1,16 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
1
  import { IdComparisonExp } from './IdComparisonExp';
3
2
  import { StringComparisonExp } from './StringComparisonExp';
4
- import { TemplateBoolExp } from './TemplateBoolExp';
5
- import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
6
- import { LangBoolExp } from './LangBoolExp';
3
+ import { BooleanComparisonExp } from './BooleanComparisonExp';
4
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
7
5
  import { MediaBoolExp } from './MediaBoolExp';
8
6
  import { FrontComponentBoolExp } from './FrontComponentBoolExp';
9
7
  import { ComponentCategoryBoolExp } from './ComponentCategoryBoolExp';
8
+ import { PageBoolExp } from './PageBoolExp';
9
+ import { LangBoolExp } from './LangBoolExp';
10
+ import { ThemeConfigBoolExp } from './ThemeConfigBoolExp';
11
+ import { ThemeVersionBoolExp } from './ThemeVersionBoolExp';
10
12
  import { WebsiteBoolExp } from './WebsiteBoolExp';
11
- export interface ThemeBoolExp extends WebsitePartBoolExp {
13
+ export interface ThemeBoolExp {
12
14
  _and?: ThemeBoolExp[];
13
15
  _or?: ThemeBoolExp[];
14
16
  _not?: ThemeBoolExp;
@@ -19,12 +21,16 @@ export interface ThemeBoolExp extends WebsitePartBoolExp {
19
21
  description?: StringComparisonExp;
20
22
  tailwindConfig?: StringComparisonExp;
21
23
  css?: StringComparisonExp;
22
- templates?: TemplateBoolExp;
23
- themlateCategories?: TemplateCategoryBoolExp;
24
- lang?: LangBoolExp;
24
+ isInMarket?: BooleanComparisonExp;
25
+ themeVersionId?: IdComparisonExp;
26
+ createdAt?: DateTimeComparisonExp;
27
+ updatedAt?: DateTimeComparisonExp;
25
28
  cover?: MediaBoolExp;
26
29
  components?: FrontComponentBoolExp;
27
30
  componentCategories?: ComponentCategoryBoolExp;
28
- selectedBy?: WebsiteBoolExp;
31
+ pages?: PageBoolExp;
32
+ lang?: LangBoolExp;
33
+ config?: ThemeConfigBoolExp;
34
+ marketVersion?: ThemeVersionBoolExp;
29
35
  website?: WebsiteBoolExp;
30
36
  }
@@ -0,0 +1,19 @@
1
+ import { EmailTemplates } from './EmailTemplates';
2
+ import { Media } from './Media';
3
+ import { Theme } from './Theme';
4
+ export declare const ThemeConfigEntityName = "ThemeConfig";
5
+ export declare const ThemeConfigEntityLabel = "";
6
+ export interface ThemeConfig {
7
+ id?: string | null;
8
+ websiteTitle?: string;
9
+ emailTemplates?: EmailTemplates;
10
+ contact?: string;
11
+ address?: string;
12
+ email?: string;
13
+ tel?: string;
14
+ fax?: string;
15
+ mobile?: string;
16
+ wechat?: string;
17
+ contactAvatar?: Media;
18
+ theme?: Theme;
19
+ }