Type Alias FileAdapterSignedUploadUrlSettings

FileAdapterSignedUploadUrlSettings: {
    contentType: string | null;
    expirationInSeconds: number;
}

Configuration for generating temporary signed upload URLs for files. These settings control how the presigned upload URL behaves and what files can be uploaded.

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

Type declaration

  • contentType: string | null

    Expected MIME type of files being uploaded. Some storage backends use this to validate uploads (e.g., S3 Content-Type policy). Null means any content type is accepted.

  • expirationInSeconds: number

    Time in seconds until the signed upload URL expires. After expiration, clients cannot use this URL to upload files. Typically shorter than download URL expiration for security.