chore: drop unused exports flagged by knip

Amp-Thread-ID: https://ampcode.com/threads/T-019de014-4726-7527-a52a-766e2f2eaf22
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
DrJKL
2026-04-30 14:06:07 -07:00
parent 0e206118d3
commit 01d4192f79
2 changed files with 3 additions and 5 deletions

View File

@@ -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<TValue> {
interface WidgetRegistration<TValue = unknown> extends WidgetState<TValue> {
name: string
nodeId: NodeId
}

View File

@@ -22,7 +22,7 @@ export function asGraphId(id: UUID): GraphId {
export type NodeEntityId = Brand<string, 'NodeEntityId'>
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<string, 'WidgetEntityId'>
export function graphWidgetPrefix(graphId: GraphId): string {
function graphWidgetPrefix(graphId: GraphId): string {
return `widget:${graphId}:`
}