@tscircuit/fake-snippets 0.0.158 → 0.0.160
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 +5 -3
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -1
- package/dist/schema.d.ts +8 -0
- package/dist/schema.js +1 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -776,6 +776,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
776
776
|
creator_account_id: z.ZodString;
|
|
777
777
|
owner_org_id: z.ZodString;
|
|
778
778
|
owner_github_username: z.ZodNullable<z.ZodString>;
|
|
779
|
+
org_owner_tscircuit_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
779
780
|
github_repo_full_name: z.ZodNullable<z.ZodString>;
|
|
780
781
|
name: z.ZodString;
|
|
781
782
|
unscoped_name: z.ZodString;
|
|
@@ -837,6 +838,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
837
838
|
latest_package_release_fs_sha: string | null;
|
|
838
839
|
is_starred?: boolean | undefined;
|
|
839
840
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
841
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
840
842
|
latest_license?: string | null | undefined;
|
|
841
843
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
842
844
|
allow_pr_previews?: boolean | undefined;
|
|
@@ -865,6 +867,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
865
867
|
is_private?: boolean | null | undefined;
|
|
866
868
|
is_public?: boolean | null | undefined;
|
|
867
869
|
is_unlisted?: boolean | null | undefined;
|
|
870
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
868
871
|
is_snippet?: boolean | undefined;
|
|
869
872
|
is_board?: boolean | undefined;
|
|
870
873
|
is_package?: boolean | undefined;
|
|
@@ -1351,6 +1354,7 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1351
1354
|
latest_package_release_fs_sha: string | null;
|
|
1352
1355
|
is_starred?: boolean | undefined;
|
|
1353
1356
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1357
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1354
1358
|
latest_license?: string | null | undefined;
|
|
1355
1359
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
1356
1360
|
allow_pr_previews?: boolean | undefined;
|
|
@@ -1971,6 +1975,7 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1971
1975
|
latest_package_release_fs_sha: string | null;
|
|
1972
1976
|
is_starred?: boolean | undefined;
|
|
1973
1977
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1978
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1974
1979
|
latest_license?: string | null | undefined;
|
|
1975
1980
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
1976
1981
|
allow_pr_previews?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -291,6 +291,7 @@ var packageSchema = z.object({
|
|
|
291
291
|
creator_account_id: z.string(),
|
|
292
292
|
owner_org_id: z.string(),
|
|
293
293
|
owner_github_username: z.string().nullable(),
|
|
294
|
+
org_owner_tscircuit_handle: z.string().nullable().optional(),
|
|
294
295
|
github_repo_full_name: z.string().nullable(),
|
|
295
296
|
name: z.string(),
|
|
296
297
|
unscoped_name: z.string(),
|
|
@@ -664,6 +665,7 @@ var seed = (db) => {
|
|
|
664
665
|
personal_org_id: "org-1234",
|
|
665
666
|
github_username: "testuser",
|
|
666
667
|
tscircuit_handle: "testuser",
|
|
668
|
+
email: "testuser@tscircuit.com",
|
|
667
669
|
shippingInfo: {
|
|
668
670
|
firstName: "Test",
|
|
669
671
|
lastName: "User",
|
|
@@ -679,7 +681,8 @@ var seed = (db) => {
|
|
|
679
681
|
});
|
|
680
682
|
const seveibarAcc = db.addAccount({
|
|
681
683
|
github_username: "seveibar",
|
|
682
|
-
tscircuit_handle: "seveibar"
|
|
684
|
+
tscircuit_handle: "seveibar",
|
|
685
|
+
email: "example@tscircuit.com"
|
|
683
686
|
});
|
|
684
687
|
if (process.env.AUTOLOAD_PACKAGES === "true") {
|
|
685
688
|
loadAutoloadPackages(db);
|
package/dist/schema.d.ts
CHANGED
|
@@ -994,6 +994,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
994
994
|
creator_account_id: z.ZodString;
|
|
995
995
|
owner_org_id: z.ZodString;
|
|
996
996
|
owner_github_username: z.ZodNullable<z.ZodString>;
|
|
997
|
+
org_owner_tscircuit_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
997
998
|
github_repo_full_name: z.ZodNullable<z.ZodString>;
|
|
998
999
|
name: z.ZodString;
|
|
999
1000
|
unscoped_name: z.ZodString;
|
|
@@ -1055,6 +1056,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1055
1056
|
latest_package_release_fs_sha: string | null;
|
|
1056
1057
|
is_starred?: boolean | undefined;
|
|
1057
1058
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1059
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1058
1060
|
latest_license?: string | null | undefined;
|
|
1059
1061
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
1060
1062
|
allow_pr_previews?: boolean | undefined;
|
|
@@ -1083,6 +1085,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1083
1085
|
is_private?: boolean | null | undefined;
|
|
1084
1086
|
is_public?: boolean | null | undefined;
|
|
1085
1087
|
is_unlisted?: boolean | null | undefined;
|
|
1088
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1086
1089
|
is_snippet?: boolean | undefined;
|
|
1087
1090
|
is_board?: boolean | undefined;
|
|
1088
1091
|
is_package?: boolean | undefined;
|
|
@@ -1873,6 +1876,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1873
1876
|
creator_account_id: z.ZodString;
|
|
1874
1877
|
owner_org_id: z.ZodString;
|
|
1875
1878
|
owner_github_username: z.ZodNullable<z.ZodString>;
|
|
1879
|
+
org_owner_tscircuit_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1876
1880
|
github_repo_full_name: z.ZodNullable<z.ZodString>;
|
|
1877
1881
|
name: z.ZodString;
|
|
1878
1882
|
unscoped_name: z.ZodString;
|
|
@@ -1934,6 +1938,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1934
1938
|
latest_package_release_fs_sha: string | null;
|
|
1935
1939
|
is_starred?: boolean | undefined;
|
|
1936
1940
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1941
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1937
1942
|
latest_license?: string | null | undefined;
|
|
1938
1943
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
1939
1944
|
allow_pr_previews?: boolean | undefined;
|
|
@@ -1962,6 +1967,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1962
1967
|
is_private?: boolean | null | undefined;
|
|
1963
1968
|
is_public?: boolean | null | undefined;
|
|
1964
1969
|
is_unlisted?: boolean | null | undefined;
|
|
1970
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1965
1971
|
is_snippet?: boolean | undefined;
|
|
1966
1972
|
is_board?: boolean | undefined;
|
|
1967
1973
|
is_package?: boolean | undefined;
|
|
@@ -2826,6 +2832,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2826
2832
|
latest_package_release_fs_sha: string | null;
|
|
2827
2833
|
is_starred?: boolean | undefined;
|
|
2828
2834
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
2835
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
2829
2836
|
latest_license?: string | null | undefined;
|
|
2830
2837
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
2831
2838
|
allow_pr_previews?: boolean | undefined;
|
|
@@ -3212,6 +3219,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
3212
3219
|
is_private?: boolean | null | undefined;
|
|
3213
3220
|
is_public?: boolean | null | undefined;
|
|
3214
3221
|
is_unlisted?: boolean | null | undefined;
|
|
3222
|
+
org_owner_tscircuit_handle?: string | null | undefined;
|
|
3215
3223
|
is_snippet?: boolean | undefined;
|
|
3216
3224
|
is_board?: boolean | undefined;
|
|
3217
3225
|
is_package?: boolean | undefined;
|
package/dist/schema.js
CHANGED
|
@@ -285,6 +285,7 @@ var packageSchema = z.object({
|
|
|
285
285
|
creator_account_id: z.string(),
|
|
286
286
|
owner_org_id: z.string(),
|
|
287
287
|
owner_github_username: z.string().nullable(),
|
|
288
|
+
org_owner_tscircuit_handle: z.string().nullable().optional(),
|
|
288
289
|
github_repo_full_name: z.string().nullable(),
|
|
289
290
|
name: z.string(),
|
|
290
291
|
unscoped_name: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/fake-snippets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.160",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"@tscircuit/3d-viewer": "^0.0.448",
|
|
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.531",
|
|
88
88
|
"@tscircuit/layout": "^0.0.29",
|
|
89
89
|
"@tscircuit/mm": "^0.0.8",
|
|
90
90
|
"@tscircuit/pcb-viewer": "^1.11.256",
|
|
91
91
|
"@tscircuit/prompt-benchmarks": "^0.0.28",
|
|
92
|
-
"@tscircuit/runframe": "^0.0.
|
|
92
|
+
"@tscircuit/runframe": "^0.0.1369",
|
|
93
93
|
"@tscircuit/schematic-viewer": "^2.0.46",
|
|
94
94
|
"@tscircuit/simple-3d-svg": "^0.0.41",
|
|
95
95
|
"@types/babel__standalone": "^7.1.7",
|