npm

@types/laravel-vapor
TypeScript icon, indicating that this package has built-in type declarations

0.6.5 • Public • Published

Installation

npm install --save @types/laravel-vapor

Summary

This package contains type definitions for laravel-vapor (https://github.com/laravel/vapor-js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/laravel-vapor.

//

interface VaporStoreOptions {
    signedStorageUrl?: string | undefined;
    bucket?: string | undefined;
    cancelToken?: string | undefined;
    contentType?: string | undefined;
    data?: any;
    expires?: string | undefined;
    visibility?: string | undefined;
    baseURL?: string | undefined;
    headers?: any;
    options?: any;
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    progress?: (value: number) => void | undefined;
}

declare class Vapor {
    store(file: File, options?: VaporStoreOptions): Promise<any>;
    withBaseAssetUrl(url?: string): void;
    asset(path: string): string;
}

declare const VaporInstance: Vapor;
export = VaporInstance;

Additional Details

  • Last updated: Mon, 17 Jun 2024 20:07:03 GMT
  • Dependencies: none

Credits

These definitions were written by saibotk.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/laravel-vapor

Weekly Downloads

2,064

Version

0.6.5

License

MIT

Unpacked Size

3.95 kB

Total Files

5

Last publish

Collaborators

  • types