UNPKG

@uppy/google-photos

Version:

The Google Photos plugin for Uppy lets users import photos from their Google Photos account

20 lines 982 B
import { UIPlugin, Uppy } from '@uppy/core'; import { ProviderViews } from '@uppy/provider-views'; import { Provider, type CompanionPluginOptions } from '@uppy/companion-client'; import { h, type ComponentChild } from 'preact'; import type { UppyFile, Body, Meta, AsyncStore, UnknownProviderPlugin, UnknownProviderPluginState } from '@uppy/core'; export type GooglePhotosOptions = CompanionPluginOptions; export default class GooglePhotos<M extends Meta, B extends Body> extends UIPlugin<GooglePhotosOptions, M, B, UnknownProviderPluginState> implements UnknownProviderPlugin<M, B> { static VERSION: any; icon: () => h.JSX.Element; provider: Provider<M, B>; view: ProviderViews<M, B>; storage: AsyncStore; files: UppyFile<M, B>[]; rootFolderId: string | null; constructor(uppy: Uppy<M, B>, opts: GooglePhotosOptions); install(): void; uninstall(): void; render(state: unknown): ComponentChild; } //# sourceMappingURL=GooglePhotos.d.ts.map