export const idParam = HttpApiSchema.param('id', Schema.UUID)
const mediaGroupImplementation = HttpApiBuilder.group(
api,
'media',
(handlers) =>
handlers
.handle('getJobResult', ({ path: { id } }) => getJobResultHandler(id)),
// ----------------------------------------------------------------------^ Argument of type 'string' is not assignable to parameter of type 'UUID'.ts(2345)
)
export const idParam = HttpApiSchema.param('id', Schema.UUID)
const mediaGroupImplementation = HttpApiBuilder.group(
api,
'media',
(handlers) =>
handlers
.handle('getJobResult', ({ path: { id } }) => getJobResultHandler(id)),
// ----------------------------------------------------------------------^ Argument of type 'string' is not assignable to parameter of type 'UUID'.ts(2345)
)