@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.
- package/dist/classes/CustomerQueryOptions.d.ts +1 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
- package/dist/classes/LangQueryOptions.d.ts +1 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
- package/dist/classes/MediaQueryOptions.d.ts +4 -3
- package/dist/classes/PageQueryOptions.d.ts +1 -3
- package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/PostQueryOptions.d.ts +1 -3
- package/dist/classes/ProductCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/ProductQueryOptions.d.ts +5 -6
- package/dist/classes/TagQueryOptions.d.ts +1 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/TemplateQueryOptions.d.ts +1 -0
- package/dist/classes/ThemeQueryOptions.d.ts +1 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +1 -0
- package/dist/classes/index.d.ts +0 -1
- package/dist/entries/index.d.ts +0 -1
- package/dist/fields/CustomerFields.d.ts +1 -0
- package/dist/fields/EnquiryFields.d.ts +1 -0
- package/dist/fields/LangFields.d.ts +1 -0
- package/dist/fields/MediaFolderFields.d.ts +1 -0
- package/dist/fields/PageFields.d.ts +1 -1
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/PostFields.d.ts +1 -1
- package/dist/fields/ProductCategoryFields.d.ts +1 -0
- package/dist/fields/ProductFields.d.ts +1 -1
- package/dist/fields/TagFields.d.ts +1 -0
- package/dist/fields/TemplateCategoryFields.d.ts +1 -0
- package/dist/fields/TemplateFields.d.ts +1 -0
- package/dist/fields/ThemeFields.d.ts +1 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +1 -0
- package/dist/fields/index.d.ts +0 -1
- package/dist/index.mjs +242 -307
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AttachmentAddon.d.ts +3 -0
- package/dist/interfaces/AttachmentAddonOrderBy.d.ts +4 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +1 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -0
- package/dist/interfaces/LangDistinctExp.d.ts +1 -0
- package/dist/interfaces/Media.d.ts +2 -1
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -0
- package/dist/interfaces/MediaInput.d.ts +2 -1
- package/dist/interfaces/Page.d.ts +0 -2
- package/dist/interfaces/PageBoolExp.d.ts +0 -2
- package/dist/interfaces/PageDistinctExp.d.ts +1 -0
- package/dist/interfaces/PageInput.d.ts +0 -2
- package/dist/interfaces/Post.d.ts +0 -2
- package/dist/interfaces/PostBoolExp.d.ts +0 -2
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/PostDistinctExp.d.ts +1 -0
- package/dist/interfaces/PostInput.d.ts +0 -2
- package/dist/interfaces/Product.d.ts +2 -3
- package/dist/interfaces/ProductBoolExp.d.ts +0 -2
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +1 -0
- package/dist/interfaces/ProductInput.d.ts +2 -3
- package/dist/interfaces/PublishableDistinctExp.d.ts +1 -0
- package/dist/interfaces/TagDistinctExp.d.ts +1 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +1 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsitePart.d.ts +1 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +1 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -0
- package/dist/interfaces/index.d.ts +1 -5
- package/package.json +1 -1
- package/dist/classes/SlugQueryOptions.d.ts +0 -30
- package/dist/entries/slugEntry.d.ts +0 -2
- package/dist/fields/SlugFields.d.ts +0 -22
- package/dist/interfaces/Slug.d.ts +0 -13
- package/dist/interfaces/SlugBoolExp.d.ts +0 -16
- package/dist/interfaces/SlugDistinctExp.d.ts +0 -19
- package/dist/interfaces/SlugInput.d.ts +0 -15
- 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
|
*/
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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;
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -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
|
}
|
|
@@ -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",
|
|
@@ -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",
|
package/dist/fields/index.d.ts
CHANGED
|
@@ -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';
|