- 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>
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import type { MiddlewareConfig, MiddlewareMatcher, RSCModuleType } from '../../analysis/get-page-static-info';
|
|
import type { webpack } from 'next/dist/compiled/webpack/webpack';
|
|
export type ModuleBuildInfo = {
|
|
nextEdgeMiddleware?: EdgeMiddlewareMeta;
|
|
nextEdgeApiFunction?: EdgeMiddlewareMeta;
|
|
nextEdgeSSR?: EdgeSSRMeta;
|
|
nextWasmMiddlewareBinding?: AssetBinding;
|
|
nextAssetMiddlewareBinding?: AssetBinding;
|
|
usingIndirectEval?: boolean | Set<string>;
|
|
route?: RouteMeta;
|
|
importLocByPath?: Map<string, any>;
|
|
rootDir?: string;
|
|
rsc?: RSCMeta;
|
|
};
|
|
/**
|
|
* A getter for module build info that casts to the type it should have.
|
|
* We also expose here types to make easier to use it.
|
|
*/
|
|
export declare function getModuleBuildInfo(webpackModule: webpack.Module): ModuleBuildInfo;
|
|
export interface RSCMeta {
|
|
type: RSCModuleType;
|
|
actions?: string[];
|
|
clientRefs?: string[];
|
|
clientEntryType?: 'cjs' | 'auto';
|
|
isClientRef?: boolean;
|
|
requests?: string[];
|
|
}
|
|
export interface RouteMeta {
|
|
page: string;
|
|
absolutePagePath: string;
|
|
preferredRegion: string | string[] | undefined;
|
|
middlewareConfig: MiddlewareConfig;
|
|
}
|
|
export interface EdgeMiddlewareMeta {
|
|
page: string;
|
|
matchers?: MiddlewareMatcher[];
|
|
}
|
|
export interface EdgeSSRMeta {
|
|
isServerComponent: boolean;
|
|
isAppDir?: boolean;
|
|
page: string;
|
|
}
|
|
export interface AssetBinding {
|
|
filePath: string;
|
|
name: string;
|
|
}
|