@tscircuit/fake-snippets 0.0.169 → 0.0.170
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 +8 -4
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/schema.d.ts +8 -0
- package/dist/schema.js +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -568,6 +568,7 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
568
568
|
has_transpiled: z.ZodDefault<z.ZodBoolean>;
|
|
569
569
|
transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
570
570
|
fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
|
+
ready_to_build: z.ZodDefault<z.ZodBoolean>;
|
|
571
572
|
display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
572
573
|
total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
573
574
|
transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
@@ -629,6 +630,7 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
629
630
|
is_locked: boolean;
|
|
630
631
|
is_latest: boolean;
|
|
631
632
|
has_transpiled: boolean;
|
|
633
|
+
ready_to_build: boolean;
|
|
632
634
|
transpilation_display_status: "error" | "pending" | "building" | "complete";
|
|
633
635
|
transpilation_in_progress: boolean;
|
|
634
636
|
transpilation_logs: any[];
|
|
@@ -696,6 +698,7 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
696
698
|
has_transpiled?: boolean | undefined;
|
|
697
699
|
transpilation_error?: string | null | undefined;
|
|
698
700
|
fs_sha?: string | null | undefined;
|
|
701
|
+
ready_to_build?: boolean | undefined;
|
|
699
702
|
total_build_duration_ms?: number | null | undefined;
|
|
700
703
|
transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
701
704
|
transpilation_in_progress?: boolean | undefined;
|
|
@@ -1233,6 +1236,7 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1233
1236
|
is_locked: boolean;
|
|
1234
1237
|
is_latest: boolean;
|
|
1235
1238
|
has_transpiled: boolean;
|
|
1239
|
+
ready_to_build: boolean;
|
|
1236
1240
|
transpilation_display_status: "error" | "pending" | "building" | "complete";
|
|
1237
1241
|
transpilation_in_progress: boolean;
|
|
1238
1242
|
transpilation_logs: any[];
|
|
@@ -1856,6 +1860,7 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1856
1860
|
is_locked: boolean;
|
|
1857
1861
|
is_latest: boolean;
|
|
1858
1862
|
has_transpiled: boolean;
|
|
1863
|
+
ready_to_build: boolean;
|
|
1859
1864
|
transpilation_display_status: "error" | "pending" | "building" | "complete";
|
|
1860
1865
|
transpilation_in_progress: boolean;
|
|
1861
1866
|
transpilation_logs: any[];
|
package/dist/index.js
CHANGED
|
@@ -223,6 +223,7 @@ var packageReleaseSchema = z.object({
|
|
|
223
223
|
has_transpiled: z.boolean().default(false),
|
|
224
224
|
transpilation_error: z.string().nullable().optional(),
|
|
225
225
|
fs_sha: z.string().nullable().optional(),
|
|
226
|
+
ready_to_build: z.boolean().default(false),
|
|
226
227
|
// Build Status and Display
|
|
227
228
|
display_status: z.enum(["pending", "building", "complete", "error"]).default("pending"),
|
|
228
229
|
total_build_duration_ms: z.number().nullable().optional(),
|
package/dist/schema.d.ts
CHANGED
|
@@ -786,6 +786,7 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
786
786
|
has_transpiled: z.ZodDefault<z.ZodBoolean>;
|
|
787
787
|
transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
788
788
|
fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
|
+
ready_to_build: z.ZodDefault<z.ZodBoolean>;
|
|
789
790
|
display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
790
791
|
total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
791
792
|
transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
@@ -847,6 +848,7 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
847
848
|
is_locked: boolean;
|
|
848
849
|
is_latest: boolean;
|
|
849
850
|
has_transpiled: boolean;
|
|
851
|
+
ready_to_build: boolean;
|
|
850
852
|
transpilation_display_status: "error" | "pending" | "building" | "complete";
|
|
851
853
|
transpilation_in_progress: boolean;
|
|
852
854
|
transpilation_logs: any[];
|
|
@@ -914,6 +916,7 @@ declare const packageReleaseSchema: z.ZodObject<{
|
|
|
914
916
|
has_transpiled?: boolean | undefined;
|
|
915
917
|
transpilation_error?: string | null | undefined;
|
|
916
918
|
fs_sha?: string | null | undefined;
|
|
919
|
+
ready_to_build?: boolean | undefined;
|
|
917
920
|
total_build_duration_ms?: number | null | undefined;
|
|
918
921
|
transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
919
922
|
transpilation_in_progress?: boolean | undefined;
|
|
@@ -1591,6 +1594,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1591
1594
|
has_transpiled: z.ZodDefault<z.ZodBoolean>;
|
|
1592
1595
|
transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
1596
|
fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1597
|
+
ready_to_build: z.ZodDefault<z.ZodBoolean>;
|
|
1594
1598
|
display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
1595
1599
|
total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1596
1600
|
transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
|
|
@@ -1652,6 +1656,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1652
1656
|
is_locked: boolean;
|
|
1653
1657
|
is_latest: boolean;
|
|
1654
1658
|
has_transpiled: boolean;
|
|
1659
|
+
ready_to_build: boolean;
|
|
1655
1660
|
transpilation_display_status: "error" | "pending" | "building" | "complete";
|
|
1656
1661
|
transpilation_in_progress: boolean;
|
|
1657
1662
|
transpilation_logs: any[];
|
|
@@ -1719,6 +1724,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1719
1724
|
has_transpiled?: boolean | undefined;
|
|
1720
1725
|
transpilation_error?: string | null | undefined;
|
|
1721
1726
|
fs_sha?: string | null | undefined;
|
|
1727
|
+
ready_to_build?: boolean | undefined;
|
|
1722
1728
|
total_build_duration_ms?: number | null | undefined;
|
|
1723
1729
|
transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
1724
1730
|
transpilation_in_progress?: boolean | undefined;
|
|
@@ -2753,6 +2759,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2753
2759
|
is_locked: boolean;
|
|
2754
2760
|
is_latest: boolean;
|
|
2755
2761
|
has_transpiled: boolean;
|
|
2762
|
+
ready_to_build: boolean;
|
|
2756
2763
|
transpilation_display_status: "error" | "pending" | "building" | "complete";
|
|
2757
2764
|
transpilation_in_progress: boolean;
|
|
2758
2765
|
transpilation_logs: any[];
|
|
@@ -3157,6 +3164,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
3157
3164
|
has_transpiled?: boolean | undefined;
|
|
3158
3165
|
transpilation_error?: string | null | undefined;
|
|
3159
3166
|
fs_sha?: string | null | undefined;
|
|
3167
|
+
ready_to_build?: boolean | undefined;
|
|
3160
3168
|
total_build_duration_ms?: number | null | undefined;
|
|
3161
3169
|
transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
|
|
3162
3170
|
transpilation_in_progress?: boolean | undefined;
|
package/dist/schema.js
CHANGED
|
@@ -217,6 +217,7 @@ var packageReleaseSchema = z.object({
|
|
|
217
217
|
has_transpiled: z.boolean().default(false),
|
|
218
218
|
transpilation_error: z.string().nullable().optional(),
|
|
219
219
|
fs_sha: z.string().nullable().optional(),
|
|
220
|
+
ready_to_build: z.boolean().default(false),
|
|
220
221
|
// Build Status and Display
|
|
221
222
|
display_status: z.enum(["pending", "building", "complete", "error"]).default("pending"),
|
|
222
223
|
total_build_duration_ms: z.number().nullable().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/fake-snippets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.170",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@tscircuit/3d-viewer": "^0.0.476",
|
|
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.559",
|
|
88
88
|
"@tscircuit/layout": "^0.0.29",
|
|
89
89
|
"@tscircuit/mm": "^0.0.8",
|
|
90
90
|
"@tscircuit/pcb-viewer": "^1.11.256",
|