create-disposabl-app 0.8.10 → 0.8.11

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 (66) hide show
  1. package/README.md +8 -1
  2. package/dist/disposabl.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/templates/default/bun.lock +1 -7
  5. package/dist/templates/default/packages/backend/README.md +4 -8
  6. package/dist/templates/default/packages/backend/convex/_generated/api.d.ts +0 -67
  7. package/dist/templates/default/packages/backend/convex/_generated/server.d.ts +0 -9
  8. package/dist/templates/default/packages/backend/convex/convex.config.ts +0 -11
  9. package/dist/templates/default/packages/backend/convex/http.ts +1 -9
  10. package/dist/templates/default/packages/backend/convex/schema.ts +1 -70
  11. package/dist/templates/default/packages/backend/generated/openapi.json +1 -1262
  12. package/dist/templates/default/packages/backend/generated/pages.json +0 -4
  13. package/dist/templates/default/packages/backend/generated/platforms.ts +2 -20
  14. package/dist/templates/default/packages/backend/package.json +1 -7
  15. package/dist/templates/default/packages/skill/SKILL.md +5 -5
  16. package/dist/templates/default/packages/skill/references/delivery.md +1 -1
  17. package/package.json +1 -1
  18. package/dist/templates/default/packages/backend/convex/apps/actions/cleanup.ts +0 -317
  19. package/dist/templates/default/packages/backend/convex/apps/actions/create.ts +0 -30
  20. package/dist/templates/default/packages/backend/convex/apps/actions/delete.ts +0 -15
  21. package/dist/templates/default/packages/backend/convex/apps/actions/expo.ts +0 -180
  22. package/dist/templates/default/packages/backend/convex/apps/actions/setup.ts +0 -48
  23. package/dist/templates/default/packages/backend/convex/apps/internal.ts +0 -211
  24. package/dist/templates/default/packages/backend/convex/apps/operations/internal.ts +0 -239
  25. package/dist/templates/default/packages/backend/convex/apps/validator.ts +0 -23
  26. package/dist/templates/default/packages/backend/convex/connections/actions/credentials.ts +0 -56
  27. package/dist/templates/default/packages/backend/convex/connections/actions/expo.ts +0 -79
  28. package/dist/templates/default/packages/backend/convex/connections/actions/github.ts +0 -119
  29. package/dist/templates/default/packages/backend/convex/connections/actions/oauth.ts +0 -128
  30. package/dist/templates/default/packages/backend/convex/connections/index.ts +0 -80
  31. package/dist/templates/default/packages/backend/convex/connections/internal.ts +0 -147
  32. package/dist/templates/default/packages/backend/convex/connections/validator.ts +0 -35
  33. package/dist/templates/default/packages/backend/convex/downloads/action.ts +0 -136
  34. package/dist/templates/default/packages/backend/convex/downloads/http.ts +0 -32
  35. package/dist/templates/default/packages/backend/convex/downloads/internal.ts +0 -58
  36. package/dist/templates/default/packages/backend/convex/github/actions/http.ts +0 -69
  37. package/dist/templates/default/packages/backend/convex/github/actions/internal.ts +0 -196
  38. package/dist/templates/default/packages/backend/convex/github/actions/oidc.ts +0 -75
  39. package/dist/templates/default/packages/backend/convex/github/actions/provision.ts +0 -76
  40. package/dist/templates/default/packages/backend/convex/github/actions/secrets.ts +0 -180
  41. package/dist/templates/default/packages/backend/convex/github/actions/signing.ts +0 -41
  42. package/dist/templates/default/packages/backend/convex/github/actions/tokens.ts +0 -145
  43. package/dist/templates/default/packages/backend/convex/github/identityCache.ts +0 -54
  44. package/dist/templates/default/packages/backend/convex/github/internal.ts +0 -33
  45. package/dist/templates/default/packages/backend/convex/previews/internal.ts +0 -257
  46. package/dist/templates/default/packages/backend/convex/previews/token/actions/create.ts +0 -83
  47. package/dist/templates/default/packages/backend/convex/previews/token/actions/management.ts +0 -182
  48. package/dist/templates/default/packages/backend/convex/previews/token/internal.ts +0 -32
  49. package/dist/templates/default/packages/backend/convex/releases/internal.ts +0 -28
  50. package/dist/templates/default/packages/backend/convex/validator.ts +0 -87
  51. package/dist/templates/default/packages/sdk/src/generated/client/client.gen.ts +0 -300
  52. package/dist/templates/default/packages/sdk/src/generated/client/index.ts +0 -27
  53. package/dist/templates/default/packages/sdk/src/generated/client/types.gen.ts +0 -238
  54. package/dist/templates/default/packages/sdk/src/generated/client/utils.gen.ts +0 -337
  55. package/dist/templates/default/packages/sdk/src/generated/client.gen.ts +0 -28
  56. package/dist/templates/default/packages/sdk/src/generated/core/auth.gen.ts +0 -49
  57. package/dist/templates/default/packages/sdk/src/generated/core/bodySerializer.gen.ts +0 -96
  58. package/dist/templates/default/packages/sdk/src/generated/core/params.gen.ts +0 -188
  59. package/dist/templates/default/packages/sdk/src/generated/core/pathSerializer.gen.ts +0 -186
  60. package/dist/templates/default/packages/sdk/src/generated/core/queryKeySerializer.gen.ts +0 -134
  61. package/dist/templates/default/packages/sdk/src/generated/core/serverSentEvents.gen.ts +0 -265
  62. package/dist/templates/default/packages/sdk/src/generated/core/types.gen.ts +0 -126
  63. package/dist/templates/default/packages/sdk/src/generated/core/utils.gen.ts +0 -146
  64. package/dist/templates/default/packages/sdk/src/generated/index.ts +0 -63
  65. package/dist/templates/default/packages/sdk/src/generated/sdk.gen.ts +0 -234
  66. package/dist/templates/default/packages/sdk/src/generated/types.gen.ts +0 -660
@@ -1,660 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- export type ClientOptions = {
4
- baseUrl: `${string}://${string}` | (string & {});
5
- };
6
-
7
- export type AppsCreateData = {
8
- body: {
9
- name: string;
10
- platforms: Array<
11
- | "web"
12
- | "android"
13
- | "ios"
14
- | "macos"
15
- | "windows"
16
- | "linux"
17
- | "api"
18
- | "mcp"
19
- | "typescript-sdk"
20
- | "cli"
21
- >;
22
- };
23
- path?: never;
24
- query?: never;
25
- url: "/api/apps/create";
26
- };
27
-
28
- export type AppsCreateErrors = {
29
- /**
30
- * Invalid arguments
31
- */
32
- 400: unknown;
33
- /**
34
- * Authentication required
35
- */
36
- 401: unknown;
37
- /**
38
- * Insufficient scope
39
- */
40
- 403: unknown;
41
- /**
42
- * Internal error
43
- */
44
- 500: unknown;
45
- };
46
-
47
- export type AppsCreateResponses = {
48
- /**
49
- * Success
50
- */
51
- 200: {
52
- appId: string;
53
- name: string;
54
- platforms: Array<
55
- | "web"
56
- | "android"
57
- | "ios"
58
- | "macos"
59
- | "windows"
60
- | "linux"
61
- | "api"
62
- | "mcp"
63
- | "typescript-sdk"
64
- | "cli"
65
- >;
66
- githubOwner?: string;
67
- githubRepo?: string;
68
- createdAt: number;
69
- };
70
- };
71
-
72
- export type AppsCreateResponse = AppsCreateResponses[keyof AppsCreateResponses];
73
-
74
- export type AppsDeleteData = {
75
- body: {
76
- appId: string;
77
- dangerouslyDeleteApp: true;
78
- };
79
- path?: never;
80
- query?: never;
81
- url: "/api/apps/delete";
82
- };
83
-
84
- export type AppsDeleteErrors = {
85
- /**
86
- * Invalid arguments
87
- */
88
- 400: unknown;
89
- /**
90
- * Authentication required
91
- */
92
- 401: unknown;
93
- /**
94
- * Insufficient scope
95
- */
96
- 403: unknown;
97
- /**
98
- * Internal error
99
- */
100
- 500: unknown;
101
- };
102
-
103
- export type AppsDeleteResponses = {
104
- /**
105
- * Success
106
- */
107
- 200: null;
108
- };
109
-
110
- export type AppsDeleteResponse = AppsDeleteResponses[keyof AppsDeleteResponses];
111
-
112
- export type AppsGetData = {
113
- body?: never;
114
- path?: never;
115
- query: {
116
- appId: string;
117
- };
118
- url: "/api/apps/get";
119
- };
120
-
121
- export type AppsGetErrors = {
122
- /**
123
- * Invalid arguments
124
- */
125
- 400: unknown;
126
- /**
127
- * Authentication required
128
- */
129
- 401: unknown;
130
- /**
131
- * Insufficient scope
132
- */
133
- 403: unknown;
134
- /**
135
- * Internal error
136
- */
137
- 500: unknown;
138
- };
139
-
140
- export type AppsGetResponses = {
141
- /**
142
- * Success
143
- */
144
- 200: {
145
- appId: string;
146
- name: string;
147
- platforms: Array<
148
- | "web"
149
- | "android"
150
- | "ios"
151
- | "macos"
152
- | "windows"
153
- | "linux"
154
- | "api"
155
- | "mcp"
156
- | "typescript-sdk"
157
- | "cli"
158
- >;
159
- githubOwner?: string;
160
- githubRepo?: string;
161
- createdAt: number;
162
- };
163
- };
164
-
165
- export type AppsGetResponse = AppsGetResponses[keyof AppsGetResponses];
166
-
167
- export type AppsListData = {
168
- body?: never;
169
- path?: never;
170
- query: {
171
- paginationOpts: {
172
- numItems: number;
173
- cursor: string | null;
174
- endCursor?: string | null;
175
- id?: number;
176
- maximumRowsRead?: number;
177
- maximumBytesRead?: number;
178
- };
179
- };
180
- url: "/api/apps/list";
181
- };
182
-
183
- export type AppsListErrors = {
184
- /**
185
- * Invalid arguments
186
- */
187
- 400: unknown;
188
- /**
189
- * Authentication required
190
- */
191
- 401: unknown;
192
- /**
193
- * Insufficient scope
194
- */
195
- 403: unknown;
196
- /**
197
- * Internal error
198
- */
199
- 500: unknown;
200
- };
201
-
202
- export type AppsListResponses = {
203
- /**
204
- * Success
205
- */
206
- 200: {
207
- page: Array<{
208
- appId: string;
209
- name: string;
210
- platforms: Array<
211
- | "web"
212
- | "android"
213
- | "ios"
214
- | "macos"
215
- | "windows"
216
- | "linux"
217
- | "api"
218
- | "mcp"
219
- | "typescript-sdk"
220
- | "cli"
221
- >;
222
- githubOwner?: string;
223
- githubRepo?: string;
224
- createdAt: number;
225
- }>;
226
- continueCursor: string;
227
- isDone: boolean;
228
- splitCursor?: string | null;
229
- pageStatus?: "SplitRecommended" | "SplitRequired" | null;
230
- };
231
- };
232
-
233
- export type AppsListResponse = AppsListResponses[keyof AppsListResponses];
234
-
235
- export type AppsUpdateData = {
236
- body: {
237
- appId: string;
238
- platforms: Array<
239
- | "web"
240
- | "android"
241
- | "ios"
242
- | "macos"
243
- | "windows"
244
- | "linux"
245
- | "api"
246
- | "mcp"
247
- | "typescript-sdk"
248
- | "cli"
249
- >;
250
- };
251
- path?: never;
252
- query?: never;
253
- url: "/api/apps/update";
254
- };
255
-
256
- export type AppsUpdateErrors = {
257
- /**
258
- * Invalid arguments
259
- */
260
- 400: unknown;
261
- /**
262
- * Authentication required
263
- */
264
- 401: unknown;
265
- /**
266
- * Insufficient scope
267
- */
268
- 403: unknown;
269
- /**
270
- * Internal error
271
- */
272
- 500: unknown;
273
- };
274
-
275
- export type AppsUpdateResponses = {
276
- /**
277
- * Success
278
- */
279
- 200: {
280
- appId: string;
281
- name: string;
282
- platforms: Array<
283
- | "web"
284
- | "android"
285
- | "ios"
286
- | "macos"
287
- | "windows"
288
- | "linux"
289
- | "api"
290
- | "mcp"
291
- | "typescript-sdk"
292
- | "cli"
293
- >;
294
- githubOwner?: string;
295
- githubRepo?: string;
296
- createdAt: number;
297
- };
298
- };
299
-
300
- export type AppsUpdateResponse = AppsUpdateResponses[keyof AppsUpdateResponses];
301
-
302
- export type ConnectionsStatusData = {
303
- body?: never;
304
- path?: never;
305
- query?: never;
306
- url: "/api/connections/status";
307
- };
308
-
309
- export type ConnectionsStatusErrors = {
310
- /**
311
- * Invalid arguments
312
- */
313
- 400: unknown;
314
- /**
315
- * Authentication required
316
- */
317
- 401: unknown;
318
- /**
319
- * Insufficient scope
320
- */
321
- 403: unknown;
322
- /**
323
- * Internal error
324
- */
325
- 500: unknown;
326
- };
327
-
328
- export type ConnectionsStatusResponses = {
329
- /**
330
- * Success
331
- */
332
- 200: {
333
- github: {
334
- owner: string;
335
- } | null;
336
- convex: {
337
- name: string;
338
- } | null;
339
- expo: {
340
- name: string;
341
- } | null;
342
- ready: boolean;
343
- available: {
344
- github: boolean;
345
- convex: boolean;
346
- expo: boolean;
347
- };
348
- githubInstallUrl: string | null;
349
- };
350
- };
351
-
352
- export type ConnectionsStatusResponse =
353
- ConnectionsStatusResponses[keyof ConnectionsStatusResponses];
354
-
355
- export type PreviewsGetData = {
356
- body?: never;
357
- path?: never;
358
- query: {
359
- appId: string;
360
- reference: string;
361
- };
362
- url: "/api/previews/get";
363
- };
364
-
365
- export type PreviewsGetErrors = {
366
- /**
367
- * Invalid arguments
368
- */
369
- 400: unknown;
370
- /**
371
- * Authentication required
372
- */
373
- 401: unknown;
374
- /**
375
- * Insufficient scope
376
- */
377
- 403: unknown;
378
- /**
379
- * Internal error
380
- */
381
- 500: unknown;
382
- };
383
-
384
- export type PreviewsGetResponses = {
385
- /**
386
- * Success
387
- */
388
- 200: {
389
- appId: string;
390
- reference: string;
391
- stage: "generating" | "building";
392
- deployment?: {
393
- name: string;
394
- reference: string;
395
- convexUrl: string;
396
- convexSiteUrl: string;
397
- };
398
- platforms: {
399
- [key: string]: {
400
- enabled: boolean;
401
- url?: string;
402
- latest?: {
403
- status: "building" | "ready" | "failed" | "blocked";
404
- reason?: string;
405
- version?: string;
406
- githubReleaseUrl?: string;
407
- artifactUrl?: string;
408
- updateUrl?: string;
409
- run: {
410
- id: number;
411
- attempt: number;
412
- number: number;
413
- commitSha: string;
414
- url: string;
415
- };
416
- };
417
- };
418
- };
419
- updatedAt: number;
420
- } | null;
421
- };
422
-
423
- export type PreviewsGetResponse =
424
- PreviewsGetResponses[keyof PreviewsGetResponses];
425
-
426
- export type PreviewsListData = {
427
- body?: never;
428
- path?: never;
429
- query: {
430
- appId: string;
431
- paginationOpts: {
432
- numItems: number;
433
- cursor: string | null;
434
- endCursor?: string | null;
435
- id?: number;
436
- maximumRowsRead?: number;
437
- maximumBytesRead?: number;
438
- };
439
- };
440
- url: "/api/previews/list";
441
- };
442
-
443
- export type PreviewsListErrors = {
444
- /**
445
- * Invalid arguments
446
- */
447
- 400: unknown;
448
- /**
449
- * Authentication required
450
- */
451
- 401: unknown;
452
- /**
453
- * Insufficient scope
454
- */
455
- 403: unknown;
456
- /**
457
- * Internal error
458
- */
459
- 500: unknown;
460
- };
461
-
462
- export type PreviewsListResponses = {
463
- /**
464
- * Success
465
- */
466
- 200: {
467
- page: Array<{
468
- appId: string;
469
- reference: string;
470
- stage: "generating" | "building";
471
- deployment?: {
472
- name: string;
473
- reference: string;
474
- convexUrl: string;
475
- convexSiteUrl: string;
476
- };
477
- platforms: {
478
- [key: string]: {
479
- enabled: boolean;
480
- url?: string;
481
- latest?: {
482
- status: "building" | "ready" | "failed" | "blocked";
483
- reason?: string;
484
- version?: string;
485
- githubReleaseUrl?: string;
486
- artifactUrl?: string;
487
- updateUrl?: string;
488
- run: {
489
- id: number;
490
- attempt: number;
491
- number: number;
492
- commitSha: string;
493
- url: string;
494
- };
495
- };
496
- };
497
- };
498
- updatedAt: number;
499
- }>;
500
- continueCursor: string;
501
- isDone: boolean;
502
- splitCursor?: string | null;
503
- pageStatus?: "SplitRecommended" | "SplitRequired" | null;
504
- };
505
- };
506
-
507
- export type PreviewsListResponse =
508
- PreviewsListResponses[keyof PreviewsListResponses];
509
-
510
- export type PreviewsTokenCreateData = {
511
- body: {
512
- appId: string;
513
- reference: string;
514
- };
515
- path?: never;
516
- query?: never;
517
- url: "/api/previews/token/create";
518
- };
519
-
520
- export type PreviewsTokenCreateErrors = {
521
- /**
522
- * Invalid arguments
523
- */
524
- 400: unknown;
525
- /**
526
- * Authentication required
527
- */
528
- 401: unknown;
529
- /**
530
- * Insufficient scope
531
- */
532
- 403: unknown;
533
- /**
534
- * Internal error
535
- */
536
- 500: unknown;
537
- };
538
-
539
- export type PreviewsTokenCreateResponses = {
540
- /**
541
- * Success
542
- */
543
- 200: {
544
- appId: string;
545
- name: string;
546
- reference: string;
547
- convexUrl: string;
548
- convexSiteUrl: string;
549
- deployKey: string;
550
- productionConvexSiteUrl?: string;
551
- repositoryUrl?: string;
552
- };
553
- };
554
-
555
- export type PreviewsTokenCreateResponse =
556
- PreviewsTokenCreateResponses[keyof PreviewsTokenCreateResponses];
557
-
558
- export type ReleasesGetData = {
559
- body?: never;
560
- path?: never;
561
- query: {
562
- appId: string;
563
- };
564
- url: "/api/releases/get";
565
- };
566
-
567
- export type ReleasesGetErrors = {
568
- /**
569
- * Invalid arguments
570
- */
571
- 400: unknown;
572
- /**
573
- * Authentication required
574
- */
575
- 401: unknown;
576
- /**
577
- * Insufficient scope
578
- */
579
- 403: unknown;
580
- /**
581
- * Internal error
582
- */
583
- 500: unknown;
584
- };
585
-
586
- export type ReleasesGetResponses = {
587
- /**
588
- * Success
589
- */
590
- 200: {
591
- appId: string;
592
- platforms: {
593
- [key: string]: {
594
- enabled: boolean;
595
- url?: string;
596
- latest?: {
597
- status: "building" | "ready" | "failed" | "blocked";
598
- reason?: string;
599
- version?: string;
600
- githubReleaseUrl?: string;
601
- artifactUrl?: string;
602
- updateUrl?: string;
603
- run: {
604
- id: number;
605
- attempt: number;
606
- number: number;
607
- commitSha: string;
608
- url: string;
609
- };
610
- };
611
- };
612
- };
613
- updatedAt: number;
614
- } | null;
615
- };
616
-
617
- export type ReleasesGetResponse =
618
- ReleasesGetResponses[keyof ReleasesGetResponses];
619
-
620
- export type UsersCurrentData = {
621
- body?: never;
622
- path?: never;
623
- query?: never;
624
- url: "/api/users/current";
625
- };
626
-
627
- export type UsersCurrentErrors = {
628
- /**
629
- * Invalid arguments
630
- */
631
- 400: unknown;
632
- /**
633
- * Authentication required
634
- */
635
- 401: unknown;
636
- /**
637
- * Insufficient scope
638
- */
639
- 403: unknown;
640
- /**
641
- * Internal error
642
- */
643
- 500: unknown;
644
- };
645
-
646
- export type UsersCurrentResponses = {
647
- /**
648
- * Success
649
- */
650
- 200: null | {
651
- /**
652
- * ID of a document in "users"
653
- */
654
- id: string;
655
- username: string | null;
656
- };
657
- };
658
-
659
- export type UsersCurrentResponse =
660
- UsersCurrentResponses[keyof UsersCurrentResponses];