mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
uploading
This commit is contained in:
parent
f9f39a94c8
commit
75fb88b209
6 changed files with 29 additions and 9 deletions
|
@ -19,9 +19,10 @@ export const EMPTY_FILE: IFile = {
|
|||
user_id: null,
|
||||
node_id: null,
|
||||
|
||||
name: 'somefile.jpg',
|
||||
path: '/covers/',
|
||||
full_path: '/covers/somefile.jpg',
|
||||
name: 'mario-collage-800x450.jpg',
|
||||
path: '/wp-content/uploads/2017/09/',
|
||||
full_path: '/wp-content/uploads/2017/09/mario-collage-800x450.jpg',
|
||||
url: 'https://cdn.arstechnica.net/wp-content/uploads/2017/09/mario-collage-800x450.jpg',
|
||||
size: 2400000,
|
||||
type: 'image',
|
||||
mime: 'image/jpeg',
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import { createReducer } from "~/utils/reducer";
|
||||
import { IFile } from "~/redux/types";
|
||||
import { UUID } from "../types";
|
||||
import { IFile, UUID } from "~/redux/types";
|
||||
import { UPLOAD_HANDLERS } from "./handlers";
|
||||
|
||||
export interface IUploadStatus {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue