Interface: ContractExample
Defined in: packages/std/src/blueprints.ts:74
A version that a proposed collection's contract must let count, or must not
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
author? | readonly | string | Who writes it, an account DID; the proposer when left out | packages/std/src/blueprints.ts:78 |
body | readonly | unknown | - | packages/std/src/blueprints.ts:76 |
collection | readonly | string | - | packages/std/src/blueprints.ts:75 |
creator? | readonly | string | Who wrote the record's first version; the version before's author, or this one's, when left out | packages/std/src/blueprints.ts:83 |
expect | readonly | "pass" | "fail" | - | packages/std/src/blueprints.ts:84 |
links? | readonly | ExampleLinks | - | packages/std/src/blueprints.ts:79 |
prev? | readonly | object | The version before, for a contract that reads prev; none for a first version. Its author is this one's when left out | packages/std/src/blueprints.ts:81 |
prev.author? | readonly | string | - | packages/std/src/blueprints.ts:81 |
prev.body | readonly | unknown | - | packages/std/src/blueprints.ts:81 |
prev.links? | readonly | ExampleLinks | - | packages/std/src/blueprints.ts:81 |