(parentPath, name)
| 50 | } |
| 51 | |
| 52 | export const createWorkspaceDirectory = (parentPath, name) => { |
| 53 | return apiPost('/api/workspace/directory', { |
| 54 | parent_path: parentPath, |
| 55 | name |
| 56 | }) |
| 57 | } |
| 58 | |
| 59 | export const uploadWorkspaceFiles = (parentPath, files) => { |
| 60 | const formData = new FormData() |