@tscircuit/fake-snippets 0.0.134 → 0.0.135

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 CHANGED
@@ -571,7 +571,16 @@ declare const packageReleaseSchema: z.ZodObject<{
571
571
  user_code_started_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
572
572
  user_code_completed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
573
573
  user_code_build_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
574
- user_code_error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
574
+ user_code_error: z.ZodDefault<z.ZodNullable<z.ZodObject<{
575
+ error_code: z.ZodString;
576
+ message: z.ZodString;
577
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
578
+ error_code: z.ZodString;
579
+ message: z.ZodString;
580
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
581
+ error_code: z.ZodString;
582
+ message: z.ZodString;
583
+ }, z.ZodTypeAny, "passthrough">>>>;
575
584
  user_code_log_stream_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
576
585
  circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
577
586
  circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
@@ -619,7 +628,10 @@ declare const packageReleaseSchema: z.ZodObject<{
619
628
  user_code_started_at: string | null;
620
629
  user_code_completed_at: string | null;
621
630
  user_code_build_logs: any[] | null;
622
- user_code_error: string | null;
631
+ user_code_error: z.objectOutputType<{
632
+ error_code: z.ZodString;
633
+ message: z.ZodString;
634
+ }, z.ZodTypeAny, "passthrough"> | null;
623
635
  user_code_log_stream_url: string | null;
624
636
  circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
625
637
  circuit_json_build_in_progress: boolean;
@@ -686,7 +698,10 @@ declare const packageReleaseSchema: z.ZodObject<{
686
698
  user_code_started_at?: string | null | undefined;
687
699
  user_code_completed_at?: string | null | undefined;
688
700
  user_code_build_logs?: any[] | null | undefined;
689
- user_code_error?: string | null | undefined;
701
+ user_code_error?: z.objectInputType<{
702
+ error_code: z.ZodString;
703
+ message: z.ZodString;
704
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
690
705
  user_code_log_stream_url?: string | null | undefined;
691
706
  circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
692
707
  circuit_json_build_in_progress?: boolean | undefined;
@@ -1143,7 +1158,10 @@ declare const createDatabase: ({ seed }?: {
1143
1158
  user_code_started_at: string | null;
1144
1159
  user_code_completed_at: string | null;
1145
1160
  user_code_build_logs: any[] | null;
1146
- user_code_error: string | null;
1161
+ user_code_error: z.objectOutputType<{
1162
+ error_code: z.ZodString;
1163
+ message: z.ZodString;
1164
+ }, z.ZodTypeAny, "passthrough"> | null;
1147
1165
  user_code_log_stream_url: string | null;
1148
1166
  circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
1149
1167
  circuit_json_build_in_progress: boolean;
@@ -1714,7 +1732,10 @@ declare const createDatabase: ({ seed }?: {
1714
1732
  user_code_started_at: string | null;
1715
1733
  user_code_completed_at: string | null;
1716
1734
  user_code_build_logs: any[] | null;
1717
- user_code_error: string | null;
1735
+ user_code_error: z.objectOutputType<{
1736
+ error_code: z.ZodString;
1737
+ message: z.ZodString;
1738
+ }, z.ZodTypeAny, "passthrough"> | null;
1718
1739
  user_code_log_stream_url: string | null;
1719
1740
  circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
1720
1741
  circuit_json_build_in_progress: boolean;
package/dist/index.js CHANGED
@@ -227,7 +227,7 @@ var packageReleaseSchema = z.object({
227
227
  user_code_started_at: z.string().datetime().nullable().default(null),
228
228
  user_code_completed_at: z.string().datetime().nullable().default(null),
229
229
  user_code_build_logs: z.array(z.any()).nullable().default(null),
230
- user_code_error: z.string().nullable().default(null),
230
+ user_code_error: errorSchema.nullable().default(null),
231
231
  user_code_log_stream_url: z.string().nullable().default(null),
232
232
  // Circuit JSON Build Process
233
233
  circuit_json_build_display_status: z.enum(["pending", "building", "complete", "error"]).default("pending"),
package/dist/schema.d.ts CHANGED
@@ -768,7 +768,16 @@ declare const packageReleaseSchema: z.ZodObject<{
768
768
  user_code_started_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
769
769
  user_code_completed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
770
770
  user_code_build_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
771
- user_code_error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
771
+ user_code_error: z.ZodDefault<z.ZodNullable<z.ZodObject<{
772
+ error_code: z.ZodString;
773
+ message: z.ZodString;
774
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
775
+ error_code: z.ZodString;
776
+ message: z.ZodString;
777
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
778
+ error_code: z.ZodString;
779
+ message: z.ZodString;
780
+ }, z.ZodTypeAny, "passthrough">>>>;
772
781
  user_code_log_stream_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
773
782
  circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
774
783
  circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
@@ -816,7 +825,10 @@ declare const packageReleaseSchema: z.ZodObject<{
816
825
  user_code_started_at: string | null;
817
826
  user_code_completed_at: string | null;
818
827
  user_code_build_logs: any[] | null;
819
- user_code_error: string | null;
828
+ user_code_error: z.objectOutputType<{
829
+ error_code: z.ZodString;
830
+ message: z.ZodString;
831
+ }, z.ZodTypeAny, "passthrough"> | null;
820
832
  user_code_log_stream_url: string | null;
821
833
  circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
822
834
  circuit_json_build_in_progress: boolean;
@@ -883,7 +895,10 @@ declare const packageReleaseSchema: z.ZodObject<{
883
895
  user_code_started_at?: string | null | undefined;
884
896
  user_code_completed_at?: string | null | undefined;
885
897
  user_code_build_logs?: any[] | null | undefined;
886
- user_code_error?: string | null | undefined;
898
+ user_code_error?: z.objectInputType<{
899
+ error_code: z.ZodString;
900
+ message: z.ZodString;
901
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
887
902
  user_code_log_stream_url?: string | null | undefined;
888
903
  circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
889
904
  circuit_json_build_in_progress?: boolean | undefined;
@@ -1442,7 +1457,16 @@ declare const databaseSchema: z.ZodObject<{
1442
1457
  user_code_started_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1443
1458
  user_code_completed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1444
1459
  user_code_build_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
1445
- user_code_error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1460
+ user_code_error: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1461
+ error_code: z.ZodString;
1462
+ message: z.ZodString;
1463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1464
+ error_code: z.ZodString;
1465
+ message: z.ZodString;
1466
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1467
+ error_code: z.ZodString;
1468
+ message: z.ZodString;
1469
+ }, z.ZodTypeAny, "passthrough">>>>;
1446
1470
  user_code_log_stream_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1447
1471
  circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1448
1472
  circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
@@ -1490,7 +1514,10 @@ declare const databaseSchema: z.ZodObject<{
1490
1514
  user_code_started_at: string | null;
1491
1515
  user_code_completed_at: string | null;
1492
1516
  user_code_build_logs: any[] | null;
1493
- user_code_error: string | null;
1517
+ user_code_error: z.objectOutputType<{
1518
+ error_code: z.ZodString;
1519
+ message: z.ZodString;
1520
+ }, z.ZodTypeAny, "passthrough"> | null;
1494
1521
  user_code_log_stream_url: string | null;
1495
1522
  circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
1496
1523
  circuit_json_build_in_progress: boolean;
@@ -1557,7 +1584,10 @@ declare const databaseSchema: z.ZodObject<{
1557
1584
  user_code_started_at?: string | null | undefined;
1558
1585
  user_code_completed_at?: string | null | undefined;
1559
1586
  user_code_build_logs?: any[] | null | undefined;
1560
- user_code_error?: string | null | undefined;
1587
+ user_code_error?: z.objectInputType<{
1588
+ error_code: z.ZodString;
1589
+ message: z.ZodString;
1590
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
1561
1591
  user_code_log_stream_url?: string | null | undefined;
1562
1592
  circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1563
1593
  circuit_json_build_in_progress?: boolean | undefined;
@@ -2503,7 +2533,10 @@ declare const databaseSchema: z.ZodObject<{
2503
2533
  user_code_started_at: string | null;
2504
2534
  user_code_completed_at: string | null;
2505
2535
  user_code_build_logs: any[] | null;
2506
- user_code_error: string | null;
2536
+ user_code_error: z.objectOutputType<{
2537
+ error_code: z.ZodString;
2538
+ message: z.ZodString;
2539
+ }, z.ZodTypeAny, "passthrough"> | null;
2507
2540
  user_code_log_stream_url: string | null;
2508
2541
  circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
2509
2542
  circuit_json_build_in_progress: boolean;
@@ -2879,7 +2912,10 @@ declare const databaseSchema: z.ZodObject<{
2879
2912
  user_code_started_at?: string | null | undefined;
2880
2913
  user_code_completed_at?: string | null | undefined;
2881
2914
  user_code_build_logs?: any[] | null | undefined;
2882
- user_code_error?: string | null | undefined;
2915
+ user_code_error?: z.objectInputType<{
2916
+ error_code: z.ZodString;
2917
+ message: z.ZodString;
2918
+ }, z.ZodTypeAny, "passthrough"> | null | undefined;
2883
2919
  user_code_log_stream_url?: string | null | undefined;
2884
2920
  circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2885
2921
  circuit_json_build_in_progress?: boolean | undefined;
package/dist/schema.js CHANGED
@@ -221,7 +221,7 @@ var packageReleaseSchema = z.object({
221
221
  user_code_started_at: z.string().datetime().nullable().default(null),
222
222
  user_code_completed_at: z.string().datetime().nullable().default(null),
223
223
  user_code_build_logs: z.array(z.any()).nullable().default(null),
224
- user_code_error: z.string().nullable().default(null),
224
+ user_code_error: errorSchema.nullable().default(null),
225
225
  user_code_log_stream_url: z.string().nullable().default(null),
226
226
  // Circuit JSON Build Process
227
227
  circuit_json_build_display_status: z.enum(["pending", "building", "complete", "error"]).default("pending"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/fake-snippets",
3
- "version": "0.0.134",
3
+ "version": "0.0.135",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -84,7 +84,7 @@
84
84
  "@tscircuit/3d-viewer": "^0.0.407",
85
85
  "@tscircuit/assembly-viewer": "^0.0.5",
86
86
  "@tscircuit/create-snippet-url": "^0.0.8",
87
- "@tscircuit/eval": "^0.0.434",
87
+ "@tscircuit/eval": "^0.0.438",
88
88
  "@tscircuit/layout": "^0.0.29",
89
89
  "@tscircuit/mm": "^0.0.8",
90
90
  "@tscircuit/pcb-viewer": "^1.11.218",