ApiCoreInterfaces
Interface: CapabilityGateConfig
Defined in: packages/core/src/validation/capability-gate.ts:5
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
isTrustedRoot? | readonly | (rootDid, version) => boolean | Promise<boolean> | Whether a root identity may write this version at all; defaults to any root | packages/core/src/validation/capability-gate.ts:11 |
provider | readonly | CryptoProvider | Crypto provider used to verify the note | packages/core/src/validation/capability-gate.ts:7 |
required | readonly | (version) => Requirement | What an author must be granted to write this version | packages/core/src/validation/capability-gate.ts:9 |