import { pikkuSessionlessFunc } from '#pikku/pikku-types.gen.js'

export const healthCheck = pikkuSessionlessFunc<null, { ok: true }>({
  auth: false,
  title: 'Health check',
  description: 'Returns a simple readiness payload for local and Fabric smoke checks',
  func: async () => ({
    ok: true,
  }),
})
