mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 09:06:01 +00:00
fix schema modals
This commit is contained in:
@@ -4,8 +4,8 @@ import { entitiesSchema, fieldsSchema, relationsSchema } from "data/data-schema"
|
||||
export const ModalActions = ["entity", "relation", "media"] as const;
|
||||
|
||||
export const entitySchema = s.object({
|
||||
name: s.string(),
|
||||
...entitiesSchema.properties,
|
||||
name: s.string(),
|
||||
});
|
||||
|
||||
// @todo: this union is not fully working, just "string"
|
||||
|
||||
Reference in New Issue
Block a user