Skip to main content

Interface: IpcValidationResponse

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

Specialized response contract for validation handlers.

Extendsโ€‹

Propertiesโ€‹

data?โ€‹

optional data: ValidationResult

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

Response data returned on success.

Inherited fromโ€‹

IpcResponse.data


error?โ€‹

optional error: string

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

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:52

Optional metadata emitted by the handler.

Inherited fromโ€‹

IpcResponse.metadata


warnings?โ€‹

optional warnings: readonly string[]

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

Optional non-fatal warnings emitted alongside the result.

Inherited fromโ€‹

IpcResponse.warnings


errorsโ€‹

errors: readonly string[]

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

Validation error messages, when present.


successโ€‹

success: boolean

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

Whether the validation succeeded.

Overridesโ€‹

IpcResponse.success