mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 12:37:00 +00:00
| Package | Version | Package | Version | | -------------------- | ------- | -------------------- | ------- | | @uppy/companion | 3.7.0 | @uppy/transloadit | 2.3.2 | | @uppy/locales | 2.1.1 | @uppy/robodog | 2.8.2 | | @uppy/provider-views | 2.1.2 | uppy | 2.12.2 | - @uppy/provider-views: improve logging (Mikael Finstad / #3638) - docs: de-dupe companion dev docs (Mikael Finstad / #3852) - @uppy/companion: Getkey safe behavior (Mikael Finstad / #3592) - website: fix broken links (YukeshShr / #3861) - @uppy/companion: doc: fix Google Drive example (Antoine du Hamel / #3855) - @uppy/locales,@uppy/transloadit: Fix undefined error in in onTusError (Merlijn Vos / #3848) - @uppy/companion: build an ARM64 container (Stuart Auld / #3841) - @uppy/locales: Add missing translations and reorder nl_NL locale (Kasper Meinema / #3839) - docs: Fix typo in aws-s3-multipart.md (Ikko Ashimine / #3838) - meta: do not rebase when preparing beta candidates (Antoine du Hamel) - meta: fix hard-coded branch name in release script (Antoine du Hamel) |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@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