@rxdrag/rxcms-models 0.3.33 → 0.3.35
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/ComponentCategoryQueryOptions.d.ts +19 -0
- package/dist/classes/FrontComponentQueryOptions.d.ts +23 -0
- package/dist/classes/PageQueryOptions.d.ts +1 -1
- package/dist/classes/TemplateQueryOptions.d.ts +0 -4
- package/dist/classes/ThemeQueryOptions.d.ts +12 -0
- package/dist/classes/UserQueryOptions.d.ts +1 -1
- package/dist/classes/WebsiteQueryOptions.d.ts +2 -3
- package/dist/classes/index.d.ts +2 -0
- package/dist/entries/componentCategoryEntry.d.ts +2 -0
- package/dist/entries/frontComponentEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +2 -0
- package/dist/fields/ComponentCategoryFields.d.ts +12 -0
- package/dist/fields/FrontComponentFields.d.ts +17 -0
- package/dist/fields/PageFields.d.ts +1 -1
- package/dist/fields/TemplateFields.d.ts +0 -4
- package/dist/fields/ThemeFields.d.ts +6 -0
- package/dist/fields/UserFields.d.ts +1 -1
- package/dist/fields/WebsiteFields.d.ts +0 -1
- package/dist/fields/index.d.ts +2 -0
- package/dist/index.mjs +424 -165
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Ability.d.ts +2 -2
- package/dist/interfaces/AbilityInput.d.ts +2 -2
- package/dist/interfaces/AttachmentOnProduct.d.ts +1 -1
- package/dist/interfaces/AttachmentOnProductInput.d.ts +1 -1
- package/dist/interfaces/ComponentCategory.d.ts +15 -0
- package/dist/interfaces/ComponentCategoryBoolExp.d.ts +18 -0
- package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +8 -0
- package/dist/interfaces/ComponentCategoryInput.d.ts +16 -0
- package/dist/interfaces/ComponentCategoryOrderBy.d.ts +8 -0
- package/dist/interfaces/ComponentType.d.ts +32 -8
- package/dist/interfaces/Customer.d.ts +1 -1
- package/dist/interfaces/CustomerInput.d.ts +1 -1
- package/dist/interfaces/Enquiry.d.ts +1 -1
- package/dist/interfaces/EnquiryInput.d.ts +1 -1
- package/dist/interfaces/ExtendField.d.ts +1 -0
- package/dist/interfaces/FrontComponent.d.ts +20 -0
- package/dist/interfaces/FrontComponentBoolExp.d.ts +25 -0
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +14 -0
- package/dist/interfaces/FrontComponentInput.d.ts +22 -0
- package/dist/interfaces/FrontComponentOrderBy.d.ts +14 -0
- package/dist/interfaces/IdComparisonExp.d.ts +1 -1
- package/dist/interfaces/Lang.d.ts +1 -1
- package/dist/interfaces/LangInput.d.ts +1 -1
- package/dist/interfaces/Mail.d.ts +1 -1
- package/dist/interfaces/MailInput.d.ts +1 -1
- package/dist/interfaces/Media.d.ts +1 -1
- package/dist/interfaces/MediaFolder.d.ts +1 -1
- package/dist/interfaces/MediaFolderInput.d.ts +1 -1
- package/dist/interfaces/MediaInput.d.ts +1 -1
- package/dist/interfaces/MediaOnProduct.d.ts +1 -1
- package/dist/interfaces/MediaOnProductInput.d.ts +1 -1
- package/dist/interfaces/OgMeta.d.ts +1 -1
- package/dist/interfaces/Page.d.ts +3 -2
- package/dist/interfaces/PageBoolExp.d.ts +3 -1
- package/dist/interfaces/PageDistinctExp.d.ts +1 -0
- package/dist/interfaces/PageInput.d.ts +3 -2
- package/dist/interfaces/PageOrderBy.d.ts +1 -0
- package/dist/interfaces/{TemplateType.d.ts → PageType.d.ts} +16 -12
- package/dist/interfaces/Person.d.ts +1 -1
- package/dist/interfaces/Post.d.ts +1 -1
- package/dist/interfaces/PostCategory.d.ts +1 -1
- package/dist/interfaces/PostCategoryInput.d.ts +1 -1
- package/dist/interfaces/PostInput.d.ts +1 -1
- package/dist/interfaces/Product.d.ts +1 -1
- package/dist/interfaces/ProductCategory.d.ts +1 -1
- package/dist/interfaces/ProductCategoryInput.d.ts +1 -1
- package/dist/interfaces/ProductInput.d.ts +1 -1
- package/dist/interfaces/ProductRelatedPivot.d.ts +1 -1
- package/dist/interfaces/ProductRelatedPivotInput.d.ts +1 -1
- package/dist/interfaces/PropsFields.d.ts +8 -0
- package/dist/interfaces/Publishable.d.ts +1 -1
- package/dist/interfaces/Role.d.ts +1 -1
- package/dist/interfaces/RoleInput.d.ts +1 -1
- package/dist/interfaces/SeoMeta.d.ts +1 -1
- package/dist/interfaces/Slugable.d.ts +1 -1
- package/dist/interfaces/SpamFilterRule.d.ts +1 -1
- package/dist/interfaces/SpamFilterRuleInput.d.ts +1 -1
- package/dist/interfaces/Tag.d.ts +1 -1
- package/dist/interfaces/TagInput.d.ts +1 -1
- package/dist/interfaces/Template.d.ts +1 -6
- package/dist/interfaces/TemplateBoolExp.d.ts +0 -3
- package/dist/interfaces/TemplateCategory.d.ts +1 -1
- package/dist/interfaces/TemplateCategoryInput.d.ts +1 -1
- package/dist/interfaces/TemplateDistinctExp.d.ts +0 -4
- package/dist/interfaces/TemplateInput.d.ts +1 -6
- package/dist/interfaces/TemplateOrderBy.d.ts +0 -4
- package/dist/interfaces/Theme.d.ts +9 -1
- package/dist/interfaces/ThemeBoolExp.d.ts +6 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +2 -0
- package/dist/interfaces/ThemeInput.d.ts +7 -1
- package/dist/interfaces/ThemeOrderBy.d.ts +2 -0
- package/dist/interfaces/User.d.ts +1 -1
- package/dist/interfaces/UserDistinctExp.d.ts +1 -1
- package/dist/interfaces/UserInput.d.ts +1 -1
- package/dist/interfaces/Website.d.ts +4 -5
- package/dist/interfaces/WebsiteBoolExp.d.ts +1 -2
- package/dist/interfaces/WebsiteContent.d.ts +1 -1
- package/dist/interfaces/WebsiteInput.d.ts +4 -5
- package/dist/interfaces/WebsitePart.d.ts +1 -1
- package/dist/interfaces/WebsiteSettings.d.ts +1 -1
- package/dist/interfaces/WebsiteSettingsInput.d.ts +1 -1
- package/dist/interfaces/WebsiteType.d.ts +1 -1
- package/dist/interfaces/WebsiteTypeInput.d.ts +1 -1
- package/dist/interfaces/WebsiteUser.d.ts +2 -2
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUserDistinctExp.d.ts +1 -1
- package/dist/interfaces/WebsiteUserOrderBy.d.ts +1 -1
- package/dist/interfaces/index.d.ts +13 -1
- package/package.json +3 -3
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IAggregate, IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { ComponentCategory, ComponentCategoryBoolExp, ComponentCategoryDistinctExp, ComponentCategoryOrderBy } from "../interfaces";
|
|
4
|
+
import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
|
|
5
|
+
import { FrontComponent } from '../interfaces';
|
|
6
|
+
import { FrontComponentBoolExp } from '../interfaces';
|
|
7
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
8
|
+
import { Theme } from '../interfaces';
|
|
9
|
+
export declare class ComponentCategoryQueryOptions extends QueryOptions<ComponentCategory, ComponentCategoryBoolExp, ComponentCategoryOrderBy, ComponentCategoryDistinctExp> {
|
|
10
|
+
constructor(fields?: (keyof ComponentCategory)[], queryArgs?: IQueryArgs<ComponentCategoryBoolExp, ComponentCategoryOrderBy, ComponentCategoryDistinctExp>);
|
|
11
|
+
id(): this;
|
|
12
|
+
name(): this;
|
|
13
|
+
seqValue(): this;
|
|
14
|
+
updatedAt(): this;
|
|
15
|
+
createdAt(): this;
|
|
16
|
+
components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
|
|
17
|
+
componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
|
|
18
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IQueryArgs } from "@rxdrag/entify-hooks";
|
|
2
|
+
import { QueryOptions } from "./QueryOptions";
|
|
3
|
+
import { FrontComponent, FrontComponentBoolExp, FrontComponentDistinctExp, FrontComponentOrderBy } from "../interfaces";
|
|
4
|
+
import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
|
|
5
|
+
import { ComponentCategory } from '../interfaces';
|
|
6
|
+
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
7
|
+
import { Theme } from '../interfaces';
|
|
8
|
+
export declare class FrontComponentQueryOptions extends QueryOptions<FrontComponent, FrontComponentBoolExp, FrontComponentOrderBy, FrontComponentDistinctExp> {
|
|
9
|
+
constructor(fields?: (keyof FrontComponent)[], queryArgs?: IQueryArgs<FrontComponentBoolExp, FrontComponentOrderBy, FrontComponentDistinctExp>);
|
|
10
|
+
id(): this;
|
|
11
|
+
name(): this;
|
|
12
|
+
title(): this;
|
|
13
|
+
seqValue(): this;
|
|
14
|
+
content(): this;
|
|
15
|
+
props(): this;
|
|
16
|
+
testConfig(): this;
|
|
17
|
+
updatedAt(): this;
|
|
18
|
+
createdAt(): this;
|
|
19
|
+
slots(): this;
|
|
20
|
+
droppable(): this;
|
|
21
|
+
category(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
|
|
22
|
+
theme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
23
|
+
}
|
|
@@ -15,6 +15,7 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
|
|
|
15
15
|
* 备注
|
|
16
16
|
*/
|
|
17
17
|
remark(): this;
|
|
18
|
+
pageType(): this;
|
|
18
19
|
content(): this;
|
|
19
20
|
extends(): this;
|
|
20
21
|
createdAt(): this;
|
|
@@ -36,6 +37,5 @@ export declare class PageQueryOptions extends QueryOptions<Page, PageBoolExp, Pa
|
|
|
36
37
|
description(): this;
|
|
37
38
|
ogImage(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
38
39
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
39
|
-
homeOf(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
40
40
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
41
41
|
}
|
|
@@ -15,10 +15,6 @@ export declare class TemplateQueryOptions extends QueryOptions<Template, Templat
|
|
|
15
15
|
name(): this;
|
|
16
16
|
seqValue(): this;
|
|
17
17
|
content(): this;
|
|
18
|
-
/**
|
|
19
|
-
* 模板类型
|
|
20
|
-
*/
|
|
21
|
-
templateType(): this;
|
|
22
18
|
createdAt(): this;
|
|
23
19
|
updatedAt(): this;
|
|
24
20
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
@@ -11,6 +11,12 @@ import { LangQueryOptions } from './LangQueryOptions';
|
|
|
11
11
|
import { Lang } from '../interfaces';
|
|
12
12
|
import { MediaQueryOptions } from './MediaQueryOptions';
|
|
13
13
|
import { Media } from '../interfaces';
|
|
14
|
+
import { FrontComponentQueryOptions } from './FrontComponentQueryOptions';
|
|
15
|
+
import { FrontComponent } from '../interfaces';
|
|
16
|
+
import { FrontComponentBoolExp } from '../interfaces';
|
|
17
|
+
import { ComponentCategoryQueryOptions } from './ComponentCategoryQueryOptions';
|
|
18
|
+
import { ComponentCategory } from '../interfaces';
|
|
19
|
+
import { ComponentCategoryBoolExp } from '../interfaces';
|
|
14
20
|
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
15
21
|
import { Website } from '../interfaces';
|
|
16
22
|
export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp, ThemeOrderBy, ThemeDistinctExp> {
|
|
@@ -20,6 +26,8 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
|
|
|
20
26
|
styles(): this;
|
|
21
27
|
settings(): this;
|
|
22
28
|
description(): this;
|
|
29
|
+
tailwindConfig(): this;
|
|
30
|
+
css(): this;
|
|
23
31
|
createdAt(): this;
|
|
24
32
|
updatedAt(): this;
|
|
25
33
|
templates(options?: TemplateQueryOptions | (keyof Template)[]): this;
|
|
@@ -28,6 +36,10 @@ export declare class ThemeQueryOptions extends QueryOptions<Theme, ThemeBoolExp,
|
|
|
28
36
|
themlateCategoriesAggregate(aggregate: IAggregate<TemplateCategoryBoolExp>): this;
|
|
29
37
|
lang(options?: LangQueryOptions | (keyof Lang)[]): this;
|
|
30
38
|
cover(options?: MediaQueryOptions | (keyof Media)[]): this;
|
|
39
|
+
components(options?: FrontComponentQueryOptions | (keyof FrontComponent)[]): this;
|
|
40
|
+
componentsAggregate(aggregate: IAggregate<FrontComponentBoolExp>): this;
|
|
41
|
+
componentCategories(options?: ComponentCategoryQueryOptions | (keyof ComponentCategory)[]): this;
|
|
42
|
+
componentCategoriesAggregate(aggregate: IAggregate<ComponentCategoryBoolExp>): this;
|
|
31
43
|
selectedBy(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
32
44
|
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
33
45
|
}
|
|
@@ -5,8 +5,6 @@ import { WebsiteTypeQueryOptions } from './WebsiteTypeQueryOptions';
|
|
|
5
5
|
import { WebsiteType } from '../interfaces';
|
|
6
6
|
import { ThemeQueryOptions } from './ThemeQueryOptions';
|
|
7
7
|
import { Theme } from '../interfaces';
|
|
8
|
-
import { PageQueryOptions } from './PageQueryOptions';
|
|
9
|
-
import { Page } from '../interfaces';
|
|
10
8
|
import { UserQueryOptions } from './UserQueryOptions';
|
|
11
9
|
import { User } from '../interfaces';
|
|
12
10
|
import { UserBoolExp } from '../interfaces';
|
|
@@ -26,6 +24,8 @@ import { MediaFolderBoolExp } from '../interfaces';
|
|
|
26
24
|
import { EnquiryQueryOptions } from './EnquiryQueryOptions';
|
|
27
25
|
import { Enquiry } from '../interfaces';
|
|
28
26
|
import { EnquiryBoolExp } from '../interfaces';
|
|
27
|
+
import { PageQueryOptions } from './PageQueryOptions';
|
|
28
|
+
import { Page } from '../interfaces';
|
|
29
29
|
import { PageBoolExp } from '../interfaces';
|
|
30
30
|
import { ProductQueryOptions } from './ProductQueryOptions';
|
|
31
31
|
import { Product } from '../interfaces';
|
|
@@ -85,7 +85,6 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
85
85
|
description(): this;
|
|
86
86
|
websiteType(options?: WebsiteTypeQueryOptions | (keyof WebsiteType)[]): this;
|
|
87
87
|
selectedTheme(options?: ThemeQueryOptions | (keyof Theme)[]): this;
|
|
88
|
-
homePage(options?: PageQueryOptions | (keyof Page)[]): this;
|
|
89
88
|
owner(options?: UserQueryOptions | (keyof User)[]): this;
|
|
90
89
|
users(options?: UserQueryOptions | (keyof User)[]): this;
|
|
91
90
|
usersAggregate(aggregate: IAggregate<UserBoolExp>): this;
|
package/dist/classes/index.d.ts
CHANGED
|
@@ -23,5 +23,7 @@ export * from './SpamFilterRuleQueryOptions';
|
|
|
23
23
|
export * from './MediaOnProductQueryOptions';
|
|
24
24
|
export * from './AttachmentOnProductQueryOptions';
|
|
25
25
|
export * from './ProductRelatedPivotQueryOptions';
|
|
26
|
+
export * from './FrontComponentQueryOptions';
|
|
27
|
+
export * from './ComponentCategoryQueryOptions';
|
|
26
28
|
export * from './QueryOptions';
|
|
27
29
|
export * from './metainfo';
|
package/dist/entries/index.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum ComponentCategoryFields {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
seqValue = "seqValue",
|
|
5
|
+
updatedAt = "updatedAt",
|
|
6
|
+
createdAt = "createdAt"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ComponentCategoryAssciations {
|
|
9
|
+
components = "components",
|
|
10
|
+
componentsAggregate = "componentsAggregate",
|
|
11
|
+
theme = "theme"
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum FrontComponentFields {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
title = "title",
|
|
5
|
+
seqValue = "seqValue",
|
|
6
|
+
content = "content",
|
|
7
|
+
props = "props",
|
|
8
|
+
testConfig = "testConfig",
|
|
9
|
+
updatedAt = "updatedAt",
|
|
10
|
+
createdAt = "createdAt",
|
|
11
|
+
slots = "slots",
|
|
12
|
+
droppable = "droppable"
|
|
13
|
+
}
|
|
14
|
+
export declare enum FrontComponentAssciations {
|
|
15
|
+
category = "category",
|
|
16
|
+
theme = "theme"
|
|
17
|
+
}
|
|
@@ -5,6 +5,7 @@ export declare enum PageFields {
|
|
|
5
5
|
* 备注
|
|
6
6
|
*/
|
|
7
7
|
remark = "remark",
|
|
8
|
+
pageType = "pageType",
|
|
8
9
|
content = "content",
|
|
9
10
|
extends = "extends",
|
|
10
11
|
createdAt = "createdAt",
|
|
@@ -28,6 +29,5 @@ export declare enum PageFields {
|
|
|
28
29
|
export declare enum PageAssciations {
|
|
29
30
|
ogImage = "ogImage",
|
|
30
31
|
lang = "lang",
|
|
31
|
-
homeOf = "homeOf",
|
|
32
32
|
website = "website"
|
|
33
33
|
}
|
|
@@ -4,6 +4,8 @@ export declare enum ThemeFields {
|
|
|
4
4
|
styles = "styles",
|
|
5
5
|
settings = "settings",
|
|
6
6
|
description = "description",
|
|
7
|
+
tailwindConfig = "tailwindConfig",
|
|
8
|
+
css = "css",
|
|
7
9
|
createdAt = "createdAt",
|
|
8
10
|
updatedAt = "updatedAt"
|
|
9
11
|
}
|
|
@@ -14,6 +16,10 @@ export declare enum ThemeAssciations {
|
|
|
14
16
|
themlateCategoriesAggregate = "themlateCategoriesAggregate",
|
|
15
17
|
lang = "lang",
|
|
16
18
|
cover = "cover",
|
|
19
|
+
components = "components",
|
|
20
|
+
componentsAggregate = "componentsAggregate",
|
|
21
|
+
componentCategories = "componentCategories",
|
|
22
|
+
componentCategoriesAggregate = "componentCategoriesAggregate",
|
|
17
23
|
selectedBy = "selectedBy",
|
|
18
24
|
website = "website"
|
|
19
25
|
}
|
package/dist/fields/index.d.ts
CHANGED