Files
taskpile/frontend/node_modules/next/dist/build/webpack/plugins/jsconfig-paths-plugin.d.ts
Alvis f1d51b8cc8 Add side panels, task selection, graph animation, and project docs
- 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>
2026-04-08 11:23:06 +00:00

47 lines
2.1 KiB
TypeScript

import type { webpack } from 'next/dist/compiled/webpack/webpack';
import type { ResolvedBaseUrl } from '../../load-jsconfig';
export interface Pattern {
prefix: string;
suffix: string;
}
export declare function hasZeroOrOneAsteriskCharacter(str: string): boolean;
/**
* Determines whether a path starts with a relative path component (i.e. `.` or `..`).
*/
export declare function pathIsRelative(testPath: string): boolean;
export declare function tryParsePattern(pattern: string): Pattern | undefined;
/** Return the object corresponding to the best pattern to match `candidate`. */
export declare function findBestPatternMatch<T>(values: readonly T[], getPattern: (value: T) => Pattern, candidate: string): T | undefined;
/**
* patternStrings contains both pattern strings (containing "*") and regular strings.
* Return an exact match if possible, or a pattern match, or undefined.
* (These are verified by verifyCompilerOptions to have 0 or 1 "*" characters.)
*/
export declare function matchPatternOrExact(patternStrings: readonly string[], candidate: string): string | Pattern | undefined;
/**
* Tests whether a value is string
*/
export declare function isString(text: unknown): text is string;
/**
* Given that candidate matches pattern, returns the text matching the '*'.
* E.g.: matchedText(tryParsePattern("foo*baz"), "foobarbaz") === "bar"
*/
export declare function matchedText(pattern: Pattern, candidate: string): string;
export declare function patternText({ prefix, suffix }: Pattern): string;
type Paths = {
[match: string]: string[];
};
/**
* Handles tsconfig.json or jsconfig.js "paths" option for webpack
* Largely based on how the TypeScript compiler handles it:
* https://github.com/microsoft/TypeScript/blob/1a9c8197fffe3dace5f8dca6633d450a88cba66d/src/compiler/moduleNameResolver.ts#L1362
*/
export declare class JsConfigPathsPlugin implements webpack.ResolvePluginInstance {
paths: Paths;
resolvedBaseUrl: ResolvedBaseUrl;
jsConfigPlugin: true;
constructor(paths: Paths, resolvedBaseUrl: ResolvedBaseUrl);
apply(resolver: any): void;
}
export {};