mirror of
https://github.com/bknd-io/bknd.git
synced 2026-10-23 14:55:11 +00:00
added a simple mcp ui in tests
This commit is contained in:
16 files changed
+436
-63
No files matched your search
@@ -201,7 +201,9 @@ export class DataController extends Controller {
|
||||
|
||||
const entitiesEnum = this.getEntitiesEnum(this.em);
|
||||
// @todo: make dynamic based on entity
|
||||
const idType = s.anyOf([s.number(), s.string()], { coerce: (v) => v as number | string });
|
||||
const idType = s.anyOf([s.number({ title: "Integer" }), s.string({ title: "UUID" })], {
|
||||
coerce: (v) => v as number | string,
|
||||
});
|
||||
|
||||
/**
|
||||
* Function endpoints
|
||||
|
||||
Reference in new issue
Block a user