circuit-json 0.0.439 → 0.0.441

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/dist/index.mjs CHANGED
@@ -1056,6 +1056,7 @@ expectTypesMatch(true);
1056
1056
  import { z as z69 } from "zod";
1057
1057
  var schematic_box = z69.object({
1058
1058
  type: z69.literal("schematic_box"),
1059
+ schematic_sheet_id: z69.string().optional(),
1059
1060
  schematic_component_id: z69.string().optional(),
1060
1061
  schematic_symbol_id: z69.string().optional(),
1061
1062
  width: distance,
@@ -1072,6 +1073,7 @@ import { z as z70 } from "zod";
1072
1073
  var schematic_path = z70.object({
1073
1074
  type: z70.literal("schematic_path"),
1074
1075
  schematic_path_id: getZodPrefixedIdWithDefault("schematic_path"),
1076
+ schematic_sheet_id: z70.string().optional(),
1075
1077
  schematic_component_id: z70.string().optional(),
1076
1078
  schematic_symbol_id: z70.string().optional(),
1077
1079
  fill_color: z70.string().optional(),
@@ -1136,6 +1138,7 @@ var schematic_component = z71.object({
1136
1138
  center: point,
1137
1139
  source_component_id: z71.string().optional(),
1138
1140
  schematic_component_id: z71.string(),
1141
+ schematic_sheet_id: z71.string().optional(),
1139
1142
  schematic_symbol_id: z71.string().optional(),
1140
1143
  pin_spacing: length.optional(),
1141
1144
  pin_styles: schematic_pin_styles.optional(),
@@ -1172,6 +1175,7 @@ import { z as z73 } from "zod";
1172
1175
  var schematic_line = z73.object({
1173
1176
  type: z73.literal("schematic_line"),
1174
1177
  schematic_line_id: getZodPrefixedIdWithDefault("schematic_line"),
1178
+ schematic_sheet_id: z73.string().optional(),
1175
1179
  schematic_component_id: z73.string().optional(),
1176
1180
  schematic_symbol_id: z73.string().optional(),
1177
1181
  x1: distance,
@@ -1192,6 +1196,7 @@ import { z as z74 } from "zod";
1192
1196
  var schematic_rect = z74.object({
1193
1197
  type: z74.literal("schematic_rect"),
1194
1198
  schematic_rect_id: getZodPrefixedIdWithDefault("schematic_rect"),
1199
+ schematic_sheet_id: z74.string().optional(),
1195
1200
  schematic_component_id: z74.string().optional(),
1196
1201
  schematic_symbol_id: z74.string().optional(),
1197
1202
  center: point,
@@ -1212,6 +1217,7 @@ import { z as z75 } from "zod";
1212
1217
  var schematic_circle = z75.object({
1213
1218
  type: z75.literal("schematic_circle"),
1214
1219
  schematic_circle_id: getZodPrefixedIdWithDefault("schematic_circle"),
1220
+ schematic_sheet_id: z75.string().optional(),
1215
1221
  schematic_component_id: z75.string().optional(),
1216
1222
  schematic_symbol_id: z75.string().optional(),
1217
1223
  center: point,
@@ -1230,6 +1236,7 @@ import { z as z76 } from "zod";
1230
1236
  var schematic_arc = z76.object({
1231
1237
  type: z76.literal("schematic_arc"),
1232
1238
  schematic_arc_id: getZodPrefixedIdWithDefault("schematic_arc"),
1239
+ schematic_sheet_id: z76.string().optional(),
1233
1240
  schematic_component_id: z76.string().optional(),
1234
1241
  schematic_symbol_id: z76.string().optional(),
1235
1242
  center: point,
@@ -1249,6 +1256,7 @@ import { z as z77 } from "zod";
1249
1256
  var schematic_trace = z77.object({
1250
1257
  type: z77.literal("schematic_trace"),
1251
1258
  schematic_trace_id: z77.string(),
1259
+ schematic_sheet_id: z77.string().optional(),
1252
1260
  source_trace_id: z77.string().optional(),
1253
1261
  junctions: z77.array(
1254
1262
  z77.object({
@@ -1294,6 +1302,7 @@ expectTypesMatch(true);
1294
1302
  // src/schematic/schematic_text.ts
1295
1303
  var schematic_text = z79.object({
1296
1304
  type: z79.literal("schematic_text"),
1305
+ schematic_sheet_id: z79.string().optional(),
1297
1306
  schematic_component_id: z79.string().optional(),
1298
1307
  schematic_symbol_id: z79.string().optional(),
1299
1308
  schematic_text_id: z79.string(),
@@ -1316,6 +1325,7 @@ var schematic_port = z80.object({
1316
1325
  type: z80.literal("schematic_port"),
1317
1326
  schematic_port_id: z80.string(),
1318
1327
  source_port_id: z80.string(),
1328
+ schematic_sheet_id: z80.string().optional(),
1319
1329
  schematic_component_id: z80.string().optional(),
1320
1330
  center: point,
1321
1331
  facing_direction: z80.enum(["up", "down", "left", "right"]).optional(),
@@ -1337,6 +1347,7 @@ import { z as z81 } from "zod";
1337
1347
  var schematic_net_label = z81.object({
1338
1348
  type: z81.literal("schematic_net_label"),
1339
1349
  schematic_net_label_id: getZodPrefixedIdWithDefault("schematic_net_label"),
1350
+ schematic_sheet_id: z81.string().optional(),
1340
1351
  schematic_trace_id: z81.string().optional(),
1341
1352
  source_trace_id: z81.string().optional(),
1342
1353
  source_net_id: z81.string(),
@@ -1408,6 +1419,7 @@ import { z as z85 } from "zod";
1408
1419
  var schematic_voltage_probe = z85.object({
1409
1420
  type: z85.literal("schematic_voltage_probe"),
1410
1421
  schematic_voltage_probe_id: z85.string(),
1422
+ schematic_sheet_id: z85.string().optional(),
1411
1423
  source_component_id: z85.string().optional(),
1412
1424
  name: z85.string().optional(),
1413
1425
  position: point,
@@ -1442,6 +1454,7 @@ import { z as z87 } from "zod";
1442
1454
  var schematic_group = z87.object({
1443
1455
  type: z87.literal("schematic_group"),
1444
1456
  schematic_group_id: getZodPrefixedIdWithDefault("schematic_group"),
1457
+ schematic_sheet_id: z87.string().optional(),
1445
1458
  source_group_id: z87.string(),
1446
1459
  is_subcircuit: z87.boolean().optional(),
1447
1460
  subcircuit_id: z87.string().optional(),
@@ -1460,6 +1473,7 @@ import { z as z88 } from "zod";
1460
1473
  var schematic_table = z88.object({
1461
1474
  type: z88.literal("schematic_table"),
1462
1475
  schematic_table_id: getZodPrefixedIdWithDefault("schematic_table"),
1476
+ schematic_sheet_id: z88.string().optional(),
1463
1477
  anchor_position: point,
1464
1478
  column_widths: z88.array(distance),
1465
1479
  row_heights: z88.array(distance),
@@ -1478,6 +1492,7 @@ var schematic_table_cell = z89.object({
1478
1492
  schematic_table_cell_id: getZodPrefixedIdWithDefault(
1479
1493
  "schematic_table_cell"
1480
1494
  ),
1495
+ schematic_sheet_id: z89.string().optional(),
1481
1496
  schematic_table_id: z89.string(),
1482
1497
  start_row_index: z89.number(),
1483
1498
  end_row_index: z89.number(),
@@ -1500,7 +1515,8 @@ var schematic_sheet = z90.object({
1500
1515
  type: z90.literal("schematic_sheet"),
1501
1516
  schematic_sheet_id: getZodPrefixedIdWithDefault("schematic_sheet"),
1502
1517
  name: z90.string().optional(),
1503
- subcircuit_id: z90.string().optional()
1518
+ subcircuit_id: z90.string().optional(),
1519
+ outline_color: z90.string().optional()
1504
1520
  }).describe(
1505
1521
  "Defines a schematic sheet or page that components can be placed on"
1506
1522
  );