circuit-json 0.0.539 → 0.0.540
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 +1 -1
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -12126,7 +12126,7 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
12126
12126
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12127
12127
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
12128
12128
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12129
|
-
pcb_component_id: z.ZodString
|
|
12129
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12130
12130
|
text: z.ZodString;
|
|
12131
12131
|
is_knockout: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12132
12132
|
knockout_padding: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
@@ -12171,7 +12171,6 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
12171
12171
|
type: "pcb_silkscreen_text";
|
|
12172
12172
|
font: "tscircuit2024";
|
|
12173
12173
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
12174
|
-
pcb_component_id: string;
|
|
12175
12174
|
anchor_position: {
|
|
12176
12175
|
x: number;
|
|
12177
12176
|
y: number;
|
|
@@ -12181,6 +12180,7 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
12181
12180
|
pcb_silkscreen_text_id: string;
|
|
12182
12181
|
font_size: number;
|
|
12183
12182
|
ccw_rotation?: number | undefined;
|
|
12183
|
+
pcb_component_id?: string | undefined;
|
|
12184
12184
|
subcircuit_id?: string | undefined;
|
|
12185
12185
|
pcb_group_id?: string | undefined;
|
|
12186
12186
|
is_knockout?: boolean | undefined;
|
|
@@ -12196,10 +12196,10 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
12196
12196
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
12197
12197
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
12198
12198
|
};
|
|
12199
|
-
pcb_component_id: string;
|
|
12200
12199
|
text: string;
|
|
12201
12200
|
ccw_rotation?: number | undefined;
|
|
12202
12201
|
font?: "tscircuit2024" | undefined;
|
|
12202
|
+
pcb_component_id?: string | undefined;
|
|
12203
12203
|
subcircuit_id?: string | undefined;
|
|
12204
12204
|
pcb_group_id?: string | undefined;
|
|
12205
12205
|
anchor_position?: {
|
|
@@ -12229,7 +12229,7 @@ interface PcbSilkscreenText {
|
|
|
12229
12229
|
subcircuit_id?: string;
|
|
12230
12230
|
font: "tscircuit2024";
|
|
12231
12231
|
font_size: Length;
|
|
12232
|
-
pcb_component_id
|
|
12232
|
+
pcb_component_id?: string;
|
|
12233
12233
|
text: string;
|
|
12234
12234
|
is_knockout?: boolean;
|
|
12235
12235
|
knockout_padding?: {
|
|
@@ -53624,7 +53624,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
53624
53624
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
53625
53625
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
53626
53626
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
53627
|
-
pcb_component_id: z.ZodString
|
|
53627
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
53628
53628
|
text: z.ZodString;
|
|
53629
53629
|
is_knockout: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
53630
53630
|
knockout_padding: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
@@ -53669,7 +53669,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
53669
53669
|
type: "pcb_silkscreen_text";
|
|
53670
53670
|
font: "tscircuit2024";
|
|
53671
53671
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
53672
|
-
pcb_component_id: string;
|
|
53673
53672
|
anchor_position: {
|
|
53674
53673
|
x: number;
|
|
53675
53674
|
y: number;
|
|
@@ -53679,6 +53678,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
53679
53678
|
pcb_silkscreen_text_id: string;
|
|
53680
53679
|
font_size: number;
|
|
53681
53680
|
ccw_rotation?: number | undefined;
|
|
53681
|
+
pcb_component_id?: string | undefined;
|
|
53682
53682
|
subcircuit_id?: string | undefined;
|
|
53683
53683
|
pcb_group_id?: string | undefined;
|
|
53684
53684
|
is_knockout?: boolean | undefined;
|
|
@@ -53694,10 +53694,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
53694
53694
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
53695
53695
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
53696
53696
|
};
|
|
53697
|
-
pcb_component_id: string;
|
|
53698
53697
|
text: string;
|
|
53699
53698
|
ccw_rotation?: number | undefined;
|
|
53700
53699
|
font?: "tscircuit2024" | undefined;
|
|
53700
|
+
pcb_component_id?: string | undefined;
|
|
53701
53701
|
subcircuit_id?: string | undefined;
|
|
53702
53702
|
pcb_group_id?: string | undefined;
|
|
53703
53703
|
anchor_position?: {
|
|
@@ -79022,7 +79022,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
79022
79022
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
79023
79023
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
79024
79024
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
79025
|
-
pcb_component_id: z.ZodString
|
|
79025
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
79026
79026
|
text: z.ZodString;
|
|
79027
79027
|
is_knockout: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
79028
79028
|
knockout_padding: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
@@ -79067,7 +79067,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
79067
79067
|
type: "pcb_silkscreen_text";
|
|
79068
79068
|
font: "tscircuit2024";
|
|
79069
79069
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
79070
|
-
pcb_component_id: string;
|
|
79071
79070
|
anchor_position: {
|
|
79072
79071
|
x: number;
|
|
79073
79072
|
y: number;
|
|
@@ -79077,6 +79076,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
79077
79076
|
pcb_silkscreen_text_id: string;
|
|
79078
79077
|
font_size: number;
|
|
79079
79078
|
ccw_rotation?: number | undefined;
|
|
79079
|
+
pcb_component_id?: string | undefined;
|
|
79080
79080
|
subcircuit_id?: string | undefined;
|
|
79081
79081
|
pcb_group_id?: string | undefined;
|
|
79082
79082
|
is_knockout?: boolean | undefined;
|
|
@@ -79092,10 +79092,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
79092
79092
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
79093
79093
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
79094
79094
|
};
|
|
79095
|
-
pcb_component_id: string;
|
|
79096
79095
|
text: string;
|
|
79097
79096
|
ccw_rotation?: number | undefined;
|
|
79098
79097
|
font?: "tscircuit2024" | undefined;
|
|
79098
|
+
pcb_component_id?: string | undefined;
|
|
79099
79099
|
subcircuit_id?: string | undefined;
|
|
79100
79100
|
pcb_group_id?: string | undefined;
|
|
79101
79101
|
anchor_position?: {
|
package/dist/index.mjs
CHANGED
|
@@ -3553,7 +3553,7 @@ var pcb_silkscreen_text = z153.object({
|
|
|
3553
3553
|
subcircuit_id: z153.string().optional(),
|
|
3554
3554
|
font: z153.literal("tscircuit2024").default("tscircuit2024"),
|
|
3555
3555
|
font_size: distance.default("0.2mm"),
|
|
3556
|
-
pcb_component_id: z153.string(),
|
|
3556
|
+
pcb_component_id: z153.string().optional().describe("Owning component, omitted for board- or group-level text"),
|
|
3557
3557
|
text: z153.string(),
|
|
3558
3558
|
is_knockout: z153.boolean().default(false).optional(),
|
|
3559
3559
|
knockout_padding: z153.object({
|