Type Alias FileDownloadUrlOptions

FileDownloadUrlOptions: {
    contentDisposition?: string | null;
    contentType?: string | null;
    ttl?: ITimeSpan;
}

IMPORT_PATH: "@daiso-tech/core/file-storage/contracts"

Type declaration

  • OptionalcontentDisposition?: string | null
    null
    
  • OptionalcontentType?: string | null

    The content type will be infered by key.

  • Optionalttl?: ITimeSpan

    The ttl of signed url.

    import { TimeSpan } from "@daiso-tech/time-span"

    TimeSpan.fromMinutes(10)