circuit-json 0.0.244 → 0.0.246
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 +0 -3
- package/dist/index.d.mts +10 -60
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -9167,36 +9167,17 @@ declare const source_manually_placed_via: z.ZodObject<{
|
|
|
9167
9167
|
source_manually_placed_via_id: z.ZodString;
|
|
9168
9168
|
source_group_id: z.ZodString;
|
|
9169
9169
|
source_net_id: z.ZodString;
|
|
9170
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9171
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9172
|
-
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
9173
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
9174
|
-
}, "strip", z.ZodTypeAny, {
|
|
9175
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9176
|
-
}, {
|
|
9177
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9178
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9179
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9180
|
-
}>, "many">;
|
|
9181
9170
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9182
9171
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
9183
9172
|
}, "strip", z.ZodTypeAny, {
|
|
9184
|
-
x: number;
|
|
9185
|
-
y: number;
|
|
9186
9173
|
type: "source_manually_placed_via";
|
|
9187
|
-
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
9188
9174
|
source_group_id: string;
|
|
9189
9175
|
source_net_id: string;
|
|
9190
9176
|
source_manually_placed_via_id: string;
|
|
9191
9177
|
subcircuit_id?: string | undefined;
|
|
9192
9178
|
source_trace_id?: string | undefined;
|
|
9193
9179
|
}, {
|
|
9194
|
-
x: string | number;
|
|
9195
|
-
y: string | number;
|
|
9196
9180
|
type: "source_manually_placed_via";
|
|
9197
|
-
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9198
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9199
|
-
})[];
|
|
9200
9181
|
source_group_id: string;
|
|
9201
9182
|
source_net_id: string;
|
|
9202
9183
|
source_manually_placed_via_id: string;
|
|
@@ -9212,9 +9193,6 @@ interface SourceManuallyPlacedVia {
|
|
|
9212
9193
|
source_manually_placed_via_id: string;
|
|
9213
9194
|
source_group_id: string;
|
|
9214
9195
|
source_net_id: string;
|
|
9215
|
-
x: Distance;
|
|
9216
|
-
y: Distance;
|
|
9217
|
-
layers: LayerRef[];
|
|
9218
9196
|
subcircuit_id?: string;
|
|
9219
9197
|
source_trace_id?: string;
|
|
9220
9198
|
}
|
|
@@ -9280,6 +9258,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
9280
9258
|
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
9281
9259
|
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
9282
9260
|
model_step_url: z.ZodOptional<z.ZodString>;
|
|
9261
|
+
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
9283
9262
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
9284
9263
|
}, "strip", z.ZodTypeAny, {
|
|
9285
9264
|
type: "cad_component";
|
|
@@ -9310,6 +9289,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
9310
9289
|
model_gltf_url?: string | undefined;
|
|
9311
9290
|
model_glb_url?: string | undefined;
|
|
9312
9291
|
model_step_url?: string | undefined;
|
|
9292
|
+
model_wrl_url?: string | undefined;
|
|
9313
9293
|
model_jscad?: any;
|
|
9314
9294
|
}, {
|
|
9315
9295
|
type: "cad_component";
|
|
@@ -9342,6 +9322,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
9342
9322
|
model_gltf_url?: string | undefined;
|
|
9343
9323
|
model_glb_url?: string | undefined;
|
|
9344
9324
|
model_step_url?: string | undefined;
|
|
9325
|
+
model_wrl_url?: string | undefined;
|
|
9345
9326
|
model_jscad?: any;
|
|
9346
9327
|
}>;
|
|
9347
9328
|
type CadComponentInput = z.input<typeof cad_component>;
|
|
@@ -9362,6 +9343,7 @@ interface CadComponent {
|
|
|
9362
9343
|
model_gltf_url?: string;
|
|
9363
9344
|
model_glb_url?: string;
|
|
9364
9345
|
model_step_url?: string;
|
|
9346
|
+
model_wrl_url?: string;
|
|
9365
9347
|
model_jscad?: any;
|
|
9366
9348
|
}
|
|
9367
9349
|
|
|
@@ -11410,36 +11392,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11410
11392
|
source_manually_placed_via_id: z.ZodString;
|
|
11411
11393
|
source_group_id: z.ZodString;
|
|
11412
11394
|
source_net_id: z.ZodString;
|
|
11413
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11414
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11415
|
-
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
11416
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
11417
|
-
}, "strip", z.ZodTypeAny, {
|
|
11418
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11419
|
-
}, {
|
|
11420
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11421
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11422
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11423
|
-
}>, "many">;
|
|
11424
11395
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11425
11396
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
11426
11397
|
}, "strip", z.ZodTypeAny, {
|
|
11427
|
-
x: number;
|
|
11428
|
-
y: number;
|
|
11429
11398
|
type: "source_manually_placed_via";
|
|
11430
|
-
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
11431
11399
|
source_group_id: string;
|
|
11432
11400
|
source_net_id: string;
|
|
11433
11401
|
source_manually_placed_via_id: string;
|
|
11434
11402
|
subcircuit_id?: string | undefined;
|
|
11435
11403
|
source_trace_id?: string | undefined;
|
|
11436
11404
|
}, {
|
|
11437
|
-
x: string | number;
|
|
11438
|
-
y: string | number;
|
|
11439
11405
|
type: "source_manually_placed_via";
|
|
11440
|
-
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11441
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11442
|
-
})[];
|
|
11443
11406
|
source_group_id: string;
|
|
11444
11407
|
source_net_id: string;
|
|
11445
11408
|
source_manually_placed_via_id: string;
|
|
@@ -15364,6 +15327,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15364
15327
|
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
15365
15328
|
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
15366
15329
|
model_step_url: z.ZodOptional<z.ZodString>;
|
|
15330
|
+
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
15367
15331
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
15368
15332
|
}, "strip", z.ZodTypeAny, {
|
|
15369
15333
|
type: "cad_component";
|
|
@@ -15394,6 +15358,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15394
15358
|
model_gltf_url?: string | undefined;
|
|
15395
15359
|
model_glb_url?: string | undefined;
|
|
15396
15360
|
model_step_url?: string | undefined;
|
|
15361
|
+
model_wrl_url?: string | undefined;
|
|
15397
15362
|
model_jscad?: any;
|
|
15398
15363
|
}, {
|
|
15399
15364
|
type: "cad_component";
|
|
@@ -15426,6 +15391,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15426
15391
|
model_gltf_url?: string | undefined;
|
|
15427
15392
|
model_glb_url?: string | undefined;
|
|
15428
15393
|
model_step_url?: string | undefined;
|
|
15394
|
+
model_wrl_url?: string | undefined;
|
|
15429
15395
|
model_jscad?: any;
|
|
15430
15396
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
15431
15397
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
|
@@ -17366,36 +17332,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17366
17332
|
source_manually_placed_via_id: z.ZodString;
|
|
17367
17333
|
source_group_id: z.ZodString;
|
|
17368
17334
|
source_net_id: z.ZodString;
|
|
17369
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
17370
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
17371
|
-
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
17372
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
17373
|
-
}, "strip", z.ZodTypeAny, {
|
|
17374
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17375
|
-
}, {
|
|
17376
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17377
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
17378
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17379
|
-
}>, "many">;
|
|
17380
17335
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
17381
17336
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
17382
17337
|
}, "strip", z.ZodTypeAny, {
|
|
17383
|
-
x: number;
|
|
17384
|
-
y: number;
|
|
17385
17338
|
type: "source_manually_placed_via";
|
|
17386
|
-
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
17387
17339
|
source_group_id: string;
|
|
17388
17340
|
source_net_id: string;
|
|
17389
17341
|
source_manually_placed_via_id: string;
|
|
17390
17342
|
subcircuit_id?: string | undefined;
|
|
17391
17343
|
source_trace_id?: string | undefined;
|
|
17392
17344
|
}, {
|
|
17393
|
-
x: string | number;
|
|
17394
|
-
y: string | number;
|
|
17395
17345
|
type: "source_manually_placed_via";
|
|
17396
|
-
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
17397
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17398
|
-
})[];
|
|
17399
17346
|
source_group_id: string;
|
|
17400
17347
|
source_net_id: string;
|
|
17401
17348
|
source_manually_placed_via_id: string;
|
|
@@ -21320,6 +21267,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21320
21267
|
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
21321
21268
|
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
21322
21269
|
model_step_url: z.ZodOptional<z.ZodString>;
|
|
21270
|
+
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
21323
21271
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
21324
21272
|
}, "strip", z.ZodTypeAny, {
|
|
21325
21273
|
type: "cad_component";
|
|
@@ -21350,6 +21298,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21350
21298
|
model_gltf_url?: string | undefined;
|
|
21351
21299
|
model_glb_url?: string | undefined;
|
|
21352
21300
|
model_step_url?: string | undefined;
|
|
21301
|
+
model_wrl_url?: string | undefined;
|
|
21353
21302
|
model_jscad?: any;
|
|
21354
21303
|
}, {
|
|
21355
21304
|
type: "cad_component";
|
|
@@ -21382,6 +21331,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21382
21331
|
model_gltf_url?: string | undefined;
|
|
21383
21332
|
model_glb_url?: string | undefined;
|
|
21384
21333
|
model_step_url?: string | undefined;
|
|
21334
|
+
model_wrl_url?: string | undefined;
|
|
21385
21335
|
model_jscad?: any;
|
|
21386
21336
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
21387
21337
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
package/dist/index.mjs
CHANGED
|
@@ -748,9 +748,6 @@ var source_manually_placed_via = z42.object({
|
|
|
748
748
|
source_manually_placed_via_id: z42.string(),
|
|
749
749
|
source_group_id: z42.string(),
|
|
750
750
|
source_net_id: z42.string(),
|
|
751
|
-
x: distance,
|
|
752
|
-
y: distance,
|
|
753
|
-
layers: z42.array(layer_ref),
|
|
754
751
|
subcircuit_id: z42.string().optional(),
|
|
755
752
|
source_trace_id: z42.string().optional()
|
|
756
753
|
}).describe("Defines a via that is manually placed in the source domain");
|
|
@@ -2097,6 +2094,7 @@ var cad_component = z99.object({
|
|
|
2097
2094
|
model_gltf_url: z99.string().optional(),
|
|
2098
2095
|
model_glb_url: z99.string().optional(),
|
|
2099
2096
|
model_step_url: z99.string().optional(),
|
|
2097
|
+
model_wrl_url: z99.string().optional(),
|
|
2100
2098
|
model_jscad: z99.any().optional()
|
|
2101
2099
|
}).describe("Defines a component on the PCB");
|
|
2102
2100
|
expectTypesMatch(true);
|