/** * Whole-flow hooks: `login "custom" hook=…` and `refresh hook=…` for providers * whose flow is not expressible in the declarative grammar. */ import type { Lazy, LoginHook, RefreshHook } from "./types"; export const CUSTOM_LOGIN_HOOKS: Record> = { "github-copilot": () => import("../oauth/github-copilot").then(module => module.loginGitHubCopilotHook), cursor: () => import("../oauth/cursor").then(module => module.loginCursorHook), perplexity: () => import("../oauth/perplexity").then(module => module.loginPerplexity), }; export const CUSTOM_REFRESH_HOOKS: Record> = { "github-copilot": () => import("../oauth/github-copilot").then(module => module.refreshGitHubCopilotHook), cursor: () => import("../oauth/cursor").then(module => module.refreshCursorHook), };