Const
Zod schema for validating file sizes.
Validates that the size is a non-negative integer up to 100MB.
const size = FileSize.parse(1024 * 1024); // 1MB Copy
const size = FileSize.parse(1024 * 1024); // 1MB
makeFileSize for factory function
Zod schema for validating file sizes.