circuit-json 0.0.243 → 0.0.244
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.d.mts +20 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9278,6 +9278,8 @@ declare const cad_component: z.ZodObject<{
|
|
|
9278
9278
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
9279
9279
|
model_3mf_url: z.ZodOptional<z.ZodString>;
|
|
9280
9280
|
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
9281
|
+
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
9282
|
+
model_step_url: z.ZodOptional<z.ZodString>;
|
|
9281
9283
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
9282
9284
|
}, "strip", z.ZodTypeAny, {
|
|
9283
9285
|
type: "cad_component";
|
|
@@ -9306,6 +9308,8 @@ declare const cad_component: z.ZodObject<{
|
|
|
9306
9308
|
model_stl_url?: string | undefined;
|
|
9307
9309
|
model_3mf_url?: string | undefined;
|
|
9308
9310
|
model_gltf_url?: string | undefined;
|
|
9311
|
+
model_glb_url?: string | undefined;
|
|
9312
|
+
model_step_url?: string | undefined;
|
|
9309
9313
|
model_jscad?: any;
|
|
9310
9314
|
}, {
|
|
9311
9315
|
type: "cad_component";
|
|
@@ -9336,6 +9340,8 @@ declare const cad_component: z.ZodObject<{
|
|
|
9336
9340
|
model_stl_url?: string | undefined;
|
|
9337
9341
|
model_3mf_url?: string | undefined;
|
|
9338
9342
|
model_gltf_url?: string | undefined;
|
|
9343
|
+
model_glb_url?: string | undefined;
|
|
9344
|
+
model_step_url?: string | undefined;
|
|
9339
9345
|
model_jscad?: any;
|
|
9340
9346
|
}>;
|
|
9341
9347
|
type CadComponentInput = z.input<typeof cad_component>;
|
|
@@ -9354,6 +9360,8 @@ interface CadComponent {
|
|
|
9354
9360
|
model_stl_url?: string;
|
|
9355
9361
|
model_3mf_url?: string;
|
|
9356
9362
|
model_gltf_url?: string;
|
|
9363
|
+
model_glb_url?: string;
|
|
9364
|
+
model_step_url?: string;
|
|
9357
9365
|
model_jscad?: any;
|
|
9358
9366
|
}
|
|
9359
9367
|
|
|
@@ -15354,6 +15362,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15354
15362
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
15355
15363
|
model_3mf_url: z.ZodOptional<z.ZodString>;
|
|
15356
15364
|
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
15365
|
+
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
15366
|
+
model_step_url: z.ZodOptional<z.ZodString>;
|
|
15357
15367
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
15358
15368
|
}, "strip", z.ZodTypeAny, {
|
|
15359
15369
|
type: "cad_component";
|
|
@@ -15382,6 +15392,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15382
15392
|
model_stl_url?: string | undefined;
|
|
15383
15393
|
model_3mf_url?: string | undefined;
|
|
15384
15394
|
model_gltf_url?: string | undefined;
|
|
15395
|
+
model_glb_url?: string | undefined;
|
|
15396
|
+
model_step_url?: string | undefined;
|
|
15385
15397
|
model_jscad?: any;
|
|
15386
15398
|
}, {
|
|
15387
15399
|
type: "cad_component";
|
|
@@ -15412,6 +15424,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15412
15424
|
model_stl_url?: string | undefined;
|
|
15413
15425
|
model_3mf_url?: string | undefined;
|
|
15414
15426
|
model_gltf_url?: string | undefined;
|
|
15427
|
+
model_glb_url?: string | undefined;
|
|
15428
|
+
model_step_url?: string | undefined;
|
|
15415
15429
|
model_jscad?: any;
|
|
15416
15430
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
15417
15431
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
|
@@ -21304,6 +21318,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21304
21318
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
21305
21319
|
model_3mf_url: z.ZodOptional<z.ZodString>;
|
|
21306
21320
|
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
21321
|
+
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
21322
|
+
model_step_url: z.ZodOptional<z.ZodString>;
|
|
21307
21323
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
21308
21324
|
}, "strip", z.ZodTypeAny, {
|
|
21309
21325
|
type: "cad_component";
|
|
@@ -21332,6 +21348,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21332
21348
|
model_stl_url?: string | undefined;
|
|
21333
21349
|
model_3mf_url?: string | undefined;
|
|
21334
21350
|
model_gltf_url?: string | undefined;
|
|
21351
|
+
model_glb_url?: string | undefined;
|
|
21352
|
+
model_step_url?: string | undefined;
|
|
21335
21353
|
model_jscad?: any;
|
|
21336
21354
|
}, {
|
|
21337
21355
|
type: "cad_component";
|
|
@@ -21362,6 +21380,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21362
21380
|
model_stl_url?: string | undefined;
|
|
21363
21381
|
model_3mf_url?: string | undefined;
|
|
21364
21382
|
model_gltf_url?: string | undefined;
|
|
21383
|
+
model_glb_url?: string | undefined;
|
|
21384
|
+
model_step_url?: string | undefined;
|
|
21365
21385
|
model_jscad?: any;
|
|
21366
21386
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
21367
21387
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
package/dist/index.mjs
CHANGED
|
@@ -2095,6 +2095,8 @@ var cad_component = z99.object({
|
|
|
2095
2095
|
model_stl_url: z99.string().optional(),
|
|
2096
2096
|
model_3mf_url: z99.string().optional(),
|
|
2097
2097
|
model_gltf_url: z99.string().optional(),
|
|
2098
|
+
model_glb_url: z99.string().optional(),
|
|
2099
|
+
model_step_url: z99.string().optional(),
|
|
2098
2100
|
model_jscad: z99.any().optional()
|
|
2099
2101
|
}).describe("Defines a component on the PCB");
|
|
2100
2102
|
expectTypesMatch(true);
|