working on manage org modal

This commit is contained in:
John Yeo
2025-06-13 10:58:53 +01:00
parent 50e8a536b7
commit f9cd9c4078
51 changed files with 3957 additions and 365 deletions

View File

@@ -3,11 +3,6 @@
import { z } from "zod";
import { OrgConfigSchema } from "../models/orgModels/orgConfig.js";
export const MinOrgSchema = z.object({
id: z.string(),
slug: z.string(),
});
export const StripeConfigSchema = z.object({
test_api_key: z.string(),
live_api_key: z.string(),
@@ -41,7 +36,6 @@ export const OrganizationSchema = z.object({
api_version: z.number().nullish(),
});
export type MinOrg = z.infer<typeof MinOrgSchema>;
export type Organization = z.infer<typeof OrganizationSchema>;
export type StripeConfig = z.infer<typeof StripeConfigSchema>;
export type SvixConfig = z.infer<typeof SvixConfigSchema>;