Skip to content

Commit

Permalink
refactor to use composition api
Browse files Browse the repository at this point in the history
cleanup component dom
abstract libre-graph stubs into temporary sdk
  • Loading branch information
fschade authored and JammingBen committed Jan 13, 2022
1 parent 2ebce2e commit 418c360
Show file tree
Hide file tree
Showing 11 changed files with 3,367 additions and 87 deletions.
1 change: 0 additions & 1 deletion libre-graph-api-typescript-axios
Submodule libre-graph-api-typescript-axios deleted from 7dd018
1 change: 0 additions & 1 deletion packages/web-app-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"copy-to-clipboard": "^3.3.1",
"filter-obj": "^2.0.1",
"semver": "^6.1.0",
"typescript-axios": "file:../../libre-graph-api-typescript-axios",
"vue2-dropzone": "^3.6.0"
}
}
10 changes: 10 additions & 0 deletions packages/web-app-files/src/spaces/sdk/drives.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Configuration, MeDrivesApi, CollectionOfDrives } from './generated'
import { AxiosInstance, AxiosPromise } from 'axios'

export const listMyDrives = async (
axiosClient: AxiosInstance,
config: Configuration
): Promise<AxiosPromise<CollectionOfDrives>> => {
const meDrivesApi = new MeDrivesApi(config, config.basePath, axiosClient)
return await meDrivesApi.listMyDrives()
}
Loading

0 comments on commit 418c360

Please sign in to comment.