MCPcopy
hub / github.com/AstrBotDevs/AstrBot / upsert

Function upsert

dashboard/src/api/v1.ts:407–411  ·  view source on GitHub ↗
(umo: string, payload: ConfigRouteUpsertRequest)

Source from the content-addressed store, hash-verified

405 return typed<OpenConfig>(openApiV1.replaceConfigRoutes({ body: payload }));
406 },
407 upsert(umo: string, payload: ConfigRouteUpsertRequest) {
408 return typed<OpenConfig>(
409 openApiV1.upsertConfigRoute({ path: { umo }, body: payload }),
410 );
411 },
412 delete(umo: string) {
413 return typed<OpenConfig>(
414 openApiV1.deleteConfigRoute({ path: { umo } }),

Callers

nothing calls this directly

Calls 1

typedFunction · 0.85

Tested by

no test coverage detected