@tscircuit/fake-snippets 0.0.129 → 0.0.130
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/bundle.js +10 -1
- package/dist/index.d.ts +30 -0
- package/dist/index.js +7 -0
- package/dist/schema.d.ts +48 -0
- package/dist/schema.js +7 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -567,6 +567,12 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
567
567
|
transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
568
568
|
transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
569
569
|
transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
|
|
570
|
+
ext_user_code_job_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
571
|
+
user_code_started_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
572
|
+
user_code_completed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
573
|
+
user_code_build_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
|
|
574
|
+
user_code_error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
user_code_log_stream_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
570
576
|
circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
571
577
|
circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
|
|
572
578
|
circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -609,6 +615,12 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
609
615
|
transpilation_in_progress: boolean;
|
|
610
616
|
transpilation_logs: any[];
|
|
611
617
|
transpilation_is_stale: boolean;
|
|
618
|
+
ext_user_code_job_id: string | null;
|
|
619
|
+
user_code_started_at: string | null;
|
|
620
|
+
user_code_completed_at: string | null;
|
|
621
|
+
user_code_build_logs: any[] | null;
|
|
622
|
+
user_code_error: string | null;
|
|
623
|
+
user_code_log_stream_url: string | null;
|
|
612
624
|
circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
|
|
613
625
|
circuit_json_build_in_progress: boolean;
|
|
614
626
|
circuit_json_build_logs: any[];
|
|
@@ -670,6 +682,12 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
670
682
|
transpilation_completed_at?: string | null | undefined;
|
|
671
683
|
transpilation_logs?: any[] | undefined;
|
|
672
684
|
transpilation_is_stale?: boolean | undefined;
|
|
685
|
+
ext_user_code_job_id?: string | null | undefined;
|
|
686
|
+
user_code_started_at?: string | null | undefined;
|
|
687
|
+
user_code_completed_at?: string | null | undefined;
|
|
688
|
+
user_code_build_logs?: any[] | null | undefined;
|
|
689
|
+
user_code_error?: string | null | undefined;
|
|
690
|
+
user_code_log_stream_url?: string | null | undefined;
|
|
673
691
|
circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
674
692
|
circuit_json_build_in_progress?: boolean | undefined;
|
|
675
693
|
circuit_json_build_started_at?: string | null | undefined;
|
|
@@ -1121,6 +1139,12 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1121
1139
|
transpilation_in_progress: boolean;
|
|
1122
1140
|
transpilation_logs: any[];
|
|
1123
1141
|
transpilation_is_stale: boolean;
|
|
1142
|
+
ext_user_code_job_id: string | null;
|
|
1143
|
+
user_code_started_at: string | null;
|
|
1144
|
+
user_code_completed_at: string | null;
|
|
1145
|
+
user_code_build_logs: any[] | null;
|
|
1146
|
+
user_code_error: string | null;
|
|
1147
|
+
user_code_log_stream_url: string | null;
|
|
1124
1148
|
circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
|
|
1125
1149
|
circuit_json_build_in_progress: boolean;
|
|
1126
1150
|
circuit_json_build_logs: any[];
|
|
@@ -1684,6 +1708,12 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1684
1708
|
transpilation_in_progress: boolean;
|
|
1685
1709
|
transpilation_logs: any[];
|
|
1686
1710
|
transpilation_is_stale: boolean;
|
|
1711
|
+
ext_user_code_job_id: string | null;
|
|
1712
|
+
user_code_started_at: string | null;
|
|
1713
|
+
user_code_completed_at: string | null;
|
|
1714
|
+
user_code_build_logs: any[] | null;
|
|
1715
|
+
user_code_error: string | null;
|
|
1716
|
+
user_code_log_stream_url: string | null;
|
|
1687
1717
|
circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
|
|
1688
1718
|
circuit_json_build_in_progress: boolean;
|
|
1689
1719
|
circuit_json_build_logs: any[];
|
package/dist/index.js
CHANGED
|
@@ -222,6 +222,13 @@ var packageReleaseSchema = z.object({
|
|
|
222
222
|
transpilation_completed_at: z.string().datetime().nullable().optional(),
|
|
223
223
|
transpilation_logs: z.array(z.any()).default([]),
|
|
224
224
|
transpilation_is_stale: z.boolean().default(false),
|
|
225
|
+
// User Code Job Process
|
|
226
|
+
ext_user_code_job_id: z.string().nullable().default(null),
|
|
227
|
+
user_code_started_at: z.string().datetime().nullable().default(null),
|
|
228
|
+
user_code_completed_at: z.string().datetime().nullable().default(null),
|
|
229
|
+
user_code_build_logs: z.array(z.any()).nullable().default(null),
|
|
230
|
+
user_code_error: z.string().nullable().default(null),
|
|
231
|
+
user_code_log_stream_url: z.string().nullable().default(null),
|
|
225
232
|
// Circuit JSON Build Process
|
|
226
233
|
circuit_json_build_display_status: z.enum(["pending", "building", "complete", "error"]).default("pending"),
|
|
227
234
|
circuit_json_build_in_progress: z.boolean().default(false),
|
package/dist/schema.d.ts
CHANGED
|
@@ -764,6 +764,12 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
764
764
|
transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
765
765
|
transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
766
766
|
transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
|
|
767
|
+
ext_user_code_job_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
768
|
+
user_code_started_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
769
|
+
user_code_completed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
770
|
+
user_code_build_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
|
|
771
|
+
user_code_error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
772
|
+
user_code_log_stream_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
767
773
|
circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
768
774
|
circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
|
|
769
775
|
circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -806,6 +812,12 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
806
812
|
transpilation_in_progress: boolean;
|
|
807
813
|
transpilation_logs: any[];
|
|
808
814
|
transpilation_is_stale: boolean;
|
|
815
|
+
ext_user_code_job_id: string | null;
|
|
816
|
+
user_code_started_at: string | null;
|
|
817
|
+
user_code_completed_at: string | null;
|
|
818
|
+
user_code_build_logs: any[] | null;
|
|
819
|
+
user_code_error: string | null;
|
|
820
|
+
user_code_log_stream_url: string | null;
|
|
809
821
|
circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
|
|
810
822
|
circuit_json_build_in_progress: boolean;
|
|
811
823
|
circuit_json_build_logs: any[];
|
|
@@ -867,6 +879,12 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
867
879
|
transpilation_completed_at?: string | null | undefined;
|
|
868
880
|
transpilation_logs?: any[] | undefined;
|
|
869
881
|
transpilation_is_stale?: boolean | undefined;
|
|
882
|
+
ext_user_code_job_id?: string | null | undefined;
|
|
883
|
+
user_code_started_at?: string | null | undefined;
|
|
884
|
+
user_code_completed_at?: string | null | undefined;
|
|
885
|
+
user_code_build_logs?: any[] | null | undefined;
|
|
886
|
+
user_code_error?: string | null | undefined;
|
|
887
|
+
user_code_log_stream_url?: string | null | undefined;
|
|
870
888
|
circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
871
889
|
circuit_json_build_in_progress?: boolean | undefined;
|
|
872
890
|
circuit_json_build_started_at?: string | null | undefined;
|
|
@@ -1420,6 +1438,12 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1420
1438
|
transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1421
1439
|
transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
|
|
1422
1440
|
transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
|
|
1441
|
+
ext_user_code_job_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1442
|
+
user_code_started_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1443
|
+
user_code_completed_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1444
|
+
user_code_build_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
|
|
1445
|
+
user_code_error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1446
|
+
user_code_log_stream_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1423
1447
|
circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
1424
1448
|
circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
|
|
1425
1449
|
circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1462,6 +1486,12 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1462
1486
|
transpilation_in_progress: boolean;
|
|
1463
1487
|
transpilation_logs: any[];
|
|
1464
1488
|
transpilation_is_stale: boolean;
|
|
1489
|
+
ext_user_code_job_id: string | null;
|
|
1490
|
+
user_code_started_at: string | null;
|
|
1491
|
+
user_code_completed_at: string | null;
|
|
1492
|
+
user_code_build_logs: any[] | null;
|
|
1493
|
+
user_code_error: string | null;
|
|
1494
|
+
user_code_log_stream_url: string | null;
|
|
1465
1495
|
circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
|
|
1466
1496
|
circuit_json_build_in_progress: boolean;
|
|
1467
1497
|
circuit_json_build_logs: any[];
|
|
@@ -1523,6 +1553,12 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1523
1553
|
transpilation_completed_at?: string | null | undefined;
|
|
1524
1554
|
transpilation_logs?: any[] | undefined;
|
|
1525
1555
|
transpilation_is_stale?: boolean | undefined;
|
|
1556
|
+
ext_user_code_job_id?: string | null | undefined;
|
|
1557
|
+
user_code_started_at?: string | null | undefined;
|
|
1558
|
+
user_code_completed_at?: string | null | undefined;
|
|
1559
|
+
user_code_build_logs?: any[] | null | undefined;
|
|
1560
|
+
user_code_error?: string | null | undefined;
|
|
1561
|
+
user_code_log_stream_url?: string | null | undefined;
|
|
1526
1562
|
circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
1527
1563
|
circuit_json_build_in_progress?: boolean | undefined;
|
|
1528
1564
|
circuit_json_build_started_at?: string | null | undefined;
|
|
@@ -2463,6 +2499,12 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2463
2499
|
transpilation_in_progress: boolean;
|
|
2464
2500
|
transpilation_logs: any[];
|
|
2465
2501
|
transpilation_is_stale: boolean;
|
|
2502
|
+
ext_user_code_job_id: string | null;
|
|
2503
|
+
user_code_started_at: string | null;
|
|
2504
|
+
user_code_completed_at: string | null;
|
|
2505
|
+
user_code_build_logs: any[] | null;
|
|
2506
|
+
user_code_error: string | null;
|
|
2507
|
+
user_code_log_stream_url: string | null;
|
|
2466
2508
|
circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
|
|
2467
2509
|
circuit_json_build_in_progress: boolean;
|
|
2468
2510
|
circuit_json_build_logs: any[];
|
|
@@ -2833,6 +2875,12 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2833
2875
|
transpilation_completed_at?: string | null | undefined;
|
|
2834
2876
|
transpilation_logs?: any[] | undefined;
|
|
2835
2877
|
transpilation_is_stale?: boolean | undefined;
|
|
2878
|
+
ext_user_code_job_id?: string | null | undefined;
|
|
2879
|
+
user_code_started_at?: string | null | undefined;
|
|
2880
|
+
user_code_completed_at?: string | null | undefined;
|
|
2881
|
+
user_code_build_logs?: any[] | null | undefined;
|
|
2882
|
+
user_code_error?: string | null | undefined;
|
|
2883
|
+
user_code_log_stream_url?: string | null | undefined;
|
|
2836
2884
|
circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
2837
2885
|
circuit_json_build_in_progress?: boolean | undefined;
|
|
2838
2886
|
circuit_json_build_started_at?: string | null | undefined;
|
package/dist/schema.js
CHANGED
|
@@ -216,6 +216,13 @@ var packageReleaseSchema = z.object({
|
|
|
216
216
|
transpilation_completed_at: z.string().datetime().nullable().optional(),
|
|
217
217
|
transpilation_logs: z.array(z.any()).default([]),
|
|
218
218
|
transpilation_is_stale: z.boolean().default(false),
|
|
219
|
+
// User Code Job Process
|
|
220
|
+
ext_user_code_job_id: z.string().nullable().default(null),
|
|
221
|
+
user_code_started_at: z.string().datetime().nullable().default(null),
|
|
222
|
+
user_code_completed_at: z.string().datetime().nullable().default(null),
|
|
223
|
+
user_code_build_logs: z.array(z.any()).nullable().default(null),
|
|
224
|
+
user_code_error: z.string().nullable().default(null),
|
|
225
|
+
user_code_log_stream_url: z.string().nullable().default(null),
|
|
219
226
|
// Circuit JSON Build Process
|
|
220
227
|
circuit_json_build_display_status: z.enum(["pending", "building", "complete", "error"]).default("pending"),
|
|
221
228
|
circuit_json_build_in_progress: z.boolean().default(false),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/fake-snippets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.130",
|
|
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.
|
|
87
|
+
"@tscircuit/eval": "^0.0.430",
|
|
88
88
|
"@tscircuit/layout": "^0.0.29",
|
|
89
89
|
"@tscircuit/mm": "^0.0.8",
|
|
90
90
|
"@tscircuit/pcb-viewer": "^1.11.218",
|