circuit-json 0.0.254 → 0.0.255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1120,6 +1120,7 @@ declare const pcb_port: z.ZodObject<{
|
|
|
1120
1120
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1121
1121
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1122
1122
|
}>, "many">;
|
|
1123
|
+
is_board_pinout: z.ZodOptional<z.ZodBoolean>;
|
|
1123
1124
|
}, "strip", z.ZodTypeAny, {
|
|
1124
1125
|
x: number;
|
|
1125
1126
|
y: number;
|
|
@@ -1130,6 +1131,7 @@ declare const pcb_port: z.ZodObject<{
|
|
|
1130
1131
|
source_port_id: string;
|
|
1131
1132
|
subcircuit_id?: string | undefined;
|
|
1132
1133
|
pcb_group_id?: string | undefined;
|
|
1134
|
+
is_board_pinout?: boolean | undefined;
|
|
1133
1135
|
}, {
|
|
1134
1136
|
x: string | number;
|
|
1135
1137
|
y: string | number;
|
|
@@ -1142,6 +1144,7 @@ declare const pcb_port: z.ZodObject<{
|
|
|
1142
1144
|
subcircuit_id?: string | undefined;
|
|
1143
1145
|
pcb_group_id?: string | undefined;
|
|
1144
1146
|
pcb_port_id?: string | undefined;
|
|
1147
|
+
is_board_pinout?: boolean | undefined;
|
|
1145
1148
|
}>;
|
|
1146
1149
|
type PcbPortInput = z.input<typeof pcb_port>;
|
|
1147
1150
|
/**
|
|
@@ -1157,6 +1160,7 @@ interface PcbPort {
|
|
|
1157
1160
|
x: Distance;
|
|
1158
1161
|
y: Distance;
|
|
1159
1162
|
layers: LayerRef[];
|
|
1163
|
+
is_board_pinout?: boolean;
|
|
1160
1164
|
}
|
|
1161
1165
|
/**
|
|
1162
1166
|
* @deprecated use PcbPort
|
|
@@ -12361,6 +12365,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12361
12365
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12362
12366
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12363
12367
|
}>, "many">;
|
|
12368
|
+
is_board_pinout: z.ZodOptional<z.ZodBoolean>;
|
|
12364
12369
|
}, "strip", z.ZodTypeAny, {
|
|
12365
12370
|
x: number;
|
|
12366
12371
|
y: number;
|
|
@@ -12371,6 +12376,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12371
12376
|
source_port_id: string;
|
|
12372
12377
|
subcircuit_id?: string | undefined;
|
|
12373
12378
|
pcb_group_id?: string | undefined;
|
|
12379
|
+
is_board_pinout?: boolean | undefined;
|
|
12374
12380
|
}, {
|
|
12375
12381
|
x: string | number;
|
|
12376
12382
|
y: string | number;
|
|
@@ -12383,6 +12389,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12383
12389
|
subcircuit_id?: string | undefined;
|
|
12384
12390
|
pcb_group_id?: string | undefined;
|
|
12385
12391
|
pcb_port_id?: string | undefined;
|
|
12392
|
+
is_board_pinout?: boolean | undefined;
|
|
12386
12393
|
}>, z.ZodObject<{
|
|
12387
12394
|
type: z.ZodLiteral<"pcb_text">;
|
|
12388
12395
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -18489,6 +18496,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18489
18496
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
18490
18497
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
18491
18498
|
}>, "many">;
|
|
18499
|
+
is_board_pinout: z.ZodOptional<z.ZodBoolean>;
|
|
18492
18500
|
}, "strip", z.ZodTypeAny, {
|
|
18493
18501
|
x: number;
|
|
18494
18502
|
y: number;
|
|
@@ -18499,6 +18507,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18499
18507
|
source_port_id: string;
|
|
18500
18508
|
subcircuit_id?: string | undefined;
|
|
18501
18509
|
pcb_group_id?: string | undefined;
|
|
18510
|
+
is_board_pinout?: boolean | undefined;
|
|
18502
18511
|
}, {
|
|
18503
18512
|
x: string | number;
|
|
18504
18513
|
y: string | number;
|
|
@@ -18511,6 +18520,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18511
18520
|
subcircuit_id?: string | undefined;
|
|
18512
18521
|
pcb_group_id?: string | undefined;
|
|
18513
18522
|
pcb_port_id?: string | undefined;
|
|
18523
|
+
is_board_pinout?: boolean | undefined;
|
|
18514
18524
|
}>, z.ZodObject<{
|
|
18515
18525
|
type: z.ZodLiteral<"pcb_text">;
|
|
18516
18526
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -1316,7 +1316,8 @@ var pcb_port = z66.object({
|
|
|
1316
1316
|
pcb_component_id: z66.string(),
|
|
1317
1317
|
x: distance,
|
|
1318
1318
|
y: distance,
|
|
1319
|
-
layers: z66.array(layer_ref)
|
|
1319
|
+
layers: z66.array(layer_ref),
|
|
1320
|
+
is_board_pinout: z66.boolean().optional()
|
|
1320
1321
|
}).describe("Defines a port on the PCB");
|
|
1321
1322
|
expectTypesMatch(true);
|
|
1322
1323
|
|