Display uploaded media
Summary: * Make sure uploadIDs are converted into CDN urls and displayed * Changed type of uploadID's to strings, as numbers are Reviewed By: priteshrnandgaonkar Differential Revision: D18762974 fbshipit-source-id: d94af61b0bc114b5f0cc2bfcde98fd491058e971
This commit is contained in:
committed by
Facebook Github Bot
parent
d791814dfa
commit
3e8a026618
@@ -9,9 +9,12 @@
|
||||
|
||||
import {Actions} from './';
|
||||
type SubmediaType =
|
||||
| {uploadID: number; status: 'Uploaded'}
|
||||
| {uploadID: string; status: 'Uploaded'}
|
||||
| {status: 'NotUploaded' | 'Uploading'};
|
||||
type MediaObject = SubmediaType & {description: string; path: string};
|
||||
type MediaObject = SubmediaType & {
|
||||
description: string;
|
||||
path: string;
|
||||
};
|
||||
export type MediaType = Array<MediaObject>;
|
||||
export type SupportFormV2State = {
|
||||
title: string;
|
||||
|
||||
Reference in New Issue
Block a user