mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
* (feat/camera-loading): Add loading state to camera app * Fix imports + Add timeout * Use actual function :D
17 lines
463 B
TypeScript
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',
|
|
}
|