mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
added a simple mcp ui in tests
This commit is contained in:
@@ -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