Remote / foldkit-remote-domain/imported

DescribeConfig

interface · packages/remote-domain/src/imported/describe.ts:68

interface DescribeConfig<A extends AnyApi> {
  readonly views: ReadonlyArray<ViewBinding<any, A>>
  readonly commands: ReadonlyArray<CommandBinding<AnyMutation, A>>
  readonly fields?: RejectionFields<A>
}

Members

DescribeConfig.views

property · packages/remote-domain/src/imported/describe.ts:69

readonly views: ReadonlyArray<ViewBinding<any, A>>

DescribeConfig.commands

property · packages/remote-domain/src/imported/describe.ts:70

readonly commands: ReadonlyArray<CommandBinding<AnyMutation, A>>

DescribeConfig.fields

property · packages/remote-domain/src/imported/describe.ts:76

readonly fields?: RejectionFields<A>

The form key a Rejection shows beside, by command and tag: for Invalid, the invariant's path. A Rejection named here that its command does not declare throws.