import type { AppContext } from '@voltro/runtime' // Plain insert — a `flag` rule lets the write through (and records the flag); // only a `block` rule would have stopped us. tenant() auto-fills tenantId. const execute = async (input: { body: string }, ctx: AppContext) => ctx.store.insert('comments', { body: input.body }) export default execute