Skip to content

detectContentType

detectContentType(file): ContentType

Defined in: qrati-sdk-ts/src/file-utils.ts:48

IMAGE for image/* and HEIC/GIF variants, VIDEO otherwise — matches the ContentType union the create-upload API expects.

QratiFile

ContentType