DomainDefinition
Defined in: packages/hoppity/src/contracts/types.ts:234
The return type of defineDomain. Groups all contracts for a domain under their operation-type namespaces.
Type Parameters
Section titled “Type Parameters”TDomain
Section titled “TDomain”TDomain extends string = string
TEvents
Section titled “TEvents”TEvents extends EventsDefinition = EventsDefinition
TCommands
Section titled “TCommands”TCommands extends CommandsDefinition = CommandsDefinition
TRpc extends RpcDefinition = RpcDefinition
Properties
Section titled “Properties”commands
Section titled “commands”commands:
CommandContracts<TDomain,TCommands>
Defined in: packages/hoppity/src/contracts/types.ts:242
domain
Section titled “domain”domain:
TDomain
Defined in: packages/hoppity/src/contracts/types.ts:240
events
Section titled “events”events:
EventContracts<TDomain,TEvents>
Defined in: packages/hoppity/src/contracts/types.ts:241
rpc:
RpcContracts<TDomain,TRpc>
Defined in: packages/hoppity/src/contracts/types.ts:243