@rxdrag/rxcms-models 0.3.34 → 0.3.36
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/FrontComponentQueryOptions.d.ts +1 -0
- package/dist/classes/LangQueryOptions.d.ts +5 -0
- package/dist/classes/MediaQueryOptions.d.ts +3 -0
- package/dist/classes/PageQueryOptions.d.ts +1 -1
- package/dist/classes/PostCategoryQueryOptions.d.ts +3 -0
- package/dist/classes/TemplateQueryOptions.d.ts +0 -4
- package/dist/classes/WebsiteFrameQueryOptions.d.ts +17 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +7 -3
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/websiteFrameEntry.d.ts +2 -0
- package/dist/fields/FrontComponentFields.d.ts +1 -0
- package/dist/fields/LangFields.d.ts +3 -1
- package/dist/fields/MediaFields.d.ts +2 -1
- package/dist/fields/PageFields.d.ts +1 -1
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/TemplateFields.d.ts +0 -4
- package/dist/fields/WebsiteFields.d.ts +3 -2
- package/dist/fields/WebsiteFrameFields.d.ts +11 -0
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +324 -193
- 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 +1 -1
- package/dist/interfaces/ComponentCategoryInput.d.ts +1 -1
- package/dist/interfaces/Content.d.ts +3 -0
- 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/FrontComponent.d.ts +4 -2
- package/dist/interfaces/FrontComponentBoolExp.d.ts +1 -0
- package/dist/interfaces/FrontComponentDistinctExp.d.ts +1 -0
- package/dist/interfaces/FrontComponentInput.d.ts +4 -2
- package/dist/interfaces/FrontComponentOrderBy.d.ts +1 -0
- package/dist/interfaces/IdComparisonExp.d.ts +1 -1
- package/dist/interfaces/Lang.d.ts +4 -1
- package/dist/interfaces/LangBoolExp.d.ts +2 -0
- package/dist/interfaces/LangInput.d.ts +3 -1
- package/dist/interfaces/Mail.d.ts +1 -1
- package/dist/interfaces/MailInput.d.ts +1 -1
- package/dist/interfaces/Media.d.ts +3 -1
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaFolder.d.ts +1 -1
- package/dist/interfaces/MediaFolderInput.d.ts +1 -1
- package/dist/interfaces/MediaInput.d.ts +3 -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/PageType.d.ts +42 -0
- package/dist/interfaces/Person.d.ts +1 -1
- package/dist/interfaces/Post.d.ts +1 -1
- package/dist/interfaces/PostCategory.d.ts +3 -1
- package/dist/interfaces/PostCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/PostCategoryInput.d.ts +3 -1
- package/dist/interfaces/PostInput.d.ts +1 -1
- package/dist/interfaces/Product.d.ts +4 -3
- package/dist/interfaces/ProductCategory.d.ts +1 -1
- package/dist/interfaces/ProductCategoryInput.d.ts +1 -1
- package/dist/interfaces/ProductInput.d.ts +4 -3
- package/dist/interfaces/ProductRelatedPivot.d.ts +1 -1
- package/dist/interfaces/ProductRelatedPivotInput.d.ts +1 -1
- 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 +1 -1
- package/dist/interfaces/ThemeInput.d.ts +1 -1
- package/dist/interfaces/User.d.ts +1 -1
- package/dist/interfaces/UserInput.d.ts +1 -1
- package/dist/interfaces/Website.d.ts +7 -5
- package/dist/interfaces/WebsiteBoolExp.d.ts +3 -2
- package/dist/interfaces/WebsiteContent.d.ts +3 -2
- package/dist/interfaces/WebsiteFrame.d.ts +13 -0
- package/dist/interfaces/WebsiteFrameBoolExp.d.ts +14 -0
- package/dist/interfaces/WebsiteFrameDistinctExp.d.ts +9 -0
- package/dist/interfaces/WebsiteFrameInput.d.ts +15 -0
- package/dist/interfaces/WebsiteFrameOrderBy.d.ts +7 -0
- package/dist/interfaces/WebsiteInput.d.ts +6 -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 +1 -1
- package/dist/interfaces/index.d.ts +7 -1
- package/package.json +3 -3
- package/dist/interfaces/TemplateType.d.ts +0 -34
|
@@ -2,11 +2,11 @@ import { AbilityType } from './AbilityType';
|
|
|
2
2
|
export declare const AbilityEntityName = "Ability";
|
|
3
3
|
export declare const AbilityEntityLabel = "";
|
|
4
4
|
export interface Ability {
|
|
5
|
-
id?: string;
|
|
5
|
+
id?: string | null;
|
|
6
6
|
entityUuid?: string;
|
|
7
7
|
columnUuid?: string;
|
|
8
8
|
can?: boolean;
|
|
9
9
|
expression?: string;
|
|
10
10
|
abilityType?: AbilityType;
|
|
11
|
-
roleId?: string;
|
|
11
|
+
roleId?: string | null;
|
|
12
12
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Ability } from './Ability';
|
|
2
2
|
import { AbilityType } from './AbilityType';
|
|
3
3
|
export interface AbilityInput {
|
|
4
|
-
id?: string;
|
|
4
|
+
id?: string | null;
|
|
5
5
|
entityUuid?: string;
|
|
6
6
|
columnUuid?: string;
|
|
7
7
|
can?: boolean;
|
|
8
8
|
expression?: string;
|
|
9
9
|
abilityType?: AbilityType;
|
|
10
|
-
roleId?: string;
|
|
10
|
+
roleId?: string | null;
|
|
11
11
|
}
|
|
12
12
|
export declare const abilityToInputCascade: (entity: Ability) => AbilityInput;
|
|
13
13
|
export declare const abilityToInput: (entity: Ability) => AbilityInput;
|
|
@@ -3,7 +3,7 @@ import { Product } from './Product';
|
|
|
3
3
|
export declare const AttachmentOnProductEntityName = "AttachmentOnProduct";
|
|
4
4
|
export declare const AttachmentOnProductEntityLabel = "";
|
|
5
5
|
export interface AttachmentOnProduct {
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | null;
|
|
7
7
|
seqValue?: number;
|
|
8
8
|
attachment?: Media;
|
|
9
9
|
product?: Product;
|
|
@@ -3,7 +3,7 @@ import { MediaInput } from './MediaInput';
|
|
|
3
3
|
import { ProductInput } from './ProductInput';
|
|
4
4
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
5
5
|
export interface AttachmentOnProductInput {
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | null;
|
|
7
7
|
seqValue?: number;
|
|
8
8
|
attachment?: SetHasOne<MediaInput>;
|
|
9
9
|
product?: SetHasOne<ProductInput>;
|
|
@@ -4,7 +4,7 @@ import { Aggregate } from './Aggregate';
|
|
|
4
4
|
export declare const ComponentCategoryEntityName = "ComponentCategory";
|
|
5
5
|
export declare const ComponentCategoryEntityLabel = "";
|
|
6
6
|
export interface ComponentCategory {
|
|
7
|
-
id?: string;
|
|
7
|
+
id?: string | null;
|
|
8
8
|
name?: string;
|
|
9
9
|
seqValue?: number;
|
|
10
10
|
updatedAt?: Date;
|
|
@@ -4,7 +4,7 @@ import { ThemeInput } from './ThemeInput';
|
|
|
4
4
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
5
5
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
6
|
export interface ComponentCategoryInput {
|
|
7
|
-
id?: string;
|
|
7
|
+
id?: string | null;
|
|
8
8
|
name?: string;
|
|
9
9
|
seqValue?: number;
|
|
10
10
|
updatedAt?: Date;
|
|
@@ -7,7 +7,7 @@ import { Person } from './Person';
|
|
|
7
7
|
export declare const CustomerEntityName = "Customer";
|
|
8
8
|
export declare const CustomerEntityLabel = "";
|
|
9
9
|
export interface Customer extends WebsitePart, Person {
|
|
10
|
-
id?: string;
|
|
10
|
+
id?: string | null;
|
|
11
11
|
company?: string;
|
|
12
12
|
enquires?: Enquiry[];
|
|
13
13
|
lang?: Lang;
|
|
@@ -7,7 +7,7 @@ import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
|
7
7
|
import { WebsitePart } from './WebsitePart';
|
|
8
8
|
import { Person } from './Person';
|
|
9
9
|
export interface CustomerInput extends WebsitePart, Person {
|
|
10
|
-
id?: string;
|
|
10
|
+
id?: string | null;
|
|
11
11
|
company?: string;
|
|
12
12
|
enquires?: SetHasMany<EnquiryInput>;
|
|
13
13
|
lang?: SetHasOne<LangInput>;
|
|
@@ -5,7 +5,7 @@ import { WebsitePart } from './WebsitePart';
|
|
|
5
5
|
export declare const EnquiryEntityName = "Enquiry";
|
|
6
6
|
export declare const EnquiryEntityLabel = "";
|
|
7
7
|
export interface Enquiry extends WebsitePart {
|
|
8
|
-
id?: string;
|
|
8
|
+
id?: string | null;
|
|
9
9
|
title?: string;
|
|
10
10
|
company?: string;
|
|
11
11
|
name?: string;
|
|
@@ -5,7 +5,7 @@ import { WebsiteInput } from './WebsiteInput';
|
|
|
5
5
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
6
|
import { WebsitePart } from './WebsitePart';
|
|
7
7
|
export interface EnquiryInput extends WebsitePart {
|
|
8
|
-
id?: string;
|
|
8
|
+
id?: string | null;
|
|
9
9
|
title?: string;
|
|
10
10
|
company?: string;
|
|
11
11
|
name?: string;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
+
import { Content } from './Content';
|
|
1
2
|
import { PropsFields } from './PropsFields';
|
|
2
3
|
import { ComponentCategory } from './ComponentCategory';
|
|
3
4
|
import { Theme } from './Theme';
|
|
4
5
|
export declare const FrontComponentEntityName = "FrontComponent";
|
|
5
6
|
export declare const FrontComponentEntityLabel = "";
|
|
6
7
|
export interface FrontComponent {
|
|
7
|
-
id?: string;
|
|
8
|
+
id?: string | null;
|
|
8
9
|
name?: string;
|
|
9
10
|
title?: string;
|
|
10
11
|
seqValue?: number;
|
|
11
|
-
content?:
|
|
12
|
+
content?: Content;
|
|
12
13
|
props?: PropsFields;
|
|
13
14
|
testConfig?: any;
|
|
14
15
|
updatedAt?: Date;
|
|
15
16
|
createdAt?: Date;
|
|
17
|
+
slots?: any;
|
|
16
18
|
droppable?: boolean;
|
|
17
19
|
category?: ComponentCategory;
|
|
18
20
|
theme?: Theme;
|
|
@@ -18,6 +18,7 @@ export interface FrontComponentBoolExp {
|
|
|
18
18
|
testConfig?: unknown;
|
|
19
19
|
updatedAt?: DateTimeComparisonExp;
|
|
20
20
|
createdAt?: DateTimeComparisonExp;
|
|
21
|
+
slots?: unknown;
|
|
21
22
|
droppable?: BooleanComparisonExp;
|
|
22
23
|
category?: ComponentCategoryBoolExp;
|
|
23
24
|
theme?: ThemeBoolExp;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { FrontComponent } from './FrontComponent';
|
|
2
|
+
import { Content } from './Content';
|
|
2
3
|
import { PropsFields } from './PropsFields';
|
|
3
4
|
import { ComponentCategoryInput } from './ComponentCategoryInput';
|
|
4
5
|
import { ThemeInput } from './ThemeInput';
|
|
5
6
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
7
|
export interface FrontComponentInput {
|
|
7
|
-
id?: string;
|
|
8
|
+
id?: string | null;
|
|
8
9
|
name?: string;
|
|
9
10
|
title?: string;
|
|
10
11
|
seqValue?: number;
|
|
11
|
-
content?:
|
|
12
|
+
content?: Content;
|
|
12
13
|
props?: PropsFields;
|
|
13
14
|
testConfig?: any;
|
|
14
15
|
updatedAt?: Date;
|
|
15
16
|
createdAt?: Date;
|
|
17
|
+
slots?: any;
|
|
16
18
|
droppable?: boolean;
|
|
17
19
|
category?: SetHasOne<ComponentCategoryInput>;
|
|
18
20
|
theme?: SetHasOne<ThemeInput>;
|
|
@@ -13,6 +13,7 @@ import { Customer } from './Customer';
|
|
|
13
13
|
import { ProductCategory } from './ProductCategory';
|
|
14
14
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
15
15
|
import { Media } from './Media';
|
|
16
|
+
import { WebsiteFrame } from './WebsiteFrame';
|
|
16
17
|
import { Aggregate } from './Aggregate';
|
|
17
18
|
export declare const LangEntityName = "Lang";
|
|
18
19
|
export declare const LangEntityLabel = "\u8BED\u8A00";
|
|
@@ -21,7 +22,7 @@ export declare const LangEntityLabel = "\u8BED\u8A00";
|
|
|
21
22
|
*
|
|
22
23
|
*/
|
|
23
24
|
export interface Lang {
|
|
24
|
-
id?: string;
|
|
25
|
+
id?: string | null;
|
|
25
26
|
/**
|
|
26
27
|
* 缩写
|
|
27
28
|
*/
|
|
@@ -57,6 +58,7 @@ export interface Lang {
|
|
|
57
58
|
webPartsOfProductCategory?: ProductCategory[];
|
|
58
59
|
webPartsOfSpamFilterRule?: SpamFilterRule[];
|
|
59
60
|
webPartsOfMedia?: Media[];
|
|
61
|
+
webPartsOfWebsiteFrame?: WebsiteFrame[];
|
|
60
62
|
webPartsOfWebsiteSettingsAggregate?: Aggregate;
|
|
61
63
|
webPartsOfThemeAggregate?: Aggregate;
|
|
62
64
|
webPartsOfTemplateAggregate?: Aggregate;
|
|
@@ -72,4 +74,5 @@ export interface Lang {
|
|
|
72
74
|
webPartsOfProductCategoryAggregate?: Aggregate;
|
|
73
75
|
webPartsOfSpamFilterRuleAggregate?: Aggregate;
|
|
74
76
|
webPartsOfMediaAggregate?: Aggregate;
|
|
77
|
+
webPartsOfWebsiteFrameAggregate?: Aggregate;
|
|
75
78
|
}
|
|
@@ -15,6 +15,7 @@ import { CustomerBoolExp } from './CustomerBoolExp';
|
|
|
15
15
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
16
16
|
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
17
17
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
18
|
+
import { WebsiteFrameBoolExp } from './WebsiteFrameBoolExp';
|
|
18
19
|
/**
|
|
19
20
|
* 语言
|
|
20
21
|
*
|
|
@@ -44,4 +45,5 @@ export interface LangBoolExp {
|
|
|
44
45
|
webPartsOfProductCategory?: ProductCategoryBoolExp;
|
|
45
46
|
webPartsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
46
47
|
webPartsOfMedia?: MediaBoolExp;
|
|
48
|
+
webPartsOfWebsiteFrame?: WebsiteFrameBoolExp;
|
|
47
49
|
}
|
|
@@ -14,13 +14,14 @@ import { CustomerInput } from './CustomerInput';
|
|
|
14
14
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
15
15
|
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
16
16
|
import { MediaInput } from './MediaInput';
|
|
17
|
+
import { WebsiteFrameInput } from './WebsiteFrameInput';
|
|
17
18
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
18
19
|
/**
|
|
19
20
|
* 语言
|
|
20
21
|
*
|
|
21
22
|
*/
|
|
22
23
|
export interface LangInput {
|
|
23
|
-
id?: string;
|
|
24
|
+
id?: string | null;
|
|
24
25
|
/**
|
|
25
26
|
* 缩写
|
|
26
27
|
*/
|
|
@@ -56,6 +57,7 @@ export interface LangInput {
|
|
|
56
57
|
webPartsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
57
58
|
webPartsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
58
59
|
webPartsOfMedia?: SetHasMany<MediaInput>;
|
|
60
|
+
webPartsOfWebsiteFrame?: SetHasMany<WebsiteFrameInput>;
|
|
59
61
|
}
|
|
60
62
|
export declare const langToInputCascade: (entity: Lang) => LangInput;
|
|
61
63
|
export declare const langToInput: (entity: Lang) => LangInput;
|
|
@@ -12,12 +12,13 @@ import { AttachmentOnProduct } from './AttachmentOnProduct';
|
|
|
12
12
|
import { Website } from './Website';
|
|
13
13
|
import { WebsiteSettings } from './WebsiteSettings';
|
|
14
14
|
import { Theme } from './Theme';
|
|
15
|
+
import { PostCategory } from './PostCategory';
|
|
15
16
|
import { Aggregate } from './Aggregate';
|
|
16
17
|
import { WebsitePart } from './WebsitePart';
|
|
17
18
|
export declare const MediaEntityName = "Media";
|
|
18
19
|
export declare const MediaEntityLabel = "";
|
|
19
20
|
export interface Media extends WebsitePart {
|
|
20
|
-
id?: string;
|
|
21
|
+
id?: string | null;
|
|
21
22
|
name?: string;
|
|
22
23
|
size?: number;
|
|
23
24
|
mimeType?: string;
|
|
@@ -40,6 +41,7 @@ export interface Media extends WebsitePart {
|
|
|
40
41
|
website?: Website;
|
|
41
42
|
usedByContact?: WebsiteSettings[];
|
|
42
43
|
coverOfTheme?: Theme[];
|
|
44
|
+
postCategory?: PostCategory;
|
|
43
45
|
coverOfAggregate?: Aggregate;
|
|
44
46
|
ogMetaOfPageAggregate?: Aggregate;
|
|
45
47
|
ogMetaOfProductAggregate?: Aggregate;
|
|
@@ -17,6 +17,7 @@ import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
|
|
|
17
17
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
18
18
|
import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
|
|
19
19
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
20
|
+
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
20
21
|
export interface MediaBoolExp extends WebsitePartBoolExp {
|
|
21
22
|
_and?: MediaBoolExp[];
|
|
22
23
|
_or?: MediaBoolExp[];
|
|
@@ -43,4 +44,5 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
|
|
|
43
44
|
website?: WebsiteBoolExp;
|
|
44
45
|
usedByContact?: WebsiteSettingsBoolExp;
|
|
45
46
|
coverOfTheme?: ThemeBoolExp;
|
|
47
|
+
postCategory?: PostCategoryBoolExp;
|
|
46
48
|
}
|
|
@@ -13,11 +13,12 @@ import { AttachmentOnProductInput } from './AttachmentOnProductInput';
|
|
|
13
13
|
import { WebsiteInput } from './WebsiteInput';
|
|
14
14
|
import { WebsiteSettingsInput } from './WebsiteSettingsInput';
|
|
15
15
|
import { ThemeInput } from './ThemeInput';
|
|
16
|
+
import { PostCategoryInput } from './PostCategoryInput';
|
|
16
17
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
17
18
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
18
19
|
import { WebsitePart } from './WebsitePart';
|
|
19
20
|
export interface MediaInput extends WebsitePart {
|
|
20
|
-
id?: string;
|
|
21
|
+
id?: string | null;
|
|
21
22
|
name?: string;
|
|
22
23
|
size?: number;
|
|
23
24
|
mimeType?: string;
|
|
@@ -40,6 +41,7 @@ export interface MediaInput extends WebsitePart {
|
|
|
40
41
|
website?: SetHasOne<WebsiteInput>;
|
|
41
42
|
usedByContact?: SetHasMany<WebsiteSettingsInput>;
|
|
42
43
|
coverOfTheme?: SetHasMany<ThemeInput>;
|
|
44
|
+
postCategory?: SetHasOne<PostCategoryInput>;
|
|
43
45
|
}
|
|
44
46
|
export declare const mediaToInputCascade: (entity: Media) => MediaInput;
|
|
45
47
|
export declare const mediaToInput: (entity: Media) => MediaInput;
|
|
@@ -3,7 +3,7 @@ import { Product } from './Product';
|
|
|
3
3
|
export declare const MediaOnProductEntityName = "MediaOnProduct";
|
|
4
4
|
export declare const MediaOnProductEntityLabel = "";
|
|
5
5
|
export interface MediaOnProduct {
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | null;
|
|
7
7
|
altText?: string;
|
|
8
8
|
seqValue?: number;
|
|
9
9
|
media?: Media;
|
|
@@ -3,7 +3,7 @@ import { MediaInput } from './MediaInput';
|
|
|
3
3
|
import { ProductInput } from './ProductInput';
|
|
4
4
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
5
5
|
export interface MediaOnProductInput {
|
|
6
|
-
id?: string;
|
|
6
|
+
id?: string | null;
|
|
7
7
|
altText?: string;
|
|
8
8
|
seqValue?: number;
|
|
9
9
|
media?: SetHasOne<MediaInput>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PageType } from './PageType';
|
|
1
2
|
import { Media } from './Media';
|
|
2
3
|
import { Lang } from './Lang';
|
|
3
4
|
import { Website } from './Website';
|
|
@@ -5,14 +6,14 @@ import { WebsiteContent } from './WebsiteContent';
|
|
|
5
6
|
export declare const PageEntityName = "Page";
|
|
6
7
|
export declare const PageEntityLabel = "";
|
|
7
8
|
export interface Page extends WebsiteContent {
|
|
8
|
-
id?: string;
|
|
9
|
+
id?: string | null;
|
|
9
10
|
title?: string;
|
|
10
11
|
/**
|
|
11
12
|
* 备注
|
|
12
13
|
*/
|
|
13
14
|
remark?: string;
|
|
15
|
+
pageType?: PageType;
|
|
14
16
|
ogImage?: Media;
|
|
15
17
|
lang?: Lang;
|
|
16
|
-
homeOf?: Website;
|
|
17
18
|
website?: Website;
|
|
18
19
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { PageType } from './PageType';
|
|
1
2
|
import { WebsiteContentBoolExp } from './WebsiteContentBoolExp';
|
|
2
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
4
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
|
+
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
4
6
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
5
7
|
import { LangBoolExp } from './LangBoolExp';
|
|
6
8
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
@@ -11,8 +13,8 @@ export interface PageBoolExp extends WebsiteContentBoolExp {
|
|
|
11
13
|
id?: IdComparisonExp;
|
|
12
14
|
title?: StringComparisonExp;
|
|
13
15
|
remark?: StringComparisonExp;
|
|
16
|
+
pageType?: EnumComparisonExp<PageType>;
|
|
14
17
|
ogImage?: MediaBoolExp;
|
|
15
18
|
lang?: LangBoolExp;
|
|
16
|
-
homeOf?: WebsiteBoolExp;
|
|
17
19
|
website?: WebsiteBoolExp;
|
|
18
20
|
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { Page } from './Page';
|
|
2
|
+
import { PageType } from './PageType';
|
|
2
3
|
import { MediaInput } from './MediaInput';
|
|
3
4
|
import { LangInput } from './LangInput';
|
|
4
5
|
import { WebsiteInput } from './WebsiteInput';
|
|
5
6
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
7
|
import { WebsiteContent } from './WebsiteContent';
|
|
7
8
|
export interface PageInput extends WebsiteContent {
|
|
8
|
-
id?: string;
|
|
9
|
+
id?: string | null;
|
|
9
10
|
title?: string;
|
|
10
11
|
/**
|
|
11
12
|
* 备注
|
|
12
13
|
*/
|
|
13
14
|
remark?: string;
|
|
15
|
+
pageType?: PageType;
|
|
14
16
|
ogImage?: SetHasOne<MediaInput>;
|
|
15
17
|
lang?: SetHasOne<LangInput>;
|
|
16
|
-
homeOf?: SetHasOne<WebsiteInput>;
|
|
17
18
|
website?: SetHasOne<WebsiteInput>;
|
|
18
19
|
}
|
|
19
20
|
export declare const pageToInputCascade: (entity: Page) => PageInput;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare enum PageType {
|
|
2
|
+
/**
|
|
3
|
+
* label: 文章分类
|
|
4
|
+
*/
|
|
5
|
+
PostCategory = "PostCategory",
|
|
6
|
+
/**
|
|
7
|
+
* label: 文章
|
|
8
|
+
*/
|
|
9
|
+
Post = "Post",
|
|
10
|
+
/**
|
|
11
|
+
* label: 产品分类
|
|
12
|
+
*/
|
|
13
|
+
ProductCategory = "ProductCategory",
|
|
14
|
+
/**
|
|
15
|
+
* label: 产品
|
|
16
|
+
*/
|
|
17
|
+
Product = "Product",
|
|
18
|
+
/**
|
|
19
|
+
* label: 搜索列表
|
|
20
|
+
*/
|
|
21
|
+
SearchList = "SearchList",
|
|
22
|
+
/**
|
|
23
|
+
* label: 个人简介
|
|
24
|
+
*/
|
|
25
|
+
Profile = "Profile",
|
|
26
|
+
/**
|
|
27
|
+
* label: 首页
|
|
28
|
+
*/
|
|
29
|
+
Home = "Home",
|
|
30
|
+
/**
|
|
31
|
+
* label: 自定义页
|
|
32
|
+
*/
|
|
33
|
+
Customized = "Customized",
|
|
34
|
+
/**
|
|
35
|
+
* label: undefined
|
|
36
|
+
*/
|
|
37
|
+
Page404 = "Page404",
|
|
38
|
+
/**
|
|
39
|
+
* label: undefined
|
|
40
|
+
*/
|
|
41
|
+
PageError = "PageError"
|
|
42
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Post } from './Post';
|
|
2
2
|
import { Lang } from './Lang';
|
|
3
|
+
import { Media } from './Media';
|
|
3
4
|
import { Website } from './Website';
|
|
4
5
|
import { Aggregate } from './Aggregate';
|
|
5
6
|
import { WebsitePart } from './WebsitePart';
|
|
@@ -11,12 +12,13 @@ export declare const PostCategoryEntityLabel = "\u6587\u7AE0\u5206\u7C7B";
|
|
|
11
12
|
*
|
|
12
13
|
*/
|
|
13
14
|
export interface PostCategory extends WebsitePart, Slugable {
|
|
14
|
-
id?: string;
|
|
15
|
+
id?: string | null;
|
|
15
16
|
name?: string;
|
|
16
17
|
seqValue?: number;
|
|
17
18
|
children?: PostCategory[];
|
|
18
19
|
posts?: Post[];
|
|
19
20
|
lang?: Lang;
|
|
21
|
+
media?: Media;
|
|
20
22
|
parent?: PostCategory;
|
|
21
23
|
website?: Website;
|
|
22
24
|
childrenAggregate?: Aggregate;
|
|
@@ -5,6 +5,7 @@ import { StringComparisonExp } from './StringComparisonExp';
|
|
|
5
5
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
6
6
|
import { PostBoolExp } from './PostBoolExp';
|
|
7
7
|
import { LangBoolExp } from './LangBoolExp';
|
|
8
|
+
import { MediaBoolExp } from './MediaBoolExp';
|
|
8
9
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
9
10
|
/**
|
|
10
11
|
* 文章分类
|
|
@@ -20,6 +21,7 @@ export interface PostCategoryBoolExp extends WebsitePartBoolExp, SlugableBoolExp
|
|
|
20
21
|
children?: PostCategoryBoolExp;
|
|
21
22
|
posts?: PostBoolExp;
|
|
22
23
|
lang?: LangBoolExp;
|
|
24
|
+
media?: MediaBoolExp;
|
|
23
25
|
parent?: PostCategoryBoolExp;
|
|
24
26
|
website?: WebsiteBoolExp;
|
|
25
27
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PostCategory } from './PostCategory';
|
|
2
2
|
import { PostInput } from './PostInput';
|
|
3
3
|
import { LangInput } from './LangInput';
|
|
4
|
+
import { MediaInput } from './MediaInput';
|
|
4
5
|
import { WebsiteInput } from './WebsiteInput';
|
|
5
6
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
6
7
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
@@ -11,12 +12,13 @@ import { Slugable } from './Slugable';
|
|
|
11
12
|
*
|
|
12
13
|
*/
|
|
13
14
|
export interface PostCategoryInput extends WebsitePart, Slugable {
|
|
14
|
-
id?: string;
|
|
15
|
+
id?: string | null;
|
|
15
16
|
name?: string;
|
|
16
17
|
seqValue?: number;
|
|
17
18
|
children?: SetHasMany<PostCategoryInput>;
|
|
18
19
|
posts?: SetHasMany<PostInput>;
|
|
19
20
|
lang?: SetHasOne<LangInput>;
|
|
21
|
+
media?: SetHasOne<MediaInput>;
|
|
20
22
|
parent?: SetHasOne<PostCategoryInput>;
|
|
21
23
|
website?: SetHasOne<WebsiteInput>;
|
|
22
24
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Content } from './Content';
|
|
1
2
|
import { ProductCategory } from './ProductCategory';
|
|
2
3
|
import { Tag } from './Tag';
|
|
3
4
|
import { Media } from './Media';
|
|
@@ -12,7 +13,7 @@ import { Publishable } from './Publishable';
|
|
|
12
13
|
export declare const ProductEntityName = "Product";
|
|
13
14
|
export declare const ProductEntityLabel = "";
|
|
14
15
|
export interface Product extends Publishable {
|
|
15
|
-
id?: string;
|
|
16
|
+
id?: string | null;
|
|
16
17
|
published?: boolean;
|
|
17
18
|
featured?: boolean;
|
|
18
19
|
showInNavMenu?: boolean;
|
|
@@ -21,8 +22,8 @@ export interface Product extends Publishable {
|
|
|
21
22
|
* 特色
|
|
22
23
|
*/
|
|
23
24
|
features?: string;
|
|
24
|
-
content2?:
|
|
25
|
-
content3?:
|
|
25
|
+
content2?: Content;
|
|
26
|
+
content3?: Content;
|
|
26
27
|
shortTitle?: string;
|
|
27
28
|
/**
|
|
28
29
|
* 第三方视频url
|
|
@@ -8,7 +8,7 @@ import { Slugable } from './Slugable';
|
|
|
8
8
|
export declare const ProductCategoryEntityName = "ProductCategory";
|
|
9
9
|
export declare const ProductCategoryEntityLabel = "";
|
|
10
10
|
export interface ProductCategory extends WebsitePart, Slugable {
|
|
11
|
-
id?: string;
|
|
11
|
+
id?: string | null;
|
|
12
12
|
name?: string;
|
|
13
13
|
seqValue?: number;
|
|
14
14
|
children?: ProductCategory[];
|