@unisphere/genie-types 1.19.3 → 1.19.4
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/index.esm.js
CHANGED
|
@@ -3115,17 +3115,17 @@ const clipSchema = {
|
|
|
3115
3115
|
type: {
|
|
3116
3116
|
type: 'primitive',
|
|
3117
3117
|
value: 'string',
|
|
3118
|
-
optional:
|
|
3118
|
+
optional: true
|
|
3119
3119
|
},
|
|
3120
3120
|
thumbnail: {
|
|
3121
3121
|
type: 'primitive',
|
|
3122
3122
|
value: 'string',
|
|
3123
|
-
optional:
|
|
3123
|
+
optional: true
|
|
3124
3124
|
},
|
|
3125
3125
|
video_link: {
|
|
3126
3126
|
type: 'primitive',
|
|
3127
3127
|
value: 'string',
|
|
3128
|
-
optional:
|
|
3128
|
+
optional: true
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
3131
3131
|
};
|
|
@@ -3139,7 +3139,7 @@ const videoSlideSchema = {
|
|
|
3139
3139
|
text: {
|
|
3140
3140
|
type: 'primitive',
|
|
3141
3141
|
value: 'string',
|
|
3142
|
-
optional:
|
|
3142
|
+
optional: true
|
|
3143
3143
|
},
|
|
3144
3144
|
citation: {
|
|
3145
3145
|
type: 'object',
|
|
@@ -3165,7 +3165,7 @@ const textSlideSchema = {
|
|
|
3165
3165
|
},
|
|
3166
3166
|
citation: {
|
|
3167
3167
|
type: 'any',
|
|
3168
|
-
optional:
|
|
3168
|
+
optional: true
|
|
3169
3169
|
}
|
|
3170
3170
|
}
|
|
3171
3171
|
};
|
package/package.json
CHANGED
|
@@ -2,16 +2,15 @@ import { ValidatorSchema } from '@unisphere/core';
|
|
|
2
2
|
export interface VideoClip {
|
|
3
3
|
start_index: number;
|
|
4
4
|
last_index: number;
|
|
5
|
-
entry_id
|
|
5
|
+
entry_id?: string;
|
|
6
6
|
start_time: number;
|
|
7
7
|
end_time: number;
|
|
8
|
-
type
|
|
9
|
-
thumbnail
|
|
10
|
-
video_link
|
|
8
|
+
type?: string;
|
|
9
|
+
thumbnail?: string;
|
|
10
|
+
video_link?: string;
|
|
11
11
|
}
|
|
12
12
|
export interface VideoSlide {
|
|
13
13
|
slide_type: 'video';
|
|
14
|
-
text: string | null;
|
|
15
14
|
citation: {
|
|
16
15
|
clips: VideoClip[];
|
|
17
16
|
};
|
|
@@ -19,7 +18,6 @@ export interface VideoSlide {
|
|
|
19
18
|
export interface TextSlide {
|
|
20
19
|
slide_type: 'text';
|
|
21
20
|
text: string;
|
|
22
|
-
citation: null;
|
|
23
21
|
}
|
|
24
22
|
export type Slide = VideoSlide | TextSlide;
|
|
25
23
|
export type ContentGalleryToolVisualsBaseSettings = {
|