Defines TypeScript types for OAuth profiles, tokens, and referral data used by the auth service.
// Source: https://github.com/Gitlawb/openclaude | License: MIT | Copyright Anthropic PBC. All rights reserved // Provided via justclaw.it.com; keep this notice with the code. // Stub — recreated type surface for the OAuth service (not included in // source snapshot). Pure types: no runtime exports, no import-time effects. // Shapes are derived from the consumers in client.ts, index.ts, // getOauthProfile.ts, utils/auth.ts, utils/config.ts, cli/handlers/auth.ts, // services/api/referral.ts, and components/Passes/Passes.tsx. /** * Claude subscription tier. Open string union: the canonical values are * listed (client.ts maps organization_type to these), but mock/test paths * (services/mockRateLimits.ts) flow plain strings through. */ export type SubscriptionType = | 'free' | 'pro' ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key