- Foldable left panel (user profile) and right panel (task details) - Clicking a task in the list or graph node selects it and shows details - Both views (task list + graph) always mounted via absolute inset-0 for correct canvas dimensions; tabs toggle visibility with opacity - Graph node selection animation: other nodes repel outward (charge -600), then selected node smoothly slides to center (500ms cubic ease-out), then charge restores to -120 and graph stabilizes - Graph re-fits on tab switch and panel resize via ResizeObserver - Fix UUID string IDs throughout (backend returns UUIDs, not integers) - Add TaskDetailPanel, UserPanel components - Add CLAUDE.md project documentation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
833 B
TypeScript
24 lines
833 B
TypeScript
import type { Module } from '@swc/core';
|
|
export declare class NoSuchDeclarationError extends Error {
|
|
}
|
|
export declare class UnsupportedValueError extends Error {
|
|
/** @example `config.runtime[0].value` */
|
|
path?: string;
|
|
constructor(message: string, paths?: string[]);
|
|
}
|
|
/**
|
|
* Extracts the value of an exported const variable named `exportedName`
|
|
* (e.g. "export const config = { runtime: 'edge' }") from swc's AST.
|
|
* The value must be one of (or throws UnsupportedValueError):
|
|
* - string
|
|
* - boolean
|
|
* - number
|
|
* - null
|
|
* - undefined
|
|
* - array containing values listed in this list
|
|
* - object containing values listed in this list
|
|
*
|
|
* Throws NoSuchDeclarationError if the declaration is not found.
|
|
*/
|
|
export declare function extractExportedConstValue(module: Module, exportedName: string): any;
|