Type Alias FileAdapterSignedDownloadUrlSettings

FileAdapterSignedDownloadUrlSettings: {
    contentDisposition: string | null;
    contentType: string | null;
    expirationInSeconds: number;
}

Configuration for generating temporary signed download URLs for files. These settings control how the presigned download URL behaves when accessed.

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

Type declaration

  • contentDisposition: string | null

    Content-Disposition header value controlling how browsers handle the download. "attachment" forces download to disk, "inline" displays in browser. Null means the storage backend will use default behavior.

  • contentType: string | null

    MIME type of the file content. When set, the response will include the Content-Type header with this value. Null indicates the storage backend should determine the type automatically.

  • expirationInSeconds: number

    Time in seconds until the signed download URL expires. After expiration, the URL becomes invalid and clients must request a new one.