/** * Next.jsのAPI Routesなど、サーバーサイドでインポートする際に * クライアントサイドのHooks(swr等)への依存によるビルドエラーを避けるため、 * 定数データのみをこのファイルに分離しています。 */ interface AppGroup { label: string; type: "group"; children: App[]; } type AppLinkKey = "core" | "checkin" | "checkinV2" | "systems" | "cleaning" | "users" | "messages" | "sumyca" | "agents" | "workflows"; interface AppLink { label: string; type: "link"; key: AppLinkKey; } type App = AppGroup | AppLink; declare const apps: App[]; export { type App, type AppLinkKey, apps };