Skip to main content

Interface: IpcResponse<T>

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

Standardized IPC response format.

Type Parametersโ€‹

Tโ€‹

T

The type of data returned on success

Propertiesโ€‹

data?โ€‹

optional data: T

Defined in: src/types/ipc.ts:52

Response data when successful


error?โ€‹

optional error: string

Defined in: src/types/ipc.ts:54

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


metadata?โ€‹

optional metadata: UnknownRecord

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

Additional operation metadata


successโ€‹

success: boolean

Defined in: src/types/ipc.ts:58

Indicates whether the operation was successful


warnings?โ€‹

optional warnings: readonly string[]

Defined in: src/types/ipc.ts:60

Non-critical warnings