working on manage org modal
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user