Skip to content

five-on-it / apps/server/src/run-host / missionHash

Function: missionHash() ​

missionHash(authored): string

Defined in: apps/server/src/run-host.ts:194

The SHA-256 of a mission as its run reports it: of the mission as authored (its canonical JSON, keys sorted, before the schema fills in any default), so a release whose schema adds or changes a default leaves the hash of a mission nobody rewrote as it was (the platform counts a mission's plays by it, P3).

Parameters ​

authored ​

unknown

Returns ​

string