There was an error while loading. Please reload this page.
1 parent 11fd36c commit 27947f3Copy full SHA for 27947f3
1 file changed
src/extension-points.ts
@@ -88,6 +88,12 @@ export interface ProjectSettingsTabProps extends BaseExtensionProps {
88
export interface ViewExtensionProps extends BaseExtensionProps {
89
/** The project for which the view is rendered. */
90
projectId: string;
91
+ /** The host's own view record ID for this specific view instance — stable
92
+ * across renames/reloads, unique per view even when multiple views of the
93
+ * same plugin/component are created in the same project. Use this to key
94
+ * any per-view persisted state instead of self-managing a separate
95
+ * list/switcher inside the plugin. */
96
+ viewId: string;
97
/** The view configuration stored for this registration. */
98
viewConfig?: Record<string, unknown>;
99
}
0 commit comments