Changeset View
Changeset View
Standalone View
Standalone View
lib/types/media-types.js
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | export type EncryptedVideo = { | ||||
+loop?: boolean, | +loop?: boolean, | ||||
+thumbnailID: string, | +thumbnailID: string, | ||||
+thumbnailHolder: string, | +thumbnailHolder: string, | ||||
+thumbnailEncryptionKey: string, | +thumbnailEncryptionKey: string, | ||||
}; | }; | ||||
export type Media = Image | Video | EncryptedImage | EncryptedVideo; | export type Media = Image | Video | EncryptedImage | EncryptedVideo; | ||||
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 490 Lines • Show Last 20 Lines |