MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / generatedQuery

Function generatedQuery

dashboard/src/api/v1.ts:268–272  ·  view source on GitHub ↗
(
  params?: T,
)

Source from the content-addressed store, hash-verified

266}
267
268function generatedQuery<T extends object>(
269 params?: T,
270): (T & Record<string, unknown>) | undefined {
271 return params as (T & Record<string, unknown>) | undefined;
272}
273
274function generatedFormData(formData: FormData | Record<string, unknown>) {
275 if (typeof FormData !== 'undefined' && formData instanceof FormData) {

Callers 3

listFunction · 0.85
listSessionsFunction · 0.85
listRulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected