working on get api cus feature
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user