@rxdrag/rxcms-models 0.2.10 → 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.
- package/dist/classes/AttachmentOnProductQueryOptions.d.ts +14 -0
- package/dist/classes/MediaOnProductQueryOptions.d.ts +15 -0
- package/dist/classes/MediaQueryOptions.d.ts +16 -12
- package/dist/classes/ProductQueryOptions.d.ts +15 -12
- package/dist/classes/index.d.ts +2 -0
- package/dist/entries/attachmentOnProductEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +2 -0
- package/dist/entries/mediaOnProductEntry.d.ts +2 -0
- package/dist/fields/AttachmentOnProductFields.d.ts +8 -0
- package/dist/fields/MediaFields.d.ts +5 -5
- package/dist/fields/MediaOnProductFields.d.ts +9 -0
- package/dist/fields/ProductFields.d.ts +4 -4
- package/dist/fields/index.d.ts +2 -0
- package/dist/index.mjs +228 -83
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AttachmentOnProduct.d.ts +10 -0
- package/dist/interfaces/AttachmentOnProductBoolExp.d.ts +13 -0
- package/dist/interfaces/AttachmentOnProductDistinctExp.d.ts +5 -0
- package/dist/interfaces/AttachmentOnProductInput.d.ts +12 -0
- package/dist/interfaces/{AttachmentAddonOrderBy.d.ts → AttachmentOnProductOrderBy.d.ts} +2 -1
- package/dist/interfaces/Media.d.ts +7 -7
- package/dist/interfaces/MediaBoolExp.d.ts +5 -3
- package/dist/interfaces/MediaInput.d.ts +5 -5
- package/dist/interfaces/MediaOnProduct.d.ts +11 -0
- package/dist/interfaces/MediaOnProductBoolExp.d.ts +15 -0
- package/dist/interfaces/MediaOnProductDistinctExp.d.ts +6 -0
- package/dist/interfaces/MediaOnProductInput.d.ts +13 -0
- package/dist/interfaces/{MediaAddonOrderBy.d.ts → MediaOnProductOrderBy.d.ts} +2 -1
- package/dist/interfaces/Product.d.ts +7 -7
- package/dist/interfaces/ProductBoolExp.d.ts +5 -3
- package/dist/interfaces/ProductInput.d.ts +5 -5
- package/dist/interfaces/index.d.ts +10 -2
- package/package.json +2 -2
- package/dist/interfaces/AttachmentAddon.d.ts +0 -3
- 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
|
|
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
|
-
|
|
23
|
-
|
|
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
|
|
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<
|
|
17
|
-
constructor(fields?: (keyof
|
|
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
|
}
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -19,5 +19,7 @@ export * from './TagQueryOptions';
|
|
|
19
19
|
export * from './CustomerQueryOptions';
|
|
20
20
|
export * from './ProductCategoryQueryOptions';
|
|
21
21
|
export * from './SpamFilterRuleQueryOptions';
|
|
22
|
+
export * from './MediaOnProductQueryOptions';
|
|
23
|
+
export * from './AttachmentOnProductQueryOptions';
|
|
22
24
|
export * from './QueryOptions';
|
|
23
25
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
}
|
package/dist/fields/index.d.ts
CHANGED