working on get api cus feature

This commit is contained in:
John Yeo
2025-10-06 14:16:51 +01:00
parent a997947db8
commit feca672fab
84 changed files with 2591 additions and 1984 deletions

View File

@@ -1,8 +1,6 @@
import { EntityResponseSchema } from "@models/cusModels/entityModels/entityResModels.js";
import type { z } from "zod/v4";
export const APIEntitySchema = EntityResponseSchema.meta({
id: "Entity",
description: "Entity object returned by the API",
});
// Base schema without .meta() to avoid side effects during imports
export const APIEntitySchema = EntityResponseSchema;
export type APIEntity = z.infer<typeof APIEntitySchema>;