@tscircuit/fake-snippets 0.0.164 → 0.0.165
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 +23 -13
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/schema.d.ts +8 -8
- package/dist/schema.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -778,7 +778,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
778
778
|
package_id: z.ZodString;
|
|
779
779
|
creator_account_id: z.ZodString;
|
|
780
780
|
owner_org_id: z.ZodString;
|
|
781
|
-
owner_github_username: z.ZodNullable<z.ZodString
|
|
781
|
+
owner_github_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
782
782
|
org_owner_tscircuit_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
783
783
|
github_repo_full_name: z.ZodNullable<z.ZodString>;
|
|
784
784
|
name: z.ZodString;
|
|
@@ -826,7 +826,6 @@ declare const packageSchema: z.ZodObject<{
|
|
|
826
826
|
license: string | null;
|
|
827
827
|
creator_account_id: string;
|
|
828
828
|
owner_org_id: string;
|
|
829
|
-
owner_github_username: string | null;
|
|
830
829
|
github_repo_full_name: string | null;
|
|
831
830
|
is_snippet: boolean;
|
|
832
831
|
is_board: boolean;
|
|
@@ -841,6 +840,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
841
840
|
latest_package_release_fs_sha: string | null;
|
|
842
841
|
is_starred?: boolean | undefined;
|
|
843
842
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
843
|
+
owner_github_username?: string | null | undefined;
|
|
844
844
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
845
845
|
latest_license?: string | null | undefined;
|
|
846
846
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
@@ -859,7 +859,6 @@ declare const packageSchema: z.ZodObject<{
|
|
|
859
859
|
license: string | null;
|
|
860
860
|
creator_account_id: string;
|
|
861
861
|
owner_org_id: string;
|
|
862
|
-
owner_github_username: string | null;
|
|
863
862
|
github_repo_full_name: string | null;
|
|
864
863
|
latest_package_release_id: string | null;
|
|
865
864
|
latest_version: string | null;
|
|
@@ -870,6 +869,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
870
869
|
is_private?: boolean | null | undefined;
|
|
871
870
|
is_public?: boolean | null | undefined;
|
|
872
871
|
is_unlisted?: boolean | null | undefined;
|
|
872
|
+
owner_github_username?: string | null | undefined;
|
|
873
873
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
874
874
|
is_snippet?: boolean | undefined;
|
|
875
875
|
is_board?: boolean | undefined;
|
|
@@ -1343,7 +1343,6 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1343
1343
|
license: string | null;
|
|
1344
1344
|
creator_account_id: string;
|
|
1345
1345
|
owner_org_id: string;
|
|
1346
|
-
owner_github_username: string | null;
|
|
1347
1346
|
github_repo_full_name: string | null;
|
|
1348
1347
|
is_snippet: boolean;
|
|
1349
1348
|
is_board: boolean;
|
|
@@ -1358,6 +1357,7 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1358
1357
|
latest_package_release_fs_sha: string | null;
|
|
1359
1358
|
is_starred?: boolean | undefined;
|
|
1360
1359
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1360
|
+
owner_github_username?: string | null | undefined;
|
|
1361
1361
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1362
1362
|
latest_license?: string | null | undefined;
|
|
1363
1363
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
@@ -1965,7 +1965,6 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1965
1965
|
license: string | null;
|
|
1966
1966
|
creator_account_id: string;
|
|
1967
1967
|
owner_org_id: string;
|
|
1968
|
-
owner_github_username: string | null;
|
|
1969
1968
|
github_repo_full_name: string | null;
|
|
1970
1969
|
is_snippet: boolean;
|
|
1971
1970
|
is_board: boolean;
|
|
@@ -1980,6 +1979,7 @@ declare const createDatabase: ({ seed }?: {
|
|
|
1980
1979
|
latest_package_release_fs_sha: string | null;
|
|
1981
1980
|
is_starred?: boolean | undefined;
|
|
1982
1981
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1982
|
+
owner_github_username?: string | null | undefined;
|
|
1983
1983
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1984
1984
|
latest_license?: string | null | undefined;
|
|
1985
1985
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -294,7 +294,7 @@ var packageSchema = z.object({
|
|
|
294
294
|
package_id: z.string(),
|
|
295
295
|
creator_account_id: z.string(),
|
|
296
296
|
owner_org_id: z.string(),
|
|
297
|
-
owner_github_username: z.string().nullable(),
|
|
297
|
+
owner_github_username: z.string().nullable().optional(),
|
|
298
298
|
org_owner_tscircuit_handle: z.string().nullable().optional(),
|
|
299
299
|
github_repo_full_name: z.string().nullable(),
|
|
300
300
|
name: z.string(),
|
package/dist/schema.d.ts
CHANGED
|
@@ -1026,7 +1026,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1026
1026
|
package_id: z.ZodString;
|
|
1027
1027
|
creator_account_id: z.ZodString;
|
|
1028
1028
|
owner_org_id: z.ZodString;
|
|
1029
|
-
owner_github_username: z.ZodNullable<z.ZodString
|
|
1029
|
+
owner_github_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1030
1030
|
org_owner_tscircuit_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1031
1031
|
github_repo_full_name: z.ZodNullable<z.ZodString>;
|
|
1032
1032
|
name: z.ZodString;
|
|
@@ -1074,7 +1074,6 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1074
1074
|
license: string | null;
|
|
1075
1075
|
creator_account_id: string;
|
|
1076
1076
|
owner_org_id: string;
|
|
1077
|
-
owner_github_username: string | null;
|
|
1078
1077
|
github_repo_full_name: string | null;
|
|
1079
1078
|
is_snippet: boolean;
|
|
1080
1079
|
is_board: boolean;
|
|
@@ -1089,6 +1088,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1089
1088
|
latest_package_release_fs_sha: string | null;
|
|
1090
1089
|
is_starred?: boolean | undefined;
|
|
1091
1090
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1091
|
+
owner_github_username?: string | null | undefined;
|
|
1092
1092
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1093
1093
|
latest_license?: string | null | undefined;
|
|
1094
1094
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
@@ -1107,7 +1107,6 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1107
1107
|
license: string | null;
|
|
1108
1108
|
creator_account_id: string;
|
|
1109
1109
|
owner_org_id: string;
|
|
1110
|
-
owner_github_username: string | null;
|
|
1111
1110
|
github_repo_full_name: string | null;
|
|
1112
1111
|
latest_package_release_id: string | null;
|
|
1113
1112
|
latest_version: string | null;
|
|
@@ -1118,6 +1117,7 @@ declare const packageSchema: z.ZodObject<{
|
|
|
1118
1117
|
is_private?: boolean | null | undefined;
|
|
1119
1118
|
is_public?: boolean | null | undefined;
|
|
1120
1119
|
is_unlisted?: boolean | null | undefined;
|
|
1120
|
+
owner_github_username?: string | null | undefined;
|
|
1121
1121
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1122
1122
|
is_snippet?: boolean | undefined;
|
|
1123
1123
|
is_board?: boolean | undefined;
|
|
@@ -1911,7 +1911,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1911
1911
|
package_id: z.ZodString;
|
|
1912
1912
|
creator_account_id: z.ZodString;
|
|
1913
1913
|
owner_org_id: z.ZodString;
|
|
1914
|
-
owner_github_username: z.ZodNullable<z.ZodString
|
|
1914
|
+
owner_github_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1915
1915
|
org_owner_tscircuit_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1916
1916
|
github_repo_full_name: z.ZodNullable<z.ZodString>;
|
|
1917
1917
|
name: z.ZodString;
|
|
@@ -1959,7 +1959,6 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1959
1959
|
license: string | null;
|
|
1960
1960
|
creator_account_id: string;
|
|
1961
1961
|
owner_org_id: string;
|
|
1962
|
-
owner_github_username: string | null;
|
|
1963
1962
|
github_repo_full_name: string | null;
|
|
1964
1963
|
is_snippet: boolean;
|
|
1965
1964
|
is_board: boolean;
|
|
@@ -1974,6 +1973,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1974
1973
|
latest_package_release_fs_sha: string | null;
|
|
1975
1974
|
is_starred?: boolean | undefined;
|
|
1976
1975
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
1976
|
+
owner_github_username?: string | null | undefined;
|
|
1977
1977
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
1978
1978
|
latest_license?: string | null | undefined;
|
|
1979
1979
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
@@ -1992,7 +1992,6 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
1992
1992
|
license: string | null;
|
|
1993
1993
|
creator_account_id: string;
|
|
1994
1994
|
owner_org_id: string;
|
|
1995
|
-
owner_github_username: string | null;
|
|
1996
1995
|
github_repo_full_name: string | null;
|
|
1997
1996
|
latest_package_release_id: string | null;
|
|
1998
1997
|
latest_version: string | null;
|
|
@@ -2003,6 +2002,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2003
2002
|
is_private?: boolean | null | undefined;
|
|
2004
2003
|
is_public?: boolean | null | undefined;
|
|
2005
2004
|
is_unlisted?: boolean | null | undefined;
|
|
2005
|
+
owner_github_username?: string | null | undefined;
|
|
2006
2006
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
2007
2007
|
is_snippet?: boolean | undefined;
|
|
2008
2008
|
is_board?: boolean | undefined;
|
|
@@ -2854,7 +2854,6 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2854
2854
|
license: string | null;
|
|
2855
2855
|
creator_account_id: string;
|
|
2856
2856
|
owner_org_id: string;
|
|
2857
|
-
owner_github_username: string | null;
|
|
2858
2857
|
github_repo_full_name: string | null;
|
|
2859
2858
|
is_snippet: boolean;
|
|
2860
2859
|
is_board: boolean;
|
|
@@ -2869,6 +2868,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
2869
2868
|
latest_package_release_fs_sha: string | null;
|
|
2870
2869
|
is_starred?: boolean | undefined;
|
|
2871
2870
|
snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
|
|
2871
|
+
owner_github_username?: string | null | undefined;
|
|
2872
2872
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
2873
2873
|
latest_license?: string | null | undefined;
|
|
2874
2874
|
default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
|
|
@@ -3246,7 +3246,6 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
3246
3246
|
license: string | null;
|
|
3247
3247
|
creator_account_id: string;
|
|
3248
3248
|
owner_org_id: string;
|
|
3249
|
-
owner_github_username: string | null;
|
|
3250
3249
|
github_repo_full_name: string | null;
|
|
3251
3250
|
latest_package_release_id: string | null;
|
|
3252
3251
|
latest_version: string | null;
|
|
@@ -3257,6 +3256,7 @@ declare const databaseSchema: z.ZodObject<{
|
|
|
3257
3256
|
is_private?: boolean | null | undefined;
|
|
3258
3257
|
is_public?: boolean | null | undefined;
|
|
3259
3258
|
is_unlisted?: boolean | null | undefined;
|
|
3259
|
+
owner_github_username?: string | null | undefined;
|
|
3260
3260
|
org_owner_tscircuit_handle?: string | null | undefined;
|
|
3261
3261
|
is_snippet?: boolean | undefined;
|
|
3262
3262
|
is_board?: boolean | undefined;
|
package/dist/schema.js
CHANGED
|
@@ -288,7 +288,7 @@ var packageSchema = z.object({
|
|
|
288
288
|
package_id: z.string(),
|
|
289
289
|
creator_account_id: z.string(),
|
|
290
290
|
owner_org_id: z.string(),
|
|
291
|
-
owner_github_username: z.string().nullable(),
|
|
291
|
+
owner_github_username: z.string().nullable().optional(),
|
|
292
292
|
org_owner_tscircuit_handle: z.string().nullable().optional(),
|
|
293
293
|
github_repo_full_name: z.string().nullable(),
|
|
294
294
|
name: z.string(),
|