circuit-json 0.0.296 → 0.0.297
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 +3 -0
- package/dist/index.d.mts +30 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1180,6 +1180,7 @@ interface PcbFabricationNoteRect {
|
|
|
1180
1180
|
height: Length
|
|
1181
1181
|
layer: VisibleLayer
|
|
1182
1182
|
stroke_width: Length
|
|
1183
|
+
corner_radius?: Length
|
|
1183
1184
|
is_filled?: boolean
|
|
1184
1185
|
has_stroke?: boolean
|
|
1185
1186
|
is_stroke_dashed?: boolean
|
|
@@ -1483,6 +1484,7 @@ interface PcbNoteRect {
|
|
|
1483
1484
|
width: Length
|
|
1484
1485
|
height: Length
|
|
1485
1486
|
stroke_width: Length
|
|
1487
|
+
corner_radius?: Length
|
|
1486
1488
|
is_filled?: boolean
|
|
1487
1489
|
has_stroke?: boolean
|
|
1488
1490
|
is_stroke_dashed?: boolean
|
|
@@ -1847,6 +1849,7 @@ interface PcbSilkscreenRect {
|
|
|
1847
1849
|
height: Length
|
|
1848
1850
|
layer: LayerRef
|
|
1849
1851
|
stroke_width: Length
|
|
1852
|
+
corner_radius?: Length
|
|
1850
1853
|
is_filled?: boolean
|
|
1851
1854
|
has_stroke?: boolean
|
|
1852
1855
|
is_stroke_dashed?: boolean
|
package/dist/index.d.mts
CHANGED
|
@@ -3687,6 +3687,7 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
|
|
|
3687
3687
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3688
3688
|
}>;
|
|
3689
3689
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3690
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3690
3691
|
is_filled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3691
3692
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
3692
3693
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3704,6 +3705,7 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
|
|
|
3704
3705
|
pcb_silkscreen_rect_id: string;
|
|
3705
3706
|
subcircuit_id?: string | undefined;
|
|
3706
3707
|
pcb_group_id?: string | undefined;
|
|
3708
|
+
corner_radius?: number | undefined;
|
|
3707
3709
|
is_filled?: boolean | undefined;
|
|
3708
3710
|
has_stroke?: boolean | undefined;
|
|
3709
3711
|
is_stroke_dashed?: boolean | undefined;
|
|
@@ -3721,6 +3723,7 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
|
|
|
3721
3723
|
};
|
|
3722
3724
|
subcircuit_id?: string | undefined;
|
|
3723
3725
|
pcb_group_id?: string | undefined;
|
|
3726
|
+
corner_radius?: string | number | undefined;
|
|
3724
3727
|
stroke_width?: string | number | undefined;
|
|
3725
3728
|
pcb_silkscreen_rect_id?: string | undefined;
|
|
3726
3729
|
is_filled?: boolean | undefined;
|
|
@@ -3742,6 +3745,7 @@ interface PcbSilkscreenRect {
|
|
|
3742
3745
|
height: Length;
|
|
3743
3746
|
layer: LayerRef;
|
|
3744
3747
|
stroke_width: Length;
|
|
3748
|
+
corner_radius?: Length;
|
|
3745
3749
|
is_filled?: boolean;
|
|
3746
3750
|
has_stroke?: boolean;
|
|
3747
3751
|
is_stroke_dashed?: boolean;
|
|
@@ -4049,6 +4053,7 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
|
|
|
4049
4053
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4050
4054
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
4051
4055
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4056
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4052
4057
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
4053
4058
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
4054
4059
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4067,6 +4072,7 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
|
|
|
4067
4072
|
pcb_fabrication_note_rect_id: string;
|
|
4068
4073
|
subcircuit_id?: string | undefined;
|
|
4069
4074
|
pcb_group_id?: string | undefined;
|
|
4075
|
+
corner_radius?: number | undefined;
|
|
4070
4076
|
is_filled?: boolean | undefined;
|
|
4071
4077
|
has_stroke?: boolean | undefined;
|
|
4072
4078
|
is_stroke_dashed?: boolean | undefined;
|
|
@@ -4083,6 +4089,7 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
|
|
|
4083
4089
|
layer: "top" | "bottom";
|
|
4084
4090
|
subcircuit_id?: string | undefined;
|
|
4085
4091
|
pcb_group_id?: string | undefined;
|
|
4092
|
+
corner_radius?: string | number | undefined;
|
|
4086
4093
|
stroke_width?: string | number | undefined;
|
|
4087
4094
|
is_filled?: boolean | undefined;
|
|
4088
4095
|
has_stroke?: boolean | undefined;
|
|
@@ -4105,6 +4112,7 @@ interface PcbFabricationNoteRect {
|
|
|
4105
4112
|
height: Length;
|
|
4106
4113
|
layer: VisibleLayer;
|
|
4107
4114
|
stroke_width: Length;
|
|
4115
|
+
corner_radius?: Length;
|
|
4108
4116
|
is_filled?: boolean;
|
|
4109
4117
|
has_stroke?: boolean;
|
|
4110
4118
|
is_stroke_dashed?: boolean;
|
|
@@ -4341,6 +4349,7 @@ declare const pcb_note_rect: z.ZodObject<{
|
|
|
4341
4349
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4342
4350
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4343
4351
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4352
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4344
4353
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
4345
4354
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
4346
4355
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4359,6 +4368,7 @@ declare const pcb_note_rect: z.ZodObject<{
|
|
|
4359
4368
|
pcb_component_id?: string | undefined;
|
|
4360
4369
|
subcircuit_id?: string | undefined;
|
|
4361
4370
|
pcb_group_id?: string | undefined;
|
|
4371
|
+
corner_radius?: number | undefined;
|
|
4362
4372
|
text?: string | undefined;
|
|
4363
4373
|
is_filled?: boolean | undefined;
|
|
4364
4374
|
has_stroke?: boolean | undefined;
|
|
@@ -4376,6 +4386,7 @@ declare const pcb_note_rect: z.ZodObject<{
|
|
|
4376
4386
|
pcb_component_id?: string | undefined;
|
|
4377
4387
|
subcircuit_id?: string | undefined;
|
|
4378
4388
|
pcb_group_id?: string | undefined;
|
|
4389
|
+
corner_radius?: string | number | undefined;
|
|
4379
4390
|
text?: string | undefined;
|
|
4380
4391
|
stroke_width?: string | number | undefined;
|
|
4381
4392
|
is_filled?: boolean | undefined;
|
|
@@ -4400,6 +4411,7 @@ interface PcbNoteRect {
|
|
|
4400
4411
|
width: Length;
|
|
4401
4412
|
height: Length;
|
|
4402
4413
|
stroke_width: Length;
|
|
4414
|
+
corner_radius?: Length;
|
|
4403
4415
|
is_filled?: boolean;
|
|
4404
4416
|
has_stroke?: boolean;
|
|
4405
4417
|
is_stroke_dashed?: boolean;
|
|
@@ -16000,6 +16012,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16000
16012
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16001
16013
|
}>;
|
|
16002
16014
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16015
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16003
16016
|
is_filled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
16004
16017
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
16005
16018
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16017,6 +16030,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16017
16030
|
pcb_silkscreen_rect_id: string;
|
|
16018
16031
|
subcircuit_id?: string | undefined;
|
|
16019
16032
|
pcb_group_id?: string | undefined;
|
|
16033
|
+
corner_radius?: number | undefined;
|
|
16020
16034
|
is_filled?: boolean | undefined;
|
|
16021
16035
|
has_stroke?: boolean | undefined;
|
|
16022
16036
|
is_stroke_dashed?: boolean | undefined;
|
|
@@ -16034,6 +16048,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16034
16048
|
};
|
|
16035
16049
|
subcircuit_id?: string | undefined;
|
|
16036
16050
|
pcb_group_id?: string | undefined;
|
|
16051
|
+
corner_radius?: string | number | undefined;
|
|
16037
16052
|
stroke_width?: string | number | undefined;
|
|
16038
16053
|
pcb_silkscreen_rect_id?: string | undefined;
|
|
16039
16054
|
is_filled?: boolean | undefined;
|
|
@@ -16456,6 +16471,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16456
16471
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16457
16472
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
16458
16473
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16474
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16459
16475
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
16460
16476
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
16461
16477
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16474,6 +16490,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16474
16490
|
pcb_fabrication_note_rect_id: string;
|
|
16475
16491
|
subcircuit_id?: string | undefined;
|
|
16476
16492
|
pcb_group_id?: string | undefined;
|
|
16493
|
+
corner_radius?: number | undefined;
|
|
16477
16494
|
is_filled?: boolean | undefined;
|
|
16478
16495
|
has_stroke?: boolean | undefined;
|
|
16479
16496
|
is_stroke_dashed?: boolean | undefined;
|
|
@@ -16490,6 +16507,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16490
16507
|
layer: "top" | "bottom";
|
|
16491
16508
|
subcircuit_id?: string | undefined;
|
|
16492
16509
|
pcb_group_id?: string | undefined;
|
|
16510
|
+
corner_radius?: string | number | undefined;
|
|
16493
16511
|
stroke_width?: string | number | undefined;
|
|
16494
16512
|
is_filled?: boolean | undefined;
|
|
16495
16513
|
has_stroke?: boolean | undefined;
|
|
@@ -16670,6 +16688,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16670
16688
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16671
16689
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16672
16690
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16691
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16673
16692
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
16674
16693
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
16675
16694
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -16688,6 +16707,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16688
16707
|
pcb_component_id?: string | undefined;
|
|
16689
16708
|
subcircuit_id?: string | undefined;
|
|
16690
16709
|
pcb_group_id?: string | undefined;
|
|
16710
|
+
corner_radius?: number | undefined;
|
|
16691
16711
|
text?: string | undefined;
|
|
16692
16712
|
is_filled?: boolean | undefined;
|
|
16693
16713
|
has_stroke?: boolean | undefined;
|
|
@@ -16705,6 +16725,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16705
16725
|
pcb_component_id?: string | undefined;
|
|
16706
16726
|
subcircuit_id?: string | undefined;
|
|
16707
16727
|
pcb_group_id?: string | undefined;
|
|
16728
|
+
corner_radius?: string | number | undefined;
|
|
16708
16729
|
text?: string | undefined;
|
|
16709
16730
|
stroke_width?: string | number | undefined;
|
|
16710
16731
|
is_filled?: boolean | undefined;
|
|
@@ -23471,6 +23492,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23471
23492
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
23472
23493
|
}>;
|
|
23473
23494
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23495
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23474
23496
|
is_filled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
23475
23497
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
23476
23498
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -23488,6 +23510,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23488
23510
|
pcb_silkscreen_rect_id: string;
|
|
23489
23511
|
subcircuit_id?: string | undefined;
|
|
23490
23512
|
pcb_group_id?: string | undefined;
|
|
23513
|
+
corner_radius?: number | undefined;
|
|
23491
23514
|
is_filled?: boolean | undefined;
|
|
23492
23515
|
has_stroke?: boolean | undefined;
|
|
23493
23516
|
is_stroke_dashed?: boolean | undefined;
|
|
@@ -23505,6 +23528,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23505
23528
|
};
|
|
23506
23529
|
subcircuit_id?: string | undefined;
|
|
23507
23530
|
pcb_group_id?: string | undefined;
|
|
23531
|
+
corner_radius?: string | number | undefined;
|
|
23508
23532
|
stroke_width?: string | number | undefined;
|
|
23509
23533
|
pcb_silkscreen_rect_id?: string | undefined;
|
|
23510
23534
|
is_filled?: boolean | undefined;
|
|
@@ -23927,6 +23951,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23927
23951
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
23928
23952
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
23929
23953
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23954
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23930
23955
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
23931
23956
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
23932
23957
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -23945,6 +23970,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23945
23970
|
pcb_fabrication_note_rect_id: string;
|
|
23946
23971
|
subcircuit_id?: string | undefined;
|
|
23947
23972
|
pcb_group_id?: string | undefined;
|
|
23973
|
+
corner_radius?: number | undefined;
|
|
23948
23974
|
is_filled?: boolean | undefined;
|
|
23949
23975
|
has_stroke?: boolean | undefined;
|
|
23950
23976
|
is_stroke_dashed?: boolean | undefined;
|
|
@@ -23961,6 +23987,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23961
23987
|
layer: "top" | "bottom";
|
|
23962
23988
|
subcircuit_id?: string | undefined;
|
|
23963
23989
|
pcb_group_id?: string | undefined;
|
|
23990
|
+
corner_radius?: string | number | undefined;
|
|
23964
23991
|
stroke_width?: string | number | undefined;
|
|
23965
23992
|
is_filled?: boolean | undefined;
|
|
23966
23993
|
has_stroke?: boolean | undefined;
|
|
@@ -24141,6 +24168,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24141
24168
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
24142
24169
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
24143
24170
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24171
|
+
corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24144
24172
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
24145
24173
|
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
24146
24174
|
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -24159,6 +24187,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24159
24187
|
pcb_component_id?: string | undefined;
|
|
24160
24188
|
subcircuit_id?: string | undefined;
|
|
24161
24189
|
pcb_group_id?: string | undefined;
|
|
24190
|
+
corner_radius?: number | undefined;
|
|
24162
24191
|
text?: string | undefined;
|
|
24163
24192
|
is_filled?: boolean | undefined;
|
|
24164
24193
|
has_stroke?: boolean | undefined;
|
|
@@ -24176,6 +24205,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24176
24205
|
pcb_component_id?: string | undefined;
|
|
24177
24206
|
subcircuit_id?: string | undefined;
|
|
24178
24207
|
pcb_group_id?: string | undefined;
|
|
24208
|
+
corner_radius?: string | number | undefined;
|
|
24179
24209
|
text?: string | undefined;
|
|
24180
24210
|
stroke_width?: string | number | undefined;
|
|
24181
24211
|
is_filled?: boolean | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -1990,6 +1990,7 @@ var pcb_silkscreen_rect = z91.object({
|
|
|
1990
1990
|
height: length,
|
|
1991
1991
|
layer: layer_ref,
|
|
1992
1992
|
stroke_width: length.default("1mm"),
|
|
1993
|
+
corner_radius: length.optional(),
|
|
1993
1994
|
is_filled: z91.boolean().default(true).optional(),
|
|
1994
1995
|
has_stroke: z91.boolean().optional(),
|
|
1995
1996
|
is_stroke_dashed: z91.boolean().optional()
|
|
@@ -2083,6 +2084,7 @@ var pcb_fabrication_note_rect = z96.object({
|
|
|
2083
2084
|
height: length,
|
|
2084
2085
|
layer: visible_layer,
|
|
2085
2086
|
stroke_width: length.default("0.1mm"),
|
|
2087
|
+
corner_radius: length.optional(),
|
|
2086
2088
|
is_filled: z96.boolean().optional(),
|
|
2087
2089
|
has_stroke: z96.boolean().optional(),
|
|
2088
2090
|
is_stroke_dashed: z96.boolean().optional(),
|
|
@@ -2150,6 +2152,7 @@ var pcb_note_rect = z99.object({
|
|
|
2150
2152
|
width: length,
|
|
2151
2153
|
height: length,
|
|
2152
2154
|
stroke_width: length.default("0.1mm"),
|
|
2155
|
+
corner_radius: length.optional(),
|
|
2153
2156
|
is_filled: z99.boolean().optional(),
|
|
2154
2157
|
has_stroke: z99.boolean().optional(),
|
|
2155
2158
|
is_stroke_dashed: z99.boolean().optional(),
|