feat(core-frontend, cli): Add type support for the plugin api, especially the $data api

Chris Johannsen
2026-03-19T10:14:24Z

name: Feature Request
about: Suggest a new feature or enhancement for racletteJS
labels: feature

Feature Description

Add type generation for the $data api for plugins, to improve the developer experience.

Problem Statement

Currently, there are no types for autocompletion and everything is of the type any.

Proposed Solution

Probably some type generation during build/preparation time.

Use Cases

1. During development, the IDE would give you autocomplete for the plugin api & data api.

Affected Components

Core (@raclettejs/core)

Workbench (@raclettejs/workbench)

Types (@raclettejs/types)

CLI

Plugin system

Documentation

Other (please specify):

Breaking Changes

Yes

No

Unsure

Low - Minor change

Medium - Moderate change

High - Major change

Unsure

Priority

Critical - Blocking my use of raclette

High - Significantly impacts my workflow

Medium - Would be nice to have

Low - Minor improvement