mirror of
https://github.com/transloadit/uppy.git
synced 2026-08-03 07:13:04 +00:00
| Package | Version | Package | Version | | -------------------- | ------- | -------------------- | ------- | | @uppy/box | 2.4.0 | @uppy/onedrive | 3.4.0 | | @uppy/companion | 4.14.0 | @uppy/provider-views | 3.13.0 | | @uppy/core | 3.13.0 | @uppy/react | 3.4.0 | | @uppy/dashboard | 3.9.0 | @uppy/remote-sources | 1.3.0 | | @uppy/dropbox | 3.4.0 | @uppy/transloadit | 3.8.0 | | @uppy/google-drive | 3.6.0 | uppy | 3.27.0 | | @uppy/google-photos | 0.1.0 | | | - @uppy/google-photos: add plugin (Mikael Finstad / #5061) - examples: updating aws-nodejs example listParts logic for resuming uploads (Mitchell Rhoads / #5192) - meta: Bump docker/login-action from 3.1.0 to 3.2.0 (dependabot\[bot] / #5217) - meta: Bump docker/build-push-action from 5.3.0 to 5.4.0 (dependabot\[bot] / #5252) - @uppy/transloadit: also fix outdated assembly transloadit:result (Merlijn Vos / #5246) - docs: fix typo in the url (Evgenia Karunus) - @uppy/companion: Bump ws from 8.8.1 to 8.17.1 (dependabot\[bot] / #5256) |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| .npmignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
@uppy/provider-views
View library for Uppy remote provider plugins.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
import Plugin from '@uppy/core/lib/plugin'
import { ProviderViews } from '@uppy/provider-views'
class GoogleDrive extends UIPlugin {
install() {
this.view = new ProviderViews(this)
// snip
}
onFirstRender() {
return Promise.all([
this.provider.fetchPreAuthToken(),
this.view.getFolder('root'),
])
}
render(state) {
return this.view.render(state)
}
}
Installation
Unless you are creating a custom provider plugin, you do not need to install this.
$ npm install @uppy/provider-views