/**
 * DO NOT EDIT — storyboard-owned library file.
 *
 * Synced from @dfosco/storyboard. The `workspace` surface (Viewfinder).
 * All presentation props (title, subtitle, logo, tab toggles) come from
 * `pages.workspace` in storyboard.config.json — configure there, never edit
 * this file. See src/library/README.md for the full customization surface.
 */
import { flows } from 'virtual:storyboard-data-index'
import { Workspace } from '@dfosco/storyboard'
import { getConfig } from '@dfosco/storyboard/config'
import storyboardConfig from '../../storyboard.config.json'

const pageModules = import.meta.glob('/src/prototypes/*.jsx')
const { pages } = getConfig(storyboardConfig)

export default function WorkspacePage() {
  return (
    <Workspace
      {...pages.workspace}
      flows={flows}
      hideDefaultFlow={true}
      pageModules={pageModules}
      basePath={import.meta.env.BASE_URL}
    />
  )
}
