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
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Application API",
5
- "version": "3.1.0"
5
+ "version": "0.1.0"
6
6
  },
7
7
  "security": [
8
8
  {
@@ -18,1267 +18,6 @@
18
18
  }
19
19
  },
20
20
  "paths": {
21
- "/api/apps/create": {
22
- "post": {
23
- "operationId": "appsCreate",
24
- "x-convex-function": "apps/internal:create",
25
- "requestBody": {
26
- "required": true,
27
- "content": {
28
- "application/json": {
29
- "schema": {
30
- "type": "object",
31
- "properties": {
32
- "name": {
33
- "type": "string"
34
- },
35
- "platforms": {
36
- "type": "array",
37
- "items": {
38
- "enum": [
39
- "web",
40
- "android",
41
- "ios",
42
- "macos",
43
- "windows",
44
- "linux",
45
- "api",
46
- "mcp",
47
- "typescript-sdk",
48
- "cli"
49
- ]
50
- }
51
- }
52
- },
53
- "required": ["name", "platforms"],
54
- "additionalProperties": false
55
- }
56
- }
57
- }
58
- },
59
- "responses": {
60
- "200": {
61
- "description": "Success",
62
- "content": {
63
- "application/json": {
64
- "schema": {
65
- "type": "object",
66
- "properties": {
67
- "appId": {
68
- "type": "string"
69
- },
70
- "name": {
71
- "type": "string"
72
- },
73
- "platforms": {
74
- "type": "array",
75
- "items": {
76
- "enum": [
77
- "web",
78
- "android",
79
- "ios",
80
- "macos",
81
- "windows",
82
- "linux",
83
- "api",
84
- "mcp",
85
- "typescript-sdk",
86
- "cli"
87
- ]
88
- }
89
- },
90
- "githubOwner": {
91
- "type": "string"
92
- },
93
- "githubRepo": {
94
- "type": "string"
95
- },
96
- "createdAt": {
97
- "type": "number"
98
- }
99
- },
100
- "required": ["appId", "name", "platforms", "createdAt"],
101
- "additionalProperties": false
102
- }
103
- }
104
- }
105
- },
106
- "400": {
107
- "description": "Invalid arguments"
108
- },
109
- "401": {
110
- "description": "Authentication required"
111
- },
112
- "403": {
113
- "description": "Insufficient scope"
114
- },
115
- "500": {
116
- "description": "Internal error"
117
- }
118
- }
119
- }
120
- },
121
- "/api/apps/delete": {
122
- "post": {
123
- "operationId": "appsDelete",
124
- "x-convex-function": "apps/internal:delete",
125
- "requestBody": {
126
- "required": true,
127
- "content": {
128
- "application/json": {
129
- "schema": {
130
- "type": "object",
131
- "properties": {
132
- "appId": {
133
- "type": "string"
134
- },
135
- "dangerouslyDeleteApp": {
136
- "const": true
137
- }
138
- },
139
- "required": ["appId", "dangerouslyDeleteApp"],
140
- "additionalProperties": false
141
- }
142
- }
143
- }
144
- },
145
- "responses": {
146
- "200": {
147
- "description": "Success",
148
- "content": {
149
- "application/json": {
150
- "schema": {
151
- "type": "null"
152
- }
153
- }
154
- }
155
- },
156
- "400": {
157
- "description": "Invalid arguments"
158
- },
159
- "401": {
160
- "description": "Authentication required"
161
- },
162
- "403": {
163
- "description": "Insufficient scope"
164
- },
165
- "500": {
166
- "description": "Internal error"
167
- }
168
- }
169
- }
170
- },
171
- "/api/apps/get": {
172
- "get": {
173
- "operationId": "appsGet",
174
- "x-convex-function": "apps/internal:get",
175
- "parameters": [
176
- {
177
- "name": "appId",
178
- "in": "query",
179
- "required": true,
180
- "content": {
181
- "application/json": {
182
- "schema": {
183
- "type": "string"
184
- }
185
- }
186
- }
187
- }
188
- ],
189
- "responses": {
190
- "200": {
191
- "description": "Success",
192
- "content": {
193
- "application/json": {
194
- "schema": {
195
- "type": "object",
196
- "properties": {
197
- "appId": {
198
- "type": "string"
199
- },
200
- "name": {
201
- "type": "string"
202
- },
203
- "platforms": {
204
- "type": "array",
205
- "items": {
206
- "enum": [
207
- "web",
208
- "android",
209
- "ios",
210
- "macos",
211
- "windows",
212
- "linux",
213
- "api",
214
- "mcp",
215
- "typescript-sdk",
216
- "cli"
217
- ]
218
- }
219
- },
220
- "githubOwner": {
221
- "type": "string"
222
- },
223
- "githubRepo": {
224
- "type": "string"
225
- },
226
- "createdAt": {
227
- "type": "number"
228
- }
229
- },
230
- "required": ["appId", "name", "platforms", "createdAt"],
231
- "additionalProperties": false
232
- }
233
- }
234
- }
235
- },
236
- "400": {
237
- "description": "Invalid arguments"
238
- },
239
- "401": {
240
- "description": "Authentication required"
241
- },
242
- "403": {
243
- "description": "Insufficient scope"
244
- },
245
- "500": {
246
- "description": "Internal error"
247
- }
248
- }
249
- }
250
- },
251
- "/api/apps/list": {
252
- "get": {
253
- "operationId": "appsList",
254
- "x-convex-function": "apps/internal:list",
255
- "parameters": [
256
- {
257
- "name": "paginationOpts",
258
- "in": "query",
259
- "required": true,
260
- "content": {
261
- "application/json": {
262
- "schema": {
263
- "type": "object",
264
- "properties": {
265
- "numItems": {
266
- "type": "number"
267
- },
268
- "cursor": {
269
- "anyOf": [
270
- {
271
- "type": "string"
272
- },
273
- {
274
- "type": "null"
275
- }
276
- ]
277
- },
278
- "endCursor": {
279
- "anyOf": [
280
- {
281
- "type": "string"
282
- },
283
- {
284
- "type": "null"
285
- }
286
- ]
287
- },
288
- "id": {
289
- "type": "number"
290
- },
291
- "maximumRowsRead": {
292
- "type": "number"
293
- },
294
- "maximumBytesRead": {
295
- "type": "number"
296
- }
297
- },
298
- "required": ["numItems", "cursor"],
299
- "additionalProperties": false
300
- }
301
- }
302
- }
303
- }
304
- ],
305
- "responses": {
306
- "200": {
307
- "description": "Success",
308
- "content": {
309
- "application/json": {
310
- "schema": {
311
- "type": "object",
312
- "properties": {
313
- "page": {
314
- "type": "array",
315
- "items": {
316
- "type": "object",
317
- "properties": {
318
- "appId": {
319
- "type": "string"
320
- },
321
- "name": {
322
- "type": "string"
323
- },
324
- "platforms": {
325
- "type": "array",
326
- "items": {
327
- "enum": [
328
- "web",
329
- "android",
330
- "ios",
331
- "macos",
332
- "windows",
333
- "linux",
334
- "api",
335
- "mcp",
336
- "typescript-sdk",
337
- "cli"
338
- ]
339
- }
340
- },
341
- "githubOwner": {
342
- "type": "string"
343
- },
344
- "githubRepo": {
345
- "type": "string"
346
- },
347
- "createdAt": {
348
- "type": "number"
349
- }
350
- },
351
- "required": ["appId", "name", "platforms", "createdAt"],
352
- "additionalProperties": false
353
- }
354
- },
355
- "continueCursor": {
356
- "type": "string"
357
- },
358
- "isDone": {
359
- "type": "boolean"
360
- },
361
- "splitCursor": {
362
- "anyOf": [
363
- {
364
- "type": "string"
365
- },
366
- {
367
- "type": "null"
368
- }
369
- ]
370
- },
371
- "pageStatus": {
372
- "anyOf": [
373
- {
374
- "const": "SplitRecommended"
375
- },
376
- {
377
- "const": "SplitRequired"
378
- },
379
- {
380
- "type": "null"
381
- }
382
- ]
383
- }
384
- },
385
- "required": ["page", "continueCursor", "isDone"],
386
- "additionalProperties": false
387
- }
388
- }
389
- }
390
- },
391
- "400": {
392
- "description": "Invalid arguments"
393
- },
394
- "401": {
395
- "description": "Authentication required"
396
- },
397
- "403": {
398
- "description": "Insufficient scope"
399
- },
400
- "500": {
401
- "description": "Internal error"
402
- }
403
- }
404
- }
405
- },
406
- "/api/apps/update": {
407
- "post": {
408
- "operationId": "appsUpdate",
409
- "x-convex-function": "apps/internal:update",
410
- "requestBody": {
411
- "required": true,
412
- "content": {
413
- "application/json": {
414
- "schema": {
415
- "type": "object",
416
- "properties": {
417
- "appId": {
418
- "type": "string"
419
- },
420
- "platforms": {
421
- "type": "array",
422
- "items": {
423
- "enum": [
424
- "web",
425
- "android",
426
- "ios",
427
- "macos",
428
- "windows",
429
- "linux",
430
- "api",
431
- "mcp",
432
- "typescript-sdk",
433
- "cli"
434
- ]
435
- }
436
- }
437
- },
438
- "required": ["appId", "platforms"],
439
- "additionalProperties": false
440
- }
441
- }
442
- }
443
- },
444
- "responses": {
445
- "200": {
446
- "description": "Success",
447
- "content": {
448
- "application/json": {
449
- "schema": {
450
- "type": "object",
451
- "properties": {
452
- "appId": {
453
- "type": "string"
454
- },
455
- "name": {
456
- "type": "string"
457
- },
458
- "platforms": {
459
- "type": "array",
460
- "items": {
461
- "enum": [
462
- "web",
463
- "android",
464
- "ios",
465
- "macos",
466
- "windows",
467
- "linux",
468
- "api",
469
- "mcp",
470
- "typescript-sdk",
471
- "cli"
472
- ]
473
- }
474
- },
475
- "githubOwner": {
476
- "type": "string"
477
- },
478
- "githubRepo": {
479
- "type": "string"
480
- },
481
- "createdAt": {
482
- "type": "number"
483
- }
484
- },
485
- "required": ["appId", "name", "platforms", "createdAt"],
486
- "additionalProperties": false
487
- }
488
- }
489
- }
490
- },
491
- "400": {
492
- "description": "Invalid arguments"
493
- },
494
- "401": {
495
- "description": "Authentication required"
496
- },
497
- "403": {
498
- "description": "Insufficient scope"
499
- },
500
- "500": {
501
- "description": "Internal error"
502
- }
503
- }
504
- }
505
- },
506
- "/api/connections/status": {
507
- "get": {
508
- "operationId": "connectionsStatus",
509
- "x-convex-function": "connections/internal:status",
510
- "parameters": [],
511
- "responses": {
512
- "200": {
513
- "description": "Success",
514
- "content": {
515
- "application/json": {
516
- "schema": {
517
- "type": "object",
518
- "properties": {
519
- "github": {
520
- "anyOf": [
521
- {
522
- "type": "object",
523
- "properties": {
524
- "owner": {
525
- "type": "string"
526
- }
527
- },
528
- "required": ["owner"],
529
- "additionalProperties": false
530
- },
531
- {
532
- "type": "null"
533
- }
534
- ]
535
- },
536
- "convex": {
537
- "anyOf": [
538
- {
539
- "type": "object",
540
- "properties": {
541
- "name": {
542
- "type": "string"
543
- }
544
- },
545
- "required": ["name"],
546
- "additionalProperties": false
547
- },
548
- {
549
- "type": "null"
550
- }
551
- ]
552
- },
553
- "expo": {
554
- "anyOf": [
555
- {
556
- "type": "object",
557
- "properties": {
558
- "name": {
559
- "type": "string"
560
- }
561
- },
562
- "required": ["name"],
563
- "additionalProperties": false
564
- },
565
- {
566
- "type": "null"
567
- }
568
- ]
569
- },
570
- "ready": {
571
- "type": "boolean"
572
- },
573
- "available": {
574
- "type": "object",
575
- "properties": {
576
- "github": {
577
- "type": "boolean"
578
- },
579
- "convex": {
580
- "type": "boolean"
581
- },
582
- "expo": {
583
- "type": "boolean"
584
- }
585
- },
586
- "required": ["github", "convex", "expo"],
587
- "additionalProperties": false
588
- },
589
- "githubInstallUrl": {
590
- "anyOf": [
591
- {
592
- "type": "string"
593
- },
594
- {
595
- "type": "null"
596
- }
597
- ]
598
- }
599
- },
600
- "required": [
601
- "github",
602
- "convex",
603
- "expo",
604
- "ready",
605
- "available",
606
- "githubInstallUrl"
607
- ],
608
- "additionalProperties": false
609
- }
610
- }
611
- }
612
- },
613
- "400": {
614
- "description": "Invalid arguments"
615
- },
616
- "401": {
617
- "description": "Authentication required"
618
- },
619
- "403": {
620
- "description": "Insufficient scope"
621
- },
622
- "500": {
623
- "description": "Internal error"
624
- }
625
- }
626
- }
627
- },
628
- "/api/previews/get": {
629
- "get": {
630
- "operationId": "previewsGet",
631
- "x-convex-function": "previews/internal:get",
632
- "parameters": [
633
- {
634
- "name": "appId",
635
- "in": "query",
636
- "required": true,
637
- "content": {
638
- "application/json": {
639
- "schema": {
640
- "type": "string"
641
- }
642
- }
643
- }
644
- },
645
- {
646
- "name": "reference",
647
- "in": "query",
648
- "required": true,
649
- "content": {
650
- "application/json": {
651
- "schema": {
652
- "type": "string"
653
- }
654
- }
655
- }
656
- }
657
- ],
658
- "responses": {
659
- "200": {
660
- "description": "Success",
661
- "content": {
662
- "application/json": {
663
- "schema": {
664
- "anyOf": [
665
- {
666
- "type": "object",
667
- "properties": {
668
- "appId": {
669
- "type": "string"
670
- },
671
- "reference": {
672
- "type": "string"
673
- },
674
- "stage": {
675
- "enum": ["generating", "building"]
676
- },
677
- "deployment": {
678
- "type": "object",
679
- "properties": {
680
- "name": {
681
- "type": "string"
682
- },
683
- "reference": {
684
- "type": "string"
685
- },
686
- "convexUrl": {
687
- "type": "string"
688
- },
689
- "convexSiteUrl": {
690
- "type": "string"
691
- }
692
- },
693
- "required": [
694
- "name",
695
- "reference",
696
- "convexUrl",
697
- "convexSiteUrl"
698
- ],
699
- "additionalProperties": false
700
- },
701
- "platforms": {
702
- "type": "object",
703
- "additionalProperties": {
704
- "type": "object",
705
- "properties": {
706
- "enabled": {
707
- "type": "boolean"
708
- },
709
- "url": {
710
- "type": "string"
711
- },
712
- "latest": {
713
- "type": "object",
714
- "properties": {
715
- "status": {
716
- "enum": [
717
- "building",
718
- "ready",
719
- "failed",
720
- "blocked"
721
- ]
722
- },
723
- "reason": {
724
- "type": "string"
725
- },
726
- "version": {
727
- "type": "string"
728
- },
729
- "githubReleaseUrl": {
730
- "type": "string"
731
- },
732
- "artifactUrl": {
733
- "type": "string"
734
- },
735
- "updateUrl": {
736
- "type": "string"
737
- },
738
- "run": {
739
- "type": "object",
740
- "properties": {
741
- "id": {
742
- "type": "number"
743
- },
744
- "attempt": {
745
- "type": "number"
746
- },
747
- "number": {
748
- "type": "number"
749
- },
750
- "commitSha": {
751
- "type": "string"
752
- },
753
- "url": {
754
- "type": "string"
755
- }
756
- },
757
- "required": [
758
- "id",
759
- "attempt",
760
- "number",
761
- "commitSha",
762
- "url"
763
- ],
764
- "additionalProperties": false
765
- }
766
- },
767
- "required": ["status", "run"],
768
- "additionalProperties": false
769
- }
770
- },
771
- "required": ["enabled"],
772
- "additionalProperties": false
773
- }
774
- },
775
- "updatedAt": {
776
- "type": "number"
777
- }
778
- },
779
- "required": [
780
- "appId",
781
- "reference",
782
- "stage",
783
- "platforms",
784
- "updatedAt"
785
- ],
786
- "additionalProperties": false
787
- },
788
- {
789
- "type": "null"
790
- }
791
- ]
792
- }
793
- }
794
- }
795
- },
796
- "400": {
797
- "description": "Invalid arguments"
798
- },
799
- "401": {
800
- "description": "Authentication required"
801
- },
802
- "403": {
803
- "description": "Insufficient scope"
804
- },
805
- "500": {
806
- "description": "Internal error"
807
- }
808
- }
809
- }
810
- },
811
- "/api/previews/list": {
812
- "get": {
813
- "operationId": "previewsList",
814
- "x-convex-function": "previews/internal:list",
815
- "parameters": [
816
- {
817
- "name": "appId",
818
- "in": "query",
819
- "required": true,
820
- "content": {
821
- "application/json": {
822
- "schema": {
823
- "type": "string"
824
- }
825
- }
826
- }
827
- },
828
- {
829
- "name": "paginationOpts",
830
- "in": "query",
831
- "required": true,
832
- "content": {
833
- "application/json": {
834
- "schema": {
835
- "type": "object",
836
- "properties": {
837
- "numItems": {
838
- "type": "number"
839
- },
840
- "cursor": {
841
- "anyOf": [
842
- {
843
- "type": "string"
844
- },
845
- {
846
- "type": "null"
847
- }
848
- ]
849
- },
850
- "endCursor": {
851
- "anyOf": [
852
- {
853
- "type": "string"
854
- },
855
- {
856
- "type": "null"
857
- }
858
- ]
859
- },
860
- "id": {
861
- "type": "number"
862
- },
863
- "maximumRowsRead": {
864
- "type": "number"
865
- },
866
- "maximumBytesRead": {
867
- "type": "number"
868
- }
869
- },
870
- "required": ["numItems", "cursor"],
871
- "additionalProperties": false
872
- }
873
- }
874
- }
875
- }
876
- ],
877
- "responses": {
878
- "200": {
879
- "description": "Success",
880
- "content": {
881
- "application/json": {
882
- "schema": {
883
- "type": "object",
884
- "properties": {
885
- "page": {
886
- "type": "array",
887
- "items": {
888
- "type": "object",
889
- "properties": {
890
- "appId": {
891
- "type": "string"
892
- },
893
- "reference": {
894
- "type": "string"
895
- },
896
- "stage": {
897
- "enum": ["generating", "building"]
898
- },
899
- "deployment": {
900
- "type": "object",
901
- "properties": {
902
- "name": {
903
- "type": "string"
904
- },
905
- "reference": {
906
- "type": "string"
907
- },
908
- "convexUrl": {
909
- "type": "string"
910
- },
911
- "convexSiteUrl": {
912
- "type": "string"
913
- }
914
- },
915
- "required": [
916
- "name",
917
- "reference",
918
- "convexUrl",
919
- "convexSiteUrl"
920
- ],
921
- "additionalProperties": false
922
- },
923
- "platforms": {
924
- "type": "object",
925
- "additionalProperties": {
926
- "type": "object",
927
- "properties": {
928
- "enabled": {
929
- "type": "boolean"
930
- },
931
- "url": {
932
- "type": "string"
933
- },
934
- "latest": {
935
- "type": "object",
936
- "properties": {
937
- "status": {
938
- "enum": [
939
- "building",
940
- "ready",
941
- "failed",
942
- "blocked"
943
- ]
944
- },
945
- "reason": {
946
- "type": "string"
947
- },
948
- "version": {
949
- "type": "string"
950
- },
951
- "githubReleaseUrl": {
952
- "type": "string"
953
- },
954
- "artifactUrl": {
955
- "type": "string"
956
- },
957
- "updateUrl": {
958
- "type": "string"
959
- },
960
- "run": {
961
- "type": "object",
962
- "properties": {
963
- "id": {
964
- "type": "number"
965
- },
966
- "attempt": {
967
- "type": "number"
968
- },
969
- "number": {
970
- "type": "number"
971
- },
972
- "commitSha": {
973
- "type": "string"
974
- },
975
- "url": {
976
- "type": "string"
977
- }
978
- },
979
- "required": [
980
- "id",
981
- "attempt",
982
- "number",
983
- "commitSha",
984
- "url"
985
- ],
986
- "additionalProperties": false
987
- }
988
- },
989
- "required": ["status", "run"],
990
- "additionalProperties": false
991
- }
992
- },
993
- "required": ["enabled"],
994
- "additionalProperties": false
995
- }
996
- },
997
- "updatedAt": {
998
- "type": "number"
999
- }
1000
- },
1001
- "required": [
1002
- "appId",
1003
- "reference",
1004
- "stage",
1005
- "platforms",
1006
- "updatedAt"
1007
- ],
1008
- "additionalProperties": false
1009
- }
1010
- },
1011
- "continueCursor": {
1012
- "type": "string"
1013
- },
1014
- "isDone": {
1015
- "type": "boolean"
1016
- },
1017
- "splitCursor": {
1018
- "anyOf": [
1019
- {
1020
- "type": "string"
1021
- },
1022
- {
1023
- "type": "null"
1024
- }
1025
- ]
1026
- },
1027
- "pageStatus": {
1028
- "anyOf": [
1029
- {
1030
- "const": "SplitRecommended"
1031
- },
1032
- {
1033
- "const": "SplitRequired"
1034
- },
1035
- {
1036
- "type": "null"
1037
- }
1038
- ]
1039
- }
1040
- },
1041
- "required": ["page", "continueCursor", "isDone"],
1042
- "additionalProperties": false
1043
- }
1044
- }
1045
- }
1046
- },
1047
- "400": {
1048
- "description": "Invalid arguments"
1049
- },
1050
- "401": {
1051
- "description": "Authentication required"
1052
- },
1053
- "403": {
1054
- "description": "Insufficient scope"
1055
- },
1056
- "500": {
1057
- "description": "Internal error"
1058
- }
1059
- }
1060
- }
1061
- },
1062
- "/api/previews/token/create": {
1063
- "post": {
1064
- "operationId": "previewsTokenCreate",
1065
- "x-convex-function": "previews/token/internal:create",
1066
- "requestBody": {
1067
- "required": true,
1068
- "content": {
1069
- "application/json": {
1070
- "schema": {
1071
- "type": "object",
1072
- "properties": {
1073
- "appId": {
1074
- "type": "string"
1075
- },
1076
- "reference": {
1077
- "type": "string"
1078
- }
1079
- },
1080
- "required": ["appId", "reference"],
1081
- "additionalProperties": false
1082
- }
1083
- }
1084
- }
1085
- },
1086
- "responses": {
1087
- "200": {
1088
- "description": "Success",
1089
- "content": {
1090
- "application/json": {
1091
- "schema": {
1092
- "type": "object",
1093
- "properties": {
1094
- "appId": {
1095
- "type": "string"
1096
- },
1097
- "name": {
1098
- "type": "string"
1099
- },
1100
- "reference": {
1101
- "type": "string"
1102
- },
1103
- "convexUrl": {
1104
- "type": "string"
1105
- },
1106
- "convexSiteUrl": {
1107
- "type": "string"
1108
- },
1109
- "deployKey": {
1110
- "type": "string"
1111
- },
1112
- "productionConvexSiteUrl": {
1113
- "type": "string"
1114
- },
1115
- "repositoryUrl": {
1116
- "type": "string"
1117
- }
1118
- },
1119
- "required": [
1120
- "appId",
1121
- "name",
1122
- "reference",
1123
- "convexUrl",
1124
- "convexSiteUrl",
1125
- "deployKey"
1126
- ],
1127
- "additionalProperties": false
1128
- }
1129
- }
1130
- }
1131
- },
1132
- "400": {
1133
- "description": "Invalid arguments"
1134
- },
1135
- "401": {
1136
- "description": "Authentication required"
1137
- },
1138
- "403": {
1139
- "description": "Insufficient scope"
1140
- },
1141
- "500": {
1142
- "description": "Internal error"
1143
- }
1144
- }
1145
- }
1146
- },
1147
- "/api/releases/get": {
1148
- "get": {
1149
- "operationId": "releasesGet",
1150
- "x-convex-function": "releases/internal:get",
1151
- "parameters": [
1152
- {
1153
- "name": "appId",
1154
- "in": "query",
1155
- "required": true,
1156
- "content": {
1157
- "application/json": {
1158
- "schema": {
1159
- "type": "string"
1160
- }
1161
- }
1162
- }
1163
- }
1164
- ],
1165
- "responses": {
1166
- "200": {
1167
- "description": "Success",
1168
- "content": {
1169
- "application/json": {
1170
- "schema": {
1171
- "anyOf": [
1172
- {
1173
- "type": "object",
1174
- "properties": {
1175
- "appId": {
1176
- "type": "string"
1177
- },
1178
- "platforms": {
1179
- "type": "object",
1180
- "additionalProperties": {
1181
- "type": "object",
1182
- "properties": {
1183
- "enabled": {
1184
- "type": "boolean"
1185
- },
1186
- "url": {
1187
- "type": "string"
1188
- },
1189
- "latest": {
1190
- "type": "object",
1191
- "properties": {
1192
- "status": {
1193
- "enum": [
1194
- "building",
1195
- "ready",
1196
- "failed",
1197
- "blocked"
1198
- ]
1199
- },
1200
- "reason": {
1201
- "type": "string"
1202
- },
1203
- "version": {
1204
- "type": "string"
1205
- },
1206
- "githubReleaseUrl": {
1207
- "type": "string"
1208
- },
1209
- "artifactUrl": {
1210
- "type": "string"
1211
- },
1212
- "updateUrl": {
1213
- "type": "string"
1214
- },
1215
- "run": {
1216
- "type": "object",
1217
- "properties": {
1218
- "id": {
1219
- "type": "number"
1220
- },
1221
- "attempt": {
1222
- "type": "number"
1223
- },
1224
- "number": {
1225
- "type": "number"
1226
- },
1227
- "commitSha": {
1228
- "type": "string"
1229
- },
1230
- "url": {
1231
- "type": "string"
1232
- }
1233
- },
1234
- "required": [
1235
- "id",
1236
- "attempt",
1237
- "number",
1238
- "commitSha",
1239
- "url"
1240
- ],
1241
- "additionalProperties": false
1242
- }
1243
- },
1244
- "required": ["status", "run"],
1245
- "additionalProperties": false
1246
- }
1247
- },
1248
- "required": ["enabled"],
1249
- "additionalProperties": false
1250
- }
1251
- },
1252
- "updatedAt": {
1253
- "type": "number"
1254
- }
1255
- },
1256
- "required": ["appId", "platforms", "updatedAt"],
1257
- "additionalProperties": false
1258
- },
1259
- {
1260
- "type": "null"
1261
- }
1262
- ]
1263
- }
1264
- }
1265
- }
1266
- },
1267
- "400": {
1268
- "description": "Invalid arguments"
1269
- },
1270
- "401": {
1271
- "description": "Authentication required"
1272
- },
1273
- "403": {
1274
- "description": "Insufficient scope"
1275
- },
1276
- "500": {
1277
- "description": "Internal error"
1278
- }
1279
- }
1280
- }
1281
- },
1282
21
  "/api/users/current": {
1283
22
  "get": {
1284
23
  "operationId": "usersCurrent",