circuit-json 0.0.323 → 0.0.325

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 CHANGED
@@ -869,6 +869,7 @@ interface CadComponent {
869
869
  model_wrl_url?: string
870
870
  model_unit_to_mm_scale_factor?: number
871
871
  model_jscad?: any
872
+ show_as_translucent_model?: boolean
872
873
  }
873
874
  ```
874
875
 
@@ -2140,6 +2141,7 @@ interface PcbVia {
2140
2141
  pcb_trace_id?: string
2141
2142
  net_is_assignable?: boolean
2142
2143
  net_assigned?: boolean
2144
+ is_tented?: boolean
2143
2145
  }
2144
2146
  ```
2145
2147
 
package/dist/index.d.mts CHANGED
@@ -3490,6 +3490,7 @@ declare const pcb_via: z.ZodObject<{
3490
3490
  pcb_trace_id: z.ZodOptional<z.ZodString>;
3491
3491
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
3492
3492
  net_assigned: z.ZodOptional<z.ZodBoolean>;
3493
+ is_tented: z.ZodOptional<z.ZodBoolean>;
3493
3494
  }, "strip", z.ZodTypeAny, {
3494
3495
  x: number;
3495
3496
  y: number;
@@ -3506,6 +3507,7 @@ declare const pcb_via: z.ZodObject<{
3506
3507
  subcircuit_connectivity_map_key?: string | undefined;
3507
3508
  net_is_assignable?: boolean | undefined;
3508
3509
  net_assigned?: boolean | undefined;
3510
+ is_tented?: boolean | undefined;
3509
3511
  }, {
3510
3512
  x: string | number;
3511
3513
  y: string | number;
@@ -3528,6 +3530,7 @@ declare const pcb_via: z.ZodObject<{
3528
3530
  subcircuit_connectivity_map_key?: string | undefined;
3529
3531
  net_is_assignable?: boolean | undefined;
3530
3532
  net_assigned?: boolean | undefined;
3533
+ is_tented?: boolean | undefined;
3531
3534
  }>;
3532
3535
  type PcbViaInput = z.input<typeof pcb_via>;
3533
3536
  /**
@@ -3551,6 +3554,7 @@ interface PcbVia {
3551
3554
  pcb_trace_id?: string;
3552
3555
  net_is_assignable?: boolean;
3553
3556
  net_assigned?: boolean;
3557
+ is_tented?: boolean;
3554
3558
  }
3555
3559
  /**
3556
3560
  * @deprecated use PcbVia
@@ -12669,6 +12673,7 @@ declare const cad_component: z.ZodObject<{
12669
12673
  model_wrl_url: z.ZodOptional<z.ZodString>;
12670
12674
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
12671
12675
  model_jscad: z.ZodOptional<z.ZodAny>;
12676
+ show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
12672
12677
  }, "strip", z.ZodTypeAny, {
12673
12678
  type: "cad_component";
12674
12679
  pcb_component_id: string;
@@ -12701,6 +12706,7 @@ declare const cad_component: z.ZodObject<{
12701
12706
  model_wrl_url?: string | undefined;
12702
12707
  model_unit_to_mm_scale_factor?: number | undefined;
12703
12708
  model_jscad?: any;
12709
+ show_as_translucent_model?: boolean | undefined;
12704
12710
  }, {
12705
12711
  type: "cad_component";
12706
12712
  pcb_component_id: string;
@@ -12735,6 +12741,7 @@ declare const cad_component: z.ZodObject<{
12735
12741
  model_wrl_url?: string | undefined;
12736
12742
  model_unit_to_mm_scale_factor?: number | undefined;
12737
12743
  model_jscad?: any;
12744
+ show_as_translucent_model?: boolean | undefined;
12738
12745
  }>;
12739
12746
  type CadComponentInput = z.input<typeof cad_component>;
12740
12747
  interface CadComponent {
@@ -12757,6 +12764,7 @@ interface CadComponent {
12757
12764
  model_wrl_url?: string;
12758
12765
  model_unit_to_mm_scale_factor?: number;
12759
12766
  model_jscad?: any;
12767
+ show_as_translucent_model?: boolean;
12760
12768
  }
12761
12769
 
12762
12770
  declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
@@ -16049,6 +16057,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16049
16057
  pcb_trace_id: z.ZodOptional<z.ZodString>;
16050
16058
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
16051
16059
  net_assigned: z.ZodOptional<z.ZodBoolean>;
16060
+ is_tented: z.ZodOptional<z.ZodBoolean>;
16052
16061
  }, "strip", z.ZodTypeAny, {
16053
16062
  x: number;
16054
16063
  y: number;
@@ -16065,6 +16074,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16065
16074
  subcircuit_connectivity_map_key?: string | undefined;
16066
16075
  net_is_assignable?: boolean | undefined;
16067
16076
  net_assigned?: boolean | undefined;
16077
+ is_tented?: boolean | undefined;
16068
16078
  }, {
16069
16079
  x: string | number;
16070
16080
  y: string | number;
@@ -16087,6 +16097,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16087
16097
  subcircuit_connectivity_map_key?: string | undefined;
16088
16098
  net_is_assignable?: boolean | undefined;
16089
16099
  net_assigned?: boolean | undefined;
16100
+ is_tented?: boolean | undefined;
16090
16101
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
16091
16102
  type: z.ZodLiteral<"pcb_smtpad">;
16092
16103
  shape: z.ZodLiteral<"circle">;
@@ -20401,6 +20412,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20401
20412
  model_wrl_url: z.ZodOptional<z.ZodString>;
20402
20413
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
20403
20414
  model_jscad: z.ZodOptional<z.ZodAny>;
20415
+ show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
20404
20416
  }, "strip", z.ZodTypeAny, {
20405
20417
  type: "cad_component";
20406
20418
  pcb_component_id: string;
@@ -20433,6 +20445,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20433
20445
  model_wrl_url?: string | undefined;
20434
20446
  model_unit_to_mm_scale_factor?: number | undefined;
20435
20447
  model_jscad?: any;
20448
+ show_as_translucent_model?: boolean | undefined;
20436
20449
  }, {
20437
20450
  type: "cad_component";
20438
20451
  pcb_component_id: string;
@@ -20467,6 +20480,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20467
20480
  model_wrl_url?: string | undefined;
20468
20481
  model_unit_to_mm_scale_factor?: number | undefined;
20469
20482
  model_jscad?: any;
20483
+ show_as_translucent_model?: boolean | undefined;
20470
20484
  }>, z.ZodUnion<[z.ZodObject<{
20471
20485
  type: z.ZodLiteral<"simulation_voltage_source">;
20472
20486
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -23993,6 +24007,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23993
24007
  pcb_trace_id: z.ZodOptional<z.ZodString>;
23994
24008
  net_is_assignable: z.ZodOptional<z.ZodBoolean>;
23995
24009
  net_assigned: z.ZodOptional<z.ZodBoolean>;
24010
+ is_tented: z.ZodOptional<z.ZodBoolean>;
23996
24011
  }, "strip", z.ZodTypeAny, {
23997
24012
  x: number;
23998
24013
  y: number;
@@ -24009,6 +24024,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24009
24024
  subcircuit_connectivity_map_key?: string | undefined;
24010
24025
  net_is_assignable?: boolean | undefined;
24011
24026
  net_assigned?: boolean | undefined;
24027
+ is_tented?: boolean | undefined;
24012
24028
  }, {
24013
24029
  x: string | number;
24014
24030
  y: string | number;
@@ -24031,6 +24047,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24031
24047
  subcircuit_connectivity_map_key?: string | undefined;
24032
24048
  net_is_assignable?: boolean | undefined;
24033
24049
  net_assigned?: boolean | undefined;
24050
+ is_tented?: boolean | undefined;
24034
24051
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
24035
24052
  type: z.ZodLiteral<"pcb_smtpad">;
24036
24053
  shape: z.ZodLiteral<"circle">;
@@ -28345,6 +28362,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28345
28362
  model_wrl_url: z.ZodOptional<z.ZodString>;
28346
28363
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
28347
28364
  model_jscad: z.ZodOptional<z.ZodAny>;
28365
+ show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
28348
28366
  }, "strip", z.ZodTypeAny, {
28349
28367
  type: "cad_component";
28350
28368
  pcb_component_id: string;
@@ -28377,6 +28395,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28377
28395
  model_wrl_url?: string | undefined;
28378
28396
  model_unit_to_mm_scale_factor?: number | undefined;
28379
28397
  model_jscad?: any;
28398
+ show_as_translucent_model?: boolean | undefined;
28380
28399
  }, {
28381
28400
  type: "cad_component";
28382
28401
  pcb_component_id: string;
@@ -28411,6 +28430,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28411
28430
  model_wrl_url?: string | undefined;
28412
28431
  model_unit_to_mm_scale_factor?: number | undefined;
28413
28432
  model_jscad?: any;
28433
+ show_as_translucent_model?: boolean | undefined;
28414
28434
  }>, z.ZodUnion<[z.ZodObject<{
28415
28435
  type: z.ZodLiteral<"simulation_voltage_source">;
28416
28436
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.mjs CHANGED
@@ -1949,7 +1949,8 @@ var pcb_via = z84.object({
1949
1949
  layers: z84.array(layer_ref),
1950
1950
  pcb_trace_id: z84.string().optional(),
1951
1951
  net_is_assignable: z84.boolean().optional(),
1952
- net_assigned: z84.boolean().optional()
1952
+ net_assigned: z84.boolean().optional(),
1953
+ is_tented: z84.boolean().optional()
1953
1954
  }).describe("Defines a via on the PCB");
1954
1955
  expectTypesMatch(true);
1955
1956
 
@@ -2775,7 +2776,8 @@ var cad_component = z125.object({
2775
2776
  model_step_url: z125.string().optional(),
2776
2777
  model_wrl_url: z125.string().optional(),
2777
2778
  model_unit_to_mm_scale_factor: z125.number().optional(),
2778
- model_jscad: z125.any().optional()
2779
+ model_jscad: z125.any().optional(),
2780
+ show_as_translucent_model: z125.boolean().optional()
2779
2781
  }).describe("Defines a component on the PCB");
2780
2782
  expectTypesMatch(true);
2781
2783