fix: 📝 Specify hash format

This commit is contained in:
Gaspard Wierzbinski 2025-01-23 16:28:10 +01:00 committed by GitHub
parent 13132e9745
commit fd7bb959cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ It is a good idea to provide at least two versions of an image (if possible): on
Size of the content in bytes. Size of the content in bytes.
</Property> </Property>
<Property name="hash" type="Hash" required={false}> <Property name="hash" type="Hash" required={false}>
Hash of the content. Hash of the content. Encoded in hexadecimal.
```typescript ```typescript
type HashNames = "sha256" | "sha512" | "sha3-256" | "sha3-512" | "blake2b-256" | "blake2b-512" | "blake3-256" | "blake3-512" | "md5" | "sha1" | "sha224" | "sha384" | "sha3-224" | "sha3-384" | "blake2s-256" | "blake2s-512" | "blake3-224" | "blake3-384"; type HashNames = "sha256" | "sha512" | "sha3-256" | "sha3-512" | "blake2b-256" | "blake2b-512" | "blake3-256" | "blake3-512" | "md5" | "sha1" | "sha224" | "sha384" | "sha3-224" | "sha3-384" | "blake2s-256" | "blake2s-512" | "blake3-224" | "blake3-384";