@tscircuit/fake-snippets 0.0.119 → 0.0.121

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.
Files changed (153) hide show
  1. package/.github/workflows/bun-pver-release.yml +29 -4
  2. package/bun-tests/fake-snippets-api/routes/bug_reports/create.test.ts +37 -0
  3. package/bun-tests/fake-snippets-api/routes/bug_reports/upload_file.test.ts +89 -0
  4. package/bun.lock +2 -2
  5. package/dist/assets/404-CnNkOMw-.js +1 -0
  6. package/dist/assets/Analytics-DIw7l2gi.js +84 -0
  7. package/dist/assets/BuildsList-CeqVVhbz.js +1 -0
  8. package/dist/assets/CodeAndPreview-Dycd0s15.js +722 -0
  9. package/dist/assets/DownloadButtonAndMenu-OIUhbKkj.js +194 -0
  10. package/dist/assets/FileSaver.min-BDsOlqKl.js +1 -0
  11. package/dist/assets/Footer-DU-HdqGk.js +1 -0
  12. package/dist/assets/GithubAvatarWithFallback-CQhrBiKP.js +6 -0
  13. package/dist/assets/Header-CI4GZVOv.js +1 -0
  14. package/dist/assets/Header2-CrMDmo3P.js +5 -0
  15. package/dist/assets/NotFound-DaXtEPsC.js +1 -0
  16. package/dist/assets/OrganizationCard-Bs2dw-AL.js +1 -0
  17. package/dist/assets/PackageBreadcrumb-DpOpPbGc.js +6 -0
  18. package/dist/assets/PackageCard-ejE2dLlA.js +16 -0
  19. package/dist/assets/PackageSearchResults-BI3Rtmr2.js +1 -0
  20. package/dist/assets/ProfileRouter-4xNgtXr5.js +6 -0
  21. package/dist/assets/alert-dialog-DrOB4Tui.js +1 -0
  22. package/dist/assets/authorize-D-5R3QHA.js +16 -0
  23. package/dist/assets/badge-Bk-k6kyg.js +1 -0
  24. package/dist/assets/card-CzXDit7x.js +1 -0
  25. package/dist/assets/circle-alert-Du9-4of0.js +6 -0
  26. package/dist/assets/circle-check-big-KaRyRsht.js +6 -0
  27. package/dist/assets/cpu-BnvjzmIA.js +6 -0
  28. package/dist/assets/create-organization-BHNFvE7B.js +1 -0
  29. package/dist/assets/dashboard-DDH4V91X.js +11 -0
  30. package/dist/assets/datasheet-DqKtWt-O.js +1 -0
  31. package/dist/assets/datasheets-4W6pEMf3.js +1 -0
  32. package/dist/assets/dev-login-CbHdDthp.js +1 -0
  33. package/dist/assets/editor-bqg9Yv91.js +1 -0
  34. package/dist/assets/editor_example_1-1000w.webp +0 -0
  35. package/dist/assets/editor_example_1-1200w.webp +0 -0
  36. package/dist/assets/editor_example_1-1600w.webp +0 -0
  37. package/dist/assets/editor_example_1-2000w.webp +0 -0
  38. package/dist/assets/editor_example_1-400w.webp +0 -0
  39. package/dist/assets/editor_example_1-600w.webp +0 -0
  40. package/dist/assets/editor_example_1-800w.webp +0 -0
  41. package/dist/assets/editor_example_1_more_square-1000w.webp +0 -0
  42. package/dist/assets/editor_example_1_more_square-1200w.webp +0 -0
  43. package/dist/assets/editor_example_1_more_square-1600w.webp +0 -0
  44. package/dist/assets/editor_example_1_more_square-2000w.webp +0 -0
  45. package/dist/assets/editor_example_1_more_square-400w.webp +0 -0
  46. package/dist/assets/editor_example_1_more_square-600w.webp +0 -0
  47. package/dist/assets/editor_example_1_more_square-800w.webp +0 -0
  48. package/dist/assets/editor_example_2-1000w.webp +0 -0
  49. package/dist/assets/editor_example_2-1200w.webp +0 -0
  50. package/dist/assets/editor_example_2-1600w.webp +0 -0
  51. package/dist/assets/editor_example_2-2000w.webp +0 -0
  52. package/dist/assets/editor_example_2-400w.webp +0 -0
  53. package/dist/assets/editor_example_2-600w.webp +0 -0
  54. package/dist/assets/editor_example_2-800w.webp +0 -0
  55. package/dist/assets/example_schematic-1000w.webp +0 -0
  56. package/dist/assets/example_schematic-1200w.webp +0 -0
  57. package/dist/assets/example_schematic-1600w.webp +0 -0
  58. package/dist/assets/example_schematic-2000w.webp +0 -0
  59. package/dist/assets/example_schematic-400w.webp +0 -0
  60. package/dist/assets/example_schematic-600w.webp +0 -0
  61. package/dist/assets/example_schematic-800w.webp +0 -0
  62. package/dist/assets/eye-B_NMTTT7.js +6 -0
  63. package/dist/assets/fallback-image.svg +1 -0
  64. package/dist/assets/favicon-BwEjZKGP.ico +0 -0
  65. package/dist/assets/formatTimeAgo-CawXna5h.js +6 -0
  66. package/dist/assets/github-DjKGjbX1.js +6 -0
  67. package/dist/assets/github-dark-DHJKELXO.js +1 -0
  68. package/dist/assets/github-light-DAi9KRSo.js +1 -0
  69. package/dist/assets/hash-DfKYpqTm.js +6 -0
  70. package/dist/assets/index-B17tE1vy.js +1 -0
  71. package/dist/assets/index-BQPj88OW.js +6051 -0
  72. package/dist/assets/index-DvNLZBaq.js +6 -0
  73. package/dist/assets/keyboard-4b_qLHIF.js +11 -0
  74. package/dist/assets/label-CTudXc4q.js +1 -0
  75. package/dist/assets/landing-Cjvvx-9q.js +11 -0
  76. package/dist/assets/latest-DMk4BmXW.js +1 -0
  77. package/dist/assets/layers-BJ1iwaVM.js +6 -0
  78. package/dist/assets/load-prettier-DgbV1Jgu.js +1 -0
  79. package/dist/assets/lock-BOZRJdUv.js +6 -0
  80. package/dist/assets/main-DPEM9abA.js +26 -0
  81. package/dist/assets/main-MTKdI4FA.css +1 -0
  82. package/dist/assets/my-orders-B7lEyNR9.js +1 -0
  83. package/dist/assets/organization-settings-rNvhYFgZ.js +6 -0
  84. package/dist/assets/package-editor-T4WIRP49.js +1 -0
  85. package/dist/assets/pen-D54fxNRf.js +6 -0
  86. package/dist/assets/plus-KkE_6Dq2.js +6 -0
  87. package/dist/assets/preview-release-DWhKHFWp.js +1 -0
  88. package/dist/assets/quickstart-WF3HR9Dc.js +1 -0
  89. package/dist/assets/refresh-cw-aWASTRku.js +6 -0
  90. package/dist/assets/release-builds-COa5ndHa.js +1 -0
  91. package/dist/assets/release-detail-iclJPUO-.js +6 -0
  92. package/dist/assets/releases-Clsyp-7n.js +1 -0
  93. package/dist/assets/role-badge-BGF_IMlO.js +16 -0
  94. package/dist/assets/search-CwH23pAU.js +1 -0
  95. package/dist/assets/select-BN8AF1J7.js +1 -0
  96. package/dist/assets/settings-B2bMEtS4.js +6 -0
  97. package/dist/assets/skeleton-DLAS40-y.js +1 -0
  98. package/dist/assets/svg-to-png-BX4YEHCP-JcDm8Hc5.js +1 -0
  99. package/dist/assets/svg-to-png-BX4YEHCP-pNo9Afg8.js +1 -0
  100. package/dist/assets/tabs-Ce0NFuwd.js +1 -0
  101. package/dist/assets/timeAgo-VY0F2EV9.js +10 -0
  102. package/dist/assets/tooltip-C1pwvC0K.js +11 -0
  103. package/dist/assets/trash-2-BW3eClHz.js +6 -0
  104. package/dist/assets/trending-C8246HGf.js +1 -0
  105. package/dist/assets/triangle-alert-BMIBEO1D.js +6 -0
  106. package/dist/assets/tsx-COt5Ahok.js +1 -0
  107. package/dist/assets/use-create-datasheet-B7TDsTUt.js +1 -0
  108. package/dist/assets/use-delete-package-DLKtoTOj.js +1 -0
  109. package/dist/assets/use-download-zip-CAOKjGXW.js +1 -0
  110. package/dist/assets/use-list-user-orgs-CgJIT7N4.js +1 -0
  111. package/dist/assets/use-organization-XwYYTFck.js +1 -0
  112. package/dist/assets/use-package-builds-Bx8rfxi1.js +1 -0
  113. package/dist/assets/use-package-by-package-name-1s1Pcarw.js +1 -0
  114. package/dist/assets/use-package-files-CmmWVuGn.js +1 -0
  115. package/dist/assets/use-package-release-by-id-or-version-BuuXcSZq.js +1 -0
  116. package/dist/assets/use-package-release-images-BMaZtvmk.js +1 -0
  117. package/dist/assets/use-packages-base-api-url-DA1hucM7.js +1 -0
  118. package/dist/assets/useQueries-BJ7Ue7HV.js +1 -0
  119. package/dist/assets/user-settings-BqO5FkMf.js +1 -0
  120. package/dist/assets/view-package-C-OvJr_Q.js +165 -0
  121. package/dist/assets/vitesse-light-CVO1_9PV.js +1 -0
  122. package/dist/assets/wasm-CG6Dc4jp.js +1 -0
  123. package/dist/index.html +127 -0
  124. package/dist/landing.html +34 -0
  125. package/dist/robots.txt +9 -0
  126. package/dist/sitemap.xml +118 -0
  127. package/dist/stats.html +4949 -0
  128. package/fake-snippets-api/lib/db/db-client.ts +89 -0
  129. package/fake-snippets-api/lib/db/schema.ts +29 -0
  130. package/fake-snippets-api/routes/api/bug_reports/create.ts +43 -0
  131. package/fake-snippets-api/routes/api/bug_reports/upload_file.ts +113 -0
  132. package/package.json +2 -2
  133. package/src/components/Header.tsx +16 -0
  134. package/src/components/PackageCard.tsx +7 -4
  135. package/src/components/PackageSearchResults.tsx +1 -7
  136. package/src/components/SearchComponent.tsx +64 -53
  137. package/src/components/TrendingPackagesCarousel.tsx +16 -23
  138. package/src/components/ViewPackagePage/components/mobile-sidebar.tsx +3 -2
  139. package/src/components/ViewPackagePage/components/preview-image-squares.tsx +6 -3
  140. package/src/hooks/use-preview-images.ts +22 -17
  141. package/src/hooks/useUpdatePackageFilesMutation.ts +8 -0
  142. package/src/lib/utils/getPackagePreviewImageUrl.ts +15 -0
  143. package/src/pages/dashboard.tsx +0 -1
  144. package/src/pages/editor.tsx +12 -9
  145. package/src/pages/organization-profile.tsx +0 -1
  146. package/src/pages/package-editor.tsx +13 -9
  147. package/src/pages/user-profile.tsx +0 -1
  148. package/dist/bundle.js +0 -9034
  149. package/dist/index.d.ts +0 -2065
  150. package/dist/index.js +0 -3737
  151. package/dist/schema.d.ts +0 -2972
  152. package/dist/schema.js +0 -426
  153. package/fake-snippets-api/bun.lockb +0 -0
package/dist/schema.d.ts DELETED
@@ -1,2972 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const errorSchema: z.ZodObject<{
4
- error_code: z.ZodString;
5
- message: z.ZodString;
6
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7
- error_code: z.ZodString;
8
- message: z.ZodString;
9
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10
- error_code: z.ZodString;
11
- message: z.ZodString;
12
- }, z.ZodTypeAny, "passthrough">>;
13
- declare const errorResponseSchema: z.ZodObject<{
14
- error: z.ZodObject<{
15
- error_code: z.ZodString;
16
- message: z.ZodString;
17
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18
- error_code: z.ZodString;
19
- message: z.ZodString;
20
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
21
- error_code: z.ZodString;
22
- message: z.ZodString;
23
- }, z.ZodTypeAny, "passthrough">>;
24
- }, "strip", z.ZodTypeAny, {
25
- error: {
26
- error_code: string;
27
- message: string;
28
- } & {
29
- [k: string]: unknown;
30
- };
31
- }, {
32
- error: {
33
- error_code: string;
34
- message: string;
35
- } & {
36
- [k: string]: unknown;
37
- };
38
- }>;
39
- declare const snippetSchema: z.ZodObject<{
40
- snippet_id: z.ZodString;
41
- package_release_id: z.ZodString;
42
- name: z.ZodString;
43
- unscoped_name: z.ZodString;
44
- owner_name: z.ZodString;
45
- is_starred: z.ZodDefault<z.ZodBoolean>;
46
- code: z.ZodString;
47
- dts: z.ZodOptional<z.ZodString>;
48
- compiled_js: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
- circuit_json: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
50
- manual_edits_json_content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
- created_at: z.ZodString;
52
- updated_at: z.ZodString;
53
- starred_at: z.ZodOptional<z.ZodString>;
54
- snippet_type: z.ZodEnum<["board", "package", "model", "footprint"]>;
55
- description: z.ZodOptional<z.ZodString>;
56
- version: z.ZodDefault<z.ZodString>;
57
- star_count: z.ZodDefault<z.ZodNumber>;
58
- is_private: z.ZodDefault<z.ZodBoolean>;
59
- is_public: z.ZodDefault<z.ZodBoolean>;
60
- is_unlisted: z.ZodDefault<z.ZodBoolean>;
61
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
- }, "strip", z.ZodTypeAny, {
63
- code: string;
64
- snippet_id: string;
65
- package_release_id: string;
66
- name: string;
67
- unscoped_name: string;
68
- owner_name: string;
69
- is_starred: boolean;
70
- created_at: string;
71
- updated_at: string;
72
- snippet_type: "board" | "package" | "model" | "footprint";
73
- version: string;
74
- star_count: number;
75
- is_private: boolean;
76
- is_public: boolean;
77
- is_unlisted: boolean;
78
- dts?: string | undefined;
79
- compiled_js?: string | null | undefined;
80
- circuit_json?: Record<string, any>[] | null | undefined;
81
- manual_edits_json_content?: string | null | undefined;
82
- starred_at?: string | undefined;
83
- description?: string | undefined;
84
- tags?: string[] | undefined;
85
- }, {
86
- code: string;
87
- snippet_id: string;
88
- package_release_id: string;
89
- name: string;
90
- unscoped_name: string;
91
- owner_name: string;
92
- created_at: string;
93
- updated_at: string;
94
- snippet_type: "board" | "package" | "model" | "footprint";
95
- is_starred?: boolean | undefined;
96
- dts?: string | undefined;
97
- compiled_js?: string | null | undefined;
98
- circuit_json?: Record<string, any>[] | null | undefined;
99
- manual_edits_json_content?: string | null | undefined;
100
- starred_at?: string | undefined;
101
- description?: string | undefined;
102
- version?: string | undefined;
103
- star_count?: number | undefined;
104
- is_private?: boolean | undefined;
105
- is_public?: boolean | undefined;
106
- is_unlisted?: boolean | undefined;
107
- tags?: string[] | undefined;
108
- }>;
109
- type Snippet = z.infer<typeof snippetSchema>;
110
- declare const sessionSchema: z.ZodObject<{
111
- session_id: z.ZodString;
112
- account_id: z.ZodString;
113
- expires_at: z.ZodString;
114
- is_cli_session: z.ZodBoolean;
115
- }, "strip", z.ZodTypeAny, {
116
- session_id: string;
117
- account_id: string;
118
- expires_at: string;
119
- is_cli_session: boolean;
120
- }, {
121
- session_id: string;
122
- account_id: string;
123
- expires_at: string;
124
- is_cli_session: boolean;
125
- }>;
126
- type Session = z.infer<typeof sessionSchema>;
127
- declare const loginPageSchema: z.ZodObject<{
128
- login_page_id: z.ZodString;
129
- login_page_auth_token: z.ZodString;
130
- was_login_successful: z.ZodBoolean;
131
- has_been_used_to_create_session: z.ZodBoolean;
132
- created_at: z.ZodString;
133
- expires_at: z.ZodString;
134
- }, "strip", z.ZodTypeAny, {
135
- created_at: string;
136
- expires_at: string;
137
- login_page_id: string;
138
- login_page_auth_token: string;
139
- was_login_successful: boolean;
140
- has_been_used_to_create_session: boolean;
141
- }, {
142
- created_at: string;
143
- expires_at: string;
144
- login_page_id: string;
145
- login_page_auth_token: string;
146
- was_login_successful: boolean;
147
- has_been_used_to_create_session: boolean;
148
- }>;
149
- type LoginPage = z.infer<typeof loginPageSchema>;
150
- declare const shippingInfoSchema: z.ZodObject<{
151
- firstName: z.ZodString;
152
- lastName: z.ZodString;
153
- companyName: z.ZodOptional<z.ZodString>;
154
- address: z.ZodString;
155
- apartment: z.ZodOptional<z.ZodString>;
156
- city: z.ZodString;
157
- state: z.ZodString;
158
- zipCode: z.ZodString;
159
- country: z.ZodString;
160
- phone: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- firstName: string;
163
- lastName: string;
164
- address: string;
165
- city: string;
166
- state: string;
167
- zipCode: string;
168
- country: string;
169
- phone: string;
170
- companyName?: string | undefined;
171
- apartment?: string | undefined;
172
- }, {
173
- firstName: string;
174
- lastName: string;
175
- address: string;
176
- city: string;
177
- state: string;
178
- zipCode: string;
179
- country: string;
180
- phone: string;
181
- companyName?: string | undefined;
182
- apartment?: string | undefined;
183
- }>;
184
- declare const accountSchema: z.ZodObject<{
185
- account_id: z.ZodString;
186
- github_username: z.ZodString;
187
- shippingInfo: z.ZodOptional<z.ZodObject<{
188
- firstName: z.ZodString;
189
- lastName: z.ZodString;
190
- companyName: z.ZodOptional<z.ZodString>;
191
- address: z.ZodString;
192
- apartment: z.ZodOptional<z.ZodString>;
193
- city: z.ZodString;
194
- state: z.ZodString;
195
- zipCode: z.ZodString;
196
- country: z.ZodString;
197
- phone: z.ZodString;
198
- }, "strip", z.ZodTypeAny, {
199
- firstName: string;
200
- lastName: string;
201
- address: string;
202
- city: string;
203
- state: string;
204
- zipCode: string;
205
- country: string;
206
- phone: string;
207
- companyName?: string | undefined;
208
- apartment?: string | undefined;
209
- }, {
210
- firstName: string;
211
- lastName: string;
212
- address: string;
213
- city: string;
214
- state: string;
215
- zipCode: string;
216
- country: string;
217
- phone: string;
218
- companyName?: string | undefined;
219
- apartment?: string | undefined;
220
- }>>;
221
- personal_org_id: z.ZodOptional<z.ZodString>;
222
- is_tscircuit_staff: z.ZodDefault<z.ZodBoolean>;
223
- }, "strip", z.ZodTypeAny, {
224
- account_id: string;
225
- github_username: string;
226
- is_tscircuit_staff: boolean;
227
- shippingInfo?: {
228
- firstName: string;
229
- lastName: string;
230
- address: string;
231
- city: string;
232
- state: string;
233
- zipCode: string;
234
- country: string;
235
- phone: string;
236
- companyName?: string | undefined;
237
- apartment?: string | undefined;
238
- } | undefined;
239
- personal_org_id?: string | undefined;
240
- }, {
241
- account_id: string;
242
- github_username: string;
243
- shippingInfo?: {
244
- firstName: string;
245
- lastName: string;
246
- address: string;
247
- city: string;
248
- state: string;
249
- zipCode: string;
250
- country: string;
251
- phone: string;
252
- companyName?: string | undefined;
253
- apartment?: string | undefined;
254
- } | undefined;
255
- personal_org_id?: string | undefined;
256
- is_tscircuit_staff?: boolean | undefined;
257
- }>;
258
- type Account = z.infer<typeof accountSchema>;
259
- declare const orderSchema: z.ZodObject<{
260
- order_id: z.ZodString;
261
- account_id: z.ZodNullable<z.ZodString>;
262
- is_running: z.ZodBoolean;
263
- is_started: z.ZodBoolean;
264
- is_finished: z.ZodBoolean;
265
- error: z.ZodNullable<z.ZodObject<{
266
- error_code: z.ZodString;
267
- message: z.ZodString;
268
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
269
- error_code: z.ZodString;
270
- message: z.ZodString;
271
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
272
- error_code: z.ZodString;
273
- message: z.ZodString;
274
- }, z.ZodTypeAny, "passthrough">>>;
275
- has_error: z.ZodBoolean;
276
- created_at: z.ZodString;
277
- started_at: z.ZodNullable<z.ZodString>;
278
- completed_at: z.ZodNullable<z.ZodString>;
279
- circuit_json: z.ZodAny;
280
- }, "strip", z.ZodTypeAny, {
281
- error: z.objectOutputType<{
282
- error_code: z.ZodString;
283
- message: z.ZodString;
284
- }, z.ZodTypeAny, "passthrough"> | null;
285
- created_at: string;
286
- account_id: string | null;
287
- order_id: string;
288
- is_running: boolean;
289
- is_started: boolean;
290
- is_finished: boolean;
291
- has_error: boolean;
292
- started_at: string | null;
293
- completed_at: string | null;
294
- circuit_json?: any;
295
- }, {
296
- error: z.objectInputType<{
297
- error_code: z.ZodString;
298
- message: z.ZodString;
299
- }, z.ZodTypeAny, "passthrough"> | null;
300
- created_at: string;
301
- account_id: string | null;
302
- order_id: string;
303
- is_running: boolean;
304
- is_started: boolean;
305
- is_finished: boolean;
306
- has_error: boolean;
307
- started_at: string | null;
308
- completed_at: string | null;
309
- circuit_json?: any;
310
- }>;
311
- type Order = z.infer<typeof orderSchema>;
312
- declare const orderFileSchema: z.ZodObject<{
313
- order_file_id: z.ZodString;
314
- order_id: z.ZodString;
315
- is_gerbers_zip: z.ZodBoolean;
316
- content_type: z.ZodString;
317
- for_provider: z.ZodNullable<z.ZodString>;
318
- uploaded_at: z.ZodString;
319
- content_text: z.ZodNullable<z.ZodString>;
320
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
321
- }, "strip", z.ZodTypeAny, {
322
- order_id: string;
323
- order_file_id: string;
324
- is_gerbers_zip: boolean;
325
- content_type: string;
326
- for_provider: string | null;
327
- uploaded_at: string;
328
- content_text: string | null;
329
- content_bytes: Uint8Array<ArrayBuffer> | null;
330
- }, {
331
- order_id: string;
332
- order_file_id: string;
333
- is_gerbers_zip: boolean;
334
- content_type: string;
335
- for_provider: string | null;
336
- uploaded_at: string;
337
- content_text: string | null;
338
- content_bytes: Uint8Array<ArrayBuffer> | null;
339
- }>;
340
- type OrderFile = z.infer<typeof orderFileSchema>;
341
- declare const shippingOptionSchema: z.ZodObject<{
342
- carrier: z.ZodString;
343
- service: z.ZodString;
344
- cost: z.ZodNumber;
345
- }, "strip", z.ZodTypeAny, {
346
- carrier: string;
347
- service: string;
348
- cost: number;
349
- }, {
350
- carrier: string;
351
- service: string;
352
- cost: number;
353
- }>;
354
- type ShippingOption = z.infer<typeof shippingOptionSchema>;
355
- declare const quotedComponentSchema: z.ZodObject<{
356
- manufacturer_part_number: z.ZodNullable<z.ZodString>;
357
- supplier_part_number: z.ZodNullable<z.ZodString>;
358
- quantity: z.ZodDefault<z.ZodNumber>;
359
- unit_price: z.ZodDefault<z.ZodNumber>;
360
- total_price: z.ZodDefault<z.ZodNumber>;
361
- available: z.ZodDefault<z.ZodBoolean>;
362
- }, "strip", z.ZodTypeAny, {
363
- manufacturer_part_number: string | null;
364
- supplier_part_number: string | null;
365
- quantity: number;
366
- unit_price: number;
367
- total_price: number;
368
- available: boolean;
369
- }, {
370
- manufacturer_part_number: string | null;
371
- supplier_part_number: string | null;
372
- quantity?: number | undefined;
373
- unit_price?: number | undefined;
374
- total_price?: number | undefined;
375
- available?: boolean | undefined;
376
- }>;
377
- type QuotedComponent = z.infer<typeof quotedComponentSchema>;
378
- declare const orderQuoteSchema: z.ZodObject<{
379
- order_quote_id: z.ZodString;
380
- account_id: z.ZodNullable<z.ZodString>;
381
- package_release_id: z.ZodNullable<z.ZodString>;
382
- is_completed: z.ZodDefault<z.ZodBoolean>;
383
- is_processing: z.ZodDefault<z.ZodBoolean>;
384
- vendor_name: z.ZodString;
385
- error: z.ZodNullable<z.ZodObject<{
386
- error_code: z.ZodString;
387
- message: z.ZodString;
388
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
389
- error_code: z.ZodString;
390
- message: z.ZodString;
391
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
392
- error_code: z.ZodString;
393
- message: z.ZodString;
394
- }, z.ZodTypeAny, "passthrough">>>;
395
- has_error: z.ZodDefault<z.ZodBoolean>;
396
- created_at: z.ZodString;
397
- updated_at: z.ZodString;
398
- completed_at: z.ZodNullable<z.ZodString>;
399
- quoted_components: z.ZodNullable<z.ZodArray<z.ZodObject<{
400
- manufacturer_part_number: z.ZodNullable<z.ZodString>;
401
- supplier_part_number: z.ZodNullable<z.ZodString>;
402
- quantity: z.ZodDefault<z.ZodNumber>;
403
- unit_price: z.ZodDefault<z.ZodNumber>;
404
- total_price: z.ZodDefault<z.ZodNumber>;
405
- available: z.ZodDefault<z.ZodBoolean>;
406
- }, "strip", z.ZodTypeAny, {
407
- manufacturer_part_number: string | null;
408
- supplier_part_number: string | null;
409
- quantity: number;
410
- unit_price: number;
411
- total_price: number;
412
- available: boolean;
413
- }, {
414
- manufacturer_part_number: string | null;
415
- supplier_part_number: string | null;
416
- quantity?: number | undefined;
417
- unit_price?: number | undefined;
418
- total_price?: number | undefined;
419
- available?: boolean | undefined;
420
- }>, "many">>;
421
- bare_pcb_cost: z.ZodDefault<z.ZodNumber>;
422
- shipping_options: z.ZodArray<z.ZodObject<{
423
- carrier: z.ZodString;
424
- service: z.ZodString;
425
- cost: z.ZodNumber;
426
- }, "strip", z.ZodTypeAny, {
427
- carrier: string;
428
- service: string;
429
- cost: number;
430
- }, {
431
- carrier: string;
432
- service: string;
433
- cost: number;
434
- }>, "many">;
435
- total_cost_without_shipping: z.ZodDefault<z.ZodNumber>;
436
- }, "strip", z.ZodTypeAny, {
437
- error: z.objectOutputType<{
438
- error_code: z.ZodString;
439
- message: z.ZodString;
440
- }, z.ZodTypeAny, "passthrough"> | null;
441
- package_release_id: string | null;
442
- created_at: string;
443
- updated_at: string;
444
- account_id: string | null;
445
- has_error: boolean;
446
- completed_at: string | null;
447
- order_quote_id: string;
448
- is_completed: boolean;
449
- is_processing: boolean;
450
- vendor_name: string;
451
- quoted_components: {
452
- manufacturer_part_number: string | null;
453
- supplier_part_number: string | null;
454
- quantity: number;
455
- unit_price: number;
456
- total_price: number;
457
- available: boolean;
458
- }[] | null;
459
- bare_pcb_cost: number;
460
- shipping_options: {
461
- carrier: string;
462
- service: string;
463
- cost: number;
464
- }[];
465
- total_cost_without_shipping: number;
466
- }, {
467
- error: z.objectInputType<{
468
- error_code: z.ZodString;
469
- message: z.ZodString;
470
- }, z.ZodTypeAny, "passthrough"> | null;
471
- package_release_id: string | null;
472
- created_at: string;
473
- updated_at: string;
474
- account_id: string | null;
475
- completed_at: string | null;
476
- order_quote_id: string;
477
- vendor_name: string;
478
- quoted_components: {
479
- manufacturer_part_number: string | null;
480
- supplier_part_number: string | null;
481
- quantity?: number | undefined;
482
- unit_price?: number | undefined;
483
- total_price?: number | undefined;
484
- available?: boolean | undefined;
485
- }[] | null;
486
- shipping_options: {
487
- carrier: string;
488
- service: string;
489
- cost: number;
490
- }[];
491
- has_error?: boolean | undefined;
492
- is_completed?: boolean | undefined;
493
- is_processing?: boolean | undefined;
494
- bare_pcb_cost?: number | undefined;
495
- total_cost_without_shipping?: number | undefined;
496
- }>;
497
- type OrderQuote = z.infer<typeof orderQuoteSchema>;
498
- declare const aiReviewSchema: z.ZodObject<{
499
- ai_review_id: z.ZodString;
500
- package_release_id: z.ZodOptional<z.ZodString>;
501
- ai_review_text: z.ZodNullable<z.ZodString>;
502
- start_processing_at: z.ZodNullable<z.ZodString>;
503
- finished_processing_at: z.ZodNullable<z.ZodString>;
504
- processing_error: z.ZodNullable<z.ZodAny>;
505
- created_at: z.ZodString;
506
- display_status: z.ZodEnum<["pending", "completed", "failed"]>;
507
- }, "strip", z.ZodTypeAny, {
508
- created_at: string;
509
- ai_review_id: string;
510
- ai_review_text: string | null;
511
- start_processing_at: string | null;
512
- finished_processing_at: string | null;
513
- display_status: "pending" | "completed" | "failed";
514
- package_release_id?: string | undefined;
515
- processing_error?: any;
516
- }, {
517
- created_at: string;
518
- ai_review_id: string;
519
- ai_review_text: string | null;
520
- start_processing_at: string | null;
521
- finished_processing_at: string | null;
522
- display_status: "pending" | "completed" | "failed";
523
- package_release_id?: string | undefined;
524
- processing_error?: any;
525
- }>;
526
- type AiReview = z.infer<typeof aiReviewSchema>;
527
- declare const datasheetPinInformationSchema: z.ZodObject<{
528
- pin_number: z.ZodString;
529
- name: z.ZodString;
530
- description: z.ZodString;
531
- capabilities: z.ZodArray<z.ZodString, "many">;
532
- }, "strip", z.ZodTypeAny, {
533
- name: string;
534
- description: string;
535
- pin_number: string;
536
- capabilities: string[];
537
- }, {
538
- name: string;
539
- description: string;
540
- pin_number: string;
541
- capabilities: string[];
542
- }>;
543
- declare const datasheetSchema: z.ZodObject<{
544
- datasheet_id: z.ZodString;
545
- chip_name: z.ZodString;
546
- created_at: z.ZodString;
547
- pin_information: z.ZodNullable<z.ZodArray<z.ZodObject<{
548
- pin_number: z.ZodString;
549
- name: z.ZodString;
550
- description: z.ZodString;
551
- capabilities: z.ZodArray<z.ZodString, "many">;
552
- }, "strip", z.ZodTypeAny, {
553
- name: string;
554
- description: string;
555
- pin_number: string;
556
- capabilities: string[];
557
- }, {
558
- name: string;
559
- description: string;
560
- pin_number: string;
561
- capabilities: string[];
562
- }>, "many">>;
563
- datasheet_pdf_urls: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
564
- ai_description: z.ZodNullable<z.ZodString>;
565
- }, "strip", z.ZodTypeAny, {
566
- created_at: string;
567
- datasheet_id: string;
568
- chip_name: string;
569
- pin_information: {
570
- name: string;
571
- description: string;
572
- pin_number: string;
573
- capabilities: string[];
574
- }[] | null;
575
- datasheet_pdf_urls: string[] | null;
576
- ai_description: string | null;
577
- }, {
578
- created_at: string;
579
- datasheet_id: string;
580
- chip_name: string;
581
- pin_information: {
582
- name: string;
583
- description: string;
584
- pin_number: string;
585
- capabilities: string[];
586
- }[] | null;
587
- datasheet_pdf_urls: string[] | null;
588
- ai_description: string | null;
589
- }>;
590
- type Datasheet = z.infer<typeof datasheetSchema>;
591
- declare const githubInstallationSchema: z.ZodObject<{
592
- github_installation_id: z.ZodString;
593
- account_id: z.ZodString;
594
- installation_id: z.ZodString;
595
- github_username: z.ZodString;
596
- created_at: z.ZodString;
597
- updated_at: z.ZodString;
598
- is_active: z.ZodDefault<z.ZodBoolean>;
599
- access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
- access_token_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
601
- }, "strip", z.ZodTypeAny, {
602
- created_at: string;
603
- updated_at: string;
604
- account_id: string;
605
- github_username: string;
606
- github_installation_id: string;
607
- installation_id: string;
608
- is_active: boolean;
609
- access_token?: string | null | undefined;
610
- access_token_expires_at?: string | null | undefined;
611
- }, {
612
- created_at: string;
613
- updated_at: string;
614
- account_id: string;
615
- github_username: string;
616
- github_installation_id: string;
617
- installation_id: string;
618
- is_active?: boolean | undefined;
619
- access_token?: string | null | undefined;
620
- access_token_expires_at?: string | null | undefined;
621
- }>;
622
- type GithubInstallation = z.infer<typeof githubInstallationSchema>;
623
- declare const accountSnippetSchema: z.ZodObject<{
624
- account_id: z.ZodString;
625
- snippet_id: z.ZodString;
626
- has_starred: z.ZodBoolean;
627
- created_at: z.ZodString;
628
- updated_at: z.ZodString;
629
- }, "strip", z.ZodTypeAny, {
630
- snippet_id: string;
631
- created_at: string;
632
- updated_at: string;
633
- account_id: string;
634
- has_starred: boolean;
635
- }, {
636
- snippet_id: string;
637
- created_at: string;
638
- updated_at: string;
639
- account_id: string;
640
- has_starred: boolean;
641
- }>;
642
- type AccountSnippet = z.infer<typeof accountSnippetSchema>;
643
- declare const accountPackageSchema: z.ZodObject<{
644
- account_package_id: z.ZodString;
645
- account_id: z.ZodString;
646
- package_id: z.ZodString;
647
- is_starred: z.ZodBoolean;
648
- created_at: z.ZodString;
649
- updated_at: z.ZodString;
650
- }, "strip", z.ZodTypeAny, {
651
- is_starred: boolean;
652
- created_at: string;
653
- updated_at: string;
654
- account_id: string;
655
- account_package_id: string;
656
- package_id: string;
657
- }, {
658
- is_starred: boolean;
659
- created_at: string;
660
- updated_at: string;
661
- account_id: string;
662
- account_package_id: string;
663
- package_id: string;
664
- }>;
665
- type AccountPackage = z.infer<typeof accountPackageSchema>;
666
- declare const packageReleaseSchema: z.ZodObject<{
667
- package_release_id: z.ZodString;
668
- package_id: z.ZodString;
669
- version: z.ZodNullable<z.ZodString>;
670
- is_locked: z.ZodBoolean;
671
- is_latest: z.ZodBoolean;
672
- created_at: z.ZodString;
673
- commit_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
674
- license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
675
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
- circuit_json_build_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
677
- has_transpiled: z.ZodDefault<z.ZodBoolean>;
678
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
- fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
680
- display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
681
- total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
682
- transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
683
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
684
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
685
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
686
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
687
- transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
688
- circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
689
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
690
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
691
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
692
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
693
- circuit_json_build_is_stale: z.ZodDefault<z.ZodBoolean>;
694
- image_generation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
695
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
696
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
698
- image_generation_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
699
- image_generation_is_stale: z.ZodDefault<z.ZodBoolean>;
700
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
- image_generation_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
702
- ai_review_text: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
703
- ai_review_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
704
- ai_review_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
705
- ai_review_error: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
706
- ai_review_logs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
707
- ai_review_requested: z.ZodDefault<z.ZodBoolean>;
708
- is_pr_preview: z.ZodDefault<z.ZodBoolean>;
709
- github_pr_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
710
- latest_package_build_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
711
- branch_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
- commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
- commit_author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
- pcb_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
715
- sch_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
716
- cad_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
717
- }, "strip", z.ZodTypeAny, {
718
- package_release_id: string;
719
- created_at: string;
720
- version: string | null;
721
- display_status: "error" | "pending" | "building" | "complete";
722
- package_id: string;
723
- is_locked: boolean;
724
- is_latest: boolean;
725
- has_transpiled: boolean;
726
- transpilation_display_status: "error" | "pending" | "building" | "complete";
727
- transpilation_in_progress: boolean;
728
- transpilation_logs: any[];
729
- transpilation_is_stale: boolean;
730
- circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
731
- circuit_json_build_in_progress: boolean;
732
- circuit_json_build_logs: any[];
733
- circuit_json_build_is_stale: boolean;
734
- image_generation_display_status: "error" | "pending" | "building" | "complete";
735
- image_generation_in_progress: boolean;
736
- image_generation_logs: any[] | null;
737
- image_generation_is_stale: boolean;
738
- ai_review_requested: boolean;
739
- is_pr_preview: boolean;
740
- pcb_preview_image_url: string | null;
741
- sch_preview_image_url: string | null;
742
- cad_preview_image_url: string | null;
743
- ai_review_text?: string | null | undefined;
744
- commit_sha?: string | null | undefined;
745
- license?: string | null | undefined;
746
- circuit_json_build_error?: string | null | undefined;
747
- circuit_json_build_error_last_updated_at?: string | null | undefined;
748
- transpilation_error?: string | null | undefined;
749
- fs_sha?: string | null | undefined;
750
- total_build_duration_ms?: number | null | undefined;
751
- transpilation_started_at?: string | null | undefined;
752
- transpilation_completed_at?: string | null | undefined;
753
- circuit_json_build_started_at?: string | null | undefined;
754
- circuit_json_build_completed_at?: string | null | undefined;
755
- image_generation_started_at?: string | null | undefined;
756
- image_generation_completed_at?: string | null | undefined;
757
- image_generation_error?: string | null | undefined;
758
- image_generation_error_last_updated_at?: string | null | undefined;
759
- ai_review_started_at?: string | null | undefined;
760
- ai_review_completed_at?: string | null | undefined;
761
- ai_review_error?: any;
762
- ai_review_logs?: any[] | null | undefined;
763
- github_pr_number?: number | null | undefined;
764
- latest_package_build_id?: string | null | undefined;
765
- branch_name?: string | null | undefined;
766
- commit_message?: string | null | undefined;
767
- commit_author?: string | null | undefined;
768
- }, {
769
- package_release_id: string;
770
- created_at: string;
771
- version: string | null;
772
- package_id: string;
773
- is_locked: boolean;
774
- is_latest: boolean;
775
- ai_review_text?: string | null | undefined;
776
- display_status?: "error" | "pending" | "building" | "complete" | undefined;
777
- commit_sha?: string | null | undefined;
778
- license?: string | null | undefined;
779
- circuit_json_build_error?: string | null | undefined;
780
- circuit_json_build_error_last_updated_at?: string | null | undefined;
781
- has_transpiled?: boolean | undefined;
782
- transpilation_error?: string | null | undefined;
783
- fs_sha?: string | null | undefined;
784
- total_build_duration_ms?: number | null | undefined;
785
- transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
786
- transpilation_in_progress?: boolean | undefined;
787
- transpilation_started_at?: string | null | undefined;
788
- transpilation_completed_at?: string | null | undefined;
789
- transpilation_logs?: any[] | undefined;
790
- transpilation_is_stale?: boolean | undefined;
791
- circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
792
- circuit_json_build_in_progress?: boolean | undefined;
793
- circuit_json_build_started_at?: string | null | undefined;
794
- circuit_json_build_completed_at?: string | null | undefined;
795
- circuit_json_build_logs?: any[] | undefined;
796
- circuit_json_build_is_stale?: boolean | undefined;
797
- image_generation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
798
- image_generation_in_progress?: boolean | undefined;
799
- image_generation_started_at?: string | null | undefined;
800
- image_generation_completed_at?: string | null | undefined;
801
- image_generation_logs?: any[] | null | undefined;
802
- image_generation_is_stale?: boolean | undefined;
803
- image_generation_error?: string | null | undefined;
804
- image_generation_error_last_updated_at?: string | null | undefined;
805
- ai_review_started_at?: string | null | undefined;
806
- ai_review_completed_at?: string | null | undefined;
807
- ai_review_error?: any;
808
- ai_review_logs?: any[] | null | undefined;
809
- ai_review_requested?: boolean | undefined;
810
- is_pr_preview?: boolean | undefined;
811
- github_pr_number?: number | null | undefined;
812
- latest_package_build_id?: string | null | undefined;
813
- branch_name?: string | null | undefined;
814
- commit_message?: string | null | undefined;
815
- commit_author?: string | null | undefined;
816
- pcb_preview_image_url?: string | null | undefined;
817
- sch_preview_image_url?: string | null | undefined;
818
- cad_preview_image_url?: string | null | undefined;
819
- }>;
820
- type PackageRelease = z.infer<typeof packageReleaseSchema>;
821
- declare const packageFileSchema: z.ZodObject<{
822
- package_file_id: z.ZodString;
823
- package_release_id: z.ZodString;
824
- file_path: z.ZodString;
825
- content_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
826
- created_at: z.ZodString;
827
- content_mimetype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
828
- is_release_tarball: z.ZodOptional<z.ZodBoolean>;
829
- npm_pack_output: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
830
- }, "strip", z.ZodTypeAny, {
831
- package_release_id: string;
832
- created_at: string;
833
- package_file_id: string;
834
- file_path: string;
835
- content_text?: string | null | undefined;
836
- content_mimetype?: string | null | undefined;
837
- is_release_tarball?: boolean | undefined;
838
- npm_pack_output?: any;
839
- }, {
840
- package_release_id: string;
841
- created_at: string;
842
- package_file_id: string;
843
- file_path: string;
844
- content_text?: string | null | undefined;
845
- content_mimetype?: string | null | undefined;
846
- is_release_tarball?: boolean | undefined;
847
- npm_pack_output?: any;
848
- }>;
849
- type PackageFile = z.infer<typeof packageFileSchema>;
850
- declare const packageSchema: z.ZodObject<{
851
- package_id: z.ZodString;
852
- creator_account_id: z.ZodString;
853
- owner_org_id: z.ZodString;
854
- owner_github_username: z.ZodNullable<z.ZodString>;
855
- github_repo_full_name: z.ZodNullable<z.ZodString>;
856
- name: z.ZodString;
857
- unscoped_name: z.ZodString;
858
- description: z.ZodNullable<z.ZodString>;
859
- created_at: z.ZodString;
860
- updated_at: z.ZodString;
861
- is_snippet: z.ZodDefault<z.ZodBoolean>;
862
- is_board: z.ZodDefault<z.ZodBoolean>;
863
- is_package: z.ZodDefault<z.ZodBoolean>;
864
- is_model: z.ZodDefault<z.ZodBoolean>;
865
- is_footprint: z.ZodDefault<z.ZodBoolean>;
866
- is_private: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
867
- is_public: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
868
- is_unlisted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
869
- is_source_from_github: z.ZodDefault<z.ZodBoolean>;
870
- snippet_type: z.ZodOptional<z.ZodEnum<["board", "package", "model", "footprint"]>>;
871
- latest_package_release_id: z.ZodNullable<z.ZodString>;
872
- latest_version: z.ZodNullable<z.ZodString>;
873
- license: z.ZodNullable<z.ZodString>;
874
- website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
875
- star_count: z.ZodDefault<z.ZodNumber>;
876
- ai_description: z.ZodNullable<z.ZodString>;
877
- latest_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
- ai_usage_instructions: z.ZodNullable<z.ZodString>;
879
- latest_package_release_fs_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
880
- default_view: z.ZodOptional<z.ZodDefault<z.ZodEnum<["files", "3d", "pcb", "schematic"]>>>;
881
- allow_pr_previews: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
882
- is_starred: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
883
- latest_pcb_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
- latest_sch_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
- latest_cad_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
- }, "strip", z.ZodTypeAny, {
887
- name: string;
888
- unscoped_name: string;
889
- created_at: string;
890
- updated_at: string;
891
- description: string | null;
892
- star_count: number;
893
- is_private: boolean | null;
894
- is_public: boolean | null;
895
- is_unlisted: boolean | null;
896
- ai_description: string | null;
897
- package_id: string;
898
- license: string | null;
899
- creator_account_id: string;
900
- owner_org_id: string;
901
- owner_github_username: string | null;
902
- github_repo_full_name: string | null;
903
- is_snippet: boolean;
904
- is_board: boolean;
905
- is_package: boolean;
906
- is_model: boolean;
907
- is_footprint: boolean;
908
- is_source_from_github: boolean;
909
- latest_package_release_id: string | null;
910
- latest_version: string | null;
911
- website: string | null;
912
- ai_usage_instructions: string | null;
913
- latest_package_release_fs_sha: string | null;
914
- is_starred?: boolean | undefined;
915
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
916
- latest_license?: string | null | undefined;
917
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
918
- allow_pr_previews?: boolean | undefined;
919
- latest_pcb_preview_image_url?: string | null | undefined;
920
- latest_sch_preview_image_url?: string | null | undefined;
921
- latest_cad_preview_image_url?: string | null | undefined;
922
- }, {
923
- name: string;
924
- unscoped_name: string;
925
- created_at: string;
926
- updated_at: string;
927
- description: string | null;
928
- ai_description: string | null;
929
- package_id: string;
930
- license: string | null;
931
- creator_account_id: string;
932
- owner_org_id: string;
933
- owner_github_username: string | null;
934
- github_repo_full_name: string | null;
935
- latest_package_release_id: string | null;
936
- latest_version: string | null;
937
- ai_usage_instructions: string | null;
938
- is_starred?: boolean | undefined;
939
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
940
- star_count?: number | undefined;
941
- is_private?: boolean | null | undefined;
942
- is_public?: boolean | null | undefined;
943
- is_unlisted?: boolean | null | undefined;
944
- is_snippet?: boolean | undefined;
945
- is_board?: boolean | undefined;
946
- is_package?: boolean | undefined;
947
- is_model?: boolean | undefined;
948
- is_footprint?: boolean | undefined;
949
- is_source_from_github?: boolean | undefined;
950
- website?: string | null | undefined;
951
- latest_license?: string | null | undefined;
952
- latest_package_release_fs_sha?: string | null | undefined;
953
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
954
- allow_pr_previews?: boolean | undefined;
955
- latest_pcb_preview_image_url?: string | null | undefined;
956
- latest_sch_preview_image_url?: string | null | undefined;
957
- latest_cad_preview_image_url?: string | null | undefined;
958
- }>;
959
- type Package = z.infer<typeof packageSchema>;
960
- declare const jlcpcbOrderStateSchema: z.ZodObject<{
961
- jlcpcb_order_state_id: z.ZodString;
962
- order_id: z.ZodString;
963
- are_gerbers_uploaded: z.ZodDefault<z.ZodBoolean>;
964
- is_gerber_analyzed: z.ZodDefault<z.ZodBoolean>;
965
- are_initial_costs_calculated: z.ZodDefault<z.ZodBoolean>;
966
- is_pcb_added_to_cart: z.ZodDefault<z.ZodBoolean>;
967
- is_bom_uploaded: z.ZodDefault<z.ZodBoolean>;
968
- is_pnp_uploaded: z.ZodDefault<z.ZodBoolean>;
969
- is_bom_pnp_analyzed: z.ZodDefault<z.ZodBoolean>;
970
- is_bom_parsing_complete: z.ZodDefault<z.ZodBoolean>;
971
- are_components_available: z.ZodDefault<z.ZodBoolean>;
972
- is_patch_map_generated: z.ZodDefault<z.ZodBoolean>;
973
- is_json_merge_file_created: z.ZodDefault<z.ZodBoolean>;
974
- is_dfm_result_generated: z.ZodDefault<z.ZodBoolean>;
975
- are_files_downloaded: z.ZodDefault<z.ZodBoolean>;
976
- are_product_categories_fetched: z.ZodDefault<z.ZodBoolean>;
977
- are_final_costs_calculated: z.ZodDefault<z.ZodBoolean>;
978
- is_json_merge_file_updated: z.ZodDefault<z.ZodBoolean>;
979
- is_added_to_cart: z.ZodDefault<z.ZodBoolean>;
980
- uploaded_gerber_metadata: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
981
- gerber_analysis: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
982
- created_at: z.ZodString;
983
- are_gerbers_generated: z.ZodDefault<z.ZodBoolean>;
984
- current_step: z.ZodDefault<z.ZodNullable<z.ZodString>>;
985
- }, "strip", z.ZodTypeAny, {
986
- created_at: string;
987
- order_id: string;
988
- jlcpcb_order_state_id: string;
989
- are_gerbers_uploaded: boolean;
990
- is_gerber_analyzed: boolean;
991
- are_initial_costs_calculated: boolean;
992
- is_pcb_added_to_cart: boolean;
993
- is_bom_uploaded: boolean;
994
- is_pnp_uploaded: boolean;
995
- is_bom_pnp_analyzed: boolean;
996
- is_bom_parsing_complete: boolean;
997
- are_components_available: boolean;
998
- is_patch_map_generated: boolean;
999
- is_json_merge_file_created: boolean;
1000
- is_dfm_result_generated: boolean;
1001
- are_files_downloaded: boolean;
1002
- are_product_categories_fetched: boolean;
1003
- are_final_costs_calculated: boolean;
1004
- is_json_merge_file_updated: boolean;
1005
- is_added_to_cart: boolean;
1006
- are_gerbers_generated: boolean;
1007
- current_step: string | null;
1008
- uploaded_gerber_metadata?: any;
1009
- gerber_analysis?: any;
1010
- }, {
1011
- created_at: string;
1012
- order_id: string;
1013
- jlcpcb_order_state_id: string;
1014
- are_gerbers_uploaded?: boolean | undefined;
1015
- is_gerber_analyzed?: boolean | undefined;
1016
- are_initial_costs_calculated?: boolean | undefined;
1017
- is_pcb_added_to_cart?: boolean | undefined;
1018
- is_bom_uploaded?: boolean | undefined;
1019
- is_pnp_uploaded?: boolean | undefined;
1020
- is_bom_pnp_analyzed?: boolean | undefined;
1021
- is_bom_parsing_complete?: boolean | undefined;
1022
- are_components_available?: boolean | undefined;
1023
- is_patch_map_generated?: boolean | undefined;
1024
- is_json_merge_file_created?: boolean | undefined;
1025
- is_dfm_result_generated?: boolean | undefined;
1026
- are_files_downloaded?: boolean | undefined;
1027
- are_product_categories_fetched?: boolean | undefined;
1028
- are_final_costs_calculated?: boolean | undefined;
1029
- is_json_merge_file_updated?: boolean | undefined;
1030
- is_added_to_cart?: boolean | undefined;
1031
- uploaded_gerber_metadata?: any;
1032
- gerber_analysis?: any;
1033
- are_gerbers_generated?: boolean | undefined;
1034
- current_step?: string | null | undefined;
1035
- }>;
1036
- type JlcpcbOrderState = z.infer<typeof jlcpcbOrderStateSchema>;
1037
- declare const jlcpcbOrderStepRunSchema: z.ZodObject<{
1038
- jlcpcb_order_step_run_id: z.ZodString;
1039
- is_running: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1040
- step_function_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1041
- jlcpcb_order_state_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1042
- error_message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1043
- created_at: z.ZodString;
1044
- }, "strip", z.ZodTypeAny, {
1045
- created_at: string;
1046
- is_running: boolean | null;
1047
- jlcpcb_order_state_id: string | null;
1048
- jlcpcb_order_step_run_id: string;
1049
- step_function_name: string | null;
1050
- error_message: string | null;
1051
- }, {
1052
- created_at: string;
1053
- jlcpcb_order_step_run_id: string;
1054
- is_running?: boolean | null | undefined;
1055
- jlcpcb_order_state_id?: string | null | undefined;
1056
- step_function_name?: string | null | undefined;
1057
- error_message?: string | null | undefined;
1058
- }>;
1059
- type JlcpcbOrderStepRun = z.infer<typeof jlcpcbOrderStepRunSchema>;
1060
- declare const packageBuildSchema: z.ZodObject<{
1061
- package_build_id: z.ZodString;
1062
- package_release_id: z.ZodString;
1063
- created_at: z.ZodString;
1064
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
1065
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1066
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1067
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1068
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
1070
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1073
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1074
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
1075
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1076
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
- image_generation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1078
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
- build_in_progress: z.ZodDefault<z.ZodBoolean>;
1080
- build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
- build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
- build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
- build_error_last_updated_at: z.ZodString;
1084
- preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
- build_logs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
- }, "strip", z.ZodTypeAny, {
1087
- package_release_id: string;
1088
- created_at: string;
1089
- transpilation_in_progress: boolean;
1090
- transpilation_logs: any[];
1091
- circuit_json_build_in_progress: boolean;
1092
- circuit_json_build_logs: any[];
1093
- image_generation_in_progress: boolean;
1094
- image_generation_logs: any[];
1095
- package_build_id: string;
1096
- build_in_progress: boolean;
1097
- build_error_last_updated_at: string;
1098
- circuit_json_build_error?: string | null | undefined;
1099
- transpilation_error?: string | null | undefined;
1100
- transpilation_started_at?: string | null | undefined;
1101
- transpilation_completed_at?: string | null | undefined;
1102
- circuit_json_build_started_at?: string | null | undefined;
1103
- circuit_json_build_completed_at?: string | null | undefined;
1104
- image_generation_started_at?: string | null | undefined;
1105
- image_generation_completed_at?: string | null | undefined;
1106
- image_generation_error?: string | null | undefined;
1107
- build_started_at?: string | null | undefined;
1108
- build_completed_at?: string | null | undefined;
1109
- build_error?: string | null | undefined;
1110
- preview_url?: string | null | undefined;
1111
- build_logs?: string | null | undefined;
1112
- }, {
1113
- package_release_id: string;
1114
- created_at: string;
1115
- package_build_id: string;
1116
- build_error_last_updated_at: string;
1117
- circuit_json_build_error?: string | null | undefined;
1118
- transpilation_error?: string | null | undefined;
1119
- transpilation_in_progress?: boolean | undefined;
1120
- transpilation_started_at?: string | null | undefined;
1121
- transpilation_completed_at?: string | null | undefined;
1122
- transpilation_logs?: any[] | undefined;
1123
- circuit_json_build_in_progress?: boolean | undefined;
1124
- circuit_json_build_started_at?: string | null | undefined;
1125
- circuit_json_build_completed_at?: string | null | undefined;
1126
- circuit_json_build_logs?: any[] | undefined;
1127
- image_generation_in_progress?: boolean | undefined;
1128
- image_generation_started_at?: string | null | undefined;
1129
- image_generation_completed_at?: string | null | undefined;
1130
- image_generation_logs?: any[] | undefined;
1131
- image_generation_error?: string | null | undefined;
1132
- build_in_progress?: boolean | undefined;
1133
- build_started_at?: string | null | undefined;
1134
- build_completed_at?: string | null | undefined;
1135
- build_error?: string | null | undefined;
1136
- preview_url?: string | null | undefined;
1137
- build_logs?: string | null | undefined;
1138
- }>;
1139
- type PackageBuild = z.infer<typeof packageBuildSchema>;
1140
- declare const orgSchema: z.ZodObject<{
1141
- org_id: z.ZodString;
1142
- github_handle: z.ZodOptional<z.ZodString>;
1143
- owner_account_id: z.ZodString;
1144
- is_personal_org: z.ZodDefault<z.ZodBoolean>;
1145
- created_at: z.ZodString;
1146
- org_display_name: z.ZodOptional<z.ZodString>;
1147
- org_name: z.ZodString;
1148
- }, "strip", z.ZodTypeAny, {
1149
- created_at: string;
1150
- org_id: string;
1151
- owner_account_id: string;
1152
- is_personal_org: boolean;
1153
- org_name: string;
1154
- github_handle?: string | undefined;
1155
- org_display_name?: string | undefined;
1156
- }, {
1157
- created_at: string;
1158
- org_id: string;
1159
- owner_account_id: string;
1160
- org_name: string;
1161
- github_handle?: string | undefined;
1162
- is_personal_org?: boolean | undefined;
1163
- org_display_name?: string | undefined;
1164
- }>;
1165
- type Organization = z.infer<typeof orgSchema>;
1166
- declare const orgAccountSchema: z.ZodObject<{
1167
- org_account_id: z.ZodString;
1168
- org_id: z.ZodString;
1169
- account_id: z.ZodString;
1170
- is_owner: z.ZodDefault<z.ZodBoolean>;
1171
- created_at: z.ZodString;
1172
- }, "strip", z.ZodTypeAny, {
1173
- created_at: string;
1174
- account_id: string;
1175
- org_id: string;
1176
- org_account_id: string;
1177
- is_owner: boolean;
1178
- }, {
1179
- created_at: string;
1180
- account_id: string;
1181
- org_id: string;
1182
- org_account_id: string;
1183
- is_owner?: boolean | undefined;
1184
- }>;
1185
- type OrgAccount = z.infer<typeof orgAccountSchema>;
1186
- declare const userPermissionsSchema: z.ZodObject<{
1187
- can_manage_org: z.ZodOptional<z.ZodBoolean>;
1188
- can_manage_package: z.ZodOptional<z.ZodBoolean>;
1189
- }, "strip", z.ZodTypeAny, {
1190
- can_manage_org?: boolean | undefined;
1191
- can_manage_package?: boolean | undefined;
1192
- }, {
1193
- can_manage_org?: boolean | undefined;
1194
- can_manage_package?: boolean | undefined;
1195
- }>;
1196
- type UserPermissions = z.infer<typeof userPermissionsSchema>;
1197
- declare const publicOrgSchema: z.ZodObject<{
1198
- org_id: z.ZodString;
1199
- owner_account_id: z.ZodString;
1200
- name: z.ZodNullable<z.ZodString>;
1201
- member_count: z.ZodNumber;
1202
- is_personal_org: z.ZodBoolean;
1203
- display_name: z.ZodOptional<z.ZodString>;
1204
- package_count: z.ZodNumber;
1205
- github_handle: z.ZodOptional<z.ZodString>;
1206
- created_at: z.ZodString;
1207
- user_permissions: z.ZodOptional<z.ZodObject<{
1208
- can_manage_org: z.ZodOptional<z.ZodBoolean>;
1209
- can_manage_package: z.ZodOptional<z.ZodBoolean>;
1210
- }, "strip", z.ZodTypeAny, {
1211
- can_manage_org?: boolean | undefined;
1212
- can_manage_package?: boolean | undefined;
1213
- }, {
1214
- can_manage_org?: boolean | undefined;
1215
- can_manage_package?: boolean | undefined;
1216
- }>>;
1217
- }, "strip", z.ZodTypeAny, {
1218
- name: string | null;
1219
- created_at: string;
1220
- org_id: string;
1221
- owner_account_id: string;
1222
- is_personal_org: boolean;
1223
- member_count: number;
1224
- package_count: number;
1225
- github_handle?: string | undefined;
1226
- display_name?: string | undefined;
1227
- user_permissions?: {
1228
- can_manage_org?: boolean | undefined;
1229
- can_manage_package?: boolean | undefined;
1230
- } | undefined;
1231
- }, {
1232
- name: string | null;
1233
- created_at: string;
1234
- org_id: string;
1235
- owner_account_id: string;
1236
- is_personal_org: boolean;
1237
- member_count: number;
1238
- package_count: number;
1239
- github_handle?: string | undefined;
1240
- display_name?: string | undefined;
1241
- user_permissions?: {
1242
- can_manage_org?: boolean | undefined;
1243
- can_manage_package?: boolean | undefined;
1244
- } | undefined;
1245
- }>;
1246
- type PublicOrgSchema = z.infer<typeof publicOrgSchema>;
1247
- declare const databaseSchema: z.ZodObject<{
1248
- idCounter: z.ZodDefault<z.ZodNumber>;
1249
- snippets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1250
- snippet_id: z.ZodString;
1251
- package_release_id: z.ZodString;
1252
- name: z.ZodString;
1253
- unscoped_name: z.ZodString;
1254
- owner_name: z.ZodString;
1255
- is_starred: z.ZodDefault<z.ZodBoolean>;
1256
- code: z.ZodString;
1257
- dts: z.ZodOptional<z.ZodString>;
1258
- compiled_js: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1259
- circuit_json: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1260
- manual_edits_json_content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1261
- created_at: z.ZodString;
1262
- updated_at: z.ZodString;
1263
- starred_at: z.ZodOptional<z.ZodString>;
1264
- snippet_type: z.ZodEnum<["board", "package", "model", "footprint"]>;
1265
- description: z.ZodOptional<z.ZodString>;
1266
- version: z.ZodDefault<z.ZodString>;
1267
- star_count: z.ZodDefault<z.ZodNumber>;
1268
- is_private: z.ZodDefault<z.ZodBoolean>;
1269
- is_public: z.ZodDefault<z.ZodBoolean>;
1270
- is_unlisted: z.ZodDefault<z.ZodBoolean>;
1271
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1272
- }, "strip", z.ZodTypeAny, {
1273
- code: string;
1274
- snippet_id: string;
1275
- package_release_id: string;
1276
- name: string;
1277
- unscoped_name: string;
1278
- owner_name: string;
1279
- is_starred: boolean;
1280
- created_at: string;
1281
- updated_at: string;
1282
- snippet_type: "board" | "package" | "model" | "footprint";
1283
- version: string;
1284
- star_count: number;
1285
- is_private: boolean;
1286
- is_public: boolean;
1287
- is_unlisted: boolean;
1288
- dts?: string | undefined;
1289
- compiled_js?: string | null | undefined;
1290
- circuit_json?: Record<string, any>[] | null | undefined;
1291
- manual_edits_json_content?: string | null | undefined;
1292
- starred_at?: string | undefined;
1293
- description?: string | undefined;
1294
- tags?: string[] | undefined;
1295
- }, {
1296
- code: string;
1297
- snippet_id: string;
1298
- package_release_id: string;
1299
- name: string;
1300
- unscoped_name: string;
1301
- owner_name: string;
1302
- created_at: string;
1303
- updated_at: string;
1304
- snippet_type: "board" | "package" | "model" | "footprint";
1305
- is_starred?: boolean | undefined;
1306
- dts?: string | undefined;
1307
- compiled_js?: string | null | undefined;
1308
- circuit_json?: Record<string, any>[] | null | undefined;
1309
- manual_edits_json_content?: string | null | undefined;
1310
- starred_at?: string | undefined;
1311
- description?: string | undefined;
1312
- version?: string | undefined;
1313
- star_count?: number | undefined;
1314
- is_private?: boolean | undefined;
1315
- is_public?: boolean | undefined;
1316
- is_unlisted?: boolean | undefined;
1317
- tags?: string[] | undefined;
1318
- }>, "many">>;
1319
- packageReleases: z.ZodDefault<z.ZodArray<z.ZodObject<{
1320
- package_release_id: z.ZodString;
1321
- package_id: z.ZodString;
1322
- version: z.ZodNullable<z.ZodString>;
1323
- is_locked: z.ZodBoolean;
1324
- is_latest: z.ZodBoolean;
1325
- created_at: z.ZodString;
1326
- commit_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1327
- license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1328
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1329
- circuit_json_build_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1330
- has_transpiled: z.ZodDefault<z.ZodBoolean>;
1331
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1332
- fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1333
- display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1334
- total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1335
- transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1336
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
1337
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1338
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1339
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1340
- transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
1341
- circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1342
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
1343
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1344
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1345
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1346
- circuit_json_build_is_stale: z.ZodDefault<z.ZodBoolean>;
1347
- image_generation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1348
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
1349
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1350
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1351
- image_generation_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
1352
- image_generation_is_stale: z.ZodDefault<z.ZodBoolean>;
1353
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1354
- image_generation_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1355
- ai_review_text: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1356
- ai_review_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1357
- ai_review_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1358
- ai_review_error: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1359
- ai_review_logs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
1360
- ai_review_requested: z.ZodDefault<z.ZodBoolean>;
1361
- is_pr_preview: z.ZodDefault<z.ZodBoolean>;
1362
- github_pr_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1363
- latest_package_build_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1364
- branch_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1365
- commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1366
- commit_author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1367
- pcb_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1368
- sch_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1369
- cad_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1370
- }, "strip", z.ZodTypeAny, {
1371
- package_release_id: string;
1372
- created_at: string;
1373
- version: string | null;
1374
- display_status: "error" | "pending" | "building" | "complete";
1375
- package_id: string;
1376
- is_locked: boolean;
1377
- is_latest: boolean;
1378
- has_transpiled: boolean;
1379
- transpilation_display_status: "error" | "pending" | "building" | "complete";
1380
- transpilation_in_progress: boolean;
1381
- transpilation_logs: any[];
1382
- transpilation_is_stale: boolean;
1383
- circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
1384
- circuit_json_build_in_progress: boolean;
1385
- circuit_json_build_logs: any[];
1386
- circuit_json_build_is_stale: boolean;
1387
- image_generation_display_status: "error" | "pending" | "building" | "complete";
1388
- image_generation_in_progress: boolean;
1389
- image_generation_logs: any[] | null;
1390
- image_generation_is_stale: boolean;
1391
- ai_review_requested: boolean;
1392
- is_pr_preview: boolean;
1393
- pcb_preview_image_url: string | null;
1394
- sch_preview_image_url: string | null;
1395
- cad_preview_image_url: string | null;
1396
- ai_review_text?: string | null | undefined;
1397
- commit_sha?: string | null | undefined;
1398
- license?: string | null | undefined;
1399
- circuit_json_build_error?: string | null | undefined;
1400
- circuit_json_build_error_last_updated_at?: string | null | undefined;
1401
- transpilation_error?: string | null | undefined;
1402
- fs_sha?: string | null | undefined;
1403
- total_build_duration_ms?: number | null | undefined;
1404
- transpilation_started_at?: string | null | undefined;
1405
- transpilation_completed_at?: string | null | undefined;
1406
- circuit_json_build_started_at?: string | null | undefined;
1407
- circuit_json_build_completed_at?: string | null | undefined;
1408
- image_generation_started_at?: string | null | undefined;
1409
- image_generation_completed_at?: string | null | undefined;
1410
- image_generation_error?: string | null | undefined;
1411
- image_generation_error_last_updated_at?: string | null | undefined;
1412
- ai_review_started_at?: string | null | undefined;
1413
- ai_review_completed_at?: string | null | undefined;
1414
- ai_review_error?: any;
1415
- ai_review_logs?: any[] | null | undefined;
1416
- github_pr_number?: number | null | undefined;
1417
- latest_package_build_id?: string | null | undefined;
1418
- branch_name?: string | null | undefined;
1419
- commit_message?: string | null | undefined;
1420
- commit_author?: string | null | undefined;
1421
- }, {
1422
- package_release_id: string;
1423
- created_at: string;
1424
- version: string | null;
1425
- package_id: string;
1426
- is_locked: boolean;
1427
- is_latest: boolean;
1428
- ai_review_text?: string | null | undefined;
1429
- display_status?: "error" | "pending" | "building" | "complete" | undefined;
1430
- commit_sha?: string | null | undefined;
1431
- license?: string | null | undefined;
1432
- circuit_json_build_error?: string | null | undefined;
1433
- circuit_json_build_error_last_updated_at?: string | null | undefined;
1434
- has_transpiled?: boolean | undefined;
1435
- transpilation_error?: string | null | undefined;
1436
- fs_sha?: string | null | undefined;
1437
- total_build_duration_ms?: number | null | undefined;
1438
- transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1439
- transpilation_in_progress?: boolean | undefined;
1440
- transpilation_started_at?: string | null | undefined;
1441
- transpilation_completed_at?: string | null | undefined;
1442
- transpilation_logs?: any[] | undefined;
1443
- transpilation_is_stale?: boolean | undefined;
1444
- circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1445
- circuit_json_build_in_progress?: boolean | undefined;
1446
- circuit_json_build_started_at?: string | null | undefined;
1447
- circuit_json_build_completed_at?: string | null | undefined;
1448
- circuit_json_build_logs?: any[] | undefined;
1449
- circuit_json_build_is_stale?: boolean | undefined;
1450
- image_generation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1451
- image_generation_in_progress?: boolean | undefined;
1452
- image_generation_started_at?: string | null | undefined;
1453
- image_generation_completed_at?: string | null | undefined;
1454
- image_generation_logs?: any[] | null | undefined;
1455
- image_generation_is_stale?: boolean | undefined;
1456
- image_generation_error?: string | null | undefined;
1457
- image_generation_error_last_updated_at?: string | null | undefined;
1458
- ai_review_started_at?: string | null | undefined;
1459
- ai_review_completed_at?: string | null | undefined;
1460
- ai_review_error?: any;
1461
- ai_review_logs?: any[] | null | undefined;
1462
- ai_review_requested?: boolean | undefined;
1463
- is_pr_preview?: boolean | undefined;
1464
- github_pr_number?: number | null | undefined;
1465
- latest_package_build_id?: string | null | undefined;
1466
- branch_name?: string | null | undefined;
1467
- commit_message?: string | null | undefined;
1468
- commit_author?: string | null | undefined;
1469
- pcb_preview_image_url?: string | null | undefined;
1470
- sch_preview_image_url?: string | null | undefined;
1471
- cad_preview_image_url?: string | null | undefined;
1472
- }>, "many">>;
1473
- packageFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
1474
- package_file_id: z.ZodString;
1475
- package_release_id: z.ZodString;
1476
- file_path: z.ZodString;
1477
- content_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1478
- created_at: z.ZodString;
1479
- content_mimetype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1480
- is_release_tarball: z.ZodOptional<z.ZodBoolean>;
1481
- npm_pack_output: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1482
- }, "strip", z.ZodTypeAny, {
1483
- package_release_id: string;
1484
- created_at: string;
1485
- package_file_id: string;
1486
- file_path: string;
1487
- content_text?: string | null | undefined;
1488
- content_mimetype?: string | null | undefined;
1489
- is_release_tarball?: boolean | undefined;
1490
- npm_pack_output?: any;
1491
- }, {
1492
- package_release_id: string;
1493
- created_at: string;
1494
- package_file_id: string;
1495
- file_path: string;
1496
- content_text?: string | null | undefined;
1497
- content_mimetype?: string | null | undefined;
1498
- is_release_tarball?: boolean | undefined;
1499
- npm_pack_output?: any;
1500
- }>, "many">>;
1501
- sessions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1502
- session_id: z.ZodString;
1503
- account_id: z.ZodString;
1504
- expires_at: z.ZodString;
1505
- is_cli_session: z.ZodBoolean;
1506
- }, "strip", z.ZodTypeAny, {
1507
- session_id: string;
1508
- account_id: string;
1509
- expires_at: string;
1510
- is_cli_session: boolean;
1511
- }, {
1512
- session_id: string;
1513
- account_id: string;
1514
- expires_at: string;
1515
- is_cli_session: boolean;
1516
- }>, "many">>;
1517
- loginPages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1518
- login_page_id: z.ZodString;
1519
- login_page_auth_token: z.ZodString;
1520
- was_login_successful: z.ZodBoolean;
1521
- has_been_used_to_create_session: z.ZodBoolean;
1522
- created_at: z.ZodString;
1523
- expires_at: z.ZodString;
1524
- }, "strip", z.ZodTypeAny, {
1525
- created_at: string;
1526
- expires_at: string;
1527
- login_page_id: string;
1528
- login_page_auth_token: string;
1529
- was_login_successful: boolean;
1530
- has_been_used_to_create_session: boolean;
1531
- }, {
1532
- created_at: string;
1533
- expires_at: string;
1534
- login_page_id: string;
1535
- login_page_auth_token: string;
1536
- was_login_successful: boolean;
1537
- has_been_used_to_create_session: boolean;
1538
- }>, "many">>;
1539
- accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1540
- account_id: z.ZodString;
1541
- github_username: z.ZodString;
1542
- shippingInfo: z.ZodOptional<z.ZodObject<{
1543
- firstName: z.ZodString;
1544
- lastName: z.ZodString;
1545
- companyName: z.ZodOptional<z.ZodString>;
1546
- address: z.ZodString;
1547
- apartment: z.ZodOptional<z.ZodString>;
1548
- city: z.ZodString;
1549
- state: z.ZodString;
1550
- zipCode: z.ZodString;
1551
- country: z.ZodString;
1552
- phone: z.ZodString;
1553
- }, "strip", z.ZodTypeAny, {
1554
- firstName: string;
1555
- lastName: string;
1556
- address: string;
1557
- city: string;
1558
- state: string;
1559
- zipCode: string;
1560
- country: string;
1561
- phone: string;
1562
- companyName?: string | undefined;
1563
- apartment?: string | undefined;
1564
- }, {
1565
- firstName: string;
1566
- lastName: string;
1567
- address: string;
1568
- city: string;
1569
- state: string;
1570
- zipCode: string;
1571
- country: string;
1572
- phone: string;
1573
- companyName?: string | undefined;
1574
- apartment?: string | undefined;
1575
- }>>;
1576
- personal_org_id: z.ZodOptional<z.ZodString>;
1577
- is_tscircuit_staff: z.ZodDefault<z.ZodBoolean>;
1578
- }, "strip", z.ZodTypeAny, {
1579
- account_id: string;
1580
- github_username: string;
1581
- is_tscircuit_staff: boolean;
1582
- shippingInfo?: {
1583
- firstName: string;
1584
- lastName: string;
1585
- address: string;
1586
- city: string;
1587
- state: string;
1588
- zipCode: string;
1589
- country: string;
1590
- phone: string;
1591
- companyName?: string | undefined;
1592
- apartment?: string | undefined;
1593
- } | undefined;
1594
- personal_org_id?: string | undefined;
1595
- }, {
1596
- account_id: string;
1597
- github_username: string;
1598
- shippingInfo?: {
1599
- firstName: string;
1600
- lastName: string;
1601
- address: string;
1602
- city: string;
1603
- state: string;
1604
- zipCode: string;
1605
- country: string;
1606
- phone: string;
1607
- companyName?: string | undefined;
1608
- apartment?: string | undefined;
1609
- } | undefined;
1610
- personal_org_id?: string | undefined;
1611
- is_tscircuit_staff?: boolean | undefined;
1612
- }>, "many">>;
1613
- packages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1614
- package_id: z.ZodString;
1615
- creator_account_id: z.ZodString;
1616
- owner_org_id: z.ZodString;
1617
- owner_github_username: z.ZodNullable<z.ZodString>;
1618
- github_repo_full_name: z.ZodNullable<z.ZodString>;
1619
- name: z.ZodString;
1620
- unscoped_name: z.ZodString;
1621
- description: z.ZodNullable<z.ZodString>;
1622
- created_at: z.ZodString;
1623
- updated_at: z.ZodString;
1624
- is_snippet: z.ZodDefault<z.ZodBoolean>;
1625
- is_board: z.ZodDefault<z.ZodBoolean>;
1626
- is_package: z.ZodDefault<z.ZodBoolean>;
1627
- is_model: z.ZodDefault<z.ZodBoolean>;
1628
- is_footprint: z.ZodDefault<z.ZodBoolean>;
1629
- is_private: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1630
- is_public: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1631
- is_unlisted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1632
- is_source_from_github: z.ZodDefault<z.ZodBoolean>;
1633
- snippet_type: z.ZodOptional<z.ZodEnum<["board", "package", "model", "footprint"]>>;
1634
- latest_package_release_id: z.ZodNullable<z.ZodString>;
1635
- latest_version: z.ZodNullable<z.ZodString>;
1636
- license: z.ZodNullable<z.ZodString>;
1637
- website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1638
- star_count: z.ZodDefault<z.ZodNumber>;
1639
- ai_description: z.ZodNullable<z.ZodString>;
1640
- latest_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1641
- ai_usage_instructions: z.ZodNullable<z.ZodString>;
1642
- latest_package_release_fs_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1643
- default_view: z.ZodOptional<z.ZodDefault<z.ZodEnum<["files", "3d", "pcb", "schematic"]>>>;
1644
- allow_pr_previews: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1645
- is_starred: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1646
- latest_pcb_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1647
- latest_sch_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
- latest_cad_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
- }, "strip", z.ZodTypeAny, {
1650
- name: string;
1651
- unscoped_name: string;
1652
- created_at: string;
1653
- updated_at: string;
1654
- description: string | null;
1655
- star_count: number;
1656
- is_private: boolean | null;
1657
- is_public: boolean | null;
1658
- is_unlisted: boolean | null;
1659
- ai_description: string | null;
1660
- package_id: string;
1661
- license: string | null;
1662
- creator_account_id: string;
1663
- owner_org_id: string;
1664
- owner_github_username: string | null;
1665
- github_repo_full_name: string | null;
1666
- is_snippet: boolean;
1667
- is_board: boolean;
1668
- is_package: boolean;
1669
- is_model: boolean;
1670
- is_footprint: boolean;
1671
- is_source_from_github: boolean;
1672
- latest_package_release_id: string | null;
1673
- latest_version: string | null;
1674
- website: string | null;
1675
- ai_usage_instructions: string | null;
1676
- latest_package_release_fs_sha: string | null;
1677
- is_starred?: boolean | undefined;
1678
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
1679
- latest_license?: string | null | undefined;
1680
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
1681
- allow_pr_previews?: boolean | undefined;
1682
- latest_pcb_preview_image_url?: string | null | undefined;
1683
- latest_sch_preview_image_url?: string | null | undefined;
1684
- latest_cad_preview_image_url?: string | null | undefined;
1685
- }, {
1686
- name: string;
1687
- unscoped_name: string;
1688
- created_at: string;
1689
- updated_at: string;
1690
- description: string | null;
1691
- ai_description: string | null;
1692
- package_id: string;
1693
- license: string | null;
1694
- creator_account_id: string;
1695
- owner_org_id: string;
1696
- owner_github_username: string | null;
1697
- github_repo_full_name: string | null;
1698
- latest_package_release_id: string | null;
1699
- latest_version: string | null;
1700
- ai_usage_instructions: string | null;
1701
- is_starred?: boolean | undefined;
1702
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
1703
- star_count?: number | undefined;
1704
- is_private?: boolean | null | undefined;
1705
- is_public?: boolean | null | undefined;
1706
- is_unlisted?: boolean | null | undefined;
1707
- is_snippet?: boolean | undefined;
1708
- is_board?: boolean | undefined;
1709
- is_package?: boolean | undefined;
1710
- is_model?: boolean | undefined;
1711
- is_footprint?: boolean | undefined;
1712
- is_source_from_github?: boolean | undefined;
1713
- website?: string | null | undefined;
1714
- latest_license?: string | null | undefined;
1715
- latest_package_release_fs_sha?: string | null | undefined;
1716
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
1717
- allow_pr_previews?: boolean | undefined;
1718
- latest_pcb_preview_image_url?: string | null | undefined;
1719
- latest_sch_preview_image_url?: string | null | undefined;
1720
- latest_cad_preview_image_url?: string | null | undefined;
1721
- }>, "many">>;
1722
- orders: z.ZodDefault<z.ZodArray<z.ZodObject<{
1723
- order_id: z.ZodString;
1724
- account_id: z.ZodNullable<z.ZodString>;
1725
- is_running: z.ZodBoolean;
1726
- is_started: z.ZodBoolean;
1727
- is_finished: z.ZodBoolean;
1728
- error: z.ZodNullable<z.ZodObject<{
1729
- error_code: z.ZodString;
1730
- message: z.ZodString;
1731
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1732
- error_code: z.ZodString;
1733
- message: z.ZodString;
1734
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1735
- error_code: z.ZodString;
1736
- message: z.ZodString;
1737
- }, z.ZodTypeAny, "passthrough">>>;
1738
- has_error: z.ZodBoolean;
1739
- created_at: z.ZodString;
1740
- started_at: z.ZodNullable<z.ZodString>;
1741
- completed_at: z.ZodNullable<z.ZodString>;
1742
- circuit_json: z.ZodAny;
1743
- }, "strip", z.ZodTypeAny, {
1744
- error: z.objectOutputType<{
1745
- error_code: z.ZodString;
1746
- message: z.ZodString;
1747
- }, z.ZodTypeAny, "passthrough"> | null;
1748
- created_at: string;
1749
- account_id: string | null;
1750
- order_id: string;
1751
- is_running: boolean;
1752
- is_started: boolean;
1753
- is_finished: boolean;
1754
- has_error: boolean;
1755
- started_at: string | null;
1756
- completed_at: string | null;
1757
- circuit_json?: any;
1758
- }, {
1759
- error: z.objectInputType<{
1760
- error_code: z.ZodString;
1761
- message: z.ZodString;
1762
- }, z.ZodTypeAny, "passthrough"> | null;
1763
- created_at: string;
1764
- account_id: string | null;
1765
- order_id: string;
1766
- is_running: boolean;
1767
- is_started: boolean;
1768
- is_finished: boolean;
1769
- has_error: boolean;
1770
- started_at: string | null;
1771
- completed_at: string | null;
1772
- circuit_json?: any;
1773
- }>, "many">>;
1774
- organizations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1775
- org_id: z.ZodString;
1776
- github_handle: z.ZodOptional<z.ZodString>;
1777
- owner_account_id: z.ZodString;
1778
- is_personal_org: z.ZodDefault<z.ZodBoolean>;
1779
- created_at: z.ZodString;
1780
- org_display_name: z.ZodOptional<z.ZodString>;
1781
- org_name: z.ZodString;
1782
- }, "strip", z.ZodTypeAny, {
1783
- created_at: string;
1784
- org_id: string;
1785
- owner_account_id: string;
1786
- is_personal_org: boolean;
1787
- org_name: string;
1788
- github_handle?: string | undefined;
1789
- org_display_name?: string | undefined;
1790
- }, {
1791
- created_at: string;
1792
- org_id: string;
1793
- owner_account_id: string;
1794
- org_name: string;
1795
- github_handle?: string | undefined;
1796
- is_personal_org?: boolean | undefined;
1797
- org_display_name?: string | undefined;
1798
- }>, "many">>;
1799
- orgAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1800
- org_account_id: z.ZodString;
1801
- org_id: z.ZodString;
1802
- account_id: z.ZodString;
1803
- is_owner: z.ZodDefault<z.ZodBoolean>;
1804
- created_at: z.ZodString;
1805
- }, "strip", z.ZodTypeAny, {
1806
- created_at: string;
1807
- account_id: string;
1808
- org_id: string;
1809
- org_account_id: string;
1810
- is_owner: boolean;
1811
- }, {
1812
- created_at: string;
1813
- account_id: string;
1814
- org_id: string;
1815
- org_account_id: string;
1816
- is_owner?: boolean | undefined;
1817
- }>, "many">>;
1818
- orderFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
1819
- order_file_id: z.ZodString;
1820
- order_id: z.ZodString;
1821
- is_gerbers_zip: z.ZodBoolean;
1822
- content_type: z.ZodString;
1823
- for_provider: z.ZodNullable<z.ZodString>;
1824
- uploaded_at: z.ZodString;
1825
- content_text: z.ZodNullable<z.ZodString>;
1826
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
1827
- }, "strip", z.ZodTypeAny, {
1828
- order_id: string;
1829
- order_file_id: string;
1830
- is_gerbers_zip: boolean;
1831
- content_type: string;
1832
- for_provider: string | null;
1833
- uploaded_at: string;
1834
- content_text: string | null;
1835
- content_bytes: Uint8Array<ArrayBuffer> | null;
1836
- }, {
1837
- order_id: string;
1838
- order_file_id: string;
1839
- is_gerbers_zip: boolean;
1840
- content_type: string;
1841
- for_provider: string | null;
1842
- uploaded_at: string;
1843
- content_text: string | null;
1844
- content_bytes: Uint8Array<ArrayBuffer> | null;
1845
- }>, "many">>;
1846
- accountSnippets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1847
- account_id: z.ZodString;
1848
- snippet_id: z.ZodString;
1849
- has_starred: z.ZodBoolean;
1850
- created_at: z.ZodString;
1851
- updated_at: z.ZodString;
1852
- }, "strip", z.ZodTypeAny, {
1853
- snippet_id: string;
1854
- created_at: string;
1855
- updated_at: string;
1856
- account_id: string;
1857
- has_starred: boolean;
1858
- }, {
1859
- snippet_id: string;
1860
- created_at: string;
1861
- updated_at: string;
1862
- account_id: string;
1863
- has_starred: boolean;
1864
- }>, "many">>;
1865
- accountPackages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1866
- account_package_id: z.ZodString;
1867
- account_id: z.ZodString;
1868
- package_id: z.ZodString;
1869
- is_starred: z.ZodBoolean;
1870
- created_at: z.ZodString;
1871
- updated_at: z.ZodString;
1872
- }, "strip", z.ZodTypeAny, {
1873
- is_starred: boolean;
1874
- created_at: string;
1875
- updated_at: string;
1876
- account_id: string;
1877
- account_package_id: string;
1878
- package_id: string;
1879
- }, {
1880
- is_starred: boolean;
1881
- created_at: string;
1882
- updated_at: string;
1883
- account_id: string;
1884
- account_package_id: string;
1885
- package_id: string;
1886
- }>, "many">>;
1887
- jlcpcbOrderState: z.ZodDefault<z.ZodArray<z.ZodObject<{
1888
- jlcpcb_order_state_id: z.ZodString;
1889
- order_id: z.ZodString;
1890
- are_gerbers_uploaded: z.ZodDefault<z.ZodBoolean>;
1891
- is_gerber_analyzed: z.ZodDefault<z.ZodBoolean>;
1892
- are_initial_costs_calculated: z.ZodDefault<z.ZodBoolean>;
1893
- is_pcb_added_to_cart: z.ZodDefault<z.ZodBoolean>;
1894
- is_bom_uploaded: z.ZodDefault<z.ZodBoolean>;
1895
- is_pnp_uploaded: z.ZodDefault<z.ZodBoolean>;
1896
- is_bom_pnp_analyzed: z.ZodDefault<z.ZodBoolean>;
1897
- is_bom_parsing_complete: z.ZodDefault<z.ZodBoolean>;
1898
- are_components_available: z.ZodDefault<z.ZodBoolean>;
1899
- is_patch_map_generated: z.ZodDefault<z.ZodBoolean>;
1900
- is_json_merge_file_created: z.ZodDefault<z.ZodBoolean>;
1901
- is_dfm_result_generated: z.ZodDefault<z.ZodBoolean>;
1902
- are_files_downloaded: z.ZodDefault<z.ZodBoolean>;
1903
- are_product_categories_fetched: z.ZodDefault<z.ZodBoolean>;
1904
- are_final_costs_calculated: z.ZodDefault<z.ZodBoolean>;
1905
- is_json_merge_file_updated: z.ZodDefault<z.ZodBoolean>;
1906
- is_added_to_cart: z.ZodDefault<z.ZodBoolean>;
1907
- uploaded_gerber_metadata: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
1908
- gerber_analysis: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
1909
- created_at: z.ZodString;
1910
- are_gerbers_generated: z.ZodDefault<z.ZodBoolean>;
1911
- current_step: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1912
- }, "strip", z.ZodTypeAny, {
1913
- created_at: string;
1914
- order_id: string;
1915
- jlcpcb_order_state_id: string;
1916
- are_gerbers_uploaded: boolean;
1917
- is_gerber_analyzed: boolean;
1918
- are_initial_costs_calculated: boolean;
1919
- is_pcb_added_to_cart: boolean;
1920
- is_bom_uploaded: boolean;
1921
- is_pnp_uploaded: boolean;
1922
- is_bom_pnp_analyzed: boolean;
1923
- is_bom_parsing_complete: boolean;
1924
- are_components_available: boolean;
1925
- is_patch_map_generated: boolean;
1926
- is_json_merge_file_created: boolean;
1927
- is_dfm_result_generated: boolean;
1928
- are_files_downloaded: boolean;
1929
- are_product_categories_fetched: boolean;
1930
- are_final_costs_calculated: boolean;
1931
- is_json_merge_file_updated: boolean;
1932
- is_added_to_cart: boolean;
1933
- are_gerbers_generated: boolean;
1934
- current_step: string | null;
1935
- uploaded_gerber_metadata?: any;
1936
- gerber_analysis?: any;
1937
- }, {
1938
- created_at: string;
1939
- order_id: string;
1940
- jlcpcb_order_state_id: string;
1941
- are_gerbers_uploaded?: boolean | undefined;
1942
- is_gerber_analyzed?: boolean | undefined;
1943
- are_initial_costs_calculated?: boolean | undefined;
1944
- is_pcb_added_to_cart?: boolean | undefined;
1945
- is_bom_uploaded?: boolean | undefined;
1946
- is_pnp_uploaded?: boolean | undefined;
1947
- is_bom_pnp_analyzed?: boolean | undefined;
1948
- is_bom_parsing_complete?: boolean | undefined;
1949
- are_components_available?: boolean | undefined;
1950
- is_patch_map_generated?: boolean | undefined;
1951
- is_json_merge_file_created?: boolean | undefined;
1952
- is_dfm_result_generated?: boolean | undefined;
1953
- are_files_downloaded?: boolean | undefined;
1954
- are_product_categories_fetched?: boolean | undefined;
1955
- are_final_costs_calculated?: boolean | undefined;
1956
- is_json_merge_file_updated?: boolean | undefined;
1957
- is_added_to_cart?: boolean | undefined;
1958
- uploaded_gerber_metadata?: any;
1959
- gerber_analysis?: any;
1960
- are_gerbers_generated?: boolean | undefined;
1961
- current_step?: string | null | undefined;
1962
- }>, "many">>;
1963
- jlcpcbOrderStepRuns: z.ZodDefault<z.ZodArray<z.ZodObject<{
1964
- jlcpcb_order_step_run_id: z.ZodString;
1965
- is_running: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1966
- step_function_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1967
- jlcpcb_order_state_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1968
- error_message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1969
- created_at: z.ZodString;
1970
- }, "strip", z.ZodTypeAny, {
1971
- created_at: string;
1972
- is_running: boolean | null;
1973
- jlcpcb_order_state_id: string | null;
1974
- jlcpcb_order_step_run_id: string;
1975
- step_function_name: string | null;
1976
- error_message: string | null;
1977
- }, {
1978
- created_at: string;
1979
- jlcpcb_order_step_run_id: string;
1980
- is_running?: boolean | null | undefined;
1981
- jlcpcb_order_state_id?: string | null | undefined;
1982
- step_function_name?: string | null | undefined;
1983
- error_message?: string | null | undefined;
1984
- }>, "many">>;
1985
- orderQuotes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1986
- order_quote_id: z.ZodString;
1987
- account_id: z.ZodNullable<z.ZodString>;
1988
- package_release_id: z.ZodNullable<z.ZodString>;
1989
- is_completed: z.ZodDefault<z.ZodBoolean>;
1990
- is_processing: z.ZodDefault<z.ZodBoolean>;
1991
- vendor_name: z.ZodString;
1992
- error: z.ZodNullable<z.ZodObject<{
1993
- error_code: z.ZodString;
1994
- message: z.ZodString;
1995
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1996
- error_code: z.ZodString;
1997
- message: z.ZodString;
1998
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1999
- error_code: z.ZodString;
2000
- message: z.ZodString;
2001
- }, z.ZodTypeAny, "passthrough">>>;
2002
- has_error: z.ZodDefault<z.ZodBoolean>;
2003
- created_at: z.ZodString;
2004
- updated_at: z.ZodString;
2005
- completed_at: z.ZodNullable<z.ZodString>;
2006
- quoted_components: z.ZodNullable<z.ZodArray<z.ZodObject<{
2007
- manufacturer_part_number: z.ZodNullable<z.ZodString>;
2008
- supplier_part_number: z.ZodNullable<z.ZodString>;
2009
- quantity: z.ZodDefault<z.ZodNumber>;
2010
- unit_price: z.ZodDefault<z.ZodNumber>;
2011
- total_price: z.ZodDefault<z.ZodNumber>;
2012
- available: z.ZodDefault<z.ZodBoolean>;
2013
- }, "strip", z.ZodTypeAny, {
2014
- manufacturer_part_number: string | null;
2015
- supplier_part_number: string | null;
2016
- quantity: number;
2017
- unit_price: number;
2018
- total_price: number;
2019
- available: boolean;
2020
- }, {
2021
- manufacturer_part_number: string | null;
2022
- supplier_part_number: string | null;
2023
- quantity?: number | undefined;
2024
- unit_price?: number | undefined;
2025
- total_price?: number | undefined;
2026
- available?: boolean | undefined;
2027
- }>, "many">>;
2028
- bare_pcb_cost: z.ZodDefault<z.ZodNumber>;
2029
- shipping_options: z.ZodArray<z.ZodObject<{
2030
- carrier: z.ZodString;
2031
- service: z.ZodString;
2032
- cost: z.ZodNumber;
2033
- }, "strip", z.ZodTypeAny, {
2034
- carrier: string;
2035
- service: string;
2036
- cost: number;
2037
- }, {
2038
- carrier: string;
2039
- service: string;
2040
- cost: number;
2041
- }>, "many">;
2042
- total_cost_without_shipping: z.ZodDefault<z.ZodNumber>;
2043
- }, "strip", z.ZodTypeAny, {
2044
- error: z.objectOutputType<{
2045
- error_code: z.ZodString;
2046
- message: z.ZodString;
2047
- }, z.ZodTypeAny, "passthrough"> | null;
2048
- package_release_id: string | null;
2049
- created_at: string;
2050
- updated_at: string;
2051
- account_id: string | null;
2052
- has_error: boolean;
2053
- completed_at: string | null;
2054
- order_quote_id: string;
2055
- is_completed: boolean;
2056
- is_processing: boolean;
2057
- vendor_name: string;
2058
- quoted_components: {
2059
- manufacturer_part_number: string | null;
2060
- supplier_part_number: string | null;
2061
- quantity: number;
2062
- unit_price: number;
2063
- total_price: number;
2064
- available: boolean;
2065
- }[] | null;
2066
- bare_pcb_cost: number;
2067
- shipping_options: {
2068
- carrier: string;
2069
- service: string;
2070
- cost: number;
2071
- }[];
2072
- total_cost_without_shipping: number;
2073
- }, {
2074
- error: z.objectInputType<{
2075
- error_code: z.ZodString;
2076
- message: z.ZodString;
2077
- }, z.ZodTypeAny, "passthrough"> | null;
2078
- package_release_id: string | null;
2079
- created_at: string;
2080
- updated_at: string;
2081
- account_id: string | null;
2082
- completed_at: string | null;
2083
- order_quote_id: string;
2084
- vendor_name: string;
2085
- quoted_components: {
2086
- manufacturer_part_number: string | null;
2087
- supplier_part_number: string | null;
2088
- quantity?: number | undefined;
2089
- unit_price?: number | undefined;
2090
- total_price?: number | undefined;
2091
- available?: boolean | undefined;
2092
- }[] | null;
2093
- shipping_options: {
2094
- carrier: string;
2095
- service: string;
2096
- cost: number;
2097
- }[];
2098
- has_error?: boolean | undefined;
2099
- is_completed?: boolean | undefined;
2100
- is_processing?: boolean | undefined;
2101
- bare_pcb_cost?: number | undefined;
2102
- total_cost_without_shipping?: number | undefined;
2103
- }>, "many">>;
2104
- aiReviews: z.ZodDefault<z.ZodArray<z.ZodObject<{
2105
- ai_review_id: z.ZodString;
2106
- package_release_id: z.ZodOptional<z.ZodString>;
2107
- ai_review_text: z.ZodNullable<z.ZodString>;
2108
- start_processing_at: z.ZodNullable<z.ZodString>;
2109
- finished_processing_at: z.ZodNullable<z.ZodString>;
2110
- processing_error: z.ZodNullable<z.ZodAny>;
2111
- created_at: z.ZodString;
2112
- display_status: z.ZodEnum<["pending", "completed", "failed"]>;
2113
- }, "strip", z.ZodTypeAny, {
2114
- created_at: string;
2115
- ai_review_id: string;
2116
- ai_review_text: string | null;
2117
- start_processing_at: string | null;
2118
- finished_processing_at: string | null;
2119
- display_status: "pending" | "completed" | "failed";
2120
- package_release_id?: string | undefined;
2121
- processing_error?: any;
2122
- }, {
2123
- created_at: string;
2124
- ai_review_id: string;
2125
- ai_review_text: string | null;
2126
- start_processing_at: string | null;
2127
- finished_processing_at: string | null;
2128
- display_status: "pending" | "completed" | "failed";
2129
- package_release_id?: string | undefined;
2130
- processing_error?: any;
2131
- }>, "many">>;
2132
- datasheets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2133
- datasheet_id: z.ZodString;
2134
- chip_name: z.ZodString;
2135
- created_at: z.ZodString;
2136
- pin_information: z.ZodNullable<z.ZodArray<z.ZodObject<{
2137
- pin_number: z.ZodString;
2138
- name: z.ZodString;
2139
- description: z.ZodString;
2140
- capabilities: z.ZodArray<z.ZodString, "many">;
2141
- }, "strip", z.ZodTypeAny, {
2142
- name: string;
2143
- description: string;
2144
- pin_number: string;
2145
- capabilities: string[];
2146
- }, {
2147
- name: string;
2148
- description: string;
2149
- pin_number: string;
2150
- capabilities: string[];
2151
- }>, "many">>;
2152
- datasheet_pdf_urls: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
2153
- ai_description: z.ZodNullable<z.ZodString>;
2154
- }, "strip", z.ZodTypeAny, {
2155
- created_at: string;
2156
- datasheet_id: string;
2157
- chip_name: string;
2158
- pin_information: {
2159
- name: string;
2160
- description: string;
2161
- pin_number: string;
2162
- capabilities: string[];
2163
- }[] | null;
2164
- datasheet_pdf_urls: string[] | null;
2165
- ai_description: string | null;
2166
- }, {
2167
- created_at: string;
2168
- datasheet_id: string;
2169
- chip_name: string;
2170
- pin_information: {
2171
- name: string;
2172
- description: string;
2173
- pin_number: string;
2174
- capabilities: string[];
2175
- }[] | null;
2176
- datasheet_pdf_urls: string[] | null;
2177
- ai_description: string | null;
2178
- }>, "many">>;
2179
- githubInstallations: z.ZodDefault<z.ZodArray<z.ZodObject<{
2180
- github_installation_id: z.ZodString;
2181
- account_id: z.ZodString;
2182
- installation_id: z.ZodString;
2183
- github_username: z.ZodString;
2184
- created_at: z.ZodString;
2185
- updated_at: z.ZodString;
2186
- is_active: z.ZodDefault<z.ZodBoolean>;
2187
- access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2188
- access_token_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2189
- }, "strip", z.ZodTypeAny, {
2190
- created_at: string;
2191
- updated_at: string;
2192
- account_id: string;
2193
- github_username: string;
2194
- github_installation_id: string;
2195
- installation_id: string;
2196
- is_active: boolean;
2197
- access_token?: string | null | undefined;
2198
- access_token_expires_at?: string | null | undefined;
2199
- }, {
2200
- created_at: string;
2201
- updated_at: string;
2202
- account_id: string;
2203
- github_username: string;
2204
- github_installation_id: string;
2205
- installation_id: string;
2206
- is_active?: boolean | undefined;
2207
- access_token?: string | null | undefined;
2208
- access_token_expires_at?: string | null | undefined;
2209
- }>, "many">>;
2210
- packageBuilds: z.ZodDefault<z.ZodArray<z.ZodObject<{
2211
- package_build_id: z.ZodString;
2212
- package_release_id: z.ZodString;
2213
- created_at: z.ZodString;
2214
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
2215
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2217
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
2218
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2219
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
2220
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2221
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2222
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
2223
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2224
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
2225
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2226
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2227
- image_generation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
2228
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2229
- build_in_progress: z.ZodDefault<z.ZodBoolean>;
2230
- build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2231
- build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2232
- build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2233
- build_error_last_updated_at: z.ZodString;
2234
- preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2235
- build_logs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2236
- }, "strip", z.ZodTypeAny, {
2237
- package_release_id: string;
2238
- created_at: string;
2239
- transpilation_in_progress: boolean;
2240
- transpilation_logs: any[];
2241
- circuit_json_build_in_progress: boolean;
2242
- circuit_json_build_logs: any[];
2243
- image_generation_in_progress: boolean;
2244
- image_generation_logs: any[];
2245
- package_build_id: string;
2246
- build_in_progress: boolean;
2247
- build_error_last_updated_at: string;
2248
- circuit_json_build_error?: string | null | undefined;
2249
- transpilation_error?: string | null | undefined;
2250
- transpilation_started_at?: string | null | undefined;
2251
- transpilation_completed_at?: string | null | undefined;
2252
- circuit_json_build_started_at?: string | null | undefined;
2253
- circuit_json_build_completed_at?: string | null | undefined;
2254
- image_generation_started_at?: string | null | undefined;
2255
- image_generation_completed_at?: string | null | undefined;
2256
- image_generation_error?: string | null | undefined;
2257
- build_started_at?: string | null | undefined;
2258
- build_completed_at?: string | null | undefined;
2259
- build_error?: string | null | undefined;
2260
- preview_url?: string | null | undefined;
2261
- build_logs?: string | null | undefined;
2262
- }, {
2263
- package_release_id: string;
2264
- created_at: string;
2265
- package_build_id: string;
2266
- build_error_last_updated_at: string;
2267
- circuit_json_build_error?: string | null | undefined;
2268
- transpilation_error?: string | null | undefined;
2269
- transpilation_in_progress?: boolean | undefined;
2270
- transpilation_started_at?: string | null | undefined;
2271
- transpilation_completed_at?: string | null | undefined;
2272
- transpilation_logs?: any[] | undefined;
2273
- circuit_json_build_in_progress?: boolean | undefined;
2274
- circuit_json_build_started_at?: string | null | undefined;
2275
- circuit_json_build_completed_at?: string | null | undefined;
2276
- circuit_json_build_logs?: any[] | undefined;
2277
- image_generation_in_progress?: boolean | undefined;
2278
- image_generation_started_at?: string | null | undefined;
2279
- image_generation_completed_at?: string | null | undefined;
2280
- image_generation_logs?: any[] | undefined;
2281
- image_generation_error?: string | null | undefined;
2282
- build_in_progress?: boolean | undefined;
2283
- build_started_at?: string | null | undefined;
2284
- build_completed_at?: string | null | undefined;
2285
- build_error?: string | null | undefined;
2286
- preview_url?: string | null | undefined;
2287
- build_logs?: string | null | undefined;
2288
- }>, "many">>;
2289
- }, "strip", z.ZodTypeAny, {
2290
- idCounter: number;
2291
- snippets: {
2292
- code: string;
2293
- snippet_id: string;
2294
- package_release_id: string;
2295
- name: string;
2296
- unscoped_name: string;
2297
- owner_name: string;
2298
- is_starred: boolean;
2299
- created_at: string;
2300
- updated_at: string;
2301
- snippet_type: "board" | "package" | "model" | "footprint";
2302
- version: string;
2303
- star_count: number;
2304
- is_private: boolean;
2305
- is_public: boolean;
2306
- is_unlisted: boolean;
2307
- dts?: string | undefined;
2308
- compiled_js?: string | null | undefined;
2309
- circuit_json?: Record<string, any>[] | null | undefined;
2310
- manual_edits_json_content?: string | null | undefined;
2311
- starred_at?: string | undefined;
2312
- description?: string | undefined;
2313
- tags?: string[] | undefined;
2314
- }[];
2315
- packageReleases: {
2316
- package_release_id: string;
2317
- created_at: string;
2318
- version: string | null;
2319
- display_status: "error" | "pending" | "building" | "complete";
2320
- package_id: string;
2321
- is_locked: boolean;
2322
- is_latest: boolean;
2323
- has_transpiled: boolean;
2324
- transpilation_display_status: "error" | "pending" | "building" | "complete";
2325
- transpilation_in_progress: boolean;
2326
- transpilation_logs: any[];
2327
- transpilation_is_stale: boolean;
2328
- circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
2329
- circuit_json_build_in_progress: boolean;
2330
- circuit_json_build_logs: any[];
2331
- circuit_json_build_is_stale: boolean;
2332
- image_generation_display_status: "error" | "pending" | "building" | "complete";
2333
- image_generation_in_progress: boolean;
2334
- image_generation_logs: any[] | null;
2335
- image_generation_is_stale: boolean;
2336
- ai_review_requested: boolean;
2337
- is_pr_preview: boolean;
2338
- pcb_preview_image_url: string | null;
2339
- sch_preview_image_url: string | null;
2340
- cad_preview_image_url: string | null;
2341
- ai_review_text?: string | null | undefined;
2342
- commit_sha?: string | null | undefined;
2343
- license?: string | null | undefined;
2344
- circuit_json_build_error?: string | null | undefined;
2345
- circuit_json_build_error_last_updated_at?: string | null | undefined;
2346
- transpilation_error?: string | null | undefined;
2347
- fs_sha?: string | null | undefined;
2348
- total_build_duration_ms?: number | null | undefined;
2349
- transpilation_started_at?: string | null | undefined;
2350
- transpilation_completed_at?: string | null | undefined;
2351
- circuit_json_build_started_at?: string | null | undefined;
2352
- circuit_json_build_completed_at?: string | null | undefined;
2353
- image_generation_started_at?: string | null | undefined;
2354
- image_generation_completed_at?: string | null | undefined;
2355
- image_generation_error?: string | null | undefined;
2356
- image_generation_error_last_updated_at?: string | null | undefined;
2357
- ai_review_started_at?: string | null | undefined;
2358
- ai_review_completed_at?: string | null | undefined;
2359
- ai_review_error?: any;
2360
- ai_review_logs?: any[] | null | undefined;
2361
- github_pr_number?: number | null | undefined;
2362
- latest_package_build_id?: string | null | undefined;
2363
- branch_name?: string | null | undefined;
2364
- commit_message?: string | null | undefined;
2365
- commit_author?: string | null | undefined;
2366
- }[];
2367
- packageFiles: {
2368
- package_release_id: string;
2369
- created_at: string;
2370
- package_file_id: string;
2371
- file_path: string;
2372
- content_text?: string | null | undefined;
2373
- content_mimetype?: string | null | undefined;
2374
- is_release_tarball?: boolean | undefined;
2375
- npm_pack_output?: any;
2376
- }[];
2377
- sessions: {
2378
- session_id: string;
2379
- account_id: string;
2380
- expires_at: string;
2381
- is_cli_session: boolean;
2382
- }[];
2383
- loginPages: {
2384
- created_at: string;
2385
- expires_at: string;
2386
- login_page_id: string;
2387
- login_page_auth_token: string;
2388
- was_login_successful: boolean;
2389
- has_been_used_to_create_session: boolean;
2390
- }[];
2391
- accounts: {
2392
- account_id: string;
2393
- github_username: string;
2394
- is_tscircuit_staff: boolean;
2395
- shippingInfo?: {
2396
- firstName: string;
2397
- lastName: string;
2398
- address: string;
2399
- city: string;
2400
- state: string;
2401
- zipCode: string;
2402
- country: string;
2403
- phone: string;
2404
- companyName?: string | undefined;
2405
- apartment?: string | undefined;
2406
- } | undefined;
2407
- personal_org_id?: string | undefined;
2408
- }[];
2409
- packages: {
2410
- name: string;
2411
- unscoped_name: string;
2412
- created_at: string;
2413
- updated_at: string;
2414
- description: string | null;
2415
- star_count: number;
2416
- is_private: boolean | null;
2417
- is_public: boolean | null;
2418
- is_unlisted: boolean | null;
2419
- ai_description: string | null;
2420
- package_id: string;
2421
- license: string | null;
2422
- creator_account_id: string;
2423
- owner_org_id: string;
2424
- owner_github_username: string | null;
2425
- github_repo_full_name: string | null;
2426
- is_snippet: boolean;
2427
- is_board: boolean;
2428
- is_package: boolean;
2429
- is_model: boolean;
2430
- is_footprint: boolean;
2431
- is_source_from_github: boolean;
2432
- latest_package_release_id: string | null;
2433
- latest_version: string | null;
2434
- website: string | null;
2435
- ai_usage_instructions: string | null;
2436
- latest_package_release_fs_sha: string | null;
2437
- is_starred?: boolean | undefined;
2438
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
2439
- latest_license?: string | null | undefined;
2440
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
2441
- allow_pr_previews?: boolean | undefined;
2442
- latest_pcb_preview_image_url?: string | null | undefined;
2443
- latest_sch_preview_image_url?: string | null | undefined;
2444
- latest_cad_preview_image_url?: string | null | undefined;
2445
- }[];
2446
- orders: {
2447
- error: z.objectOutputType<{
2448
- error_code: z.ZodString;
2449
- message: z.ZodString;
2450
- }, z.ZodTypeAny, "passthrough"> | null;
2451
- created_at: string;
2452
- account_id: string | null;
2453
- order_id: string;
2454
- is_running: boolean;
2455
- is_started: boolean;
2456
- is_finished: boolean;
2457
- has_error: boolean;
2458
- started_at: string | null;
2459
- completed_at: string | null;
2460
- circuit_json?: any;
2461
- }[];
2462
- organizations: {
2463
- created_at: string;
2464
- org_id: string;
2465
- owner_account_id: string;
2466
- is_personal_org: boolean;
2467
- org_name: string;
2468
- github_handle?: string | undefined;
2469
- org_display_name?: string | undefined;
2470
- }[];
2471
- orgAccounts: {
2472
- created_at: string;
2473
- account_id: string;
2474
- org_id: string;
2475
- org_account_id: string;
2476
- is_owner: boolean;
2477
- }[];
2478
- orderFiles: {
2479
- order_id: string;
2480
- order_file_id: string;
2481
- is_gerbers_zip: boolean;
2482
- content_type: string;
2483
- for_provider: string | null;
2484
- uploaded_at: string;
2485
- content_text: string | null;
2486
- content_bytes: Uint8Array<ArrayBuffer> | null;
2487
- }[];
2488
- accountSnippets: {
2489
- snippet_id: string;
2490
- created_at: string;
2491
- updated_at: string;
2492
- account_id: string;
2493
- has_starred: boolean;
2494
- }[];
2495
- accountPackages: {
2496
- is_starred: boolean;
2497
- created_at: string;
2498
- updated_at: string;
2499
- account_id: string;
2500
- account_package_id: string;
2501
- package_id: string;
2502
- }[];
2503
- jlcpcbOrderState: {
2504
- created_at: string;
2505
- order_id: string;
2506
- jlcpcb_order_state_id: string;
2507
- are_gerbers_uploaded: boolean;
2508
- is_gerber_analyzed: boolean;
2509
- are_initial_costs_calculated: boolean;
2510
- is_pcb_added_to_cart: boolean;
2511
- is_bom_uploaded: boolean;
2512
- is_pnp_uploaded: boolean;
2513
- is_bom_pnp_analyzed: boolean;
2514
- is_bom_parsing_complete: boolean;
2515
- are_components_available: boolean;
2516
- is_patch_map_generated: boolean;
2517
- is_json_merge_file_created: boolean;
2518
- is_dfm_result_generated: boolean;
2519
- are_files_downloaded: boolean;
2520
- are_product_categories_fetched: boolean;
2521
- are_final_costs_calculated: boolean;
2522
- is_json_merge_file_updated: boolean;
2523
- is_added_to_cart: boolean;
2524
- are_gerbers_generated: boolean;
2525
- current_step: string | null;
2526
- uploaded_gerber_metadata?: any;
2527
- gerber_analysis?: any;
2528
- }[];
2529
- jlcpcbOrderStepRuns: {
2530
- created_at: string;
2531
- is_running: boolean | null;
2532
- jlcpcb_order_state_id: string | null;
2533
- jlcpcb_order_step_run_id: string;
2534
- step_function_name: string | null;
2535
- error_message: string | null;
2536
- }[];
2537
- orderQuotes: {
2538
- error: z.objectOutputType<{
2539
- error_code: z.ZodString;
2540
- message: z.ZodString;
2541
- }, z.ZodTypeAny, "passthrough"> | null;
2542
- package_release_id: string | null;
2543
- created_at: string;
2544
- updated_at: string;
2545
- account_id: string | null;
2546
- has_error: boolean;
2547
- completed_at: string | null;
2548
- order_quote_id: string;
2549
- is_completed: boolean;
2550
- is_processing: boolean;
2551
- vendor_name: string;
2552
- quoted_components: {
2553
- manufacturer_part_number: string | null;
2554
- supplier_part_number: string | null;
2555
- quantity: number;
2556
- unit_price: number;
2557
- total_price: number;
2558
- available: boolean;
2559
- }[] | null;
2560
- bare_pcb_cost: number;
2561
- shipping_options: {
2562
- carrier: string;
2563
- service: string;
2564
- cost: number;
2565
- }[];
2566
- total_cost_without_shipping: number;
2567
- }[];
2568
- aiReviews: {
2569
- created_at: string;
2570
- ai_review_id: string;
2571
- ai_review_text: string | null;
2572
- start_processing_at: string | null;
2573
- finished_processing_at: string | null;
2574
- display_status: "pending" | "completed" | "failed";
2575
- package_release_id?: string | undefined;
2576
- processing_error?: any;
2577
- }[];
2578
- datasheets: {
2579
- created_at: string;
2580
- datasheet_id: string;
2581
- chip_name: string;
2582
- pin_information: {
2583
- name: string;
2584
- description: string;
2585
- pin_number: string;
2586
- capabilities: string[];
2587
- }[] | null;
2588
- datasheet_pdf_urls: string[] | null;
2589
- ai_description: string | null;
2590
- }[];
2591
- githubInstallations: {
2592
- created_at: string;
2593
- updated_at: string;
2594
- account_id: string;
2595
- github_username: string;
2596
- github_installation_id: string;
2597
- installation_id: string;
2598
- is_active: boolean;
2599
- access_token?: string | null | undefined;
2600
- access_token_expires_at?: string | null | undefined;
2601
- }[];
2602
- packageBuilds: {
2603
- package_release_id: string;
2604
- created_at: string;
2605
- transpilation_in_progress: boolean;
2606
- transpilation_logs: any[];
2607
- circuit_json_build_in_progress: boolean;
2608
- circuit_json_build_logs: any[];
2609
- image_generation_in_progress: boolean;
2610
- image_generation_logs: any[];
2611
- package_build_id: string;
2612
- build_in_progress: boolean;
2613
- build_error_last_updated_at: string;
2614
- circuit_json_build_error?: string | null | undefined;
2615
- transpilation_error?: string | null | undefined;
2616
- transpilation_started_at?: string | null | undefined;
2617
- transpilation_completed_at?: string | null | undefined;
2618
- circuit_json_build_started_at?: string | null | undefined;
2619
- circuit_json_build_completed_at?: string | null | undefined;
2620
- image_generation_started_at?: string | null | undefined;
2621
- image_generation_completed_at?: string | null | undefined;
2622
- image_generation_error?: string | null | undefined;
2623
- build_started_at?: string | null | undefined;
2624
- build_completed_at?: string | null | undefined;
2625
- build_error?: string | null | undefined;
2626
- preview_url?: string | null | undefined;
2627
- build_logs?: string | null | undefined;
2628
- }[];
2629
- }, {
2630
- idCounter?: number | undefined;
2631
- snippets?: {
2632
- code: string;
2633
- snippet_id: string;
2634
- package_release_id: string;
2635
- name: string;
2636
- unscoped_name: string;
2637
- owner_name: string;
2638
- created_at: string;
2639
- updated_at: string;
2640
- snippet_type: "board" | "package" | "model" | "footprint";
2641
- is_starred?: boolean | undefined;
2642
- dts?: string | undefined;
2643
- compiled_js?: string | null | undefined;
2644
- circuit_json?: Record<string, any>[] | null | undefined;
2645
- manual_edits_json_content?: string | null | undefined;
2646
- starred_at?: string | undefined;
2647
- description?: string | undefined;
2648
- version?: string | undefined;
2649
- star_count?: number | undefined;
2650
- is_private?: boolean | undefined;
2651
- is_public?: boolean | undefined;
2652
- is_unlisted?: boolean | undefined;
2653
- tags?: string[] | undefined;
2654
- }[] | undefined;
2655
- packageReleases?: {
2656
- package_release_id: string;
2657
- created_at: string;
2658
- version: string | null;
2659
- package_id: string;
2660
- is_locked: boolean;
2661
- is_latest: boolean;
2662
- ai_review_text?: string | null | undefined;
2663
- display_status?: "error" | "pending" | "building" | "complete" | undefined;
2664
- commit_sha?: string | null | undefined;
2665
- license?: string | null | undefined;
2666
- circuit_json_build_error?: string | null | undefined;
2667
- circuit_json_build_error_last_updated_at?: string | null | undefined;
2668
- has_transpiled?: boolean | undefined;
2669
- transpilation_error?: string | null | undefined;
2670
- fs_sha?: string | null | undefined;
2671
- total_build_duration_ms?: number | null | undefined;
2672
- transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2673
- transpilation_in_progress?: boolean | undefined;
2674
- transpilation_started_at?: string | null | undefined;
2675
- transpilation_completed_at?: string | null | undefined;
2676
- transpilation_logs?: any[] | undefined;
2677
- transpilation_is_stale?: boolean | undefined;
2678
- circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2679
- circuit_json_build_in_progress?: boolean | undefined;
2680
- circuit_json_build_started_at?: string | null | undefined;
2681
- circuit_json_build_completed_at?: string | null | undefined;
2682
- circuit_json_build_logs?: any[] | undefined;
2683
- circuit_json_build_is_stale?: boolean | undefined;
2684
- image_generation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2685
- image_generation_in_progress?: boolean | undefined;
2686
- image_generation_started_at?: string | null | undefined;
2687
- image_generation_completed_at?: string | null | undefined;
2688
- image_generation_logs?: any[] | null | undefined;
2689
- image_generation_is_stale?: boolean | undefined;
2690
- image_generation_error?: string | null | undefined;
2691
- image_generation_error_last_updated_at?: string | null | undefined;
2692
- ai_review_started_at?: string | null | undefined;
2693
- ai_review_completed_at?: string | null | undefined;
2694
- ai_review_error?: any;
2695
- ai_review_logs?: any[] | null | undefined;
2696
- ai_review_requested?: boolean | undefined;
2697
- is_pr_preview?: boolean | undefined;
2698
- github_pr_number?: number | null | undefined;
2699
- latest_package_build_id?: string | null | undefined;
2700
- branch_name?: string | null | undefined;
2701
- commit_message?: string | null | undefined;
2702
- commit_author?: string | null | undefined;
2703
- pcb_preview_image_url?: string | null | undefined;
2704
- sch_preview_image_url?: string | null | undefined;
2705
- cad_preview_image_url?: string | null | undefined;
2706
- }[] | undefined;
2707
- packageFiles?: {
2708
- package_release_id: string;
2709
- created_at: string;
2710
- package_file_id: string;
2711
- file_path: string;
2712
- content_text?: string | null | undefined;
2713
- content_mimetype?: string | null | undefined;
2714
- is_release_tarball?: boolean | undefined;
2715
- npm_pack_output?: any;
2716
- }[] | undefined;
2717
- sessions?: {
2718
- session_id: string;
2719
- account_id: string;
2720
- expires_at: string;
2721
- is_cli_session: boolean;
2722
- }[] | undefined;
2723
- loginPages?: {
2724
- created_at: string;
2725
- expires_at: string;
2726
- login_page_id: string;
2727
- login_page_auth_token: string;
2728
- was_login_successful: boolean;
2729
- has_been_used_to_create_session: boolean;
2730
- }[] | undefined;
2731
- accounts?: {
2732
- account_id: string;
2733
- github_username: string;
2734
- shippingInfo?: {
2735
- firstName: string;
2736
- lastName: string;
2737
- address: string;
2738
- city: string;
2739
- state: string;
2740
- zipCode: string;
2741
- country: string;
2742
- phone: string;
2743
- companyName?: string | undefined;
2744
- apartment?: string | undefined;
2745
- } | undefined;
2746
- personal_org_id?: string | undefined;
2747
- is_tscircuit_staff?: boolean | undefined;
2748
- }[] | undefined;
2749
- packages?: {
2750
- name: string;
2751
- unscoped_name: string;
2752
- created_at: string;
2753
- updated_at: string;
2754
- description: string | null;
2755
- ai_description: string | null;
2756
- package_id: string;
2757
- license: string | null;
2758
- creator_account_id: string;
2759
- owner_org_id: string;
2760
- owner_github_username: string | null;
2761
- github_repo_full_name: string | null;
2762
- latest_package_release_id: string | null;
2763
- latest_version: string | null;
2764
- ai_usage_instructions: string | null;
2765
- is_starred?: boolean | undefined;
2766
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
2767
- star_count?: number | undefined;
2768
- is_private?: boolean | null | undefined;
2769
- is_public?: boolean | null | undefined;
2770
- is_unlisted?: boolean | null | undefined;
2771
- is_snippet?: boolean | undefined;
2772
- is_board?: boolean | undefined;
2773
- is_package?: boolean | undefined;
2774
- is_model?: boolean | undefined;
2775
- is_footprint?: boolean | undefined;
2776
- is_source_from_github?: boolean | undefined;
2777
- website?: string | null | undefined;
2778
- latest_license?: string | null | undefined;
2779
- latest_package_release_fs_sha?: string | null | undefined;
2780
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
2781
- allow_pr_previews?: boolean | undefined;
2782
- latest_pcb_preview_image_url?: string | null | undefined;
2783
- latest_sch_preview_image_url?: string | null | undefined;
2784
- latest_cad_preview_image_url?: string | null | undefined;
2785
- }[] | undefined;
2786
- orders?: {
2787
- error: z.objectInputType<{
2788
- error_code: z.ZodString;
2789
- message: z.ZodString;
2790
- }, z.ZodTypeAny, "passthrough"> | null;
2791
- created_at: string;
2792
- account_id: string | null;
2793
- order_id: string;
2794
- is_running: boolean;
2795
- is_started: boolean;
2796
- is_finished: boolean;
2797
- has_error: boolean;
2798
- started_at: string | null;
2799
- completed_at: string | null;
2800
- circuit_json?: any;
2801
- }[] | undefined;
2802
- organizations?: {
2803
- created_at: string;
2804
- org_id: string;
2805
- owner_account_id: string;
2806
- org_name: string;
2807
- github_handle?: string | undefined;
2808
- is_personal_org?: boolean | undefined;
2809
- org_display_name?: string | undefined;
2810
- }[] | undefined;
2811
- orgAccounts?: {
2812
- created_at: string;
2813
- account_id: string;
2814
- org_id: string;
2815
- org_account_id: string;
2816
- is_owner?: boolean | undefined;
2817
- }[] | undefined;
2818
- orderFiles?: {
2819
- order_id: string;
2820
- order_file_id: string;
2821
- is_gerbers_zip: boolean;
2822
- content_type: string;
2823
- for_provider: string | null;
2824
- uploaded_at: string;
2825
- content_text: string | null;
2826
- content_bytes: Uint8Array<ArrayBuffer> | null;
2827
- }[] | undefined;
2828
- accountSnippets?: {
2829
- snippet_id: string;
2830
- created_at: string;
2831
- updated_at: string;
2832
- account_id: string;
2833
- has_starred: boolean;
2834
- }[] | undefined;
2835
- accountPackages?: {
2836
- is_starred: boolean;
2837
- created_at: string;
2838
- updated_at: string;
2839
- account_id: string;
2840
- account_package_id: string;
2841
- package_id: string;
2842
- }[] | undefined;
2843
- jlcpcbOrderState?: {
2844
- created_at: string;
2845
- order_id: string;
2846
- jlcpcb_order_state_id: string;
2847
- are_gerbers_uploaded?: boolean | undefined;
2848
- is_gerber_analyzed?: boolean | undefined;
2849
- are_initial_costs_calculated?: boolean | undefined;
2850
- is_pcb_added_to_cart?: boolean | undefined;
2851
- is_bom_uploaded?: boolean | undefined;
2852
- is_pnp_uploaded?: boolean | undefined;
2853
- is_bom_pnp_analyzed?: boolean | undefined;
2854
- is_bom_parsing_complete?: boolean | undefined;
2855
- are_components_available?: boolean | undefined;
2856
- is_patch_map_generated?: boolean | undefined;
2857
- is_json_merge_file_created?: boolean | undefined;
2858
- is_dfm_result_generated?: boolean | undefined;
2859
- are_files_downloaded?: boolean | undefined;
2860
- are_product_categories_fetched?: boolean | undefined;
2861
- are_final_costs_calculated?: boolean | undefined;
2862
- is_json_merge_file_updated?: boolean | undefined;
2863
- is_added_to_cart?: boolean | undefined;
2864
- uploaded_gerber_metadata?: any;
2865
- gerber_analysis?: any;
2866
- are_gerbers_generated?: boolean | undefined;
2867
- current_step?: string | null | undefined;
2868
- }[] | undefined;
2869
- jlcpcbOrderStepRuns?: {
2870
- created_at: string;
2871
- jlcpcb_order_step_run_id: string;
2872
- is_running?: boolean | null | undefined;
2873
- jlcpcb_order_state_id?: string | null | undefined;
2874
- step_function_name?: string | null | undefined;
2875
- error_message?: string | null | undefined;
2876
- }[] | undefined;
2877
- orderQuotes?: {
2878
- error: z.objectInputType<{
2879
- error_code: z.ZodString;
2880
- message: z.ZodString;
2881
- }, z.ZodTypeAny, "passthrough"> | null;
2882
- package_release_id: string | null;
2883
- created_at: string;
2884
- updated_at: string;
2885
- account_id: string | null;
2886
- completed_at: string | null;
2887
- order_quote_id: string;
2888
- vendor_name: string;
2889
- quoted_components: {
2890
- manufacturer_part_number: string | null;
2891
- supplier_part_number: string | null;
2892
- quantity?: number | undefined;
2893
- unit_price?: number | undefined;
2894
- total_price?: number | undefined;
2895
- available?: boolean | undefined;
2896
- }[] | null;
2897
- shipping_options: {
2898
- carrier: string;
2899
- service: string;
2900
- cost: number;
2901
- }[];
2902
- has_error?: boolean | undefined;
2903
- is_completed?: boolean | undefined;
2904
- is_processing?: boolean | undefined;
2905
- bare_pcb_cost?: number | undefined;
2906
- total_cost_without_shipping?: number | undefined;
2907
- }[] | undefined;
2908
- aiReviews?: {
2909
- created_at: string;
2910
- ai_review_id: string;
2911
- ai_review_text: string | null;
2912
- start_processing_at: string | null;
2913
- finished_processing_at: string | null;
2914
- display_status: "pending" | "completed" | "failed";
2915
- package_release_id?: string | undefined;
2916
- processing_error?: any;
2917
- }[] | undefined;
2918
- datasheets?: {
2919
- created_at: string;
2920
- datasheet_id: string;
2921
- chip_name: string;
2922
- pin_information: {
2923
- name: string;
2924
- description: string;
2925
- pin_number: string;
2926
- capabilities: string[];
2927
- }[] | null;
2928
- datasheet_pdf_urls: string[] | null;
2929
- ai_description: string | null;
2930
- }[] | undefined;
2931
- githubInstallations?: {
2932
- created_at: string;
2933
- updated_at: string;
2934
- account_id: string;
2935
- github_username: string;
2936
- github_installation_id: string;
2937
- installation_id: string;
2938
- is_active?: boolean | undefined;
2939
- access_token?: string | null | undefined;
2940
- access_token_expires_at?: string | null | undefined;
2941
- }[] | undefined;
2942
- packageBuilds?: {
2943
- package_release_id: string;
2944
- created_at: string;
2945
- package_build_id: string;
2946
- build_error_last_updated_at: string;
2947
- circuit_json_build_error?: string | null | undefined;
2948
- transpilation_error?: string | null | undefined;
2949
- transpilation_in_progress?: boolean | undefined;
2950
- transpilation_started_at?: string | null | undefined;
2951
- transpilation_completed_at?: string | null | undefined;
2952
- transpilation_logs?: any[] | undefined;
2953
- circuit_json_build_in_progress?: boolean | undefined;
2954
- circuit_json_build_started_at?: string | null | undefined;
2955
- circuit_json_build_completed_at?: string | null | undefined;
2956
- circuit_json_build_logs?: any[] | undefined;
2957
- image_generation_in_progress?: boolean | undefined;
2958
- image_generation_started_at?: string | null | undefined;
2959
- image_generation_completed_at?: string | null | undefined;
2960
- image_generation_logs?: any[] | undefined;
2961
- image_generation_error?: string | null | undefined;
2962
- build_in_progress?: boolean | undefined;
2963
- build_started_at?: string | null | undefined;
2964
- build_completed_at?: string | null | undefined;
2965
- build_error?: string | null | undefined;
2966
- preview_url?: string | null | undefined;
2967
- build_logs?: string | null | undefined;
2968
- }[] | undefined;
2969
- }>;
2970
- type DatabaseSchema = z.infer<typeof databaseSchema>;
2971
-
2972
- export { type Account, type AccountPackage, type AccountSnippet, type AiReview, type DatabaseSchema, type Datasheet, type GithubInstallation, type JlcpcbOrderState, type JlcpcbOrderStepRun, type LoginPage, type Order, type OrderFile, type OrderQuote, type OrgAccount, type Organization, type Package, type PackageBuild, type PackageFile, type PackageRelease, type PublicOrgSchema, type QuotedComponent, type Session, type ShippingOption, type Snippet, type UserPermissions, accountPackageSchema, accountSchema, accountSnippetSchema, aiReviewSchema, databaseSchema, datasheetPinInformationSchema, datasheetSchema, errorResponseSchema, errorSchema, githubInstallationSchema, jlcpcbOrderStateSchema, jlcpcbOrderStepRunSchema, loginPageSchema, orderFileSchema, orderQuoteSchema, orderSchema, orgAccountSchema, orgSchema, packageBuildSchema, packageFileSchema, packageReleaseSchema, packageSchema, publicOrgSchema, quotedComponentSchema, sessionSchema, shippingInfoSchema, snippetSchema, userPermissionsSchema };