@rxdrag/rxcms-models 0.3.93 → 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.
@@ -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;
@@ -0,0 +1,13 @@
1
+ import { Website } from './Website';
2
+ export declare const SvgIconEntityName = "SvgIcon";
3
+ export declare const SvgIconEntityLabel = "";
4
+ export interface SvgIcon {
5
+ id?: string | null;
6
+ name?: string;
7
+ title?: string;
8
+ code?: string;
9
+ description?: string;
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+ website?: Website;
13
+ }
@@ -0,0 +1,17 @@
1
+ import { IdComparisonExp } from './IdComparisonExp';
2
+ import { StringComparisonExp } from './StringComparisonExp';
3
+ import { DateTimeComparisonExp } from './DateTimeComparisonExp';
4
+ import { WebsiteBoolExp } from './WebsiteBoolExp';
5
+ export interface SvgIconBoolExp {
6
+ _and?: SvgIconBoolExp[];
7
+ _or?: SvgIconBoolExp[];
8
+ _not?: SvgIconBoolExp;
9
+ id?: IdComparisonExp;
10
+ name?: StringComparisonExp;
11
+ title?: StringComparisonExp;
12
+ code?: StringComparisonExp;
13
+ description?: StringComparisonExp;
14
+ createdAt?: DateTimeComparisonExp;
15
+ updatedAt?: DateTimeComparisonExp;
16
+ website?: WebsiteBoolExp;
17
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum SvgIconDistinctEnum {
2
+ id = "id",
3
+ name = "name",
4
+ title = "title",
5
+ code = "code",
6
+ description = "description",
7
+ createdAt = "createdAt",
8
+ updatedAt = "updatedAt"
9
+ }
10
+ export type SvgIconDistinctExp = SvgIconDistinctEnum;
@@ -0,0 +1,15 @@
1
+ import { SvgIcon } from './SvgIcon';
2
+ import { WebsiteInput } from './WebsiteInput';
3
+ import { SetHasOne } from '@rxdrag/entify-lib';
4
+ export interface SvgIconInput {
5
+ id?: string | null;
6
+ name?: string;
7
+ title?: string;
8
+ code?: string;
9
+ description?: string;
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+ website?: SetHasOne<WebsiteInput>;
13
+ }
14
+ export declare const svgIconToInputCascade: (entity: SvgIcon) => SvgIconInput;
15
+ export declare const svgIconToInput: (entity: SvgIcon) => SvgIconInput;
@@ -0,0 +1,10 @@
1
+ import { OrderBy } from '@rxdrag/entify-lib';
2
+ export interface SvgIconOrderBy {
3
+ id?: OrderBy;
4
+ name?: OrderBy;
5
+ title?: OrderBy;
6
+ code?: OrderBy;
7
+ description?: OrderBy;
8
+ createdAt?: OrderBy;
9
+ updatedAt?: OrderBy;
10
+ }
@@ -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 extends WebsitePart {
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 extends WebsitePartBoolExp {
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
- content = "content"
9
+ createdAt = "createdAt"
12
10
  }
13
- export type TagDistinctExp = TagDistinctEnum | WebsitePartDistinctExp;
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 extends WebsitePart {
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 extends WebsitePartOrderBy {
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';
@@ -19,6 +18,8 @@ import { SearchIndex } from './SearchIndex';
19
18
  import { Bulletin } from './Bulletin';
20
19
  import { WebsiteSnapshot } from './WebsiteSnapshot';
21
20
  import { UserOperation } from './UserOperation';
21
+ import { SvgIcon } from './SvgIcon';
22
+ import { Tag } from './Tag';
22
23
  import { Aggregate } from './Aggregate';
23
24
  export declare const WebsiteEntityName = "Website";
24
25
  export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
@@ -66,7 +67,6 @@ export interface Website {
66
67
  partsOfProduct?: Product[];
67
68
  partsOfPost?: Post[];
68
69
  partsOfPostCategory?: PostCategory[];
69
- partsOfTag?: Tag[];
70
70
  partsOfCustomer?: Customer[];
71
71
  partsOfProductCategory?: ProductCategory[];
72
72
  partsOfSpamFilterRule?: SpamFilterRule[];
@@ -81,6 +81,8 @@ export interface Website {
81
81
  bulletins?: Bulletin[];
82
82
  snapshots?: WebsiteSnapshot[];
83
83
  userOperations?: UserOperation[];
84
+ svgIcons?: SvgIcon[];
85
+ tags?: Tag[];
84
86
  mockBranch?: ThemeBranch;
85
87
  usersAggregate?: Aggregate;
86
88
  partsOfMediaFolderAggregate?: Aggregate;
@@ -88,7 +90,6 @@ export interface Website {
88
90
  partsOfProductAggregate?: Aggregate;
89
91
  partsOfPostAggregate?: Aggregate;
90
92
  partsOfPostCategoryAggregate?: Aggregate;
91
- partsOfTagAggregate?: Aggregate;
92
93
  partsOfCustomerAggregate?: Aggregate;
93
94
  partsOfProductCategoryAggregate?: Aggregate;
94
95
  partsOfSpamFilterRuleAggregate?: Aggregate;
@@ -100,4 +101,6 @@ export interface Website {
100
101
  bulletinsAggregate?: Aggregate;
101
102
  snapshotsAggregate?: Aggregate;
102
103
  userOperationsAggregate?: Aggregate;
104
+ svgIconsAggregate?: Aggregate;
105
+ tagsAggregate?: Aggregate;
103
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';
@@ -22,6 +21,8 @@ import { SearchIndexBoolExp } from './SearchIndexBoolExp';
22
21
  import { BulletinBoolExp } from './BulletinBoolExp';
23
22
  import { WebsiteSnapshotBoolExp } from './WebsiteSnapshotBoolExp';
24
23
  import { UserOperationBoolExp } from './UserOperationBoolExp';
24
+ import { SvgIconBoolExp } from './SvgIconBoolExp';
25
+ import { TagBoolExp } from './TagBoolExp';
25
26
  /**
26
27
  * 站点
27
28
  * 网站实体
@@ -48,7 +49,6 @@ export interface WebsiteBoolExp {
48
49
  partsOfProduct?: ProductBoolExp;
49
50
  partsOfPost?: PostBoolExp;
50
51
  partsOfPostCategory?: PostCategoryBoolExp;
51
- partsOfTag?: TagBoolExp;
52
52
  partsOfCustomer?: CustomerBoolExp;
53
53
  partsOfProductCategory?: ProductCategoryBoolExp;
54
54
  partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
@@ -63,5 +63,7 @@ export interface WebsiteBoolExp {
63
63
  bulletins?: BulletinBoolExp;
64
64
  snapshots?: WebsiteSnapshotBoolExp;
65
65
  userOperations?: UserOperationBoolExp;
66
+ svgIcons?: SvgIconBoolExp;
67
+ tags?: TagBoolExp;
66
68
  mockBranch?: ThemeBranchBoolExp;
67
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';
@@ -20,6 +19,8 @@ import { SearchIndexInput } from './SearchIndexInput';
20
19
  import { BulletinInput } from './BulletinInput';
21
20
  import { WebsiteSnapshotInput } from './WebsiteSnapshotInput';
22
21
  import { UserOperationInput } from './UserOperationInput';
22
+ import { SvgIconInput } from './SvgIconInput';
23
+ import { TagInput } from './TagInput';
23
24
  import { SetHasMany } from '@rxdrag/entify-lib';
24
25
  import { SetHasOne } from '@rxdrag/entify-lib';
25
26
  /**
@@ -66,7 +67,6 @@ export interface WebsiteInput {
66
67
  partsOfProduct?: SetHasMany<ProductInput>;
67
68
  partsOfPost?: SetHasMany<PostInput>;
68
69
  partsOfPostCategory?: SetHasMany<PostCategoryInput>;
69
- partsOfTag?: SetHasMany<TagInput>;
70
70
  partsOfCustomer?: SetHasMany<CustomerInput>;
71
71
  partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
72
72
  partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
@@ -81,6 +81,8 @@ export interface WebsiteInput {
81
81
  bulletins?: SetHasMany<BulletinInput>;
82
82
  snapshots?: SetHasMany<WebsiteSnapshotInput>;
83
83
  userOperations?: SetHasMany<UserOperationInput>;
84
+ svgIcons?: SetHasMany<SvgIconInput>;
85
+ tags?: SetHasMany<TagInput>;
84
86
  mockBranch?: SetHasOne<ThemeBranchInput>;
85
87
  }
86
88
  export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
@@ -303,3 +303,8 @@ export * from './ThemeInput';
303
303
  export * from './ThemeBoolExp';
304
304
  export * from './ThemeOrderBy';
305
305
  export * from './ThemeDistinctExp';
306
+ export * from './SvgIcon';
307
+ export * from './SvgIconInput';
308
+ export * from './SvgIconBoolExp';
309
+ export * from './SvgIconOrderBy';
310
+ export * from './SvgIconDistinctExp';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.3.93",
3
+ "version": "0.3.95",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -12,11 +12,11 @@
12
12
  "devDependencies": {
13
13
  "eslint": "^7.32.0",
14
14
  "typescript": "^5",
15
- "@rxdrag/tsconfig": "0.2.0",
16
- "@rxdrag/eslint-config-custom": "0.2.12"
15
+ "@rxdrag/eslint-config-custom": "0.2.12",
16
+ "@rxdrag/tsconfig": "0.2.0"
17
17
  },
18
18
  "dependencies": {
19
- "@rxdrag/entify-lib": "0.0.22"
19
+ "@rxdrag/entify-lib": "0.0.23"
20
20
  },
21
21
  "scripts": {
22
22
  "lint": "eslint . --ext .ts,tsx",