circuit-json 0.0.439 → 0.0.441
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 +16 -0
- package/dist/index.d.mts +160 -0
- package/dist/index.mjs +17 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1148,6 +1148,7 @@ interface SourceTrace {
|
|
|
1148
1148
|
subcircuit_id?: string
|
|
1149
1149
|
subcircuit_connectivity_map_key?: string
|
|
1150
1150
|
max_length?: number
|
|
1151
|
+
name?: string
|
|
1151
1152
|
display_name?: string
|
|
1152
1153
|
min_trace_thickness?: number
|
|
1153
1154
|
}
|
|
@@ -2776,6 +2777,7 @@ Draws a styled arc on the schematic
|
|
|
2776
2777
|
interface SchematicArc {
|
|
2777
2778
|
type: "schematic_arc"
|
|
2778
2779
|
schematic_arc_id: string
|
|
2780
|
+
schematic_sheet_id?: string
|
|
2779
2781
|
schematic_component_id?: string
|
|
2780
2782
|
schematic_symbol_id?: string
|
|
2781
2783
|
center: Point
|
|
@@ -2797,6 +2799,7 @@ interface SchematicArc {
|
|
|
2797
2799
|
```typescript
|
|
2798
2800
|
interface SchematicBox {
|
|
2799
2801
|
type: "schematic_box"
|
|
2802
|
+
schematic_sheet_id?: string
|
|
2800
2803
|
schematic_component_id?: string
|
|
2801
2804
|
schematic_symbol_id?: string
|
|
2802
2805
|
width: number
|
|
@@ -2819,6 +2822,7 @@ Draws a styled circle on the schematic
|
|
|
2819
2822
|
interface SchematicCircle {
|
|
2820
2823
|
type: "schematic_circle"
|
|
2821
2824
|
schematic_circle_id: string
|
|
2825
|
+
schematic_sheet_id?: string
|
|
2822
2826
|
schematic_component_id?: string
|
|
2823
2827
|
schematic_symbol_id?: string
|
|
2824
2828
|
center: Point
|
|
@@ -2843,6 +2847,7 @@ interface SchematicComponent {
|
|
|
2843
2847
|
center: Point
|
|
2844
2848
|
source_component_id?: string
|
|
2845
2849
|
schematic_component_id: string
|
|
2850
|
+
schematic_sheet_id?: string
|
|
2846
2851
|
schematic_symbol_id?: string
|
|
2847
2852
|
pin_spacing?: number
|
|
2848
2853
|
pin_styles?: Record<
|
|
@@ -2949,6 +2954,7 @@ Defines a group of components on the schematic
|
|
|
2949
2954
|
interface SchematicGroup {
|
|
2950
2955
|
type: "schematic_group"
|
|
2951
2956
|
schematic_group_id: string
|
|
2957
|
+
schematic_sheet_id?: string
|
|
2952
2958
|
source_group_id: string
|
|
2953
2959
|
is_subcircuit?: boolean
|
|
2954
2960
|
subcircuit_id?: string
|
|
@@ -2988,6 +2994,7 @@ Draws a styled line on the schematic
|
|
|
2988
2994
|
interface SchematicLine {
|
|
2989
2995
|
type: "schematic_line"
|
|
2990
2996
|
schematic_line_id: string
|
|
2997
|
+
schematic_sheet_id?: string
|
|
2991
2998
|
schematic_component_id?: string
|
|
2992
2999
|
schematic_symbol_id?: string
|
|
2993
3000
|
x1: number
|
|
@@ -3031,6 +3038,7 @@ interface SchematicManualEditConflictWarning {
|
|
|
3031
3038
|
interface SchematicNetLabel {
|
|
3032
3039
|
type: "schematic_net_label"
|
|
3033
3040
|
schematic_net_label_id: string
|
|
3041
|
+
schematic_sheet_id?: string
|
|
3034
3042
|
schematic_trace_id?: string
|
|
3035
3043
|
source_trace_id?: string
|
|
3036
3044
|
source_net_id: string
|
|
@@ -3055,6 +3063,7 @@ interface SchematicNetLabel {
|
|
|
3055
3063
|
interface SchematicPath {
|
|
3056
3064
|
type: "schematic_path"
|
|
3057
3065
|
schematic_path_id: string
|
|
3066
|
+
schematic_sheet_id?: string
|
|
3058
3067
|
schematic_component_id?: string
|
|
3059
3068
|
schematic_symbol_id?: string
|
|
3060
3069
|
fill_color?: string
|
|
@@ -3078,6 +3087,7 @@ interface SchematicPort {
|
|
|
3078
3087
|
type: "schematic_port"
|
|
3079
3088
|
schematic_port_id: string
|
|
3080
3089
|
source_port_id: string
|
|
3090
|
+
schematic_sheet_id?: string
|
|
3081
3091
|
schematic_component_id?: string
|
|
3082
3092
|
center: Point
|
|
3083
3093
|
facing_direction?: "up" | "down" | "left" | "right"
|
|
@@ -3105,6 +3115,7 @@ Draws a styled rectangle on the schematic
|
|
|
3105
3115
|
interface SchematicRect {
|
|
3106
3116
|
type: "schematic_rect"
|
|
3107
3117
|
schematic_rect_id: string
|
|
3118
|
+
schematic_sheet_id?: string
|
|
3108
3119
|
schematic_component_id?: string
|
|
3109
3120
|
schematic_symbol_id?: string
|
|
3110
3121
|
center: Point
|
|
@@ -3133,6 +3144,7 @@ interface SchematicSheet {
|
|
|
3133
3144
|
schematic_sheet_id: string
|
|
3134
3145
|
name?: string
|
|
3135
3146
|
subcircuit_id?: string
|
|
3147
|
+
outline_color?: string
|
|
3136
3148
|
}
|
|
3137
3149
|
```
|
|
3138
3150
|
|
|
@@ -3160,6 +3172,7 @@ Defines a table on the schematic, useful for displaying data in a structured for
|
|
|
3160
3172
|
interface SchematicTable {
|
|
3161
3173
|
type: "schematic_table"
|
|
3162
3174
|
schematic_table_id: string
|
|
3175
|
+
schematic_sheet_id?: string
|
|
3163
3176
|
anchor_position: Point
|
|
3164
3177
|
column_widths: Length[]
|
|
3165
3178
|
row_heights: Length[]
|
|
@@ -3182,6 +3195,7 @@ Defines a cell within a schematic_table
|
|
|
3182
3195
|
interface SchematicTableCell {
|
|
3183
3196
|
type: "schematic_table_cell"
|
|
3184
3197
|
schematic_table_cell_id: string
|
|
3198
|
+
schematic_sheet_id?: string
|
|
3185
3199
|
schematic_table_id: string
|
|
3186
3200
|
start_row_index: number
|
|
3187
3201
|
end_row_index: number
|
|
@@ -3205,6 +3219,7 @@ interface SchematicTableCell {
|
|
|
3205
3219
|
```typescript
|
|
3206
3220
|
interface SchematicText {
|
|
3207
3221
|
type: "schematic_text"
|
|
3222
|
+
schematic_sheet_id?: string
|
|
3208
3223
|
schematic_component_id?: string
|
|
3209
3224
|
schematic_symbol_id?: string
|
|
3210
3225
|
schematic_text_id: string
|
|
@@ -3249,6 +3264,7 @@ interface SchematicTraceEdge {
|
|
|
3249
3264
|
interface SchematicVoltageProbe {
|
|
3250
3265
|
type: "schematic_voltage_probe"
|
|
3251
3266
|
schematic_voltage_probe_id: string
|
|
3267
|
+
schematic_sheet_id?: string
|
|
3252
3268
|
source_component_id?: string
|
|
3253
3269
|
name?: string
|
|
3254
3270
|
position: Point
|