circuit-json 0.0.292 → 0.0.293
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 +2 -0
- 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/README.md
CHANGED
|
@@ -1092,6 +1092,7 @@ interface PcbFabricationNoteDimension {
|
|
|
1092
1092
|
from: Point
|
|
1093
1093
|
to: Point
|
|
1094
1094
|
text?: string
|
|
1095
|
+
text_ccw_rotation?: number
|
|
1095
1096
|
offset?: Length
|
|
1096
1097
|
offset_distance?: Length
|
|
1097
1098
|
offset_direction?: {
|
|
@@ -1366,6 +1367,7 @@ interface PcbNoteDimension {
|
|
|
1366
1367
|
from: Point
|
|
1367
1368
|
to: Point
|
|
1368
1369
|
text?: string
|
|
1370
|
+
text_ccw_rotation?: number
|
|
1369
1371
|
offset_distance?: Length
|
|
1370
1372
|
offset_direction?: {
|
|
1371
1373
|
x: number
|
package/dist/index.d.mts
CHANGED
|
@@ -4013,6 +4013,7 @@ declare const pcb_fabrication_note_dimension: z.ZodObject<{
|
|
|
4013
4013
|
y: string | number;
|
|
4014
4014
|
}>;
|
|
4015
4015
|
text: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
text_ccw_rotation: z.ZodOptional<z.ZodNumber>;
|
|
4016
4017
|
offset: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4017
4018
|
offset_distance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4018
4019
|
offset_direction: z.ZodOptional<z.ZodObject<{
|
|
@@ -4049,6 +4050,7 @@ declare const pcb_fabrication_note_dimension: z.ZodObject<{
|
|
|
4049
4050
|
pcb_group_id?: string | undefined;
|
|
4050
4051
|
text?: string | undefined;
|
|
4051
4052
|
color?: string | undefined;
|
|
4053
|
+
text_ccw_rotation?: number | undefined;
|
|
4052
4054
|
offset?: number | undefined;
|
|
4053
4055
|
offset_distance?: number | undefined;
|
|
4054
4056
|
offset_direction?: {
|
|
@@ -4074,6 +4076,7 @@ declare const pcb_fabrication_note_dimension: z.ZodObject<{
|
|
|
4074
4076
|
font_size?: string | number | undefined;
|
|
4075
4077
|
color?: string | undefined;
|
|
4076
4078
|
pcb_fabrication_note_dimension_id?: string | undefined;
|
|
4079
|
+
text_ccw_rotation?: number | undefined;
|
|
4077
4080
|
offset?: string | number | undefined;
|
|
4078
4081
|
offset_distance?: string | number | undefined;
|
|
4079
4082
|
offset_direction?: {
|
|
@@ -4096,6 +4099,7 @@ interface PcbFabricationNoteDimension {
|
|
|
4096
4099
|
from: Point;
|
|
4097
4100
|
to: Point;
|
|
4098
4101
|
text?: string;
|
|
4102
|
+
text_ccw_rotation?: number;
|
|
4099
4103
|
offset?: Length;
|
|
4100
4104
|
offset_distance?: Length;
|
|
4101
4105
|
offset_direction?: {
|
|
@@ -4433,6 +4437,7 @@ declare const pcb_note_dimension: z.ZodObject<{
|
|
|
4433
4437
|
y: string | number;
|
|
4434
4438
|
}>;
|
|
4435
4439
|
text: z.ZodOptional<z.ZodString>;
|
|
4440
|
+
text_ccw_rotation: z.ZodOptional<z.ZodNumber>;
|
|
4436
4441
|
offset_distance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4437
4442
|
offset_direction: z.ZodOptional<z.ZodObject<{
|
|
4438
4443
|
x: z.ZodNumber;
|
|
@@ -4468,6 +4473,7 @@ declare const pcb_note_dimension: z.ZodObject<{
|
|
|
4468
4473
|
pcb_group_id?: string | undefined;
|
|
4469
4474
|
text?: string | undefined;
|
|
4470
4475
|
color?: string | undefined;
|
|
4476
|
+
text_ccw_rotation?: number | undefined;
|
|
4471
4477
|
offset_distance?: number | undefined;
|
|
4472
4478
|
offset_direction?: {
|
|
4473
4479
|
x: number;
|
|
@@ -4491,6 +4497,7 @@ declare const pcb_note_dimension: z.ZodObject<{
|
|
|
4491
4497
|
font?: "tscircuit2024" | undefined;
|
|
4492
4498
|
font_size?: string | number | undefined;
|
|
4493
4499
|
color?: string | undefined;
|
|
4500
|
+
text_ccw_rotation?: number | undefined;
|
|
4494
4501
|
offset_distance?: string | number | undefined;
|
|
4495
4502
|
offset_direction?: {
|
|
4496
4503
|
x: number;
|
|
@@ -4513,6 +4520,7 @@ interface PcbNoteDimension {
|
|
|
4513
4520
|
from: Point;
|
|
4514
4521
|
to: Point;
|
|
4515
4522
|
text?: string;
|
|
4523
|
+
text_ccw_rotation?: number;
|
|
4516
4524
|
offset_distance?: Length;
|
|
4517
4525
|
offset_direction?: {
|
|
4518
4526
|
x: number;
|
|
@@ -16254,6 +16262,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16254
16262
|
y: string | number;
|
|
16255
16263
|
}>;
|
|
16256
16264
|
text: z.ZodOptional<z.ZodString>;
|
|
16265
|
+
text_ccw_rotation: z.ZodOptional<z.ZodNumber>;
|
|
16257
16266
|
offset: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16258
16267
|
offset_distance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16259
16268
|
offset_direction: z.ZodOptional<z.ZodObject<{
|
|
@@ -16290,6 +16299,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16290
16299
|
pcb_group_id?: string | undefined;
|
|
16291
16300
|
text?: string | undefined;
|
|
16292
16301
|
color?: string | undefined;
|
|
16302
|
+
text_ccw_rotation?: number | undefined;
|
|
16293
16303
|
offset?: number | undefined;
|
|
16294
16304
|
offset_distance?: number | undefined;
|
|
16295
16305
|
offset_direction?: {
|
|
@@ -16315,6 +16325,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16315
16325
|
font_size?: string | number | undefined;
|
|
16316
16326
|
color?: string | undefined;
|
|
16317
16327
|
pcb_fabrication_note_dimension_id?: string | undefined;
|
|
16328
|
+
text_ccw_rotation?: number | undefined;
|
|
16318
16329
|
offset?: string | number | undefined;
|
|
16319
16330
|
offset_distance?: string | number | undefined;
|
|
16320
16331
|
offset_direction?: {
|
|
@@ -16560,6 +16571,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16560
16571
|
y: string | number;
|
|
16561
16572
|
}>;
|
|
16562
16573
|
text: z.ZodOptional<z.ZodString>;
|
|
16574
|
+
text_ccw_rotation: z.ZodOptional<z.ZodNumber>;
|
|
16563
16575
|
offset_distance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16564
16576
|
offset_direction: z.ZodOptional<z.ZodObject<{
|
|
16565
16577
|
x: z.ZodNumber;
|
|
@@ -16595,6 +16607,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16595
16607
|
pcb_group_id?: string | undefined;
|
|
16596
16608
|
text?: string | undefined;
|
|
16597
16609
|
color?: string | undefined;
|
|
16610
|
+
text_ccw_rotation?: number | undefined;
|
|
16598
16611
|
offset_distance?: number | undefined;
|
|
16599
16612
|
offset_direction?: {
|
|
16600
16613
|
x: number;
|
|
@@ -16618,6 +16631,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16618
16631
|
font?: "tscircuit2024" | undefined;
|
|
16619
16632
|
font_size?: string | number | undefined;
|
|
16620
16633
|
color?: string | undefined;
|
|
16634
|
+
text_ccw_rotation?: number | undefined;
|
|
16621
16635
|
offset_distance?: string | number | undefined;
|
|
16622
16636
|
offset_direction?: {
|
|
16623
16637
|
x: number;
|
|
@@ -23603,6 +23617,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23603
23617
|
y: string | number;
|
|
23604
23618
|
}>;
|
|
23605
23619
|
text: z.ZodOptional<z.ZodString>;
|
|
23620
|
+
text_ccw_rotation: z.ZodOptional<z.ZodNumber>;
|
|
23606
23621
|
offset: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23607
23622
|
offset_distance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23608
23623
|
offset_direction: z.ZodOptional<z.ZodObject<{
|
|
@@ -23639,6 +23654,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23639
23654
|
pcb_group_id?: string | undefined;
|
|
23640
23655
|
text?: string | undefined;
|
|
23641
23656
|
color?: string | undefined;
|
|
23657
|
+
text_ccw_rotation?: number | undefined;
|
|
23642
23658
|
offset?: number | undefined;
|
|
23643
23659
|
offset_distance?: number | undefined;
|
|
23644
23660
|
offset_direction?: {
|
|
@@ -23664,6 +23680,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23664
23680
|
font_size?: string | number | undefined;
|
|
23665
23681
|
color?: string | undefined;
|
|
23666
23682
|
pcb_fabrication_note_dimension_id?: string | undefined;
|
|
23683
|
+
text_ccw_rotation?: number | undefined;
|
|
23667
23684
|
offset?: string | number | undefined;
|
|
23668
23685
|
offset_distance?: string | number | undefined;
|
|
23669
23686
|
offset_direction?: {
|
|
@@ -23909,6 +23926,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23909
23926
|
y: string | number;
|
|
23910
23927
|
}>;
|
|
23911
23928
|
text: z.ZodOptional<z.ZodString>;
|
|
23929
|
+
text_ccw_rotation: z.ZodOptional<z.ZodNumber>;
|
|
23912
23930
|
offset_distance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23913
23931
|
offset_direction: z.ZodOptional<z.ZodObject<{
|
|
23914
23932
|
x: z.ZodNumber;
|
|
@@ -23944,6 +23962,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23944
23962
|
pcb_group_id?: string | undefined;
|
|
23945
23963
|
text?: string | undefined;
|
|
23946
23964
|
color?: string | undefined;
|
|
23965
|
+
text_ccw_rotation?: number | undefined;
|
|
23947
23966
|
offset_distance?: number | undefined;
|
|
23948
23967
|
offset_direction?: {
|
|
23949
23968
|
x: number;
|
|
@@ -23967,6 +23986,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23967
23986
|
font?: "tscircuit2024" | undefined;
|
|
23968
23987
|
font_size?: string | number | undefined;
|
|
23969
23988
|
color?: string | undefined;
|
|
23989
|
+
text_ccw_rotation?: number | undefined;
|
|
23970
23990
|
offset_distance?: string | number | undefined;
|
|
23971
23991
|
offset_direction?: {
|
|
23972
23992
|
x: number;
|
package/dist/index.mjs
CHANGED
|
@@ -2060,6 +2060,7 @@ var pcb_fabrication_note_dimension = z95.object({
|
|
|
2060
2060
|
from: point,
|
|
2061
2061
|
to: point,
|
|
2062
2062
|
text: z95.string().optional(),
|
|
2063
|
+
text_ccw_rotation: z95.number().optional(),
|
|
2063
2064
|
offset: length.optional(),
|
|
2064
2065
|
offset_distance: length.optional(),
|
|
2065
2066
|
offset_direction: z95.object({
|
|
@@ -2160,6 +2161,7 @@ var pcb_note_dimension = z100.object({
|
|
|
2160
2161
|
from: point,
|
|
2161
2162
|
to: point,
|
|
2162
2163
|
text: z100.string().optional(),
|
|
2164
|
+
text_ccw_rotation: z100.number().optional(),
|
|
2163
2165
|
offset_distance: length.optional(),
|
|
2164
2166
|
offset_direction: z100.object({
|
|
2165
2167
|
x: z100.number(),
|