Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dist-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ declare module "dist/bundled-bpc-graphs.json" {
export default value
}

declare module "@tscircuit/schematic-corpus/dist/bundled-bpc-graphs.json" {
const value: Record<string, any>
export default value
}

declare module "dist/bundled-bpc-graphs-no-net-label.json" {
const value: Record<string, any>
export default value
Expand Down
2 changes: 1 addition & 1 deletion site/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react"
import { createRoot } from "react-dom/client"
import { getGraphicsForBpcGraph } from "bpc-graph"
import { getSvgFromGraphicsObject } from "graphics-debug"
import bundledBpcGraphs from "dist/bundled-bpc-graphs.json"
import bundledBpcGraphs from "@tscircuit/schematic-corpus/dist/bundled-bpc-graphs.json"
// @ts-ignore – generated at build time
import circuitSvgs from "dist/svg-vfs.js" // Record<designName, raw <svg…> string>

Expand Down
Loading