feat: check with entity id auto creates

This commit is contained in:
John Yeo
2025-05-20 12:35:03 +01:00
parent 6903b8700e
commit cf719947c8
23 changed files with 574 additions and 328 deletions

View File

@@ -20,5 +20,11 @@ export const CreateEntitySchema = z.object({
feature_id: z.string(), // Feature ID of entity
});
export const EntityDataSchema = z.object({
name: z.string(), // Name of entity
feature_id: z.string(), // Feature ID of entity
});
export type Entity = z.infer<typeof EntitySchema>;
export type CreateEntity = z.infer<typeof CreateEntitySchema>;
export type EntityData = z.infer<typeof EntityDataSchema>;