feat: added api / openapi models to shared folder

This commit is contained in:
John Yeo
2025-10-03 11:57:40 +01:00
parent fc2243e472
commit 9ab609d870
44 changed files with 996 additions and 20728 deletions

View File

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