@rxdrag/rxcms-models 0.3.97 → 0.3.98
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 -0
- package/dist/classes/TagCategoryQueryOptions.d.ts +21 -0
- package/dist/classes/TagQueryOptions.d.ts +3 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/entries/index.d.ts +1 -0
- package/dist/entries/tagCategoryEntry.d.ts +2 -0
- package/dist/fields/LangFields.d.ts +3 -1
- package/dist/fields/TagCategoryFields.d.ts +14 -0
- package/dist/fields/TagFields.d.ts +2 -1
- package/dist/fields/index.d.ts +1 -0
- package/dist/index.mjs +161 -8
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Lang.d.ts +3 -0
- package/dist/interfaces/LangBoolExp.d.ts +2 -0
- package/dist/interfaces/LangInput.d.ts +2 -0
- package/dist/interfaces/Tag.d.ts +2 -0
- package/dist/interfaces/TagBoolExp.d.ts +2 -0
- package/dist/interfaces/TagCategory.d.ts +17 -0
- package/dist/interfaces/TagCategoryBoolExp.d.ts +18 -0
- package/dist/interfaces/TagCategoryDistinctExp.d.ts +7 -0
- package/dist/interfaces/TagCategoryInput.d.ts +17 -0
- package/dist/interfaces/TagCategoryOrderBy.d.ts +7 -0
- package/dist/interfaces/TagInput.d.ts +2 -0
- package/dist/interfaces/index.d.ts +5 -0
- package/package.json +3 -3
|
@@ -11,6 +11,7 @@ import { Website } from './Website';
|
|
|
11
11
|
import { ThemeBranch } from './ThemeBranch';
|
|
12
12
|
import { Bulletin } from './Bulletin';
|
|
13
13
|
import { Tag } from './Tag';
|
|
14
|
+
import { TagCategory } from './TagCategory';
|
|
14
15
|
import { Aggregate } from './Aggregate';
|
|
15
16
|
export declare const LangEntityName = "Lang";
|
|
16
17
|
export declare const LangEntityLabel = "\u8BED\u8A00";
|
|
@@ -58,6 +59,7 @@ export interface Lang {
|
|
|
58
59
|
themes?: ThemeBranch[];
|
|
59
60
|
bulletins?: Bulletin[];
|
|
60
61
|
tags?: Tag[];
|
|
62
|
+
tagCategories?: TagCategory[];
|
|
61
63
|
webPartsOfMediaFolderAggregate?: Aggregate;
|
|
62
64
|
webPartsOfEnquiryAggregate?: Aggregate;
|
|
63
65
|
webPartsOfProductAggregate?: Aggregate;
|
|
@@ -72,4 +74,5 @@ export interface Lang {
|
|
|
72
74
|
themesAggregate?: Aggregate;
|
|
73
75
|
bulletinsAggregate?: Aggregate;
|
|
74
76
|
tagsAggregate?: Aggregate;
|
|
77
|
+
tagCategoriesAggregate?: Aggregate;
|
|
75
78
|
}
|
|
@@ -13,6 +13,7 @@ import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
|
13
13
|
import { ThemeBranchBoolExp } from './ThemeBranchBoolExp';
|
|
14
14
|
import { BulletinBoolExp } from './BulletinBoolExp';
|
|
15
15
|
import { TagBoolExp } from './TagBoolExp';
|
|
16
|
+
import { TagCategoryBoolExp } from './TagCategoryBoolExp';
|
|
16
17
|
/**
|
|
17
18
|
* 语言
|
|
18
19
|
*
|
|
@@ -45,4 +46,5 @@ export interface LangBoolExp {
|
|
|
45
46
|
themes?: ThemeBranchBoolExp;
|
|
46
47
|
bulletins?: BulletinBoolExp;
|
|
47
48
|
tags?: TagBoolExp;
|
|
49
|
+
tagCategories?: TagCategoryBoolExp;
|
|
48
50
|
}
|
|
@@ -12,6 +12,7 @@ import { WebsiteInput } from './WebsiteInput';
|
|
|
12
12
|
import { ThemeBranchInput } from './ThemeBranchInput';
|
|
13
13
|
import { BulletinInput } from './BulletinInput';
|
|
14
14
|
import { TagInput } from './TagInput';
|
|
15
|
+
import { TagCategoryInput } from './TagCategoryInput';
|
|
15
16
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
16
17
|
/**
|
|
17
18
|
* 语言
|
|
@@ -57,6 +58,7 @@ export interface LangInput {
|
|
|
57
58
|
themes?: SetHasMany<ThemeBranchInput>;
|
|
58
59
|
bulletins?: SetHasMany<BulletinInput>;
|
|
59
60
|
tags?: SetHasMany<TagInput>;
|
|
61
|
+
tagCategories?: SetHasMany<TagCategoryInput>;
|
|
60
62
|
}
|
|
61
63
|
export declare const langToInputCascade: (entity: Lang) => LangInput;
|
|
62
64
|
export declare const langToInput: (entity: Lang) => LangInput;
|
package/dist/interfaces/Tag.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Lang } from './Lang';
|
|
|
2
2
|
import { Post } from './Post';
|
|
3
3
|
import { Product } from './Product';
|
|
4
4
|
import { Website } from './Website';
|
|
5
|
+
import { TagCategory } from './TagCategory';
|
|
5
6
|
import { Aggregate } from './Aggregate';
|
|
6
7
|
export declare const TagEntityName = "Tag";
|
|
7
8
|
export declare const TagEntityLabel = "\u6587\u7AE0\u6807\u7B7E";
|
|
@@ -22,6 +23,7 @@ export interface Tag {
|
|
|
22
23
|
posts?: Post[];
|
|
23
24
|
products?: Product[];
|
|
24
25
|
website?: Website;
|
|
26
|
+
category?: TagCategory;
|
|
25
27
|
postsAggregate?: Aggregate;
|
|
26
28
|
productsAggregate?: Aggregate;
|
|
27
29
|
}
|
|
@@ -5,6 +5,7 @@ import { LangBoolExp } from './LangBoolExp';
|
|
|
5
5
|
import { PostBoolExp } from './PostBoolExp';
|
|
6
6
|
import { ProductBoolExp } from './ProductBoolExp';
|
|
7
7
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
8
|
+
import { TagCategoryBoolExp } from './TagCategoryBoolExp';
|
|
8
9
|
/**
|
|
9
10
|
* 文章标签
|
|
10
11
|
*
|
|
@@ -22,4 +23,5 @@ export interface TagBoolExp {
|
|
|
22
23
|
posts?: PostBoolExp;
|
|
23
24
|
products?: ProductBoolExp;
|
|
24
25
|
website?: WebsiteBoolExp;
|
|
26
|
+
category?: TagCategoryBoolExp;
|
|
25
27
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tag } from './Tag';
|
|
2
|
+
import { Lang } from './Lang';
|
|
3
|
+
import { Aggregate } from './Aggregate';
|
|
4
|
+
export declare const TagCategoryEntityName = "TagCategory";
|
|
5
|
+
export declare const TagCategoryEntityLabel = "";
|
|
6
|
+
export interface TagCategory {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string;
|
|
9
|
+
updateAt?: Date;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
tags?: Tag[];
|
|
12
|
+
lang?: Lang;
|
|
13
|
+
children?: TagCategory[];
|
|
14
|
+
parent?: TagCategory;
|
|
15
|
+
tagsAggregate?: Aggregate;
|
|
16
|
+
childrenAggregate?: Aggregate;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
2
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
3
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
4
|
+
import { TagBoolExp } from './TagBoolExp';
|
|
5
|
+
import { LangBoolExp } from './LangBoolExp';
|
|
6
|
+
export interface TagCategoryBoolExp {
|
|
7
|
+
_and?: TagCategoryBoolExp[];
|
|
8
|
+
_or?: TagCategoryBoolExp[];
|
|
9
|
+
_not?: TagCategoryBoolExp;
|
|
10
|
+
id?: IdComparisonExp;
|
|
11
|
+
name?: StringComparisonExp;
|
|
12
|
+
updateAt?: DateTimeComparisonExp;
|
|
13
|
+
createdAt?: DateTimeComparisonExp;
|
|
14
|
+
tags?: TagBoolExp;
|
|
15
|
+
lang?: LangBoolExp;
|
|
16
|
+
children?: TagCategoryBoolExp;
|
|
17
|
+
parent?: TagCategoryBoolExp;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TagCategory } from './TagCategory';
|
|
2
|
+
import { TagInput } from './TagInput';
|
|
3
|
+
import { LangInput } from './LangInput';
|
|
4
|
+
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
5
|
+
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
6
|
+
export interface TagCategoryInput {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
name?: string;
|
|
9
|
+
updateAt?: Date;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
tags?: SetHasMany<TagInput>;
|
|
12
|
+
lang?: SetHasOne<LangInput>;
|
|
13
|
+
children?: SetHasMany<TagCategoryInput>;
|
|
14
|
+
parent?: SetHasOne<TagCategoryInput>;
|
|
15
|
+
}
|
|
16
|
+
export declare const tagCategoryToInputCascade: (entity: TagCategory) => TagCategoryInput;
|
|
17
|
+
export declare const tagCategoryToInput: (entity: TagCategory) => TagCategoryInput;
|
|
@@ -3,6 +3,7 @@ import { LangInput } from './LangInput';
|
|
|
3
3
|
import { PostInput } from './PostInput';
|
|
4
4
|
import { ProductInput } from './ProductInput';
|
|
5
5
|
import { WebsiteInput } from './WebsiteInput';
|
|
6
|
+
import { TagCategoryInput } from './TagCategoryInput';
|
|
6
7
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
7
8
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
8
9
|
/**
|
|
@@ -22,6 +23,7 @@ export interface TagInput {
|
|
|
22
23
|
posts?: SetHasMany<PostInput>;
|
|
23
24
|
products?: SetHasMany<ProductInput>;
|
|
24
25
|
website?: SetHasOne<WebsiteInput>;
|
|
26
|
+
category?: SetHasOne<TagCategoryInput>;
|
|
25
27
|
}
|
|
26
28
|
export declare const tagToInputCascade: (entity: Tag) => TagInput;
|
|
27
29
|
export declare const tagToInput: (entity: Tag) => TagInput;
|
|
@@ -308,3 +308,8 @@ export * from './ThemeFileFolderInput';
|
|
|
308
308
|
export * from './ThemeFileFolderBoolExp';
|
|
309
309
|
export * from './ThemeFileFolderOrderBy';
|
|
310
310
|
export * from './ThemeFileFolderDistinctExp';
|
|
311
|
+
export * from './TagCategory';
|
|
312
|
+
export * from './TagCategoryInput';
|
|
313
|
+
export * from './TagCategoryBoolExp';
|
|
314
|
+
export * from './TagCategoryOrderBy';
|
|
315
|
+
export * from './TagCategoryDistinctExp';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.98",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"eslint": "^9.39.2",
|
|
14
14
|
"typescript": "^5",
|
|
15
|
-
"@rxdrag/
|
|
16
|
-
"@rxdrag/
|
|
15
|
+
"@rxdrag/eslint-config-custom": "0.2.13",
|
|
16
|
+
"@rxdrag/tsconfig": "0.2.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@rxdrag/entify-lib": "0.0.24"
|