* Connected-account readiness vocabulary — issue #606. Split out from `tenant-payment-readiness.ts` on purpose: that module imports `createAdminClient` (service-role key), so a client component that only needs the response codes must NOT import it. This file has no dependencies a
// Source: https://github.com/guillermoscript/lms-front | License: MIT | Copyright 2026 Guillermo Marin // Provided via justclaw.it.com; keep this notice with the code. /** * Connected-account readiness vocabulary — issue #606. * * Split out from `tenant-payment-readiness.ts` on purpose: that module imports * `createAdminClient` (service-role key), so a client component that only needs * the response codes must NOT import it. This file has no dependencies at all * and is safe on both sides of the boundary. */ /** Why a school cannot be paid — the two cases need different words. */ export type PaymentReadinessReason = /** No connected account at all: the admin never started onboarding. */ | 'not_connected' /** Account exists but the provider will not let it charge yet. */ | ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key