@tscircuit/props 0.0.523 → 0.0.524
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.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/port.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -184284,7 +184284,7 @@ declare const portProps: z.ZodObject<{
|
|
|
184284
184284
|
schRelative: z.ZodOptional<z.ZodBoolean>;
|
|
184285
184285
|
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
184286
184286
|
} & {
|
|
184287
|
-
name: z.ZodString
|
|
184287
|
+
name: z.ZodOptional<z.ZodString>;
|
|
184288
184288
|
pinNumber: z.ZodOptional<z.ZodNumber>;
|
|
184289
184289
|
schStemLength: z.ZodOptional<z.ZodNumber>;
|
|
184290
184290
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -184315,9 +184315,9 @@ declare const portProps: z.ZodObject<{
|
|
|
184315
184315
|
}>>;
|
|
184316
184316
|
hasInversionCircle: z.ZodOptional<z.ZodBoolean>;
|
|
184317
184317
|
}, "strip", z.ZodTypeAny, {
|
|
184318
|
-
name: string;
|
|
184319
184318
|
symbol?: SymbolProp | undefined;
|
|
184320
184319
|
layer?: string | undefined;
|
|
184320
|
+
name?: string | undefined;
|
|
184321
184321
|
layers?: string[] | undefined;
|
|
184322
184322
|
pcbX?: string | number | undefined;
|
|
184323
184323
|
pcbY?: string | number | undefined;
|
|
@@ -184379,9 +184379,9 @@ declare const portProps: z.ZodObject<{
|
|
|
184379
184379
|
} | undefined;
|
|
184380
184380
|
hasInversionCircle?: boolean | undefined;
|
|
184381
184381
|
}, {
|
|
184382
|
-
name: string;
|
|
184383
184382
|
symbol?: SymbolProp | undefined;
|
|
184384
184383
|
layer?: string | undefined;
|
|
184384
|
+
name?: string | undefined;
|
|
184385
184385
|
layers?: string[] | undefined;
|
|
184386
184386
|
pcbX?: string | number | undefined;
|
|
184387
184387
|
pcbY?: string | number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -18200,7 +18200,7 @@ var traceHintProps = z118.object({
|
|
|
18200
18200
|
// lib/components/port.ts
|
|
18201
18201
|
import { z as z119 } from "zod";
|
|
18202
18202
|
var portProps = commonLayoutProps.extend({
|
|
18203
|
-
name: z119.string(),
|
|
18203
|
+
name: z119.string().optional(),
|
|
18204
18204
|
pinNumber: z119.number().optional(),
|
|
18205
18205
|
schStemLength: z119.number().optional(),
|
|
18206
18206
|
aliases: z119.array(z119.string()).optional(),
|