@rxdrag/rxcms-models 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/CustomerQueryOptions.d.ts +6 -13
- package/dist/classes/EnquiryQueryOptions.d.ts +6 -13
- package/dist/classes/LangQueryOptions.d.ts +76 -12
- package/dist/classes/MediaFolderQueryOptions.d.ts +6 -13
- package/dist/classes/MediaQueryOptions.d.ts +6 -4
- package/dist/classes/PageQueryOptions.d.ts +7 -12
- package/dist/classes/PostCategoryQueryOptions.d.ts +8 -13
- package/dist/classes/PostQueryOptions.d.ts +8 -14
- package/dist/classes/ProductCategoryQueryOptions.d.ts +8 -13
- package/dist/classes/ProductQueryOptions.d.ts +8 -14
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +6 -7
- package/dist/classes/TagQueryOptions.d.ts +6 -13
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +6 -13
- package/dist/classes/TemplateQueryOptions.d.ts +6 -13
- package/dist/classes/ThemeQueryOptions.d.ts +4 -12
- package/dist/classes/WebsiteQueryOptions.d.ts +72 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +6 -13
- package/dist/fields/CustomerFields.d.ts +3 -14
- package/dist/fields/EnquiryFields.d.ts +4 -15
- package/dist/fields/LangFields.d.ts +31 -12
- package/dist/fields/MediaFields.d.ts +4 -6
- package/dist/fields/MediaFolderFields.d.ts +4 -15
- package/dist/fields/PageFields.d.ts +6 -13
- package/dist/fields/PostCategoryFields.d.ts +5 -14
- package/dist/fields/PostFields.d.ts +5 -15
- package/dist/fields/ProductCategoryFields.d.ts +5 -14
- package/dist/fields/ProductFields.d.ts +5 -15
- package/dist/fields/SpamFilterRuleFields.d.ts +3 -8
- package/dist/fields/TagFields.d.ts +4 -15
- package/dist/fields/TemplateCategoryFields.d.ts +4 -15
- package/dist/fields/TemplateFields.d.ts +4 -15
- package/dist/fields/ThemeFields.d.ts +4 -14
- package/dist/fields/WebsiteFields.d.ts +33 -2
- package/dist/fields/WebsiteSettingsFields.d.ts +3 -14
- package/dist/index.mjs +1765 -1384
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Customer.d.ts +4 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +4 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +0 -13
- package/dist/interfaces/CustomerInput.d.ts +5 -0
- package/dist/interfaces/Enquiry.d.ts +4 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +4 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -14
- package/dist/interfaces/EnquiryInput.d.ts +4 -0
- package/dist/interfaces/Lang.d.ts +48 -3
- package/dist/interfaces/LangBoolExp.d.ts +32 -3
- package/dist/interfaces/LangDistinctExp.d.ts +2 -14
- package/dist/interfaces/LangInput.d.ts +33 -3
- package/dist/interfaces/LangOrderBy.d.ts +2 -3
- package/dist/interfaces/Media.d.ts +6 -2
- package/dist/interfaces/MediaBoolExp.d.ts +6 -2
- package/dist/interfaces/MediaDistinctExp.d.ts +3 -7
- package/dist/interfaces/MediaFolder.d.ts +4 -0
- package/dist/interfaces/MediaFolderBoolExp.d.ts +4 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -14
- package/dist/interfaces/MediaFolderInput.d.ts +4 -0
- package/dist/interfaces/MediaInput.d.ts +6 -2
- package/dist/interfaces/MediaOrderBy.d.ts +2 -2
- package/dist/interfaces/Page.d.ts +3 -2
- package/dist/interfaces/PageBoolExp.d.ts +3 -2
- package/dist/interfaces/PageDistinctExp.d.ts +3 -12
- package/dist/interfaces/PageInput.d.ts +3 -2
- package/dist/interfaces/PageOrderBy.d.ts +0 -2
- package/dist/interfaces/Post.d.ts +4 -0
- package/dist/interfaces/PostBoolExp.d.ts +4 -0
- package/dist/interfaces/PostCategory.d.ts +6 -1
- package/dist/interfaces/PostCategoryBoolExp.d.ts +6 -1
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +4 -14
- package/dist/interfaces/PostCategoryInput.d.ts +6 -1
- package/dist/interfaces/PostCategoryOrderBy.d.ts +2 -1
- package/dist/interfaces/PostDistinctExp.d.ts +2 -14
- package/dist/interfaces/PostInput.d.ts +4 -0
- package/dist/interfaces/Product.d.ts +4 -0
- package/dist/interfaces/ProductBoolExp.d.ts +4 -0
- package/dist/interfaces/ProductCategory.d.ts +6 -1
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +6 -1
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +4 -14
- package/dist/interfaces/ProductCategoryInput.d.ts +6 -1
- package/dist/interfaces/ProductCategoryOrderBy.d.ts +2 -1
- package/dist/interfaces/ProductDistinctExp.d.ts +2 -14
- package/dist/interfaces/ProductInput.d.ts +4 -0
- package/dist/interfaces/PublishableDistinctExp.d.ts +2 -14
- package/dist/interfaces/Slugable.d.ts +5 -0
- package/dist/interfaces/SlugableBoolExp.d.ts +10 -0
- package/dist/interfaces/SlugableDistinctExp.d.ts +6 -0
- package/dist/interfaces/SlugableOrderBy.d.ts +6 -0
- package/dist/interfaces/SpamFilterRule.d.ts +4 -0
- package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +4 -0
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +1 -8
- package/dist/interfaces/SpamFilterRuleInput.d.ts +5 -0
- package/dist/interfaces/Tag.d.ts +4 -0
- package/dist/interfaces/TagBoolExp.d.ts +4 -0
- package/dist/interfaces/TagDistinctExp.d.ts +1 -14
- package/dist/interfaces/TagInput.d.ts +5 -0
- package/dist/interfaces/Template.d.ts +4 -0
- package/dist/interfaces/TemplateBoolExp.d.ts +4 -0
- package/dist/interfaces/TemplateCategory.d.ts +4 -0
- package/dist/interfaces/TemplateCategoryBoolExp.d.ts +4 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -14
- package/dist/interfaces/TemplateCategoryInput.d.ts +4 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +1 -14
- package/dist/interfaces/TemplateInput.d.ts +4 -0
- package/dist/interfaces/Theme.d.ts +4 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +4 -0
- package/dist/interfaces/ThemeDistinctExp.d.ts +1 -13
- package/dist/interfaces/ThemeInput.d.ts +4 -0
- package/dist/interfaces/ThemeOrderBy.d.ts +1 -0
- package/dist/interfaces/Website.d.ts +44 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +29 -0
- package/dist/interfaces/WebsiteContent.d.ts +2 -2
- package/dist/interfaces/WebsiteContentBoolExp.d.ts +2 -2
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +4 -16
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +2 -2
- package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
- package/dist/interfaces/WebsiteInput.d.ts +29 -0
- package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsitePart.d.ts +3 -5
- package/dist/interfaces/WebsitePartBoolExp.d.ts +4 -6
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +2 -16
- package/dist/interfaces/WebsitePartOrderBy.d.ts +3 -5
- package/dist/interfaces/WebsiteSettings.d.ts +4 -0
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +4 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +1 -14
- package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -0
- package/dist/interfaces/index.d.ts +4 -12
- package/package.json +2 -2
- package/dist/interfaces/BaseEntity.d.ts +0 -15
- package/dist/interfaces/BaseEntityBoolExp.d.ts +0 -12
- package/dist/interfaces/BaseEntityDistinctExp.d.ts +0 -16
- package/dist/interfaces/BaseEntityOrderBy.d.ts +0 -16
- package/dist/interfaces/CustomizeMedia.d.ts +0 -7
- package/dist/interfaces/CustomizeMediaBoolExp.d.ts +0 -9
- package/dist/interfaces/CustomizeMediaDistinctExp.d.ts +0 -8
- package/dist/interfaces/CustomizeMediaOrderBy.d.ts +0 -8
- package/dist/interfaces/MultiLangable.d.ts +0 -4
- package/dist/interfaces/MultiLangableBoolExp.d.ts +0 -9
- package/dist/interfaces/MultiLangableDistinctExp.d.ts +0 -5
- package/dist/interfaces/MultiLangableOrderBy.d.ts +0 -5
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Tag } from './Tag';
|
|
2
|
+
import { LangInput } from './LangInput';
|
|
2
3
|
import { PostInput } from './PostInput';
|
|
3
4
|
import { ProductInput } from './ProductInput';
|
|
5
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
4
6
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
7
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
5
8
|
import { WebsitePart } from './WebsitePart';
|
|
6
9
|
/**
|
|
7
10
|
* 文章标签
|
|
@@ -14,8 +17,10 @@ export interface TagInput extends WebsitePart {
|
|
|
14
17
|
*/
|
|
15
18
|
name?: string;
|
|
16
19
|
color?: string;
|
|
20
|
+
lang?: SetHasOne<LangInput>;
|
|
17
21
|
posts?: SetHasMany<PostInput>;
|
|
18
22
|
products?: SetHasMany<ProductInput>;
|
|
23
|
+
website?: SetHasOne<WebsiteInput>;
|
|
19
24
|
}
|
|
20
25
|
export declare const tagToInputCascade: (entity: Tag) => TagInput;
|
|
21
26
|
export declare const tagToInput: (entity: Tag) => TagInput;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { TemplateType } from './TemplateType';
|
|
2
|
+
import { Lang } from './Lang';
|
|
2
3
|
import { TemplateCategory } from './TemplateCategory';
|
|
3
4
|
import { Theme } from './Theme';
|
|
5
|
+
import { Website } from './Website';
|
|
4
6
|
import { WebsitePart } from './WebsitePart';
|
|
5
7
|
export declare const TemplateEntityName = "Template";
|
|
6
8
|
export declare const TemplateEntityLabel = "";
|
|
@@ -13,6 +15,8 @@ export interface Template extends WebsitePart {
|
|
|
13
15
|
* 模板类型
|
|
14
16
|
*/
|
|
15
17
|
templateType?: TemplateType;
|
|
18
|
+
lang?: Lang;
|
|
16
19
|
category?: TemplateCategory;
|
|
17
20
|
theme?: Theme;
|
|
21
|
+
website?: Website;
|
|
18
22
|
}
|
|
@@ -4,8 +4,10 @@ import { IdComparisonExp } from './IdComparisonExp';
|
|
|
4
4
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
5
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
6
6
|
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
7
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
7
8
|
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
8
9
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
10
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
9
11
|
export interface TemplateBoolExp extends WebsitePartBoolExp {
|
|
10
12
|
_and?: TemplateBoolExp[];
|
|
11
13
|
_or?: TemplateBoolExp[];
|
|
@@ -15,6 +17,8 @@ export interface TemplateBoolExp extends WebsitePartBoolExp {
|
|
|
15
17
|
seqValue?: NumberComparisonExp;
|
|
16
18
|
content?: unknown;
|
|
17
19
|
templateType?: EnumComparisonExp<TemplateType>;
|
|
20
|
+
lang?: LangBoolExp;
|
|
18
21
|
category?: TemplateCategoryBoolExp;
|
|
19
22
|
theme?: ThemeBoolExp;
|
|
23
|
+
website?: WebsiteBoolExp;
|
|
20
24
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Template } from './Template';
|
|
2
|
+
import { Lang } from './Lang';
|
|
2
3
|
import { Theme } from './Theme';
|
|
4
|
+
import { Website } from './Website';
|
|
3
5
|
import { Aggregate } from './Aggregate';
|
|
4
6
|
import { WebsitePart } from './WebsitePart';
|
|
5
7
|
export declare const TemplateCategoryEntityName = "TemplateCategory";
|
|
@@ -9,6 +11,8 @@ export interface TemplateCategory extends WebsitePart {
|
|
|
9
11
|
name?: string;
|
|
10
12
|
seqValue?: number;
|
|
11
13
|
templates?: Template[];
|
|
14
|
+
lang?: Lang;
|
|
12
15
|
theme?: Theme;
|
|
16
|
+
website?: Website;
|
|
13
17
|
templatesAggregate?: Aggregate;
|
|
14
18
|
}
|
|
@@ -3,7 +3,9 @@ import { IdComparisonExp } from './IdComparisonExp';
|
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
5
|
import { TemplateBoolExp } from './TemplateBoolExp';
|
|
6
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
6
7
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
8
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
7
9
|
export interface TemplateCategoryBoolExp extends WebsitePartBoolExp {
|
|
8
10
|
_and?: TemplateCategoryBoolExp[];
|
|
9
11
|
_or?: TemplateCategoryBoolExp[];
|
|
@@ -12,5 +14,7 @@ export interface TemplateCategoryBoolExp extends WebsitePartBoolExp {
|
|
|
12
14
|
name?: StringComparisonExp;
|
|
13
15
|
seqValue?: NumberComparisonExp;
|
|
14
16
|
templates?: TemplateBoolExp;
|
|
17
|
+
lang?: LangBoolExp;
|
|
15
18
|
theme?: ThemeBoolExp;
|
|
19
|
+
website?: WebsiteBoolExp;
|
|
16
20
|
}
|
|
@@ -3,20 +3,7 @@ export declare enum TemplateCategoryDistinctEnum {
|
|
|
3
3
|
id = "id",
|
|
4
4
|
name = "name",
|
|
5
5
|
seqValue = "seqValue",
|
|
6
|
-
websiteId = "websiteId",
|
|
7
|
-
slug = "slug",
|
|
8
|
-
description = "description",
|
|
9
|
-
/**
|
|
10
|
-
* 创建时间
|
|
11
|
-
*/
|
|
12
6
|
createdAt = "createdAt",
|
|
13
|
-
|
|
14
|
-
* 更新时间
|
|
15
|
-
*/
|
|
16
|
-
updatedAt = "updatedAt",
|
|
17
|
-
/**
|
|
18
|
-
* 备注
|
|
19
|
-
*/
|
|
20
|
-
remark = "remark"
|
|
7
|
+
updatedAt = "updatedAt"
|
|
21
8
|
}
|
|
22
9
|
export type TemplateCategoryDistinctExp = TemplateCategoryDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { TemplateCategory } from './TemplateCategory';
|
|
2
2
|
import { TemplateInput } from './TemplateInput';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
3
4
|
import { ThemeInput } from './ThemeInput';
|
|
5
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
4
6
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
5
7
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
8
|
import { WebsitePart } from './WebsitePart';
|
|
@@ -9,7 +11,9 @@ export interface TemplateCategoryInput extends WebsitePart {
|
|
|
9
11
|
name?: string;
|
|
10
12
|
seqValue?: number;
|
|
11
13
|
templates?: SetHasMany<TemplateInput>;
|
|
14
|
+
lang?: SetHasOne<LangInput>;
|
|
12
15
|
theme?: SetHasOne<ThemeInput>;
|
|
16
|
+
website?: SetHasOne<WebsiteInput>;
|
|
13
17
|
}
|
|
14
18
|
export declare const templateCategoryToInputCascade: (entity: TemplateCategory) => TemplateCategoryInput;
|
|
15
19
|
export declare const templateCategoryToInput: (entity: TemplateCategory) => TemplateCategoryInput;
|
|
@@ -8,20 +8,7 @@ export declare enum TemplateDistinctEnum {
|
|
|
8
8
|
* 模板类型
|
|
9
9
|
*/
|
|
10
10
|
templateType = "templateType",
|
|
11
|
-
websiteId = "websiteId",
|
|
12
|
-
slug = "slug",
|
|
13
|
-
description = "description",
|
|
14
|
-
/**
|
|
15
|
-
* 创建时间
|
|
16
|
-
*/
|
|
17
11
|
createdAt = "createdAt",
|
|
18
|
-
|
|
19
|
-
* 更新时间
|
|
20
|
-
*/
|
|
21
|
-
updatedAt = "updatedAt",
|
|
22
|
-
/**
|
|
23
|
-
* 备注
|
|
24
|
-
*/
|
|
25
|
-
remark = "remark"
|
|
12
|
+
updatedAt = "updatedAt"
|
|
26
13
|
}
|
|
27
14
|
export type TemplateDistinctExp = TemplateDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Template } from './Template';
|
|
2
2
|
import { TemplateType } from './TemplateType';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
3
4
|
import { TemplateCategoryInput } from './TemplateCategoryInput';
|
|
4
5
|
import { ThemeInput } from './ThemeInput';
|
|
6
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
5
7
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
6
8
|
import { WebsitePart } from './WebsitePart';
|
|
7
9
|
export interface TemplateInput extends WebsitePart {
|
|
@@ -13,8 +15,10 @@ export interface TemplateInput extends WebsitePart {
|
|
|
13
15
|
* 模板类型
|
|
14
16
|
*/
|
|
15
17
|
templateType?: TemplateType;
|
|
18
|
+
lang?: SetHasOne<LangInput>;
|
|
16
19
|
category?: SetHasOne<TemplateCategoryInput>;
|
|
17
20
|
theme?: SetHasOne<ThemeInput>;
|
|
21
|
+
website?: SetHasOne<WebsiteInput>;
|
|
18
22
|
}
|
|
19
23
|
export declare const templateToInputCascade: (entity: Template) => TemplateInput;
|
|
20
24
|
export declare const templateToInput: (entity: Template) => TemplateInput;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ThemeSettings } from './ThemeSettings';
|
|
2
2
|
import { Template } from './Template';
|
|
3
3
|
import { TemplateCategory } from './TemplateCategory';
|
|
4
|
+
import { Lang } from './Lang';
|
|
4
5
|
import { Website } from './Website';
|
|
5
6
|
import { Aggregate } from './Aggregate';
|
|
6
7
|
import { WebsitePart } from './WebsitePart';
|
|
@@ -11,9 +12,12 @@ export interface Theme extends WebsitePart {
|
|
|
11
12
|
name?: string;
|
|
12
13
|
styles?: any;
|
|
13
14
|
settings?: ThemeSettings;
|
|
15
|
+
description?: string;
|
|
14
16
|
templates?: Template[];
|
|
15
17
|
themlateCategories?: TemplateCategory[];
|
|
18
|
+
lang?: Lang;
|
|
16
19
|
selectedBy?: Website;
|
|
20
|
+
website?: Website;
|
|
17
21
|
templatesAggregate?: Aggregate;
|
|
18
22
|
themlateCategoriesAggregate?: Aggregate;
|
|
19
23
|
}
|
|
@@ -3,6 +3,7 @@ import { IdComparisonExp } from './IdComparisonExp';
|
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { TemplateBoolExp } from './TemplateBoolExp';
|
|
5
5
|
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
6
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
6
7
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
7
8
|
export interface ThemeBoolExp extends WebsitePartBoolExp {
|
|
8
9
|
_and?: ThemeBoolExp[];
|
|
@@ -12,7 +13,10 @@ export interface ThemeBoolExp extends WebsitePartBoolExp {
|
|
|
12
13
|
name?: StringComparisonExp;
|
|
13
14
|
styles?: unknown;
|
|
14
15
|
settings?: unknown;
|
|
16
|
+
description?: StringComparisonExp;
|
|
15
17
|
templates?: TemplateBoolExp;
|
|
16
18
|
themlateCategories?: TemplateCategoryBoolExp;
|
|
19
|
+
lang?: LangBoolExp;
|
|
17
20
|
selectedBy?: WebsiteBoolExp;
|
|
21
|
+
website?: WebsiteBoolExp;
|
|
18
22
|
}
|
|
@@ -4,20 +4,8 @@ export declare enum ThemeDistinctEnum {
|
|
|
4
4
|
name = "name",
|
|
5
5
|
styles = "styles",
|
|
6
6
|
settings = "settings",
|
|
7
|
-
websiteId = "websiteId",
|
|
8
|
-
slug = "slug",
|
|
9
7
|
description = "description",
|
|
10
|
-
/**
|
|
11
|
-
* 创建时间
|
|
12
|
-
*/
|
|
13
8
|
createdAt = "createdAt",
|
|
14
|
-
|
|
15
|
-
* 更新时间
|
|
16
|
-
*/
|
|
17
|
-
updatedAt = "updatedAt",
|
|
18
|
-
/**
|
|
19
|
-
* 备注
|
|
20
|
-
*/
|
|
21
|
-
remark = "remark"
|
|
9
|
+
updatedAt = "updatedAt"
|
|
22
10
|
}
|
|
23
11
|
export type ThemeDistinctExp = ThemeDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -2,6 +2,7 @@ import { Theme } from './Theme';
|
|
|
2
2
|
import { ThemeSettings } from './ThemeSettings';
|
|
3
3
|
import { TemplateInput } from './TemplateInput';
|
|
4
4
|
import { TemplateCategoryInput } from './TemplateCategoryInput';
|
|
5
|
+
import { LangInput } from './LangInput';
|
|
5
6
|
import { WebsiteInput } from './WebsiteInput';
|
|
6
7
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
7
8
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
@@ -11,9 +12,12 @@ export interface ThemeInput extends WebsitePart {
|
|
|
11
12
|
name?: string;
|
|
12
13
|
styles?: any;
|
|
13
14
|
settings?: ThemeSettings;
|
|
15
|
+
description?: string;
|
|
14
16
|
templates?: SetHasMany<TemplateInput>;
|
|
15
17
|
themlateCategories?: SetHasMany<TemplateCategoryInput>;
|
|
18
|
+
lang?: SetHasOne<LangInput>;
|
|
16
19
|
selectedBy?: SetHasOne<WebsiteInput>;
|
|
20
|
+
website?: SetHasOne<WebsiteInput>;
|
|
17
21
|
}
|
|
18
22
|
export declare const themeToInputCascade: (entity: Theme) => ThemeInput;
|
|
19
23
|
export declare const themeToInput: (entity: Theme) => ThemeInput;
|
|
@@ -2,6 +2,19 @@ import { WebsiteType } from './WebsiteType';
|
|
|
2
2
|
import { Theme } from './Theme';
|
|
3
3
|
import { Page } from './Page';
|
|
4
4
|
import { User } from './User';
|
|
5
|
+
import { WebsiteSettings } from './WebsiteSettings';
|
|
6
|
+
import { Template } from './Template';
|
|
7
|
+
import { TemplateCategory } from './TemplateCategory';
|
|
8
|
+
import { MediaFolder } from './MediaFolder';
|
|
9
|
+
import { Enquiry } from './Enquiry';
|
|
10
|
+
import { Product } from './Product';
|
|
11
|
+
import { Post } from './Post';
|
|
12
|
+
import { PostCategory } from './PostCategory';
|
|
13
|
+
import { Tag } from './Tag';
|
|
14
|
+
import { Customer } from './Customer';
|
|
15
|
+
import { ProductCategory } from './ProductCategory';
|
|
16
|
+
import { SpamFilterRule } from './SpamFilterRule';
|
|
17
|
+
import { Media } from './Media';
|
|
5
18
|
import { Aggregate } from './Aggregate';
|
|
6
19
|
export declare const WebsiteEntityName = "Website";
|
|
7
20
|
export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
|
|
@@ -39,10 +52,41 @@ export interface Website {
|
|
|
39
52
|
* 更新者ID
|
|
40
53
|
*/
|
|
41
54
|
updatedBy?: string;
|
|
55
|
+
description?: string;
|
|
42
56
|
websiteType?: WebsiteType;
|
|
43
57
|
selectedTheme?: Theme;
|
|
44
58
|
homePage?: Page;
|
|
45
59
|
owner?: User;
|
|
46
60
|
users?: User[];
|
|
61
|
+
partsOfWebsiteSettings?: WebsiteSettings[];
|
|
62
|
+
partsOfTheme?: Theme[];
|
|
63
|
+
partsOfTemplate?: Template[];
|
|
64
|
+
partsOfTemplateCategory?: TemplateCategory[];
|
|
65
|
+
partsOfMediaFolder?: MediaFolder[];
|
|
66
|
+
partsOfEnquiry?: Enquiry[];
|
|
67
|
+
partsOfPage?: Page[];
|
|
68
|
+
partsOfProduct?: Product[];
|
|
69
|
+
partsOfPost?: Post[];
|
|
70
|
+
partsOfPostCategory?: PostCategory[];
|
|
71
|
+
partsOfTag?: Tag[];
|
|
72
|
+
partsOfCustomer?: Customer[];
|
|
73
|
+
partsOfProductCategory?: ProductCategory[];
|
|
74
|
+
partsOfSpamFilterRule?: SpamFilterRule[];
|
|
75
|
+
partsOfMedia?: Media[];
|
|
47
76
|
usersAggregate?: Aggregate;
|
|
77
|
+
partsOfWebsiteSettingsAggregate?: Aggregate;
|
|
78
|
+
partsOfThemeAggregate?: Aggregate;
|
|
79
|
+
partsOfTemplateAggregate?: Aggregate;
|
|
80
|
+
partsOfTemplateCategoryAggregate?: Aggregate;
|
|
81
|
+
partsOfMediaFolderAggregate?: Aggregate;
|
|
82
|
+
partsOfEnquiryAggregate?: Aggregate;
|
|
83
|
+
partsOfPageAggregate?: Aggregate;
|
|
84
|
+
partsOfProductAggregate?: Aggregate;
|
|
85
|
+
partsOfPostAggregate?: Aggregate;
|
|
86
|
+
partsOfPostCategoryAggregate?: Aggregate;
|
|
87
|
+
partsOfTagAggregate?: Aggregate;
|
|
88
|
+
partsOfCustomerAggregate?: Aggregate;
|
|
89
|
+
partsOfProductCategoryAggregate?: Aggregate;
|
|
90
|
+
partsOfSpamFilterRuleAggregate?: Aggregate;
|
|
91
|
+
partsOfMediaAggregate?: Aggregate;
|
|
48
92
|
}
|
|
@@ -5,6 +5,19 @@ import { WebsiteTypeBoolExp } from './WebsiteTypeBoolExp';
|
|
|
5
5
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
6
6
|
import { PageBoolExp } from './PageBoolExp';
|
|
7
7
|
import { UserBoolExp } from './UserBoolExp';
|
|
8
|
+
import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
|
|
9
|
+
import { TemplateBoolExp } from './TemplateBoolExp';
|
|
10
|
+
import { TemplateCategoryBoolExp } from './TemplateCategoryBoolExp';
|
|
11
|
+
import { MediaFolderBoolExp } from './MediaFolderBoolExp';
|
|
12
|
+
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
13
|
+
import { ProductBoolExp } from './ProductBoolExp';
|
|
14
|
+
import { PostBoolExp } from './PostBoolExp';
|
|
15
|
+
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
16
|
+
import { TagBoolExp } from './TagBoolExp';
|
|
17
|
+
import { CustomerBoolExp } from './CustomerBoolExp';
|
|
18
|
+
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
19
|
+
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
20
|
+
import { MediaBoolExp } from './MediaBoolExp';
|
|
8
21
|
/**
|
|
9
22
|
* 站点
|
|
10
23
|
* 网站实体
|
|
@@ -21,9 +34,25 @@ export interface WebsiteBoolExp {
|
|
|
21
34
|
lastOpenTime?: DateTimeComparisonExp;
|
|
22
35
|
updatedAt?: DateTimeComparisonExp;
|
|
23
36
|
updatedBy?: IdComparisonExp;
|
|
37
|
+
description?: StringComparisonExp;
|
|
24
38
|
websiteType?: WebsiteTypeBoolExp;
|
|
25
39
|
selectedTheme?: ThemeBoolExp;
|
|
26
40
|
homePage?: PageBoolExp;
|
|
27
41
|
owner?: UserBoolExp;
|
|
28
42
|
users?: UserBoolExp;
|
|
43
|
+
partsOfWebsiteSettings?: WebsiteSettingsBoolExp;
|
|
44
|
+
partsOfTheme?: ThemeBoolExp;
|
|
45
|
+
partsOfTemplate?: TemplateBoolExp;
|
|
46
|
+
partsOfTemplateCategory?: TemplateCategoryBoolExp;
|
|
47
|
+
partsOfMediaFolder?: MediaFolderBoolExp;
|
|
48
|
+
partsOfEnquiry?: EnquiryBoolExp;
|
|
49
|
+
partsOfPage?: PageBoolExp;
|
|
50
|
+
partsOfProduct?: ProductBoolExp;
|
|
51
|
+
partsOfPost?: PostBoolExp;
|
|
52
|
+
partsOfPostCategory?: PostCategoryBoolExp;
|
|
53
|
+
partsOfTag?: TagBoolExp;
|
|
54
|
+
partsOfCustomer?: CustomerBoolExp;
|
|
55
|
+
partsOfProductCategory?: ProductCategoryBoolExp;
|
|
56
|
+
partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
57
|
+
partsOfMedia?: MediaBoolExp;
|
|
29
58
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { WebsitePart } from './WebsitePart';
|
|
2
2
|
import { SeoMeta } from './SeoMeta';
|
|
3
3
|
import { OgMeta } from './OgMeta';
|
|
4
|
-
import {
|
|
4
|
+
import { Slugable } from './Slugable';
|
|
5
5
|
/**
|
|
6
6
|
* 网站内容
|
|
7
7
|
* 页面、产品、文章等被搜索引擎检索的内容
|
|
8
8
|
*/
|
|
9
|
-
export interface WebsiteContent extends WebsitePart, SeoMeta, OgMeta,
|
|
9
|
+
export interface WebsiteContent extends WebsitePart, SeoMeta, OgMeta, Slugable {
|
|
10
10
|
id?: string;
|
|
11
11
|
title?: string;
|
|
12
12
|
content?: any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
2
|
import { SeoMetaBoolExp } from './SeoMetaBoolExp';
|
|
3
3
|
import { OgMetaBoolExp } from './OgMetaBoolExp';
|
|
4
|
-
import {
|
|
4
|
+
import { SlugableBoolExp } from './SlugableBoolExp';
|
|
5
5
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
6
6
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
7
7
|
/**
|
|
8
8
|
* 网站内容
|
|
9
9
|
* 页面、产品、文章等被搜索引擎检索的内容
|
|
10
10
|
*/
|
|
11
|
-
export interface WebsiteContentBoolExp extends WebsitePartBoolExp, SeoMetaBoolExp, OgMetaBoolExp,
|
|
11
|
+
export interface WebsiteContentBoolExp extends WebsitePartBoolExp, SeoMetaBoolExp, OgMetaBoolExp, SlugableBoolExp {
|
|
12
12
|
_and?: WebsiteContentBoolExp[];
|
|
13
13
|
_or?: WebsiteContentBoolExp[];
|
|
14
14
|
_not?: WebsiteContentBoolExp;
|
|
@@ -1,27 +1,14 @@
|
|
|
1
1
|
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
2
|
import { SeoMetaDistinctExp } from './SeoMetaDistinctExp';
|
|
3
3
|
import { OgMetaDistinctExp } from './OgMetaDistinctExp';
|
|
4
|
-
import {
|
|
4
|
+
import { SlugableDistinctExp } from './SlugableDistinctExp';
|
|
5
5
|
export declare enum WebsiteContentDistinctEnum {
|
|
6
6
|
id = "id",
|
|
7
7
|
title = "title",
|
|
8
8
|
content = "content",
|
|
9
9
|
extends = "extends",
|
|
10
|
-
websiteId = "websiteId",
|
|
11
|
-
slug = "slug",
|
|
12
|
-
description = "description",
|
|
13
|
-
/**
|
|
14
|
-
* 创建时间
|
|
15
|
-
*/
|
|
16
10
|
createdAt = "createdAt",
|
|
17
|
-
/**
|
|
18
|
-
* 更新时间
|
|
19
|
-
*/
|
|
20
11
|
updatedAt = "updatedAt",
|
|
21
|
-
/**
|
|
22
|
-
* 备注
|
|
23
|
-
*/
|
|
24
|
-
remark = "remark",
|
|
25
12
|
seoTitle = "seoTitle",
|
|
26
13
|
seoKeywords = "seoKeywords",
|
|
27
14
|
seoDescription = "seoDescription",
|
|
@@ -35,6 +22,7 @@ export declare enum WebsiteContentDistinctEnum {
|
|
|
35
22
|
xTitle = "xTitle",
|
|
36
23
|
xDescription = "xDescription",
|
|
37
24
|
xUrl = "xUrl",
|
|
38
|
-
|
|
25
|
+
slug = "slug",
|
|
26
|
+
description = "description"
|
|
39
27
|
}
|
|
40
|
-
export type WebsiteContentDistinctExp = WebsiteContentDistinctEnum | WebsitePartDistinctExp | SeoMetaDistinctExp | OgMetaDistinctExp |
|
|
28
|
+
export type WebsiteContentDistinctExp = WebsiteContentDistinctEnum | WebsitePartDistinctExp | SeoMetaDistinctExp | OgMetaDistinctExp | SlugableDistinctExp;
|
|
@@ -2,12 +2,12 @@ import { OrderBy } from '@rxdrag/entify-hooks';
|
|
|
2
2
|
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
3
|
import { SeoMetaOrderBy } from './SeoMetaOrderBy';
|
|
4
4
|
import { OgMetaOrderBy } from './OgMetaOrderBy';
|
|
5
|
-
import {
|
|
5
|
+
import { SlugableOrderBy } from './SlugableOrderBy';
|
|
6
6
|
/**
|
|
7
7
|
* 网站内容
|
|
8
8
|
* 页面、产品、文章等被搜索引擎检索的内容
|
|
9
9
|
*/
|
|
10
|
-
export interface WebsiteContentOrderBy extends WebsitePartOrderBy, SeoMetaOrderBy, OgMetaOrderBy,
|
|
10
|
+
export interface WebsiteContentOrderBy extends WebsitePartOrderBy, SeoMetaOrderBy, OgMetaOrderBy, SlugableOrderBy {
|
|
11
11
|
id?: OrderBy;
|
|
12
12
|
title?: OrderBy;
|
|
13
13
|
content?: OrderBy;
|
|
@@ -3,6 +3,19 @@ import { WebsiteTypeInput } from './WebsiteTypeInput';
|
|
|
3
3
|
import { ThemeInput } from './ThemeInput';
|
|
4
4
|
import { PageInput } from './PageInput';
|
|
5
5
|
import { UserInput } from './UserInput';
|
|
6
|
+
import { WebsiteSettingsInput } from './WebsiteSettingsInput';
|
|
7
|
+
import { TemplateInput } from './TemplateInput';
|
|
8
|
+
import { TemplateCategoryInput } from './TemplateCategoryInput';
|
|
9
|
+
import { MediaFolderInput } from './MediaFolderInput';
|
|
10
|
+
import { EnquiryInput } from './EnquiryInput';
|
|
11
|
+
import { ProductInput } from './ProductInput';
|
|
12
|
+
import { PostInput } from './PostInput';
|
|
13
|
+
import { PostCategoryInput } from './PostCategoryInput';
|
|
14
|
+
import { TagInput } from './TagInput';
|
|
15
|
+
import { CustomerInput } from './CustomerInput';
|
|
16
|
+
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
17
|
+
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
18
|
+
import { MediaInput } from './MediaInput';
|
|
6
19
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
7
20
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
8
21
|
/**
|
|
@@ -39,11 +52,27 @@ export interface WebsiteInput {
|
|
|
39
52
|
* 更新者ID
|
|
40
53
|
*/
|
|
41
54
|
updatedBy?: string;
|
|
55
|
+
description?: string;
|
|
42
56
|
websiteType?: SetHasOne<WebsiteTypeInput>;
|
|
43
57
|
selectedTheme?: SetHasOne<ThemeInput>;
|
|
44
58
|
homePage?: SetHasOne<PageInput>;
|
|
45
59
|
owner?: SetHasOne<UserInput>;
|
|
46
60
|
users?: SetHasMany<UserInput>;
|
|
61
|
+
partsOfWebsiteSettings?: SetHasMany<WebsiteSettingsInput>;
|
|
62
|
+
partsOfTheme?: SetHasMany<ThemeInput>;
|
|
63
|
+
partsOfTemplate?: SetHasMany<TemplateInput>;
|
|
64
|
+
partsOfTemplateCategory?: SetHasMany<TemplateCategoryInput>;
|
|
65
|
+
partsOfMediaFolder?: SetHasMany<MediaFolderInput>;
|
|
66
|
+
partsOfEnquiry?: SetHasMany<EnquiryInput>;
|
|
67
|
+
partsOfPage?: SetHasMany<PageInput>;
|
|
68
|
+
partsOfProduct?: SetHasMany<ProductInput>;
|
|
69
|
+
partsOfPost?: SetHasMany<PostInput>;
|
|
70
|
+
partsOfPostCategory?: SetHasMany<PostCategoryInput>;
|
|
71
|
+
partsOfTag?: SetHasMany<TagInput>;
|
|
72
|
+
partsOfCustomer?: SetHasMany<CustomerInput>;
|
|
73
|
+
partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
74
|
+
partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
75
|
+
partsOfMedia?: SetHasMany<MediaInput>;
|
|
47
76
|
}
|
|
48
77
|
export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
|
|
49
78
|
export declare const websiteToInput: (entity: Website) => WebsiteInput;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { BaseEntityBoolExp } from './BaseEntityBoolExp';
|
|
2
1
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
-
import {
|
|
4
|
-
export interface WebsitePartBoolExp
|
|
2
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
3
|
+
export interface WebsitePartBoolExp {
|
|
5
4
|
_and?: WebsitePartBoolExp[];
|
|
6
5
|
_or?: WebsitePartBoolExp[];
|
|
7
6
|
_not?: WebsitePartBoolExp;
|
|
8
7
|
id?: IdComparisonExp;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
description?: StringComparisonExp;
|
|
8
|
+
createdAt?: DateTimeComparisonExp;
|
|
9
|
+
updatedAt?: DateTimeComparisonExp;
|
|
12
10
|
}
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
import { BaseEntityDistinctExp } from './BaseEntityDistinctExp';
|
|
2
1
|
export declare enum WebsitePartDistinctEnum {
|
|
3
2
|
id = "id",
|
|
4
|
-
websiteId = "websiteId",
|
|
5
|
-
slug = "slug",
|
|
6
|
-
description = "description",
|
|
7
|
-
/**
|
|
8
|
-
* 创建时间
|
|
9
|
-
*/
|
|
10
3
|
createdAt = "createdAt",
|
|
11
|
-
|
|
12
|
-
* 更新时间
|
|
13
|
-
*/
|
|
14
|
-
updatedAt = "updatedAt",
|
|
15
|
-
/**
|
|
16
|
-
* 备注
|
|
17
|
-
*/
|
|
18
|
-
remark = "remark"
|
|
4
|
+
updatedAt = "updatedAt"
|
|
19
5
|
}
|
|
20
|
-
export type WebsitePartDistinctExp = WebsitePartDistinctEnum
|
|
6
|
+
export type WebsitePartDistinctExp = WebsitePartDistinctEnum;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
-
|
|
3
|
-
export interface WebsitePartOrderBy extends BaseEntityOrderBy {
|
|
2
|
+
export interface WebsitePartOrderBy {
|
|
4
3
|
id?: OrderBy;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
description?: OrderBy;
|
|
4
|
+
createdAt?: OrderBy;
|
|
5
|
+
updatedAt?: OrderBy;
|
|
8
6
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { SmtpConfig } from './SmtpConfig';
|
|
2
2
|
import { EmailTemplates } from './EmailTemplates';
|
|
3
|
+
import { Lang } from './Lang';
|
|
4
|
+
import { Website } from './Website';
|
|
3
5
|
import { WebsitePart } from './WebsitePart';
|
|
4
6
|
export declare const WebsiteSettingsEntityName = "WebsiteSettings";
|
|
5
7
|
export declare const WebsiteSettingsEntityLabel = "";
|
|
@@ -48,4 +50,6 @@ export interface WebsiteSettings extends WebsitePart {
|
|
|
48
50
|
* 邮件模板
|
|
49
51
|
*/
|
|
50
52
|
emailTemplates?: EmailTemplates;
|
|
53
|
+
lang?: Lang;
|
|
54
|
+
website?: Website;
|
|
51
55
|
}
|
|
@@ -2,6 +2,8 @@ import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
5
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
6
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
5
7
|
export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
|
|
6
8
|
_and?: WebsiteSettingsBoolExp[];
|
|
7
9
|
_or?: WebsiteSettingsBoolExp[];
|
|
@@ -26,4 +28,6 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
|
|
|
26
28
|
gaTrackingId?: StringComparisonExp;
|
|
27
29
|
noticeEmail?: StringComparisonExp;
|
|
28
30
|
emailTemplates?: unknown;
|
|
31
|
+
lang?: LangBoolExp;
|
|
32
|
+
website?: WebsiteBoolExp;
|
|
29
33
|
}
|