@rxdrag/rxcms-models 0.2.3 → 0.2.4
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 +2 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +2 -0
- package/dist/classes/LangQueryOptions.d.ts +1 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +1 -0
- package/dist/classes/MediaQueryOptions.d.ts +5 -0
- package/dist/classes/PageQueryOptions.d.ts +1 -0
- package/dist/classes/PostCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/PostQueryOptions.d.ts +3 -5
- package/dist/classes/ProductCategoryQueryOptions.d.ts +4 -0
- package/dist/classes/ProductQueryOptions.d.ts +6 -3
- package/dist/classes/SpamFilterRuleQueryOptions.d.ts +19 -0
- package/dist/classes/TagQueryOptions.d.ts +1 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +1 -0
- package/dist/classes/TemplateQueryOptions.d.ts +1 -0
- package/dist/classes/ThemeQueryOptions.d.ts +1 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +20 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/spamFilterRuleEntry.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +2 -0
- package/dist/fields/EnquiryFields.d.ts +2 -0
- package/dist/fields/LangFields.d.ts +1 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/MediaFolderFields.d.ts +1 -0
- package/dist/fields/PageFields.d.ts +1 -0
- package/dist/fields/PostCategoryFields.d.ts +1 -0
- package/dist/fields/PostFields.d.ts +4 -6
- package/dist/fields/ProductCategoryFields.d.ts +2 -0
- package/dist/fields/ProductFields.d.ts +7 -4
- package/dist/fields/SpamFilterRuleFields.d.ts +17 -0
- package/dist/fields/TagFields.d.ts +1 -0
- package/dist/fields/TemplateCategoryFields.d.ts +1 -0
- package/dist/fields/TemplateFields.d.ts +1 -0
- package/dist/fields/ThemeFields.d.ts +1 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +20 -0
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +492 -36
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/BooleanComparisonExp.d.ts +1 -0
- package/dist/interfaces/Customer.d.ts +1 -0
- package/dist/interfaces/CustomerBoolExp.d.ts +2 -0
- package/dist/interfaces/CustomerDistinctExp.d.ts +2 -0
- package/dist/interfaces/CustomerInput.d.ts +1 -0
- package/dist/interfaces/CustomerOrderBy.d.ts +1 -0
- package/dist/interfaces/Enquiry.d.ts +1 -0
- package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
- package/dist/interfaces/EnquiryDistinctExp.d.ts +2 -0
- package/dist/interfaces/EnquiryInput.d.ts +1 -0
- package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
- package/dist/interfaces/LangDistinctExp.d.ts +1 -0
- package/dist/interfaces/Media.d.ts +3 -0
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaFolderDistinctExp.d.ts +1 -0
- package/dist/interfaces/MediaInput.d.ts +2 -0
- package/dist/interfaces/PageDistinctExp.d.ts +1 -0
- package/dist/interfaces/Post.d.ts +2 -1
- package/dist/interfaces/PostBoolExp.d.ts +2 -1
- package/dist/interfaces/PostCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/PostDistinctExp.d.ts +1 -5
- package/dist/interfaces/PostInput.d.ts +2 -1
- package/dist/interfaces/PostOrderBy.d.ts +0 -1
- package/dist/interfaces/Product.d.ts +7 -1
- package/dist/interfaces/ProductBoolExp.d.ts +5 -2
- package/dist/interfaces/ProductCategory.d.ts +2 -0
- package/dist/interfaces/ProductCategoryBoolExp.d.ts +2 -0
- package/dist/interfaces/ProductCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/ProductCategoryInput.d.ts +2 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +4 -3
- package/dist/interfaces/ProductInput.d.ts +7 -1
- package/dist/interfaces/ProductOrderBy.d.ts +5 -1
- package/dist/interfaces/Publishable.d.ts +4 -4
- package/dist/interfaces/PublishableBoolExp.d.ts +4 -1
- package/dist/interfaces/PublishableDistinctExp.d.ts +1 -4
- package/dist/interfaces/PublishableOrderBy.d.ts +4 -4
- package/dist/interfaces/SmtpConfig.d.ts +36 -0
- package/dist/interfaces/SpamFilterRule.d.ts +15 -0
- package/dist/interfaces/SpamFilterRuleBoolExp.d.ts +19 -0
- package/dist/interfaces/SpamFilterRuleDistinctExp.d.ts +17 -0
- package/dist/interfaces/SpamFilterRuleInput.d.ts +16 -0
- package/dist/interfaces/SpamFilterRuleOrderBy.d.ts +14 -0
- package/dist/interfaces/TagDistinctExp.d.ts +1 -0
- package/dist/interfaces/TemplateCategoryDistinctExp.d.ts +1 -0
- package/dist/interfaces/TemplateDistinctExp.d.ts +1 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +1 -2
- package/dist/interfaces/ThemeDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsitePart.d.ts +1 -0
- package/dist/interfaces/WebsitePartBoolExp.d.ts +1 -0
- package/dist/interfaces/WebsitePartDistinctExp.d.ts +1 -0
- package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsiteSettings.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +9 -1
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +20 -0
- package/dist/interfaces/WebsiteSettingsInput.d.ts +21 -1
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +19 -0
- package/dist/interfaces/WebsiteUser.d.ts +1 -1
- package/dist/interfaces/WebsiteUserBoolExp.d.ts +1 -1
- package/dist/interfaces/index.d.ts +36 -0
- package/package.json +2 -2
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
2
|
import { PersonBoolExp } from './PersonBoolExp';
|
|
3
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
5
|
import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
5
6
|
export interface CustomerBoolExp extends WebsitePartBoolExp, PersonBoolExp {
|
|
6
7
|
_and?: CustomerBoolExp[];
|
|
7
8
|
_or?: CustomerBoolExp[];
|
|
8
9
|
_not?: CustomerBoolExp;
|
|
9
10
|
id?: IdComparisonExp;
|
|
11
|
+
company?: StringComparisonExp;
|
|
10
12
|
enquires?: EnquiryBoolExp;
|
|
11
13
|
}
|
|
@@ -2,8 +2,10 @@ import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
|
2
2
|
import { PersonDistinctExp } from './PersonDistinctExp';
|
|
3
3
|
export declare enum CustomerDistinctEnum {
|
|
4
4
|
id = "id",
|
|
5
|
+
company = "company",
|
|
5
6
|
websiteId = "websiteId",
|
|
6
7
|
slug = "slug",
|
|
8
|
+
description = "description",
|
|
7
9
|
/**
|
|
8
10
|
* 创建时间
|
|
9
11
|
*/
|
|
@@ -5,6 +5,7 @@ import { WebsitePart } from './WebsitePart';
|
|
|
5
5
|
import { Person } from './Person';
|
|
6
6
|
export interface CustomerInput extends WebsitePart, Person {
|
|
7
7
|
id?: string;
|
|
8
|
+
company?: string;
|
|
8
9
|
enquires?: SetHasMany<EnquiryInput>;
|
|
9
10
|
}
|
|
10
11
|
export declare const customerToInputCascade: (entity: Customer) => CustomerInput;
|
|
@@ -3,6 +3,7 @@ import { FileRef } from './FileRef';
|
|
|
3
3
|
import { MediaFolder } from './MediaFolder';
|
|
4
4
|
import { User } from './User';
|
|
5
5
|
import { Product } from './Product';
|
|
6
|
+
import { ProductCategory } from './ProductCategory';
|
|
6
7
|
import { MediaAddon } from './MediaAddon';
|
|
7
8
|
import { AttachmentAddon } from './AttachmentAddon';
|
|
8
9
|
import { Aggregate } from './Aggregate';
|
|
@@ -24,6 +25,8 @@ export interface Media extends CustomizeMedia {
|
|
|
24
25
|
avatarOfUser?: User;
|
|
25
26
|
usedByProducts?: (Product & MediaAddon)[];
|
|
26
27
|
attachmentOf?: (Product & AttachmentAddon)[];
|
|
28
|
+
meidaOfProduct?: ProductCategory[];
|
|
27
29
|
usedByProductsAggregate?: Aggregate;
|
|
28
30
|
attachmentOfAggregate?: Aggregate;
|
|
31
|
+
meidaOfProductAggregate?: Aggregate;
|
|
29
32
|
}
|
|
@@ -8,6 +8,7 @@ import { EnumComparisonExp } from './EnumComparisonExp';
|
|
|
8
8
|
import { MediaFolderBoolExp } from './MediaFolderBoolExp';
|
|
9
9
|
import { UserBoolExp } from './UserBoolExp';
|
|
10
10
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
11
|
+
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
11
12
|
export interface MediaBoolExp extends CustomizeMediaBoolExp {
|
|
12
13
|
_and?: MediaBoolExp[];
|
|
13
14
|
_or?: MediaBoolExp[];
|
|
@@ -25,4 +26,5 @@ export interface MediaBoolExp extends CustomizeMediaBoolExp {
|
|
|
25
26
|
avatarOfUser?: UserBoolExp;
|
|
26
27
|
usedByProducts?: ProductBoolExp;
|
|
27
28
|
attachmentOf?: ProductBoolExp;
|
|
29
|
+
meidaOfProduct?: ProductCategoryBoolExp;
|
|
28
30
|
}
|
|
@@ -4,6 +4,7 @@ import { FileRef } from './FileRef';
|
|
|
4
4
|
import { MediaFolderInput } from './MediaFolderInput';
|
|
5
5
|
import { UserInput } from './UserInput';
|
|
6
6
|
import { ProductInput } from './ProductInput';
|
|
7
|
+
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
7
8
|
import { MediaAddon } from './MediaAddon';
|
|
8
9
|
import { AttachmentAddon } from './AttachmentAddon';
|
|
9
10
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
@@ -24,6 +25,7 @@ export interface MediaInput extends CustomizeMedia {
|
|
|
24
25
|
avatarOfUser?: SetHasOne<UserInput>;
|
|
25
26
|
usedByProducts?: SetHasMany<ProductInput & MediaAddon>;
|
|
26
27
|
attachmentOf?: SetHasMany<ProductInput & AttachmentAddon>;
|
|
28
|
+
meidaOfProduct?: SetHasMany<ProductCategoryInput>;
|
|
27
29
|
}
|
|
28
30
|
export declare const mediaToInputCascade: (entity: Media) => MediaInput;
|
|
29
31
|
export declare const mediaToInput: (entity: Media) => MediaInput;
|
|
@@ -18,11 +18,12 @@ export interface Post extends Publishable {
|
|
|
18
18
|
*/
|
|
19
19
|
pinToTop?: boolean;
|
|
20
20
|
authorEmail?: string;
|
|
21
|
-
summary?: string;
|
|
22
21
|
tags?: Tag[];
|
|
23
22
|
author?: User;
|
|
24
23
|
cover?: Media;
|
|
25
24
|
ogImage?: Media;
|
|
25
|
+
draftOf?: Post;
|
|
26
26
|
category?: PostCategory;
|
|
27
|
+
draft?: Post;
|
|
27
28
|
tagsAggregate?: Aggregate;
|
|
28
29
|
}
|
|
@@ -19,10 +19,11 @@ export interface PostBoolExp extends PublishableBoolExp {
|
|
|
19
19
|
seqValue?: NumberComparisonExp;
|
|
20
20
|
pinToTop?: BooleanComparisonExp;
|
|
21
21
|
authorEmail?: StringComparisonExp;
|
|
22
|
-
summary?: StringComparisonExp;
|
|
23
22
|
tags?: TagBoolExp;
|
|
24
23
|
author?: UserBoolExp;
|
|
25
24
|
cover?: MediaBoolExp;
|
|
26
25
|
ogImage?: MediaBoolExp;
|
|
26
|
+
draftOf?: PostBoolExp;
|
|
27
27
|
category?: PostCategoryBoolExp;
|
|
28
|
+
draft?: PostBoolExp;
|
|
28
29
|
}
|
|
@@ -7,11 +7,6 @@ export declare enum PostDistinctEnum {
|
|
|
7
7
|
*/
|
|
8
8
|
pinToTop = "pinToTop",
|
|
9
9
|
authorEmail = "authorEmail",
|
|
10
|
-
summary = "summary",
|
|
11
|
-
/**
|
|
12
|
-
* 发布的内容
|
|
13
|
-
*/
|
|
14
|
-
publishedContent = "publishedContent",
|
|
15
10
|
publishedAt = "publishedAt",
|
|
16
11
|
status = "status",
|
|
17
12
|
title = "title",
|
|
@@ -19,6 +14,7 @@ export declare enum PostDistinctEnum {
|
|
|
19
14
|
extends = "extends",
|
|
20
15
|
websiteId = "websiteId",
|
|
21
16
|
slug = "slug",
|
|
17
|
+
description = "description",
|
|
22
18
|
/**
|
|
23
19
|
* 创建时间
|
|
24
20
|
*/
|
|
@@ -18,12 +18,13 @@ export interface PostInput extends Publishable {
|
|
|
18
18
|
*/
|
|
19
19
|
pinToTop?: boolean;
|
|
20
20
|
authorEmail?: string;
|
|
21
|
-
summary?: string;
|
|
22
21
|
tags?: SetHasMany<TagInput>;
|
|
23
22
|
author?: SetHasOne<UserInput>;
|
|
24
23
|
cover?: SetHasOne<MediaInput>;
|
|
25
24
|
ogImage?: SetHasOne<MediaInput>;
|
|
25
|
+
draftOf?: SetHasOne<PostInput>;
|
|
26
26
|
category?: SetHasOne<PostCategoryInput>;
|
|
27
|
+
draft?: SetHasOne<PostInput>;
|
|
27
28
|
}
|
|
28
29
|
export declare const postToInputCascade: (entity: Post) => PostInput;
|
|
29
30
|
export declare const postToInput: (entity: Post) => PostInput;
|
|
@@ -11,7 +11,6 @@ export declare const ProductEntityLabel = "";
|
|
|
11
11
|
export interface Product extends Publishable {
|
|
12
12
|
id?: string;
|
|
13
13
|
published?: boolean;
|
|
14
|
-
summary?: string;
|
|
15
14
|
featured?: boolean;
|
|
16
15
|
showInNavMenu?: boolean;
|
|
17
16
|
seqValue?: number;
|
|
@@ -21,12 +20,19 @@ export interface Product extends Publishable {
|
|
|
21
20
|
features?: string;
|
|
22
21
|
content2?: any;
|
|
23
22
|
content3?: any;
|
|
23
|
+
shortTitle?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 第三方视频url
|
|
26
|
+
*/
|
|
27
|
+
externalVideoUrl?: string;
|
|
24
28
|
category?: ProductCategory;
|
|
25
29
|
medias?: (Media & MediaAddon)[];
|
|
26
30
|
tags?: Tag[];
|
|
27
31
|
ogImage?: Media;
|
|
28
32
|
attachments?: (Media & AttachmentAddon)[];
|
|
33
|
+
draftOf?: Product;
|
|
29
34
|
creator?: User;
|
|
35
|
+
draft?: Product;
|
|
30
36
|
mediasAggregate?: Aggregate;
|
|
31
37
|
tagsAggregate?: Aggregate;
|
|
32
38
|
attachmentsAggregate?: Aggregate;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PublishableBoolExp } from './PublishableBoolExp';
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
|
-
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
4
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
6
6
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
7
7
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
8
8
|
import { TagBoolExp } from './TagBoolExp';
|
|
@@ -13,17 +13,20 @@ export interface ProductBoolExp extends PublishableBoolExp {
|
|
|
13
13
|
_not?: ProductBoolExp;
|
|
14
14
|
id?: IdComparisonExp;
|
|
15
15
|
published?: BooleanComparisonExp;
|
|
16
|
-
summary?: StringComparisonExp;
|
|
17
16
|
featured?: BooleanComparisonExp;
|
|
18
17
|
showInNavMenu?: BooleanComparisonExp;
|
|
19
18
|
seqValue?: NumberComparisonExp;
|
|
20
19
|
features?: StringComparisonExp;
|
|
21
20
|
content2?: unknown;
|
|
22
21
|
content3?: unknown;
|
|
22
|
+
shortTitle?: StringComparisonExp;
|
|
23
|
+
externalVideoUrl?: StringComparisonExp;
|
|
23
24
|
category?: ProductCategoryBoolExp;
|
|
24
25
|
medias?: MediaBoolExp;
|
|
25
26
|
tags?: TagBoolExp;
|
|
26
27
|
ogImage?: MediaBoolExp;
|
|
27
28
|
attachments?: MediaBoolExp;
|
|
29
|
+
draftOf?: ProductBoolExp;
|
|
28
30
|
creator?: UserBoolExp;
|
|
31
|
+
draft?: ProductBoolExp;
|
|
29
32
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Media } from './Media';
|
|
1
2
|
import { Product } from './Product';
|
|
2
3
|
import { Aggregate } from './Aggregate';
|
|
3
4
|
import { WebsitePart } from './WebsitePart';
|
|
@@ -8,6 +9,7 @@ export interface ProductCategory extends WebsitePart {
|
|
|
8
9
|
name?: string;
|
|
9
10
|
seqValue?: number;
|
|
10
11
|
children?: ProductCategory[];
|
|
12
|
+
media?: Media;
|
|
11
13
|
parent?: ProductCategory;
|
|
12
14
|
products?: Product[];
|
|
13
15
|
childrenAggregate?: Aggregate;
|
|
@@ -2,6 +2,7 @@ import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
|
+
import { MediaBoolExp } from './MediaBoolExp';
|
|
5
6
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
6
7
|
export interface ProductCategoryBoolExp extends WebsitePartBoolExp {
|
|
7
8
|
_and?: ProductCategoryBoolExp[];
|
|
@@ -11,6 +12,7 @@ export interface ProductCategoryBoolExp extends WebsitePartBoolExp {
|
|
|
11
12
|
name?: StringComparisonExp;
|
|
12
13
|
seqValue?: NumberComparisonExp;
|
|
13
14
|
children?: ProductCategoryBoolExp;
|
|
15
|
+
media?: MediaBoolExp;
|
|
14
16
|
parent?: ProductCategoryBoolExp;
|
|
15
17
|
products?: ProductBoolExp;
|
|
16
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ProductCategory } from './ProductCategory';
|
|
2
|
+
import { MediaInput } from './MediaInput';
|
|
2
3
|
import { ProductInput } from './ProductInput';
|
|
3
4
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
4
5
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
@@ -8,6 +9,7 @@ export interface ProductCategoryInput extends WebsitePart {
|
|
|
8
9
|
name?: string;
|
|
9
10
|
seqValue?: number;
|
|
10
11
|
children?: SetHasMany<ProductCategoryInput>;
|
|
12
|
+
media?: SetHasOne<MediaInput>;
|
|
11
13
|
parent?: SetHasOne<ProductCategoryInput>;
|
|
12
14
|
products?: SetHasMany<ProductInput>;
|
|
13
15
|
}
|
|
@@ -2,7 +2,6 @@ import { PublishableDistinctExp } from './PublishableDistinctExp';
|
|
|
2
2
|
export declare enum ProductDistinctEnum {
|
|
3
3
|
id = "id",
|
|
4
4
|
published = "published",
|
|
5
|
-
summary = "summary",
|
|
6
5
|
featured = "featured",
|
|
7
6
|
showInNavMenu = "showInNavMenu",
|
|
8
7
|
seqValue = "seqValue",
|
|
@@ -12,10 +11,11 @@ export declare enum ProductDistinctEnum {
|
|
|
12
11
|
features = "features",
|
|
13
12
|
content2 = "content2",
|
|
14
13
|
content3 = "content3",
|
|
14
|
+
shortTitle = "shortTitle",
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* 第三方视频url
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
externalVideoUrl = "externalVideoUrl",
|
|
19
19
|
publishedAt = "publishedAt",
|
|
20
20
|
status = "status",
|
|
21
21
|
title = "title",
|
|
@@ -23,6 +23,7 @@ export declare enum ProductDistinctEnum {
|
|
|
23
23
|
extends = "extends",
|
|
24
24
|
websiteId = "websiteId",
|
|
25
25
|
slug = "slug",
|
|
26
|
+
description = "description",
|
|
26
27
|
/**
|
|
27
28
|
* 创建时间
|
|
28
29
|
*/
|
|
@@ -11,7 +11,6 @@ import { Publishable } from './Publishable';
|
|
|
11
11
|
export interface ProductInput extends Publishable {
|
|
12
12
|
id?: string;
|
|
13
13
|
published?: boolean;
|
|
14
|
-
summary?: string;
|
|
15
14
|
featured?: boolean;
|
|
16
15
|
showInNavMenu?: boolean;
|
|
17
16
|
seqValue?: number;
|
|
@@ -21,12 +20,19 @@ export interface ProductInput extends Publishable {
|
|
|
21
20
|
features?: string;
|
|
22
21
|
content2?: any;
|
|
23
22
|
content3?: any;
|
|
23
|
+
shortTitle?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 第三方视频url
|
|
26
|
+
*/
|
|
27
|
+
externalVideoUrl?: string;
|
|
24
28
|
category?: SetHasOne<ProductCategoryInput>;
|
|
25
29
|
medias?: SetHasMany<MediaInput & MediaAddon>;
|
|
26
30
|
tags?: SetHasMany<TagInput>;
|
|
27
31
|
ogImage?: SetHasOne<MediaInput>;
|
|
28
32
|
attachments?: SetHasMany<MediaInput & AttachmentAddon>;
|
|
33
|
+
draftOf?: SetHasOne<ProductInput>;
|
|
29
34
|
creator?: SetHasOne<UserInput>;
|
|
35
|
+
draft?: SetHasOne<ProductInput>;
|
|
30
36
|
}
|
|
31
37
|
export declare const productToInputCascade: (entity: Product) => ProductInput;
|
|
32
38
|
export declare const productToInput: (entity: Product) => ProductInput;
|
|
@@ -3,7 +3,6 @@ import { PublishableOrderBy } from './PublishableOrderBy';
|
|
|
3
3
|
export interface ProductOrderBy extends PublishableOrderBy {
|
|
4
4
|
id?: OrderBy;
|
|
5
5
|
published?: OrderBy;
|
|
6
|
-
summary?: OrderBy;
|
|
7
6
|
featured?: OrderBy;
|
|
8
7
|
showInNavMenu?: OrderBy;
|
|
9
8
|
seqValue?: OrderBy;
|
|
@@ -13,4 +12,9 @@ export interface ProductOrderBy extends PublishableOrderBy {
|
|
|
13
12
|
features?: OrderBy;
|
|
14
13
|
content2?: OrderBy;
|
|
15
14
|
content3?: OrderBy;
|
|
15
|
+
shortTitle?: OrderBy;
|
|
16
|
+
/**
|
|
17
|
+
* 第三方视频url
|
|
18
|
+
*/
|
|
19
|
+
externalVideoUrl?: OrderBy;
|
|
16
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PublishableStatus } from './PublishableStatus';
|
|
2
2
|
import { WebsiteContent } from './WebsiteContent';
|
|
3
|
+
/**
|
|
4
|
+
* Publishable
|
|
5
|
+
* 草稿发布是一个 复制的过程
|
|
6
|
+
*/
|
|
3
7
|
export interface Publishable extends WebsiteContent {
|
|
4
8
|
id?: string;
|
|
5
|
-
/**
|
|
6
|
-
* 发布的内容
|
|
7
|
-
*/
|
|
8
|
-
publishedContent?: any;
|
|
9
9
|
publishedAt?: Date;
|
|
10
10
|
status?: PublishableStatus;
|
|
11
11
|
}
|
|
@@ -3,12 +3,15 @@ import { WebsiteContentBoolExp } from './WebsiteContentBoolExp';
|
|
|
3
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
4
|
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
5
|
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
6
|
+
/**
|
|
7
|
+
* Publishable
|
|
8
|
+
* 草稿发布是一个 复制的过程
|
|
9
|
+
*/
|
|
6
10
|
export interface PublishableBoolExp extends WebsiteContentBoolExp {
|
|
7
11
|
_and?: PublishableBoolExp[];
|
|
8
12
|
_or?: PublishableBoolExp[];
|
|
9
13
|
_not?: PublishableBoolExp;
|
|
10
14
|
id?: IdComparisonExp;
|
|
11
|
-
publishedContent?: unknown;
|
|
12
15
|
publishedAt?: DateTimeComparisonExp;
|
|
13
16
|
status?: EnumComparisonExp<PublishableStatus>;
|
|
14
17
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { WebsiteContentDistinctExp } from './WebsiteContentDistinctExp';
|
|
2
2
|
export declare enum PublishableDistinctEnum {
|
|
3
3
|
id = "id",
|
|
4
|
-
/**
|
|
5
|
-
* 发布的内容
|
|
6
|
-
*/
|
|
7
|
-
publishedContent = "publishedContent",
|
|
8
4
|
publishedAt = "publishedAt",
|
|
9
5
|
status = "status",
|
|
10
6
|
title = "title",
|
|
@@ -12,6 +8,7 @@ export declare enum PublishableDistinctEnum {
|
|
|
12
8
|
extends = "extends",
|
|
13
9
|
websiteId = "websiteId",
|
|
14
10
|
slug = "slug",
|
|
11
|
+
description = "description",
|
|
15
12
|
/**
|
|
16
13
|
* 创建时间
|
|
17
14
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
2
|
import { WebsiteContentOrderBy } from './WebsiteContentOrderBy';
|
|
3
|
+
/**
|
|
4
|
+
* Publishable
|
|
5
|
+
* 草稿发布是一个 复制的过程
|
|
6
|
+
*/
|
|
3
7
|
export interface PublishableOrderBy extends WebsiteContentOrderBy {
|
|
4
8
|
id?: OrderBy;
|
|
5
|
-
/**
|
|
6
|
-
* 发布的内容
|
|
7
|
-
*/
|
|
8
|
-
publishedContent?: OrderBy;
|
|
9
9
|
publishedAt?: OrderBy;
|
|
10
10
|
status?: OrderBy;
|
|
11
11
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface SmtpConfig {
|
|
2
|
+
/**
|
|
3
|
+
* 服务器地址
|
|
4
|
+
*/
|
|
5
|
+
smtpServer?: string;
|
|
6
|
+
/**
|
|
7
|
+
* 端口
|
|
8
|
+
*/
|
|
9
|
+
port?: string;
|
|
10
|
+
useName?: string;
|
|
11
|
+
password?: string;
|
|
12
|
+
/**
|
|
13
|
+
* 加密类型
|
|
14
|
+
*/
|
|
15
|
+
encryption?: string;
|
|
16
|
+
/**
|
|
17
|
+
* 是否需要身份验证
|
|
18
|
+
*/
|
|
19
|
+
authentication?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 发件人邮箱
|
|
22
|
+
*/
|
|
23
|
+
fromEmail?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 回复邮箱
|
|
26
|
+
*/
|
|
27
|
+
replyToEmail?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 超时时间(秒)
|
|
30
|
+
*/
|
|
31
|
+
timeout?: number;
|
|
32
|
+
/**
|
|
33
|
+
* 使用Saas配置
|
|
34
|
+
*/
|
|
35
|
+
useSaasConfig?: boolean;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WebsitePart } from './WebsitePart';
|
|
2
|
+
export declare const SpamFilterRuleEntityName = "SpamFilterRule";
|
|
3
|
+
export declare const SpamFilterRuleEntityLabel = "\u5783\u573E\u8FC7\u6EE4\u89C4\u5219";
|
|
4
|
+
/**
|
|
5
|
+
* 垃圾过滤规则
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export interface SpamFilterRule extends WebsitePart {
|
|
9
|
+
id?: string;
|
|
10
|
+
emails?: string;
|
|
11
|
+
ips?: string;
|
|
12
|
+
keywords?: string;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
5
|
+
/**
|
|
6
|
+
* 垃圾过滤规则
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export interface SpamFilterRuleBoolExp extends WebsitePartBoolExp {
|
|
10
|
+
_and?: SpamFilterRuleBoolExp[];
|
|
11
|
+
_or?: SpamFilterRuleBoolExp[];
|
|
12
|
+
_not?: SpamFilterRuleBoolExp;
|
|
13
|
+
id?: IdComparisonExp;
|
|
14
|
+
emails?: StringComparisonExp;
|
|
15
|
+
ips?: StringComparisonExp;
|
|
16
|
+
keywords?: StringComparisonExp;
|
|
17
|
+
createdAt?: DateTimeComparisonExp;
|
|
18
|
+
updatedAt?: DateTimeComparisonExp;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
|
+
export declare enum SpamFilterRuleDistinctEnum {
|
|
3
|
+
id = "id",
|
|
4
|
+
emails = "emails",
|
|
5
|
+
ips = "ips",
|
|
6
|
+
keywords = "keywords",
|
|
7
|
+
createdAt = "createdAt",
|
|
8
|
+
updatedAt = "updatedAt",
|
|
9
|
+
websiteId = "websiteId",
|
|
10
|
+
slug = "slug",
|
|
11
|
+
description = "description",
|
|
12
|
+
/**
|
|
13
|
+
* 备注
|
|
14
|
+
*/
|
|
15
|
+
remark = "remark"
|
|
16
|
+
}
|
|
17
|
+
export type SpamFilterRuleDistinctExp = SpamFilterRuleDistinctEnum | WebsitePartDistinctExp;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SpamFilterRule } from './SpamFilterRule';
|
|
2
|
+
import { WebsitePart } from './WebsitePart';
|
|
3
|
+
/**
|
|
4
|
+
* 垃圾过滤规则
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface SpamFilterRuleInput extends WebsitePart {
|
|
8
|
+
id?: string;
|
|
9
|
+
emails?: string;
|
|
10
|
+
ips?: string;
|
|
11
|
+
keywords?: string;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
}
|
|
15
|
+
export declare const spamFilterRuleToInputCascade: (entity: SpamFilterRule) => SpamFilterRuleInput;
|
|
16
|
+
export declare const spamFilterRuleToInput: (entity: SpamFilterRule) => SpamFilterRuleInput;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
+
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
|
+
/**
|
|
4
|
+
* 垃圾过滤规则
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export interface SpamFilterRuleOrderBy extends WebsitePartOrderBy {
|
|
8
|
+
id?: OrderBy;
|
|
9
|
+
emails?: OrderBy;
|
|
10
|
+
ips?: OrderBy;
|
|
11
|
+
keywords?: OrderBy;
|
|
12
|
+
createdAt?: OrderBy;
|
|
13
|
+
updatedAt?: OrderBy;
|
|
14
|
+
}
|