hashOffunctionno test imports itfunction hashOf(plan: DnsPlan): stringThe hash of a plan: of its records, in an order that does not depend on how the provider listed them (the ids of the provider are part of what is changed, so they count).
The plan of a zone as a person approves it: what changes, and the hash of exactly that. The hash is of the plan as data, so that a plan that changed between the reading and the apply is another hash.
import { hashOf } from "./plan.ts";
hashOf({ create: [], update: [], remove: [] }); // "sha256:..."hashOffunctionno test imports itfunction hashOf(plan: DnsPlan): stringThe hash of a plan: of its records, in an order that does not depend on how the provider listed them (the ids of the provider are part of what is changed, so they count).
planZonefunctionno test imports itfunction planZone(subject: DnsSubject): Promise<{ readonly plan: DnsPlan; readonly hash: string | undefined; }>The plan of a zone now, and its hash where it changes something.
describefunctionno test imports itfunction describe(plan: DnsPlan, hash: string | undefined): stringThe text a person reads before approving a plan.