Files
Genarrative/src/hooks/generatedState.ts
kdletters cbc27bad4a
Some checks failed
CI / verify (push) Has been cancelled
init with react+axum+spacetimedb
2026-04-26 18:06:23 +08:00

10 lines
236 B
TypeScript

import type {Character, GameState} from '../types';
export type CommitGeneratedState = (
nextState: GameState,
character: Character,
actionText: string,
resultText: string,
lastFunctionId?: string,
) => Promise<void> | void;