@rxdrag/rxcms-models 0.3.74 → 0.3.76

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.
Files changed (83) hide show
  1. package/dist/classes/BulletinQueryOptions.d.ts +19 -0
  2. package/dist/classes/CustomerCaseQueryOptions.d.ts +22 -0
  3. package/dist/classes/FAQQueryOptions.d.ts +20 -0
  4. package/dist/classes/LangQueryOptions.d.ts +15 -10
  5. package/dist/classes/MediaQueryOptions.d.ts +0 -5
  6. package/dist/classes/ProductQueryOptions.d.ts +11 -0
  7. package/dist/classes/ProductRelatedPivotQueryOptions.d.ts +12 -0
  8. package/dist/classes/SolutionQueryOptions.d.ts +27 -0
  9. package/dist/classes/WebsiteQueryOptions.d.ts +20 -10
  10. package/dist/classes/index.d.ts +5 -2
  11. package/dist/entries/bulletinEntry.d.ts +2 -0
  12. package/dist/entries/customerCaseEntry.d.ts +2 -0
  13. package/dist/entries/{videoEntry.d.ts → fAQEntry.d.ts} +1 -1
  14. package/dist/entries/index.d.ts +5 -2
  15. package/dist/entries/productRelatedPivotEntry.d.ts +2 -0
  16. package/dist/entries/solutionEntry.d.ts +2 -0
  17. package/dist/fields/BulletinFields.d.ts +13 -0
  18. package/dist/fields/CustomerCaseFields.d.ts +16 -0
  19. package/dist/fields/FAQFields.d.ts +12 -0
  20. package/dist/fields/LangFields.d.ts +7 -5
  21. package/dist/fields/MediaFields.d.ts +1 -3
  22. package/dist/fields/ProductFields.d.ts +6 -1
  23. package/dist/fields/ProductRelatedPivotFields.d.ts +8 -0
  24. package/dist/fields/SolutionFields.d.ts +18 -0
  25. package/dist/fields/WebsiteFields.d.ts +9 -5
  26. package/dist/fields/index.d.ts +5 -2
  27. package/dist/index.mjs +701 -380
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/interfaces/Bulletin.d.ts +19 -0
  30. package/dist/interfaces/BulletinBoolExp.d.ts +23 -0
  31. package/dist/interfaces/BulletinDistinctExp.d.ts +10 -0
  32. package/dist/interfaces/BulletinInput.d.ts +21 -0
  33. package/dist/interfaces/BulletinOrderBy.d.ts +14 -0
  34. package/dist/interfaces/CustomerCase.d.ts +11 -0
  35. package/dist/interfaces/CustomerCaseBoolExp.d.ts +13 -0
  36. package/dist/interfaces/CustomerCaseDistinctExp.d.ts +15 -0
  37. package/dist/interfaces/CustomerCaseInput.d.ts +13 -0
  38. package/dist/interfaces/CustomerCaseOrderBy.d.ts +6 -0
  39. package/dist/interfaces/FAQ.d.ts +15 -0
  40. package/dist/interfaces/FAQBoolExp.d.ts +19 -0
  41. package/dist/interfaces/FAQDistinctExp.d.ts +8 -0
  42. package/dist/interfaces/FAQInput.d.ts +17 -0
  43. package/dist/interfaces/FAQOrderBy.d.ts +8 -0
  44. package/dist/interfaces/Lang.d.ts +9 -6
  45. package/dist/interfaces/LangBoolExp.d.ts +6 -4
  46. package/dist/interfaces/LangInput.d.ts +6 -4
  47. package/dist/interfaces/Media.d.ts +0 -3
  48. package/dist/interfaces/MediaBoolExp.d.ts +0 -2
  49. package/dist/interfaces/MediaInput.d.ts +0 -2
  50. package/dist/interfaces/Product.d.ts +7 -0
  51. package/dist/interfaces/ProductBoolExp.d.ts +5 -0
  52. package/dist/interfaces/ProductInput.d.ts +5 -0
  53. package/dist/interfaces/ProductRelatedPivot.d.ts +9 -0
  54. package/dist/interfaces/ProductRelatedPivotBoolExp.d.ts +12 -0
  55. package/dist/interfaces/ProductRelatedPivotDistinctExp.d.ts +5 -0
  56. package/dist/interfaces/ProductRelatedPivotInput.d.ts +11 -0
  57. package/dist/interfaces/ProductRelatedPivotOrderBy.d.ts +5 -0
  58. package/dist/interfaces/Solution.d.ts +15 -0
  59. package/dist/interfaces/SolutionBoolExp.d.ts +15 -0
  60. package/dist/interfaces/SolutionDistinctExp.d.ts +15 -0
  61. package/dist/interfaces/SolutionInput.d.ts +16 -0
  62. package/dist/interfaces/SolutionOrderBy.d.ts +6 -0
  63. package/dist/interfaces/TaskType.d.ts +19 -3
  64. package/dist/interfaces/Website.d.ts +12 -6
  65. package/dist/interfaces/WebsiteBoolExp.d.ts +8 -4
  66. package/dist/interfaces/WebsiteInput.d.ts +8 -4
  67. package/dist/interfaces/index.d.ts +25 -10
  68. package/package.json +3 -3
  69. package/dist/classes/VideoFolderQueryOptions.d.ts +0 -26
  70. package/dist/classes/VideoQueryOptions.d.ts +0 -31
  71. package/dist/entries/videoFolderEntry.d.ts +0 -2
  72. package/dist/fields/VideoFields.d.ts +0 -20
  73. package/dist/fields/VideoFolderFields.d.ts +0 -17
  74. package/dist/interfaces/Video.d.ts +0 -27
  75. package/dist/interfaces/VideoBoolExp.d.ts +0 -29
  76. package/dist/interfaces/VideoDistinctExp.d.ts +0 -15
  77. package/dist/interfaces/VideoFolder.d.ts +0 -23
  78. package/dist/interfaces/VideoFolderBoolExp.d.ts +0 -24
  79. package/dist/interfaces/VideoFolderDistinctExp.d.ts +0 -10
  80. package/dist/interfaces/VideoFolderInput.d.ts +0 -23
  81. package/dist/interfaces/VideoFolderOrderBy.d.ts +0 -11
  82. package/dist/interfaces/VideoInput.d.ts +0 -28
  83. package/dist/interfaces/VideoOrderBy.d.ts +0 -16
@@ -4,20 +4,22 @@ import { MediaFolder } from './MediaFolder';
4
4
  import { Enquiry } from './Enquiry';
5
5
  import { Product } from './Product';
6
6
  import { Post } from './Post';
7
+ import { Solution } from './Solution';
8
+ import { CustomerCase } from './CustomerCase';
7
9
  import { PostCategory } from './PostCategory';
8
10
  import { Tag } from './Tag';
9
11
  import { Customer } from './Customer';
10
12
  import { ProductCategory } from './ProductCategory';
11
13
  import { SpamFilterRule } from './SpamFilterRule';
12
14
  import { Media } from './Media';
13
- import { VideoFolder } from './VideoFolder';
14
- import { Video } from './Video';
15
15
  import { Lang } from './Lang';
16
16
  import { Theme } from './Theme';
17
17
  import { AnalyticsConfig } from './AnalyticsConfig';
18
18
  import { WebsiteSettings } from './WebsiteSettings';
19
19
  import { ChangeLog } from './ChangeLog';
20
20
  import { SearchIndex } from './SearchIndex';
21
+ import { FAQ } from './FAQ';
22
+ import { Bulletin } from './Bulletin';
21
23
  import { Aggregate } from './Aggregate';
22
24
  export declare const WebsiteEntityName = "Website";
23
25
  export declare const WebsiteEntityLabel = "\u7AD9\u70B9";
@@ -64,14 +66,14 @@ export interface Website {
64
66
  partsOfEnquiry?: Enquiry[];
65
67
  partsOfProduct?: Product[];
66
68
  partsOfPost?: Post[];
69
+ partsOfSolution?: Solution[];
70
+ partsOfCustomerCase?: CustomerCase[];
67
71
  partsOfPostCategory?: PostCategory[];
68
72
  partsOfTag?: Tag[];
69
73
  partsOfCustomer?: Customer[];
70
74
  partsOfProductCategory?: ProductCategory[];
71
75
  partsOfSpamFilterRule?: SpamFilterRule[];
72
76
  partsOfMedia?: Media[];
73
- partsOfVideoFolder?: VideoFolder[];
74
- partsOfVideo?: Video[];
75
77
  langs?: Lang[];
76
78
  baseLang?: Lang;
77
79
  themes?: Theme[];
@@ -79,21 +81,25 @@ export interface Website {
79
81
  settings?: WebsiteSettings;
80
82
  changelogs?: ChangeLog[];
81
83
  searchIndexes?: SearchIndex[];
84
+ faqs?: FAQ[];
85
+ bulletins?: Bulletin[];
82
86
  usersAggregate?: Aggregate;
83
87
  partsOfMediaFolderAggregate?: Aggregate;
84
88
  partsOfEnquiryAggregate?: Aggregate;
85
89
  partsOfProductAggregate?: Aggregate;
86
90
  partsOfPostAggregate?: Aggregate;
91
+ partsOfSolutionAggregate?: Aggregate;
92
+ partsOfCustomerCaseAggregate?: Aggregate;
87
93
  partsOfPostCategoryAggregate?: Aggregate;
88
94
  partsOfTagAggregate?: Aggregate;
89
95
  partsOfCustomerAggregate?: Aggregate;
90
96
  partsOfProductCategoryAggregate?: Aggregate;
91
97
  partsOfSpamFilterRuleAggregate?: Aggregate;
92
98
  partsOfMediaAggregate?: Aggregate;
93
- partsOfVideoFolderAggregate?: Aggregate;
94
- partsOfVideoAggregate?: Aggregate;
95
99
  langsAggregate?: Aggregate;
96
100
  themesAggregate?: Aggregate;
97
101
  changelogsAggregate?: Aggregate;
98
102
  searchIndexesAggregate?: Aggregate;
103
+ faqsAggregate?: Aggregate;
104
+ bulletinsAggregate?: Aggregate;
99
105
  }
@@ -7,20 +7,22 @@ import { MediaFolderBoolExp } from './MediaFolderBoolExp';
7
7
  import { EnquiryBoolExp } from './EnquiryBoolExp';
8
8
  import { ProductBoolExp } from './ProductBoolExp';
9
9
  import { PostBoolExp } from './PostBoolExp';
10
+ import { SolutionBoolExp } from './SolutionBoolExp';
11
+ import { CustomerCaseBoolExp } from './CustomerCaseBoolExp';
10
12
  import { PostCategoryBoolExp } from './PostCategoryBoolExp';
11
13
  import { TagBoolExp } from './TagBoolExp';
12
14
  import { CustomerBoolExp } from './CustomerBoolExp';
13
15
  import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
14
16
  import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
15
17
  import { MediaBoolExp } from './MediaBoolExp';
16
- import { VideoFolderBoolExp } from './VideoFolderBoolExp';
17
- import { VideoBoolExp } from './VideoBoolExp';
18
18
  import { LangBoolExp } from './LangBoolExp';
19
19
  import { ThemeBoolExp } from './ThemeBoolExp';
20
20
  import { AnalyticsConfigBoolExp } from './AnalyticsConfigBoolExp';
21
21
  import { WebsiteSettingsBoolExp } from './WebsiteSettingsBoolExp';
22
22
  import { ChangeLogBoolExp } from './ChangeLogBoolExp';
23
23
  import { SearchIndexBoolExp } from './SearchIndexBoolExp';
24
+ import { FAQBoolExp } from './FAQBoolExp';
25
+ import { BulletinBoolExp } from './BulletinBoolExp';
24
26
  /**
25
27
  * 站点
26
28
  * 网站实体
@@ -46,14 +48,14 @@ export interface WebsiteBoolExp {
46
48
  partsOfEnquiry?: EnquiryBoolExp;
47
49
  partsOfProduct?: ProductBoolExp;
48
50
  partsOfPost?: PostBoolExp;
51
+ partsOfSolution?: SolutionBoolExp;
52
+ partsOfCustomerCase?: CustomerCaseBoolExp;
49
53
  partsOfPostCategory?: PostCategoryBoolExp;
50
54
  partsOfTag?: TagBoolExp;
51
55
  partsOfCustomer?: CustomerBoolExp;
52
56
  partsOfProductCategory?: ProductCategoryBoolExp;
53
57
  partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
54
58
  partsOfMedia?: MediaBoolExp;
55
- partsOfVideoFolder?: VideoFolderBoolExp;
56
- partsOfVideo?: VideoBoolExp;
57
59
  langs?: LangBoolExp;
58
60
  baseLang?: LangBoolExp;
59
61
  themes?: ThemeBoolExp;
@@ -61,4 +63,6 @@ export interface WebsiteBoolExp {
61
63
  settings?: WebsiteSettingsBoolExp;
62
64
  changelogs?: ChangeLogBoolExp;
63
65
  searchIndexes?: SearchIndexBoolExp;
66
+ faqs?: FAQBoolExp;
67
+ bulletins?: BulletinBoolExp;
64
68
  }
@@ -5,20 +5,22 @@ import { MediaFolderInput } from './MediaFolderInput';
5
5
  import { EnquiryInput } from './EnquiryInput';
6
6
  import { ProductInput } from './ProductInput';
7
7
  import { PostInput } from './PostInput';
8
+ import { SolutionInput } from './SolutionInput';
9
+ import { CustomerCaseInput } from './CustomerCaseInput';
8
10
  import { PostCategoryInput } from './PostCategoryInput';
9
11
  import { TagInput } from './TagInput';
10
12
  import { CustomerInput } from './CustomerInput';
11
13
  import { ProductCategoryInput } from './ProductCategoryInput';
12
14
  import { SpamFilterRuleInput } from './SpamFilterRuleInput';
13
15
  import { MediaInput } from './MediaInput';
14
- import { VideoFolderInput } from './VideoFolderInput';
15
- import { VideoInput } from './VideoInput';
16
16
  import { LangInput } from './LangInput';
17
17
  import { ThemeInput } from './ThemeInput';
18
18
  import { AnalyticsConfigInput } from './AnalyticsConfigInput';
19
19
  import { WebsiteSettingsInput } from './WebsiteSettingsInput';
20
20
  import { ChangeLogInput } from './ChangeLogInput';
21
21
  import { SearchIndexInput } from './SearchIndexInput';
22
+ import { FAQInput } from './FAQInput';
23
+ import { BulletinInput } from './BulletinInput';
22
24
  import { SetHasMany } from '@rxdrag/entify-lib';
23
25
  import { SetHasOne } from '@rxdrag/entify-lib';
24
26
  /**
@@ -64,14 +66,14 @@ export interface WebsiteInput {
64
66
  partsOfEnquiry?: SetHasMany<EnquiryInput>;
65
67
  partsOfProduct?: SetHasMany<ProductInput>;
66
68
  partsOfPost?: SetHasMany<PostInput>;
69
+ partsOfSolution?: SetHasMany<SolutionInput>;
70
+ partsOfCustomerCase?: SetHasMany<CustomerCaseInput>;
67
71
  partsOfPostCategory?: SetHasMany<PostCategoryInput>;
68
72
  partsOfTag?: SetHasMany<TagInput>;
69
73
  partsOfCustomer?: SetHasMany<CustomerInput>;
70
74
  partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
71
75
  partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
72
76
  partsOfMedia?: SetHasMany<MediaInput>;
73
- partsOfVideoFolder?: SetHasMany<VideoFolderInput>;
74
- partsOfVideo?: SetHasMany<VideoInput>;
75
77
  langs?: SetHasMany<LangInput>;
76
78
  baseLang?: SetHasOne<LangInput>;
77
79
  themes?: SetHasMany<ThemeInput>;
@@ -79,6 +81,8 @@ export interface WebsiteInput {
79
81
  settings?: SetHasOne<WebsiteSettingsInput>;
80
82
  changelogs?: SetHasMany<ChangeLogInput>;
81
83
  searchIndexes?: SetHasMany<SearchIndexInput>;
84
+ faqs?: SetHasMany<FAQInput>;
85
+ bulletins?: SetHasMany<BulletinInput>;
82
86
  }
83
87
  export declare const websiteToInputCascade: (entity: Website) => WebsiteInput;
84
88
  export declare const websiteToInput: (entity: Website) => WebsiteInput;
@@ -233,16 +233,6 @@ export * from './SearchIndexOrderBy';
233
233
  export * from './SearchIndexDistinctExp';
234
234
  export * from './SourceType';
235
235
  export * from './DeployConfig';
236
- export * from './VideoFolder';
237
- export * from './VideoFolderInput';
238
- export * from './VideoFolderBoolExp';
239
- export * from './VideoFolderOrderBy';
240
- export * from './VideoFolderDistinctExp';
241
- export * from './Video';
242
- export * from './VideoInput';
243
- export * from './VideoBoolExp';
244
- export * from './VideoOrderBy';
245
- export * from './VideoDistinctExp';
246
236
  export * from './Task';
247
237
  export * from './TaskInput';
248
238
  export * from './TaskBoolExp';
@@ -258,3 +248,28 @@ export * from './NotificationOrderBy';
258
248
  export * from './NotificationDistinctExp';
259
249
  export * from './NotificationStatus';
260
250
  export * from './NotificationType';
251
+ export * from './CustomerCase';
252
+ export * from './CustomerCaseInput';
253
+ export * from './CustomerCaseBoolExp';
254
+ export * from './CustomerCaseOrderBy';
255
+ export * from './CustomerCaseDistinctExp';
256
+ export * from './Solution';
257
+ export * from './SolutionInput';
258
+ export * from './SolutionBoolExp';
259
+ export * from './SolutionOrderBy';
260
+ export * from './SolutionDistinctExp';
261
+ export * from './FAQ';
262
+ export * from './FAQInput';
263
+ export * from './FAQBoolExp';
264
+ export * from './FAQOrderBy';
265
+ export * from './FAQDistinctExp';
266
+ export * from './Bulletin';
267
+ export * from './BulletinInput';
268
+ export * from './BulletinBoolExp';
269
+ export * from './BulletinOrderBy';
270
+ export * from './BulletinDistinctExp';
271
+ export * from './ProductRelatedPivot';
272
+ export * from './ProductRelatedPivotInput';
273
+ export * from './ProductRelatedPivotBoolExp';
274
+ export * from './ProductRelatedPivotOrderBy';
275
+ export * from './ProductRelatedPivotDistinctExp';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/rxcms-models",
3
- "version": "0.3.74",
3
+ "version": "0.3.76",
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": "^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
19
  "swr": "^2.2.4",
@@ -1,26 +0,0 @@
1
- import { IAggregate, IQueryArgs } from "@rxdrag/entify-lib";
2
- import { QueryOptions } from "./QueryOptions";
3
- import { VideoFolder, VideoFolderBoolExp, VideoFolderDistinctExp, VideoFolderOrderBy } from "../interfaces";
4
- import { LangQueryOptions } from './LangQueryOptions';
5
- import { Lang } from '../interfaces';
6
- import { WebsiteQueryOptions } from './WebsiteQueryOptions';
7
- import { Website } from '../interfaces';
8
- import { VideoQueryOptions } from './VideoQueryOptions';
9
- import { Video } from '../interfaces';
10
- import { VideoBoolExp } from '../interfaces';
11
- export declare class VideoFolderQueryOptions extends QueryOptions<VideoFolder, VideoFolderBoolExp, VideoFolderOrderBy, VideoFolderDistinctExp> {
12
- constructor(fields?: (keyof VideoFolder)[], queryArgs?: IQueryArgs<VideoFolderBoolExp, VideoFolderOrderBy, VideoFolderDistinctExp>);
13
- id(): this;
14
- name(): this;
15
- seqValue(): this;
16
- createdAt(): this;
17
- updatedAt(): this;
18
- content(): this;
19
- lang(options?: LangQueryOptions | (keyof Lang)[]): this;
20
- children(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
21
- childrenAggregate(aggregate: IAggregate<VideoFolderBoolExp>): this;
22
- website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
23
- videos(options?: VideoQueryOptions | (keyof Video)[]): this;
24
- videosAggregate(aggregate: IAggregate<VideoBoolExp>): this;
25
- parent(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
26
- }
@@ -1,31 +0,0 @@
1
- import { IAggregate, IQueryArgs } from "@rxdrag/entify-lib";
2
- import { QueryOptions } from "./QueryOptions";
3
- import { Video, VideoBoolExp, VideoDistinctExp, VideoOrderBy } from "../interfaces";
4
- import { LangQueryOptions } from './LangQueryOptions';
5
- import { Lang } from '../interfaces';
6
- import { VideoFolderQueryOptions } from './VideoFolderQueryOptions';
7
- import { VideoFolder } from '../interfaces';
8
- import { MediaQueryOptions } from './MediaQueryOptions';
9
- import { Media } from '../interfaces';
10
- import { MediaBoolExp } from '../interfaces';
11
- import { WebsiteQueryOptions } from './WebsiteQueryOptions';
12
- import { Website } from '../interfaces';
13
- export declare class VideoQueryOptions extends QueryOptions<Video, VideoBoolExp, VideoOrderBy, VideoDistinctExp> {
14
- constructor(fields?: (keyof Video)[], queryArgs?: IQueryArgs<VideoBoolExp, VideoOrderBy, VideoDistinctExp>);
15
- id(): this;
16
- name(): this;
17
- size(): this;
18
- mimeType(): this;
19
- extName(): this;
20
- description(): this;
21
- url(): this;
22
- videoId(): this;
23
- createdAt(): this;
24
- updatedAt(): this;
25
- content(): this;
26
- lang(options?: LangQueryOptions | (keyof Lang)[]): this;
27
- folder(options?: VideoFolderQueryOptions | (keyof VideoFolder)[]): this;
28
- cover(options?: MediaQueryOptions | (keyof Media)[]): this;
29
- coverAggregate(aggregate: IAggregate<MediaBoolExp>): this;
30
- website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
31
- }
@@ -1,2 +0,0 @@
1
- import { EntityEntry } from "@rxdrag/entify-lib";
2
- export declare const videoFolderEntry: EntityEntry;
@@ -1,20 +0,0 @@
1
- export declare enum VideoFields {
2
- id = "id",
3
- name = "name",
4
- size = "size",
5
- mimeType = "mimeType",
6
- extName = "extName",
7
- description = "description",
8
- url = "url",
9
- videoId = "videoId",
10
- createdAt = "createdAt",
11
- updatedAt = "updatedAt",
12
- content = "content"
13
- }
14
- export declare enum VideoAssciations {
15
- lang = "lang",
16
- folder = "folder",
17
- cover = "cover",
18
- coverAggregate = "coverAggregate",
19
- website = "website"
20
- }
@@ -1,17 +0,0 @@
1
- export declare enum VideoFolderFields {
2
- id = "id",
3
- name = "name",
4
- seqValue = "seqValue",
5
- createdAt = "createdAt",
6
- updatedAt = "updatedAt",
7
- content = "content"
8
- }
9
- export declare enum VideoFolderAssciations {
10
- lang = "lang",
11
- children = "children",
12
- childrenAggregate = "childrenAggregate",
13
- website = "website",
14
- videos = "videos",
15
- videosAggregate = "videosAggregate",
16
- parent = "parent"
17
- }
@@ -1,27 +0,0 @@
1
- import { Lang } from './Lang';
2
- import { VideoFolder } from './VideoFolder';
3
- import { Media } from './Media';
4
- import { Website } from './Website';
5
- import { Aggregate } from './Aggregate';
6
- import { WebsitePart } from './WebsitePart';
7
- export declare const VideoEntityName = "Video";
8
- export declare const VideoEntityLabel = "\u89C6\u9891";
9
- /**
10
- * 视频
11
- *
12
- */
13
- export interface Video extends WebsitePart {
14
- id?: string | null;
15
- name?: string;
16
- size?: number;
17
- mimeType?: string;
18
- extName?: string;
19
- description?: string;
20
- url?: string;
21
- videoId?: string;
22
- lang?: Lang;
23
- folder?: VideoFolder;
24
- cover?: Media[];
25
- website?: Website;
26
- coverAggregate?: Aggregate;
27
- }
@@ -1,29 +0,0 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
- import { IdComparisonExp } from './IdComparisonExp';
3
- import { StringComparisonExp } from './StringComparisonExp';
4
- import { NumberComparisonExp } from './NumberComparisonExp';
5
- import { LangBoolExp } from './LangBoolExp';
6
- import { VideoFolderBoolExp } from './VideoFolderBoolExp';
7
- import { MediaBoolExp } from './MediaBoolExp';
8
- import { WebsiteBoolExp } from './WebsiteBoolExp';
9
- /**
10
- * 视频
11
- *
12
- */
13
- export interface VideoBoolExp extends WebsitePartBoolExp {
14
- _and?: VideoBoolExp[];
15
- _or?: VideoBoolExp[];
16
- _not?: VideoBoolExp;
17
- id?: IdComparisonExp;
18
- name?: StringComparisonExp;
19
- size?: NumberComparisonExp;
20
- mimeType?: StringComparisonExp;
21
- extName?: StringComparisonExp;
22
- description?: StringComparisonExp;
23
- url?: StringComparisonExp;
24
- videoId?: StringComparisonExp;
25
- lang?: LangBoolExp;
26
- folder?: VideoFolderBoolExp;
27
- cover?: MediaBoolExp;
28
- website?: WebsiteBoolExp;
29
- }
@@ -1,15 +0,0 @@
1
- import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
- export declare enum VideoDistinctEnum {
3
- id = "id",
4
- name = "name",
5
- size = "size",
6
- mimeType = "mimeType",
7
- extName = "extName",
8
- description = "description",
9
- url = "url",
10
- videoId = "videoId",
11
- createdAt = "createdAt",
12
- updatedAt = "updatedAt",
13
- content = "content"
14
- }
15
- export type VideoDistinctExp = VideoDistinctEnum | WebsitePartDistinctExp;
@@ -1,23 +0,0 @@
1
- import { Lang } from './Lang';
2
- import { Website } from './Website';
3
- import { Video } from './Video';
4
- import { Aggregate } from './Aggregate';
5
- import { WebsitePart } from './WebsitePart';
6
- export declare const VideoFolderEntityName = "VideoFolder";
7
- export declare const VideoFolderEntityLabel = "\u89C6\u9891\u5206\u7C7B";
8
- /**
9
- * 视频分类
10
- *
11
- */
12
- export interface VideoFolder extends WebsitePart {
13
- id?: string | null;
14
- name?: string;
15
- seqValue?: number;
16
- lang?: Lang;
17
- children?: VideoFolder[];
18
- website?: Website;
19
- videos?: Video[];
20
- parent?: VideoFolder;
21
- childrenAggregate?: Aggregate;
22
- videosAggregate?: Aggregate;
23
- }
@@ -1,24 +0,0 @@
1
- import { WebsitePartBoolExp } from './WebsitePartBoolExp';
2
- import { IdComparisonExp } from './IdComparisonExp';
3
- import { StringComparisonExp } from './StringComparisonExp';
4
- import { NumberComparisonExp } from './NumberComparisonExp';
5
- import { LangBoolExp } from './LangBoolExp';
6
- import { WebsiteBoolExp } from './WebsiteBoolExp';
7
- import { VideoBoolExp } from './VideoBoolExp';
8
- /**
9
- * 视频分类
10
- *
11
- */
12
- export interface VideoFolderBoolExp extends WebsitePartBoolExp {
13
- _and?: VideoFolderBoolExp[];
14
- _or?: VideoFolderBoolExp[];
15
- _not?: VideoFolderBoolExp;
16
- id?: IdComparisonExp;
17
- name?: StringComparisonExp;
18
- seqValue?: NumberComparisonExp;
19
- lang?: LangBoolExp;
20
- children?: VideoFolderBoolExp;
21
- website?: WebsiteBoolExp;
22
- videos?: VideoBoolExp;
23
- parent?: VideoFolderBoolExp;
24
- }
@@ -1,10 +0,0 @@
1
- import { WebsitePartDistinctExp } from './WebsitePartDistinctExp';
2
- export declare enum VideoFolderDistinctEnum {
3
- id = "id",
4
- name = "name",
5
- seqValue = "seqValue",
6
- createdAt = "createdAt",
7
- updatedAt = "updatedAt",
8
- content = "content"
9
- }
10
- export type VideoFolderDistinctExp = VideoFolderDistinctEnum | WebsitePartDistinctExp;
@@ -1,23 +0,0 @@
1
- import { VideoFolder } from './VideoFolder';
2
- import { LangInput } from './LangInput';
3
- import { WebsiteInput } from './WebsiteInput';
4
- import { VideoInput } from './VideoInput';
5
- import { SetHasMany } from '@rxdrag/entify-lib';
6
- import { SetHasOne } from '@rxdrag/entify-lib';
7
- import { WebsitePart } from './WebsitePart';
8
- /**
9
- * 视频分类
10
- *
11
- */
12
- export interface VideoFolderInput extends WebsitePart {
13
- id?: string | null;
14
- name?: string;
15
- seqValue?: number;
16
- lang?: SetHasOne<LangInput>;
17
- children?: SetHasMany<VideoFolderInput>;
18
- website?: SetHasOne<WebsiteInput>;
19
- videos?: SetHasMany<VideoInput>;
20
- parent?: SetHasOne<VideoFolderInput>;
21
- }
22
- export declare const videoFolderToInputCascade: (entity: VideoFolder) => VideoFolderInput;
23
- export declare const videoFolderToInput: (entity: VideoFolder) => VideoFolderInput;
@@ -1,11 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-lib';
2
- import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
- /**
4
- * 视频分类
5
- *
6
- */
7
- export interface VideoFolderOrderBy extends WebsitePartOrderBy {
8
- id?: OrderBy;
9
- name?: OrderBy;
10
- seqValue?: OrderBy;
11
- }
@@ -1,28 +0,0 @@
1
- import { Video } from './Video';
2
- import { LangInput } from './LangInput';
3
- import { VideoFolderInput } from './VideoFolderInput';
4
- import { MediaInput } from './MediaInput';
5
- import { WebsiteInput } from './WebsiteInput';
6
- import { SetHasMany } from '@rxdrag/entify-lib';
7
- import { SetHasOne } from '@rxdrag/entify-lib';
8
- import { WebsitePart } from './WebsitePart';
9
- /**
10
- * 视频
11
- *
12
- */
13
- export interface VideoInput extends WebsitePart {
14
- id?: string | null;
15
- name?: string;
16
- size?: number;
17
- mimeType?: string;
18
- extName?: string;
19
- description?: string;
20
- url?: string;
21
- videoId?: string;
22
- lang?: SetHasOne<LangInput>;
23
- folder?: SetHasOne<VideoFolderInput>;
24
- cover?: SetHasMany<MediaInput>;
25
- website?: SetHasOne<WebsiteInput>;
26
- }
27
- export declare const videoToInputCascade: (entity: Video) => VideoInput;
28
- export declare const videoToInput: (entity: Video) => VideoInput;
@@ -1,16 +0,0 @@
1
- import { OrderBy } from '@rxdrag/entify-lib';
2
- import { WebsitePartOrderBy } from './WebsitePartOrderBy';
3
- /**
4
- * 视频
5
- *
6
- */
7
- export interface VideoOrderBy extends WebsitePartOrderBy {
8
- id?: OrderBy;
9
- name?: OrderBy;
10
- size?: OrderBy;
11
- mimeType?: OrderBy;
12
- extName?: OrderBy;
13
- description?: OrderBy;
14
- url?: OrderBy;
15
- videoId?: OrderBy;
16
- }