diff --git a/src/stores/widgetValueStore.ts b/src/stores/widgetValueStore.ts index 8f8cda93e9..ebf43a7749 100644 --- a/src/stores/widgetValueStore.ts +++ b/src/stores/widgetValueStore.ts @@ -65,9 +65,7 @@ export type WidgetState< * `WidgetEntityId`. The view returned from `registerWidget` is the * un-augmented `WidgetState` because identity fields live in the entity id. */ -export interface WidgetRegistration< - TValue = unknown -> extends WidgetState { +interface WidgetRegistration extends WidgetState { name: string nodeId: NodeId } diff --git a/src/world/entityIds.ts b/src/world/entityIds.ts index f61229732e..841156a8e5 100644 --- a/src/world/entityIds.ts +++ b/src/world/entityIds.ts @@ -22,7 +22,7 @@ export function asGraphId(id: UUID): GraphId { export type NodeEntityId = Brand -export function graphNodePrefix(graphId: GraphId): string { +function graphNodePrefix(graphId: GraphId): string { return `node:${graphId}:` } @@ -32,7 +32,7 @@ export function nodeEntityId(graphId: GraphId, nodeId: NodeId): NodeEntityId { export type WidgetEntityId = Brand -export function graphWidgetPrefix(graphId: GraphId): string { +function graphWidgetPrefix(graphId: GraphId): string { return `widget:${graphId}:` }