circuit-json 0.0.376 → 0.0.378
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 +30 -10
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3709,8 +3709,10 @@ declare const pcb_board: z.ZodObject<{
|
|
|
3709
3709
|
type: z.ZodLiteral<"pcb_board">;
|
|
3710
3710
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3711
3711
|
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
3712
|
+
carrier_pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
3712
3713
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
3713
3714
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3715
|
+
is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
|
|
3714
3716
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3715
3717
|
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3716
3718
|
center: z.ZodObject<{
|
|
@@ -3769,7 +3771,9 @@ declare const pcb_board: z.ZodObject<{
|
|
|
3769
3771
|
position_mode?: "none" | "relative_to_panel_anchor" | undefined;
|
|
3770
3772
|
shape?: "rect" | "polygon" | undefined;
|
|
3771
3773
|
pcb_panel_id?: string | undefined;
|
|
3774
|
+
carrier_pcb_board_id?: string | undefined;
|
|
3772
3775
|
is_subcircuit?: boolean | undefined;
|
|
3776
|
+
is_mounted_to_carrier_board?: boolean | undefined;
|
|
3773
3777
|
outline?: {
|
|
3774
3778
|
x: number;
|
|
3775
3779
|
y: number;
|
|
@@ -3794,7 +3798,9 @@ declare const pcb_board: z.ZodObject<{
|
|
|
3794
3798
|
shape?: "rect" | "polygon" | undefined;
|
|
3795
3799
|
pcb_board_id?: string | undefined;
|
|
3796
3800
|
pcb_panel_id?: string | undefined;
|
|
3801
|
+
carrier_pcb_board_id?: string | undefined;
|
|
3797
3802
|
is_subcircuit?: boolean | undefined;
|
|
3803
|
+
is_mounted_to_carrier_board?: boolean | undefined;
|
|
3798
3804
|
thickness?: string | number | undefined;
|
|
3799
3805
|
num_layers?: number | undefined;
|
|
3800
3806
|
outline?: {
|
|
@@ -3815,8 +3821,10 @@ interface PcbBoard {
|
|
|
3815
3821
|
type: "pcb_board";
|
|
3816
3822
|
pcb_board_id: string;
|
|
3817
3823
|
pcb_panel_id?: string;
|
|
3824
|
+
carrier_pcb_board_id?: string;
|
|
3818
3825
|
is_subcircuit?: boolean;
|
|
3819
3826
|
subcircuit_id?: string;
|
|
3827
|
+
is_mounted_to_carrier_board?: boolean;
|
|
3820
3828
|
width?: Length;
|
|
3821
3829
|
height?: Length;
|
|
3822
3830
|
display_offset_x?: string;
|
|
@@ -7884,7 +7892,7 @@ interface SchematicPath {
|
|
|
7884
7892
|
schematic_path_id: string;
|
|
7885
7893
|
schematic_component_id?: string;
|
|
7886
7894
|
schematic_symbol_id?: string;
|
|
7887
|
-
fill_color?:
|
|
7895
|
+
fill_color?: string;
|
|
7888
7896
|
is_filled?: boolean;
|
|
7889
7897
|
stroke_width?: number | null;
|
|
7890
7898
|
stroke_color?: string;
|
|
@@ -7896,7 +7904,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
7896
7904
|
schematic_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7897
7905
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
7898
7906
|
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
7899
|
-
fill_color: z.ZodOptional<z.
|
|
7907
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
7900
7908
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
7901
7909
|
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
7902
7910
|
stroke_color: z.ZodOptional<z.ZodString>;
|
|
@@ -7923,7 +7931,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
7923
7931
|
is_filled?: boolean | undefined;
|
|
7924
7932
|
schematic_component_id?: string | undefined;
|
|
7925
7933
|
schematic_symbol_id?: string | undefined;
|
|
7926
|
-
fill_color?:
|
|
7934
|
+
fill_color?: string | undefined;
|
|
7927
7935
|
stroke_color?: string | undefined;
|
|
7928
7936
|
}, {
|
|
7929
7937
|
type: "schematic_path";
|
|
@@ -7937,7 +7945,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
7937
7945
|
schematic_component_id?: string | undefined;
|
|
7938
7946
|
schematic_symbol_id?: string | undefined;
|
|
7939
7947
|
schematic_path_id?: string | undefined;
|
|
7940
|
-
fill_color?:
|
|
7948
|
+
fill_color?: string | undefined;
|
|
7941
7949
|
stroke_color?: string | undefined;
|
|
7942
7950
|
}>;
|
|
7943
7951
|
type SchematicPathInput = z.input<typeof schematic_path>;
|
|
@@ -18675,8 +18683,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18675
18683
|
type: z.ZodLiteral<"pcb_board">;
|
|
18676
18684
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18677
18685
|
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
18686
|
+
carrier_pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
18678
18687
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
18679
18688
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
18689
|
+
is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
|
|
18680
18690
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18681
18691
|
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18682
18692
|
center: z.ZodObject<{
|
|
@@ -18735,7 +18745,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18735
18745
|
position_mode?: "none" | "relative_to_panel_anchor" | undefined;
|
|
18736
18746
|
shape?: "rect" | "polygon" | undefined;
|
|
18737
18747
|
pcb_panel_id?: string | undefined;
|
|
18748
|
+
carrier_pcb_board_id?: string | undefined;
|
|
18738
18749
|
is_subcircuit?: boolean | undefined;
|
|
18750
|
+
is_mounted_to_carrier_board?: boolean | undefined;
|
|
18739
18751
|
outline?: {
|
|
18740
18752
|
x: number;
|
|
18741
18753
|
y: number;
|
|
@@ -18760,7 +18772,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18760
18772
|
shape?: "rect" | "polygon" | undefined;
|
|
18761
18773
|
pcb_board_id?: string | undefined;
|
|
18762
18774
|
pcb_panel_id?: string | undefined;
|
|
18775
|
+
carrier_pcb_board_id?: string | undefined;
|
|
18763
18776
|
is_subcircuit?: boolean | undefined;
|
|
18777
|
+
is_mounted_to_carrier_board?: boolean | undefined;
|
|
18764
18778
|
thickness?: string | number | undefined;
|
|
18765
18779
|
num_layers?: number | undefined;
|
|
18766
18780
|
outline?: {
|
|
@@ -22012,7 +22026,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22012
22026
|
schematic_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22013
22027
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
22014
22028
|
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
22015
|
-
fill_color: z.ZodOptional<z.
|
|
22029
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
22016
22030
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
22017
22031
|
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
22018
22032
|
stroke_color: z.ZodOptional<z.ZodString>;
|
|
@@ -22039,7 +22053,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22039
22053
|
is_filled?: boolean | undefined;
|
|
22040
22054
|
schematic_component_id?: string | undefined;
|
|
22041
22055
|
schematic_symbol_id?: string | undefined;
|
|
22042
|
-
fill_color?:
|
|
22056
|
+
fill_color?: string | undefined;
|
|
22043
22057
|
stroke_color?: string | undefined;
|
|
22044
22058
|
}, {
|
|
22045
22059
|
type: "schematic_path";
|
|
@@ -22053,7 +22067,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22053
22067
|
schematic_component_id?: string | undefined;
|
|
22054
22068
|
schematic_symbol_id?: string | undefined;
|
|
22055
22069
|
schematic_path_id?: string | undefined;
|
|
22056
|
-
fill_color?:
|
|
22070
|
+
fill_color?: string | undefined;
|
|
22057
22071
|
stroke_color?: string | undefined;
|
|
22058
22072
|
}>, z.ZodObject<{
|
|
22059
22073
|
message: z.ZodString;
|
|
@@ -27507,8 +27521,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27507
27521
|
type: z.ZodLiteral<"pcb_board">;
|
|
27508
27522
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27509
27523
|
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
27524
|
+
carrier_pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
27510
27525
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
27511
27526
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
27527
|
+
is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
|
|
27512
27528
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
27513
27529
|
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
27514
27530
|
center: z.ZodObject<{
|
|
@@ -27567,7 +27583,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27567
27583
|
position_mode?: "none" | "relative_to_panel_anchor" | undefined;
|
|
27568
27584
|
shape?: "rect" | "polygon" | undefined;
|
|
27569
27585
|
pcb_panel_id?: string | undefined;
|
|
27586
|
+
carrier_pcb_board_id?: string | undefined;
|
|
27570
27587
|
is_subcircuit?: boolean | undefined;
|
|
27588
|
+
is_mounted_to_carrier_board?: boolean | undefined;
|
|
27571
27589
|
outline?: {
|
|
27572
27590
|
x: number;
|
|
27573
27591
|
y: number;
|
|
@@ -27592,7 +27610,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27592
27610
|
shape?: "rect" | "polygon" | undefined;
|
|
27593
27611
|
pcb_board_id?: string | undefined;
|
|
27594
27612
|
pcb_panel_id?: string | undefined;
|
|
27613
|
+
carrier_pcb_board_id?: string | undefined;
|
|
27595
27614
|
is_subcircuit?: boolean | undefined;
|
|
27615
|
+
is_mounted_to_carrier_board?: boolean | undefined;
|
|
27596
27616
|
thickness?: string | number | undefined;
|
|
27597
27617
|
num_layers?: number | undefined;
|
|
27598
27618
|
outline?: {
|
|
@@ -30844,7 +30864,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30844
30864
|
schematic_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
30845
30865
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
30846
30866
|
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
30847
|
-
fill_color: z.ZodOptional<z.
|
|
30867
|
+
fill_color: z.ZodOptional<z.ZodString>;
|
|
30848
30868
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
30849
30869
|
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
30850
30870
|
stroke_color: z.ZodOptional<z.ZodString>;
|
|
@@ -30871,7 +30891,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30871
30891
|
is_filled?: boolean | undefined;
|
|
30872
30892
|
schematic_component_id?: string | undefined;
|
|
30873
30893
|
schematic_symbol_id?: string | undefined;
|
|
30874
|
-
fill_color?:
|
|
30894
|
+
fill_color?: string | undefined;
|
|
30875
30895
|
stroke_color?: string | undefined;
|
|
30876
30896
|
}, {
|
|
30877
30897
|
type: "schematic_path";
|
|
@@ -30885,7 +30905,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
30885
30905
|
schematic_component_id?: string | undefined;
|
|
30886
30906
|
schematic_symbol_id?: string | undefined;
|
|
30887
30907
|
schematic_path_id?: string | undefined;
|
|
30888
|
-
fill_color?:
|
|
30908
|
+
fill_color?: string | undefined;
|
|
30889
30909
|
stroke_color?: string | undefined;
|
|
30890
30910
|
}>, z.ZodObject<{
|
|
30891
30911
|
message: z.ZodString;
|
package/dist/index.mjs
CHANGED
|
@@ -946,7 +946,7 @@ var schematic_path = z56.object({
|
|
|
946
946
|
schematic_path_id: getZodPrefixedIdWithDefault("schematic_path"),
|
|
947
947
|
schematic_component_id: z56.string().optional(),
|
|
948
948
|
schematic_symbol_id: z56.string().optional(),
|
|
949
|
-
fill_color: z56.
|
|
949
|
+
fill_color: z56.string().optional(),
|
|
950
950
|
is_filled: z56.boolean().optional(),
|
|
951
951
|
stroke_width: distance.nullable().optional(),
|
|
952
952
|
stroke_color: z56.string().optional(),
|
|
@@ -2101,8 +2101,10 @@ var pcb_board = z94.object({
|
|
|
2101
2101
|
type: z94.literal("pcb_board"),
|
|
2102
2102
|
pcb_board_id: getZodPrefixedIdWithDefault("pcb_board"),
|
|
2103
2103
|
pcb_panel_id: z94.string().optional(),
|
|
2104
|
+
carrier_pcb_board_id: z94.string().optional(),
|
|
2104
2105
|
is_subcircuit: z94.boolean().optional(),
|
|
2105
2106
|
subcircuit_id: z94.string().optional(),
|
|
2107
|
+
is_mounted_to_carrier_board: z94.boolean().optional(),
|
|
2106
2108
|
width: length.optional(),
|
|
2107
2109
|
height: length.optional(),
|
|
2108
2110
|
center: point,
|