Skip to content

Expose internal WoT implementation#1469

Merged
relu91 merged 1 commit intoeclipse-thingweb:masterfrom
relu91:fix-1282
Feb 2, 2026
Merged

Expose internal WoT implementation#1469
relu91 merged 1 commit intoeclipse-thingweb:masterfrom
relu91:fix-1282

Conversation

@relu91
Copy link
Copy Markdown
Member

@relu91 relu91 commented Jan 30, 2026

This PR adds type exports for WoT and ThingDiscoveryProcess to core.ts. These are type-only exports (export type), preventing actual instantiation (maybe in future revisions we can relax the constraint, and we can export the real values -> it is a backward compatible change that we can do as we like). Additionally, ThingDiscoveryProcess was made directly exportable in wot-impl.ts.

This resolves the missing runtime exports while maintaining type safety.

Fixes #1282.

Copy link
Copy Markdown
Member

@danielpeintner danielpeintner left a comment

Choose a reason for hiding this comment

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

LGTM

@relu91 relu91 merged commit 4f93572 into eclipse-thingweb:master Feb 2, 2026
14 checks passed
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.

Export WoT implementation type

2 participants