@tscircuit/fake-snippets 0.0.208 → 0.0.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -200,6 +200,14 @@ type Account = z.infer<typeof accountSchema>;
200
200
  declare const orderSchema: z.ZodObject<{
201
201
  order_id: z.ZodString;
202
202
  account_id: z.ZodNullable<z.ZodString>;
203
+ submitted_package_release_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ adapted_package_release_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
205
+ stripe_checkout_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
+ stripe_checkout_session_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
+ is_stripe_checkout_session_complete: z.ZodOptional<z.ZodBoolean>;
208
+ is_stripe_checkout_session_expired: z.ZodOptional<z.ZodBoolean>;
209
+ is_stripe_checkout_session_open: z.ZodOptional<z.ZodBoolean>;
210
+ is_stripe_payment_paid: z.ZodOptional<z.ZodBoolean>;
203
211
  is_running: z.ZodBoolean;
204
212
  is_started: z.ZodBoolean;
205
213
  is_finished: z.ZodBoolean;
@@ -233,6 +241,14 @@ declare const orderSchema: z.ZodObject<{
233
241
  started_at: string | null;
234
242
  completed_at: string | null;
235
243
  circuit_json?: any;
244
+ submitted_package_release_id?: string | null | undefined;
245
+ adapted_package_release_id?: string | null | undefined;
246
+ stripe_checkout_session_id?: string | null | undefined;
247
+ stripe_checkout_session_url?: string | null | undefined;
248
+ is_stripe_checkout_session_complete?: boolean | undefined;
249
+ is_stripe_checkout_session_expired?: boolean | undefined;
250
+ is_stripe_checkout_session_open?: boolean | undefined;
251
+ is_stripe_payment_paid?: boolean | undefined;
236
252
  }, {
237
253
  error: z.objectInputType<{
238
254
  error_code: z.ZodString;
@@ -248,6 +264,14 @@ declare const orderSchema: z.ZodObject<{
248
264
  started_at: string | null;
249
265
  completed_at: string | null;
250
266
  circuit_json?: any;
267
+ submitted_package_release_id?: string | null | undefined;
268
+ adapted_package_release_id?: string | null | undefined;
269
+ stripe_checkout_session_id?: string | null | undefined;
270
+ stripe_checkout_session_url?: string | null | undefined;
271
+ is_stripe_checkout_session_complete?: boolean | undefined;
272
+ is_stripe_checkout_session_expired?: boolean | undefined;
273
+ is_stripe_checkout_session_open?: boolean | undefined;
274
+ is_stripe_payment_paid?: boolean | undefined;
251
275
  }>;
252
276
  type Order = z.infer<typeof orderSchema>;
253
277
  declare const orderFileSchema: z.ZodObject<{
@@ -1480,6 +1504,14 @@ declare const createDatabase: ({ seed }?: {
1480
1504
  started_at: string | null;
1481
1505
  completed_at: string | null;
1482
1506
  circuit_json?: any;
1507
+ submitted_package_release_id?: string | null | undefined;
1508
+ adapted_package_release_id?: string | null | undefined;
1509
+ stripe_checkout_session_id?: string | null | undefined;
1510
+ stripe_checkout_session_url?: string | null | undefined;
1511
+ is_stripe_checkout_session_complete?: boolean | undefined;
1512
+ is_stripe_checkout_session_expired?: boolean | undefined;
1513
+ is_stripe_checkout_session_open?: boolean | undefined;
1514
+ is_stripe_payment_paid?: boolean | undefined;
1483
1515
  }[];
1484
1516
  organizations: {
1485
1517
  created_at: string;
@@ -2162,6 +2194,14 @@ declare const createDatabase: ({ seed }?: {
2162
2194
  started_at: string | null;
2163
2195
  completed_at: string | null;
2164
2196
  circuit_json?: any;
2197
+ submitted_package_release_id?: string | null | undefined;
2198
+ adapted_package_release_id?: string | null | undefined;
2199
+ stripe_checkout_session_id?: string | null | undefined;
2200
+ stripe_checkout_session_url?: string | null | undefined;
2201
+ is_stripe_checkout_session_complete?: boolean | undefined;
2202
+ is_stripe_checkout_session_expired?: boolean | undefined;
2203
+ is_stripe_checkout_session_open?: boolean | undefined;
2204
+ is_stripe_payment_paid?: boolean | undefined;
2165
2205
  }[];
2166
2206
  organizations: {
2167
2207
  created_at: string;
package/dist/index.js CHANGED
@@ -84,6 +84,14 @@ var publicAccountSchema = z.object({
84
84
  var orderSchema = z.object({
85
85
  order_id: z.string(),
86
86
  account_id: z.string().nullable(),
87
+ submitted_package_release_id: z.string().nullable().optional(),
88
+ adapted_package_release_id: z.string().nullable().optional(),
89
+ stripe_checkout_session_id: z.string().nullable().optional(),
90
+ stripe_checkout_session_url: z.string().nullable().optional(),
91
+ is_stripe_checkout_session_complete: z.boolean().optional(),
92
+ is_stripe_checkout_session_expired: z.boolean().optional(),
93
+ is_stripe_checkout_session_open: z.boolean().optional(),
94
+ is_stripe_payment_paid: z.boolean().optional(),
87
95
  is_running: z.boolean(),
88
96
  is_started: z.boolean(),
89
97
  is_finished: z.boolean(),
package/dist/schema.d.ts CHANGED
@@ -289,6 +289,14 @@ type PublicAccount = z.infer<typeof publicAccountSchema>;
289
289
  declare const orderSchema: z.ZodObject<{
290
290
  order_id: z.ZodString;
291
291
  account_id: z.ZodNullable<z.ZodString>;
292
+ submitted_package_release_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ adapted_package_release_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ stripe_checkout_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ stripe_checkout_session_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ is_stripe_checkout_session_complete: z.ZodOptional<z.ZodBoolean>;
297
+ is_stripe_checkout_session_expired: z.ZodOptional<z.ZodBoolean>;
298
+ is_stripe_checkout_session_open: z.ZodOptional<z.ZodBoolean>;
299
+ is_stripe_payment_paid: z.ZodOptional<z.ZodBoolean>;
292
300
  is_running: z.ZodBoolean;
293
301
  is_started: z.ZodBoolean;
294
302
  is_finished: z.ZodBoolean;
@@ -322,6 +330,14 @@ declare const orderSchema: z.ZodObject<{
322
330
  started_at: string | null;
323
331
  completed_at: string | null;
324
332
  circuit_json?: any;
333
+ submitted_package_release_id?: string | null | undefined;
334
+ adapted_package_release_id?: string | null | undefined;
335
+ stripe_checkout_session_id?: string | null | undefined;
336
+ stripe_checkout_session_url?: string | null | undefined;
337
+ is_stripe_checkout_session_complete?: boolean | undefined;
338
+ is_stripe_checkout_session_expired?: boolean | undefined;
339
+ is_stripe_checkout_session_open?: boolean | undefined;
340
+ is_stripe_payment_paid?: boolean | undefined;
325
341
  }, {
326
342
  error: z.objectInputType<{
327
343
  error_code: z.ZodString;
@@ -337,6 +353,14 @@ declare const orderSchema: z.ZodObject<{
337
353
  started_at: string | null;
338
354
  completed_at: string | null;
339
355
  circuit_json?: any;
356
+ submitted_package_release_id?: string | null | undefined;
357
+ adapted_package_release_id?: string | null | undefined;
358
+ stripe_checkout_session_id?: string | null | undefined;
359
+ stripe_checkout_session_url?: string | null | undefined;
360
+ is_stripe_checkout_session_complete?: boolean | undefined;
361
+ is_stripe_checkout_session_expired?: boolean | undefined;
362
+ is_stripe_checkout_session_open?: boolean | undefined;
363
+ is_stripe_payment_paid?: boolean | undefined;
340
364
  }>;
341
365
  type Order = z.infer<typeof orderSchema>;
342
366
  declare const orderFileSchema: z.ZodObject<{
@@ -2414,6 +2438,14 @@ declare const databaseSchema: z.ZodObject<{
2414
2438
  orders: z.ZodDefault<z.ZodArray<z.ZodObject<{
2415
2439
  order_id: z.ZodString;
2416
2440
  account_id: z.ZodNullable<z.ZodString>;
2441
+ submitted_package_release_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2442
+ adapted_package_release_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
+ stripe_checkout_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2444
+ stripe_checkout_session_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2445
+ is_stripe_checkout_session_complete: z.ZodOptional<z.ZodBoolean>;
2446
+ is_stripe_checkout_session_expired: z.ZodOptional<z.ZodBoolean>;
2447
+ is_stripe_checkout_session_open: z.ZodOptional<z.ZodBoolean>;
2448
+ is_stripe_payment_paid: z.ZodOptional<z.ZodBoolean>;
2417
2449
  is_running: z.ZodBoolean;
2418
2450
  is_started: z.ZodBoolean;
2419
2451
  is_finished: z.ZodBoolean;
@@ -2447,6 +2479,14 @@ declare const databaseSchema: z.ZodObject<{
2447
2479
  started_at: string | null;
2448
2480
  completed_at: string | null;
2449
2481
  circuit_json?: any;
2482
+ submitted_package_release_id?: string | null | undefined;
2483
+ adapted_package_release_id?: string | null | undefined;
2484
+ stripe_checkout_session_id?: string | null | undefined;
2485
+ stripe_checkout_session_url?: string | null | undefined;
2486
+ is_stripe_checkout_session_complete?: boolean | undefined;
2487
+ is_stripe_checkout_session_expired?: boolean | undefined;
2488
+ is_stripe_checkout_session_open?: boolean | undefined;
2489
+ is_stripe_payment_paid?: boolean | undefined;
2450
2490
  }, {
2451
2491
  error: z.objectInputType<{
2452
2492
  error_code: z.ZodString;
@@ -2462,6 +2502,14 @@ declare const databaseSchema: z.ZodObject<{
2462
2502
  started_at: string | null;
2463
2503
  completed_at: string | null;
2464
2504
  circuit_json?: any;
2505
+ submitted_package_release_id?: string | null | undefined;
2506
+ adapted_package_release_id?: string | null | undefined;
2507
+ stripe_checkout_session_id?: string | null | undefined;
2508
+ stripe_checkout_session_url?: string | null | undefined;
2509
+ is_stripe_checkout_session_complete?: boolean | undefined;
2510
+ is_stripe_checkout_session_expired?: boolean | undefined;
2511
+ is_stripe_checkout_session_open?: boolean | undefined;
2512
+ is_stripe_payment_paid?: boolean | undefined;
2465
2513
  }>, "many">>;
2466
2514
  organizations: z.ZodDefault<z.ZodArray<z.ZodObject<{
2467
2515
  org_id: z.ZodString;
@@ -3362,6 +3410,14 @@ declare const databaseSchema: z.ZodObject<{
3362
3410
  started_at: string | null;
3363
3411
  completed_at: string | null;
3364
3412
  circuit_json?: any;
3413
+ submitted_package_release_id?: string | null | undefined;
3414
+ adapted_package_release_id?: string | null | undefined;
3415
+ stripe_checkout_session_id?: string | null | undefined;
3416
+ stripe_checkout_session_url?: string | null | undefined;
3417
+ is_stripe_checkout_session_complete?: boolean | undefined;
3418
+ is_stripe_checkout_session_expired?: boolean | undefined;
3419
+ is_stripe_checkout_session_open?: boolean | undefined;
3420
+ is_stripe_payment_paid?: boolean | undefined;
3365
3421
  }[];
3366
3422
  organizations: {
3367
3423
  created_at: string;
@@ -3790,6 +3846,14 @@ declare const databaseSchema: z.ZodObject<{
3790
3846
  started_at: string | null;
3791
3847
  completed_at: string | null;
3792
3848
  circuit_json?: any;
3849
+ submitted_package_release_id?: string | null | undefined;
3850
+ adapted_package_release_id?: string | null | undefined;
3851
+ stripe_checkout_session_id?: string | null | undefined;
3852
+ stripe_checkout_session_url?: string | null | undefined;
3853
+ is_stripe_checkout_session_complete?: boolean | undefined;
3854
+ is_stripe_checkout_session_expired?: boolean | undefined;
3855
+ is_stripe_checkout_session_open?: boolean | undefined;
3856
+ is_stripe_payment_paid?: boolean | undefined;
3793
3857
  }[] | undefined;
3794
3858
  organizations?: {
3795
3859
  created_at: string;
package/dist/schema.js CHANGED
@@ -78,6 +78,14 @@ var publicAccountSchema = z.object({
78
78
  var orderSchema = z.object({
79
79
  order_id: z.string(),
80
80
  account_id: z.string().nullable(),
81
+ submitted_package_release_id: z.string().nullable().optional(),
82
+ adapted_package_release_id: z.string().nullable().optional(),
83
+ stripe_checkout_session_id: z.string().nullable().optional(),
84
+ stripe_checkout_session_url: z.string().nullable().optional(),
85
+ is_stripe_checkout_session_complete: z.boolean().optional(),
86
+ is_stripe_checkout_session_expired: z.boolean().optional(),
87
+ is_stripe_checkout_session_open: z.boolean().optional(),
88
+ is_stripe_payment_paid: z.boolean().optional(),
81
89
  is_running: z.boolean(),
82
90
  is_started: z.boolean(),
83
91
  is_finished: z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/fake-snippets",
3
- "version": "0.0.208",
3
+ "version": "0.0.210",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,9 @@
9
9
  "files": [
10
10
  "dist"
11
11
  ],
12
+ "trustedDependencies": [
13
+ "@tscircuit/fake-stripe"
14
+ ],
12
15
  "main": "dist/index.js",
13
16
  "exports": {
14
17
  ".": "./dist/index.js",
@@ -85,17 +88,18 @@
85
88
  "@tscircuit/3d-viewer": "^0.0.559",
86
89
  "@tscircuit/assembly-viewer": "^0.0.5",
87
90
  "@tscircuit/create-snippet-url": "^0.0.8",
88
- "@tscircuit/eval": "^0.0.836",
91
+ "@tscircuit/eval": "^0.0.863",
89
92
  "@tscircuit/internal-dynamic-import": "^0.0.5",
90
93
  "@tscircuit/layout": "^0.0.29",
91
94
  "@tscircuit/mm": "^0.0.8",
92
- "@tscircuit/pcb-viewer": "1.11.369",
95
+ "@tscircuit/pcb-viewer": "1.11.370",
93
96
  "@tscircuit/prompt-benchmarks": "^0.0.28",
94
97
  "@tscircuit/props": "^0.0.499",
95
- "@tscircuit/runframe": "^0.0.1945",
98
+ "@tscircuit/runframe": "^0.0.1991",
96
99
  "@tscircuit/schematic-viewer": "^2.0.61",
97
100
  "@tscircuit/simple-3d-svg": "^0.0.41",
98
- "@tscircuit/order-dialog": "git+https://github.com/tscircuit/order-dialog.git#7d5cdaf",
101
+ "@tscircuit/order-dialog": "git+https://github.com/tscircuit/order-dialog.git#c1a55b7",
102
+ "@tscircuit/fake-stripe": "git+https://github.com/tscircuit/fake-stripe.git#f1a5b40",
99
103
  "@types/babel__standalone": "^7.1.7",
100
104
  "@types/bun": "^1.1.10",
101
105
  "@types/country-list": "^2.1.4",
@@ -117,7 +121,7 @@
117
121
  "circuit-json-to-bom-csv": "^0.0.7",
118
122
  "circuit-json-to-gerber": "^0.0.51",
119
123
  "circuit-json-to-gltf": "^0.0.91",
120
- "circuit-json-to-kicad": "^0.0.124",
124
+ "circuit-json-to-kicad": "^0.0.137",
121
125
  "circuit-json-to-lbrn": "^0.0.23",
122
126
  "circuit-json-to-pnp-csv": "^0.0.7",
123
127
  "circuit-json-to-readable-netlist": "^0.0.13",
@@ -147,7 +151,7 @@
147
151
  "jose": "^5.9.3",
148
152
  "jszip": "^3.10.1",
149
153
  "kicad-converter": "^0.0.17",
150
- "kicadts": "^0.0.23",
154
+ "kicadts": "^0.0.35",
151
155
  "ky": "^1.7.5",
152
156
  "lucide-react": "^0.488.0",
153
157
  "lz-string": "^1.5.0",