Add board state management with updateBoard and saveBoard methods.
BoardProvider now manages local board state and exposes updateBoard for editing and saveBoard for persisting to the database. Supports both create and edit modes with proper redirect after creation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e08907d998
commit
68c56060b3
7 files changed
+176
-48
No files matched your search
@@ -141,3 +141,7 @@ export interface ApiError extends Error {
|
||||
code?: string;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface BoardData {
|
||||
rows: { id: string; name: string; value: number }[];
|
||||
}
|
||||
Reference in new issue
Block a user