@rxdrag/rxcms-models 0.3.46 → 0.3.48
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 +1 -0
- package/dist/classes/FrontComponentQueryOptions.d.ts +1 -0
- package/dist/classes/PostQueryOptions.d.ts +0 -2
- package/dist/classes/ProductQueryOptions.d.ts +1 -9
- package/dist/classes/RoleQueryOptions.d.ts +1 -0
- package/dist/classes/SectionTemplateQueryOptions.d.ts +19 -0
- package/dist/classes/StyleConfigQueryOptions.d.ts +18 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +20 -0
- package/dist/classes/ThemeCategoryQueryOptions.d.ts +17 -0
- package/dist/classes/ThemeQueryOptions.d.ts +20 -5
- package/dist/classes/index.d.ts +4 -1
- package/dist/entries/index.d.ts +4 -1
- package/dist/entries/sectionTemplateEntry.d.ts +2 -0
- package/dist/entries/styleConfigEntry.d.ts +2 -0
- package/dist/entries/templateCategoryEntry.d.ts +2 -0
- package/dist/entries/themeCategoryEntry.d.ts +2 -0
- package/dist/fields/ComponentCategoryFields.d.ts +2 -1
- package/dist/fields/FrontComponentFields.d.ts +2 -1
- package/dist/fields/PostFields.d.ts +0 -2
- package/dist/fields/ProductFields.d.ts +2 -7
- package/dist/fields/RoleFields.d.ts +1 -0
- package/dist/fields/SectionTemplateFields.d.ts +13 -0
- package/dist/fields/StyleConfigFields.d.ts +14 -0
- package/dist/fields/TemplateCategoryFields.d.ts +13 -0
- package/dist/fields/ThemeCategoryFields.d.ts +12 -0
- package/dist/fields/ThemeFields.d.ts +12 -7
- package/dist/fields/index.d.ts +4 -1
- package/dist/index.mjs +526 -205
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AbilityType.d.ts +5 -1
- package/dist/interfaces/ComponentCategory.d.ts +1 -0
- package/dist/interfaces/ComponentCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/ComponentCategoryDistinctExp.d.ts +2 -1
- package/dist/interfaces/ComponentCategoryInput.d.ts +1 -0
- package/dist/interfaces/ComponentCategoryOrderBy.d.ts +1 -0
- package/dist/interfaces/ExtendField.d.ts +1 -2
- package/dist/interfaces/FrontComponent.d.ts +1 -0
- package/dist/interfaces/FrontComponentBoolExp.d.ts +1 -0
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +2 -1
- package/dist/interfaces/FrontComponentInput.d.ts +1 -0
- package/dist/interfaces/FrontComponentOrderBy.d.ts +1 -0
- package/dist/interfaces/Post.d.ts +0 -2
- package/dist/interfaces/PostBoolExp.d.ts +0 -2
- package/dist/interfaces/PostInput.d.ts +0 -2
- package/dist/interfaces/Product.d.ts +1 -7
- package/dist/interfaces/ProductBoolExp.d.ts +1 -5
- package/dist/interfaces/ProductDistinctExp.d.ts +1 -0
- package/dist/interfaces/ProductInput.d.ts +1 -5
- package/dist/interfaces/ProductOrderBy.d.ts +1 -0
- package/dist/interfaces/Role.d.ts +1 -0
- package/dist/interfaces/RoleBoolExp.d.ts +1 -0
- package/dist/interfaces/RoleDistinctExp.d.ts +1 -0
- package/dist/interfaces/RoleInput.d.ts +1 -0
- package/dist/interfaces/RoleOrderBy.d.ts +1 -0
- package/dist/interfaces/SectionTemplate.d.ts +15 -0
- package/dist/interfaces/SectionTemplateBoolExp.d.ts +20 -0
- package/dist/interfaces/SectionTemplateDistinctExp.d.ts +10 -0
- package/dist/interfaces/SectionTemplateInput.d.ts +17 -0
- package/dist/interfaces/SectionTemplateOrderBy.d.ts +10 -0
- package/dist/interfaces/StyleConfig.d.ts +15 -0
- package/dist/interfaces/StyleConfigBoolExp.d.ts +20 -0
- package/dist/interfaces/StyleConfigDistinctExp.d.ts +12 -0
- package/dist/interfaces/StyleConfigInput.d.ts +17 -0
- package/dist/interfaces/StyleConfigOrderBy.d.ts +12 -0
- package/dist/interfaces/TemplateCategory.d.ts +16 -0
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +19 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +9 -0
- package/dist/interfaces/TemplateCategoryInput.d.ts +17 -0
- package/dist/interfaces/TemplateCategoryOrderBy.d.ts +9 -0
- package/dist/interfaces/Theme.d.ts +14 -5
- package/dist/interfaces/ThemeBoolExp.d.ts +12 -4
- package/dist/interfaces/ThemeCategory.d.ts +14 -0
- package/dist/interfaces/ThemeCategoryBoolExp.d.ts +17 -0
- package/dist/interfaces/ThemeCategoryDistinctExp.d.ts +9 -0
- package/dist/interfaces/ThemeCategoryInput.d.ts +14 -0
- package/dist/interfaces/ThemeCategoryOrderBy.d.ts +9 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +5 -6
- package/dist/interfaces/ThemeInput.d.ts +12 -5
- package/dist/interfaces/ThemeOrderBy.d.ts +4 -5
- package/dist/interfaces/index.d.ts +20 -6
- package/package.json +4 -4
- package/dist/classes/ProductRelatedPivotQueryOptions.d.ts +0 -12
- package/dist/entries/productRelatedPivotEntry.d.ts +0 -2
- package/dist/fields/ProductRelatedPivotFields.d.ts +0 -8
- package/dist/interfaces/ComponentType.d.ts +0 -58
- package/dist/interfaces/ProductRelatedPivot.d.ts +0 -9
- package/dist/interfaces/ProductRelatedPivotBoolExp.d.ts +0 -12
- package/dist/interfaces/ProductRelatedPivotDistinctExp.d.ts +0 -5
- package/dist/interfaces/ProductRelatedPivotInput.d.ts +0 -11
- package/dist/interfaces/ProductRelatedPivotOrderBy.d.ts +0 -5
|
@@ -2,6 +2,7 @@ import { IdComparisonExp } from './IdComparisonExp';
|
|
|
2
2
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
3
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
4
4
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
5
6
|
import { FrontComponentBoolExp } from './FrontComponentBoolExp';
|
|
6
7
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
7
8
|
export interface ComponentCategoryBoolExp {
|
|
@@ -13,6 +14,7 @@ export interface ComponentCategoryBoolExp {
|
|
|
13
14
|
seqValue?: NumberComparisonExp;
|
|
14
15
|
updatedAt?: DateTimeComparisonExp;
|
|
15
16
|
createdAt?: DateTimeComparisonExp;
|
|
17
|
+
isInMarket?: BooleanComparisonExp;
|
|
16
18
|
components?: FrontComponentBoolExp;
|
|
17
19
|
theme?: ThemeBoolExp;
|
|
18
20
|
}
|
|
@@ -3,6 +3,7 @@ export declare enum ComponentCategoryDistinctEnum {
|
|
|
3
3
|
name = "name",
|
|
4
4
|
seqValue = "seqValue",
|
|
5
5
|
updatedAt = "updatedAt",
|
|
6
|
-
createdAt = "createdAt"
|
|
6
|
+
createdAt = "createdAt",
|
|
7
|
+
isInMarket = "isInMarket"
|
|
7
8
|
}
|
|
8
9
|
export type ComponentCategoryDistinctExp = ComponentCategoryDistinctEnum;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ExtendFieldType } from './ExtendFieldType';
|
|
2
|
-
import { ComponentType } from './ComponentType';
|
|
3
2
|
export interface ExtendField {
|
|
4
3
|
name?: string;
|
|
5
4
|
title?: string;
|
|
6
5
|
type?: ExtendFieldType;
|
|
7
|
-
component?:
|
|
6
|
+
component?: string;
|
|
8
7
|
componentProps?: any;
|
|
9
8
|
}
|
|
@@ -10,6 +10,7 @@ export declare enum FrontComponentDistinctEnum {
|
|
|
10
10
|
slots = "slots",
|
|
11
11
|
droppable = "droppable",
|
|
12
12
|
isInMarket = "isInMarket",
|
|
13
|
-
code = "code"
|
|
13
|
+
code = "code",
|
|
14
|
+
description = "description"
|
|
14
15
|
}
|
|
15
16
|
export type FrontComponentDistinctExp = FrontComponentDistinctEnum;
|
|
@@ -24,11 +24,9 @@ export interface Post extends Publishable {
|
|
|
24
24
|
tags?: Tag[];
|
|
25
25
|
author?: User;
|
|
26
26
|
cover?: Media;
|
|
27
|
-
draftOf?: Post;
|
|
28
27
|
lang?: Lang;
|
|
29
28
|
meta?: PageMeta;
|
|
30
29
|
category?: PostCategory;
|
|
31
|
-
draft?: Post;
|
|
32
30
|
website?: Website;
|
|
33
31
|
tagsAggregate?: Aggregate;
|
|
34
32
|
}
|
|
@@ -25,10 +25,8 @@ export interface PostBoolExp extends PublishableBoolExp {
|
|
|
25
25
|
tags?: TagBoolExp;
|
|
26
26
|
author?: UserBoolExp;
|
|
27
27
|
cover?: MediaBoolExp;
|
|
28
|
-
draftOf?: PostBoolExp;
|
|
29
28
|
lang?: LangBoolExp;
|
|
30
29
|
meta?: PageMetaBoolExp;
|
|
31
30
|
category?: PostCategoryBoolExp;
|
|
32
|
-
draft?: PostBoolExp;
|
|
33
31
|
website?: WebsiteBoolExp;
|
|
34
32
|
}
|
|
@@ -24,11 +24,9 @@ export interface PostInput extends Publishable {
|
|
|
24
24
|
tags?: SetHasMany<TagInput>;
|
|
25
25
|
author?: SetHasOne<UserInput>;
|
|
26
26
|
cover?: SetHasOne<MediaInput>;
|
|
27
|
-
draftOf?: SetHasOne<PostInput>;
|
|
28
27
|
lang?: SetHasOne<LangInput>;
|
|
29
28
|
meta?: SetHasOne<PageMetaInput>;
|
|
30
29
|
category?: SetHasOne<PostCategoryInput>;
|
|
31
|
-
draft?: SetHasOne<PostInput>;
|
|
32
30
|
website?: SetHasOne<WebsiteInput>;
|
|
33
31
|
}
|
|
34
32
|
export declare const postToInputCascade: (entity: Post) => PostInput;
|
|
@@ -3,7 +3,6 @@ import { Tag } from './Tag';
|
|
|
3
3
|
import { MediaOnProduct } from './MediaOnProduct';
|
|
4
4
|
import { AttachmentOnProduct } from './AttachmentOnProduct';
|
|
5
5
|
import { Lang } from './Lang';
|
|
6
|
-
import { ProductRelatedPivot } from './ProductRelatedPivot';
|
|
7
6
|
import { PageMeta } from './PageMeta';
|
|
8
7
|
import { User } from './User';
|
|
9
8
|
import { Website } from './Website';
|
|
@@ -28,21 +27,16 @@ export interface Product extends Publishable {
|
|
|
28
27
|
* 第三方视频url
|
|
29
28
|
*/
|
|
30
29
|
externalVideoUrl?: string;
|
|
30
|
+
relatedSlugs?: string[];
|
|
31
31
|
category?: ProductCategory;
|
|
32
32
|
tags?: Tag[];
|
|
33
|
-
draftOf?: Product;
|
|
34
33
|
mediaPivots?: MediaOnProduct[];
|
|
35
34
|
attachmentPivots?: AttachmentOnProduct[];
|
|
36
35
|
lang?: Lang;
|
|
37
|
-
relatedPivot?: ProductRelatedPivot[];
|
|
38
36
|
meta?: PageMeta;
|
|
39
37
|
creator?: User;
|
|
40
|
-
draft?: Product;
|
|
41
38
|
website?: Website;
|
|
42
|
-
relatedByPivot?: ProductRelatedPivot[];
|
|
43
39
|
tagsAggregate?: Aggregate;
|
|
44
40
|
mediaPivotsAggregate?: Aggregate;
|
|
45
41
|
attachmentPivotsAggregate?: Aggregate;
|
|
46
|
-
relatedPivotAggregate?: Aggregate;
|
|
47
|
-
relatedByPivotAggregate?: Aggregate;
|
|
48
42
|
}
|
|
@@ -8,7 +8,6 @@ import { TagBoolExp } from './TagBoolExp';
|
|
|
8
8
|
import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
|
|
9
9
|
import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
|
|
10
10
|
import { LangBoolExp } from './LangBoolExp';
|
|
11
|
-
import { ProductRelatedPivotBoolExp } from './ProductRelatedPivotBoolExp';
|
|
12
11
|
import { PageMetaBoolExp } from './PageMetaBoolExp';
|
|
13
12
|
import { UserBoolExp } from './UserBoolExp';
|
|
14
13
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
@@ -26,16 +25,13 @@ export interface ProductBoolExp extends PublishableBoolExp {
|
|
|
26
25
|
content3?: StringComparisonExp;
|
|
27
26
|
shortTitle?: StringComparisonExp;
|
|
28
27
|
externalVideoUrl?: StringComparisonExp;
|
|
28
|
+
relatedSlugs?: unknown;
|
|
29
29
|
category?: ProductCategoryBoolExp;
|
|
30
30
|
tags?: TagBoolExp;
|
|
31
|
-
draftOf?: ProductBoolExp;
|
|
32
31
|
mediaPivots?: MediaOnProductBoolExp;
|
|
33
32
|
attachmentPivots?: AttachmentOnProductBoolExp;
|
|
34
33
|
lang?: LangBoolExp;
|
|
35
|
-
relatedPivot?: ProductRelatedPivotBoolExp;
|
|
36
34
|
meta?: PageMetaBoolExp;
|
|
37
35
|
creator?: UserBoolExp;
|
|
38
|
-
draft?: ProductBoolExp;
|
|
39
36
|
website?: WebsiteBoolExp;
|
|
40
|
-
relatedByPivot?: ProductRelatedPivotBoolExp;
|
|
41
37
|
}
|
|
@@ -4,7 +4,6 @@ import { TagInput } from './TagInput';
|
|
|
4
4
|
import { MediaOnProductInput } from './MediaOnProductInput';
|
|
5
5
|
import { AttachmentOnProductInput } from './AttachmentOnProductInput';
|
|
6
6
|
import { LangInput } from './LangInput';
|
|
7
|
-
import { ProductRelatedPivotInput } from './ProductRelatedPivotInput';
|
|
8
7
|
import { PageMetaInput } from './PageMetaInput';
|
|
9
8
|
import { UserInput } from './UserInput';
|
|
10
9
|
import { WebsiteInput } from './WebsiteInput';
|
|
@@ -28,18 +27,15 @@ export interface ProductInput extends Publishable {
|
|
|
28
27
|
* 第三方视频url
|
|
29
28
|
*/
|
|
30
29
|
externalVideoUrl?: string;
|
|
30
|
+
relatedSlugs?: string[];
|
|
31
31
|
category?: SetHasOne<ProductCategoryInput>;
|
|
32
32
|
tags?: SetHasMany<TagInput>;
|
|
33
|
-
draftOf?: SetHasOne<ProductInput>;
|
|
34
33
|
mediaPivots?: SetHasMany<MediaOnProductInput>;
|
|
35
34
|
attachmentPivots?: SetHasMany<AttachmentOnProductInput>;
|
|
36
35
|
lang?: SetHasOne<LangInput>;
|
|
37
|
-
relatedPivot?: SetHasMany<ProductRelatedPivotInput>;
|
|
38
36
|
meta?: SetHasOne<PageMetaInput>;
|
|
39
37
|
creator?: SetHasOne<UserInput>;
|
|
40
|
-
draft?: SetHasOne<ProductInput>;
|
|
41
38
|
website?: SetHasOne<WebsiteInput>;
|
|
42
|
-
relatedByPivot?: SetHasMany<ProductRelatedPivotInput>;
|
|
43
39
|
}
|
|
44
40
|
export declare const productToInputCascade: (entity: Product) => ProductInput;
|
|
45
41
|
export declare const productToInput: (entity: Product) => ProductInput;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TemplateCategory } from './TemplateCategory';
|
|
2
|
+
import { Theme } from './Theme';
|
|
3
|
+
export declare const SectionTemplateEntityName = "SectionTemplate";
|
|
4
|
+
export declare const SectionTemplateEntityLabel = "";
|
|
5
|
+
export interface SectionTemplate {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
title?: string;
|
|
8
|
+
code?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
seqValue?: number;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
category?: TemplateCategory;
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
4
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
6
|
+
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
7
|
+
export interface SectionTemplateBoolExp {
|
|
8
|
+
_and?: SectionTemplateBoolExp[];
|
|
9
|
+
_or?: SectionTemplateBoolExp[];
|
|
10
|
+
_not?: SectionTemplateBoolExp;
|
|
11
|
+
id?: IdComparisonExp;
|
|
12
|
+
title?: StringComparisonExp;
|
|
13
|
+
code?: StringComparisonExp;
|
|
14
|
+
description?: StringComparisonExp;
|
|
15
|
+
seqValue?: NumberComparisonExp;
|
|
16
|
+
createdAt?: DateTimeComparisonExp;
|
|
17
|
+
updatedAt?: DateTimeComparisonExp;
|
|
18
|
+
category?: TemplateCategoryBoolExp;
|
|
19
|
+
theme?: ThemeBoolExp;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum SectionTemplateDistinctEnum {
|
|
2
|
+
id = "id",
|
|
3
|
+
title = "title",
|
|
4
|
+
code = "code",
|
|
5
|
+
description = "description",
|
|
6
|
+
seqValue = "seqValue",
|
|
7
|
+
createdAt = "createdAt",
|
|
8
|
+
updatedAt = "updatedAt"
|
|
9
|
+
}
|
|
10
|
+
export type SectionTemplateDistinctExp = SectionTemplateDistinctEnum;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SectionTemplate } from './SectionTemplate';
|
|
2
|
+
import { TemplateCategoryInput } from './TemplateCategoryInput';
|
|
3
|
+
import { ThemeInput } from './ThemeInput';
|
|
4
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
5
|
+
export interface SectionTemplateInput {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
title?: string;
|
|
8
|
+
code?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
seqValue?: number;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
category?: SetHasOne<TemplateCategoryInput>;
|
|
14
|
+
theme?: SetHasOne<ThemeInput>;
|
|
15
|
+
}
|
|
16
|
+
export declare const sectionTemplateToInputCascade: (entity: SectionTemplate) => SectionTemplateInput;
|
|
17
|
+
export declare const sectionTemplateToInput: (entity: SectionTemplate) => SectionTemplateInput;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Theme } from './Theme';
|
|
2
|
+
export declare const StyleConfigEntityName = "StyleConfig";
|
|
3
|
+
export declare const StyleConfigEntityLabel = "";
|
|
4
|
+
export interface StyleConfig {
|
|
5
|
+
id?: string | null;
|
|
6
|
+
name?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
tailwindConfig?: string;
|
|
9
|
+
css?: string;
|
|
10
|
+
cssVariants?: string;
|
|
11
|
+
isInMarket?: boolean;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
6
|
+
export interface StyleConfigBoolExp {
|
|
7
|
+
_and?: StyleConfigBoolExp[];
|
|
8
|
+
_or?: StyleConfigBoolExp[];
|
|
9
|
+
_not?: StyleConfigBoolExp;
|
|
10
|
+
id?: IdComparisonExp;
|
|
11
|
+
name?: StringComparisonExp;
|
|
12
|
+
description?: StringComparisonExp;
|
|
13
|
+
tailwindConfig?: StringComparisonExp;
|
|
14
|
+
css?: StringComparisonExp;
|
|
15
|
+
cssVariants?: StringComparisonExp;
|
|
16
|
+
isInMarket?: BooleanComparisonExp;
|
|
17
|
+
createdAt?: DateTimeComparisonExp;
|
|
18
|
+
updatedAt?: DateTimeComparisonExp;
|
|
19
|
+
theme?: ThemeBoolExp;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum StyleConfigDistinctEnum {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
description = "description",
|
|
5
|
+
tailwindConfig = "tailwindConfig",
|
|
6
|
+
css = "css",
|
|
7
|
+
cssVariants = "cssVariants",
|
|
8
|
+
isInMarket = "isInMarket",
|
|
9
|
+
createdAt = "createdAt",
|
|
10
|
+
updatedAt = "updatedAt"
|
|
11
|
+
}
|
|
12
|
+
export type StyleConfigDistinctExp = StyleConfigDistinctEnum;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StyleConfig } from './StyleConfig';
|
|
2
|
+
import { ThemeInput } from './ThemeInput';
|
|
3
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
4
|
+
export interface StyleConfigInput {
|
|
5
|
+
id?: string | null;
|
|
6
|
+
name?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
tailwindConfig?: string;
|
|
9
|
+
css?: string;
|
|
10
|
+
cssVariants?: string;
|
|
11
|
+
isInMarket?: boolean;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
theme?: SetHasOne<ThemeInput>;
|
|
15
|
+
}
|
|
16
|
+
export declare const styleConfigToInputCascade: (entity: StyleConfig) => StyleConfigInput;
|
|
17
|
+
export declare const styleConfigToInput: (entity: StyleConfig) => StyleConfigInput;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
+
export interface StyleConfigOrderBy {
|
|
3
|
+
id?: OrderBy;
|
|
4
|
+
name?: OrderBy;
|
|
5
|
+
description?: OrderBy;
|
|
6
|
+
tailwindConfig?: OrderBy;
|
|
7
|
+
css?: OrderBy;
|
|
8
|
+
cssVariants?: OrderBy;
|
|
9
|
+
isInMarket?: OrderBy;
|
|
10
|
+
createdAt?: OrderBy;
|
|
11
|
+
updatedAt?: OrderBy;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SectionTemplate } from './SectionTemplate';
|
|
2
|
+
import { Theme } from './Theme';
|
|
3
|
+
import { Aggregate } from './Aggregate';
|
|
4
|
+
export declare const TemplateCategoryEntityName = "TemplateCategory";
|
|
5
|
+
export declare const TemplateCategoryEntityLabel = "";
|
|
6
|
+
export interface TemplateCategory {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
seqValue?: number;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
templates?: SectionTemplate[];
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
templatesAggregate?: Aggregate;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
4
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
import { SectionTemplateBoolExp } from './SectionTemplateBoolExp';
|
|
6
|
+
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
7
|
+
export interface TemplateCategoryBoolExp {
|
|
8
|
+
_and?: TemplateCategoryBoolExp[];
|
|
9
|
+
_or?: TemplateCategoryBoolExp[];
|
|
10
|
+
_not?: TemplateCategoryBoolExp;
|
|
11
|
+
id?: IdComparisonExp;
|
|
12
|
+
name?: StringComparisonExp;
|
|
13
|
+
description?: StringComparisonExp;
|
|
14
|
+
seqValue?: NumberComparisonExp;
|
|
15
|
+
createdAt?: DateTimeComparisonExp;
|
|
16
|
+
updatedAt?: DateTimeComparisonExp;
|
|
17
|
+
templates?: SectionTemplateBoolExp;
|
|
18
|
+
theme?: ThemeBoolExp;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum TemplateCategoryDistinctEnum {
|
|
2
|
+
id = "id",
|
|
3
|
+
name = "name",
|
|
4
|
+
description = "description",
|
|
5
|
+
seqValue = "seqValue",
|
|
6
|
+
createdAt = "createdAt",
|
|
7
|
+
updatedAt = "updatedAt"
|
|
8
|
+
}
|
|
9
|
+
export type TemplateCategoryDistinctExp = TemplateCategoryDistinctEnum;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TemplateCategory } from './TemplateCategory';
|
|
2
|
+
import { SectionTemplateInput } from './SectionTemplateInput';
|
|
3
|
+
import { ThemeInput } from './ThemeInput';
|
|
4
|
+
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
5
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
|
+
export interface TemplateCategoryInput {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
seqValue?: number;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
templates?: SetHasMany<SectionTemplateInput>;
|
|
14
|
+
theme?: SetHasOne<ThemeInput>;
|
|
15
|
+
}
|
|
16
|
+
export declare const templateCategoryToInputCascade: (entity: TemplateCategory) => TemplateCategoryInput;
|
|
17
|
+
export declare const templateCategoryToInput: (entity: TemplateCategory) => TemplateCategoryInput;
|
|
@@ -5,38 +5,47 @@ import { ComponentCategory } from './ComponentCategory';
|
|
|
5
5
|
import { Page } from './Page';
|
|
6
6
|
import { Lang } from './Lang';
|
|
7
7
|
import { ThemeConfig } from './ThemeConfig';
|
|
8
|
+
import { SectionTemplate } from './SectionTemplate';
|
|
9
|
+
import { TemplateCategory } from './TemplateCategory';
|
|
10
|
+
import { StyleConfig } from './StyleConfig';
|
|
8
11
|
import { ThemeVersion } from './ThemeVersion';
|
|
9
12
|
import { Website } from './Website';
|
|
13
|
+
import { ThemeCategory } from './ThemeCategory';
|
|
10
14
|
import { Aggregate } from './Aggregate';
|
|
11
15
|
export declare const ThemeEntityName = "Theme";
|
|
12
16
|
export declare const ThemeEntityLabel = "";
|
|
13
17
|
export interface Theme {
|
|
14
18
|
id?: string | null;
|
|
15
19
|
name?: string;
|
|
16
|
-
styles?: any;
|
|
17
20
|
settings?: ThemeSettings;
|
|
18
21
|
description?: string;
|
|
19
|
-
tailwindConfig?: string;
|
|
20
|
-
css?: string;
|
|
21
22
|
/**
|
|
22
23
|
* 是否在主题市场
|
|
23
24
|
*/
|
|
24
25
|
isInMarket?: boolean;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
+
* 对应市场母主题ID
|
|
27
28
|
*/
|
|
28
|
-
|
|
29
|
+
parentThemeId?: string | null;
|
|
29
30
|
createdAt?: Date;
|
|
30
31
|
updatedAt?: Date;
|
|
32
|
+
status?: string;
|
|
33
|
+
seqValue?: number;
|
|
31
34
|
cover?: Media;
|
|
32
35
|
components?: FrontComponent[];
|
|
33
36
|
componentCategories?: ComponentCategory[];
|
|
34
37
|
pages?: Page[];
|
|
35
38
|
lang?: Lang;
|
|
36
39
|
config?: ThemeConfig;
|
|
40
|
+
templates?: SectionTemplate[];
|
|
41
|
+
templateCategories?: TemplateCategory[];
|
|
42
|
+
styleConfig?: StyleConfig;
|
|
37
43
|
marketVersion?: ThemeVersion;
|
|
38
44
|
website?: Website;
|
|
45
|
+
category?: ThemeCategory;
|
|
39
46
|
componentsAggregate?: Aggregate;
|
|
40
47
|
componentCategoriesAggregate?: Aggregate;
|
|
41
48
|
pagesAggregate?: Aggregate;
|
|
49
|
+
templatesAggregate?: Aggregate;
|
|
50
|
+
templateCategoriesAggregate?: Aggregate;
|
|
42
51
|
}
|
|
@@ -2,35 +2,43 @@ import { IdComparisonExp } from './IdComparisonExp';
|
|
|
2
2
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
3
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
4
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
6
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
6
7
|
import { FrontComponentBoolExp } from './FrontComponentBoolExp';
|
|
7
8
|
import { ComponentCategoryBoolExp } from './ComponentCategoryBoolExp';
|
|
8
9
|
import { PageBoolExp } from './PageBoolExp';
|
|
9
10
|
import { LangBoolExp } from './LangBoolExp';
|
|
10
11
|
import { ThemeConfigBoolExp } from './ThemeConfigBoolExp';
|
|
12
|
+
import { SectionTemplateBoolExp } from './SectionTemplateBoolExp';
|
|
13
|
+
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
14
|
+
import { StyleConfigBoolExp } from './StyleConfigBoolExp';
|
|
11
15
|
import { ThemeVersionBoolExp } from './ThemeVersionBoolExp';
|
|
12
16
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
17
|
+
import { ThemeCategoryBoolExp } from './ThemeCategoryBoolExp';
|
|
13
18
|
export interface ThemeBoolExp {
|
|
14
19
|
_and?: ThemeBoolExp[];
|
|
15
20
|
_or?: ThemeBoolExp[];
|
|
16
21
|
_not?: ThemeBoolExp;
|
|
17
22
|
id?: IdComparisonExp;
|
|
18
23
|
name?: StringComparisonExp;
|
|
19
|
-
styles?: unknown;
|
|
20
24
|
settings?: unknown;
|
|
21
25
|
description?: StringComparisonExp;
|
|
22
|
-
tailwindConfig?: StringComparisonExp;
|
|
23
|
-
css?: StringComparisonExp;
|
|
24
26
|
isInMarket?: BooleanComparisonExp;
|
|
25
|
-
|
|
27
|
+
parentThemeId?: IdComparisonExp;
|
|
26
28
|
createdAt?: DateTimeComparisonExp;
|
|
27
29
|
updatedAt?: DateTimeComparisonExp;
|
|
30
|
+
status?: StringComparisonExp;
|
|
31
|
+
seqValue?: NumberComparisonExp;
|
|
28
32
|
cover?: MediaBoolExp;
|
|
29
33
|
components?: FrontComponentBoolExp;
|
|
30
34
|
componentCategories?: ComponentCategoryBoolExp;
|
|
31
35
|
pages?: PageBoolExp;
|
|
32
36
|
lang?: LangBoolExp;
|
|
33
37
|
config?: ThemeConfigBoolExp;
|
|
38
|
+
templates?: SectionTemplateBoolExp;
|
|
39
|
+
templateCategories?: TemplateCategoryBoolExp;
|
|
40
|
+
styleConfig?: StyleConfigBoolExp;
|
|
34
41
|
marketVersion?: ThemeVersionBoolExp;
|
|
35
42
|
website?: WebsiteBoolExp;
|
|
43
|
+
category?: ThemeCategoryBoolExp;
|
|
36
44
|
}
|