FileUploadUrlOptions: { contentType?: string | null; ttl?: ITimeSpan }

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

Type declaration

  • 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)