UNPKG

@girin/framework

Version:

Core modules for Girin: GraphQL server framework

23 lines 665 B
/// <reference types="node" /> import { Readable } from 'stream'; export interface FileUpload { /** * File name */ filename: string; /** * File MIME type. Provided by the client and can’t be trusted. */ mimetype: string; /** * File stream transfer encoding */ encoding: string; /** * Returns a Node.js readable stream of the file contents, for processing and storing the file. * Multiple calls create independent streams. Throws if called after all resolvers have resolved, * or after an error has interrupted the request. */ stream: Readable; } //# sourceMappingURL=types.d.ts.map