Skip to content

OBEE-32: integrate instances - #1415

Open
tslil-topos wants to merge 1 commit into
tslil/instance_types_runtimefrom
tslil/instance_wiring
Open

OBEE-32: integrate instances#1415
tslil-topos wants to merge 1 commit into
tslil/instance_types_runtimefrom
tslil/instance_wiring

Conversation

@tslil-topos

Copy link
Copy Markdown
Collaborator

tests will come at the end of this commit stack

This change exposes store handles on notebooks so that binders can validate schemas and form instance-of links before creating instances. This allows us to make creating instances actually possible for the first time in this stack.

Propagate the notebook handle type through existing consumers.

@tslil-topos tslil-topos self-assigned this Aug 21, 2026
@tslil-topos tslil-topos added enhancement New feature or request frontend TypeScript frontend and Rust-wasm integrations labels Aug 21, 2026
@github-actions

Copy link
Copy Markdown

const document = InstanceMethods.newInstanceDocument({
_id: schemaRef.id,
_version: schemaRef.version,
_server: schemaRef.server ?? "",

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

not sure what to do here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what's the problem?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

schemaRef.server ?? "", it's unclear to me what the default should be

}

export interface Notebook<S extends Shape, D extends NotebookDocument = NotebookDocument> {
export interface Notebook<H, S extends Shape, D extends NotebookDocument = NotebookDocument> {

@kasbah kasbah Aug 21, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Offline I suggested this:

Suggested change
export interface Notebook<H, S extends Shape, D extends NotebookDocument = NotebookDocument> {
export interface Notebook<S extends Shape, D extends NotebookDocument = NotebookDocument, H = unknown> {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

this is a minor aesthetic change, we can discuss its merits separately to this stacked pr, open an issue, or otherwise revisit it when there are less pressing things to attend to. If there are no other concerns please approve this change.

*tests will come at the end of this commit stack*

This change exposes store handles on notebooks so that binders can validate schemas and form instance-of links before creating instances. This allows us to make creating instances actually possible for the first time in this stack.

Propagate the notebook handle type through existing consumers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend TypeScript frontend and Rust-wasm integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants