References
OutputDefinition
Re-exports OutputDefinitionType Aliases
IdentityField
Ƭ IdentityField<Row>: 0 extends 1 & Row ? string : { [K in keyof Row & string]-?: undefined extends Row[K] ? never : null extends Row[K] ? never : Row[K] extends string | number | bigint | boolean | ArrayBuffer ? K : never }[keyof Row & string]
Type parameters
Functions
defineOutput
▸ defineOutput<Row, Key>(definition, declaration?): OutputDefinition<Row, Key>
Declare one logical output and its row identity, independently of storage
and executable producers. Importing a contract starts no work.
Type parameters
Parameters
Returns
OutputDefinition<Row, Key>
▸ defineOutput<Fields, Key>(definition, declaration?): OutputDefinition<VObject<ObjectType<Fields>, Fields>, Key>
Type parameters
Parameters
Returns
OutputDefinition<VObject<ObjectType<Fields>, Fields>, Key>