feat: add new registry for preview design

This commit is contained in:
2026-09-04 17:37:55 +05:00
parent 58e75f2334
commit a19d3db929
10 changed files with 130 additions and 26 deletions
+14
View File
@@ -0,0 +1,14 @@
import type { ToolEntry } from "./types";
import { geometryEntries } from "./geometry";
import { alphaEntries } from "./alpha";
export type { ToolEntry } from "./types";
export const TOOLS: ToolEntry[] = [
...geometryEntries,
...alphaEntries,
] as unknown as ToolEntry[];
export function getTool(id: string): ToolEntry | undefined {
return TOOLS.find((tool) => tool.id === id);
}