Interface FileOptions

Shape of the object to be provided as an argument for the options parameter of the uploadFile method on the MongoFileTree class.

Hierarchy

  • FileOptions

Properties

chunkSize: number

Size of the file chunks in GridFS

customMetadata?: MetadataOptions

Custom metadata properties to add to the file. Any property can be added besides 'path', 'parentDirectory', and 'isLatest' can be added. Is optional.

name: string

Name of the file being uploaded

Generated using TypeDoc