Skip to content

Documentation / @super-line/core / ContractFragment

Interface: ContractFragment ​

Defined in: packages/core/src/contract.ts:299

A contract fragment a plugin contributes at defineContract time: any subset of a contract's typed surface.

Properties ​

collections? ​

optional collections?: Record<string, CollectionDef>

Defined in: packages/core/src/contract.ts:302


roles? ​

optional roles?: Record<string, RoleBlock>

Defined in: packages/core/src/contract.ts:301


shared? ​

optional shared?: Directional

Defined in: packages/core/src/contract.ts:300

Released under the MIT License.