Skip to content

Commit

Permalink
fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshgrover23 committed Feb 3, 2025
1 parent a87a545 commit 77b1490
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stories/BoardWithError.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export const BoardWithError: Story = {
soup: [
{
type: "pcb_board",
pcb_board_id: "board_1",
thickness: 1.6,
num_layers: 2,
center: { x: 0, y: 0 },
width: 10,
height: 10,
Expand Down
8 changes: 8 additions & 0 deletions stories/Bugs/RotationOffsets.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const soup: AnySoupElement[] = [
y: 1.8,
},
rotation: 0,
color: "black",
},
{
type: "schematic_text",
Expand All @@ -100,6 +101,7 @@ const soup: AnySoupElement[] = [
y: 2,
},
rotation: 0,
color: "black",
},
{
type: "pcb_component",
Expand Down Expand Up @@ -245,6 +247,7 @@ const soup: AnySoupElement[] = [
y: -0.5,
},
rotation: 0,
color: "black",
},
{
type: "schematic_text",
Expand All @@ -257,6 +260,7 @@ const soup: AnySoupElement[] = [
y: -0.3,
},
rotation: 0,
color: "black",
},
{
type: "pcb_component",
Expand Down Expand Up @@ -326,6 +330,7 @@ const soup: AnySoupElement[] = [
type: "schematic_trace",
source_trace_id: "source_trace_0",
schematic_trace_id: "schematic_trace_0",
junctions: [{ x: 5, y: 5 }],
edges: [
{
from: {
Expand Down Expand Up @@ -404,12 +409,15 @@ const soup: AnySoupElement[] = [
},
{
type: "pcb_board",
pcb_board_id: "pcb_board_0",
center: {
x: 0,
y: 0,
},
width: 10,
height: 10,
thickness: 1.6,
num_layers: 2,
},
]

Expand Down
3 changes: 3 additions & 0 deletions stories/PillShapedHole.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export const MultiplePillHoles: Story = {
soup: [
{
type: "pcb_board",
pcb_board_id: "board_1",
thickness: 1.6,
num_layers: 2,
center: { x: 0, y: 0 },
width: 10,
height: 10,
Expand Down

0 comments on commit 77b1490

Please sign in to comment.