chore: establish learning module baseline

This commit is contained in:
inman committed 2026-08-16 14:58:47 +08:00
commit 2d04197f3f
2409 files changed
+533050

No files matched your search

@@ -0,0 +1,16 @@
import type { SceneEditorSurface } from '@/lib/edit/scene-editor-surface';
import type { SlideContent } from '@/lib/types/stage';
import { SlideCanvas } from './SlideCanvas';
import { useSlideSurfaceState, type SlideSelection } from './use-slide-surface';
/**
* The slide SceneEditorSurface. EditShell resolves this by scene type and
* renders `SurfaceComponent` + reads `useSurfaceState()` into the command
* bar / floating toolbar. PR1 ships geometry editing only; text / insert /
* image / z-order / slide management land in later sub-PRs.
*/
export const slideSurface: SceneEditorSurface<SlideContent, SlideSelection> = {
sceneType: 'slide',
SurfaceComponent: SlideCanvas,
useSurfaceState: useSlideSurfaceState,
};