Type alias GenericFile

GenericFile: {
    buffer: Uint8Array;
    contentType: string | null;
    displayName: string;
    extension: string | null;
    fileName: string;
    tags: GenericFileTag[];
    uniqueName: string;
}

A generic definition of a File represented as a buffer with extra metadata such as a file name, content type, and tags.

Type declaration

  • Readonly buffer: Uint8Array
  • Readonly contentType: string | null
  • Readonly displayName: string
  • Readonly extension: string | null
  • Readonly fileName: string
  • Readonly tags: GenericFileTag[]
  • Readonly uniqueName: string

Generated using TypeDoc