- 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>
80 lines
1.7 KiB
TypeScript
80 lines
1.7 KiB
TypeScript
import * as stream from 'stream';
|
|
|
|
declare const isStream: {
|
|
/**
|
|
@returns Whether `stream` is a [`Stream`](https://nodejs.org/api/stream.html#stream_stream).
|
|
|
|
@example
|
|
```
|
|
import * as fs from 'fs';
|
|
import isStream = require('is-stream');
|
|
|
|
isStream(fs.createReadStream('unicorn.png'));
|
|
//=> true
|
|
|
|
isStream({});
|
|
//=> false
|
|
```
|
|
*/
|
|
(stream: unknown): stream is stream.Stream;
|
|
|
|
/**
|
|
@returns Whether `stream` is a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable).
|
|
|
|
@example
|
|
```
|
|
import * as fs from 'fs';
|
|
import isStream = require('is-stream');
|
|
|
|
isStream.writable(fs.createWriteStrem('unicorn.txt'));
|
|
//=> true
|
|
```
|
|
*/
|
|
writable(stream: unknown): stream is stream.Writable;
|
|
|
|
/**
|
|
@returns Whether `stream` is a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable).
|
|
|
|
@example
|
|
```
|
|
import * as fs from 'fs';
|
|
import isStream = require('is-stream');
|
|
|
|
isStream.readable(fs.createReadStream('unicorn.png'));
|
|
//=> true
|
|
```
|
|
*/
|
|
readable(stream: unknown): stream is stream.Readable;
|
|
|
|
/**
|
|
@returns Whether `stream` is a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex).
|
|
|
|
@example
|
|
```
|
|
import {Duplex} from 'stream';
|
|
import isStream = require('is-stream');
|
|
|
|
isStream.duplex(new Duplex());
|
|
//=> true
|
|
```
|
|
*/
|
|
duplex(stream: unknown): stream is stream.Duplex;
|
|
|
|
/**
|
|
@returns Whether `stream` is a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform).
|
|
|
|
@example
|
|
```
|
|
import * as fs from 'fs';
|
|
import Stringify = require('streaming-json-stringify');
|
|
import isStream = require('is-stream');
|
|
|
|
isStream.transform(Stringify());
|
|
//=> true
|
|
```
|
|
*/
|
|
transform(input: unknown): input is stream.Transform;
|
|
};
|
|
|
|
export = isStream;
|