@rxdrag/rxcms-models 0.2.2 → 0.2.3

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 (77) hide show
  1. package/dist/classes/CustomerQueryOptions.d.ts +1 -0
  2. package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
  3. package/dist/classes/LangQueryOptions.d.ts +1 -0
  4. package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
  5. package/dist/classes/MediaQueryOptions.d.ts +4 -3
  6. package/dist/classes/PageQueryOptions.d.ts +1 -3
  7. package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
  8. package/dist/classes/PostQueryOptions.d.ts +1 -3
  9. package/dist/classes/ProductCategoryQueryOptions.d.ts +1 -0
  10. package/dist/classes/ProductQueryOptions.d.ts +5 -6
  11. package/dist/classes/TagQueryOptions.d.ts +1 -0
  12. package/dist/classes/TemplateCategoryQueryOptions.d.ts +1 -0
  13. package/dist/classes/TemplateQueryOptions.d.ts +1 -0
  14. package/dist/classes/ThemeQueryOptions.d.ts +1 -0
  15. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +1 -0
  16. package/dist/classes/index.d.ts +0 -1
  17. package/dist/entries/index.d.ts +0 -1
  18. package/dist/fields/CustomerFields.d.ts +1 -0
  19. package/dist/fields/EnquiryFields.d.ts +1 -0
  20. package/dist/fields/LangFields.d.ts +1 -0
  21. package/dist/fields/MediaFolderFields.d.ts +1 -0
  22. package/dist/fields/PageFields.d.ts +1 -1
  23. package/dist/fields/PostCategoryFields.d.ts +1 -0
  24. package/dist/fields/PostFields.d.ts +1 -1
  25. package/dist/fields/ProductCategoryFields.d.ts +1 -0
  26. package/dist/fields/ProductFields.d.ts +1 -1
  27. package/dist/fields/TagFields.d.ts +1 -0
  28. package/dist/fields/TemplateCategoryFields.d.ts +1 -0
  29. package/dist/fields/TemplateFields.d.ts +1 -0
  30. package/dist/fields/ThemeFields.d.ts +1 -0
  31. package/dist/fields/WebsiteSettingsFields.d.ts +1 -0
  32. package/dist/fields/index.d.ts +0 -1
  33. package/dist/index.mjs +242 -307
  34. package/dist/index.mjs.map +1 -1
  35. package/dist/interfaces/AttachmentAddon.d.ts +3 -0
  36. package/dist/interfaces/AttachmentAddonOrderBy.d.ts +4 -0
  37. package/dist/interfaces/CustomerDistinctExp.d.ts +1 -0
  38. package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -0
  39. package/dist/interfaces/LangDistinctExp.d.ts +1 -0
  40. package/dist/interfaces/Media.d.ts +2 -1
  41. package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -0
  42. package/dist/interfaces/MediaInput.d.ts +2 -1
  43. package/dist/interfaces/Page.d.ts +0 -2
  44. package/dist/interfaces/PageBoolExp.d.ts +0 -2
  45. package/dist/interfaces/PageDistinctExp.d.ts +1 -0
  46. package/dist/interfaces/PageInput.d.ts +0 -2
  47. package/dist/interfaces/Post.d.ts +0 -2
  48. package/dist/interfaces/PostBoolExp.d.ts +0 -2
  49. package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
  50. package/dist/interfaces/PostDistinctExp.d.ts +1 -0
  51. package/dist/interfaces/PostInput.d.ts +0 -2
  52. package/dist/interfaces/Product.d.ts +2 -3
  53. package/dist/interfaces/ProductBoolExp.d.ts +0 -2
  54. package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
  55. package/dist/interfaces/ProductDistinctExp.d.ts +1 -0
  56. package/dist/interfaces/ProductInput.d.ts +2 -3
  57. package/dist/interfaces/PublishableDistinctExp.d.ts +1 -0
  58. package/dist/interfaces/TagDistinctExp.d.ts +1 -0
  59. package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -0
  60. package/dist/interfaces/TemplateDistinctExp.d.ts +1 -0
  61. package/dist/interfaces/ThemeDistinctExp.d.ts +1 -0
  62. package/dist/interfaces/WebsiteContentDistinctExp.d.ts +1 -0
  63. package/dist/interfaces/WebsitePart.d.ts +1 -0
  64. package/dist/interfaces/WebsitePartBoolExp.d.ts +1 -0
  65. package/dist/interfaces/WebsitePartDistinctExp.d.ts +1 -0
  66. package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
  67. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -0
  68. package/dist/interfaces/index.d.ts +1 -5
  69. package/package.json +1 -1
  70. package/dist/classes/SlugQueryOptions.d.ts +0 -30
  71. package/dist/entries/slugEntry.d.ts +0 -2
  72. package/dist/fields/SlugFields.d.ts +0 -22
  73. package/dist/interfaces/Slug.d.ts +0 -13
  74. package/dist/interfaces/SlugBoolExp.d.ts +0 -16
  75. package/dist/interfaces/SlugDistinctExp.d.ts +0 -19
  76. package/dist/interfaces/SlugInput.d.ts +0 -15
  77. package/dist/interfaces/SlugOrderBy.d.ts +0 -6
@@ -8,6 +8,7 @@ export declare class CustomerQueryOptions extends QueryOptions<Customer, Custome
8
8
  constructor(fields?: (keyof Customer)[], queryArgs?: IQueryArgs<CustomerBoolExp, CustomerOrderBy, CustomerDistinctExp>);
9
9
  id(): this;
10
10
  websiteId(): this;
11
+ slug(): this;
11
12
  /**
12
13
  * 创建时间
13
14
  */
@@ -20,6 +20,7 @@ export declare class EnquiryQueryOptions extends QueryOptions<Enquiry, EnquiryBo
20
20
  fromCta(): this;
21
21
  read(): this;
22
22
  websiteId(): this;
23
+ slug(): this;
23
24
  /**
24
25
  * 创建时间
25
26
  */
@@ -25,6 +25,7 @@ export declare class LangQueryOptions extends QueryOptions<Lang, LangBoolExp, La
25
25
  */
26
26
  remark(): this;
27
27
  websiteId(): this;
28
+ slug(): this;
28
29
  /**
29
30
  * 创建时间
30
31
  */
@@ -10,6 +10,7 @@ export declare class MediaFolderQueryOptions extends QueryOptions<MediaFolder, M
10
10
  name(): this;
11
11
  seqValue(): this;
12
12
  websiteId(): this;
13
+ slug(): this;
13
14
  /**
14
15
  * 创建时间
15
16
  */
@@ -1,7 +1,8 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
- import { Media, MediaBoolExp, MediaDistinctExp, MediaOrderBy, MediaAddon } from "../interfaces";
3
+ import { Media, MediaBoolExp, MediaDistinctExp, MediaOrderBy, MediaAddon, AttachmentAddon } from "../interfaces";
4
4
  import { MediaAddonOrderBy } from "../interfaces/MediaAddonOrderBy";
5
+ import { AttachmentAddonOrderBy } from "../interfaces/AttachmentAddonOrderBy";
5
6
  import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
6
7
  import { MediaFolder } from '../interfaces';
7
8
  import { UserQueryOptions } from './UserQueryOptions';
@@ -9,8 +10,8 @@ import { User } from '../interfaces';
9
10
  import { ProductQueryOptions } from './ProductQueryOptions';
10
11
  import { Product } from '../interfaces';
11
12
  import { ProductBoolExp } from '../interfaces';
12
- export declare class MediaQueryOptions extends QueryOptions<(Media & MediaAddon), MediaBoolExp, (MediaOrderBy & MediaAddonOrderBy), MediaDistinctExp> {
13
- constructor(fields?: (keyof (Media & MediaAddon))[], queryArgs?: IQueryArgs<MediaBoolExp, (MediaOrderBy & MediaAddonOrderBy), MediaDistinctExp>);
13
+ export declare class MediaQueryOptions extends QueryOptions<(Media & MediaAddon & AttachmentAddon), MediaBoolExp, (MediaOrderBy & MediaAddonOrderBy & AttachmentAddonOrderBy), MediaDistinctExp> {
14
+ constructor(fields?: (keyof (Media & MediaAddon & AttachmentAddon))[], queryArgs?: IQueryArgs<MediaBoolExp, (MediaOrderBy & MediaAddonOrderBy & AttachmentAddonOrderBy), MediaDistinctExp>);
14
15
  id(): this;
15
16
  name(): this;
16
17
  size(): this;
@@ -1,8 +1,6 @@
1
1
  import { IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Page, PageBoolExp, PageDistinctExp, PageOrderBy } from "../interfaces";
4
- import { SlugQueryOptions } from './SlugQueryOptions';
5
- import { Slug } from '../interfaces';
6
4
  import { MediaQueryOptions } from './MediaQueryOptions';
7
5
  import { Media } from '../interfaces';
8
6
  export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, PageOrderBy, PageDistinctExp> {
@@ -17,6 +15,7 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
17
15
  langAbbr(): this;
18
16
  extends(): this;
19
17
  websiteId(): this;
18
+ slug(): this;
20
19
  /**
21
20
  * 创建时间
22
21
  */
@@ -39,6 +38,5 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
39
38
  xDescription(): this;
40
39
  xUrl(): this;
41
40
  lang(): this;
42
- slug(options?: SlugQueryOptions | (keyof Slug)[]): this;
43
41
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
44
42
  }
@@ -10,6 +10,7 @@ export declare class PostCategoryQueryOptions extends QueryOptions<PostCategory,
10
10
  name(): this;
11
11
  seqValue(): this;
12
12
  websiteId(): this;
13
+ slug(): this;
13
14
  /**
14
15
  * 创建时间
15
16
  */
@@ -1,8 +1,6 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
3
  import { Post, PostBoolExp, PostDistinctExp, PostOrderBy } from "../interfaces";
4
- import { SlugQueryOptions } from './SlugQueryOptions';
5
- import { Slug } from '../interfaces';
6
4
  import { TagQueryOptions } from './TagQueryOptions';
7
5
  import { Tag } from '../interfaces';
8
6
  import { TagBoolExp } from '../interfaces';
@@ -32,6 +30,7 @@ export declare class PostQueryOptions extends QueryOptions<Post, PostBoolExp, Po
32
30
  content(): this;
33
31
  extends(): this;
34
32
  websiteId(): this;
33
+ slug(): this;
35
34
  /**
36
35
  * 创建时间
37
36
  */
@@ -58,7 +57,6 @@ export declare class PostQueryOptions extends QueryOptions<Post, PostBoolExp, Po
58
57
  xDescription(): this;
59
58
  xUrl(): this;
60
59
  lang(): this;
61
- slug(options?: SlugQueryOptions | (keyof Slug)[]): this;
62
60
  tags(options?: TagQueryOptions | (keyof Tag)[]): this;
63
61
  tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
64
62
  author(options?: UserQueryOptions | (keyof User)[]): this;
@@ -10,6 +10,7 @@ export declare class ProductCategoryQueryOptions extends QueryOptions<ProductCat
10
10
  name(): this;
11
11
  seqValue(): this;
12
12
  websiteId(): this;
13
+ slug(): this;
13
14
  /**
14
15
  * 创建时间
15
16
  */
@@ -1,21 +1,20 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
- import { Product, ProductBoolExp, ProductDistinctExp, ProductOrderBy, MediaAddon } from "../interfaces";
3
+ import { Product, ProductBoolExp, ProductDistinctExp, ProductOrderBy, MediaAddon, AttachmentAddon } from "../interfaces";
4
4
  import { MediaAddonOrderBy } from "../interfaces/MediaAddonOrderBy";
5
+ import { AttachmentAddonOrderBy } from "../interfaces/AttachmentAddonOrderBy";
5
6
  import { ProductCategoryQueryOptions } from './ProductCategoryQueryOptions';
6
7
  import { ProductCategory } from '../interfaces';
7
8
  import { MediaQueryOptions } from './MediaQueryOptions';
8
9
  import { Media } from '../interfaces';
9
10
  import { MediaBoolExp } from '../interfaces';
10
- import { SlugQueryOptions } from './SlugQueryOptions';
11
- import { Slug } from '../interfaces';
12
11
  import { TagQueryOptions } from './TagQueryOptions';
13
12
  import { Tag } from '../interfaces';
14
13
  import { TagBoolExp } from '../interfaces';
15
14
  import { UserQueryOptions } from './UserQueryOptions';
16
15
  import { User } from '../interfaces';
17
- export declare class ProductQueryOptions extends QueryOptions<(Product & MediaAddon), ProductBoolExp, (ProductOrderBy & MediaAddonOrderBy), ProductDistinctExp> {
18
- constructor(fields?: (keyof (Product & MediaAddon))[], queryArgs?: IQueryArgs<ProductBoolExp, (ProductOrderBy & MediaAddonOrderBy), ProductDistinctExp>);
16
+ export declare class ProductQueryOptions extends QueryOptions<(Product & MediaAddon & AttachmentAddon), ProductBoolExp, (ProductOrderBy & MediaAddonOrderBy & AttachmentAddonOrderBy), ProductDistinctExp> {
17
+ constructor(fields?: (keyof (Product & MediaAddon & AttachmentAddon))[], queryArgs?: IQueryArgs<ProductBoolExp, (ProductOrderBy & MediaAddonOrderBy & AttachmentAddonOrderBy), ProductDistinctExp>);
19
18
  id(): this;
20
19
  published(): this;
21
20
  summary(): this;
@@ -38,6 +37,7 @@ export declare class ProductQueryOptions extends QueryOptions<(Product & MediaAd
38
37
  content(): this;
39
38
  extends(): this;
40
39
  websiteId(): this;
40
+ slug(): this;
41
41
  /**
42
42
  * 创建时间
43
43
  */
@@ -67,7 +67,6 @@ export declare class ProductQueryOptions extends QueryOptions<(Product & MediaAd
67
67
  category(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
68
68
  medias(options?: MediaQueryOptions | (keyof Media)[]): this;
69
69
  mediasAggregate(aggregate: IAggregate<MediaBoolExp>): this;
70
- slug(options?: SlugQueryOptions | (keyof Slug)[]): this;
71
70
  tags(options?: TagQueryOptions | (keyof Tag)[]): this;
72
71
  tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
73
72
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
@@ -16,6 +16,7 @@ export declare class TagQueryOptions extends QueryOptions<Tag, TagBoolExp, TagOr
16
16
  name(): this;
17
17
  color(): this;
18
18
  websiteId(): this;
19
+ slug(): this;
19
20
  /**
20
21
  * 创建时间
21
22
  */
@@ -12,6 +12,7 @@ export declare class TemplateCategoryQueryOptions extends QueryOptions<TemplateC
12
12
  name(): this;
13
13
  seqValue(): this;
14
14
  websiteId(): this;
15
+ slug(): this;
15
16
  /**
16
17
  * 创建时间
17
18
  */
@@ -16,6 +16,7 @@ export declare class TemplateQueryOptions extends QueryOptions<Template, Templat
16
16
  */
17
17
  templateType(): this;
18
18
  websiteId(): this;
19
+ slug(): this;
19
20
  /**
20
21
  * 创建时间
21
22
  */
@@ -14,6 +14,7 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
14
14
  styles(): this;
15
15
  settings(): this;
16
16
  websiteId(): this;
17
+ slug(): this;
17
18
  /**
18
19
  * 创建时间
19
20
  */
@@ -17,6 +17,7 @@ export declare class WebsiteSettingsQueryOptions extends QueryOptions<WebsiteSet
17
17
  whatsapp(): this;
18
18
  mobile(): this;
19
19
  websiteId(): this;
20
+ slug(): this;
20
21
  /**
21
22
  * 创建时间
22
23
  */
@@ -8,7 +8,6 @@ export * from './WebsiteTypeQueryOptions';
8
8
  export * from './PageQueryOptions';
9
9
  export * from './PostQueryOptions';
10
10
  export * from './ProductQueryOptions';
11
- export * from './SlugQueryOptions';
12
11
  export * from './EnquiryQueryOptions';
13
12
  export * from './WebsiteMetaQueryOptions';
14
13
  export * from './WebsiteSettingsQueryOptions';
@@ -8,7 +8,6 @@ export * from './websiteTypeEntry';
8
8
  export * from './pageEntry';
9
9
  export * from './postEntry';
10
10
  export * from './productEntry';
11
- export * from './slugEntry';
12
11
  export * from './enquiryEntry';
13
12
  export * from './websiteMetaEntry';
14
13
  export * from './websiteSettingsEntry';
@@ -1,6 +1,7 @@
1
1
  export declare enum CustomerFields {
2
2
  id = "id",
3
3
  websiteId = "websiteId",
4
+ slug = "slug",
4
5
  /**
5
6
  * 创建时间
6
7
  */
@@ -14,6 +14,7 @@ export declare enum EnquiryFields {
14
14
  fromCta = "fromCta",
15
15
  read = "read",
16
16
  websiteId = "websiteId",
17
+ slug = "slug",
17
18
  /**
18
19
  * 创建时间
19
20
  */
@@ -21,6 +21,7 @@ export declare enum LangFields {
21
21
  */
22
22
  remark = "remark",
23
23
  websiteId = "websiteId",
24
+ slug = "slug",
24
25
  /**
25
26
  * 创建时间
26
27
  */
@@ -3,6 +3,7 @@ export declare enum MediaFolderFields {
3
3
  name = "name",
4
4
  seqValue = "seqValue",
5
5
  websiteId = "websiteId",
6
+ slug = "slug",
6
7
  /**
7
8
  * 创建时间
8
9
  */
@@ -9,6 +9,7 @@ export declare enum PageFields {
9
9
  langAbbr = "langAbbr",
10
10
  extends = "extends",
11
11
  websiteId = "websiteId",
12
+ slug = "slug",
12
13
  /**
13
14
  * 创建时间
14
15
  */
@@ -33,6 +34,5 @@ export declare enum PageFields {
33
34
  lang = "lang"
34
35
  }
35
36
  export declare enum PageAssciations {
36
- slug = "slug",
37
37
  ogImage = "ogImage"
38
38
  }
@@ -3,6 +3,7 @@ export declare enum PostCategoryFields {
3
3
  name = "name",
4
4
  seqValue = "seqValue",
5
5
  websiteId = "websiteId",
6
+ slug = "slug",
6
7
  /**
7
8
  * 创建时间
8
9
  */
@@ -17,6 +17,7 @@ export declare enum PostFields {
17
17
  content = "content",
18
18
  extends = "extends",
19
19
  websiteId = "websiteId",
20
+ slug = "slug",
20
21
  /**
21
22
  * 创建时间
22
23
  */
@@ -45,7 +46,6 @@ export declare enum PostFields {
45
46
  lang = "lang"
46
47
  }
47
48
  export declare enum PostAssciations {
48
- slug = "slug",
49
49
  tags = "tags",
50
50
  tagsAggregate = "tagsAggregate",
51
51
  author = "author",
@@ -3,6 +3,7 @@ export declare enum ProductCategoryFields {
3
3
  name = "name",
4
4
  seqValue = "seqValue",
5
5
  websiteId = "websiteId",
6
+ slug = "slug",
6
7
  /**
7
8
  * 创建时间
8
9
  */
@@ -21,6 +21,7 @@ export declare enum ProductFields {
21
21
  content = "content",
22
22
  extends = "extends",
23
23
  websiteId = "websiteId",
24
+ slug = "slug",
24
25
  /**
25
26
  * 创建时间
26
27
  */
@@ -52,7 +53,6 @@ export declare enum ProductAssciations {
52
53
  category = "category",
53
54
  medias = "medias",
54
55
  mediasAggregate = "mediasAggregate",
55
- slug = "slug",
56
56
  tags = "tags",
57
57
  tagsAggregate = "tagsAggregate",
58
58
  ogImage = "ogImage",
@@ -6,6 +6,7 @@ export declare enum TagFields {
6
6
  name = "name",
7
7
  color = "color",
8
8
  websiteId = "websiteId",
9
+ slug = "slug",
9
10
  /**
10
11
  * 创建时间
11
12
  */
@@ -3,6 +3,7 @@ export declare enum TemplateCategoryFields {
3
3
  name = "name",
4
4
  seqValue = "seqValue",
5
5
  websiteId = "websiteId",
6
+ slug = "slug",
6
7
  /**
7
8
  * 创建时间
8
9
  */
@@ -8,6 +8,7 @@ export declare enum TemplateFields {
8
8
  */
9
9
  templateType = "templateType",
10
10
  websiteId = "websiteId",
11
+ slug = "slug",
11
12
  /**
12
13
  * 创建时间
13
14
  */
@@ -4,6 +4,7 @@ export declare enum ThemeFields {
4
4
  styles = "styles",
5
5
  settings = "settings",
6
6
  websiteId = "websiteId",
7
+ slug = "slug",
7
8
  /**
8
9
  * 创建时间
9
10
  */
@@ -13,6 +13,7 @@ export declare enum WebsiteSettingsFields {
13
13
  whatsapp = "whatsapp",
14
14
  mobile = "mobile",
15
15
  websiteId = "websiteId",
16
+ slug = "slug",
16
17
  /**
17
18
  * 创建时间
18
19
  */
@@ -8,7 +8,6 @@ export * from './WebsiteTypeFields';
8
8
  export * from './PageFields';
9
9
  export * from './PostFields';
10
10
  export * from './ProductFields';
11
- export * from './SlugFields';
12
11
  export * from './EnquiryFields';
13
12
  export * from './WebsiteMetaFields';
14
13
  export * from './WebsiteSettingsFields';