add documentation for IntegrityMetadata class properties

This commit is contained in:
Nebel 2025-01-06 11:32:52 +09:00
parent c8e7319396
commit 52ff1f7e9a
Signed by: nebel
GPG key ID: 79807D08C6EF6460

View file

@ -90,8 +90,11 @@ export type IntegrityMetadataLike = {
* Class representing integrity metadata, consisting of a hash algorithm and hash value. * Class representing integrity metadata, consisting of a hash algorithm and hash value.
*/ */
export class IntegrityMetadata implements IntegrityMetadataLike { export class IntegrityMetadata implements IntegrityMetadataLike {
/** Hash algorithm */
alg: PrioritizedHashAlgorithm; alg: PrioritizedHashAlgorithm;
/** The base64-encoded hash value of the resource */
val: string; val: string;
/** Optional additional attributes */
opt: string[]; opt: string[];
/** /**