Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/extension-points.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ export interface ProjectSettingsTabProps extends BaseExtensionProps {
export interface ViewExtensionProps extends BaseExtensionProps {
/** The project for which the view is rendered. */
projectId: string;
/** The host's own view record ID for this specific view instance — stable
* across renames/reloads, unique per view even when multiple views of the
* same plugin/component are created in the same project. Use this to key
* any per-view persisted state instead of self-managing a separate
* list/switcher inside the plugin. */
viewId: string;
/** The view configuration stored for this registration. */
viewConfig?: Record<string, unknown>;
}
Expand Down
Loading