@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 07:15 UTC

main
ts 12 lines 374 Bytes
Raw
1 /**
2 * Imported by the widgets page as `#lib/widgets.js` — a `package.json`
3 * subpath import (kit v3's replacement for `$lib`), resolved in the
4 * client-side load.
5 */
6 export interface Widget {
7 readonly id: string;
8 readonly name: string;
9 }
10
11 export const describeWidgets = (widgets: ReadonlyArray<Widget>): string =>
12 `widgets-via-subpath-import:${widgets.length}`;