Skip to main content

Interface: IpcValidationResponse

Defined in: shared/types/ipc.ts:45

Specialized response contract for validation handlers.

Extendsโ€‹

Propertiesโ€‹

data?โ€‹

optional data: ValidationResult

Defined in: shared/types/ipc.ts:31

Response data returned on success.

Inherited fromโ€‹

IpcResponse.data


error?โ€‹

optional error: string

Defined in: shared/types/ipc.ts:33

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message when the handler fails.

Inherited fromโ€‹

IpcResponse.error


metadata?โ€‹

optional metadata: UnknownRecord

Defined in: shared/types/ipc.ts:35

Optional metadata emitted by the handler.

Inherited fromโ€‹

IpcResponse.metadata


warnings?โ€‹

optional warnings: readonly string[]

Defined in: shared/types/ipc.ts:39

Optional non-fatal warnings emitted alongside the result.

Inherited fromโ€‹

IpcResponse.warnings


errorsโ€‹

errors: readonly string[]

Defined in: shared/types/ipc.ts:47

Validation error messages, when present.


successโ€‹

success: boolean

Defined in: shared/types/ipc.ts:49

Whether the validation succeeded.

Overridesโ€‹

IpcResponse.success