uppy/packages/@uppy/provider-views
github-actions[bot] a89009dbf0
Release: uppy@3.26.1 (#5242)
| Package              | Version | Package              | Version |
| -------------------- | ------- | -------------------- | ------- |
| @uppy/locales        |   3.5.4 | @uppy/transloadit    |   3.7.1 |
| @uppy/provider-views |  3.12.1 | uppy                 |  3.26.1 |

- meta: Improve aws-node example readme (Artur Paikin / #4753)
- @uppy/locales: Added translation string (it_IT) (Samuel / #5237)
- @uppy/transloadit: fix transloadit:result event (Merlijn Vos / #5231)
- @uppy/provider-views: fix wrong font for files (Merlijn Vos / #5234)
2024-06-11 08:36:55 +00:00
..
src @uppy/provider-views: fix wrong font for files (#5234) 2024-06-07 10:02:57 +02:00
types meta: run Prettier on existing files (#4713) 2023-09-29 11:11:28 +02:00
.npmignore @uppy/provider-views: migrate to TS (#4919) 2024-02-27 18:15:08 +01:00
CHANGELOG.md Release: uppy@3.26.1 (#5242) 2024-06-11 08:36:55 +00:00
LICENSE Move ProviderView to @uppy/provider-views. 2018-06-14 16:31:19 +02:00
package.json Release: uppy@3.26.1 (#5242) 2024-06-11 08:36:55 +00:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
tsconfig.build.json @uppy/provider-views: migrate to TS (#4919) 2024-02-27 18:15:08 +01:00
tsconfig.json @uppy/provider-views: migrate to TS (#4919) 2024-02-27 18:15:08 +01:00

@uppy/provider-views

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

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

License

The MIT License.