···3030 * Modify game state in reaction to a guessed word. This logic always runs on
3131 * the server, so that people can't cheat by peeking at the JavaScript
3232 */
3333- enter: async ({ request, cookies }) => {
3333+ enter: async ({ cookies, request }) => {
3434 const game = new Game(cookies.get('sverdle'));
35353636 const data = await request.formData();
···5151 * Modify game state in reaction to a keypress. If client-side JavaScript
5252 * is available, this will happen in the browser instead of here
5353 */
5454- update: async ({ request, cookies }) => {
5454+ update: async ({ cookies, request }) => {
5555 const game = new Game(cookies.get('sverdle'));
56565757 const data = await request.formData();
···11+// import type { IROperationObject, IRSchemaObject } from '../../ir/ir';
12import type { PluginName } from '../types';
2334export interface Config extends PluginName<'zod'> {
55+ /**
66+ * Customise the Zod schema name. By default, `z{{name}}` is used,
77+ * where `name` is a definition name or an operation name.
88+ */
99+ // nameBuilder?: (model: IROperationObject | IRSchemaObject) => string;
410 /**
511 * Name of the generated file.
612 * @default 'zod'