mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
Fetch the public billing catalog during account config load and use durable plan IDs from /v1/me for display, analytics, and upgrade/manage labels. Renderer billing surfaces now resolve plan display data from the catalog and show Unknown when the backend returns an unmapped plan ID.
9 lines
239 B
TypeScript
9 lines
239 B
TypeScript
import { z } from 'zod';
|
|
import { BillingCatalogSchema } from './billing.js';
|
|
|
|
export const RowboatApiConfig = z.object({
|
|
appUrl: z.string(),
|
|
websocketApiUrl: z.string(),
|
|
supabaseUrl: z.string(),
|
|
billing: BillingCatalogSchema,
|
|
});
|