@rxdrag/rxcms-models 0.3.94 → 0.3.95
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/LangQueryOptions.d.ts +5 -5
- package/dist/classes/TagQueryOptions.d.ts +1 -2
- package/dist/classes/WebsiteQueryOptions.d.ts +5 -5
- package/dist/fields/LangFields.d.ts +3 -3
- package/dist/fields/TagFields.d.ts +1 -2
- package/dist/fields/WebsiteFields.d.ts +2 -2
- package/dist/index.mjs +65 -71
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Lang.d.ts +3 -3
- package/dist/interfaces/LangBoolExp.d.ts +2 -2
- package/dist/interfaces/LangInput.d.ts +2 -2
- package/dist/interfaces/Tag.d.ts +3 -2
- package/dist/interfaces/TagBoolExp.d.ts +4 -2
- package/dist/interfaces/TagDistinctExp.d.ts +2 -4
- package/dist/interfaces/TagInput.d.ts +3 -2
- package/dist/interfaces/TagOrderBy.d.ts +3 -2
- package/dist/interfaces/Website.d.ts +3 -3
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -2
- package/dist/interfaces/WebsiteInput.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ import { Enquiry } from './Enquiry';
|
|
|
3
3
|
import { Product } from './Product';
|
|
4
4
|
import { Post } from './Post';
|
|
5
5
|
import { PostCategory } from './PostCategory';
|
|
6
|
-
import { Tag } from './Tag';
|
|
7
6
|
import { Customer } from './Customer';
|
|
8
7
|
import { ProductCategory } from './ProductCategory';
|
|
9
8
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
@@ -11,6 +10,7 @@ import { Media } from './Media';
|
|
|
11
10
|
import { Website } from './Website';
|
|
12
11
|
import { ThemeBranch } from './ThemeBranch';
|
|
13
12
|
import { Bulletin } from './Bulletin';
|
|
13
|
+
import { Tag } from './Tag';
|
|
14
14
|
import { Aggregate } from './Aggregate';
|
|
15
15
|
export declare const LangEntityName = "Lang";
|
|
16
16
|
export declare const LangEntityLabel = "\u8BED\u8A00";
|
|
@@ -49,7 +49,6 @@ export interface Lang {
|
|
|
49
49
|
webPartsOfProduct?: Product[];
|
|
50
50
|
webPartsOfPost?: Post[];
|
|
51
51
|
webPartsOfPostCategory?: PostCategory[];
|
|
52
|
-
webPartsOfTag?: Tag[];
|
|
53
52
|
webPartsOfCustomer?: Customer[];
|
|
54
53
|
webPartsOfProductCategory?: ProductCategory[];
|
|
55
54
|
webPartsOfSpamFilterRule?: SpamFilterRule[];
|
|
@@ -58,12 +57,12 @@ export interface Lang {
|
|
|
58
57
|
baseLangOf?: Website[];
|
|
59
58
|
themes?: ThemeBranch[];
|
|
60
59
|
bulletins?: Bulletin[];
|
|
60
|
+
tags?: Tag[];
|
|
61
61
|
webPartsOfMediaFolderAggregate?: Aggregate;
|
|
62
62
|
webPartsOfEnquiryAggregate?: Aggregate;
|
|
63
63
|
webPartsOfProductAggregate?: Aggregate;
|
|
64
64
|
webPartsOfPostAggregate?: Aggregate;
|
|
65
65
|
webPartsOfPostCategoryAggregate?: Aggregate;
|
|
66
|
-
webPartsOfTagAggregate?: Aggregate;
|
|
67
66
|
webPartsOfCustomerAggregate?: Aggregate;
|
|
68
67
|
webPartsOfProductCategoryAggregate?: Aggregate;
|
|
69
68
|
webPartsOfSpamFilterRuleAggregate?: Aggregate;
|
|
@@ -72,4 +71,5 @@ export interface Lang {
|
|
|
72
71
|
baseLangOfAggregate?: Aggregate;
|
|
73
72
|
themesAggregate?: Aggregate;
|
|
74
73
|
bulletinsAggregate?: Aggregate;
|
|
74
|
+
tagsAggregate?: Aggregate;
|
|
75
75
|
}
|
|
@@ -5,7 +5,6 @@ import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
|
5
5
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
6
6
|
import { PostBoolExp } from './PostBoolExp';
|
|
7
7
|
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
8
|
-
import { TagBoolExp } from './TagBoolExp';
|
|
9
8
|
import { CustomerBoolExp } from './CustomerBoolExp';
|
|
10
9
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
11
10
|
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
@@ -13,6 +12,7 @@ import { MediaBoolExp } from './MediaBoolExp';
|
|
|
13
12
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
14
13
|
import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
|
|
15
14
|
import { BulletinBoolExp } from './BulletinBoolExp';
|
|
15
|
+
import { TagBoolExp } from './TagBoolExp';
|
|
16
16
|
/**
|
|
17
17
|
* 语言
|
|
18
18
|
*
|
|
@@ -36,7 +36,6 @@ export interface LangBoolExp {
|
|
|
36
36
|
webPartsOfProduct?: ProductBoolExp;
|
|
37
37
|
webPartsOfPost?: PostBoolExp;
|
|
38
38
|
webPartsOfPostCategory?: PostCategoryBoolExp;
|
|
39
|
-
webPartsOfTag?: TagBoolExp;
|
|
40
39
|
webPartsOfCustomer?: CustomerBoolExp;
|
|
41
40
|
webPartsOfProductCategory?: ProductCategoryBoolExp;
|
|
42
41
|
webPartsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
@@ -45,4 +44,5 @@ export interface LangBoolExp {
|
|
|
45
44
|
baseLangOf?: WebsiteBoolExp;
|
|
46
45
|
themes?: ThemeBranchBoolExp;
|
|
47
46
|
bulletins?: BulletinBoolExp;
|
|
47
|
+
tags?: TagBoolExp;
|
|
48
48
|
}
|
|
@@ -4,7 +4,6 @@ import { EnquiryInput } from './EnquiryInput';
|
|
|
4
4
|
import { ProductInput } from './ProductInput';
|
|
5
5
|
import { PostInput } from './PostInput';
|
|
6
6
|
import { PostCategoryInput } from './PostCategoryInput';
|
|
7
|
-
import { TagInput } from './TagInput';
|
|
8
7
|
import { CustomerInput } from './CustomerInput';
|
|
9
8
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
10
9
|
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
@@ -12,6 +11,7 @@ import { MediaInput } from './MediaInput';
|
|
|
12
11
|
import { WebsiteInput } from './WebsiteInput';
|
|
13
12
|
import { ThemeBranchInput } from './ThemeBranchInput';
|
|
14
13
|
import { BulletinInput } from './BulletinInput';
|
|
14
|
+
import { TagInput } from './TagInput';
|
|
15
15
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
16
16
|
/**
|
|
17
17
|
* 语言
|
|
@@ -48,7 +48,6 @@ export interface LangInput {
|
|
|
48
48
|
webPartsOfProduct?: SetHasMany<ProductInput>;
|
|
49
49
|
webPartsOfPost?: SetHasMany<PostInput>;
|
|
50
50
|
webPartsOfPostCategory?: SetHasMany<PostCategoryInput>;
|
|
51
|
-
webPartsOfTag?: SetHasMany<TagInput>;
|
|
52
51
|
webPartsOfCustomer?: SetHasMany<CustomerInput>;
|
|
53
52
|
webPartsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
54
53
|
webPartsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
@@ -57,6 +56,7 @@ export interface LangInput {
|
|
|
57
56
|
baseLangOf?: SetHasMany<WebsiteInput>;
|
|
58
57
|
themes?: SetHasMany<ThemeBranchInput>;
|
|
59
58
|
bulletins?: SetHasMany<BulletinInput>;
|
|
59
|
+
tags?: SetHasMany<TagInput>;
|
|
60
60
|
}
|
|
61
61
|
export declare const langToInputCascade: (entity: Lang) => LangInput;
|
|
62
62
|
export declare const langToInput: (entity: Lang) => LangInput;
|
package/dist/interfaces/Tag.d.ts
CHANGED
|
@@ -3,20 +3,21 @@ import { Post } from './Post';
|
|
|
3
3
|
import { Product } from './Product';
|
|
4
4
|
import { Website } from './Website';
|
|
5
5
|
import { Aggregate } from './Aggregate';
|
|
6
|
-
import { WebsitePart } from './WebsitePart';
|
|
7
6
|
export declare const TagEntityName = "Tag";
|
|
8
7
|
export declare const TagEntityLabel = "\u6587\u7AE0\u6807\u7B7E";
|
|
9
8
|
/**
|
|
10
9
|
* 文章标签
|
|
11
10
|
*
|
|
12
11
|
*/
|
|
13
|
-
export interface Tag
|
|
12
|
+
export interface Tag {
|
|
14
13
|
id?: string | null;
|
|
15
14
|
/**
|
|
16
15
|
* 名称
|
|
17
16
|
*/
|
|
18
17
|
name?: string;
|
|
19
18
|
color?: string;
|
|
19
|
+
updatedAt?: Date;
|
|
20
|
+
createdAt?: Date;
|
|
20
21
|
lang?: Lang;
|
|
21
22
|
posts?: Post[];
|
|
22
23
|
products?: Product[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WebsitePartBoolExp } from './WebsitePartBoolExp';
|
|
2
1
|
import { IdComparisonExp } from './IdComparisonExp';
|
|
3
2
|
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
4
4
|
import { LangBoolExp } from './LangBoolExp';
|
|
5
5
|
import { PostBoolExp } from './PostBoolExp';
|
|
6
6
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
@@ -9,13 +9,15 @@ import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
|
9
9
|
* 文章标签
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
export interface TagBoolExp
|
|
12
|
+
export interface TagBoolExp {
|
|
13
13
|
_and?: TagBoolExp[];
|
|
14
14
|
_or?: TagBoolExp[];
|
|
15
15
|
_not?: TagBoolExp;
|
|
16
16
|
id?: IdComparisonExp;
|
|
17
17
|
name?: StringComparisonExp;
|
|
18
18
|
color?: StringComparisonExp;
|
|
19
|
+
updatedAt?: DateTimeComparisonExp;
|
|
20
|
+
createdAt?: DateTimeComparisonExp;
|
|
19
21
|
lang?: LangBoolExp;
|
|
20
22
|
posts?: PostBoolExp;
|
|
21
23
|
products?: ProductBoolExp;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
|
|
2
1
|
export declare enum TagDistinctEnum {
|
|
3
2
|
id = "id",
|
|
4
3
|
/**
|
|
@@ -6,8 +5,7 @@ export declare enum TagDistinctEnum {
|
|
|
6
5
|
*/
|
|
7
6
|
name = "name",
|
|
8
7
|
color = "color",
|
|
9
|
-
createdAt = "createdAt",
|
|
10
8
|
updatedAt = "updatedAt",
|
|
11
|
-
|
|
9
|
+
createdAt = "createdAt"
|
|
12
10
|
}
|
|
13
|
-
export type TagDistinctExp = TagDistinctEnum
|
|
11
|
+
export type TagDistinctExp = TagDistinctEnum;
|
|
@@ -5,18 +5,19 @@ import { ProductInput } from './ProductInput';
|
|
|
5
5
|
import { WebsiteInput } from './WebsiteInput';
|
|
6
6
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
7
7
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
8
|
-
import { WebsitePart } from './WebsitePart';
|
|
9
8
|
/**
|
|
10
9
|
* 文章标签
|
|
11
10
|
*
|
|
12
11
|
*/
|
|
13
|
-
export interface TagInput
|
|
12
|
+
export interface TagInput {
|
|
14
13
|
id?: string | null;
|
|
15
14
|
/**
|
|
16
15
|
* 名称
|
|
17
16
|
*/
|
|
18
17
|
name?: string;
|
|
19
18
|
color?: string;
|
|
19
|
+
updatedAt?: Date;
|
|
20
|
+
createdAt?: Date;
|
|
20
21
|
lang?: SetHasOne<LangInput>;
|
|
21
22
|
posts?: SetHasMany<PostInput>;
|
|
22
23
|
products?: SetHasMany<ProductInput>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { OrderBy } from '@rxdrag/entify-lib';
|
|
2
|
-
import { WebsitePartOrderBy } from './WebsitePartOrderBy';
|
|
3
2
|
/**
|
|
4
3
|
* 文章标签
|
|
5
4
|
*
|
|
6
5
|
*/
|
|
7
|
-
export interface TagOrderBy
|
|
6
|
+
export interface TagOrderBy {
|
|
8
7
|
id?: OrderBy;
|
|
9
8
|
/**
|
|
10
9
|
* 名称
|
|
11
10
|
*/
|
|
12
11
|
name?: OrderBy;
|
|
13
12
|
color?: OrderBy;
|
|
13
|
+
updatedAt?: OrderBy;
|
|
14
|
+
createdAt?: OrderBy;
|
|
14
15
|
}
|
|
@@ -5,7 +5,6 @@ import { Enquiry } from './Enquiry';
|
|
|
5
5
|
import { Product } from './Product';
|
|
6
6
|
import { Post } from './Post';
|
|
7
7
|
import { PostCategory } from './PostCategory';
|
|
8
|
-
import { Tag } from './Tag';
|
|
9
8
|
import { Customer } from './Customer';
|
|
10
9
|
import { ProductCategory } from './ProductCategory';
|
|
11
10
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
@@ -20,6 +19,7 @@ import { Bulletin } from './Bulletin';
|
|
|
20
19
|
import { WebsiteSnapshot } from './WebsiteSnapshot';
|
|
21
20
|
import { UserOperation } from './UserOperation';
|
|
22
21
|
import { SvgIcon } from './SvgIcon';
|
|
22
|
+
import { Tag } from './Tag';
|
|
23
23
|
import { Aggregate } from './Aggregate';
|
|
24
24
|
export declare const WebsiteEntityName = "Website";
|
|
25
25
|
export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
|
|
@@ -67,7 +67,6 @@ export interface Website {
|
|
|
67
67
|
partsOfProduct?: Product[];
|
|
68
68
|
partsOfPost?: Post[];
|
|
69
69
|
partsOfPostCategory?: PostCategory[];
|
|
70
|
-
partsOfTag?: Tag[];
|
|
71
70
|
partsOfCustomer?: Customer[];
|
|
72
71
|
partsOfProductCategory?: ProductCategory[];
|
|
73
72
|
partsOfSpamFilterRule?: SpamFilterRule[];
|
|
@@ -83,6 +82,7 @@ export interface Website {
|
|
|
83
82
|
snapshots?: WebsiteSnapshot[];
|
|
84
83
|
userOperations?: UserOperation[];
|
|
85
84
|
svgIcons?: SvgIcon[];
|
|
85
|
+
tags?: Tag[];
|
|
86
86
|
mockBranch?: ThemeBranch;
|
|
87
87
|
usersAggregate?: Aggregate;
|
|
88
88
|
partsOfMediaFolderAggregate?: Aggregate;
|
|
@@ -90,7 +90,6 @@ export interface Website {
|
|
|
90
90
|
partsOfProductAggregate?: Aggregate;
|
|
91
91
|
partsOfPostAggregate?: Aggregate;
|
|
92
92
|
partsOfPostCategoryAggregate?: Aggregate;
|
|
93
|
-
partsOfTagAggregate?: Aggregate;
|
|
94
93
|
partsOfCustomerAggregate?: Aggregate;
|
|
95
94
|
partsOfProductCategoryAggregate?: Aggregate;
|
|
96
95
|
partsOfSpamFilterRuleAggregate?: Aggregate;
|
|
@@ -103,4 +102,5 @@ export interface Website {
|
|
|
103
102
|
snapshotsAggregate?: Aggregate;
|
|
104
103
|
userOperationsAggregate?: Aggregate;
|
|
105
104
|
svgIconsAggregate?: Aggregate;
|
|
105
|
+
tagsAggregate?: Aggregate;
|
|
106
106
|
}
|
|
@@ -8,7 +8,6 @@ import { EnquiryBoolExp } from './EnquiryBoolExp';
|
|
|
8
8
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
9
9
|
import { PostBoolExp } from './PostBoolExp';
|
|
10
10
|
import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
11
|
-
import { TagBoolExp } from './TagBoolExp';
|
|
12
11
|
import { CustomerBoolExp } from './CustomerBoolExp';
|
|
13
12
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
14
13
|
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
@@ -23,6 +22,7 @@ import { BulletinBoolExp } from './BulletinBoolExp';
|
|
|
23
22
|
import { WebsiteSnapshotBoolExp } from './WebsiteSnapshotBoolExp';
|
|
24
23
|
import { UserOperationBoolExp } from './UserOperationBoolExp';
|
|
25
24
|
import { SvgIconBoolExp } from './SvgIconBoolExp';
|
|
25
|
+
import { TagBoolExp } from './TagBoolExp';
|
|
26
26
|
/**
|
|
27
27
|
* 站点
|
|
28
28
|
* 网站实体
|
|
@@ -49,7 +49,6 @@ export interface WebsiteBoolExp {
|
|
|
49
49
|
partsOfProduct?: ProductBoolExp;
|
|
50
50
|
partsOfPost?: PostBoolExp;
|
|
51
51
|
partsOfPostCategory?: PostCategoryBoolExp;
|
|
52
|
-
partsOfTag?: TagBoolExp;
|
|
53
52
|
partsOfCustomer?: CustomerBoolExp;
|
|
54
53
|
partsOfProductCategory?: ProductCategoryBoolExp;
|
|
55
54
|
partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
@@ -65,5 +64,6 @@ export interface WebsiteBoolExp {
|
|
|
65
64
|
snapshots?: WebsiteSnapshotBoolExp;
|
|
66
65
|
userOperations?: UserOperationBoolExp;
|
|
67
66
|
svgIcons?: SvgIconBoolExp;
|
|
67
|
+
tags?: TagBoolExp;
|
|
68
68
|
mockBranch?: ThemeBranchBoolExp;
|
|
69
69
|
}
|
|
@@ -6,7 +6,6 @@ import { EnquiryInput } from './EnquiryInput';
|
|
|
6
6
|
import { ProductInput } from './ProductInput';
|
|
7
7
|
import { PostInput } from './PostInput';
|
|
8
8
|
import { PostCategoryInput } from './PostCategoryInput';
|
|
9
|
-
import { TagInput } from './TagInput';
|
|
10
9
|
import { CustomerInput } from './CustomerInput';
|
|
11
10
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
12
11
|
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
@@ -21,6 +20,7 @@ import { BulletinInput } from './BulletinInput';
|
|
|
21
20
|
import { WebsiteSnapshotInput } from './WebsiteSnapshotInput';
|
|
22
21
|
import { UserOperationInput } from './UserOperationInput';
|
|
23
22
|
import { SvgIconInput } from './SvgIconInput';
|
|
23
|
+
import { TagInput } from './TagInput';
|
|
24
24
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
25
25
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
26
26
|
/**
|
|
@@ -67,7 +67,6 @@ export interface WebsiteInput {
|
|
|
67
67
|
partsOfProduct?: SetHasMany<ProductInput>;
|
|
68
68
|
partsOfPost?: SetHasMany<PostInput>;
|
|
69
69
|
partsOfPostCategory?: SetHasMany<PostCategoryInput>;
|
|
70
|
-
partsOfTag?: SetHasMany<TagInput>;
|
|
71
70
|
partsOfCustomer?: SetHasMany<CustomerInput>;
|
|
72
71
|
partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
73
72
|
partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
@@ -83,6 +82,7 @@ export interface WebsiteInput {
|
|
|
83
82
|
snapshots?: SetHasMany<WebsiteSnapshotInput>;
|
|
84
83
|
userOperations?: SetHasMany<UserOperationInput>;
|
|
85
84
|
svgIcons?: SetHasMany<SvgIconInput>;
|
|
85
|
+
tags?: SetHasMany<TagInput>;
|
|
86
86
|
mockBranch?: SetHasOne<ThemeBranchInput>;
|
|
87
87
|
}
|
|
88
88
|
export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
|