Skip to content

/recordNodeMap endpoints for easier recording generation#3

Merged
jbolda merged 5 commits intomainfrom
record-node-map
Feb 20, 2026
Merged

/recordNodeMap endpoints for easier recording generation#3
jbolda merged 5 commits intomainfrom
record-node-map

Conversation

@jbolda
Copy link
Member

@jbolda jbolda commented Feb 19, 2026

Motivation

Adds new endpoint which will return the NodeMap instead of the events.

Requires this published before we can move forward here: thefrontside/effectionx#167

Approach

Still requires curl, but at least it is in steps that can be followed in the readme.

@jbolda jbolda changed the title Record node map /recordNodeMap endpoints for easier recording generation Feb 19, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 19, 2026

Open in StackBlitz

npm i https://pkg.pr.new/thefrontside/inspector/@effectionx/inspector@3

commit: 1989010

Comment on lines +5 to +19
/**
* A function that transforms one stream into another
*/

export type Transform<A, B> = <TClose>(
input: Stream<A, TClose>,
) => Stream<B, TClose>;

export interface Node {
id: string;
parentId?: string;
data: Record<string, unknown>;
}

export type NodeMap = Record<string, Node>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the place for these types? They are very general.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I don't love it either; open to suggestions.

I think after the deno migration, we should do a pass to organize all our files and write down where we expect things to go. Seems we have lots of possible implementations, so being explicit about it feels helpful.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After both me and Claude flailing at the deno migration, I'm thinking maybe ppm is just fine for now. It's hard to muster the strength to fix something that ain't really broke. :)

@jbolda jbolda marked this pull request as ready for review February 20, 2026 20:49
@jbolda jbolda merged commit 2cf1150 into main Feb 20, 2026
4 checks passed
@jbolda jbolda deleted the record-node-map branch February 20, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants