Type Alias HookApplied<D>

HookApplied: () => Promise<{ data: D | null; success: boolean }>

Hook triggered after an apply operation.

Type Parameters

  • D = any

    Data type returned in the response.

Type declaration

    • (): Promise<{ data: D | null; success: boolean }>
    • Returns Promise<{ data: D | null; success: boolean }>

      Promise resolving with success status and optional data.