@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,19 +1,20 @@
|
|
|
1
1
|
import { Page } from './Page';
|
|
2
2
|
import { MediaInput } from './MediaInput';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
3
4
|
import { WebsiteInput } from './WebsiteInput';
|
|
4
5
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
5
6
|
import { WebsiteContent } from './WebsiteContent';
|
|
6
7
|
export interface PageInput extends WebsiteContent {
|
|
7
8
|
id?: string;
|
|
8
9
|
title?: string;
|
|
9
|
-
content?: any;
|
|
10
10
|
/**
|
|
11
11
|
* 备注
|
|
12
12
|
*/
|
|
13
13
|
remark?: string;
|
|
14
|
-
langAbbr?: string;
|
|
15
14
|
ogImage?: SetHasOne<MediaInput>;
|
|
15
|
+
lang?: SetHasOne<LangInput>;
|
|
16
16
|
homeOf?: SetHasOne<WebsiteInput>;
|
|
17
|
+
website?: SetHasOne<WebsiteInput>;
|
|
17
18
|
}
|
|
18
19
|
export declare const pageToInputCascade: (entity: Page) => PageInput;
|
|
19
20
|
export declare const pageToInput: (entity: Page) => PageInput;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Tag } from './Tag';
|
|
2
2
|
import { User } from './User';
|
|
3
3
|
import { Media } from './Media';
|
|
4
|
+
import { Lang } from './Lang';
|
|
4
5
|
import { PostCategory } from './PostCategory';
|
|
6
|
+
import { Website } from './Website';
|
|
5
7
|
import { Aggregate } from './Aggregate';
|
|
6
8
|
import { Publishable } from './Publishable';
|
|
7
9
|
export declare const PostEntityName = "Post";
|
|
@@ -23,7 +25,9 @@ export interface Post extends Publishable {
|
|
|
23
25
|
cover?: Media;
|
|
24
26
|
ogImage?: Media;
|
|
25
27
|
draftOf?: Post;
|
|
28
|
+
lang?: Lang;
|
|
26
29
|
category?: PostCategory;
|
|
27
30
|
draft?: Post;
|
|
31
|
+
website?: Website;
|
|
28
32
|
tagsAggregate?: Aggregate;
|
|
29
33
|
}
|
|
@@ -6,7 +6,9 @@ import { StringComparisonExp } from './StringComparisonExp';
|
|
|
6
6
|
import { TagBoolExp } from './TagBoolExp';
|
|
7
7
|
import { UserBoolExp } from './UserBoolExp';
|
|
8
8
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
9
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
9
10
|
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
11
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
10
12
|
/**
|
|
11
13
|
* 文章
|
|
12
14
|
*
|
|
@@ -24,6 +26,8 @@ export interface PostBoolExp extends PublishableBoolExp {
|
|
|
24
26
|
cover?: MediaBoolExp;
|
|
25
27
|
ogImage?: MediaBoolExp;
|
|
26
28
|
draftOf?: PostBoolExp;
|
|
29
|
+
lang?: LangBoolExp;
|
|
27
30
|
category?: PostCategoryBoolExp;
|
|
28
31
|
draft?: PostBoolExp;
|
|
32
|
+
website?: WebsiteBoolExp;
|
|
29
33
|
}
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { Post } from './Post';
|
|
2
|
+
import { Lang } from './Lang';
|
|
3
|
+
import { Website } from './Website';
|
|
2
4
|
import { Aggregate } from './Aggregate';
|
|
3
5
|
import { WebsitePart } from './WebsitePart';
|
|
6
|
+
import { Slugable } from './Slugable';
|
|
4
7
|
export declare const PostCategoryEntityName = "PostCategory";
|
|
5
8
|
export declare const PostCategoryEntityLabel = "\u6587\u7AE0\u5206\u7C7B";
|
|
6
9
|
/**
|
|
7
10
|
* 文章分类
|
|
8
11
|
*
|
|
9
12
|
*/
|
|
10
|
-
export interface PostCategory extends WebsitePart {
|
|
13
|
+
export interface PostCategory extends WebsitePart, Slugable {
|
|
11
14
|
id?: string;
|
|
12
15
|
name?: string;
|
|
13
16
|
seqValue?: number;
|
|
14
17
|
children?: PostCategory[];
|
|
15
18
|
posts?: Post[];
|
|
19
|
+
lang?: Lang;
|
|
16
20
|
parent?: PostCategory;
|
|
21
|
+
website?: Website;
|
|
17
22
|
childrenAggregate?: Aggregate;
|
|
18
23
|
postsAggregate?: Aggregate;
|
|
19
24
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { SlugableBoolExp } from './SlugableBoolExp';
|
|
2
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
4
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
5
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
6
|
import { PostBoolExp } from './PostBoolExp';
|
|
7
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
8
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
6
9
|
/**
|
|
7
10
|
* 文章分类
|
|
8
11
|
*
|
|
9
12
|
*/
|
|
10
|
-
export interface PostCategoryBoolExp extends WebsitePartBoolExp {
|
|
13
|
+
export interface PostCategoryBoolExp extends WebsitePartBoolExp, SlugableBoolExp {
|
|
11
14
|
_and?: PostCategoryBoolExp[];
|
|
12
15
|
_or?: PostCategoryBoolExp[];
|
|
13
16
|
_not?: PostCategoryBoolExp;
|
|
@@ -16,5 +19,7 @@ export interface PostCategoryBoolExp extends WebsitePartBoolExp {
|
|
|
16
19
|
seqValue?: NumberComparisonExp;
|
|
17
20
|
children?: PostCategoryBoolExp;
|
|
18
21
|
posts?: PostBoolExp;
|
|
22
|
+
lang?: LangBoolExp;
|
|
19
23
|
parent?: PostCategoryBoolExp;
|
|
24
|
+
website?: WebsiteBoolExp;
|
|
20
25
|
}
|
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
import { SlugableDistinctExp } from './SlugableDistinctExp';
|
|
2
3
|
export declare enum PostCategoryDistinctEnum {
|
|
3
4
|
id = "id",
|
|
4
5
|
name = "name",
|
|
5
6
|
seqValue = "seqValue",
|
|
6
|
-
websiteId = "websiteId",
|
|
7
|
-
slug = "slug",
|
|
8
|
-
description = "description",
|
|
9
|
-
/**
|
|
10
|
-
* 创建时间
|
|
11
|
-
*/
|
|
12
7
|
createdAt = "createdAt",
|
|
13
|
-
/**
|
|
14
|
-
* 更新时间
|
|
15
|
-
*/
|
|
16
8
|
updatedAt = "updatedAt",
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
remark = "remark"
|
|
9
|
+
slug = "slug",
|
|
10
|
+
description = "description"
|
|
21
11
|
}
|
|
22
|
-
export type PostCategoryDistinctExp = PostCategoryDistinctEnum | WebsitePartDistinctExp;
|
|
12
|
+
export type PostCategoryDistinctExp = PostCategoryDistinctEnum | WebsitePartDistinctExp | SlugableDistinctExp;
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { PostCategory } from './PostCategory';
|
|
2
2
|
import { PostInput } from './PostInput';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
4
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
3
5
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
4
6
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
5
7
|
import { WebsitePart } from './WebsitePart';
|
|
8
|
+
import { Slugable } from './Slugable';
|
|
6
9
|
/**
|
|
7
10
|
* 文章分类
|
|
8
11
|
*
|
|
9
12
|
*/
|
|
10
|
-
export interface PostCategoryInput extends WebsitePart {
|
|
13
|
+
export interface PostCategoryInput extends WebsitePart, Slugable {
|
|
11
14
|
id?: string;
|
|
12
15
|
name?: string;
|
|
13
16
|
seqValue?: number;
|
|
14
17
|
children?: SetHasMany<PostCategoryInput>;
|
|
15
18
|
posts?: SetHasMany<PostInput>;
|
|
19
|
+
lang?: SetHasOne<LangInput>;
|
|
16
20
|
parent?: SetHasOne<PostCategoryInput>;
|
|
21
|
+
website?: SetHasOne<WebsiteInput>;
|
|
17
22
|
}
|
|
18
23
|
export declare const postCategoryToInputCascade: (entity: PostCategory) => PostCategoryInput;
|
|
19
24
|
export declare const postCategoryToInput: (entity: PostCategory) => PostCategoryInput;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
2
|
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
|
+
import { SlugableOrderBy } from './SlugableOrderBy';
|
|
3
4
|
/**
|
|
4
5
|
* 文章分类
|
|
5
6
|
*
|
|
6
7
|
*/
|
|
7
|
-
export interface PostCategoryOrderBy extends WebsitePartOrderBy {
|
|
8
|
+
export interface PostCategoryOrderBy extends WebsitePartOrderBy, SlugableOrderBy {
|
|
8
9
|
id?: OrderBy;
|
|
9
10
|
name?: OrderBy;
|
|
10
11
|
seqValue?: OrderBy;
|
|
@@ -12,21 +12,8 @@ export declare enum PostDistinctEnum {
|
|
|
12
12
|
title = "title",
|
|
13
13
|
content = "content",
|
|
14
14
|
extends = "extends",
|
|
15
|
-
websiteId = "websiteId",
|
|
16
|
-
slug = "slug",
|
|
17
|
-
description = "description",
|
|
18
|
-
/**
|
|
19
|
-
* 创建时间
|
|
20
|
-
*/
|
|
21
15
|
createdAt = "createdAt",
|
|
22
|
-
/**
|
|
23
|
-
* 更新时间
|
|
24
|
-
*/
|
|
25
16
|
updatedAt = "updatedAt",
|
|
26
|
-
/**
|
|
27
|
-
* 备注
|
|
28
|
-
*/
|
|
29
|
-
remark = "remark",
|
|
30
17
|
seoTitle = "seoTitle",
|
|
31
18
|
seoKeywords = "seoKeywords",
|
|
32
19
|
seoDescription = "seoDescription",
|
|
@@ -40,6 +27,7 @@ export declare enum PostDistinctEnum {
|
|
|
40
27
|
xTitle = "xTitle",
|
|
41
28
|
xDescription = "xDescription",
|
|
42
29
|
xUrl = "xUrl",
|
|
43
|
-
|
|
30
|
+
slug = "slug",
|
|
31
|
+
description = "description"
|
|
44
32
|
}
|
|
45
33
|
export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp;
|
|
@@ -2,7 +2,9 @@ import { Post } from './Post';
|
|
|
2
2
|
import { TagInput } from './TagInput';
|
|
3
3
|
import { UserInput } from './UserInput';
|
|
4
4
|
import { MediaInput } from './MediaInput';
|
|
5
|
+
import { LangInput } from './LangInput';
|
|
5
6
|
import { PostCategoryInput } from './PostCategoryInput';
|
|
7
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
6
8
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
7
9
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
8
10
|
import { Publishable } from './Publishable';
|
|
@@ -23,8 +25,10 @@ export interface PostInput extends Publishable {
|
|
|
23
25
|
cover?: SetHasOne<MediaInput>;
|
|
24
26
|
ogImage?: SetHasOne<MediaInput>;
|
|
25
27
|
draftOf?: SetHasOne<PostInput>;
|
|
28
|
+
lang?: SetHasOne<LangInput>;
|
|
26
29
|
category?: SetHasOne<PostCategoryInput>;
|
|
27
30
|
draft?: SetHasOne<PostInput>;
|
|
31
|
+
website?: SetHasOne<WebsiteInput>;
|
|
28
32
|
}
|
|
29
33
|
export declare const postToInputCascade: (entity: Post) => PostInput;
|
|
30
34
|
export declare const postToInput: (entity: Post) => PostInput;
|
|
@@ -3,7 +3,9 @@ import { Tag } from './Tag';
|
|
|
3
3
|
import { Media } from './Media';
|
|
4
4
|
import { MediaOnProduct } from './MediaOnProduct';
|
|
5
5
|
import { AttachmentOnProduct } from './AttachmentOnProduct';
|
|
6
|
+
import { Lang } from './Lang';
|
|
6
7
|
import { User } from './User';
|
|
8
|
+
import { Website } from './Website';
|
|
7
9
|
import { Aggregate } from './Aggregate';
|
|
8
10
|
import { Publishable } from './Publishable';
|
|
9
11
|
export declare const ProductEntityName = "Product";
|
|
@@ -31,8 +33,10 @@ export interface Product extends Publishable {
|
|
|
31
33
|
draftOf?: Product;
|
|
32
34
|
mediaPivots?: MediaOnProduct[];
|
|
33
35
|
attachmentPivots?: AttachmentOnProduct[];
|
|
36
|
+
lang?: Lang;
|
|
34
37
|
creator?: User;
|
|
35
38
|
draft?: Product;
|
|
39
|
+
website?: Website;
|
|
36
40
|
tagsAggregate?: Aggregate;
|
|
37
41
|
mediaPivotsAggregate?: Aggregate;
|
|
38
42
|
attachmentPivotsAggregate?: Aggregate;
|
|
@@ -8,7 +8,9 @@ import { TagBoolExp } from './TagBoolExp';
|
|
|
8
8
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
9
9
|
import { MediaOnProductBoolExp } from './MediaOnProductBoolExp';
|
|
10
10
|
import { AttachmentOnProductBoolExp } from './AttachmentOnProductBoolExp';
|
|
11
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
11
12
|
import { UserBoolExp } from './UserBoolExp';
|
|
13
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
12
14
|
export interface ProductBoolExp extends PublishableBoolExp {
|
|
13
15
|
_and?: ProductBoolExp[];
|
|
14
16
|
_or?: ProductBoolExp[];
|
|
@@ -29,6 +31,8 @@ export interface ProductBoolExp extends PublishableBoolExp {
|
|
|
29
31
|
draftOf?: ProductBoolExp;
|
|
30
32
|
mediaPivots?: MediaOnProductBoolExp;
|
|
31
33
|
attachmentPivots?: AttachmentOnProductBoolExp;
|
|
34
|
+
lang?: LangBoolExp;
|
|
32
35
|
creator?: UserBoolExp;
|
|
33
36
|
draft?: ProductBoolExp;
|
|
37
|
+
website?: WebsiteBoolExp;
|
|
34
38
|
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { Media } from './Media';
|
|
2
|
+
import { Lang } from './Lang';
|
|
2
3
|
import { Product } from './Product';
|
|
4
|
+
import { Website } from './Website';
|
|
3
5
|
import { Aggregate } from './Aggregate';
|
|
4
6
|
import { WebsitePart } from './WebsitePart';
|
|
7
|
+
import { Slugable } from './Slugable';
|
|
5
8
|
export declare const ProductCategoryEntityName = "ProductCategory";
|
|
6
9
|
export declare const ProductCategoryEntityLabel = "";
|
|
7
|
-
export interface ProductCategory extends WebsitePart {
|
|
10
|
+
export interface ProductCategory extends WebsitePart, Slugable {
|
|
8
11
|
id?: string;
|
|
9
12
|
name?: string;
|
|
10
13
|
seqValue?: number;
|
|
11
14
|
children?: ProductCategory[];
|
|
12
15
|
media?: Media;
|
|
16
|
+
lang?: Lang;
|
|
13
17
|
parent?: ProductCategory;
|
|
14
18
|
products?: Product[];
|
|
19
|
+
website?: Website;
|
|
15
20
|
childrenAggregate?: Aggregate;
|
|
16
21
|
productsAggregate?: Aggregate;
|
|
17
22
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { SlugableBoolExp } from './SlugableBoolExp';
|
|
2
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
4
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
5
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
6
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
7
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
6
8
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
7
|
-
|
|
9
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
10
|
+
export interface ProductCategoryBoolExp extends WebsitePartBoolExp, SlugableBoolExp {
|
|
8
11
|
_and?: ProductCategoryBoolExp[];
|
|
9
12
|
_or?: ProductCategoryBoolExp[];
|
|
10
13
|
_not?: ProductCategoryBoolExp;
|
|
@@ -13,6 +16,8 @@ export interface ProductCategoryBoolExp extends WebsitePartBoolExp {
|
|
|
13
16
|
seqValue?: NumberComparisonExp;
|
|
14
17
|
children?: ProductCategoryBoolExp;
|
|
15
18
|
media?: MediaBoolExp;
|
|
19
|
+
lang?: LangBoolExp;
|
|
16
20
|
parent?: ProductCategoryBoolExp;
|
|
17
21
|
products?: ProductBoolExp;
|
|
22
|
+
website?: WebsiteBoolExp;
|
|
18
23
|
}
|
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
import { SlugableDistinctExp } from './SlugableDistinctExp';
|
|
2
3
|
export declare enum ProductCategoryDistinctEnum {
|
|
3
4
|
id = "id",
|
|
4
5
|
name = "name",
|
|
5
6
|
seqValue = "seqValue",
|
|
6
|
-
websiteId = "websiteId",
|
|
7
|
-
slug = "slug",
|
|
8
|
-
description = "description",
|
|
9
|
-
/**
|
|
10
|
-
* 创建时间
|
|
11
|
-
*/
|
|
12
7
|
createdAt = "createdAt",
|
|
13
|
-
/**
|
|
14
|
-
* 更新时间
|
|
15
|
-
*/
|
|
16
8
|
updatedAt = "updatedAt",
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
remark = "remark"
|
|
9
|
+
slug = "slug",
|
|
10
|
+
description = "description"
|
|
21
11
|
}
|
|
22
|
-
export type ProductCategoryDistinctExp = ProductCategoryDistinctEnum | WebsitePartDistinctExp;
|
|
12
|
+
export type ProductCategoryDistinctExp = ProductCategoryDistinctEnum | WebsitePartDistinctExp | SlugableDistinctExp;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { ProductCategory } from './ProductCategory';
|
|
2
2
|
import { MediaInput } from './MediaInput';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
3
4
|
import { ProductInput } from './ProductInput';
|
|
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';
|
|
7
|
-
|
|
9
|
+
import { Slugable } from './Slugable';
|
|
10
|
+
export interface ProductCategoryInput extends WebsitePart, Slugable {
|
|
8
11
|
id?: string;
|
|
9
12
|
name?: string;
|
|
10
13
|
seqValue?: number;
|
|
11
14
|
children?: SetHasMany<ProductCategoryInput>;
|
|
12
15
|
media?: SetHasOne<MediaInput>;
|
|
16
|
+
lang?: SetHasOne<LangInput>;
|
|
13
17
|
parent?: SetHasOne<ProductCategoryInput>;
|
|
14
18
|
products?: SetHasMany<ProductInput>;
|
|
19
|
+
website?: SetHasOne<WebsiteInput>;
|
|
15
20
|
}
|
|
16
21
|
export declare const productCategoryToInputCascade: (entity: ProductCategory) => ProductCategoryInput;
|
|
17
22
|
export declare const productCategoryToInput: (entity: ProductCategory) => ProductCategoryInput;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
2
|
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
|
-
|
|
3
|
+
import { SlugableOrderBy } from './SlugableOrderBy';
|
|
4
|
+
export interface ProductCategoryOrderBy extends WebsitePartOrderBy, SlugableOrderBy {
|
|
4
5
|
id?: OrderBy;
|
|
5
6
|
name?: OrderBy;
|
|
6
7
|
seqValue?: OrderBy;
|
|
@@ -21,21 +21,8 @@ export declare enum ProductDistinctEnum {
|
|
|
21
21
|
title = "title",
|
|
22
22
|
content = "content",
|
|
23
23
|
extends = "extends",
|
|
24
|
-
websiteId = "websiteId",
|
|
25
|
-
slug = "slug",
|
|
26
|
-
description = "description",
|
|
27
|
-
/**
|
|
28
|
-
* 创建时间
|
|
29
|
-
*/
|
|
30
24
|
createdAt = "createdAt",
|
|
31
|
-
/**
|
|
32
|
-
* 更新时间
|
|
33
|
-
*/
|
|
34
25
|
updatedAt = "updatedAt",
|
|
35
|
-
/**
|
|
36
|
-
* 备注
|
|
37
|
-
*/
|
|
38
|
-
remark = "remark",
|
|
39
26
|
seoTitle = "seoTitle",
|
|
40
27
|
seoKeywords = "seoKeywords",
|
|
41
28
|
seoDescription = "seoDescription",
|
|
@@ -49,6 +36,7 @@ export declare enum ProductDistinctEnum {
|
|
|
49
36
|
xTitle = "xTitle",
|
|
50
37
|
xDescription = "xDescription",
|
|
51
38
|
xUrl = "xUrl",
|
|
52
|
-
|
|
39
|
+
slug = "slug",
|
|
40
|
+
description = "description"
|
|
53
41
|
}
|
|
54
42
|
export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp;
|
|
@@ -4,7 +4,9 @@ import { TagInput } from './TagInput';
|
|
|
4
4
|
import { MediaInput } from './MediaInput';
|
|
5
5
|
import { MediaOnProductInput } from './MediaOnProductInput';
|
|
6
6
|
import { AttachmentOnProductInput } from './AttachmentOnProductInput';
|
|
7
|
+
import { LangInput } from './LangInput';
|
|
7
8
|
import { UserInput } from './UserInput';
|
|
9
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
8
10
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
9
11
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
10
12
|
import { Publishable } from './Publishable';
|
|
@@ -31,8 +33,10 @@ export interface ProductInput extends Publishable {
|
|
|
31
33
|
draftOf?: SetHasOne<ProductInput>;
|
|
32
34
|
mediaPivots?: SetHasMany<MediaOnProductInput>;
|
|
33
35
|
attachmentPivots?: SetHasMany<AttachmentOnProductInput>;
|
|
36
|
+
lang?: SetHasOne<LangInput>;
|
|
34
37
|
creator?: SetHasOne<UserInput>;
|
|
35
38
|
draft?: SetHasOne<ProductInput>;
|
|
39
|
+
website?: SetHasOne<WebsiteInput>;
|
|
36
40
|
}
|
|
37
41
|
export declare const productToInputCascade: (entity: Product) => ProductInput;
|
|
38
42
|
export declare const productToInput: (entity: Product) => ProductInput;
|
|
@@ -6,21 +6,8 @@ export declare enum PublishableDistinctEnum {
|
|
|
6
6
|
title = "title",
|
|
7
7
|
content = "content",
|
|
8
8
|
extends = "extends",
|
|
9
|
-
websiteId = "websiteId",
|
|
10
|
-
slug = "slug",
|
|
11
|
-
description = "description",
|
|
12
|
-
/**
|
|
13
|
-
* 创建时间
|
|
14
|
-
*/
|
|
15
9
|
createdAt = "createdAt",
|
|
16
|
-
/**
|
|
17
|
-
* 更新时间
|
|
18
|
-
*/
|
|
19
10
|
updatedAt = "updatedAt",
|
|
20
|
-
/**
|
|
21
|
-
* 备注
|
|
22
|
-
*/
|
|
23
|
-
remark = "remark",
|
|
24
11
|
seoTitle = "seoTitle",
|
|
25
12
|
seoKeywords = "seoKeywords",
|
|
26
13
|
seoDescription = "seoDescription",
|
|
@@ -34,6 +21,7 @@ export declare enum PublishableDistinctEnum {
|
|
|
34
21
|
xTitle = "xTitle",
|
|
35
22
|
xDescription = "xDescription",
|
|
36
23
|
xUrl = "xUrl",
|
|
37
|
-
|
|
24
|
+
slug = "slug",
|
|
25
|
+
description = "description"
|
|
38
26
|
}
|
|
39
27
|
export type PublishableDistinctExp = PublishableDistinctEnum | WebsiteContentDistinctExp;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
export interface SlugableBoolExp {
|
|
4
|
+
_and?: SlugableBoolExp[];
|
|
5
|
+
_or?: SlugableBoolExp[];
|
|
6
|
+
_not?: SlugableBoolExp;
|
|
7
|
+
id?: IdComparisonExp;
|
|
8
|
+
slug?: StringComparisonExp;
|
|
9
|
+
description?: StringComparisonExp;
|
|
10
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Lang } from './Lang';
|
|
2
|
+
import { Website } from './Website';
|
|
1
3
|
import { WebsitePart } from './WebsitePart';
|
|
2
4
|
export declare const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
3
5
|
export declare const SpamFilterRuleEntityLabel = "\u5783\u573E\u8FC7\u6EE4\u89C4\u5219";
|
|
@@ -12,4 +14,6 @@ export interface SpamFilterRule extends WebsitePart {
|
|
|
12
14
|
keywords?: string;
|
|
13
15
|
createdAt?: Date;
|
|
14
16
|
updatedAt?: Date;
|
|
17
|
+
lang?: Lang;
|
|
18
|
+
website?: Website;
|
|
15
19
|
}
|
|
@@ -2,6 +2,8 @@ import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
6
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
5
7
|
/**
|
|
6
8
|
* 垃圾过滤规则
|
|
7
9
|
*
|
|
@@ -16,4 +18,6 @@ export interface SpamFilterRuleBoolExp extends WebsitePartBoolExp {
|
|
|
16
18
|
keywords?: StringComparisonExp;
|
|
17
19
|
createdAt?: DateTimeComparisonExp;
|
|
18
20
|
updatedAt?: DateTimeComparisonExp;
|
|
21
|
+
lang?: LangBoolExp;
|
|
22
|
+
website?: WebsiteBoolExp;
|
|
19
23
|
}
|
|
@@ -5,13 +5,6 @@ export declare enum SpamFilterRuleDistinctEnum {
|
|
|
5
5
|
ips = "ips",
|
|
6
6
|
keywords = "keywords",
|
|
7
7
|
createdAt = "createdAt",
|
|
8
|
-
updatedAt = "updatedAt"
|
|
9
|
-
websiteId = "websiteId",
|
|
10
|
-
slug = "slug",
|
|
11
|
-
description = "description",
|
|
12
|
-
/**
|
|
13
|
-
* 备注
|
|
14
|
-
*/
|
|
15
|
-
remark = "remark"
|
|
8
|
+
updatedAt = "updatedAt"
|
|
16
9
|
}
|
|
17
10
|
export type SpamFilterRuleDistinctExp = SpamFilterRuleDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
2
|
+
import { LangInput } from './LangInput';
|
|
3
|
+
import { WebsiteInput } from './WebsiteInput';
|
|
4
|
+
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
2
5
|
import { WebsitePart } from './WebsitePart';
|
|
3
6
|
/**
|
|
4
7
|
* 垃圾过滤规则
|
|
@@ -11,6 +14,8 @@ export interface SpamFilterRuleInput extends WebsitePart {
|
|
|
11
14
|
keywords?: string;
|
|
12
15
|
createdAt?: Date;
|
|
13
16
|
updatedAt?: Date;
|
|
17
|
+
lang?: SetHasOne<LangInput>;
|
|
18
|
+
website?: SetHasOne<WebsiteInput>;
|
|
14
19
|
}
|
|
15
20
|
export declare const spamFilterRuleToInputCascade: (entity: SpamFilterRule) => SpamFilterRuleInput;
|
|
16
21
|
export declare const spamFilterRuleToInput: (entity: SpamFilterRule) => SpamFilterRuleInput;
|
package/dist/interfaces/Tag.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Lang } from './Lang';
|
|
1
2
|
import { Post } from './Post';
|
|
2
3
|
import { Product } from './Product';
|
|
4
|
+
import { Website } from './Website';
|
|
3
5
|
import { Aggregate } from './Aggregate';
|
|
4
6
|
import { WebsitePart } from './WebsitePart';
|
|
5
7
|
export declare const TagEntityName = "Tag";
|
|
@@ -15,8 +17,10 @@ export interface Tag extends WebsitePart {
|
|
|
15
17
|
*/
|
|
16
18
|
name?: string;
|
|
17
19
|
color?: string;
|
|
20
|
+
lang?: Lang;
|
|
18
21
|
posts?: Post[];
|
|
19
22
|
products?: Product[];
|
|
23
|
+
website?: Website;
|
|
20
24
|
postsAggregate?: Aggregate;
|
|
21
25
|
productsAggregate?: Aggregate;
|
|
22
26
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
4
5
|
import { PostBoolExp } from './PostBoolExp';
|
|
5
6
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
7
|
+
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
6
8
|
/**
|
|
7
9
|
* 文章标签
|
|
8
10
|
*
|
|
@@ -14,6 +16,8 @@ export interface TagBoolExp extends WebsitePartBoolExp {
|
|
|
14
16
|
id?: IdComparisonExp;
|
|
15
17
|
name?: StringComparisonExp;
|
|
16
18
|
color?: StringComparisonExp;
|
|
19
|
+
lang?: LangBoolExp;
|
|
17
20
|
posts?: PostBoolExp;
|
|
18
21
|
products?: ProductBoolExp;
|
|
22
|
+
website?: WebsiteBoolExp;
|
|
19
23
|
}
|
|
@@ -6,20 +6,7 @@ export declare enum TagDistinctEnum {
|
|
|
6
6
|
*/
|
|
7
7
|
name = "name",
|
|
8
8
|
color = "color",
|
|
9
|
-
websiteId = "websiteId",
|
|
10
|
-
slug = "slug",
|
|
11
|
-
description = "description",
|
|
12
|
-
/**
|
|
13
|
-
* 创建时间
|
|
14
|
-
*/
|
|
15
9
|
createdAt = "createdAt",
|
|
16
|
-
|
|
17
|
-
* 更新时间
|
|
18
|
-
*/
|
|
19
|
-
updatedAt = "updatedAt",
|
|
20
|
-
/**
|
|
21
|
-
* 备注
|
|
22
|
-
*/
|
|
23
|
-
remark = "remark"
|
|
10
|
+
updatedAt = "updatedAt"
|
|
24
11
|
}
|
|
25
12
|
export type TagDistinctExp = TagDistinctEnum | WebsitePartDistinctExp;
|