@rxdrag/rxcms-models 0.2.8 → 0.2.11

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 (44) hide show
  1. package/dist/classes/AttachmentOnProductQueryOptions.d.ts +14 -0
  2. package/dist/classes/MediaOnProductQueryOptions.d.ts +15 -0
  3. package/dist/classes/MediaQueryOptions.d.ts +16 -12
  4. package/dist/classes/ProductQueryOptions.d.ts +15 -12
  5. package/dist/classes/index.d.ts +2 -1
  6. package/dist/entries/attachmentOnProductEntry.d.ts +2 -0
  7. package/dist/entries/index.d.ts +2 -1
  8. package/dist/entries/mediaOnProductEntry.d.ts +2 -0
  9. package/dist/fields/AttachmentOnProductFields.d.ts +8 -0
  10. package/dist/fields/MediaFields.d.ts +5 -5
  11. package/dist/fields/MediaOnProductFields.d.ts +9 -0
  12. package/dist/fields/ProductFields.d.ts +4 -4
  13. package/dist/fields/index.d.ts +2 -1
  14. package/dist/index.mjs +228 -214
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/interfaces/AttachmentOnProduct.d.ts +10 -0
  17. package/dist/interfaces/AttachmentOnProductBoolExp.d.ts +13 -0
  18. package/dist/interfaces/AttachmentOnProductDistinctExp.d.ts +5 -0
  19. package/dist/interfaces/AttachmentOnProductInput.d.ts +12 -0
  20. package/dist/interfaces/{AttachmentAddonOrderBy.d.ts → AttachmentOnProductOrderBy.d.ts} +2 -1
  21. package/dist/interfaces/Media.d.ts +7 -7
  22. package/dist/interfaces/MediaBoolExp.d.ts +5 -3
  23. package/dist/interfaces/MediaInput.d.ts +5 -5
  24. package/dist/interfaces/MediaOnProduct.d.ts +11 -0
  25. package/dist/interfaces/MediaOnProductBoolExp.d.ts +15 -0
  26. package/dist/interfaces/MediaOnProductDistinctExp.d.ts +6 -0
  27. package/dist/interfaces/MediaOnProductInput.d.ts +13 -0
  28. package/dist/interfaces/{MediaAddonOrderBy.d.ts → MediaOnProductOrderBy.d.ts} +2 -1
  29. package/dist/interfaces/Product.d.ts +7 -7
  30. package/dist/interfaces/ProductBoolExp.d.ts +5 -3
  31. package/dist/interfaces/ProductInput.d.ts +5 -5
  32. package/dist/interfaces/index.d.ts +16 -8
  33. package/package.json +2 -2
  34. package/dist/classes/MailQueryOptions.d.ts +0 -20
  35. package/dist/entries/mailEntry.d.ts +0 -2
  36. package/dist/fields/MailFields.d.ts +0 -18
  37. package/dist/interfaces/AttachmentAddon.d.ts +0 -3
  38. package/dist/interfaces/Mail.d.ts +0 -18
  39. package/dist/interfaces/MailBoolExp.d.ts +0 -22
  40. package/dist/interfaces/MailDistinctExp.d.ts +0 -17
  41. package/dist/interfaces/MailInput.d.ts +0 -19
  42. package/dist/interfaces/MailOrderBy.d.ts +0 -17
  43. package/dist/interfaces/MailType.d.ts +0 -18
  44. package/dist/interfaces/MediaAddon.d.ts +0 -4
@@ -0,0 +1,14 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-hooks";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { AttachmentOnProduct, AttachmentOnProductBoolExp, AttachmentOnProductDistinctExp, AttachmentOnProductOrderBy } from "../interfaces";
4
+ import { MediaQueryOptions } from './MediaQueryOptions';
5
+ import { Media } from '../interfaces';
6
+ import { ProductQueryOptions } from './ProductQueryOptions';
7
+ import { Product } from '../interfaces';
8
+ export declare class AttachmentOnProductQueryOptions extends QueryOptions<AttachmentOnProduct, AttachmentOnProductBoolExp, AttachmentOnProductOrderBy, AttachmentOnProductDistinctExp> {
9
+ constructor(fields?: (keyof AttachmentOnProduct)[], queryArgs?: IQueryArgs<AttachmentOnProductBoolExp, AttachmentOnProductOrderBy, AttachmentOnProductDistinctExp>);
10
+ id(): this;
11
+ seqValue(): this;
12
+ attachment(options?: MediaQueryOptions | (keyof Media)[]): this;
13
+ product(options?: ProductQueryOptions | (keyof Product)[]): this;
14
+ }
@@ -0,0 +1,15 @@
1
+ import { IQueryArgs } from "@rxdrag/entify-hooks";
2
+ import { QueryOptions } from "./QueryOptions";
3
+ import { MediaOnProduct, MediaOnProductBoolExp, MediaOnProductDistinctExp, MediaOnProductOrderBy } from "../interfaces";
4
+ import { MediaQueryOptions } from './MediaQueryOptions';
5
+ import { Media } from '../interfaces';
6
+ import { ProductQueryOptions } from './ProductQueryOptions';
7
+ import { Product } from '../interfaces';
8
+ export declare class MediaOnProductQueryOptions extends QueryOptions<MediaOnProduct, MediaOnProductBoolExp, MediaOnProductOrderBy, MediaOnProductDistinctExp> {
9
+ constructor(fields?: (keyof MediaOnProduct)[], queryArgs?: IQueryArgs<MediaOnProductBoolExp, MediaOnProductOrderBy, MediaOnProductDistinctExp>);
10
+ id(): this;
11
+ altText(): this;
12
+ seqValue(): this;
13
+ media(options?: MediaQueryOptions | (keyof Media)[]): this;
14
+ product(options?: ProductQueryOptions | (keyof Product)[]): this;
15
+ }
@@ -1,8 +1,6 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
- import { Media, MediaBoolExp, MediaDistinctExp, MediaOrderBy, MediaAddon, AttachmentAddon } from "../interfaces";
4
- import { MediaAddonOrderBy } from "../interfaces/MediaAddonOrderBy";
5
- import { AttachmentAddonOrderBy } from "../interfaces/AttachmentAddonOrderBy";
3
+ import { Media, MediaBoolExp, MediaDistinctExp, MediaOrderBy } from "../interfaces";
6
4
  import { MediaFolderQueryOptions } from './MediaFolderQueryOptions';
7
5
  import { MediaFolder } from '../interfaces';
8
6
  import { PostQueryOptions } from './PostQueryOptions';
@@ -10,17 +8,23 @@ import { Post } from '../interfaces';
10
8
  import { PostBoolExp } from '../interfaces';
11
9
  import { UserQueryOptions } from './UserQueryOptions';
12
10
  import { User } from '../interfaces';
13
- import { ProductQueryOptions } from './ProductQueryOptions';
14
- import { Product } from '../interfaces';
15
- import { ProductBoolExp } from '../interfaces';
16
11
  import { PageQueryOptions } from './PageQueryOptions';
17
12
  import { Page } from '../interfaces';
18
13
  import { PageBoolExp } from '../interfaces';
14
+ import { ProductQueryOptions } from './ProductQueryOptions';
15
+ import { Product } from '../interfaces';
16
+ import { ProductBoolExp } from '../interfaces';
19
17
  import { ProductCategoryQueryOptions } from './ProductCategoryQueryOptions';
20
18
  import { ProductCategory } from '../interfaces';
21
19
  import { ProductCategoryBoolExp } from '../interfaces';
22
- export declare class MediaQueryOptions extends QueryOptions<(Media & MediaAddon & AttachmentAddon), MediaBoolExp, (MediaOrderBy & MediaAddonOrderBy & AttachmentAddonOrderBy), MediaDistinctExp> {
23
- constructor(fields?: (keyof (Media & MediaAddon & AttachmentAddon))[], queryArgs?: IQueryArgs<MediaBoolExp, (MediaOrderBy & MediaAddonOrderBy & AttachmentAddonOrderBy), MediaDistinctExp>);
20
+ import { MediaOnProductQueryOptions } from './MediaOnProductQueryOptions';
21
+ import { MediaOnProduct } from '../interfaces';
22
+ import { MediaOnProductBoolExp } from '../interfaces';
23
+ import { AttachmentOnProductQueryOptions } from './AttachmentOnProductQueryOptions';
24
+ import { AttachmentOnProduct } from '../interfaces';
25
+ import { AttachmentOnProductBoolExp } from '../interfaces';
26
+ export declare class MediaQueryOptions extends QueryOptions<Media, MediaBoolExp, MediaOrderBy, MediaDistinctExp> {
27
+ constructor(fields?: (keyof Media)[], queryArgs?: IQueryArgs<MediaBoolExp, MediaOrderBy, MediaDistinctExp>);
24
28
  id(): this;
25
29
  name(): this;
26
30
  size(): this;
@@ -39,16 +43,16 @@ export declare class MediaQueryOptions extends QueryOptions<(Media & MediaAddon
39
43
  coverOf(options?: PostQueryOptions | (keyof Post)[]): this;
40
44
  coverOfAggregate(aggregate: IAggregate<PostBoolExp>): this;
41
45
  avatarOfUser(options?: UserQueryOptions | (keyof User)[]): this;
42
- usedByProducts(options?: ProductQueryOptions | (keyof Product)[]): this;
43
- usedByProductsAggregate(aggregate: IAggregate<ProductBoolExp>): this;
44
46
  ogMetaOfPage(options?: PageQueryOptions | (keyof Page)[]): this;
45
47
  ogMetaOfPageAggregate(aggregate: IAggregate<PageBoolExp>): this;
46
48
  ogMetaOfProduct(options?: ProductQueryOptions | (keyof Product)[]): this;
47
49
  ogMetaOfProductAggregate(aggregate: IAggregate<ProductBoolExp>): this;
48
50
  ogMetaOfPost(options?: PostQueryOptions | (keyof Post)[]): this;
49
51
  ogMetaOfPostAggregate(aggregate: IAggregate<PostBoolExp>): this;
50
- attachmentOf(options?: ProductQueryOptions | (keyof Product)[]): this;
51
- attachmentOfAggregate(aggregate: IAggregate<ProductBoolExp>): this;
52
52
  meidaOfProduct(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
53
53
  meidaOfProductAggregate(aggregate: IAggregate<ProductCategoryBoolExp>): this;
54
+ productMediaPivots(options?: MediaOnProductQueryOptions | (keyof MediaOnProduct)[]): this;
55
+ productMediaPivotsAggregate(aggregate: IAggregate<MediaOnProductBoolExp>): this;
56
+ productAttacPivots(options?: AttachmentOnProductQueryOptions | (keyof AttachmentOnProduct)[]): this;
57
+ productAttacPivotsAggregate(aggregate: IAggregate<AttachmentOnProductBoolExp>): this;
54
58
  }
@@ -1,20 +1,23 @@
1
1
  import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
2
2
  import { QueryOptions } from "./QueryOptions";
3
- import { Product, ProductBoolExp, ProductDistinctExp, ProductOrderBy, MediaAddon, AttachmentAddon } from "../interfaces";
4
- import { MediaAddonOrderBy } from "../interfaces/MediaAddonOrderBy";
5
- import { AttachmentAddonOrderBy } from "../interfaces/AttachmentAddonOrderBy";
3
+ import { Product, ProductBoolExp, ProductDistinctExp, ProductOrderBy } from "../interfaces";
6
4
  import { ProductCategoryQueryOptions } from './ProductCategoryQueryOptions';
7
5
  import { ProductCategory } from '../interfaces';
8
- import { MediaQueryOptions } from './MediaQueryOptions';
9
- import { Media } from '../interfaces';
10
- import { MediaBoolExp } from '../interfaces';
11
6
  import { TagQueryOptions } from './TagQueryOptions';
12
7
  import { Tag } from '../interfaces';
13
8
  import { TagBoolExp } from '../interfaces';
9
+ import { MediaQueryOptions } from './MediaQueryOptions';
10
+ import { Media } from '../interfaces';
11
+ import { MediaOnProductQueryOptions } from './MediaOnProductQueryOptions';
12
+ import { MediaOnProduct } from '../interfaces';
13
+ import { MediaOnProductBoolExp } from '../interfaces';
14
+ import { AttachmentOnProductQueryOptions } from './AttachmentOnProductQueryOptions';
15
+ import { AttachmentOnProduct } from '../interfaces';
16
+ import { AttachmentOnProductBoolExp } from '../interfaces';
14
17
  import { UserQueryOptions } from './UserQueryOptions';
15
18
  import { User } from '../interfaces';
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
+ export declare class ProductQueryOptions extends QueryOptions<Product, ProductBoolExp, ProductOrderBy, ProductDistinctExp> {
20
+ constructor(fields?: (keyof Product)[], queryArgs?: IQueryArgs<ProductBoolExp, ProductOrderBy, ProductDistinctExp>);
18
21
  id(): this;
19
22
  published(): this;
20
23
  featured(): this;
@@ -66,14 +69,14 @@ export declare class ProductQueryOptions extends QueryOptions<(Product & MediaAd
66
69
  xUrl(): this;
67
70
  lang(): this;
68
71
  category(options?: ProductCategoryQueryOptions | (keyof ProductCategory)[]): this;
69
- medias(options?: MediaQueryOptions | (keyof Media)[]): this;
70
- mediasAggregate(aggregate: IAggregate<MediaBoolExp>): this;
71
72
  tags(options?: TagQueryOptions | (keyof Tag)[]): this;
72
73
  tagsAggregate(aggregate: IAggregate<TagBoolExp>): this;
73
74
  ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
74
- attachments(options?: MediaQueryOptions | (keyof Media)[]): this;
75
- attachmentsAggregate(aggregate: IAggregate<MediaBoolExp>): this;
76
75
  draftOf(options?: ProductQueryOptions | (keyof Product)[]): this;
76
+ mediaPivots(options?: MediaOnProductQueryOptions | (keyof MediaOnProduct)[]): this;
77
+ mediaPivotsAggregate(aggregate: IAggregate<MediaOnProductBoolExp>): this;
78
+ attachmentPivots(options?: AttachmentOnProductQueryOptions | (keyof AttachmentOnProduct)[]): this;
79
+ attachmentPivotsAggregate(aggregate: IAggregate<AttachmentOnProductBoolExp>): this;
77
80
  creator(options?: UserQueryOptions | (keyof User)[]): this;
78
81
  draft(options?: ProductQueryOptions | (keyof Product)[]): this;
79
82
  }
@@ -2,7 +2,6 @@ export * from './UserQueryOptions';
2
2
  export * from './RoleQueryOptions';
3
3
  export * from './AbilityQueryOptions';
4
4
  export * from './MediaQueryOptions';
5
- export * from './MailQueryOptions';
6
5
  export * from './WebsiteQueryOptions';
7
6
  export * from './LangQueryOptions';
8
7
  export * from './WebsiteTypeQueryOptions';
@@ -20,5 +19,7 @@ export * from './TagQueryOptions';
20
19
  export * from './CustomerQueryOptions';
21
20
  export * from './ProductCategoryQueryOptions';
22
21
  export * from './SpamFilterRuleQueryOptions';
22
+ export * from './MediaOnProductQueryOptions';
23
+ export * from './AttachmentOnProductQueryOptions';
23
24
  export * from './QueryOptions';
24
25
  export * from './metainfo';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-hooks";
2
+ export declare const attachmentOnProductEntry: EntityEntry;
@@ -2,7 +2,6 @@ export * from './userEntry';
2
2
  export * from './roleEntry';
3
3
  export * from './abilityEntry';
4
4
  export * from './mediaEntry';
5
- export * from './mailEntry';
6
5
  export * from './websiteEntry';
7
6
  export * from './langEntry';
8
7
  export * from './websiteTypeEntry';
@@ -20,3 +19,5 @@ export * from './tagEntry';
20
19
  export * from './customerEntry';
21
20
  export * from './productCategoryEntry';
22
21
  export * from './spamFilterRuleEntry';
22
+ export * from './mediaOnProductEntry';
23
+ export * from './attachmentOnProductEntry';
@@ -0,0 +1,2 @@
1
+ import { EntityEntry } from "@rxdrag/entify-hooks";
2
+ export declare const mediaOnProductEntry: EntityEntry;
@@ -0,0 +1,8 @@
1
+ export declare enum AttachmentOnProductFields {
2
+ id = "id",
3
+ seqValue = "seqValue"
4
+ }
5
+ export declare enum AttachmentOnProductAssciations {
6
+ attachment = "attachment",
7
+ product = "product"
8
+ }
@@ -19,16 +19,16 @@ export declare enum MediaAssciations {
19
19
  coverOf = "coverOf",
20
20
  coverOfAggregate = "coverOfAggregate",
21
21
  avatarOfUser = "avatarOfUser",
22
- usedByProducts = "usedByProducts",
23
- usedByProductsAggregate = "usedByProductsAggregate",
24
22
  ogMetaOfPage = "ogMetaOfPage",
25
23
  ogMetaOfPageAggregate = "ogMetaOfPageAggregate",
26
24
  ogMetaOfProduct = "ogMetaOfProduct",
27
25
  ogMetaOfProductAggregate = "ogMetaOfProductAggregate",
28
26
  ogMetaOfPost = "ogMetaOfPost",
29
27
  ogMetaOfPostAggregate = "ogMetaOfPostAggregate",
30
- attachmentOf = "attachmentOf",
31
- attachmentOfAggregate = "attachmentOfAggregate",
32
28
  meidaOfProduct = "meidaOfProduct",
33
- meidaOfProductAggregate = "meidaOfProductAggregate"
29
+ meidaOfProductAggregate = "meidaOfProductAggregate",
30
+ productMediaPivots = "productMediaPivots",
31
+ productMediaPivotsAggregate = "productMediaPivotsAggregate",
32
+ productAttacPivots = "productAttacPivots",
33
+ productAttacPivotsAggregate = "productAttacPivotsAggregate"
34
34
  }
@@ -0,0 +1,9 @@
1
+ export declare enum MediaOnProductFields {
2
+ id = "id",
3
+ altText = "altText",
4
+ seqValue = "seqValue"
5
+ }
6
+ export declare enum MediaOnProductAssciations {
7
+ media = "media",
8
+ product = "product"
9
+ }
@@ -52,14 +52,14 @@ export declare enum ProductFields {
52
52
  }
53
53
  export declare enum ProductAssciations {
54
54
  category = "category",
55
- medias = "medias",
56
- mediasAggregate = "mediasAggregate",
57
55
  tags = "tags",
58
56
  tagsAggregate = "tagsAggregate",
59
57
  ogImage = "ogImage",
60
- attachments = "attachments",
61
- attachmentsAggregate = "attachmentsAggregate",
62
58
  draftOf = "draftOf",
59
+ mediaPivots = "mediaPivots",
60
+ mediaPivotsAggregate = "mediaPivotsAggregate",
61
+ attachmentPivots = "attachmentPivots",
62
+ attachmentPivotsAggregate = "attachmentPivotsAggregate",
63
63
  creator = "creator",
64
64
  draft = "draft"
65
65
  }
@@ -2,7 +2,6 @@ export * from './UserFields';
2
2
  export * from './RoleFields';
3
3
  export * from './AbilityFields';
4
4
  export * from './MediaFields';
5
- export * from './MailFields';
6
5
  export * from './WebsiteFields';
7
6
  export * from './LangFields';
8
7
  export * from './WebsiteTypeFields';
@@ -20,3 +19,5 @@ export * from './TagFields';
20
19
  export * from './CustomerFields';
21
20
  export * from './ProductCategoryFields';
22
21
  export * from './SpamFilterRuleFields';
22
+ export * from './MediaOnProductFields';
23
+ export * from './AttachmentOnProductFields';