@boboddy/sdk 0.0.7-alpha

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.
@@ -0,0 +1,1904 @@
1
+ import { Elysia } from "elysia";
2
+ import type { AppContext } from "@boboddy/core/lib/di";
3
+ export declare const createProjectRoutes: (appContext: AppContext) => Elysia<"", {
4
+ decorator: {};
5
+ store: {};
6
+ derive: {};
7
+ resolve: {};
8
+ }, {
9
+ typebox: {};
10
+ error: {};
11
+ }, {
12
+ schema: {};
13
+ standaloneSchema: {};
14
+ macro: {};
15
+ macroFn: {};
16
+ parser: {};
17
+ response: {};
18
+ }, {
19
+ projects: {
20
+ post: {
21
+ body: {
22
+ name: string;
23
+ description: string | null;
24
+ gitUrl: string;
25
+ };
26
+ params: {};
27
+ query: unknown;
28
+ headers: unknown;
29
+ response: {
30
+ 422: {
31
+ type: string;
32
+ title: string;
33
+ status: number;
34
+ detail?: string | undefined;
35
+ instance?: string | undefined;
36
+ code?: string | undefined;
37
+ errors?: {
38
+ path: string;
39
+ message: string;
40
+ summary?: string | undefined;
41
+ }[] | undefined;
42
+ };
43
+ 500: {
44
+ type: string;
45
+ title: string;
46
+ status: number;
47
+ detail?: string | undefined;
48
+ instance?: string | undefined;
49
+ code?: string | undefined;
50
+ errors?: {
51
+ path: string;
52
+ message: string;
53
+ summary?: string | undefined;
54
+ }[] | undefined;
55
+ };
56
+ 200: {
57
+ id: string & {
58
+ readonly __brand: "uuidv7";
59
+ };
60
+ name: string;
61
+ description: string | null;
62
+ gitUrl: string;
63
+ createdByUserId: string & {
64
+ readonly __brand: "uuidv7";
65
+ };
66
+ memberships: {
67
+ userId: string & {
68
+ readonly __brand: "uuidv7";
69
+ };
70
+ permissions: string[];
71
+ createdAt: string;
72
+ updatedAt: string;
73
+ }[];
74
+ createdAt: string;
75
+ updatedAt: string;
76
+ };
77
+ 403: {
78
+ type: string;
79
+ title: string;
80
+ status: number;
81
+ detail?: string | undefined;
82
+ instance?: string | undefined;
83
+ code?: string | undefined;
84
+ errors?: {
85
+ path: string;
86
+ message: string;
87
+ summary?: string | undefined;
88
+ }[] | undefined;
89
+ };
90
+ 400: {
91
+ type: string;
92
+ title: string;
93
+ status: number;
94
+ detail?: string | undefined;
95
+ instance?: string | undefined;
96
+ code?: string | undefined;
97
+ errors?: {
98
+ path: string;
99
+ message: string;
100
+ summary?: string | undefined;
101
+ }[] | undefined;
102
+ };
103
+ 401: {
104
+ type: string;
105
+ title: string;
106
+ status: number;
107
+ detail?: string | undefined;
108
+ instance?: string | undefined;
109
+ code?: string | undefined;
110
+ errors?: {
111
+ path: string;
112
+ message: string;
113
+ summary?: string | undefined;
114
+ }[] | undefined;
115
+ };
116
+ };
117
+ };
118
+ };
119
+ } & {
120
+ projects: {
121
+ get: {
122
+ body: unknown;
123
+ params: {};
124
+ query: unknown;
125
+ headers: unknown;
126
+ response: {
127
+ 422: {
128
+ type: "validation";
129
+ on: string;
130
+ summary?: string;
131
+ message?: string;
132
+ found?: unknown;
133
+ property?: string;
134
+ expected?: string;
135
+ };
136
+ 500: {
137
+ type: string;
138
+ title: string;
139
+ status: number;
140
+ detail?: string | undefined;
141
+ instance?: string | undefined;
142
+ code?: string | undefined;
143
+ errors?: {
144
+ path: string;
145
+ message: string;
146
+ summary?: string | undefined;
147
+ }[] | undefined;
148
+ };
149
+ 200: {
150
+ id: string & {
151
+ readonly __brand: "uuidv7";
152
+ };
153
+ name: string;
154
+ description: string | null;
155
+ gitUrl: string;
156
+ createdByUserId: string & {
157
+ readonly __brand: "uuidv7";
158
+ };
159
+ memberships: {
160
+ userId: string & {
161
+ readonly __brand: "uuidv7";
162
+ };
163
+ permissions: string[];
164
+ createdAt: string;
165
+ updatedAt: string;
166
+ }[];
167
+ createdAt: string;
168
+ updatedAt: string;
169
+ }[];
170
+ 401: {
171
+ type: string;
172
+ title: string;
173
+ status: number;
174
+ detail?: string | undefined;
175
+ instance?: string | undefined;
176
+ code?: string | undefined;
177
+ errors?: {
178
+ path: string;
179
+ message: string;
180
+ summary?: string | undefined;
181
+ }[] | undefined;
182
+ };
183
+ };
184
+ };
185
+ };
186
+ } & {
187
+ projects: {
188
+ ":projectId": {
189
+ "work-items": {
190
+ get: {
191
+ body: unknown;
192
+ params: {
193
+ projectId: string & {
194
+ readonly __brand: "uuidv7";
195
+ };
196
+ };
197
+ query: unknown;
198
+ headers: unknown;
199
+ response: {
200
+ 422: {
201
+ type: string;
202
+ title: string;
203
+ status: number;
204
+ detail?: string | undefined;
205
+ instance?: string | undefined;
206
+ code?: string | undefined;
207
+ errors?: {
208
+ path: string;
209
+ message: string;
210
+ summary?: string | undefined;
211
+ }[] | undefined;
212
+ };
213
+ 404: {
214
+ type: string;
215
+ title: string;
216
+ status: number;
217
+ detail?: string | undefined;
218
+ instance?: string | undefined;
219
+ code?: string | undefined;
220
+ errors?: {
221
+ path: string;
222
+ message: string;
223
+ summary?: string | undefined;
224
+ }[] | undefined;
225
+ };
226
+ 500: {
227
+ type: string;
228
+ title: string;
229
+ status: number;
230
+ detail?: string | undefined;
231
+ instance?: string | undefined;
232
+ code?: string | undefined;
233
+ errors?: {
234
+ path: string;
235
+ message: string;
236
+ summary?: string | undefined;
237
+ }[] | undefined;
238
+ };
239
+ 200: {
240
+ id: string & {
241
+ readonly __brand: "uuidv7";
242
+ };
243
+ projectId: string & {
244
+ readonly __brand: "uuidv7";
245
+ };
246
+ platform: "jira" | "github" | "linear" | "boboddy" | "custom";
247
+ platformKey: string;
248
+ title: string;
249
+ description: string;
250
+ sourceCreatedAt: string | null;
251
+ sourceUpdatedAt: string | null;
252
+ fields: import("@boboddy/core/common/contracts/json").AnyJsonObject | null;
253
+ createdAt: string;
254
+ updatedAt: string;
255
+ platformId?: string | null | undefined;
256
+ url?: string | null | undefined;
257
+ }[];
258
+ 403: {
259
+ type: string;
260
+ title: string;
261
+ status: number;
262
+ detail?: string | undefined;
263
+ instance?: string | undefined;
264
+ code?: string | undefined;
265
+ errors?: {
266
+ path: string;
267
+ message: string;
268
+ summary?: string | undefined;
269
+ }[] | undefined;
270
+ };
271
+ 401: {
272
+ type: string;
273
+ title: string;
274
+ status: number;
275
+ detail?: string | undefined;
276
+ instance?: string | undefined;
277
+ code?: string | undefined;
278
+ errors?: {
279
+ path: string;
280
+ message: string;
281
+ summary?: string | undefined;
282
+ }[] | undefined;
283
+ };
284
+ };
285
+ };
286
+ };
287
+ };
288
+ };
289
+ } & {
290
+ projects: {
291
+ ":projectId": {
292
+ "runtime-sessions": {
293
+ post: {
294
+ body: {
295
+ requestedBranch?: string | null | undefined;
296
+ };
297
+ params: {
298
+ projectId: string & {
299
+ readonly __brand: "uuidv7";
300
+ };
301
+ };
302
+ query: unknown;
303
+ headers: unknown;
304
+ response: {
305
+ 422: {
306
+ type: string;
307
+ title: string;
308
+ status: number;
309
+ detail?: string | undefined;
310
+ instance?: string | undefined;
311
+ code?: string | undefined;
312
+ errors?: {
313
+ path: string;
314
+ message: string;
315
+ summary?: string | undefined;
316
+ }[] | undefined;
317
+ };
318
+ 404: {
319
+ type: string;
320
+ title: string;
321
+ status: number;
322
+ detail?: string | undefined;
323
+ instance?: string | undefined;
324
+ code?: string | undefined;
325
+ errors?: {
326
+ path: string;
327
+ message: string;
328
+ summary?: string | undefined;
329
+ }[] | undefined;
330
+ };
331
+ 500: {
332
+ type: string;
333
+ title: string;
334
+ status: number;
335
+ detail?: string | undefined;
336
+ instance?: string | undefined;
337
+ code?: string | undefined;
338
+ errors?: {
339
+ path: string;
340
+ message: string;
341
+ summary?: string | undefined;
342
+ }[] | undefined;
343
+ };
344
+ 200: {
345
+ id: string & {
346
+ readonly __brand: "uuidv7";
347
+ };
348
+ projectId: string & {
349
+ readonly __brand: "uuidv7";
350
+ };
351
+ requestedByUserId: string & {
352
+ readonly __brand: "uuidv7";
353
+ };
354
+ gitUrl: string;
355
+ requestedBranch: string | null;
356
+ resolvedBranch: string | null;
357
+ projectEnvironmentRef: string | null;
358
+ agentEnvironmentRef: string | null;
359
+ runnerAssignment: string | null;
360
+ workspacePath: string | null;
361
+ devcontainerId: string | null;
362
+ aiContainerId: string | null;
363
+ aiBaseUrl: string | null;
364
+ aiImage: string | null;
365
+ devcontainerConfigPath: string | null;
366
+ projectEnvironmentReadyAt: string | null;
367
+ agentEnvironmentReadyAt: string | null;
368
+ status: "queued" | "running" | "failed" | "cloning" | "validating_spec" | "launching" | "stopped";
369
+ failureReason: string | null;
370
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
371
+ createdAt: string;
372
+ updatedAt: string;
373
+ };
374
+ 403: {
375
+ type: string;
376
+ title: string;
377
+ status: number;
378
+ detail?: string | undefined;
379
+ instance?: string | undefined;
380
+ code?: string | undefined;
381
+ errors?: {
382
+ path: string;
383
+ message: string;
384
+ summary?: string | undefined;
385
+ }[] | undefined;
386
+ };
387
+ 401: {
388
+ type: string;
389
+ title: string;
390
+ status: number;
391
+ detail?: string | undefined;
392
+ instance?: string | undefined;
393
+ code?: string | undefined;
394
+ errors?: {
395
+ path: string;
396
+ message: string;
397
+ summary?: string | undefined;
398
+ }[] | undefined;
399
+ };
400
+ };
401
+ };
402
+ };
403
+ };
404
+ };
405
+ } & {
406
+ projects: {
407
+ ":projectId": {
408
+ "runtime-sessions": {
409
+ get: {
410
+ body: unknown;
411
+ params: {
412
+ projectId: string & {
413
+ readonly __brand: "uuidv7";
414
+ };
415
+ };
416
+ query: unknown;
417
+ headers: unknown;
418
+ response: {
419
+ 422: {
420
+ type: string;
421
+ title: string;
422
+ status: number;
423
+ detail?: string | undefined;
424
+ instance?: string | undefined;
425
+ code?: string | undefined;
426
+ errors?: {
427
+ path: string;
428
+ message: string;
429
+ summary?: string | undefined;
430
+ }[] | undefined;
431
+ };
432
+ 404: {
433
+ type: string;
434
+ title: string;
435
+ status: number;
436
+ detail?: string | undefined;
437
+ instance?: string | undefined;
438
+ code?: string | undefined;
439
+ errors?: {
440
+ path: string;
441
+ message: string;
442
+ summary?: string | undefined;
443
+ }[] | undefined;
444
+ };
445
+ 500: {
446
+ type: string;
447
+ title: string;
448
+ status: number;
449
+ detail?: string | undefined;
450
+ instance?: string | undefined;
451
+ code?: string | undefined;
452
+ errors?: {
453
+ path: string;
454
+ message: string;
455
+ summary?: string | undefined;
456
+ }[] | undefined;
457
+ };
458
+ 200: {
459
+ id: string & {
460
+ readonly __brand: "uuidv7";
461
+ };
462
+ projectId: string & {
463
+ readonly __brand: "uuidv7";
464
+ };
465
+ requestedByUserId: string & {
466
+ readonly __brand: "uuidv7";
467
+ };
468
+ gitUrl: string;
469
+ requestedBranch: string | null;
470
+ resolvedBranch: string | null;
471
+ projectEnvironmentRef: string | null;
472
+ agentEnvironmentRef: string | null;
473
+ runnerAssignment: string | null;
474
+ workspacePath: string | null;
475
+ devcontainerId: string | null;
476
+ aiContainerId: string | null;
477
+ aiBaseUrl: string | null;
478
+ aiImage: string | null;
479
+ devcontainerConfigPath: string | null;
480
+ projectEnvironmentReadyAt: string | null;
481
+ agentEnvironmentReadyAt: string | null;
482
+ status: "queued" | "running" | "failed" | "cloning" | "validating_spec" | "launching" | "stopped";
483
+ failureReason: string | null;
484
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
485
+ createdAt: string;
486
+ updatedAt: string;
487
+ }[];
488
+ 403: {
489
+ type: string;
490
+ title: string;
491
+ status: number;
492
+ detail?: string | undefined;
493
+ instance?: string | undefined;
494
+ code?: string | undefined;
495
+ errors?: {
496
+ path: string;
497
+ message: string;
498
+ summary?: string | undefined;
499
+ }[] | undefined;
500
+ };
501
+ 401: {
502
+ type: string;
503
+ title: string;
504
+ status: number;
505
+ detail?: string | undefined;
506
+ instance?: string | undefined;
507
+ code?: string | undefined;
508
+ errors?: {
509
+ path: string;
510
+ message: string;
511
+ summary?: string | undefined;
512
+ }[] | undefined;
513
+ };
514
+ };
515
+ };
516
+ };
517
+ };
518
+ };
519
+ } & {
520
+ projects: {
521
+ ":projectId": {
522
+ "runtime-sessions": {
523
+ ":runtimeSessionId": {
524
+ get: {
525
+ body: unknown;
526
+ params: {
527
+ projectId: string & {
528
+ readonly __brand: "uuidv7";
529
+ };
530
+ runtimeSessionId: string & {
531
+ readonly __brand: "uuidv7";
532
+ };
533
+ };
534
+ query: unknown;
535
+ headers: unknown;
536
+ response: {
537
+ 422: {
538
+ type: string;
539
+ title: string;
540
+ status: number;
541
+ detail?: string | undefined;
542
+ instance?: string | undefined;
543
+ code?: string | undefined;
544
+ errors?: {
545
+ path: string;
546
+ message: string;
547
+ summary?: string | undefined;
548
+ }[] | undefined;
549
+ };
550
+ 404: {
551
+ type: string;
552
+ title: string;
553
+ status: number;
554
+ detail?: string | undefined;
555
+ instance?: string | undefined;
556
+ code?: string | undefined;
557
+ errors?: {
558
+ path: string;
559
+ message: string;
560
+ summary?: string | undefined;
561
+ }[] | undefined;
562
+ };
563
+ 500: {
564
+ type: string;
565
+ title: string;
566
+ status: number;
567
+ detail?: string | undefined;
568
+ instance?: string | undefined;
569
+ code?: string | undefined;
570
+ errors?: {
571
+ path: string;
572
+ message: string;
573
+ summary?: string | undefined;
574
+ }[] | undefined;
575
+ };
576
+ 200: {
577
+ id: string & {
578
+ readonly __brand: "uuidv7";
579
+ };
580
+ projectId: string & {
581
+ readonly __brand: "uuidv7";
582
+ };
583
+ requestedByUserId: string & {
584
+ readonly __brand: "uuidv7";
585
+ };
586
+ gitUrl: string;
587
+ requestedBranch: string | null;
588
+ resolvedBranch: string | null;
589
+ projectEnvironmentRef: string | null;
590
+ agentEnvironmentRef: string | null;
591
+ runnerAssignment: string | null;
592
+ workspacePath: string | null;
593
+ devcontainerId: string | null;
594
+ aiContainerId: string | null;
595
+ aiBaseUrl: string | null;
596
+ aiImage: string | null;
597
+ devcontainerConfigPath: string | null;
598
+ projectEnvironmentReadyAt: string | null;
599
+ agentEnvironmentReadyAt: string | null;
600
+ status: "queued" | "running" | "failed" | "cloning" | "validating_spec" | "launching" | "stopped";
601
+ failureReason: string | null;
602
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
603
+ createdAt: string;
604
+ updatedAt: string;
605
+ };
606
+ 403: {
607
+ type: string;
608
+ title: string;
609
+ status: number;
610
+ detail?: string | undefined;
611
+ instance?: string | undefined;
612
+ code?: string | undefined;
613
+ errors?: {
614
+ path: string;
615
+ message: string;
616
+ summary?: string | undefined;
617
+ }[] | undefined;
618
+ };
619
+ 401: {
620
+ type: string;
621
+ title: string;
622
+ status: number;
623
+ detail?: string | undefined;
624
+ instance?: string | undefined;
625
+ code?: string | undefined;
626
+ errors?: {
627
+ path: string;
628
+ message: string;
629
+ summary?: string | undefined;
630
+ }[] | undefined;
631
+ };
632
+ };
633
+ };
634
+ };
635
+ };
636
+ };
637
+ };
638
+ } & {
639
+ projects: {
640
+ ":projectId": {
641
+ "runtime-sessions": {
642
+ ":runtimeSessionId": {
643
+ stop: {
644
+ post: {
645
+ body: unknown;
646
+ params: {
647
+ projectId: string & {
648
+ readonly __brand: "uuidv7";
649
+ };
650
+ runtimeSessionId: string & {
651
+ readonly __brand: "uuidv7";
652
+ };
653
+ };
654
+ query: unknown;
655
+ headers: unknown;
656
+ response: {
657
+ 422: {
658
+ type: string;
659
+ title: string;
660
+ status: number;
661
+ detail?: string | undefined;
662
+ instance?: string | undefined;
663
+ code?: string | undefined;
664
+ errors?: {
665
+ path: string;
666
+ message: string;
667
+ summary?: string | undefined;
668
+ }[] | undefined;
669
+ };
670
+ 404: {
671
+ type: string;
672
+ title: string;
673
+ status: number;
674
+ detail?: string | undefined;
675
+ instance?: string | undefined;
676
+ code?: string | undefined;
677
+ errors?: {
678
+ path: string;
679
+ message: string;
680
+ summary?: string | undefined;
681
+ }[] | undefined;
682
+ };
683
+ 500: {
684
+ type: string;
685
+ title: string;
686
+ status: number;
687
+ detail?: string | undefined;
688
+ instance?: string | undefined;
689
+ code?: string | undefined;
690
+ errors?: {
691
+ path: string;
692
+ message: string;
693
+ summary?: string | undefined;
694
+ }[] | undefined;
695
+ };
696
+ 200: {
697
+ id: string & {
698
+ readonly __brand: "uuidv7";
699
+ };
700
+ projectId: string & {
701
+ readonly __brand: "uuidv7";
702
+ };
703
+ requestedByUserId: string & {
704
+ readonly __brand: "uuidv7";
705
+ };
706
+ gitUrl: string;
707
+ requestedBranch: string | null;
708
+ resolvedBranch: string | null;
709
+ projectEnvironmentRef: string | null;
710
+ agentEnvironmentRef: string | null;
711
+ runnerAssignment: string | null;
712
+ workspacePath: string | null;
713
+ devcontainerId: string | null;
714
+ aiContainerId: string | null;
715
+ aiBaseUrl: string | null;
716
+ aiImage: string | null;
717
+ devcontainerConfigPath: string | null;
718
+ projectEnvironmentReadyAt: string | null;
719
+ agentEnvironmentReadyAt: string | null;
720
+ status: "queued" | "running" | "failed" | "cloning" | "validating_spec" | "launching" | "stopped";
721
+ failureReason: string | null;
722
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
723
+ createdAt: string;
724
+ updatedAt: string;
725
+ };
726
+ 403: {
727
+ type: string;
728
+ title: string;
729
+ status: number;
730
+ detail?: string | undefined;
731
+ instance?: string | undefined;
732
+ code?: string | undefined;
733
+ errors?: {
734
+ path: string;
735
+ message: string;
736
+ summary?: string | undefined;
737
+ }[] | undefined;
738
+ };
739
+ 401: {
740
+ type: string;
741
+ title: string;
742
+ status: number;
743
+ detail?: string | undefined;
744
+ instance?: string | undefined;
745
+ code?: string | undefined;
746
+ errors?: {
747
+ path: string;
748
+ message: string;
749
+ summary?: string | undefined;
750
+ }[] | undefined;
751
+ };
752
+ };
753
+ };
754
+ };
755
+ };
756
+ };
757
+ };
758
+ };
759
+ } & {
760
+ projects: {
761
+ ":projectId": {
762
+ "runtime-sessions": {
763
+ ":runtimeSessionId": {
764
+ services: {
765
+ post: {
766
+ body: {
767
+ environmentRole: "project" | "agent";
768
+ command: string;
769
+ healthcheck: {
770
+ protocolKind: "tcp" | "http";
771
+ targetPort: number;
772
+ path?: string | null | undefined;
773
+ expectedStatus?: number | null | undefined;
774
+ intervalMs?: number | undefined;
775
+ timeoutMs?: number | undefined;
776
+ retries?: number | undefined;
777
+ };
778
+ metadata?: import("@boboddy/core/common/contracts/json").AnyJsonObject | undefined;
779
+ };
780
+ params: {
781
+ projectId: string & {
782
+ readonly __brand: "uuidv7";
783
+ };
784
+ runtimeSessionId: string & {
785
+ readonly __brand: "uuidv7";
786
+ };
787
+ };
788
+ query: unknown;
789
+ headers: unknown;
790
+ response: {
791
+ 422: {
792
+ type: string;
793
+ title: string;
794
+ status: number;
795
+ detail?: string | undefined;
796
+ instance?: string | undefined;
797
+ code?: string | undefined;
798
+ errors?: {
799
+ path: string;
800
+ message: string;
801
+ summary?: string | undefined;
802
+ }[] | undefined;
803
+ };
804
+ 404: {
805
+ type: string;
806
+ title: string;
807
+ status: number;
808
+ detail?: string | undefined;
809
+ instance?: string | undefined;
810
+ code?: string | undefined;
811
+ errors?: {
812
+ path: string;
813
+ message: string;
814
+ summary?: string | undefined;
815
+ }[] | undefined;
816
+ };
817
+ 409: {
818
+ type: string;
819
+ title: string;
820
+ status: number;
821
+ detail?: string | undefined;
822
+ instance?: string | undefined;
823
+ code?: string | undefined;
824
+ errors?: {
825
+ path: string;
826
+ message: string;
827
+ summary?: string | undefined;
828
+ }[] | undefined;
829
+ };
830
+ 500: {
831
+ type: string;
832
+ title: string;
833
+ status: number;
834
+ detail?: string | undefined;
835
+ instance?: string | undefined;
836
+ code?: string | undefined;
837
+ errors?: {
838
+ path: string;
839
+ message: string;
840
+ summary?: string | undefined;
841
+ }[] | undefined;
842
+ };
843
+ 200: {
844
+ id: string & {
845
+ readonly __brand: "uuidv7";
846
+ };
847
+ projectId: string & {
848
+ readonly __brand: "uuidv7";
849
+ };
850
+ projectRuntimeSessionId: string & {
851
+ readonly __brand: "uuidv7";
852
+ };
853
+ environmentRole: "project" | "agent";
854
+ command: string;
855
+ status: "queued" | "failed" | "stopped" | "starting" | "ready" | "stopping";
856
+ healthcheck: {
857
+ protocolKind: "tcp" | "http";
858
+ targetPort: number;
859
+ path: string | null;
860
+ expectedStatus: number | null;
861
+ intervalMs: number;
862
+ timeoutMs: number;
863
+ retries: number;
864
+ };
865
+ accessPoints: {
866
+ host: string;
867
+ port: number;
868
+ protocol: "tcp" | "http";
869
+ }[];
870
+ failureReason: string | null;
871
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
872
+ createdAt: string;
873
+ startedAt: string | null;
874
+ readyAt: string | null;
875
+ stoppedAt: string | null;
876
+ updatedAt: string;
877
+ };
878
+ 403: {
879
+ type: string;
880
+ title: string;
881
+ status: number;
882
+ detail?: string | undefined;
883
+ instance?: string | undefined;
884
+ code?: string | undefined;
885
+ errors?: {
886
+ path: string;
887
+ message: string;
888
+ summary?: string | undefined;
889
+ }[] | undefined;
890
+ };
891
+ 401: {
892
+ type: string;
893
+ title: string;
894
+ status: number;
895
+ detail?: string | undefined;
896
+ instance?: string | undefined;
897
+ code?: string | undefined;
898
+ errors?: {
899
+ path: string;
900
+ message: string;
901
+ summary?: string | undefined;
902
+ }[] | undefined;
903
+ };
904
+ };
905
+ };
906
+ };
907
+ };
908
+ };
909
+ };
910
+ };
911
+ } & {
912
+ projects: {
913
+ ":projectId": {
914
+ "runtime-sessions": {
915
+ ":runtimeSessionId": {
916
+ services: {
917
+ ":runtimeServiceId": {
918
+ get: {
919
+ body: unknown;
920
+ params: {
921
+ projectId: string & {
922
+ readonly __brand: "uuidv7";
923
+ };
924
+ runtimeSessionId: string & {
925
+ readonly __brand: "uuidv7";
926
+ };
927
+ runtimeServiceId: string & {
928
+ readonly __brand: "uuidv7";
929
+ };
930
+ };
931
+ query: unknown;
932
+ headers: unknown;
933
+ response: {
934
+ 422: {
935
+ type: string;
936
+ title: string;
937
+ status: number;
938
+ detail?: string | undefined;
939
+ instance?: string | undefined;
940
+ code?: string | undefined;
941
+ errors?: {
942
+ path: string;
943
+ message: string;
944
+ summary?: string | undefined;
945
+ }[] | undefined;
946
+ };
947
+ 404: {
948
+ type: string;
949
+ title: string;
950
+ status: number;
951
+ detail?: string | undefined;
952
+ instance?: string | undefined;
953
+ code?: string | undefined;
954
+ errors?: {
955
+ path: string;
956
+ message: string;
957
+ summary?: string | undefined;
958
+ }[] | undefined;
959
+ };
960
+ 500: {
961
+ type: string;
962
+ title: string;
963
+ status: number;
964
+ detail?: string | undefined;
965
+ instance?: string | undefined;
966
+ code?: string | undefined;
967
+ errors?: {
968
+ path: string;
969
+ message: string;
970
+ summary?: string | undefined;
971
+ }[] | undefined;
972
+ };
973
+ 200: {
974
+ id: string & {
975
+ readonly __brand: "uuidv7";
976
+ };
977
+ projectId: string & {
978
+ readonly __brand: "uuidv7";
979
+ };
980
+ projectRuntimeSessionId: string & {
981
+ readonly __brand: "uuidv7";
982
+ };
983
+ environmentRole: "project" | "agent";
984
+ command: string;
985
+ status: "queued" | "failed" | "stopped" | "starting" | "ready" | "stopping";
986
+ healthcheck: {
987
+ protocolKind: "tcp" | "http";
988
+ targetPort: number;
989
+ path: string | null;
990
+ expectedStatus: number | null;
991
+ intervalMs: number;
992
+ timeoutMs: number;
993
+ retries: number;
994
+ };
995
+ accessPoints: {
996
+ host: string;
997
+ port: number;
998
+ protocol: "tcp" | "http";
999
+ }[];
1000
+ failureReason: string | null;
1001
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
1002
+ createdAt: string;
1003
+ startedAt: string | null;
1004
+ readyAt: string | null;
1005
+ stoppedAt: string | null;
1006
+ updatedAt: string;
1007
+ };
1008
+ 403: {
1009
+ type: string;
1010
+ title: string;
1011
+ status: number;
1012
+ detail?: string | undefined;
1013
+ instance?: string | undefined;
1014
+ code?: string | undefined;
1015
+ errors?: {
1016
+ path: string;
1017
+ message: string;
1018
+ summary?: string | undefined;
1019
+ }[] | undefined;
1020
+ };
1021
+ 401: {
1022
+ type: string;
1023
+ title: string;
1024
+ status: number;
1025
+ detail?: string | undefined;
1026
+ instance?: string | undefined;
1027
+ code?: string | undefined;
1028
+ errors?: {
1029
+ path: string;
1030
+ message: string;
1031
+ summary?: string | undefined;
1032
+ }[] | undefined;
1033
+ };
1034
+ };
1035
+ };
1036
+ };
1037
+ };
1038
+ };
1039
+ };
1040
+ };
1041
+ };
1042
+ } & {
1043
+ projects: {
1044
+ ":projectId": {
1045
+ "runtime-sessions": {
1046
+ ":runtimeSessionId": {
1047
+ services: {
1048
+ ":runtimeServiceId": {
1049
+ start: {
1050
+ post: {
1051
+ body: unknown;
1052
+ params: {
1053
+ projectId: string & {
1054
+ readonly __brand: "uuidv7";
1055
+ };
1056
+ runtimeSessionId: string & {
1057
+ readonly __brand: "uuidv7";
1058
+ };
1059
+ runtimeServiceId: string & {
1060
+ readonly __brand: "uuidv7";
1061
+ };
1062
+ };
1063
+ query: unknown;
1064
+ headers: unknown;
1065
+ response: {
1066
+ 422: {
1067
+ type: string;
1068
+ title: string;
1069
+ status: number;
1070
+ detail?: string | undefined;
1071
+ instance?: string | undefined;
1072
+ code?: string | undefined;
1073
+ errors?: {
1074
+ path: string;
1075
+ message: string;
1076
+ summary?: string | undefined;
1077
+ }[] | undefined;
1078
+ };
1079
+ 404: {
1080
+ type: string;
1081
+ title: string;
1082
+ status: number;
1083
+ detail?: string | undefined;
1084
+ instance?: string | undefined;
1085
+ code?: string | undefined;
1086
+ errors?: {
1087
+ path: string;
1088
+ message: string;
1089
+ summary?: string | undefined;
1090
+ }[] | undefined;
1091
+ };
1092
+ 409: {
1093
+ type: string;
1094
+ title: string;
1095
+ status: number;
1096
+ detail?: string | undefined;
1097
+ instance?: string | undefined;
1098
+ code?: string | undefined;
1099
+ errors?: {
1100
+ path: string;
1101
+ message: string;
1102
+ summary?: string | undefined;
1103
+ }[] | undefined;
1104
+ };
1105
+ 500: {
1106
+ type: string;
1107
+ title: string;
1108
+ status: number;
1109
+ detail?: string | undefined;
1110
+ instance?: string | undefined;
1111
+ code?: string | undefined;
1112
+ errors?: {
1113
+ path: string;
1114
+ message: string;
1115
+ summary?: string | undefined;
1116
+ }[] | undefined;
1117
+ };
1118
+ 200: {
1119
+ id: string & {
1120
+ readonly __brand: "uuidv7";
1121
+ };
1122
+ projectId: string & {
1123
+ readonly __brand: "uuidv7";
1124
+ };
1125
+ projectRuntimeSessionId: string & {
1126
+ readonly __brand: "uuidv7";
1127
+ };
1128
+ environmentRole: "project" | "agent";
1129
+ command: string;
1130
+ status: "queued" | "failed" | "stopped" | "starting" | "ready" | "stopping";
1131
+ healthcheck: {
1132
+ protocolKind: "tcp" | "http";
1133
+ targetPort: number;
1134
+ path: string | null;
1135
+ expectedStatus: number | null;
1136
+ intervalMs: number;
1137
+ timeoutMs: number;
1138
+ retries: number;
1139
+ };
1140
+ accessPoints: {
1141
+ host: string;
1142
+ port: number;
1143
+ protocol: "tcp" | "http";
1144
+ }[];
1145
+ failureReason: string | null;
1146
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
1147
+ createdAt: string;
1148
+ startedAt: string | null;
1149
+ readyAt: string | null;
1150
+ stoppedAt: string | null;
1151
+ updatedAt: string;
1152
+ };
1153
+ 403: {
1154
+ type: string;
1155
+ title: string;
1156
+ status: number;
1157
+ detail?: string | undefined;
1158
+ instance?: string | undefined;
1159
+ code?: string | undefined;
1160
+ errors?: {
1161
+ path: string;
1162
+ message: string;
1163
+ summary?: string | undefined;
1164
+ }[] | undefined;
1165
+ };
1166
+ 401: {
1167
+ type: string;
1168
+ title: string;
1169
+ status: number;
1170
+ detail?: string | undefined;
1171
+ instance?: string | undefined;
1172
+ code?: string | undefined;
1173
+ errors?: {
1174
+ path: string;
1175
+ message: string;
1176
+ summary?: string | undefined;
1177
+ }[] | undefined;
1178
+ };
1179
+ };
1180
+ };
1181
+ };
1182
+ };
1183
+ };
1184
+ };
1185
+ };
1186
+ };
1187
+ };
1188
+ } & {
1189
+ projects: {
1190
+ ":projectId": {
1191
+ "runtime-sessions": {
1192
+ ":runtimeSessionId": {
1193
+ services: {
1194
+ ":runtimeServiceId": {
1195
+ stop: {
1196
+ post: {
1197
+ body: unknown;
1198
+ params: {
1199
+ projectId: string & {
1200
+ readonly __brand: "uuidv7";
1201
+ };
1202
+ runtimeSessionId: string & {
1203
+ readonly __brand: "uuidv7";
1204
+ };
1205
+ runtimeServiceId: string & {
1206
+ readonly __brand: "uuidv7";
1207
+ };
1208
+ };
1209
+ query: unknown;
1210
+ headers: unknown;
1211
+ response: {
1212
+ 422: {
1213
+ type: string;
1214
+ title: string;
1215
+ status: number;
1216
+ detail?: string | undefined;
1217
+ instance?: string | undefined;
1218
+ code?: string | undefined;
1219
+ errors?: {
1220
+ path: string;
1221
+ message: string;
1222
+ summary?: string | undefined;
1223
+ }[] | undefined;
1224
+ };
1225
+ 404: {
1226
+ type: string;
1227
+ title: string;
1228
+ status: number;
1229
+ detail?: string | undefined;
1230
+ instance?: string | undefined;
1231
+ code?: string | undefined;
1232
+ errors?: {
1233
+ path: string;
1234
+ message: string;
1235
+ summary?: string | undefined;
1236
+ }[] | undefined;
1237
+ };
1238
+ 409: {
1239
+ type: string;
1240
+ title: string;
1241
+ status: number;
1242
+ detail?: string | undefined;
1243
+ instance?: string | undefined;
1244
+ code?: string | undefined;
1245
+ errors?: {
1246
+ path: string;
1247
+ message: string;
1248
+ summary?: string | undefined;
1249
+ }[] | undefined;
1250
+ };
1251
+ 500: {
1252
+ type: string;
1253
+ title: string;
1254
+ status: number;
1255
+ detail?: string | undefined;
1256
+ instance?: string | undefined;
1257
+ code?: string | undefined;
1258
+ errors?: {
1259
+ path: string;
1260
+ message: string;
1261
+ summary?: string | undefined;
1262
+ }[] | undefined;
1263
+ };
1264
+ 200: {
1265
+ id: string & {
1266
+ readonly __brand: "uuidv7";
1267
+ };
1268
+ projectId: string & {
1269
+ readonly __brand: "uuidv7";
1270
+ };
1271
+ projectRuntimeSessionId: string & {
1272
+ readonly __brand: "uuidv7";
1273
+ };
1274
+ environmentRole: "project" | "agent";
1275
+ command: string;
1276
+ status: "queued" | "failed" | "stopped" | "starting" | "ready" | "stopping";
1277
+ healthcheck: {
1278
+ protocolKind: "tcp" | "http";
1279
+ targetPort: number;
1280
+ path: string | null;
1281
+ expectedStatus: number | null;
1282
+ intervalMs: number;
1283
+ timeoutMs: number;
1284
+ retries: number;
1285
+ };
1286
+ accessPoints: {
1287
+ host: string;
1288
+ port: number;
1289
+ protocol: "tcp" | "http";
1290
+ }[];
1291
+ failureReason: string | null;
1292
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
1293
+ createdAt: string;
1294
+ startedAt: string | null;
1295
+ readyAt: string | null;
1296
+ stoppedAt: string | null;
1297
+ updatedAt: string;
1298
+ };
1299
+ 403: {
1300
+ type: string;
1301
+ title: string;
1302
+ status: number;
1303
+ detail?: string | undefined;
1304
+ instance?: string | undefined;
1305
+ code?: string | undefined;
1306
+ errors?: {
1307
+ path: string;
1308
+ message: string;
1309
+ summary?: string | undefined;
1310
+ }[] | undefined;
1311
+ };
1312
+ 401: {
1313
+ type: string;
1314
+ title: string;
1315
+ status: number;
1316
+ detail?: string | undefined;
1317
+ instance?: string | undefined;
1318
+ code?: string | undefined;
1319
+ errors?: {
1320
+ path: string;
1321
+ message: string;
1322
+ summary?: string | undefined;
1323
+ }[] | undefined;
1324
+ };
1325
+ };
1326
+ };
1327
+ };
1328
+ };
1329
+ };
1330
+ };
1331
+ };
1332
+ };
1333
+ };
1334
+ } & {
1335
+ projects: {
1336
+ ":projectId": {
1337
+ "runtime-sessions": {
1338
+ ":runtimeSessionId": {
1339
+ commands: {
1340
+ post: {
1341
+ body: {
1342
+ environmentRole: "project" | "agent";
1343
+ command: string;
1344
+ metadata?: import("@boboddy/core/common/contracts/json").AnyJsonObject | undefined;
1345
+ };
1346
+ params: {
1347
+ projectId: string & {
1348
+ readonly __brand: "uuidv7";
1349
+ };
1350
+ runtimeSessionId: string & {
1351
+ readonly __brand: "uuidv7";
1352
+ };
1353
+ };
1354
+ query: unknown;
1355
+ headers: unknown;
1356
+ response: {
1357
+ 422: {
1358
+ type: string;
1359
+ title: string;
1360
+ status: number;
1361
+ detail?: string | undefined;
1362
+ instance?: string | undefined;
1363
+ code?: string | undefined;
1364
+ errors?: {
1365
+ path: string;
1366
+ message: string;
1367
+ summary?: string | undefined;
1368
+ }[] | undefined;
1369
+ };
1370
+ 404: {
1371
+ type: string;
1372
+ title: string;
1373
+ status: number;
1374
+ detail?: string | undefined;
1375
+ instance?: string | undefined;
1376
+ code?: string | undefined;
1377
+ errors?: {
1378
+ path: string;
1379
+ message: string;
1380
+ summary?: string | undefined;
1381
+ }[] | undefined;
1382
+ };
1383
+ 409: {
1384
+ type: string;
1385
+ title: string;
1386
+ status: number;
1387
+ detail?: string | undefined;
1388
+ instance?: string | undefined;
1389
+ code?: string | undefined;
1390
+ errors?: {
1391
+ path: string;
1392
+ message: string;
1393
+ summary?: string | undefined;
1394
+ }[] | undefined;
1395
+ };
1396
+ 500: {
1397
+ type: string;
1398
+ title: string;
1399
+ status: number;
1400
+ detail?: string | undefined;
1401
+ instance?: string | undefined;
1402
+ code?: string | undefined;
1403
+ errors?: {
1404
+ path: string;
1405
+ message: string;
1406
+ summary?: string | undefined;
1407
+ }[] | undefined;
1408
+ };
1409
+ 200: {
1410
+ id: string & {
1411
+ readonly __brand: "uuidv7";
1412
+ };
1413
+ projectId: string & {
1414
+ readonly __brand: "uuidv7";
1415
+ };
1416
+ projectRuntimeSessionId: string & {
1417
+ readonly __brand: "uuidv7";
1418
+ };
1419
+ environmentRole: "project" | "agent";
1420
+ command: string;
1421
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "claimed" | "interrupted";
1422
+ claimedBy: string | null;
1423
+ claimedAt: string | null;
1424
+ lastHeartbeatAt: string | null;
1425
+ leaseExpiresAt: string | null;
1426
+ startedAt: string | null;
1427
+ completedAt: string | null;
1428
+ result: {
1429
+ exitCode: number | null;
1430
+ signal: string | null;
1431
+ output: {
1432
+ stdoutPreview: string;
1433
+ stderrPreview: string;
1434
+ stdoutBytes: number;
1435
+ stderrBytes: number;
1436
+ logRef: string | null;
1437
+ };
1438
+ } | null;
1439
+ failureReason: string | null;
1440
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
1441
+ createdAt: string;
1442
+ updatedAt: string;
1443
+ };
1444
+ 403: {
1445
+ type: string;
1446
+ title: string;
1447
+ status: number;
1448
+ detail?: string | undefined;
1449
+ instance?: string | undefined;
1450
+ code?: string | undefined;
1451
+ errors?: {
1452
+ path: string;
1453
+ message: string;
1454
+ summary?: string | undefined;
1455
+ }[] | undefined;
1456
+ };
1457
+ 401: {
1458
+ type: string;
1459
+ title: string;
1460
+ status: number;
1461
+ detail?: string | undefined;
1462
+ instance?: string | undefined;
1463
+ code?: string | undefined;
1464
+ errors?: {
1465
+ path: string;
1466
+ message: string;
1467
+ summary?: string | undefined;
1468
+ }[] | undefined;
1469
+ };
1470
+ };
1471
+ };
1472
+ };
1473
+ };
1474
+ };
1475
+ };
1476
+ };
1477
+ } & {
1478
+ projects: {
1479
+ ":projectId": {
1480
+ "runtime-sessions": {
1481
+ ":runtimeSessionId": {
1482
+ commands: {
1483
+ ":runtimeCommandId": {
1484
+ run: {
1485
+ post: {
1486
+ body: unknown;
1487
+ params: {
1488
+ projectId: string & {
1489
+ readonly __brand: "uuidv7";
1490
+ };
1491
+ runtimeSessionId: string & {
1492
+ readonly __brand: "uuidv7";
1493
+ };
1494
+ runtimeCommandId: string & {
1495
+ readonly __brand: "uuidv7";
1496
+ };
1497
+ };
1498
+ query: unknown;
1499
+ headers: unknown;
1500
+ response: {
1501
+ 422: {
1502
+ type: string;
1503
+ title: string;
1504
+ status: number;
1505
+ detail?: string | undefined;
1506
+ instance?: string | undefined;
1507
+ code?: string | undefined;
1508
+ errors?: {
1509
+ path: string;
1510
+ message: string;
1511
+ summary?: string | undefined;
1512
+ }[] | undefined;
1513
+ };
1514
+ 404: {
1515
+ type: string;
1516
+ title: string;
1517
+ status: number;
1518
+ detail?: string | undefined;
1519
+ instance?: string | undefined;
1520
+ code?: string | undefined;
1521
+ errors?: {
1522
+ path: string;
1523
+ message: string;
1524
+ summary?: string | undefined;
1525
+ }[] | undefined;
1526
+ };
1527
+ 409: {
1528
+ type: string;
1529
+ title: string;
1530
+ status: number;
1531
+ detail?: string | undefined;
1532
+ instance?: string | undefined;
1533
+ code?: string | undefined;
1534
+ errors?: {
1535
+ path: string;
1536
+ message: string;
1537
+ summary?: string | undefined;
1538
+ }[] | undefined;
1539
+ };
1540
+ 500: {
1541
+ type: string;
1542
+ title: string;
1543
+ status: number;
1544
+ detail?: string | undefined;
1545
+ instance?: string | undefined;
1546
+ code?: string | undefined;
1547
+ errors?: {
1548
+ path: string;
1549
+ message: string;
1550
+ summary?: string | undefined;
1551
+ }[] | undefined;
1552
+ };
1553
+ 200: {
1554
+ id: string & {
1555
+ readonly __brand: "uuidv7";
1556
+ };
1557
+ projectId: string & {
1558
+ readonly __brand: "uuidv7";
1559
+ };
1560
+ projectRuntimeSessionId: string & {
1561
+ readonly __brand: "uuidv7";
1562
+ };
1563
+ environmentRole: "project" | "agent";
1564
+ command: string;
1565
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "claimed" | "interrupted";
1566
+ claimedBy: string | null;
1567
+ claimedAt: string | null;
1568
+ lastHeartbeatAt: string | null;
1569
+ leaseExpiresAt: string | null;
1570
+ startedAt: string | null;
1571
+ completedAt: string | null;
1572
+ result: {
1573
+ exitCode: number | null;
1574
+ signal: string | null;
1575
+ output: {
1576
+ stdoutPreview: string;
1577
+ stderrPreview: string;
1578
+ stdoutBytes: number;
1579
+ stderrBytes: number;
1580
+ logRef: string | null;
1581
+ };
1582
+ } | null;
1583
+ failureReason: string | null;
1584
+ metadata: import("@boboddy/core/common/contracts/json").AnyJsonObject;
1585
+ createdAt: string;
1586
+ updatedAt: string;
1587
+ };
1588
+ 403: {
1589
+ type: string;
1590
+ title: string;
1591
+ status: number;
1592
+ detail?: string | undefined;
1593
+ instance?: string | undefined;
1594
+ code?: string | undefined;
1595
+ errors?: {
1596
+ path: string;
1597
+ message: string;
1598
+ summary?: string | undefined;
1599
+ }[] | undefined;
1600
+ };
1601
+ 401: {
1602
+ type: string;
1603
+ title: string;
1604
+ status: number;
1605
+ detail?: string | undefined;
1606
+ instance?: string | undefined;
1607
+ code?: string | undefined;
1608
+ errors?: {
1609
+ path: string;
1610
+ message: string;
1611
+ summary?: string | undefined;
1612
+ }[] | undefined;
1613
+ };
1614
+ };
1615
+ };
1616
+ };
1617
+ };
1618
+ };
1619
+ };
1620
+ };
1621
+ };
1622
+ };
1623
+ } & {
1624
+ projects: {
1625
+ ":projectId": {
1626
+ get: {
1627
+ body: unknown;
1628
+ params: {
1629
+ projectId: string & {
1630
+ readonly __brand: "uuidv7";
1631
+ };
1632
+ };
1633
+ query: unknown;
1634
+ headers: unknown;
1635
+ response: {
1636
+ 422: {
1637
+ type: string;
1638
+ title: string;
1639
+ status: number;
1640
+ detail?: string | undefined;
1641
+ instance?: string | undefined;
1642
+ code?: string | undefined;
1643
+ errors?: {
1644
+ path: string;
1645
+ message: string;
1646
+ summary?: string | undefined;
1647
+ }[] | undefined;
1648
+ };
1649
+ 404: {
1650
+ type: string;
1651
+ title: string;
1652
+ status: number;
1653
+ detail?: string | undefined;
1654
+ instance?: string | undefined;
1655
+ code?: string | undefined;
1656
+ errors?: {
1657
+ path: string;
1658
+ message: string;
1659
+ summary?: string | undefined;
1660
+ }[] | undefined;
1661
+ };
1662
+ 500: {
1663
+ type: string;
1664
+ title: string;
1665
+ status: number;
1666
+ detail?: string | undefined;
1667
+ instance?: string | undefined;
1668
+ code?: string | undefined;
1669
+ errors?: {
1670
+ path: string;
1671
+ message: string;
1672
+ summary?: string | undefined;
1673
+ }[] | undefined;
1674
+ };
1675
+ 200: {
1676
+ id: string & {
1677
+ readonly __brand: "uuidv7";
1678
+ };
1679
+ name: string;
1680
+ description: string | null;
1681
+ gitUrl: string;
1682
+ createdByUserId: string & {
1683
+ readonly __brand: "uuidv7";
1684
+ };
1685
+ memberships: {
1686
+ userId: string & {
1687
+ readonly __brand: "uuidv7";
1688
+ };
1689
+ permissions: string[];
1690
+ createdAt: string;
1691
+ updatedAt: string;
1692
+ }[];
1693
+ createdAt: string;
1694
+ updatedAt: string;
1695
+ };
1696
+ 403: {
1697
+ type: string;
1698
+ title: string;
1699
+ status: number;
1700
+ detail?: string | undefined;
1701
+ instance?: string | undefined;
1702
+ code?: string | undefined;
1703
+ errors?: {
1704
+ path: string;
1705
+ message: string;
1706
+ summary?: string | undefined;
1707
+ }[] | undefined;
1708
+ };
1709
+ 401: {
1710
+ type: string;
1711
+ title: string;
1712
+ status: number;
1713
+ detail?: string | undefined;
1714
+ instance?: string | undefined;
1715
+ code?: string | undefined;
1716
+ errors?: {
1717
+ path: string;
1718
+ message: string;
1719
+ summary?: string | undefined;
1720
+ }[] | undefined;
1721
+ };
1722
+ };
1723
+ };
1724
+ };
1725
+ };
1726
+ } & {
1727
+ projects: {
1728
+ ":projectId": {
1729
+ members: {
1730
+ ":userId": {
1731
+ permissions: {
1732
+ put: {
1733
+ body: {
1734
+ permissions: string[];
1735
+ };
1736
+ params: {
1737
+ projectId: string & {
1738
+ readonly __brand: "uuidv7";
1739
+ };
1740
+ userId: string & {
1741
+ readonly __brand: "uuidv7";
1742
+ };
1743
+ };
1744
+ query: unknown;
1745
+ headers: unknown;
1746
+ response: {
1747
+ 422: {
1748
+ type: string;
1749
+ title: string;
1750
+ status: number;
1751
+ detail?: string | undefined;
1752
+ instance?: string | undefined;
1753
+ code?: string | undefined;
1754
+ errors?: {
1755
+ path: string;
1756
+ message: string;
1757
+ summary?: string | undefined;
1758
+ }[] | undefined;
1759
+ };
1760
+ 404: {
1761
+ type: string;
1762
+ title: string;
1763
+ status: number;
1764
+ detail?: string | undefined;
1765
+ instance?: string | undefined;
1766
+ code?: string | undefined;
1767
+ errors?: {
1768
+ path: string;
1769
+ message: string;
1770
+ summary?: string | undefined;
1771
+ }[] | undefined;
1772
+ };
1773
+ 500: {
1774
+ type: string;
1775
+ title: string;
1776
+ status: number;
1777
+ detail?: string | undefined;
1778
+ instance?: string | undefined;
1779
+ code?: string | undefined;
1780
+ errors?: {
1781
+ path: string;
1782
+ message: string;
1783
+ summary?: string | undefined;
1784
+ }[] | undefined;
1785
+ };
1786
+ 200: {
1787
+ id: string & {
1788
+ readonly __brand: "uuidv7";
1789
+ };
1790
+ name: string;
1791
+ description: string | null;
1792
+ gitUrl: string;
1793
+ createdByUserId: string & {
1794
+ readonly __brand: "uuidv7";
1795
+ };
1796
+ memberships: {
1797
+ userId: string & {
1798
+ readonly __brand: "uuidv7";
1799
+ };
1800
+ permissions: string[];
1801
+ createdAt: string;
1802
+ updatedAt: string;
1803
+ }[];
1804
+ createdAt: string;
1805
+ updatedAt: string;
1806
+ };
1807
+ 403: {
1808
+ type: string;
1809
+ title: string;
1810
+ status: number;
1811
+ detail?: string | undefined;
1812
+ instance?: string | undefined;
1813
+ code?: string | undefined;
1814
+ errors?: {
1815
+ path: string;
1816
+ message: string;
1817
+ summary?: string | undefined;
1818
+ }[] | undefined;
1819
+ };
1820
+ 401: {
1821
+ type: string;
1822
+ title: string;
1823
+ status: number;
1824
+ detail?: string | undefined;
1825
+ instance?: string | undefined;
1826
+ code?: string | undefined;
1827
+ errors?: {
1828
+ path: string;
1829
+ message: string;
1830
+ summary?: string | undefined;
1831
+ }[] | undefined;
1832
+ };
1833
+ };
1834
+ };
1835
+ };
1836
+ };
1837
+ };
1838
+ };
1839
+ };
1840
+ }, {
1841
+ derive: {};
1842
+ resolve: {};
1843
+ schema: {};
1844
+ standaloneSchema: {};
1845
+ response: {};
1846
+ }, {
1847
+ derive: {};
1848
+ resolve: {};
1849
+ schema: {};
1850
+ standaloneSchema: {};
1851
+ response: {};
1852
+ } & {
1853
+ derive: {
1854
+ readonly auth: {
1855
+ readonly userId: import("@boboddy/core/common/contracts/uuid-v7").UuidV7;
1856
+ readonly user: {
1857
+ id: string;
1858
+ createdAt: Date;
1859
+ updatedAt: Date;
1860
+ email: string;
1861
+ emailVerified: boolean;
1862
+ name: string;
1863
+ image?: string | null | undefined | undefined;
1864
+ };
1865
+ readonly session: {
1866
+ id: string;
1867
+ createdAt: Date;
1868
+ updatedAt: Date;
1869
+ userId: string;
1870
+ expiresAt: Date;
1871
+ token: string;
1872
+ ipAddress?: string | null | undefined | undefined;
1873
+ userAgent?: string | null | undefined | undefined;
1874
+ };
1875
+ };
1876
+ };
1877
+ resolve: {};
1878
+ schema: {};
1879
+ standaloneSchema: {};
1880
+ response: import("elysia").ExtractErrorFromHandle<{
1881
+ readonly auth: {
1882
+ readonly userId: import("@boboddy/core/common/contracts/uuid-v7").UuidV7;
1883
+ readonly user: {
1884
+ id: string;
1885
+ createdAt: Date;
1886
+ updatedAt: Date;
1887
+ email: string;
1888
+ emailVerified: boolean;
1889
+ name: string;
1890
+ image?: string | null | undefined | undefined;
1891
+ };
1892
+ readonly session: {
1893
+ id: string;
1894
+ createdAt: Date;
1895
+ updatedAt: Date;
1896
+ userId: string;
1897
+ expiresAt: Date;
1898
+ token: string;
1899
+ ipAddress?: string | null | undefined | undefined;
1900
+ userAgent?: string | null | undefined | undefined;
1901
+ };
1902
+ };
1903
+ }>;
1904
+ }>;