@rxdrag/rxcms-models 0.1.3 → 0.2.0
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/AbilityQueryOptions.d.ts +13 -0
- package/dist/classes/CustomerQueryOptions.d.ts +48 -0
- package/dist/classes/EnquiryQueryOptions.d.ts +36 -0
- package/dist/classes/LangQueryOptions.d.ts +36 -0
- package/dist/classes/MediaFolderQueryOptions.d.ts +30 -0
- package/dist/classes/MediaQueryOptions.d.ts +32 -0
- package/dist/classes/PageQueryOptions.d.ts +44 -0
- package/dist/classes/PostCategoryQueryOptions.d.ts +30 -0
- package/dist/classes/PostQueryOptions.d.ts +68 -0
- package/dist/classes/ProductCategoryQueryOptions.d.ts +30 -0
- package/dist/classes/ProductQueryOptions.d.ts +69 -0
- package/dist/classes/QueryOptions.d.ts +27 -0
- package/dist/classes/RoleQueryOptions.d.ts +16 -0
- package/dist/classes/SlugQueryOptions.d.ts +30 -0
- package/dist/classes/TagQueryOptions.d.ts +35 -0
- package/dist/classes/TemplateCategoryQueryOptions.d.ts +30 -0
- package/dist/classes/TemplateQueryOptions.d.ts +33 -0
- package/dist/classes/ThemeQueryOptions.d.ts +33 -0
- package/dist/classes/UserQueryOptions.d.ts +69 -0
- package/dist/classes/WebsiteMetaQueryOptions.d.ts +7 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +50 -0
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +32 -0
- package/dist/classes/WebsiteTypeQueryOptions.d.ts +33 -0
- package/dist/classes/index.d.ts +24 -0
- package/dist/classes/metainfo.d.ts +2 -0
- package/dist/fields/AbilityFields.d.ts +2 -0
- package/dist/fields/CustomerFields.d.ts +3 -1
- package/dist/fields/EnquiryFields.d.ts +15 -2
- package/dist/fields/LangFields.d.ts +2 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/MediaFolderFields.d.ts +3 -1
- package/dist/fields/PageFields.d.ts +10 -3
- package/dist/fields/PostCategoryFields.d.ts +3 -1
- package/dist/fields/PostFields.d.ts +9 -2
- package/dist/fields/ProductCategoryFields.d.ts +3 -1
- package/dist/fields/ProductFields.d.ts +12 -2
- package/dist/fields/RoleFields.d.ts +3 -1
- package/dist/fields/SlugFields.d.ts +3 -1
- package/dist/fields/TagFields.d.ts +3 -1
- package/dist/fields/TemplateCategoryFields.d.ts +3 -1
- package/dist/fields/TemplateFields.d.ts +3 -1
- package/dist/fields/ThemeFields.d.ts +3 -1
- package/dist/fields/UserFields.d.ts +3 -1
- package/dist/fields/WebsiteFields.d.ts +3 -1
- package/dist/fields/WebsiteMetaFields.d.ts +2 -0
- package/dist/fields/WebsiteSettingsFields.d.ts +10 -0
- package/dist/fields/WebsiteTypeFields.d.ts +3 -1
- package/dist/fields/index.d.ts +0 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2420 -240
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/BaseEntityOrderBy.d.ts +1 -1
- package/dist/interfaces/CustomizeMediaOrderBy.d.ts +1 -1
- package/dist/interfaces/Enquiry.d.ts +12 -1
- package/dist/interfaces/EnquiryBoolExp.d.ts +10 -1
- package/dist/interfaces/EnquiryDistinctExp.d.ts +12 -1
- package/dist/interfaces/EnquiryInput.d.ts +12 -1
- package/dist/interfaces/EnquiryOrderBy.d.ts +12 -1
- package/dist/interfaces/IdComparisonExp.d.ts +1 -0
- package/dist/interfaces/MediaAddonOrderBy.d.ts +5 -0
- package/dist/interfaces/MultiLangableOrderBy.d.ts +1 -1
- package/dist/interfaces/OgMeta.d.ts +5 -1
- package/dist/interfaces/OgMetaBoolExp.d.ts +5 -1
- package/dist/interfaces/OgMetaDistinctExp.d.ts +6 -2
- package/dist/interfaces/OgMetaOrderBy.d.ts +6 -2
- package/dist/interfaces/Page.d.ts +2 -0
- package/dist/interfaces/PageBoolExp.d.ts +2 -0
- package/dist/interfaces/PageDistinctExp.d.ts +5 -1
- package/dist/interfaces/PageInput.d.ts +2 -0
- package/dist/interfaces/PersonOrderBy.d.ts +1 -1
- package/dist/interfaces/Post.d.ts +1 -0
- package/dist/interfaces/PostBoolExp.d.ts +1 -0
- package/dist/interfaces/PostDistinctExp.d.ts +5 -1
- package/dist/interfaces/PostInput.d.ts +1 -0
- package/dist/interfaces/Product.d.ts +4 -0
- package/dist/interfaces/ProductBoolExp.d.ts +5 -0
- package/dist/interfaces/ProductDistinctExp.d.ts +8 -1
- package/dist/interfaces/ProductInput.d.ts +4 -0
- package/dist/interfaces/ProductOrderBy.d.ts +3 -0
- package/dist/interfaces/PublishableDistinctExp.d.ts +5 -1
- package/dist/interfaces/PublishableOrderBy.d.ts +1 -1
- package/dist/interfaces/SeoMetaOrderBy.d.ts +1 -1
- package/dist/interfaces/User.d.ts +2 -2
- package/dist/interfaces/UserBoolExp.d.ts +2 -2
- package/dist/interfaces/UserDistinctExp.d.ts +2 -2
- package/dist/interfaces/UserInput.d.ts +2 -2
- package/dist/interfaces/UserOrderBy.d.ts +2 -2
- package/dist/interfaces/WebsiteContentDistinctExp.d.ts +5 -1
- package/dist/interfaces/WebsiteContentOrderBy.d.ts +1 -1
- package/dist/interfaces/WebsitePartOrderBy.d.ts +1 -1
- package/dist/interfaces/WebsiteSettings.d.ts +8 -0
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +8 -0
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +8 -0
- package/dist/interfaces/WebsiteSettingsInput.d.ts +8 -0
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +8 -0
- package/dist/interfaces/WebsiteUser.d.ts +2 -2
- package/dist/interfaces/{WebSiteUserBoolExp.d.ts → WebsiteUserBoolExp.d.ts} +4 -4
- package/dist/interfaces/{WebSiteUserDistinctExp.d.ts → WebsiteUserDistinctExp.d.ts} +2 -2
- package/dist/interfaces/{WebSiteUserOrderBy.d.ts → WebsiteUserOrderBy.d.ts} +2 -2
- package/package.json +4 -4
- package/dist/fields/BaseEntityFields.d.ts +0 -15
- package/dist/fields/CustomizeMediaFields.d.ts +0 -7
- package/dist/fields/MultiLangableFields.d.ts +0 -4
- package/dist/fields/OgMetaFields.d.ts +0 -9
- package/dist/fields/PersonFields.d.ts +0 -26
- package/dist/fields/PublishableFields.d.ts +0 -35
- package/dist/fields/SeoMetaFields.d.ts +0 -6
- package/dist/fields/WebsiteContentFields.d.ts +0 -29
- package/dist/fields/WebsitePartFields.d.ts +0 -16
- package/dist/fields/WebsiteUserFields.d.ts +0 -35
|
@@ -5,6 +5,17 @@ export declare const EnquiryEntityLabel = "";
|
|
|
5
5
|
export interface Enquiry extends WebsitePart {
|
|
6
6
|
id?: string;
|
|
7
7
|
title?: string;
|
|
8
|
-
|
|
8
|
+
company?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
email?: string;
|
|
11
|
+
message?: string;
|
|
12
|
+
fromUrl?: string;
|
|
13
|
+
formIp?: string;
|
|
14
|
+
userAgent?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 来源cta
|
|
17
|
+
*/
|
|
18
|
+
fromCta?: string;
|
|
19
|
+
read?: boolean;
|
|
9
20
|
customer?: Customer;
|
|
10
21
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
|
+
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
5
|
import { CustomerBoolExp } from './CustomerBoolExp';
|
|
5
6
|
export interface EnquiryBoolExp extends WebsitePartBoolExp {
|
|
6
7
|
_and?: EnquiryBoolExp[];
|
|
@@ -8,6 +9,14 @@ export interface EnquiryBoolExp extends WebsitePartBoolExp {
|
|
|
8
9
|
_not?: EnquiryBoolExp;
|
|
9
10
|
id?: IdComparisonExp;
|
|
10
11
|
title?: StringComparisonExp;
|
|
11
|
-
|
|
12
|
+
company?: StringComparisonExp;
|
|
13
|
+
name?: StringComparisonExp;
|
|
14
|
+
email?: StringComparisonExp;
|
|
15
|
+
message?: StringComparisonExp;
|
|
16
|
+
fromUrl?: StringComparisonExp;
|
|
17
|
+
formIp?: StringComparisonExp;
|
|
18
|
+
userAgent?: StringComparisonExp;
|
|
19
|
+
fromCta?: StringComparisonExp;
|
|
20
|
+
read?: BooleanComparisonExp;
|
|
12
21
|
customer?: CustomerBoolExp;
|
|
13
22
|
}
|
|
@@ -2,7 +2,18 @@ import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
|
2
2
|
export declare enum EnquiryDistinctEnum {
|
|
3
3
|
id = "id",
|
|
4
4
|
title = "title",
|
|
5
|
-
|
|
5
|
+
company = "company",
|
|
6
|
+
name = "name",
|
|
7
|
+
email = "email",
|
|
8
|
+
message = "message",
|
|
9
|
+
fromUrl = "fromUrl",
|
|
10
|
+
formIp = "formIp",
|
|
11
|
+
userAgent = "userAgent",
|
|
12
|
+
/**
|
|
13
|
+
* 来源cta
|
|
14
|
+
*/
|
|
15
|
+
fromCta = "fromCta",
|
|
16
|
+
read = "read",
|
|
6
17
|
websiteId = "websiteId",
|
|
7
18
|
/**
|
|
8
19
|
* 创建时间
|
|
@@ -5,7 +5,18 @@ import { WebsitePart } from './WebsitePart';
|
|
|
5
5
|
export interface EnquiryInput extends WebsitePart {
|
|
6
6
|
id?: string;
|
|
7
7
|
title?: string;
|
|
8
|
-
|
|
8
|
+
company?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
email?: string;
|
|
11
|
+
message?: string;
|
|
12
|
+
fromUrl?: string;
|
|
13
|
+
formIp?: string;
|
|
14
|
+
userAgent?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 来源cta
|
|
17
|
+
*/
|
|
18
|
+
fromCta?: string;
|
|
19
|
+
read?: boolean;
|
|
9
20
|
customer?: SetHasOne<CustomerInput>;
|
|
10
21
|
}
|
|
11
22
|
export declare const enquiryToInputCascade: (entity: Enquiry) => EnquiryInput;
|
|
@@ -3,5 +3,16 @@ import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
|
3
3
|
export interface EnquiryOrderBy extends WebsitePartOrderBy {
|
|
4
4
|
id?: OrderBy;
|
|
5
5
|
title?: OrderBy;
|
|
6
|
-
|
|
6
|
+
company?: OrderBy;
|
|
7
|
+
name?: OrderBy;
|
|
8
|
+
email?: OrderBy;
|
|
9
|
+
message?: OrderBy;
|
|
10
|
+
fromUrl?: OrderBy;
|
|
11
|
+
formIp?: OrderBy;
|
|
12
|
+
userAgent?: OrderBy;
|
|
13
|
+
/**
|
|
14
|
+
* 来源cta
|
|
15
|
+
*/
|
|
16
|
+
fromCta?: OrderBy;
|
|
17
|
+
read?: OrderBy;
|
|
7
18
|
}
|
|
@@ -2,8 +2,12 @@ export interface OgMeta {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
ogTitle?: string;
|
|
4
4
|
ogDescription?: string;
|
|
5
|
-
ogImageUrl?: string;
|
|
6
5
|
ogUrl?: string;
|
|
7
6
|
ogSiteName?: string;
|
|
8
7
|
ogType?: string;
|
|
8
|
+
xCard?: string;
|
|
9
|
+
xSite?: string;
|
|
10
|
+
xTitle?: string;
|
|
11
|
+
xDescription?: string;
|
|
12
|
+
xUrl?: string;
|
|
9
13
|
}
|
|
@@ -7,8 +7,12 @@ export interface OgMetaBoolExp {
|
|
|
7
7
|
id?: IdComparisonExp;
|
|
8
8
|
ogTitle?: StringComparisonExp;
|
|
9
9
|
ogDescription?: StringComparisonExp;
|
|
10
|
-
ogImageUrl?: StringComparisonExp;
|
|
11
10
|
ogUrl?: StringComparisonExp;
|
|
12
11
|
ogSiteName?: StringComparisonExp;
|
|
13
12
|
ogType?: StringComparisonExp;
|
|
13
|
+
xCard?: StringComparisonExp;
|
|
14
|
+
xSite?: StringComparisonExp;
|
|
15
|
+
xTitle?: StringComparisonExp;
|
|
16
|
+
xDescription?: StringComparisonExp;
|
|
17
|
+
xUrl?: StringComparisonExp;
|
|
14
18
|
}
|
|
@@ -2,9 +2,13 @@ export declare enum OgMetaDistinctEnum {
|
|
|
2
2
|
id = "id",
|
|
3
3
|
ogTitle = "ogTitle",
|
|
4
4
|
ogDescription = "ogDescription",
|
|
5
|
-
ogImageUrl = "ogImageUrl",
|
|
6
5
|
ogUrl = "ogUrl",
|
|
7
6
|
ogSiteName = "ogSiteName",
|
|
8
|
-
ogType = "ogType"
|
|
7
|
+
ogType = "ogType",
|
|
8
|
+
xCard = "xCard",
|
|
9
|
+
xSite = "xSite",
|
|
10
|
+
xTitle = "xTitle",
|
|
11
|
+
xDescription = "xDescription",
|
|
12
|
+
xUrl = "xUrl"
|
|
9
13
|
}
|
|
10
14
|
export type OgMetaDistinctExp = OgMetaDistinctEnum;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { OrderBy } from '
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
2
|
export interface OgMetaOrderBy {
|
|
3
3
|
id?: OrderBy;
|
|
4
4
|
ogTitle?: OrderBy;
|
|
5
5
|
ogDescription?: OrderBy;
|
|
6
|
-
ogImageUrl?: OrderBy;
|
|
7
6
|
ogUrl?: OrderBy;
|
|
8
7
|
ogSiteName?: OrderBy;
|
|
9
8
|
ogType?: OrderBy;
|
|
9
|
+
xCard?: OrderBy;
|
|
10
|
+
xSite?: OrderBy;
|
|
11
|
+
xTitle?: OrderBy;
|
|
12
|
+
xDescription?: OrderBy;
|
|
13
|
+
xUrl?: OrderBy;
|
|
10
14
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Slug } from './Slug';
|
|
2
|
+
import { Media } from './Media';
|
|
2
3
|
import { WebsiteContent } from './WebsiteContent';
|
|
3
4
|
export declare const PageEntityName = "Page";
|
|
4
5
|
export declare const PageEntityLabel = "";
|
|
@@ -12,4 +13,5 @@ export interface Page extends WebsiteContent {
|
|
|
12
13
|
remark?: string;
|
|
13
14
|
langAbbr?: string;
|
|
14
15
|
slug?: Slug;
|
|
16
|
+
ogImage?: Media;
|
|
15
17
|
}
|
|
@@ -2,6 +2,7 @@ import { WebsiteContentBoolExp } from './WebsiteContentBoolExp';
|
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { SlugBoolExp } from './SlugBoolExp';
|
|
5
|
+
import { MediaBoolExp } from './MediaBoolExp';
|
|
5
6
|
export interface PageBoolExp extends WebsiteContentBoolExp {
|
|
6
7
|
_and?: PageBoolExp[];
|
|
7
8
|
_or?: PageBoolExp[];
|
|
@@ -12,4 +13,5 @@ export interface PageBoolExp extends WebsiteContentBoolExp {
|
|
|
12
13
|
remark?: StringComparisonExp;
|
|
13
14
|
langAbbr?: StringComparisonExp;
|
|
14
15
|
slug?: SlugBoolExp;
|
|
16
|
+
ogImage?: MediaBoolExp;
|
|
15
17
|
}
|
|
@@ -23,10 +23,14 @@ export declare enum PageDistinctEnum {
|
|
|
23
23
|
seoDescription = "seoDescription",
|
|
24
24
|
ogTitle = "ogTitle",
|
|
25
25
|
ogDescription = "ogDescription",
|
|
26
|
-
ogImageUrl = "ogImageUrl",
|
|
27
26
|
ogUrl = "ogUrl",
|
|
28
27
|
ogSiteName = "ogSiteName",
|
|
29
28
|
ogType = "ogType",
|
|
29
|
+
xCard = "xCard",
|
|
30
|
+
xSite = "xSite",
|
|
31
|
+
xTitle = "xTitle",
|
|
32
|
+
xDescription = "xDescription",
|
|
33
|
+
xUrl = "xUrl",
|
|
30
34
|
lang = "lang"
|
|
31
35
|
}
|
|
32
36
|
export type PageDistinctExp = PageDistinctEnum | WebsiteContentDistinctExp;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Page } from './Page';
|
|
2
2
|
import { SlugInput } from './SlugInput';
|
|
3
|
+
import { MediaInput } from './MediaInput';
|
|
3
4
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
4
5
|
import { WebsiteContent } from './WebsiteContent';
|
|
5
6
|
export interface PageInput extends WebsiteContent {
|
|
@@ -12,6 +13,7 @@ export interface PageInput extends WebsiteContent {
|
|
|
12
13
|
remark?: string;
|
|
13
14
|
langAbbr?: string;
|
|
14
15
|
slug?: SetHasOne<SlugInput>;
|
|
16
|
+
ogImage?: SetHasOne<MediaInput>;
|
|
15
17
|
}
|
|
16
18
|
export declare const pageToInputCascade: (entity: Page) => PageInput;
|
|
17
19
|
export declare const pageToInput: (entity: Page) => PageInput;
|
|
@@ -35,10 +35,14 @@ export declare enum PostDistinctEnum {
|
|
|
35
35
|
seoDescription = "seoDescription",
|
|
36
36
|
ogTitle = "ogTitle",
|
|
37
37
|
ogDescription = "ogDescription",
|
|
38
|
-
ogImageUrl = "ogImageUrl",
|
|
39
38
|
ogUrl = "ogUrl",
|
|
40
39
|
ogSiteName = "ogSiteName",
|
|
41
40
|
ogType = "ogType",
|
|
41
|
+
xCard = "xCard",
|
|
42
|
+
xSite = "xSite",
|
|
43
|
+
xTitle = "xTitle",
|
|
44
|
+
xDescription = "xDescription",
|
|
45
|
+
xUrl = "xUrl",
|
|
42
46
|
lang = "lang"
|
|
43
47
|
}
|
|
44
48
|
export type PostDistinctExp = PostDistinctEnum | PublishableDistinctExp;
|
|
@@ -24,6 +24,7 @@ export interface PostInput extends Publishable {
|
|
|
24
24
|
tags?: SetHasMany<TagInput>;
|
|
25
25
|
author?: SetHasOne<UserInput>;
|
|
26
26
|
cover?: SetHasOne<MediaInput>;
|
|
27
|
+
ogImage?: SetHasOne<MediaInput>;
|
|
27
28
|
category?: SetHasOne<PostCategoryInput>;
|
|
28
29
|
}
|
|
29
30
|
export declare const postToInputCascade: (entity: Post) => PostInput;
|
|
@@ -12,10 +12,14 @@ export interface Product extends Publishable {
|
|
|
12
12
|
id?: string;
|
|
13
13
|
published?: boolean;
|
|
14
14
|
summary?: string;
|
|
15
|
+
featured?: boolean;
|
|
16
|
+
showInNavMenu?: boolean;
|
|
17
|
+
seqValue?: number;
|
|
15
18
|
category?: ProductCategory;
|
|
16
19
|
medias?: (Media & MediaAddon)[];
|
|
17
20
|
slug?: Slug;
|
|
18
21
|
tags?: Tag[];
|
|
22
|
+
ogImage?: Media;
|
|
19
23
|
creator?: User;
|
|
20
24
|
mediasAggregate?: Aggregate;
|
|
21
25
|
tagsAggregate?: Aggregate;
|
|
@@ -2,6 +2,7 @@ import { PublishableBoolExp } from './PublishableBoolExp';
|
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
4
4
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
|
+
import { NumberComparisonExp } from './NumberComparisonExp';
|
|
5
6
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
6
7
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
7
8
|
import { SlugBoolExp } from './SlugBoolExp';
|
|
@@ -14,9 +15,13 @@ export interface ProductBoolExp extends PublishableBoolExp {
|
|
|
14
15
|
id?: IdComparisonExp;
|
|
15
16
|
published?: BooleanComparisonExp;
|
|
16
17
|
summary?: StringComparisonExp;
|
|
18
|
+
featured?: BooleanComparisonExp;
|
|
19
|
+
showInNavMenu?: BooleanComparisonExp;
|
|
20
|
+
seqValue?: NumberComparisonExp;
|
|
17
21
|
category?: ProductCategoryBoolExp;
|
|
18
22
|
medias?: MediaBoolExp;
|
|
19
23
|
slug?: SlugBoolExp;
|
|
20
24
|
tags?: TagBoolExp;
|
|
25
|
+
ogImage?: MediaBoolExp;
|
|
21
26
|
creator?: UserBoolExp;
|
|
22
27
|
}
|
|
@@ -3,6 +3,9 @@ export declare enum ProductDistinctEnum {
|
|
|
3
3
|
id = "id",
|
|
4
4
|
published = "published",
|
|
5
5
|
summary = "summary",
|
|
6
|
+
featured = "featured",
|
|
7
|
+
showInNavMenu = "showInNavMenu",
|
|
8
|
+
seqValue = "seqValue",
|
|
6
9
|
/**
|
|
7
10
|
* 发布的内容
|
|
8
11
|
*/
|
|
@@ -30,10 +33,14 @@ export declare enum ProductDistinctEnum {
|
|
|
30
33
|
seoDescription = "seoDescription",
|
|
31
34
|
ogTitle = "ogTitle",
|
|
32
35
|
ogDescription = "ogDescription",
|
|
33
|
-
ogImageUrl = "ogImageUrl",
|
|
34
36
|
ogUrl = "ogUrl",
|
|
35
37
|
ogSiteName = "ogSiteName",
|
|
36
38
|
ogType = "ogType",
|
|
39
|
+
xCard = "xCard",
|
|
40
|
+
xSite = "xSite",
|
|
41
|
+
xTitle = "xTitle",
|
|
42
|
+
xDescription = "xDescription",
|
|
43
|
+
xUrl = "xUrl",
|
|
37
44
|
lang = "lang"
|
|
38
45
|
}
|
|
39
46
|
export type ProductDistinctExp = ProductDistinctEnum | PublishableDistinctExp;
|
|
@@ -12,10 +12,14 @@ export interface ProductInput extends Publishable {
|
|
|
12
12
|
id?: string;
|
|
13
13
|
published?: boolean;
|
|
14
14
|
summary?: string;
|
|
15
|
+
featured?: boolean;
|
|
16
|
+
showInNavMenu?: boolean;
|
|
17
|
+
seqValue?: number;
|
|
15
18
|
category?: SetHasOne<ProductCategoryInput>;
|
|
16
19
|
medias?: SetHasMany<MediaInput & MediaAddon>;
|
|
17
20
|
slug?: SetHasOne<SlugInput>;
|
|
18
21
|
tags?: SetHasMany<TagInput>;
|
|
22
|
+
ogImage?: SetHasOne<MediaInput>;
|
|
19
23
|
creator?: SetHasOne<UserInput>;
|
|
20
24
|
}
|
|
21
25
|
export declare const productToInputCascade: (entity: Product) => ProductInput;
|
|
@@ -28,10 +28,14 @@ export declare enum PublishableDistinctEnum {
|
|
|
28
28
|
seoDescription = "seoDescription",
|
|
29
29
|
ogTitle = "ogTitle",
|
|
30
30
|
ogDescription = "ogDescription",
|
|
31
|
-
ogImageUrl = "ogImageUrl",
|
|
32
31
|
ogUrl = "ogUrl",
|
|
33
32
|
ogSiteName = "ogSiteName",
|
|
34
33
|
ogType = "ogType",
|
|
34
|
+
xCard = "xCard",
|
|
35
|
+
xSite = "xSite",
|
|
36
|
+
xTitle = "xTitle",
|
|
37
|
+
xDescription = "xDescription",
|
|
38
|
+
xUrl = "xUrl",
|
|
35
39
|
lang = "lang"
|
|
36
40
|
}
|
|
37
41
|
export type PublishableDistinctExp = PublishableDistinctEnum | WebsiteContentDistinctExp;
|
|
@@ -4,10 +4,10 @@ import { Product } from './Product';
|
|
|
4
4
|
import { Post } from './Post';
|
|
5
5
|
import { Website } from './Website';
|
|
6
6
|
import { Aggregate } from './Aggregate';
|
|
7
|
-
import {
|
|
7
|
+
import { WebsiteUser } from './WebsiteUser';
|
|
8
8
|
export declare const UserEntityName = "User";
|
|
9
9
|
export declare const UserEntityLabel = "";
|
|
10
|
-
export interface User extends
|
|
10
|
+
export interface User extends WebsiteUser {
|
|
11
11
|
id?: string;
|
|
12
12
|
loginName?: string;
|
|
13
13
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebsiteUserBoolExp } from './WebsiteUserBoolExp';
|
|
2
2
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
3
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
4
4
|
import { BooleanComparisonExp } from './BooleanComparisonExp';
|
|
@@ -8,7 +8,7 @@ import { MediaBoolExp } from './MediaBoolExp';
|
|
|
8
8
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
9
9
|
import { PostBoolExp } from './PostBoolExp';
|
|
10
10
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
11
|
-
export interface UserBoolExp extends
|
|
11
|
+
export interface UserBoolExp extends WebsiteUserBoolExp {
|
|
12
12
|
_and?: UserBoolExp[];
|
|
13
13
|
_or?: UserBoolExp[];
|
|
14
14
|
_not?: UserBoolExp;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebsiteUserDistinctExp } from './WebsiteUserDistinctExp';
|
|
2
2
|
export declare enum UserDistinctEnum {
|
|
3
3
|
id = "id",
|
|
4
4
|
loginName = "loginName",
|
|
@@ -40,4 +40,4 @@ export declare enum UserDistinctEnum {
|
|
|
40
40
|
*/
|
|
41
41
|
summary = "summary"
|
|
42
42
|
}
|
|
43
|
-
export type UserDistinctExp = UserDistinctEnum |
|
|
43
|
+
export type UserDistinctExp = UserDistinctEnum | WebsiteUserDistinctExp;
|
|
@@ -6,8 +6,8 @@ import { PostInput } from './PostInput';
|
|
|
6
6
|
import { WebsiteInput } from './WebsiteInput';
|
|
7
7
|
import { SetHasMany } from '@rxdrag/entify-hooks';
|
|
8
8
|
import { SetHasOne } from '@rxdrag/entify-hooks';
|
|
9
|
-
import {
|
|
10
|
-
export interface UserInput extends
|
|
9
|
+
import { WebsiteUser } from './WebsiteUser';
|
|
10
|
+
export interface UserInput extends WebsiteUser {
|
|
11
11
|
id?: string;
|
|
12
12
|
loginName?: string;
|
|
13
13
|
name?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-hooks';
|
|
2
|
-
import {
|
|
3
|
-
export interface UserOrderBy extends
|
|
2
|
+
import { WebsiteUserOrderBy } from './WebsiteUserOrderBy';
|
|
3
|
+
export interface UserOrderBy extends WebsiteUserOrderBy {
|
|
4
4
|
id?: OrderBy;
|
|
5
5
|
loginName?: OrderBy;
|
|
6
6
|
name?: OrderBy;
|
|
@@ -25,10 +25,14 @@ export declare enum WebsiteContentDistinctEnum {
|
|
|
25
25
|
seoDescription = "seoDescription",
|
|
26
26
|
ogTitle = "ogTitle",
|
|
27
27
|
ogDescription = "ogDescription",
|
|
28
|
-
ogImageUrl = "ogImageUrl",
|
|
29
28
|
ogUrl = "ogUrl",
|
|
30
29
|
ogSiteName = "ogSiteName",
|
|
31
30
|
ogType = "ogType",
|
|
31
|
+
xCard = "xCard",
|
|
32
|
+
xSite = "xSite",
|
|
33
|
+
xTitle = "xTitle",
|
|
34
|
+
xDescription = "xDescription",
|
|
35
|
+
xUrl = "xUrl",
|
|
32
36
|
lang = "lang"
|
|
33
37
|
}
|
|
34
38
|
export type WebsiteContentDistinctExp = WebsiteContentDistinctEnum | WebsitePartDistinctExp | SeoMetaDistinctExp | OgMetaDistinctExp | MultiLangableDistinctExp;
|
|
@@ -7,4 +7,12 @@ export interface WebsiteSettingsBoolExp extends WebsitePartBoolExp {
|
|
|
7
7
|
_not?: WebsiteSettingsBoolExp;
|
|
8
8
|
id?: IdComparisonExp;
|
|
9
9
|
smtpConfig?: StringComparisonExp;
|
|
10
|
+
contact?: StringComparisonExp;
|
|
11
|
+
address?: StringComparisonExp;
|
|
12
|
+
email?: StringComparisonExp;
|
|
13
|
+
tel?: StringComparisonExp;
|
|
14
|
+
fax?: StringComparisonExp;
|
|
15
|
+
wechat?: StringComparisonExp;
|
|
16
|
+
whatsapp?: StringComparisonExp;
|
|
17
|
+
mobile?: StringComparisonExp;
|
|
10
18
|
}
|
|
@@ -5,6 +5,14 @@ export declare enum WebsiteSettingsDistinctEnum {
|
|
|
5
5
|
* 邮件配置
|
|
6
6
|
*/
|
|
7
7
|
smtpConfig = "smtpConfig",
|
|
8
|
+
contact = "contact",
|
|
9
|
+
address = "address",
|
|
10
|
+
email = "email",
|
|
11
|
+
tel = "tel",
|
|
12
|
+
fax = "fax",
|
|
13
|
+
wechat = "wechat",
|
|
14
|
+
whatsapp = "whatsapp",
|
|
15
|
+
mobile = "mobile",
|
|
8
16
|
websiteId = "websiteId",
|
|
9
17
|
/**
|
|
10
18
|
* 创建时间
|
|
@@ -6,6 +6,14 @@ export interface WebsiteSettingsInput extends WebsitePart {
|
|
|
6
6
|
* 邮件配置
|
|
7
7
|
*/
|
|
8
8
|
smtpConfig?: string;
|
|
9
|
+
contact?: string;
|
|
10
|
+
address?: string;
|
|
11
|
+
email?: string;
|
|
12
|
+
tel?: string;
|
|
13
|
+
fax?: string;
|
|
14
|
+
wechat?: string;
|
|
15
|
+
whatsapp?: string;
|
|
16
|
+
mobile?: string;
|
|
9
17
|
}
|
|
10
18
|
export declare const websiteSettingsToInputCascade: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
11
19
|
export declare const websiteSettingsToInput: (entity: WebsiteSettings) => WebsiteSettingsInput;
|
|
@@ -6,4 +6,12 @@ export interface WebsiteSettingsOrderBy extends WebsitePartOrderBy {
|
|
|
6
6
|
* 邮件配置
|
|
7
7
|
*/
|
|
8
8
|
smtpConfig?: OrderBy;
|
|
9
|
+
contact?: OrderBy;
|
|
10
|
+
address?: OrderBy;
|
|
11
|
+
email?: OrderBy;
|
|
12
|
+
tel?: OrderBy;
|
|
13
|
+
fax?: OrderBy;
|
|
14
|
+
wechat?: OrderBy;
|
|
15
|
+
whatsapp?: OrderBy;
|
|
16
|
+
mobile?: OrderBy;
|
|
9
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UserType } from './UserType';
|
|
2
2
|
import { Person } from './Person';
|
|
3
|
-
export interface
|
|
3
|
+
export interface WebsiteUser extends Person {
|
|
4
4
|
id?: string;
|
|
5
5
|
/**
|
|
6
6
|
* 职位
|
|
@@ -9,6 +9,6 @@ export interface WebSiteUser extends Person {
|
|
|
9
9
|
/**
|
|
10
10
|
* 自我介绍
|
|
11
11
|
*/
|
|
12
|
-
profile?:
|
|
12
|
+
profile?: any;
|
|
13
13
|
userType?: UserType;
|
|
14
14
|
}
|
|
@@ -3,10 +3,10 @@ import { PersonBoolExp } from './PersonBoolExp';
|
|
|
3
3
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
4
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
5
|
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
6
|
-
export interface
|
|
7
|
-
_and?:
|
|
8
|
-
_or?:
|
|
9
|
-
_not?:
|
|
6
|
+
export interface WebsiteUserBoolExp extends PersonBoolExp {
|
|
7
|
+
_and?: WebsiteUserBoolExp[];
|
|
8
|
+
_or?: WebsiteUserBoolExp[];
|
|
9
|
+
_not?: WebsiteUserBoolExp;
|
|
10
10
|
id?: IdComparisonExp;
|
|
11
11
|
postion?: StringComparisonExp;
|
|
12
12
|
profile?: unknown;
|