@rxdrag/rxcms-models 0.2.6 → 0.2.8

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 (47) hide show
  1. package/dist/classes/MailQueryOptions.d.ts +20 -0
  2. package/dist/classes/MediaQueryOptions.d.ts +14 -0
  3. package/dist/classes/PageQueryOptions.d.ts +3 -0
  4. package/dist/classes/ThemeQueryOptions.d.ts +3 -0
  5. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +8 -0
  6. package/dist/classes/index.d.ts +1 -1
  7. package/dist/entries/index.d.ts +1 -1
  8. package/dist/entries/{websiteMetaEntry.d.ts → mailEntry.d.ts} +1 -1
  9. package/dist/fields/MailFields.d.ts +18 -0
  10. package/dist/fields/MediaFields.d.ts +8 -0
  11. package/dist/fields/PageFields.d.ts +2 -1
  12. package/dist/fields/ThemeFields.d.ts +2 -1
  13. package/dist/fields/WebsiteSettingsFields.d.ts +8 -0
  14. package/dist/fields/index.d.ts +1 -1
  15. package/dist/index.mjs +685 -491
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/interfaces/EmailTemplate.d.ts +4 -0
  18. package/dist/interfaces/EmailTemplates.d.ts +11 -0
  19. package/dist/interfaces/Mail.d.ts +18 -0
  20. package/dist/interfaces/MailBoolExp.d.ts +22 -0
  21. package/dist/interfaces/MailDistinctExp.d.ts +17 -0
  22. package/dist/interfaces/MailInput.d.ts +19 -0
  23. package/dist/interfaces/MailOrderBy.d.ts +17 -0
  24. package/dist/interfaces/MailType.d.ts +18 -0
  25. package/dist/interfaces/Media.d.ts +10 -0
  26. package/dist/interfaces/MediaBoolExp.d.ts +6 -0
  27. package/dist/interfaces/MediaInput.d.ts +6 -0
  28. package/dist/interfaces/Page.d.ts +2 -0
  29. package/dist/interfaces/PageBoolExp.d.ts +2 -0
  30. package/dist/interfaces/PageInput.d.ts +2 -0
  31. package/dist/interfaces/Theme.d.ts +2 -0
  32. package/dist/interfaces/ThemeBoolExp.d.ts +2 -0
  33. package/dist/interfaces/ThemeInput.d.ts +3 -0
  34. package/dist/interfaces/WebsiteSettings.d.ts +9 -0
  35. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +2 -0
  36. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +8 -0
  37. package/dist/interfaces/WebsiteSettingsInput.d.ts +9 -0
  38. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +8 -0
  39. package/dist/interfaces/index.d.ts +8 -5
  40. package/package.json +4 -4
  41. package/dist/classes/WebsiteMetaQueryOptions.d.ts +0 -7
  42. package/dist/fields/WebsiteMetaFields.d.ts +0 -5
  43. package/dist/interfaces/WebsiteMeta.d.ts +0 -5
  44. package/dist/interfaces/WebsiteMetaBoolExp.d.ts +0 -7
  45. package/dist/interfaces/WebsiteMetaDistinctExp.d.ts +0 -4
  46. package/dist/interfaces/WebsiteMetaInput.d.ts +0 -6
  47. package/dist/interfaces/WebsiteMetaOrderBy.d.ts +0 -4
@@ -0,0 +1,20 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-hooks";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { Mail, MailBoolExp, MailDistinctExp, MailOrderBy } from "../interfaces";
4
+ export declare class MailQueryOptions extends QueryOptions<Mail, MailBoolExp, MailOrderBy, MailDistinctExp> {
5
+ constructor(fields?: (keyof Mail)[], queryArgs?: IQueryArgs<MailBoolExp, MailOrderBy, MailDistinctExp>);
6
+ id(): this;
7
+ createdAt(): this;
8
+ updatedAt(): this;
9
+ taskId(): this;
10
+ taskName(): this;
11
+ remark(): this;
12
+ subject(): this;
13
+ message(): this;
14
+ to(): this;
15
+ cc(): this;
16
+ label(): this;
17
+ name(): this;
18
+ company(): this;
19
+ mailType(): this;
20
+ }
@@ -5,11 +5,17 @@ import { MediaAddonOrderBy } from "../interfaces/MediaAddonOrderBy";
5
5
  import { AttachmentAddonOrderBy } from "../interfaces/AttachmentAddonOrderBy";
6
6
  import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
7
7
  import { MediaFolder } from '../interfaces';
8
+ import { PostQueryOptions } from './PostQueryOptions';
9
+ import { Post } from '../interfaces';
10
+ import { PostBoolExp } from '../interfaces';
8
11
  import { UserQueryOptions } from './UserQueryOptions';
9
12
  import { User } from '../interfaces';
10
13
  import { ProductQueryOptions } from './ProductQueryOptions';
11
14
  import { Product } from '../interfaces';
12
15
  import { ProductBoolExp } from '../interfaces';
16
+ import { PageQueryOptions } from './PageQueryOptions';
17
+ import { Page } from '../interfaces';
18
+ import { PageBoolExp } from '../interfaces';
13
19
  import { ProductCategoryQueryOptions } from './ProductCategoryQueryOptions';
14
20
  import { ProductCategory } from '../interfaces';
15
21
  import { ProductCategoryBoolExp } from '../interfaces';
@@ -30,9 +36,17 @@ export declare class MediaQueryOptions extends QueryOptions<(Media & MediaAddon
30
36
  */
31
37
  websiteId(): this;
32
38
  folder(options?: MediaFolderQueryOptions | (keyof MediaFolder)[]): this;
39
+ coverOf(options?: PostQueryOptions | (keyof Post)[]): this;
40
+ coverOfAggregate(aggregate: IAggregate<PostBoolExp>): this;
33
41
  avatarOfUser(options?: UserQueryOptions | (keyof User)[]): this;
34
42
  usedByProducts(options?: ProductQueryOptions | (keyof Product)[]): this;
35
43
  usedByProductsAggregate(aggregate: IAggregate<ProductBoolExp>): this;
44
+ ogMetaOfPage(options?: PageQueryOptions | (keyof Page)[]): this;
45
+ ogMetaOfPageAggregate(aggregate: IAggregate<PageBoolExp>): this;
46
+ ogMetaOfProduct(options?: ProductQueryOptions | (keyof Product)[]): this;
47
+ ogMetaOfProductAggregate(aggregate: IAggregate<ProductBoolExp>): this;
48
+ ogMetaOfPost(options?: PostQueryOptions | (keyof Post)[]): this;
49
+ ogMetaOfPostAggregate(aggregate: IAggregate<PostBoolExp>): this;
36
50
  attachmentOf(options?: ProductQueryOptions | (keyof Product)[]): this;
37
51
  attachmentOfAggregate(aggregate: IAggregate<ProductBoolExp>): this;
38
52
  meidaOfProduct(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
@@ -3,6 +3,8 @@ 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 { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
+ import { Website } from '../interfaces';
6
8
  export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, PageOrderBy, PageDistinctExp> {
7
9
  constructor(fields?: (keyof Page)[], queryArgs?: IQueryArgs<PageBoolExp, PageOrderBy, PageDistinctExp>);
8
10
  id(): this;
@@ -40,4 +42,5 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
40
42
  xUrl(): this;
41
43
  lang(): this;
42
44
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
45
+ homeOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
43
46
  }
@@ -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 { WebsiteQueryOptions } from './WebsiteQueryOptions';
11
+ import { Website } from '../interfaces';
10
12
  export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp> {
11
13
  constructor(fields?: (keyof Theme)[], queryArgs?: IQueryArgs<ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp>);
12
14
  id(): this;
@@ -32,4 +34,5 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
32
34
  templatesAggregate(aggregate: IAggregate<TemplateBoolExp>): this;
33
35
  themlateCategories(options?: TemplateCategoryQueryOptions | (keyof TemplateCategory)[]): this;
34
36
  themlateCategoriesAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
37
+ selectedBy(options?: WebsiteQueryOptions | (keyof Website)[]): this;
35
38
  }
@@ -39,6 +39,14 @@ export declare class WebsiteSettingsQueryOptions extends QueryOptions<WebsiteSet
39
39
  * GA跟踪码
40
40
  */
41
41
  gaTrackingId(): this;
42
+ /**
43
+ * 通知邮箱
44
+ */
45
+ noticeEmail(): this;
46
+ /**
47
+ * 邮件模板
48
+ */
49
+ emailTemplates(): this;
42
50
  websiteId(): this;
43
51
  slug(): this;
44
52
  description(): this;
@@ -2,6 +2,7 @@ export * from './UserQueryOptions';
2
2
  export * from './RoleQueryOptions';
3
3
  export * from './AbilityQueryOptions';
4
4
  export * from './MediaQueryOptions';
5
+ export * from './MailQueryOptions';
5
6
  export * from './WebsiteQueryOptions';
6
7
  export * from './LangQueryOptions';
7
8
  export * from './WebsiteTypeQueryOptions';
@@ -9,7 +10,6 @@ export * from './PageQueryOptions';
9
10
  export * from './PostQueryOptions';
10
11
  export * from './ProductQueryOptions';
11
12
  export * from './EnquiryQueryOptions';
12
- export * from './WebsiteMetaQueryOptions';
13
13
  export * from './WebsiteSettingsQueryOptions';
14
14
  export * from './TemplateQueryOptions';
15
15
  export * from './TemplateCategoryQueryOptions';
@@ -2,6 +2,7 @@ export * from './userEntry';
2
2
  export * from './roleEntry';
3
3
  export * from './abilityEntry';
4
4
  export * from './mediaEntry';
5
+ export * from './mailEntry';
5
6
  export * from './websiteEntry';
6
7
  export * from './langEntry';
7
8
  export * from './websiteTypeEntry';
@@ -9,7 +10,6 @@ export * from './pageEntry';
9
10
  export * from './postEntry';
10
11
  export * from './productEntry';
11
12
  export * from './enquiryEntry';
12
- export * from './websiteMetaEntry';
13
13
  export * from './websiteSettingsEntry';
14
14
  export * from './templateEntry';
15
15
  export * from './templateCategoryEntry';
@@ -1,2 +1,2 @@
1
1
  import { EntityEntry } from "@rxdrag/entify-hooks";
2
- export declare const websiteMetaEntry: EntityEntry;
2
+ export declare const mailEntry: EntityEntry;
@@ -0,0 +1,18 @@
1
+ export declare enum MailFields {
2
+ id = "id",
3
+ createdAt = "createdAt",
4
+ updatedAt = "updatedAt",
5
+ taskId = "taskId",
6
+ taskName = "taskName",
7
+ remark = "remark",
8
+ subject = "subject",
9
+ message = "message",
10
+ to = "to",
11
+ cc = "cc",
12
+ label = "label",
13
+ name = "name",
14
+ company = "company",
15
+ mailType = "mailType"
16
+ }
17
+ export declare enum MailAssciations {
18
+ }
@@ -16,9 +16,17 @@ export declare enum MediaFields {
16
16
  }
17
17
  export declare enum MediaAssciations {
18
18
  folder = "folder",
19
+ coverOf = "coverOf",
20
+ coverOfAggregate = "coverOfAggregate",
19
21
  avatarOfUser = "avatarOfUser",
20
22
  usedByProducts = "usedByProducts",
21
23
  usedByProductsAggregate = "usedByProductsAggregate",
24
+ ogMetaOfPage = "ogMetaOfPage",
25
+ ogMetaOfPageAggregate = "ogMetaOfPageAggregate",
26
+ ogMetaOfProduct = "ogMetaOfProduct",
27
+ ogMetaOfProductAggregate = "ogMetaOfProductAggregate",
28
+ ogMetaOfPost = "ogMetaOfPost",
29
+ ogMetaOfPostAggregate = "ogMetaOfPostAggregate",
22
30
  attachmentOf = "attachmentOf",
23
31
  attachmentOfAggregate = "attachmentOfAggregate",
24
32
  meidaOfProduct = "meidaOfProduct",
@@ -35,5 +35,6 @@ export declare enum PageFields {
35
35
  lang = "lang"
36
36
  }
37
37
  export declare enum PageAssciations {
38
- ogImage = "ogImage"
38
+ ogImage = "ogImage",
39
+ homeOf = "homeOf"
39
40
  }
@@ -23,5 +23,6 @@ export declare enum ThemeAssciations {
23
23
  templates = "templates",
24
24
  templatesAggregate = "templatesAggregate",
25
25
  themlateCategories = "themlateCategories",
26
- themlateCategoriesAggregate = "themlateCategoriesAggregate"
26
+ themlateCategoriesAggregate = "themlateCategoriesAggregate",
27
+ selectedBy = "selectedBy"
27
28
  }
@@ -35,6 +35,14 @@ export declare enum WebsiteSettingsFields {
35
35
  * GA跟踪码
36
36
  */
37
37
  gaTrackingId = "gaTrackingId",
38
+ /**
39
+ * 通知邮箱
40
+ */
41
+ noticeEmail = "noticeEmail",
42
+ /**
43
+ * 邮件模板
44
+ */
45
+ emailTemplates = "emailTemplates",
38
46
  websiteId = "websiteId",
39
47
  slug = "slug",
40
48
  description = "description",
@@ -2,6 +2,7 @@ export * from './UserFields';
2
2
  export * from './RoleFields';
3
3
  export * from './AbilityFields';
4
4
  export * from './MediaFields';
5
+ export * from './MailFields';
5
6
  export * from './WebsiteFields';
6
7
  export * from './LangFields';
7
8
  export * from './WebsiteTypeFields';
@@ -9,7 +10,6 @@ export * from './PageFields';
9
10
  export * from './PostFields';
10
11
  export * from './ProductFields';
11
12
  export * from './EnquiryFields';
12
- export * from './WebsiteMetaFields';
13
13
  export * from './WebsiteSettingsFields';
14
14
  export * from './TemplateFields';
15
15
  export * from './TemplateCategoryFields';