Add board type binding support

This commit is contained in:
Mike Cao committed 2026-03-06 23:54:46 -08:00
1 parent 07ff25bf7e
commit f76b22b303
16 files changed
+496 -99

No files matched your search

@@ -5,9 +5,11 @@ import { v4 as uuid } from 'uuid';
import { BoardContext, type LayoutGetter } from '@/app/(main)/boards/BoardProvider';
import { getComponentDefinition } from '@/app/(main)/boards/boardComponentRegistry';
import { useApi, useDashboardQuery, useMessages, useModified } from '@/components/hooks';
import { BOARD_TYPES } from '@/lib/boards';
import type { Board, BoardParameters } from '@/lib/types';
const createDefaultBoard = (): Partial<Board> => ({
type: BOARD_TYPES.dashboard,
name: '',
description: '',
parameters: {