@tscircuit/props 0.0.412 → 0.0.413
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 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/voltageprobe.ts +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1557,7 +1557,8 @@ export interface ViaProps extends CommonLayoutProps {
|
|
|
1557
1557
|
```ts
|
|
1558
1558
|
export interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
|
|
1559
1559
|
name?: string;
|
|
1560
|
-
connectsTo: string
|
|
1560
|
+
connectsTo: string;
|
|
1561
|
+
referenceTo?: string;
|
|
1561
1562
|
color?: string;
|
|
1562
1563
|
}
|
|
1563
1564
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -55207,7 +55207,8 @@ declare const voltageSourcePins: readonly ["pin1", "left", "anode", "pos", "pin2
|
|
|
55207
55207
|
|
|
55208
55208
|
interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
|
|
55209
55209
|
name?: string;
|
|
55210
|
-
connectsTo: string
|
|
55210
|
+
connectsTo: string;
|
|
55211
|
+
referenceTo?: string;
|
|
55211
55212
|
color?: string;
|
|
55212
55213
|
}
|
|
55213
55214
|
declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
@@ -55898,10 +55899,11 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
|
55898
55899
|
}>>>;
|
|
55899
55900
|
}, "name"> & {
|
|
55900
55901
|
name: z.ZodOptional<z.ZodString>;
|
|
55901
|
-
connectsTo: z.
|
|
55902
|
+
connectsTo: z.ZodString;
|
|
55903
|
+
referenceTo: z.ZodOptional<z.ZodString>;
|
|
55902
55904
|
color: z.ZodOptional<z.ZodString>;
|
|
55903
55905
|
}, "strip", z.ZodTypeAny, {
|
|
55904
|
-
connectsTo: string
|
|
55906
|
+
connectsTo: string;
|
|
55905
55907
|
symbol?: SymbolProp | undefined;
|
|
55906
55908
|
key?: any;
|
|
55907
55909
|
pcbX?: number | undefined;
|
|
@@ -56093,8 +56095,9 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
|
56093
56095
|
doNotPlace?: boolean | undefined;
|
|
56094
56096
|
obstructsWithinBounds?: boolean | undefined;
|
|
56095
56097
|
color?: string | undefined;
|
|
56098
|
+
referenceTo?: string | undefined;
|
|
56096
56099
|
}, {
|
|
56097
|
-
connectsTo: string
|
|
56100
|
+
connectsTo: string;
|
|
56098
56101
|
symbol?: SymbolProp | undefined;
|
|
56099
56102
|
key?: any;
|
|
56100
56103
|
pcbX?: string | number | undefined;
|
|
@@ -56288,6 +56291,7 @@ declare const voltageProbeProps: z.ZodObject<Omit<{
|
|
|
56288
56291
|
doNotPlace?: boolean | undefined;
|
|
56289
56292
|
obstructsWithinBounds?: boolean | undefined;
|
|
56290
56293
|
color?: string | undefined;
|
|
56294
|
+
referenceTo?: string | undefined;
|
|
56291
56295
|
}>;
|
|
56292
56296
|
|
|
56293
56297
|
declare const schematicArcProps: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -1891,7 +1891,8 @@ expectTypesMatch(true);
|
|
|
1891
1891
|
import { z as z82 } from "zod";
|
|
1892
1892
|
var voltageProbeProps = commonComponentProps.omit({ name: true }).extend({
|
|
1893
1893
|
name: z82.string().optional(),
|
|
1894
|
-
connectsTo: z82.string()
|
|
1894
|
+
connectsTo: z82.string(),
|
|
1895
|
+
referenceTo: z82.string().optional(),
|
|
1895
1896
|
color: z82.string().optional()
|
|
1896
1897
|
});
|
|
1897
1898
|
expectTypesMatch(true);
|