Files
new-phone-who-dis/typings/photo.ts
T
J Francisco Rader b97cc4102d Feature / Add loading state to camera app (#200)
* (feat/camera-loading): Add loading state to camera app

* Fix imports + Add timeout

* Use actual function :D
2021-04-10 16:19:25 -03:00

17 lines
463 B
TypeScript

export interface IPhoto {
image: string;
id: number;
}
export enum PhotoEvents {
TAKE_PHOTO = 'npwd:TakePhoto',
TAKE_PHOTO_SUCCESS = 'npwd:TakePhotoSuccess',
TAKE_PHOTO_ERROR = 'npwd:TakePhotoError',
UPLOAD_PHOTO = 'npwd:UploadPhoto',
UPLOAD_PHOTO_SUCCESS = 'npwd:UploadPhotoSuccess',
FETCH_PHOTOS = 'npwd:FetchPhotos',
SEND_PHOTOS = 'npwd:SendPhotos',
DELETE_PHOTO = 'npwd:deletePhoto',
DELETE_PHOTO_SUCCESS = 'npwd:deletePhotoSuccess',
}