MutationStarted.model
property · packages/remote/src/index.ts:426
readonly model: AppModelRemote / foldkit-remote
interface · packages/remote/src/index.ts:425
interface MutationStarted<AppModel> {
readonly model: AppModel
readonly requestId: string
readonly tempId: string
readonly command: Command<RemoteMessage, never, RemoteClient>
}What RemoteDomain.mutate hands update: the Model with the request started, and the Command that settles it.
MutationStarted.modelproperty · packages/remote/src/index.ts:426
readonly model: AppModelMutationStarted.requestIdproperty · packages/remote/src/index.ts:427
readonly requestId: stringMutationStarted.tempIdproperty · packages/remote/src/index.ts:428
readonly tempId: stringMutationStarted.commandproperty · packages/remote/src/index.ts:430
readonly command: Command<RemoteMessage, never, RemoteClient>Yields MutationSucceeded or MutationFailed; never fails.