add “block import” feature

This commit is contained in:
taehoon 2019-03-30 07:27:53 -04:00
parent 6ea4154084
commit 0ab2f9dfa5
5 changed files with 32 additions and 0 deletions

View file

@ -107,6 +107,7 @@ const backendInteractorService = (credentials) => {
const updateProfile = ({params}) => apiService.updateProfile({credentials, params})
const externalProfile = (profileUrl) => apiService.externalProfile({profileUrl, credentials})
const importBlocks = (file) => apiService.importBlocks({file, credentials})
const importFollows = (file) => apiService.importFollows({file, credentials})
const deleteAccount = ({password}) => apiService.deleteAccount({credentials, password})
@ -147,6 +148,7 @@ const backendInteractorService = (credentials) => {
updateBanner,
updateProfile,
externalProfile,
importBlocks,
importFollows,
deleteAccount,
changePassword,