Changeset View
Changeset View
Standalone View
Standalone View
lib/types/media-types.js
Show All 27 Lines | export type Video = { | ||||
+thumbnailID: string, | +thumbnailID: string, | ||||
+thumbnailURI: string, | +thumbnailURI: string, | ||||
// stored on native only during creation in case retry needed after state lost | // stored on native only during creation in case retry needed after state lost | ||||
+localMediaSelection?: NativeMediaSelection, | +localMediaSelection?: NativeMediaSelection, | ||||
}; | }; | ||||
export type Media = Image | Video; | export type Media = Image | Video; | ||||
export type AvatarMediaInfo = { | |||||
+type: 'photo', | |||||
+uri: string, | |||||
}; | |||||
export type ClientDBMediaInfo = { | export type ClientDBMediaInfo = { | ||||
+id: string, | +id: string, | ||||
+uri: string, | +uri: string, | ||||
+type: 'photo' | 'video', | +type: 'photo' | 'video', | ||||
+extras: string, | +extras: string, | ||||
}; | }; | ||||
export type Corners = Shape<{ | export type Corners = Shape<{ | ||||
▲ Show 20 Lines • Show All 482 Lines • Show Last 20 Lines |