Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / profileRegistrySnapshotHash

Function: profileRegistrySnapshotHash()

ts
function profileRegistrySnapshotHash(profiles): string;

Defined in: packages/core/dist/index.d.ts

The deterministic profile-registry snapshot hash frozen inside termination.init: profile names mapped to their declared ladder lengths, canonical JSON, sha256.

Parameters

ParameterType
profilesRecord<string, unknown> | undefined

Returns

string