Changeset View
Changeset View
Standalone View
Standalone View
lib/types/media-types.js
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | export type Corners = Shape<{ | ||||
+topRight: boolean, | +topRight: boolean, | ||||
+bottomLeft: boolean, | +bottomLeft: boolean, | ||||
+bottomRight: boolean, | +bottomRight: boolean, | ||||
}>; | }>; | ||||
export type MediaInfo = | export type MediaInfo = | ||||
| { | | { | ||||
...Image, | ...Image, | ||||
+corners: Corners, | |||||
+index: number, | +index: number, | ||||
} | } | ||||
| { | | { | ||||
...Video, | ...Video, | ||||
+corners: Corners, | |||||
+index: number, | +index: number, | ||||
}; | }; | ||||
export type UploadMultimediaResult = { | export type UploadMultimediaResult = { | ||||
+id: string, | +id: string, | ||||
+uri: string, | +uri: string, | ||||
+dimensions: Dimensions, | +dimensions: Dimensions, | ||||
+mediaType: MediaType, | +mediaType: MediaType, | ||||
▲ Show 20 Lines • Show All 461 Lines • Show Last 20 Lines |