circuit-json 0.0.253 → 0.0.254
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 +5 -1
- package/dist/index.d.mts +50 -10
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -267,6 +267,7 @@ interface SourceGroup {
|
|
|
267
267
|
parent_subcircuit_id?: string
|
|
268
268
|
parent_source_group_id?: string
|
|
269
269
|
is_subcircuit?: boolean
|
|
270
|
+
show_as_schematic_box?: boolean
|
|
270
271
|
name?: string
|
|
271
272
|
}
|
|
272
273
|
```
|
|
@@ -1606,7 +1607,7 @@ interface SchematicComponent {
|
|
|
1606
1607
|
type: "schematic_component"
|
|
1607
1608
|
size: Size
|
|
1608
1609
|
center: Point
|
|
1609
|
-
source_component_id
|
|
1610
|
+
source_component_id?: string
|
|
1610
1611
|
schematic_component_id: string
|
|
1611
1612
|
pin_spacing?: number
|
|
1612
1613
|
pin_styles?: Record<
|
|
@@ -1625,6 +1626,8 @@ interface SchematicComponent {
|
|
|
1625
1626
|
symbol_display_value?: string
|
|
1626
1627
|
subcircuit_id?: string
|
|
1627
1628
|
schematic_group_id?: string
|
|
1629
|
+
is_schematic_group?: boolean
|
|
1630
|
+
source_group_id?: string
|
|
1628
1631
|
}
|
|
1629
1632
|
|
|
1630
1633
|
interface SchematicPortArrangementBySize {
|
|
@@ -1718,6 +1721,7 @@ interface SchematicGroup {
|
|
|
1718
1721
|
height: Length
|
|
1719
1722
|
center: Point
|
|
1720
1723
|
schematic_component_ids: string[]
|
|
1724
|
+
show_as_schematic_box?: boolean
|
|
1721
1725
|
name?: string
|
|
1722
1726
|
description?: string
|
|
1723
1727
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -5284,7 +5284,7 @@ interface SchematicComponent {
|
|
|
5284
5284
|
type: "schematic_component";
|
|
5285
5285
|
size: Size;
|
|
5286
5286
|
center: Point;
|
|
5287
|
-
source_component_id
|
|
5287
|
+
source_component_id?: string;
|
|
5288
5288
|
schematic_component_id: string;
|
|
5289
5289
|
pin_spacing?: number;
|
|
5290
5290
|
pin_styles?: Record<string, {
|
|
@@ -5300,6 +5300,8 @@ interface SchematicComponent {
|
|
|
5300
5300
|
symbol_display_value?: string;
|
|
5301
5301
|
subcircuit_id?: string;
|
|
5302
5302
|
schematic_group_id?: string;
|
|
5303
|
+
is_schematic_group?: boolean;
|
|
5304
|
+
source_group_id?: string;
|
|
5303
5305
|
}
|
|
5304
5306
|
declare const schematic_component_port_arrangement_by_size: z.ZodObject<{
|
|
5305
5307
|
left_size: z.ZodNumber;
|
|
@@ -5506,7 +5508,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5506
5508
|
x: string | number;
|
|
5507
5509
|
y: string | number;
|
|
5508
5510
|
}>;
|
|
5509
|
-
source_component_id: z.ZodString
|
|
5511
|
+
source_component_id: z.ZodOptional<z.ZodString>;
|
|
5510
5512
|
schematic_component_id: z.ZodString;
|
|
5511
5513
|
pin_spacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5512
5514
|
pin_styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -5622,9 +5624,10 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5622
5624
|
symbol_display_value: z.ZodOptional<z.ZodString>;
|
|
5623
5625
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5624
5626
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
5627
|
+
is_schematic_group: z.ZodOptional<z.ZodBoolean>;
|
|
5628
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5625
5629
|
}, "strip", z.ZodTypeAny, {
|
|
5626
5630
|
type: "schematic_component";
|
|
5627
|
-
source_component_id: string;
|
|
5628
5631
|
center: {
|
|
5629
5632
|
x: number;
|
|
5630
5633
|
y: number;
|
|
@@ -5634,7 +5637,9 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5634
5637
|
width: number;
|
|
5635
5638
|
height: number;
|
|
5636
5639
|
};
|
|
5640
|
+
source_component_id?: string | undefined;
|
|
5637
5641
|
subcircuit_id?: string | undefined;
|
|
5642
|
+
source_group_id?: string | undefined;
|
|
5638
5643
|
pin_spacing?: number | undefined;
|
|
5639
5644
|
pin_styles?: Record<string, {
|
|
5640
5645
|
left_margin?: number | undefined;
|
|
@@ -5670,9 +5675,9 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5670
5675
|
port_labels?: Record<string, string> | undefined;
|
|
5671
5676
|
symbol_display_value?: string | undefined;
|
|
5672
5677
|
schematic_group_id?: string | undefined;
|
|
5678
|
+
is_schematic_group?: boolean | undefined;
|
|
5673
5679
|
}, {
|
|
5674
5680
|
type: "schematic_component";
|
|
5675
|
-
source_component_id: string;
|
|
5676
5681
|
center: {
|
|
5677
5682
|
x: string | number;
|
|
5678
5683
|
y: string | number;
|
|
@@ -5682,7 +5687,9 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5682
5687
|
width: number;
|
|
5683
5688
|
height: number;
|
|
5684
5689
|
};
|
|
5690
|
+
source_component_id?: string | undefined;
|
|
5685
5691
|
subcircuit_id?: string | undefined;
|
|
5692
|
+
source_group_id?: string | undefined;
|
|
5686
5693
|
pin_spacing?: string | number | undefined;
|
|
5687
5694
|
pin_styles?: Record<string, {
|
|
5688
5695
|
left_margin?: string | number | undefined;
|
|
@@ -5718,6 +5725,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5718
5725
|
port_labels?: Record<string, string> | undefined;
|
|
5719
5726
|
symbol_display_value?: string | undefined;
|
|
5720
5727
|
schematic_group_id?: string | undefined;
|
|
5728
|
+
is_schematic_group?: boolean | undefined;
|
|
5721
5729
|
}>;
|
|
5722
5730
|
type SchematicComponentInput = z.input<typeof schematic_component>;
|
|
5723
5731
|
|
|
@@ -6636,6 +6644,7 @@ declare const schematic_group: z.ZodObject<{
|
|
|
6636
6644
|
y: string | number;
|
|
6637
6645
|
}>;
|
|
6638
6646
|
schematic_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
6647
|
+
show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
|
|
6639
6648
|
name: z.ZodOptional<z.ZodString>;
|
|
6640
6649
|
description: z.ZodOptional<z.ZodString>;
|
|
6641
6650
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6653,6 +6662,7 @@ declare const schematic_group: z.ZodObject<{
|
|
|
6653
6662
|
name?: string | undefined;
|
|
6654
6663
|
subcircuit_id?: string | undefined;
|
|
6655
6664
|
is_subcircuit?: boolean | undefined;
|
|
6665
|
+
show_as_schematic_box?: boolean | undefined;
|
|
6656
6666
|
}, {
|
|
6657
6667
|
type: "schematic_group";
|
|
6658
6668
|
width: string | number;
|
|
@@ -6668,6 +6678,7 @@ declare const schematic_group: z.ZodObject<{
|
|
|
6668
6678
|
subcircuit_id?: string | undefined;
|
|
6669
6679
|
is_subcircuit?: boolean | undefined;
|
|
6670
6680
|
schematic_group_id?: string | undefined;
|
|
6681
|
+
show_as_schematic_box?: boolean | undefined;
|
|
6671
6682
|
}>;
|
|
6672
6683
|
type SchematicGroupInput = z.input<typeof schematic_group>;
|
|
6673
6684
|
/**
|
|
@@ -6683,6 +6694,7 @@ interface SchematicGroup {
|
|
|
6683
6694
|
height: Length;
|
|
6684
6695
|
center: Point;
|
|
6685
6696
|
schematic_component_ids: string[];
|
|
6697
|
+
show_as_schematic_box?: boolean;
|
|
6686
6698
|
name?: string;
|
|
6687
6699
|
description?: string;
|
|
6688
6700
|
}
|
|
@@ -9277,6 +9289,7 @@ declare const source_group: z.ZodObject<{
|
|
|
9277
9289
|
parent_subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9278
9290
|
parent_source_group_id: z.ZodOptional<z.ZodString>;
|
|
9279
9291
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
9292
|
+
show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
|
|
9280
9293
|
name: z.ZodOptional<z.ZodString>;
|
|
9281
9294
|
}, "strip", z.ZodTypeAny, {
|
|
9282
9295
|
type: "source_group";
|
|
@@ -9284,6 +9297,7 @@ declare const source_group: z.ZodObject<{
|
|
|
9284
9297
|
name?: string | undefined;
|
|
9285
9298
|
subcircuit_id?: string | undefined;
|
|
9286
9299
|
is_subcircuit?: boolean | undefined;
|
|
9300
|
+
show_as_schematic_box?: boolean | undefined;
|
|
9287
9301
|
parent_subcircuit_id?: string | undefined;
|
|
9288
9302
|
parent_source_group_id?: string | undefined;
|
|
9289
9303
|
}, {
|
|
@@ -9292,6 +9306,7 @@ declare const source_group: z.ZodObject<{
|
|
|
9292
9306
|
name?: string | undefined;
|
|
9293
9307
|
subcircuit_id?: string | undefined;
|
|
9294
9308
|
is_subcircuit?: boolean | undefined;
|
|
9309
|
+
show_as_schematic_box?: boolean | undefined;
|
|
9295
9310
|
parent_subcircuit_id?: string | undefined;
|
|
9296
9311
|
parent_source_group_id?: string | undefined;
|
|
9297
9312
|
}>;
|
|
@@ -9303,6 +9318,7 @@ interface SourceGroup {
|
|
|
9303
9318
|
parent_subcircuit_id?: string;
|
|
9304
9319
|
parent_source_group_id?: string;
|
|
9305
9320
|
is_subcircuit?: boolean;
|
|
9321
|
+
show_as_schematic_box?: boolean;
|
|
9306
9322
|
name?: string;
|
|
9307
9323
|
}
|
|
9308
9324
|
|
|
@@ -10877,6 +10893,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10877
10893
|
parent_subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10878
10894
|
parent_source_group_id: z.ZodOptional<z.ZodString>;
|
|
10879
10895
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
10896
|
+
show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
|
|
10880
10897
|
name: z.ZodOptional<z.ZodString>;
|
|
10881
10898
|
}, "strip", z.ZodTypeAny, {
|
|
10882
10899
|
type: "source_group";
|
|
@@ -10884,6 +10901,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10884
10901
|
name?: string | undefined;
|
|
10885
10902
|
subcircuit_id?: string | undefined;
|
|
10886
10903
|
is_subcircuit?: boolean | undefined;
|
|
10904
|
+
show_as_schematic_box?: boolean | undefined;
|
|
10887
10905
|
parent_subcircuit_id?: string | undefined;
|
|
10888
10906
|
parent_source_group_id?: string | undefined;
|
|
10889
10907
|
}, {
|
|
@@ -10892,6 +10910,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10892
10910
|
name?: string | undefined;
|
|
10893
10911
|
subcircuit_id?: string | undefined;
|
|
10894
10912
|
is_subcircuit?: boolean | undefined;
|
|
10913
|
+
show_as_schematic_box?: boolean | undefined;
|
|
10895
10914
|
parent_subcircuit_id?: string | undefined;
|
|
10896
10915
|
parent_source_group_id?: string | undefined;
|
|
10897
10916
|
}>, z.ZodObject<{
|
|
@@ -14778,7 +14797,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14778
14797
|
x: string | number;
|
|
14779
14798
|
y: string | number;
|
|
14780
14799
|
}>;
|
|
14781
|
-
source_component_id: z.ZodString
|
|
14800
|
+
source_component_id: z.ZodOptional<z.ZodString>;
|
|
14782
14801
|
schematic_component_id: z.ZodString;
|
|
14783
14802
|
pin_spacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14784
14803
|
pin_styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14894,9 +14913,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14894
14913
|
symbol_display_value: z.ZodOptional<z.ZodString>;
|
|
14895
14914
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14896
14915
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
14916
|
+
is_schematic_group: z.ZodOptional<z.ZodBoolean>;
|
|
14917
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
14897
14918
|
}, "strip", z.ZodTypeAny, {
|
|
14898
14919
|
type: "schematic_component";
|
|
14899
|
-
source_component_id: string;
|
|
14900
14920
|
center: {
|
|
14901
14921
|
x: number;
|
|
14902
14922
|
y: number;
|
|
@@ -14906,7 +14926,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14906
14926
|
width: number;
|
|
14907
14927
|
height: number;
|
|
14908
14928
|
};
|
|
14929
|
+
source_component_id?: string | undefined;
|
|
14909
14930
|
subcircuit_id?: string | undefined;
|
|
14931
|
+
source_group_id?: string | undefined;
|
|
14910
14932
|
pin_spacing?: number | undefined;
|
|
14911
14933
|
pin_styles?: Record<string, {
|
|
14912
14934
|
left_margin?: number | undefined;
|
|
@@ -14942,9 +14964,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14942
14964
|
port_labels?: Record<string, string> | undefined;
|
|
14943
14965
|
symbol_display_value?: string | undefined;
|
|
14944
14966
|
schematic_group_id?: string | undefined;
|
|
14967
|
+
is_schematic_group?: boolean | undefined;
|
|
14945
14968
|
}, {
|
|
14946
14969
|
type: "schematic_component";
|
|
14947
|
-
source_component_id: string;
|
|
14948
14970
|
center: {
|
|
14949
14971
|
x: string | number;
|
|
14950
14972
|
y: string | number;
|
|
@@ -14954,7 +14976,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14954
14976
|
width: number;
|
|
14955
14977
|
height: number;
|
|
14956
14978
|
};
|
|
14979
|
+
source_component_id?: string | undefined;
|
|
14957
14980
|
subcircuit_id?: string | undefined;
|
|
14981
|
+
source_group_id?: string | undefined;
|
|
14958
14982
|
pin_spacing?: string | number | undefined;
|
|
14959
14983
|
pin_styles?: Record<string, {
|
|
14960
14984
|
left_margin?: string | number | undefined;
|
|
@@ -14990,6 +15014,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14990
15014
|
port_labels?: Record<string, string> | undefined;
|
|
14991
15015
|
symbol_display_value?: string | undefined;
|
|
14992
15016
|
schematic_group_id?: string | undefined;
|
|
15017
|
+
is_schematic_group?: boolean | undefined;
|
|
14993
15018
|
}>, z.ZodObject<{
|
|
14994
15019
|
type: z.ZodLiteral<"schematic_port">;
|
|
14995
15020
|
schematic_port_id: z.ZodString;
|
|
@@ -15531,6 +15556,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15531
15556
|
y: string | number;
|
|
15532
15557
|
}>;
|
|
15533
15558
|
schematic_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
15559
|
+
show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
|
|
15534
15560
|
name: z.ZodOptional<z.ZodString>;
|
|
15535
15561
|
description: z.ZodOptional<z.ZodString>;
|
|
15536
15562
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15548,6 +15574,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15548
15574
|
name?: string | undefined;
|
|
15549
15575
|
subcircuit_id?: string | undefined;
|
|
15550
15576
|
is_subcircuit?: boolean | undefined;
|
|
15577
|
+
show_as_schematic_box?: boolean | undefined;
|
|
15551
15578
|
}, {
|
|
15552
15579
|
type: "schematic_group";
|
|
15553
15580
|
width: string | number;
|
|
@@ -15563,6 +15590,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15563
15590
|
subcircuit_id?: string | undefined;
|
|
15564
15591
|
is_subcircuit?: boolean | undefined;
|
|
15565
15592
|
schematic_group_id?: string | undefined;
|
|
15593
|
+
show_as_schematic_box?: boolean | undefined;
|
|
15566
15594
|
}>, z.ZodObject<{
|
|
15567
15595
|
type: z.ZodLiteral<"schematic_table">;
|
|
15568
15596
|
schematic_table_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -16993,6 +17021,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16993
17021
|
parent_subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16994
17022
|
parent_source_group_id: z.ZodOptional<z.ZodString>;
|
|
16995
17023
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
17024
|
+
show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
|
|
16996
17025
|
name: z.ZodOptional<z.ZodString>;
|
|
16997
17026
|
}, "strip", z.ZodTypeAny, {
|
|
16998
17027
|
type: "source_group";
|
|
@@ -17000,6 +17029,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17000
17029
|
name?: string | undefined;
|
|
17001
17030
|
subcircuit_id?: string | undefined;
|
|
17002
17031
|
is_subcircuit?: boolean | undefined;
|
|
17032
|
+
show_as_schematic_box?: boolean | undefined;
|
|
17003
17033
|
parent_subcircuit_id?: string | undefined;
|
|
17004
17034
|
parent_source_group_id?: string | undefined;
|
|
17005
17035
|
}, {
|
|
@@ -17008,6 +17038,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17008
17038
|
name?: string | undefined;
|
|
17009
17039
|
subcircuit_id?: string | undefined;
|
|
17010
17040
|
is_subcircuit?: boolean | undefined;
|
|
17041
|
+
show_as_schematic_box?: boolean | undefined;
|
|
17011
17042
|
parent_subcircuit_id?: string | undefined;
|
|
17012
17043
|
parent_source_group_id?: string | undefined;
|
|
17013
17044
|
}>, z.ZodObject<{
|
|
@@ -20894,7 +20925,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20894
20925
|
x: string | number;
|
|
20895
20926
|
y: string | number;
|
|
20896
20927
|
}>;
|
|
20897
|
-
source_component_id: z.ZodString
|
|
20928
|
+
source_component_id: z.ZodOptional<z.ZodString>;
|
|
20898
20929
|
schematic_component_id: z.ZodString;
|
|
20899
20930
|
pin_spacing: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
20900
20931
|
pin_styles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -21010,9 +21041,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21010
21041
|
symbol_display_value: z.ZodOptional<z.ZodString>;
|
|
21011
21042
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
21012
21043
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
21044
|
+
is_schematic_group: z.ZodOptional<z.ZodBoolean>;
|
|
21045
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
21013
21046
|
}, "strip", z.ZodTypeAny, {
|
|
21014
21047
|
type: "schematic_component";
|
|
21015
|
-
source_component_id: string;
|
|
21016
21048
|
center: {
|
|
21017
21049
|
x: number;
|
|
21018
21050
|
y: number;
|
|
@@ -21022,7 +21054,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21022
21054
|
width: number;
|
|
21023
21055
|
height: number;
|
|
21024
21056
|
};
|
|
21057
|
+
source_component_id?: string | undefined;
|
|
21025
21058
|
subcircuit_id?: string | undefined;
|
|
21059
|
+
source_group_id?: string | undefined;
|
|
21026
21060
|
pin_spacing?: number | undefined;
|
|
21027
21061
|
pin_styles?: Record<string, {
|
|
21028
21062
|
left_margin?: number | undefined;
|
|
@@ -21058,9 +21092,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21058
21092
|
port_labels?: Record<string, string> | undefined;
|
|
21059
21093
|
symbol_display_value?: string | undefined;
|
|
21060
21094
|
schematic_group_id?: string | undefined;
|
|
21095
|
+
is_schematic_group?: boolean | undefined;
|
|
21061
21096
|
}, {
|
|
21062
21097
|
type: "schematic_component";
|
|
21063
|
-
source_component_id: string;
|
|
21064
21098
|
center: {
|
|
21065
21099
|
x: string | number;
|
|
21066
21100
|
y: string | number;
|
|
@@ -21070,7 +21104,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21070
21104
|
width: number;
|
|
21071
21105
|
height: number;
|
|
21072
21106
|
};
|
|
21107
|
+
source_component_id?: string | undefined;
|
|
21073
21108
|
subcircuit_id?: string | undefined;
|
|
21109
|
+
source_group_id?: string | undefined;
|
|
21074
21110
|
pin_spacing?: string | number | undefined;
|
|
21075
21111
|
pin_styles?: Record<string, {
|
|
21076
21112
|
left_margin?: string | number | undefined;
|
|
@@ -21106,6 +21142,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21106
21142
|
port_labels?: Record<string, string> | undefined;
|
|
21107
21143
|
symbol_display_value?: string | undefined;
|
|
21108
21144
|
schematic_group_id?: string | undefined;
|
|
21145
|
+
is_schematic_group?: boolean | undefined;
|
|
21109
21146
|
}>, z.ZodObject<{
|
|
21110
21147
|
type: z.ZodLiteral<"schematic_port">;
|
|
21111
21148
|
schematic_port_id: z.ZodString;
|
|
@@ -21647,6 +21684,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21647
21684
|
y: string | number;
|
|
21648
21685
|
}>;
|
|
21649
21686
|
schematic_component_ids: z.ZodArray<z.ZodString, "many">;
|
|
21687
|
+
show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
|
|
21650
21688
|
name: z.ZodOptional<z.ZodString>;
|
|
21651
21689
|
description: z.ZodOptional<z.ZodString>;
|
|
21652
21690
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21664,6 +21702,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21664
21702
|
name?: string | undefined;
|
|
21665
21703
|
subcircuit_id?: string | undefined;
|
|
21666
21704
|
is_subcircuit?: boolean | undefined;
|
|
21705
|
+
show_as_schematic_box?: boolean | undefined;
|
|
21667
21706
|
}, {
|
|
21668
21707
|
type: "schematic_group";
|
|
21669
21708
|
width: string | number;
|
|
@@ -21679,6 +21718,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21679
21718
|
subcircuit_id?: string | undefined;
|
|
21680
21719
|
is_subcircuit?: boolean | undefined;
|
|
21681
21720
|
schematic_group_id?: string | undefined;
|
|
21721
|
+
show_as_schematic_box?: boolean | undefined;
|
|
21682
21722
|
}>, z.ZodObject<{
|
|
21683
21723
|
type: z.ZodLiteral<"schematic_table">;
|
|
21684
21724
|
schematic_table_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -680,6 +680,7 @@ var source_group = z38.object({
|
|
|
680
680
|
parent_subcircuit_id: z38.string().optional(),
|
|
681
681
|
parent_source_group_id: z38.string().optional(),
|
|
682
682
|
is_subcircuit: z38.boolean().optional(),
|
|
683
|
+
show_as_schematic_box: z38.boolean().optional(),
|
|
683
684
|
name: z38.string().optional()
|
|
684
685
|
});
|
|
685
686
|
expectTypesMatch(true);
|
|
@@ -827,7 +828,7 @@ var schematic_component = z45.object({
|
|
|
827
828
|
type: z45.literal("schematic_component"),
|
|
828
829
|
size,
|
|
829
830
|
center: point,
|
|
830
|
-
source_component_id: z45.string(),
|
|
831
|
+
source_component_id: z45.string().optional(),
|
|
831
832
|
schematic_component_id: z45.string(),
|
|
832
833
|
pin_spacing: length.optional(),
|
|
833
834
|
pin_styles: schematic_pin_styles.optional(),
|
|
@@ -837,7 +838,9 @@ var schematic_component = z45.object({
|
|
|
837
838
|
port_labels: z45.record(z45.string()).optional(),
|
|
838
839
|
symbol_display_value: z45.string().optional(),
|
|
839
840
|
subcircuit_id: z45.string().optional(),
|
|
840
|
-
schematic_group_id: z45.string().optional()
|
|
841
|
+
schematic_group_id: z45.string().optional(),
|
|
842
|
+
is_schematic_group: z45.boolean().optional(),
|
|
843
|
+
source_group_id: z45.string().optional()
|
|
841
844
|
});
|
|
842
845
|
expectTypesMatch(true);
|
|
843
846
|
|
|
@@ -1055,6 +1058,7 @@ var schematic_group = z57.object({
|
|
|
1055
1058
|
height: length,
|
|
1056
1059
|
center: point,
|
|
1057
1060
|
schematic_component_ids: z57.array(z57.string()),
|
|
1061
|
+
show_as_schematic_box: z57.boolean().optional(),
|
|
1058
1062
|
name: z57.string().optional(),
|
|
1059
1063
|
description: z57.string().optional()
|
|
1060
1064
|
}).describe("Defines a group of components on the schematic");
|