import type { AppContext } from '@voltro/runtime' // Plain insert — tenant() auto-fills tenantId. The row-history plugin records // version 1 from the post-commit change event. const execute = async (input: { title: string; content: string }, ctx: AppContext) => ctx.store.insert('documents', { title: input.title, content: input.content }) export default execute