@rxdrag/rxcms-models 0.3.64 → 0.3.66
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 +10 -0
- package/dist/classes/MediaQueryOptions.d.ts +5 -0
- package/dist/classes/QueryOptions.d.ts +5 -5
- package/dist/classes/TaskQueryOptions.d.ts +20 -0
- package/dist/classes/VideoFolderQueryOptions.d.ts +26 -0
- package/dist/classes/VideoQueryOptions.d.ts +31 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +10 -0
- package/dist/classes/index.d.ts +3 -0
- package/dist/entries/index.d.ts +3 -0
- package/dist/entries/taskEntry.d.ts +2 -0
- package/dist/entries/videoEntry.d.ts +2 -0
- package/dist/entries/videoFolderEntry.d.ts +2 -0
- package/dist/fields/LangFields.d.ts +4 -0
- package/dist/fields/MediaFields.d.ts +3 -1
- package/dist/fields/TaskFields.d.ts +18 -0
- package/dist/fields/VideoFields.d.ts +20 -0
- package/dist/fields/VideoFolderFields.d.ts +17 -0
- package/dist/fields/WebsiteFields.d.ts +4 -0
- package/dist/fields/index.d.ts +3 -0
- package/dist/index.mjs +554 -19
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/Lang.d.ts +6 -0
- package/dist/interfaces/LangBoolExp.d.ts +4 -0
- package/dist/interfaces/LangInput.d.ts +4 -0
- package/dist/interfaces/Media.d.ts +3 -0
- package/dist/interfaces/MediaBoolExp.d.ts +2 -0
- package/dist/interfaces/MediaInput.d.ts +2 -0
- package/dist/interfaces/Task.d.ts +20 -0
- package/dist/interfaces/TaskBoolExp.d.ts +25 -0
- package/dist/interfaces/TaskDistinctExp.d.ts +17 -0
- package/dist/interfaces/TaskInput.d.ts +21 -0
- package/dist/interfaces/TaskOrderBy.d.ts +17 -0
- package/dist/interfaces/TaskStatus.d.ts +18 -0
- package/dist/interfaces/TaskType.d.ts +26 -0
- package/dist/interfaces/Video.d.ts +27 -0
- package/dist/interfaces/VideoBoolExp.d.ts +29 -0
- package/dist/interfaces/VideoDistinctExp.d.ts +15 -0
- package/dist/interfaces/VideoFolder.d.ts +23 -0
- package/dist/interfaces/VideoFolderBoolExp.d.ts +24 -0
- package/dist/interfaces/VideoFolderDistinctExp.d.ts +10 -0
- package/dist/interfaces/VideoFolderInput.d.ts +23 -0
- package/dist/interfaces/VideoFolderOrderBy.d.ts +11 -0
- package/dist/interfaces/VideoInput.d.ts +28 -0
- package/dist/interfaces/VideoOrderBy.d.ts +16 -0
- package/dist/interfaces/Website.d.ts +6 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +4 -0
- package/dist/interfaces/WebsiteInput.d.ts +4 -0
- package/dist/interfaces/index.d.ts +17 -0
- package/package.json +4 -4
|
@@ -8,6 +8,8 @@ import { Customer } from './Customer';
|
|
|
8
8
|
import { ProductCategory } from './ProductCategory';
|
|
9
9
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
10
10
|
import { Media } from './Media';
|
|
11
|
+
import { VideoFolder } from './VideoFolder';
|
|
12
|
+
import { Video } from './Video';
|
|
11
13
|
import { Website } from './Website';
|
|
12
14
|
import { Theme } from './Theme';
|
|
13
15
|
import { Aggregate } from './Aggregate';
|
|
@@ -53,6 +55,8 @@ export interface Lang {
|
|
|
53
55
|
webPartsOfProductCategory?: ProductCategory[];
|
|
54
56
|
webPartsOfSpamFilterRule?: SpamFilterRule[];
|
|
55
57
|
webPartsOfMedia?: Media[];
|
|
58
|
+
webPartsOfVideoFolder?: VideoFolder[];
|
|
59
|
+
webPartsOfVideo?: Video[];
|
|
56
60
|
websites?: Website[];
|
|
57
61
|
baseLangOf?: Website[];
|
|
58
62
|
themes?: Theme[];
|
|
@@ -66,6 +70,8 @@ export interface Lang {
|
|
|
66
70
|
webPartsOfProductCategoryAggregate?: Aggregate;
|
|
67
71
|
webPartsOfSpamFilterRuleAggregate?: Aggregate;
|
|
68
72
|
webPartsOfMediaAggregate?: Aggregate;
|
|
73
|
+
webPartsOfVideoFolderAggregate?: Aggregate;
|
|
74
|
+
webPartsOfVideoAggregate?: Aggregate;
|
|
69
75
|
websitesAggregate?: Aggregate;
|
|
70
76
|
baseLangOfAggregate?: Aggregate;
|
|
71
77
|
themesAggregate?: Aggregate;
|
|
@@ -10,6 +10,8 @@ import { CustomerBoolExp } from './CustomerBoolExp';
|
|
|
10
10
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
11
11
|
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
12
12
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
13
|
+
import { VideoFolderBoolExp } from './VideoFolderBoolExp';
|
|
14
|
+
import { VideoBoolExp } from './VideoBoolExp';
|
|
13
15
|
import { WebsiteBoolExp } from './WebsiteBoolExp';
|
|
14
16
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
15
17
|
/**
|
|
@@ -40,6 +42,8 @@ export interface LangBoolExp {
|
|
|
40
42
|
webPartsOfProductCategory?: ProductCategoryBoolExp;
|
|
41
43
|
webPartsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
42
44
|
webPartsOfMedia?: MediaBoolExp;
|
|
45
|
+
webPartsOfVideoFolder?: VideoFolderBoolExp;
|
|
46
|
+
webPartsOfVideo?: VideoBoolExp;
|
|
43
47
|
websites?: WebsiteBoolExp;
|
|
44
48
|
baseLangOf?: WebsiteBoolExp;
|
|
45
49
|
themes?: ThemeBoolExp;
|
|
@@ -9,6 +9,8 @@ import { CustomerInput } from './CustomerInput';
|
|
|
9
9
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
10
10
|
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
11
11
|
import { MediaInput } from './MediaInput';
|
|
12
|
+
import { VideoFolderInput } from './VideoFolderInput';
|
|
13
|
+
import { VideoInput } from './VideoInput';
|
|
12
14
|
import { WebsiteInput } from './WebsiteInput';
|
|
13
15
|
import { ThemeInput } from './ThemeInput';
|
|
14
16
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
@@ -52,6 +54,8 @@ export interface LangInput {
|
|
|
52
54
|
webPartsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
53
55
|
webPartsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
54
56
|
webPartsOfMedia?: SetHasMany<MediaInput>;
|
|
57
|
+
webPartsOfVideoFolder?: SetHasMany<VideoFolderInput>;
|
|
58
|
+
webPartsOfVideo?: SetHasMany<VideoInput>;
|
|
55
59
|
websites?: SetHasMany<WebsiteInput>;
|
|
56
60
|
baseLangOf?: SetHasMany<WebsiteInput>;
|
|
57
61
|
themes?: SetHasMany<ThemeInput>;
|
|
@@ -13,6 +13,7 @@ import { PostCategory } from './PostCategory';
|
|
|
13
13
|
import { ThemeConfig } from './ThemeConfig';
|
|
14
14
|
import { PageMeta } from './PageMeta';
|
|
15
15
|
import { SearchIndex } from './SearchIndex';
|
|
16
|
+
import { Video } from './Video';
|
|
16
17
|
import { Aggregate } from './Aggregate';
|
|
17
18
|
import { WebsitePart } from './WebsitePart';
|
|
18
19
|
export declare const MediaEntityName = "Media";
|
|
@@ -41,6 +42,7 @@ export interface Media extends WebsitePart {
|
|
|
41
42
|
usedByThemConfig?: ThemeConfig[];
|
|
42
43
|
pageMeta?: PageMeta[];
|
|
43
44
|
searchIndex?: SearchIndex[];
|
|
45
|
+
coverOfVideo?: Video[];
|
|
44
46
|
coverOfAggregate?: Aggregate;
|
|
45
47
|
meidaOfProductAggregate?: Aggregate;
|
|
46
48
|
productMediaPivotsAggregate?: Aggregate;
|
|
@@ -49,4 +51,5 @@ export interface Media extends WebsitePart {
|
|
|
49
51
|
usedByThemConfigAggregate?: Aggregate;
|
|
50
52
|
pageMetaAggregate?: Aggregate;
|
|
51
53
|
searchIndexAggregate?: Aggregate;
|
|
54
|
+
coverOfVideoAggregate?: Aggregate;
|
|
52
55
|
}
|
|
@@ -18,6 +18,7 @@ import { PostCategoryBoolExp } from './PostCategoryBoolExp';
|
|
|
18
18
|
import { ThemeConfigBoolExp } from './ThemeConfigBoolExp';
|
|
19
19
|
import { PageMetaBoolExp } from './PageMetaBoolExp';
|
|
20
20
|
import { SearchIndexBoolExp } from './SearchIndexBoolExp';
|
|
21
|
+
import { VideoBoolExp } from './VideoBoolExp';
|
|
21
22
|
export interface MediaBoolExp extends WebsitePartBoolExp {
|
|
22
23
|
_and?: MediaBoolExp[];
|
|
23
24
|
_or?: MediaBoolExp[];
|
|
@@ -44,4 +45,5 @@ export interface MediaBoolExp extends WebsitePartBoolExp {
|
|
|
44
45
|
usedByThemConfig?: ThemeConfigBoolExp;
|
|
45
46
|
pageMeta?: PageMetaBoolExp;
|
|
46
47
|
searchIndex?: SearchIndexBoolExp;
|
|
48
|
+
coverOfVideo?: VideoBoolExp;
|
|
47
49
|
}
|
|
@@ -14,6 +14,7 @@ import { PostCategoryInput } from './PostCategoryInput';
|
|
|
14
14
|
import { ThemeConfigInput } from './ThemeConfigInput';
|
|
15
15
|
import { PageMetaInput } from './PageMetaInput';
|
|
16
16
|
import { SearchIndexInput } from './SearchIndexInput';
|
|
17
|
+
import { VideoInput } from './VideoInput';
|
|
17
18
|
import { SetHasMany } from '@rxdrag/entify-lib';
|
|
18
19
|
import { SetHasOne } from '@rxdrag/entify-lib';
|
|
19
20
|
import { WebsitePart } from './WebsitePart';
|
|
@@ -41,6 +42,7 @@ export interface MediaInput extends WebsitePart {
|
|
|
41
42
|
usedByThemConfig?: SetHasMany<ThemeConfigInput>;
|
|
42
43
|
pageMeta?: SetHasMany<PageMetaInput>;
|
|
43
44
|
searchIndex?: SetHasMany<SearchIndexInput>;
|
|
45
|
+
coverOfVideo?: SetHasMany<VideoInput>;
|
|
44
46
|
}
|
|
45
47
|
export declare const mediaToInputCascade: (entity: Media) => MediaInput;
|
|
46
48
|
export declare const mediaToInput: (entity: Media) => MediaInput;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TaskType } from './TaskType';
|
|
2
|
+
import { TaskStatus } from './TaskStatus';
|
|
3
|
+
export declare const TaskEntityName = "Task";
|
|
4
|
+
export declare const TaskEntityLabel = "";
|
|
5
|
+
export interface Task {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
celeryTaskId?: string;
|
|
8
|
+
type?: TaskType;
|
|
9
|
+
websiteId?: string | null;
|
|
10
|
+
themeId?: string | null;
|
|
11
|
+
name?: string;
|
|
12
|
+
message?: string;
|
|
13
|
+
status?: TaskStatus;
|
|
14
|
+
params?: any;
|
|
15
|
+
result?: string;
|
|
16
|
+
createdAt?: Date;
|
|
17
|
+
updatedAt?: Date;
|
|
18
|
+
startedAt?: Date;
|
|
19
|
+
endedAt?: Date;
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TaskType } from './TaskType';
|
|
2
|
+
import { TaskStatus } from './TaskStatus';
|
|
3
|
+
import { IdComparisonExp } from './IdComparisonExp';
|
|
4
|
+
import { StringComparisonExp } from './StringComparisonExp';
|
|
5
|
+
import { EnumComparisonExp } from './EnumComparisonExp';
|
|
6
|
+
import { DateTimeComparisonExp } from './DateTimeComparisonExp';
|
|
7
|
+
export interface TaskBoolExp {
|
|
8
|
+
_and?: TaskBoolExp[];
|
|
9
|
+
_or?: TaskBoolExp[];
|
|
10
|
+
_not?: TaskBoolExp;
|
|
11
|
+
id?: IdComparisonExp;
|
|
12
|
+
celeryTaskId?: StringComparisonExp;
|
|
13
|
+
type?: EnumComparisonExp<TaskType>;
|
|
14
|
+
websiteId?: IdComparisonExp;
|
|
15
|
+
themeId?: IdComparisonExp;
|
|
16
|
+
name?: StringComparisonExp;
|
|
17
|
+
message?: StringComparisonExp;
|
|
18
|
+
status?: EnumComparisonExp<TaskStatus>;
|
|
19
|
+
params?: unknown;
|
|
20
|
+
result?: StringComparisonExp;
|
|
21
|
+
createdAt?: DateTimeComparisonExp;
|
|
22
|
+
updatedAt?: DateTimeComparisonExp;
|
|
23
|
+
startedAt?: DateTimeComparisonExp;
|
|
24
|
+
endedAt?: DateTimeComparisonExp;
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum TaskDistinctEnum {
|
|
2
|
+
id = "id",
|
|
3
|
+
celeryTaskId = "celeryTaskId",
|
|
4
|
+
type = "type",
|
|
5
|
+
websiteId = "websiteId",
|
|
6
|
+
themeId = "themeId",
|
|
7
|
+
name = "name",
|
|
8
|
+
message = "message",
|
|
9
|
+
status = "status",
|
|
10
|
+
params = "params",
|
|
11
|
+
result = "result",
|
|
12
|
+
createdAt = "createdAt",
|
|
13
|
+
updatedAt = "updatedAt",
|
|
14
|
+
startedAt = "startedAt",
|
|
15
|
+
endedAt = "endedAt"
|
|
16
|
+
}
|
|
17
|
+
export type TaskDistinctExp = TaskDistinctEnum;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Task } from './Task';
|
|
2
|
+
import { TaskType } from './TaskType';
|
|
3
|
+
import { TaskStatus } from './TaskStatus';
|
|
4
|
+
export interface TaskInput {
|
|
5
|
+
id?: string | null;
|
|
6
|
+
celeryTaskId?: string;
|
|
7
|
+
type?: TaskType;
|
|
8
|
+
websiteId?: string | null;
|
|
9
|
+
themeId?: string | null;
|
|
10
|
+
name?: string;
|
|
11
|
+
message?: string;
|
|
12
|
+
status?: TaskStatus;
|
|
13
|
+
params?: any;
|
|
14
|
+
result?: string;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
updatedAt?: Date;
|
|
17
|
+
startedAt?: Date;
|
|
18
|
+
endedAt?: Date;
|
|
19
|
+
}
|
|
20
|
+
export declare const taskToInputCascade: (entity: Task) => TaskInput;
|
|
21
|
+
export declare const taskToInput: (entity: Task) => TaskInput;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OrderBy } from '@rxdrag/entify-lib';
|
|
2
|
+
export interface TaskOrderBy {
|
|
3
|
+
id?: OrderBy;
|
|
4
|
+
celeryTaskId?: OrderBy;
|
|
5
|
+
type?: OrderBy;
|
|
6
|
+
websiteId?: OrderBy;
|
|
7
|
+
themeId?: OrderBy;
|
|
8
|
+
name?: OrderBy;
|
|
9
|
+
message?: OrderBy;
|
|
10
|
+
status?: OrderBy;
|
|
11
|
+
params?: OrderBy;
|
|
12
|
+
result?: OrderBy;
|
|
13
|
+
createdAt?: OrderBy;
|
|
14
|
+
updatedAt?: OrderBy;
|
|
15
|
+
startedAt?: OrderBy;
|
|
16
|
+
endedAt?: OrderBy;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum TaskStatus {
|
|
2
|
+
/**
|
|
3
|
+
* label: undefined
|
|
4
|
+
*/
|
|
5
|
+
A_Progress = "A_Progress",
|
|
6
|
+
/**
|
|
7
|
+
* label: undefined
|
|
8
|
+
*/
|
|
9
|
+
B_Failure = "B_Failure",
|
|
10
|
+
/**
|
|
11
|
+
* label: undefined
|
|
12
|
+
*/
|
|
13
|
+
C_Pending = "C_Pending",
|
|
14
|
+
/**
|
|
15
|
+
* label: undefined
|
|
16
|
+
*/
|
|
17
|
+
D_Success = "D_Success"
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare enum TaskType {
|
|
2
|
+
/**
|
|
3
|
+
* label: undefined
|
|
4
|
+
*/
|
|
5
|
+
TranslateTheme = "TranslateTheme",
|
|
6
|
+
/**
|
|
7
|
+
* label: undefined
|
|
8
|
+
*/
|
|
9
|
+
TranslateWebsite = "TranslateWebsite",
|
|
10
|
+
/**
|
|
11
|
+
* label: undefined
|
|
12
|
+
*/
|
|
13
|
+
TranslatePage = "TranslatePage",
|
|
14
|
+
/**
|
|
15
|
+
* label: undefined
|
|
16
|
+
*/
|
|
17
|
+
TranslateComponent = "TranslateComponent",
|
|
18
|
+
/**
|
|
19
|
+
* label: undefined
|
|
20
|
+
*/
|
|
21
|
+
TranslatePost = "TranslatePost",
|
|
22
|
+
/**
|
|
23
|
+
* label: undefined
|
|
24
|
+
*/
|
|
25
|
+
TranslateProduct = "TranslateProduct"
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1,23 @@
|
|
|
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;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -10,6 +10,8 @@ import { Customer } from './Customer';
|
|
|
10
10
|
import { ProductCategory } from './ProductCategory';
|
|
11
11
|
import { SpamFilterRule } from './SpamFilterRule';
|
|
12
12
|
import { Media } from './Media';
|
|
13
|
+
import { VideoFolder } from './VideoFolder';
|
|
14
|
+
import { Video } from './Video';
|
|
13
15
|
import { Lang } from './Lang';
|
|
14
16
|
import { Theme } from './Theme';
|
|
15
17
|
import { AnalyticsConfig } from './AnalyticsConfig';
|
|
@@ -68,6 +70,8 @@ export interface Website {
|
|
|
68
70
|
partsOfProductCategory?: ProductCategory[];
|
|
69
71
|
partsOfSpamFilterRule?: SpamFilterRule[];
|
|
70
72
|
partsOfMedia?: Media[];
|
|
73
|
+
partsOfVideoFolder?: VideoFolder[];
|
|
74
|
+
partsOfVideo?: Video[];
|
|
71
75
|
langs?: Lang[];
|
|
72
76
|
baseLang?: Lang;
|
|
73
77
|
themes?: Theme[];
|
|
@@ -86,6 +90,8 @@ export interface Website {
|
|
|
86
90
|
partsOfProductCategoryAggregate?: Aggregate;
|
|
87
91
|
partsOfSpamFilterRuleAggregate?: Aggregate;
|
|
88
92
|
partsOfMediaAggregate?: Aggregate;
|
|
93
|
+
partsOfVideoFolderAggregate?: Aggregate;
|
|
94
|
+
partsOfVideoAggregate?: Aggregate;
|
|
89
95
|
langsAggregate?: Aggregate;
|
|
90
96
|
themesAggregate?: Aggregate;
|
|
91
97
|
changelogsAggregate?: Aggregate;
|
|
@@ -13,6 +13,8 @@ import { CustomerBoolExp } from './CustomerBoolExp';
|
|
|
13
13
|
import { ProductCategoryBoolExp } from './ProductCategoryBoolExp';
|
|
14
14
|
import { SpamFilterRuleBoolExp } from './SpamFilterRuleBoolExp';
|
|
15
15
|
import { MediaBoolExp } from './MediaBoolExp';
|
|
16
|
+
import { VideoFolderBoolExp } from './VideoFolderBoolExp';
|
|
17
|
+
import { VideoBoolExp } from './VideoBoolExp';
|
|
16
18
|
import { LangBoolExp } from './LangBoolExp';
|
|
17
19
|
import { ThemeBoolExp } from './ThemeBoolExp';
|
|
18
20
|
import { AnalyticsConfigBoolExp } from './AnalyticsConfigBoolExp';
|
|
@@ -50,6 +52,8 @@ export interface WebsiteBoolExp {
|
|
|
50
52
|
partsOfProductCategory?: ProductCategoryBoolExp;
|
|
51
53
|
partsOfSpamFilterRule?: SpamFilterRuleBoolExp;
|
|
52
54
|
partsOfMedia?: MediaBoolExp;
|
|
55
|
+
partsOfVideoFolder?: VideoFolderBoolExp;
|
|
56
|
+
partsOfVideo?: VideoBoolExp;
|
|
53
57
|
langs?: LangBoolExp;
|
|
54
58
|
baseLang?: LangBoolExp;
|
|
55
59
|
themes?: ThemeBoolExp;
|
|
@@ -11,6 +11,8 @@ import { CustomerInput } from './CustomerInput';
|
|
|
11
11
|
import { ProductCategoryInput } from './ProductCategoryInput';
|
|
12
12
|
import { SpamFilterRuleInput } from './SpamFilterRuleInput';
|
|
13
13
|
import { MediaInput } from './MediaInput';
|
|
14
|
+
import { VideoFolderInput } from './VideoFolderInput';
|
|
15
|
+
import { VideoInput } from './VideoInput';
|
|
14
16
|
import { LangInput } from './LangInput';
|
|
15
17
|
import { ThemeInput } from './ThemeInput';
|
|
16
18
|
import { AnalyticsConfigInput } from './AnalyticsConfigInput';
|
|
@@ -68,6 +70,8 @@ export interface WebsiteInput {
|
|
|
68
70
|
partsOfProductCategory?: SetHasMany<ProductCategoryInput>;
|
|
69
71
|
partsOfSpamFilterRule?: SetHasMany<SpamFilterRuleInput>;
|
|
70
72
|
partsOfMedia?: SetHasMany<MediaInput>;
|
|
73
|
+
partsOfVideoFolder?: SetHasMany<VideoFolderInput>;
|
|
74
|
+
partsOfVideo?: SetHasMany<VideoInput>;
|
|
71
75
|
langs?: SetHasMany<LangInput>;
|
|
72
76
|
baseLang?: SetHasOne<LangInput>;
|
|
73
77
|
themes?: SetHasMany<ThemeInput>;
|
|
@@ -233,3 +233,20 @@ 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
|
+
export * from './Task';
|
|
247
|
+
export * from './TaskInput';
|
|
248
|
+
export * from './TaskBoolExp';
|
|
249
|
+
export * from './TaskOrderBy';
|
|
250
|
+
export * from './TaskDistinctExp';
|
|
251
|
+
export * from './TaskStatus';
|
|
252
|
+
export * from './TaskType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/rxcms-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.66",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"eslint": "^7.32.0",
|
|
14
14
|
"typescript": "^5",
|
|
15
|
-
"@rxdrag/
|
|
16
|
-
"@rxdrag/
|
|
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",
|
|
20
|
-
"@rxdrag/entify-lib": "0.0.
|
|
20
|
+
"@rxdrag/entify-lib": "0.0.5"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "eslint . --ext .ts,tsx",
|