package main // The ledger the records are kept in (novox/hq ADR 0597 §11, to-be 55 §2.1): one instance per record, a type for each // kind, every change an operation the module hands to the tool runner's apply. // LedgerName is the local name the module asks its ledger for in `requires`. const LedgerName = "records" // The operations the ledger's types allow (ADR 0597 §11: reserve, propose, write-section, submit, take-over, review, ask, // warrant, accept and withdraw; and those the module's other changes of a record are, so each leaves its own mark in // the history). const ( OpReserve = "reserve" OpPropose = "propose" OpWriteSection = "write-section" OpSubmit = "submit" OpTakeOver = "take-over" OpReview = "review" OpAsk = "ask" OpWarrant = "warrant" OpAccept = "accept" OpWithdraw = "withdraw" OpRetract = "retract" OpDraft = "draft" OpDrop = "drop" OpImport = "import" OpForm = "form" ) // LedgerOperations are the operations, in the order the manifest's types allow them. var LedgerOperations = []string{OpReserve, OpPropose, OpWriteSection, OpSubmit, OpDrop, OpImport, OpForm, OpTakeOver, OpReview, OpAsk, OpWarrant, OpAccept, OpWithdraw, OpRetract, OpDraft}