@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
|
@@ -8,7 +8,7 @@ import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
|
8
8
|
import { WebsitePart } from './WebsitePart';
|
|
9
9
|
import { Slugable } from './Slugable';
|
|
10
10
|
export interface ProductCategoryInput extends WebsitePart, Slugable {
|
|
11
|
-
id?: string;
|
|
11
|
+
id?: string | null;
|
|
12
12
|
name?: string;
|
|
13
13
|
seqValue?: number;
|
|
14
14
|
children?: SetHasMany<ProductCategoryInput>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Product } from './Product';
|
|
2
|
+
import { Content } from './Content';
|
|
2
3
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
3
4
|
import { TagInput } from './TagInput';
|
|
4
5
|
import { MediaInput } from './MediaInput';
|
|
@@ -12,7 +13,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
|
12
13
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
13
14
|
import { Publishable } from './Publishable';
|
|
14
15
|
export interface ProductInput 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 ProductInput 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
|
|
@@ -2,7 +2,7 @@ import { Product } from './Product';
|
|
|
2
2
|
export declare const ProductRelatedPivotEntityName = "ProductRelatedPivot";
|
|
3
3
|
export declare const ProductRelatedPivotEntityLabel = "";
|
|
4
4
|
export interface ProductRelatedPivot {
|
|
5
|
-
id?: string;
|
|
5
|
+
id?: string | null;
|
|
6
6
|
seqValue?: number;
|
|
7
7
|
target?: Product;
|
|
8
8
|
source?: Product;
|
|
@@ -2,7 +2,7 @@ import { ProductRelatedPivot } from './ProductRelatedPivot';
|
|
|
2
2
|
import { ProductInput } from './ProductInput';
|
|
3
3
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
4
4
|
export interface ProductRelatedPivotInput {
|
|
5
|
-
id?: string;
|
|
5
|
+
id?: string | null;
|
|
6
6
|
seqValue?: number;
|
|
7
7
|
target?: SetHasOne<ProductInput>;
|
|
8
8
|
source?: SetHasOne<ProductInput>;
|
package/dist/interfaces/Tag.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TemplateType } from './TemplateType';
|
|
2
1
|
import { Lang } from './Lang';
|
|
3
2
|
import { TemplateCategory } from './TemplateCategory';
|
|
4
3
|
import { Theme } from './Theme';
|
|
@@ -7,14 +6,10 @@ import { WebsitePart } from './WebsitePart';
|
|
|
7
6
|
export declare const TemplateEntityName = "Template";
|
|
8
7
|
export declare const TemplateEntityLabel = "";
|
|
9
8
|
export interface Template extends WebsitePart {
|
|
10
|
-
id?: string;
|
|
9
|
+
id?: string | null;
|
|
11
10
|
name?: string;
|
|
12
11
|
seqValue?: number;
|
|
13
12
|
content?: any;
|
|
14
|
-
/**
|
|
15
|
-
* 模板类型
|
|
16
|
-
*/
|
|
17
|
-
templateType?: TemplateType;
|
|
18
13
|
lang?: Lang;
|
|
19
14
|
category?: TemplateCategory;
|
|
20
15
|
theme?: Theme;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { TemplateType } from './TemplateType';
|
|
2
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
3
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
4
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
6
|
-
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
7
5
|
import { LangBoolExp } from './LangBoolExp';
|
|
8
6
|
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
9
7
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
@@ -16,7 +14,6 @@ export interface TemplateBoolExp extends WebsitePartBoolExp {
|
|
|
16
14
|
name?: StringComparisonExp;
|
|
17
15
|
seqValue?: NumberComparisonExp;
|
|
18
16
|
content?: unknown;
|
|
19
|
-
templateType?: EnumComparisonExp<TemplateType>;
|
|
20
17
|
lang?: LangBoolExp;
|
|
21
18
|
category?: TemplateCategoryBoolExp;
|
|
22
19
|
theme?: ThemeBoolExp;
|
|
@@ -7,7 +7,7 @@ import { WebsitePart } from './WebsitePart';
|
|
|
7
7
|
export declare const TemplateCategoryEntityName = "TemplateCategory";
|
|
8
8
|
export declare const TemplateCategoryEntityLabel = "";
|
|
9
9
|
export interface TemplateCategory extends WebsitePart {
|
|
10
|
-
id?: string;
|
|
10
|
+
id?: string | null;
|
|
11
11
|
name?: string;
|
|
12
12
|
seqValue?: number;
|
|
13
13
|
templates?: Template[];
|
|
@@ -7,7 +7,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
|
7
7
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
8
8
|
import { WebsitePart } from './WebsitePart';
|
|
9
9
|
export interface TemplateCategoryInput extends WebsitePart {
|
|
10
|
-
id?: string;
|
|
10
|
+
id?: string | null;
|
|
11
11
|
name?: string;
|
|
12
12
|
seqValue?: number;
|
|
13
13
|
templates?: SetHasMany<TemplateInput>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Template } from './Template';
|
|
2
|
-
import { TemplateType } from './TemplateType';
|
|
3
2
|
import { LangInput } from './LangInput';
|
|
4
3
|
import { TemplateCategoryInput } from './TemplateCategoryInput';
|
|
5
4
|
import { ThemeInput } from './ThemeInput';
|
|
@@ -7,14 +6,10 @@ import { WebsiteInput } from './WebsiteInput';
|
|
|
7
6
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
8
7
|
import { WebsitePart } from './WebsitePart';
|
|
9
8
|
export interface TemplateInput extends WebsitePart {
|
|
10
|
-
id?: string;
|
|
9
|
+
id?: string | null;
|
|
11
10
|
name?: string;
|
|
12
11
|
seqValue?: number;
|
|
13
12
|
content?: any;
|
|
14
|
-
/**
|
|
15
|
-
* 模板类型
|
|
16
|
-
*/
|
|
17
|
-
templateType?: TemplateType;
|
|
18
13
|
lang?: SetHasOne<LangInput>;
|
|
19
14
|
category?: SetHasOne<TemplateCategoryInput>;
|
|
20
15
|
theme?: SetHasOne<ThemeInput>;
|
|
@@ -11,7 +11,7 @@ import { WebsitePart } from './WebsitePart';
|
|
|
11
11
|
export declare const ThemeEntityName = "Theme";
|
|
12
12
|
export declare const ThemeEntityLabel = "";
|
|
13
13
|
export interface Theme extends WebsitePart {
|
|
14
|
-
id?: string;
|
|
14
|
+
id?: string | null;
|
|
15
15
|
name?: string;
|
|
16
16
|
styles?: any;
|
|
17
17
|
settings?: ThemeSettings;
|
|
@@ -11,7 +11,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
|
11
11
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
12
12
|
import { WebsitePart } from './WebsitePart';
|
|
13
13
|
export interface ThemeInput extends WebsitePart {
|
|
14
|
-
id?: string;
|
|
14
|
+
id?: string | null;
|
|
15
15
|
name?: string;
|
|
16
16
|
styles?: any;
|
|
17
17
|
settings?: ThemeSettings;
|
|
@@ -8,7 +8,7 @@ import { WebsiteUser } from './WebsiteUser';
|
|
|
8
8
|
export declare const UserEntityName = "User";
|
|
9
9
|
export declare const UserEntityLabel = "";
|
|
10
10
|
export interface User extends WebsiteUser {
|
|
11
|
-
id?: string;
|
|
11
|
+
id?: string | null;
|
|
12
12
|
loginName?: string;
|
|
13
13
|
name?: string;
|
|
14
14
|
mobileNumber?: string;
|
|
@@ -8,7 +8,7 @@ import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
|
8
8
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
9
9
|
import { WebsiteUser } from './WebsiteUser';
|
|
10
10
|
export interface UserInput extends WebsiteUser {
|
|
11
|
-
id?: string;
|
|
11
|
+
id?: string | null;
|
|
12
12
|
loginName?: string;
|
|
13
13
|
name?: string;
|
|
14
14
|
mobileNumber?: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { WebsiteType } from './WebsiteType';
|
|
2
2
|
import { Theme } from './Theme';
|
|
3
|
-
import { Page } from './Page';
|
|
4
3
|
import { User } from './User';
|
|
5
4
|
import { WebsiteSettings } from './WebsiteSettings';
|
|
6
5
|
import { Template } from './Template';
|
|
7
6
|
import { TemplateCategory } from './TemplateCategory';
|
|
8
7
|
import { MediaFolder } from './MediaFolder';
|
|
9
8
|
import { Enquiry } from './Enquiry';
|
|
9
|
+
import { Page } from './Page';
|
|
10
10
|
import { Product } from './Product';
|
|
11
11
|
import { Post } from './Post';
|
|
12
12
|
import { PostCategory } from './PostCategory';
|
|
@@ -15,6 +15,7 @@ import { Customer } from './Customer';
|
|
|
15
15
|
import { ProductCategory } from './ProductCategory';
|
|
16
16
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
17
17
|
import { Media } from './Media';
|
|
18
|
+
import { WebsiteFrame } from './WebsiteFrame';
|
|
18
19
|
import { Aggregate } from './Aggregate';
|
|
19
20
|
export declare const WebsiteEntityName = "Website";
|
|
20
21
|
export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
|
|
@@ -23,7 +24,7 @@ export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
|
|
|
23
24
|
* 网站实体
|
|
24
25
|
*/
|
|
25
26
|
export interface Website {
|
|
26
|
-
id?: string;
|
|
27
|
+
id?: string | null;
|
|
27
28
|
/**
|
|
28
29
|
* 站点名称
|
|
29
30
|
*/
|
|
@@ -35,7 +36,7 @@ export interface Website {
|
|
|
35
36
|
/**
|
|
36
37
|
* 创建者ID
|
|
37
38
|
*/
|
|
38
|
-
createdBy?: string;
|
|
39
|
+
createdBy?: string | null;
|
|
39
40
|
/**
|
|
40
41
|
* 创建时间
|
|
41
42
|
*/
|
|
@@ -51,11 +52,10 @@ export interface Website {
|
|
|
51
52
|
/**
|
|
52
53
|
* 更新者ID
|
|
53
54
|
*/
|
|
54
|
-
updatedBy?: string;
|
|
55
|
+
updatedBy?: string | null;
|
|
55
56
|
description?: string;
|
|
56
57
|
websiteType?: WebsiteType;
|
|
57
58
|
selectedTheme?: Theme;
|
|
58
|
-
homePage?: Page;
|
|
59
59
|
owner?: User;
|
|
60
60
|
users?: User[];
|
|
61
61
|
partsOfWebsiteSettings?: WebsiteSettings[];
|
|
@@ -73,6 +73,7 @@ export interface Website {
|
|
|
73
73
|
partsOfProductCategory?: ProductCategory[];
|
|
74
74
|
partsOfSpamFilterRule?: SpamFilterRule[];
|
|
75
75
|
partsOfMedia?: Media[];
|
|
76
|
+
partsOfWebsiteFrame?: WebsiteFrame[];
|
|
76
77
|
usersAggregate?: Aggregate;
|
|
77
78
|
partsOfWebsiteSettingsAggregate?: Aggregate;
|
|
78
79
|
partsOfThemeAggregate?: Aggregate;
|
|
@@ -89,4 +90,5 @@ export interface Website {
|
|
|
89
90
|
partsOfProductCategoryAggregate?: Aggregate;
|
|
90
91
|
partsOfSpamFilterRuleAggregate?: Aggregate;
|
|
91
92
|
partsOfMediaAggregate?: Aggregate;
|
|
93
|
+
partsOfWebsiteFrameAggregate?: Aggregate;
|
|
92
94
|
}
|
|
@@ -3,13 +3,13 @@ import { StringComparisonExp } from './StringComparisonExp';
|
|
|
3
3
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
4
4
|
import { WebsiteTypeBoolExp } from './WebsiteTypeBoolExp';
|
|
5
5
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
6
|
-
import { PageBoolExp } from './PageBoolExp';
|
|
7
6
|
import { UserBoolExp } from './UserBoolExp';
|
|
8
7
|
import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
|
|
9
8
|
import { TemplateBoolExp } from './TemplateBoolExp';
|
|
10
9
|
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
11
10
|
import { MediaFolderBoolExp } from './MediaFolderBoolExp';
|
|
12
11
|
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
12
|
+
import { PageBoolExp } from './PageBoolExp';
|
|
13
13
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
14
14
|
import { PostBoolExp } from './PostBoolExp';
|
|
15
15
|
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
@@ -18,6 +18,7 @@ import { CustomerBoolExp } from './CustomerBoolExp';
|
|
|
18
18
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
19
19
|
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
20
20
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
21
|
+
import { WebsiteFrameBoolExp } from './WebsiteFrameBoolExp';
|
|
21
22
|
/**
|
|
22
23
|
* 站点
|
|
23
24
|
* 网站实体
|
|
@@ -37,7 +38,6 @@ export interface WebsiteBoolExp {
|
|
|
37
38
|
description?: StringComparisonExp;
|
|
38
39
|
websiteType?: WebsiteTypeBoolExp;
|
|
39
40
|
selectedTheme?: ThemeBoolExp;
|
|
40
|
-
homePage?: PageBoolExp;
|
|
41
41
|
owner?: UserBoolExp;
|
|
42
42
|
users?: UserBoolExp;
|
|
43
43
|
partsOfWebsiteSettings?: WebsiteSettingsBoolExp;
|
|
@@ -55,4 +55,5 @@ export interface WebsiteBoolExp {
|
|
|
55
55
|
partsOfProductCategory?: ProductCategoryBoolExp;
|
|
56
56
|
partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
57
57
|
partsOfMedia?: MediaBoolExp;
|
|
58
|
+
partsOfWebsiteFrame?: WebsiteFrameBoolExp;
|
|
58
59
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Content } from './Content';
|
|
1
2
|
import { WebsitePart } from './WebsitePart';
|
|
2
3
|
import { SeoMeta } from './SeoMeta';
|
|
3
4
|
import { OgMeta } from './OgMeta';
|
|
@@ -7,8 +8,8 @@ import { Slugable } from './Slugable';
|
|
|
7
8
|
* 页面、产品、文章等被搜索引擎检索的内容
|
|
8
9
|
*/
|
|
9
10
|
export interface WebsiteContent extends WebsitePart, SeoMeta, OgMeta, Slugable {
|
|
10
|
-
id?: string;
|
|
11
|
+
id?: string | null;
|
|
11
12
|
title?: string;
|
|
12
|
-
content?:
|
|
13
|
+
content?: Content;
|
|
13
14
|
extends?: any;
|
|
14
15
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Content } from './Content';
|
|
2
|
+
import { Lang } from './Lang';
|
|
3
|
+
import { Website } from './Website';
|
|
4
|
+
import { WebsitePart } from './WebsitePart';
|
|
5
|
+
export declare const WebsiteFrameEntityName = "WebsiteFrame";
|
|
6
|
+
export declare const WebsiteFrameEntityLabel = "";
|
|
7
|
+
export interface WebsiteFrame extends WebsitePart {
|
|
8
|
+
id?: string | null;
|
|
9
|
+
content?: Content;
|
|
10
|
+
settings?: any;
|
|
11
|
+
lang?: Lang;
|
|
12
|
+
website?: Website;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
4
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
5
|
+
export interface WebsiteFrameBoolExp extends WebsitePartBoolExp {
|
|
6
|
+
_and?: WebsiteFrameBoolExp[];
|
|
7
|
+
_or?: WebsiteFrameBoolExp[];
|
|
8
|
+
_not?: WebsiteFrameBoolExp;
|
|
9
|
+
id?: IdComparisonExp;
|
|
10
|
+
content?: unknown;
|
|
11
|
+
settings?: unknown;
|
|
12
|
+
lang?: LangBoolExp;
|
|
13
|
+
website?: WebsiteBoolExp;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
export declare enum WebsiteFrameDistinctEnum {
|
|
3
|
+
id = "id",
|
|
4
|
+
content = "content",
|
|
5
|
+
settings = "settings",
|
|
6
|
+
createdAt = "createdAt",
|
|
7
|
+
updatedAt = "updatedAt"
|
|
8
|
+
}
|
|
9
|
+
export type WebsiteFrameDistinctExp = WebsiteFrameDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WebsiteFrame } from './WebsiteFrame';
|
|
2
|
+
import { Content } from './Content';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
4
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
5
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
|
+
import { WebsitePart } from './WebsitePart';
|
|
7
|
+
export interface WebsiteFrameInput extends WebsitePart {
|
|
8
|
+
id?: string | null;
|
|
9
|
+
content?: Content;
|
|
10
|
+
settings?: any;
|
|
11
|
+
lang?: SetHasOne<LangInput>;
|
|
12
|
+
website?: SetHasOne<WebsiteInput>;
|
|
13
|
+
}
|
|
14
|
+
export declare const websiteFrameToInputCascade: (entity: WebsiteFrame) => WebsiteFrameInput;
|
|
15
|
+
export declare const websiteFrameToInput: (entity: WebsiteFrame) => WebsiteFrameInput;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Website } from './Website';
|
|
2
2
|
import { WebsiteTypeInput } from './WebsiteTypeInput';
|
|
3
3
|
import { ThemeInput } from './ThemeInput';
|
|
4
|
-
import { PageInput } from './PageInput';
|
|
5
4
|
import { UserInput } from './UserInput';
|
|
6
5
|
import { WebsiteSettingsInput } from './WebsiteSettingsInput';
|
|
7
6
|
import { TemplateInput } from './TemplateInput';
|
|
8
7
|
import { TemplateCategoryInput } from './TemplateCategoryInput';
|
|
9
8
|
import { MediaFolderInput } from './MediaFolderInput';
|
|
10
9
|
import { EnquiryInput } from './EnquiryInput';
|
|
10
|
+
import { PageInput } from './PageInput';
|
|
11
11
|
import { ProductInput } from './ProductInput';
|
|
12
12
|
import { PostInput } from './PostInput';
|
|
13
13
|
import { PostCategoryInput } from './PostCategoryInput';
|
|
@@ -16,6 +16,7 @@ import { CustomerInput } from './CustomerInput';
|
|
|
16
16
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
17
17
|
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
18
18
|
import { MediaInput } from './MediaInput';
|
|
19
|
+
import { WebsiteFrameInput } from './WebsiteFrameInput';
|
|
19
20
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
20
21
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
21
22
|
/**
|
|
@@ -23,7 +24,7 @@ import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
|
23
24
|
* 网站实体
|
|
24
25
|
*/
|
|
25
26
|
export interface WebsiteInput {
|
|
26
|
-
id?: string;
|
|
27
|
+
id?: string | null;
|
|
27
28
|
/**
|
|
28
29
|
* 站点名称
|
|
29
30
|
*/
|
|
@@ -35,7 +36,7 @@ export interface WebsiteInput {
|
|
|
35
36
|
/**
|
|
36
37
|
* 创建者ID
|
|
37
38
|
*/
|
|
38
|
-
createdBy?: string;
|
|
39
|
+
createdBy?: string | null;
|
|
39
40
|
/**
|
|
40
41
|
* 创建时间
|
|
41
42
|
*/
|
|
@@ -51,11 +52,10 @@ export interface WebsiteInput {
|
|
|
51
52
|
/**
|
|
52
53
|
* 更新者ID
|
|
53
54
|
*/
|
|
54
|
-
updatedBy?: string;
|
|
55
|
+
updatedBy?: string | null;
|
|
55
56
|
description?: string;
|
|
56
57
|
websiteType?: SetHasOne<WebsiteTypeInput>;
|
|
57
58
|
selectedTheme?: SetHasOne<ThemeInput>;
|
|
58
|
-
homePage?: SetHasOne<PageInput>;
|
|
59
59
|
owner?: SetHasOne<UserInput>;
|
|
60
60
|
users?: SetHasMany<UserInput>;
|
|
61
61
|
partsOfWebsiteSettings?: SetHasMany<WebsiteSettingsInput>;
|
|
@@ -73,6 +73,7 @@ export interface WebsiteInput {
|
|
|
73
73
|
partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
74
74
|
partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
75
75
|
partsOfMedia?: SetHasMany<MediaInput>;
|
|
76
|
+
partsOfWebsiteFrame?: SetHasMany<WebsiteFrameInput>;
|
|
76
77
|
}
|
|
77
78
|
export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
|
|
78
79
|
export declare const websiteToInput: (entity: Website) => WebsiteInput;
|
|
@@ -7,7 +7,7 @@ import { WebsitePart } from './WebsitePart';
|
|
|
7
7
|
export declare const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
8
8
|
export declare const WebsiteSettingsEntityLabel = "";
|
|
9
9
|
export interface WebsiteSettings extends WebsitePart {
|
|
10
|
-
id?: string;
|
|
10
|
+
id?: string | null;
|
|
11
11
|
/**
|
|
12
12
|
* 邮件配置
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@ import { WebsiteInput } from './WebsiteInput';
|
|
|
7
7
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
8
8
|
import { WebsitePart } from './WebsitePart';
|
|
9
9
|
export interface WebsiteSettingsInput extends WebsitePart {
|
|
10
|
-
id?: string;
|
|
10
|
+
id?: string | null;
|
|
11
11
|
/**
|
|
12
12
|
* 邮件配置
|
|
13
13
|
*/
|
|
@@ -139,7 +139,7 @@ export * from './WebsiteUserBoolExp';
|
|
|
139
139
|
export * from './WebsiteUserOrderBy';
|
|
140
140
|
export * from './WebsiteUserDistinctExp';
|
|
141
141
|
export * from './UserType';
|
|
142
|
-
export * from './
|
|
142
|
+
export * from './PageType';
|
|
143
143
|
export * from './ProductCategory';
|
|
144
144
|
export * from './ProductCategoryInput';
|
|
145
145
|
export * from './ProductCategoryBoolExp';
|
|
@@ -190,3 +190,9 @@ export * from './ComponentCategoryBoolExp';
|
|
|
190
190
|
export * from './ComponentCategoryOrderBy';
|
|
191
191
|
export * from './ComponentCategoryDistinctExp';
|
|
192
192
|
export * from './PropsFields';
|
|
193
|
+
export * from './WebsiteFrame';
|
|
194
|
+
export * from './WebsiteFrameInput';
|
|
195
|
+
export * from './WebsiteFrameBoolExp';
|
|
196
|
+
export * from './WebsiteFrameOrderBy';
|
|
197
|
+
export * from './WebsiteFrameDistinctExp';
|
|
198
|
+
export * from './Content';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.36",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"eslint": "^7.32.0",
|
|
14
14
|
"typescript": "^5",
|
|
15
|
-
"@rxdrag/eslint-config-custom": "0.2.
|
|
15
|
+
"@rxdrag/eslint-config-custom": "0.2.2",
|
|
16
16
|
"@rxdrag/tsconfig": "0.2.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"swr": "^2.2.4",
|
|
20
|
-
"@rxdrag/entify-hooks": "0.2.
|
|
20
|
+
"@rxdrag/entify-hooks": "0.2.30"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|