Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: removing unecessary imports

IgorCorrea3c8477a9f63f
diff --git a/backend/src/services/org/org-schema.ts b/backend/src/services/org/org-schema.ts
index 49038a8470..82acb50042 100644
--- a/backend/src/services/org/org-schema.ts
+++ b/backend/src/services/org/org-schema.ts
@@ -3,12 +3,13 @@ import { z } from "zod";
import { OrganizationsSchema } from "@app/db/schemas";
/** Minimal org fields (id, name, slug) – e.g. for sub-org list items or summaries */
-export const orgBasicSchema = OrganizationsSchema.pick({
+const orgBasicSchema = OrganizationsSchema.pick({
id: true,
name: true,
slug: true
});
-export type TOrgBasic = z.infer<typeof orgBasicSchema>;
+
+type TOrgBasic = z.infer<typeof orgBasicSchema>;
/** Root org with accessible sub-orgs (basic info only) */
export type TOrgWithSubOrgs = TOrgBasic & {