@repome/api 0.1.8 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1515 -159
- package/dist/index.mjs +128 -77
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -16,7 +16,12 @@ declare const commonErrors: {
|
|
|
16
16
|
readonly BAD_REQUEST: {
|
|
17
17
|
readonly status: 400;
|
|
18
18
|
readonly message: "Bad request";
|
|
19
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
22
|
+
message: z.ZodString;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
20
25
|
};
|
|
21
26
|
readonly UNAUTHENTICATED: {
|
|
22
27
|
readonly status: 401;
|
|
@@ -165,6 +170,21 @@ declare const commonErrors: {
|
|
|
165
170
|
name: z.ZodString;
|
|
166
171
|
}, z.core.$strip>;
|
|
167
172
|
};
|
|
173
|
+
readonly ORG_LAST_OWNED: {
|
|
174
|
+
readonly status: 409;
|
|
175
|
+
readonly message: "Cannot delete your last owned organization";
|
|
176
|
+
readonly data: z.ZodObject<{
|
|
177
|
+
slug: z.ZodString;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
};
|
|
180
|
+
readonly ORG_HAS_REPOS: {
|
|
181
|
+
readonly status: 409;
|
|
182
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
183
|
+
readonly data: z.ZodObject<{
|
|
184
|
+
slug: z.ZodString;
|
|
185
|
+
repoCount: z.ZodNumber;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
};
|
|
168
188
|
};
|
|
169
189
|
type CommonErrorMap = typeof commonErrors;
|
|
170
190
|
//#endregion
|
|
@@ -172,16 +192,14 @@ type CommonErrorMap = typeof commonErrors;
|
|
|
172
192
|
declare const anonRepoCreateInputSchema: z.ZodObject<{
|
|
173
193
|
name: z.ZodOptional<z.ZodString>;
|
|
174
194
|
description: z.ZodOptional<z.ZodString>;
|
|
175
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
195
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
176
196
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
177
197
|
}, z.core.$strip>;
|
|
178
198
|
declare const anonRepoSchema: z.ZodObject<{
|
|
179
|
-
orgId: z.ZodString;
|
|
180
199
|
name: z.ZodString;
|
|
181
200
|
ownerId: z.ZodString;
|
|
182
201
|
description: z.ZodNullable<z.ZodString>;
|
|
183
202
|
defaultBranch: z.ZodString;
|
|
184
|
-
artifactName: z.ZodString;
|
|
185
203
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
186
204
|
remote: z.ZodNullable<z.ZodString>;
|
|
187
205
|
readOnly: z.ZodBoolean;
|
|
@@ -193,12 +211,10 @@ declare const anonRepoSchema: z.ZodObject<{
|
|
|
193
211
|
anonymous: z.ZodLiteral<true>;
|
|
194
212
|
}, z.core.$strip>;
|
|
195
213
|
declare const anonRepoCreateOutputSchema: z.ZodObject<{
|
|
196
|
-
orgId: z.ZodString;
|
|
197
214
|
name: z.ZodString;
|
|
198
215
|
ownerId: z.ZodString;
|
|
199
216
|
description: z.ZodNullable<z.ZodString>;
|
|
200
217
|
defaultBranch: z.ZodString;
|
|
201
|
-
artifactName: z.ZodString;
|
|
202
218
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
203
219
|
remote: z.ZodNullable<z.ZodString>;
|
|
204
220
|
readOnly: z.ZodBoolean;
|
|
@@ -216,12 +232,10 @@ declare const anonRepoListInputSchema: z.ZodObject<{
|
|
|
216
232
|
}, z.core.$strip>;
|
|
217
233
|
declare const anonRepoListOutputSchema: z.ZodObject<{
|
|
218
234
|
items: z.ZodArray<z.ZodObject<{
|
|
219
|
-
orgId: z.ZodString;
|
|
220
235
|
name: z.ZodString;
|
|
221
236
|
ownerId: z.ZodString;
|
|
222
237
|
description: z.ZodNullable<z.ZodString>;
|
|
223
238
|
defaultBranch: z.ZodString;
|
|
224
|
-
artifactName: z.ZodString;
|
|
225
239
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
226
240
|
remote: z.ZodNullable<z.ZodString>;
|
|
227
241
|
readOnly: z.ZodBoolean;
|
|
@@ -392,6 +406,9 @@ declare const meViewSchema: z.ZodObject<{
|
|
|
392
406
|
}, z.core.$strip>;
|
|
393
407
|
type MeView = z.infer<typeof meViewSchema>;
|
|
394
408
|
//#endregion
|
|
409
|
+
//#region src/pagination.d.ts
|
|
410
|
+
declare const cursorSchema: z.ZodOptional<z.ZodString>;
|
|
411
|
+
//#endregion
|
|
395
412
|
//#region src/scopes.d.ts
|
|
396
413
|
declare const scopeSchema: z.ZodEnum<{
|
|
397
414
|
"repos:read": "repos:read";
|
|
@@ -563,16 +580,29 @@ declare const invitationViewSchema: z.ZodObject<{
|
|
|
563
580
|
inviterId: z.ZodString;
|
|
564
581
|
expiresAt: z.ZodNumber;
|
|
565
582
|
}, z.core.$strip>;
|
|
583
|
+
declare const invitationListItemSchema: z.ZodObject<{
|
|
584
|
+
id: z.ZodString;
|
|
585
|
+
organizationId: z.ZodString;
|
|
586
|
+
email: z.ZodString;
|
|
587
|
+
role: z.ZodUnion<[z.ZodEnum<{
|
|
588
|
+
admin: "admin";
|
|
589
|
+
member: "member";
|
|
590
|
+
}>, z.ZodLiteral<"owner">]>;
|
|
591
|
+
status: z.ZodString;
|
|
592
|
+
inviterId: z.ZodString;
|
|
593
|
+
expiresAt: z.ZodNumber;
|
|
594
|
+
createdAt: z.ZodNumber;
|
|
595
|
+
}, z.core.$strip>;
|
|
566
596
|
type MemberRole = z.output<typeof memberRoleSchema>;
|
|
567
597
|
type MemberView = z.output<typeof memberViewSchema>;
|
|
568
598
|
type InvitationView = z.output<typeof invitationViewSchema>;
|
|
599
|
+
type InvitationListItem = z.output<typeof invitationListItemSchema>;
|
|
569
600
|
//#endregion
|
|
570
601
|
//#region src/orgs.d.ts
|
|
571
602
|
declare const orgSlugHint = "Lowercase, alphanumeric, - only.";
|
|
572
603
|
declare const orgSlugSchema: z.ZodString;
|
|
573
604
|
declare const orgCreateInputSchema: z.ZodObject<{
|
|
574
|
-
|
|
575
|
-
name: z.ZodString;
|
|
605
|
+
name: z.ZodOptional<z.ZodString>;
|
|
576
606
|
}, z.core.$strip>;
|
|
577
607
|
declare const orgViewSchema: z.ZodObject<{
|
|
578
608
|
id: z.ZodString;
|
|
@@ -597,46 +627,50 @@ type OrgView = z.output<typeof orgViewSchema>;
|
|
|
597
627
|
type OrgListOutput = z.output<typeof orgListOutputSchema>;
|
|
598
628
|
//#endregion
|
|
599
629
|
//#region src/repos.d.ts
|
|
600
|
-
declare const repoNameHint = "Lowercase, alphanumeric, ._- only.";
|
|
630
|
+
declare const repoNameHint = "Lowercase, alphanumeric, ._- only; \"..\" is not allowed.";
|
|
631
|
+
declare const CLONE_TOKEN_SCOPE: "read";
|
|
601
632
|
declare const repoNameSchema: z.ZodString;
|
|
602
633
|
declare function parseRepoName(value: unknown): string;
|
|
634
|
+
declare const defaultBranchHint = "Branch name (\"main\") or refs/heads/-qualified; other refs/ namespaces are not branches.";
|
|
635
|
+
/**
|
|
636
|
+
* The one normalizer for default-branch spellings: a refs/heads/-qualified
|
|
637
|
+
* value becomes the short name, anything else passes through. Persisted rows
|
|
638
|
+
* hold the short shape only — the default-branch guards, headOid, and
|
|
639
|
+
* clone/view templates all build `refs/heads/${defaultBranch}` from it, so a
|
|
640
|
+
* qualified spelling would silently fall outside them.
|
|
641
|
+
*/
|
|
642
|
+
declare function normalizeDefaultBranch(branch: string): string;
|
|
643
|
+
declare const defaultBranchSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
603
644
|
declare const repoCreateInputSchema: z.ZodObject<{
|
|
604
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
605
645
|
name: z.ZodString;
|
|
606
646
|
description: z.ZodOptional<z.ZodString>;
|
|
607
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
647
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
608
648
|
}, z.core.$strip>;
|
|
609
649
|
declare const repoEnsureInputSchema: z.ZodObject<{
|
|
610
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
611
650
|
name: z.ZodString;
|
|
612
651
|
description: z.ZodOptional<z.ZodString>;
|
|
613
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
652
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
614
653
|
}, z.core.$strip>;
|
|
615
654
|
declare const repoImportInputSchema: z.ZodObject<{
|
|
616
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
617
655
|
name: z.ZodString;
|
|
618
656
|
description: z.ZodOptional<z.ZodString>;
|
|
619
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
657
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
620
658
|
remote: z.ZodURL;
|
|
621
659
|
}, z.core.$strip>;
|
|
622
660
|
declare const repoUpdateInputSchema: z.ZodObject<{
|
|
623
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
624
661
|
name: z.ZodString;
|
|
625
662
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
626
|
-
defaultBranch: z.ZodOptional<z.ZodString
|
|
663
|
+
defaultBranch: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
627
664
|
}, z.core.$strip>;
|
|
628
665
|
declare const repoListInputSchema: z.ZodObject<{
|
|
629
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
630
666
|
cursor: z.ZodOptional<z.ZodString>;
|
|
631
667
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
632
668
|
}, z.core.$strip>;
|
|
633
669
|
declare const repoSchema: z.ZodObject<{
|
|
634
|
-
orgId: z.ZodString;
|
|
635
670
|
name: z.ZodString;
|
|
636
671
|
ownerId: z.ZodString;
|
|
637
672
|
description: z.ZodNullable<z.ZodString>;
|
|
638
673
|
defaultBranch: z.ZodString;
|
|
639
|
-
artifactName: z.ZodString;
|
|
640
674
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
641
675
|
remote: z.ZodNullable<z.ZodString>;
|
|
642
676
|
readOnly: z.ZodBoolean;
|
|
@@ -646,12 +680,10 @@ declare const repoSchema: z.ZodObject<{
|
|
|
646
680
|
updatedAt: z.ZodNumber;
|
|
647
681
|
}, z.core.$strip>;
|
|
648
682
|
declare const repoCreateOutputSchema: z.ZodObject<{
|
|
649
|
-
orgId: z.ZodString;
|
|
650
683
|
name: z.ZodString;
|
|
651
684
|
ownerId: z.ZodString;
|
|
652
685
|
description: z.ZodNullable<z.ZodString>;
|
|
653
686
|
defaultBranch: z.ZodString;
|
|
654
|
-
artifactName: z.ZodString;
|
|
655
687
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
656
688
|
remote: z.ZodNullable<z.ZodString>;
|
|
657
689
|
readOnly: z.ZodBoolean;
|
|
@@ -660,16 +692,15 @@ declare const repoCreateOutputSchema: z.ZodObject<{
|
|
|
660
692
|
createdAt: z.ZodNumber;
|
|
661
693
|
updatedAt: z.ZodNumber;
|
|
662
694
|
token: z.ZodString;
|
|
695
|
+
tokenScope: z.ZodLiteral<"read">;
|
|
663
696
|
tokenExpiresAt: z.ZodString;
|
|
664
697
|
}, z.core.$strip>;
|
|
665
698
|
declare const repoListOutputSchema: z.ZodObject<{
|
|
666
699
|
items: z.ZodArray<z.ZodObject<{
|
|
667
|
-
orgId: z.ZodString;
|
|
668
700
|
name: z.ZodString;
|
|
669
701
|
ownerId: z.ZodString;
|
|
670
702
|
description: z.ZodNullable<z.ZodString>;
|
|
671
703
|
defaultBranch: z.ZodString;
|
|
672
|
-
artifactName: z.ZodString;
|
|
673
704
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
674
705
|
remote: z.ZodNullable<z.ZodString>;
|
|
675
706
|
readOnly: z.ZodBoolean;
|
|
@@ -685,12 +716,10 @@ declare const repoDeleteOutputSchema: z.ZodObject<{
|
|
|
685
716
|
}, z.core.$strip>;
|
|
686
717
|
declare const repoEnsureOutputSchema: z.ZodObject<{
|
|
687
718
|
repo: z.ZodObject<{
|
|
688
|
-
orgId: z.ZodString;
|
|
689
719
|
name: z.ZodString;
|
|
690
720
|
ownerId: z.ZodString;
|
|
691
721
|
description: z.ZodNullable<z.ZodString>;
|
|
692
722
|
defaultBranch: z.ZodString;
|
|
693
|
-
artifactName: z.ZodString;
|
|
694
723
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
695
724
|
remote: z.ZodNullable<z.ZodString>;
|
|
696
725
|
readOnly: z.ZodBoolean;
|
|
@@ -717,18 +746,32 @@ declare const tokenScopeSchema: z.ZodEnum<{
|
|
|
717
746
|
read: "read";
|
|
718
747
|
write: "write";
|
|
719
748
|
}>;
|
|
749
|
+
declare const TOKEN_OPS: readonly ["refs", "object", "merge", "seed", "clone", "agent"];
|
|
750
|
+
declare const tokenOpSchema: z.ZodEnum<{
|
|
751
|
+
object: "object";
|
|
752
|
+
refs: "refs";
|
|
753
|
+
merge: "merge";
|
|
754
|
+
seed: "seed";
|
|
755
|
+
clone: "clone";
|
|
756
|
+
agent: "agent";
|
|
757
|
+
}>;
|
|
720
758
|
declare const tokenMintInputSchema: z.ZodObject<{
|
|
721
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
722
759
|
name: z.ZodString;
|
|
723
760
|
scope: z.ZodEnum<{
|
|
724
761
|
read: "read";
|
|
725
762
|
write: "write";
|
|
726
763
|
}>;
|
|
727
764
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
728
|
-
op: z.ZodOptional<z.
|
|
765
|
+
op: z.ZodOptional<z.ZodEnum<{
|
|
766
|
+
object: "object";
|
|
767
|
+
refs: "refs";
|
|
768
|
+
merge: "merge";
|
|
769
|
+
seed: "seed";
|
|
770
|
+
clone: "clone";
|
|
771
|
+
agent: "agent";
|
|
772
|
+
}>>;
|
|
729
773
|
}, z.core.$strip>;
|
|
730
774
|
declare const tokenIdentInputSchema: z.ZodObject<{
|
|
731
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
732
775
|
name: z.ZodString;
|
|
733
776
|
id: z.ZodString;
|
|
734
777
|
}, z.core.$strip>;
|
|
@@ -774,7 +817,6 @@ declare const tokenMintOutputSchema: z.ZodObject<{
|
|
|
774
817
|
token: z.ZodString;
|
|
775
818
|
}, z.core.$strip>;
|
|
776
819
|
declare const tokenListInputSchema: z.ZodObject<{
|
|
777
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
778
820
|
name: z.ZodString;
|
|
779
821
|
}, z.core.$strip>;
|
|
780
822
|
declare const tokenListOutputSchema: z.ZodObject<{
|
|
@@ -810,6 +852,7 @@ declare const tokenValidateOutputSchema: z.ZodObject<{
|
|
|
810
852
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
811
853
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
812
854
|
}, z.core.$strip>;
|
|
855
|
+
type TokenOp = z.output<typeof tokenOpSchema>;
|
|
813
856
|
type TokenMintInput = z.output<typeof tokenMintInputSchema>;
|
|
814
857
|
type TokenMintForGitRemoteInput = z.output<typeof tokenMintForGitRemoteInputSchema>;
|
|
815
858
|
type TokenMintOutput = z.output<typeof tokenMintOutputSchema>;
|
|
@@ -822,21 +865,21 @@ type TokenValidateOutput = z.output<typeof tokenValidateOutputSchema>;
|
|
|
822
865
|
type TokenView = z.output<typeof tokenViewSchema>;
|
|
823
866
|
//#endregion
|
|
824
867
|
//#region src/index.d.ts
|
|
868
|
+
/** Contract package version; propagated into OpenAPI `info.version` (ISSUE-0057 V10-D2). */
|
|
869
|
+
declare const apiVersion: string;
|
|
825
870
|
declare const contract: {
|
|
826
871
|
anon: {
|
|
827
872
|
repos: {
|
|
828
873
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
829
874
|
name: z.ZodOptional<z.ZodString>;
|
|
830
875
|
description: z.ZodOptional<z.ZodString>;
|
|
831
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
876
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
832
877
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
833
878
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
834
|
-
orgId: z.ZodString;
|
|
835
879
|
name: z.ZodString;
|
|
836
880
|
ownerId: z.ZodString;
|
|
837
881
|
description: z.ZodNullable<z.ZodString>;
|
|
838
882
|
defaultBranch: z.ZodString;
|
|
839
|
-
artifactName: z.ZodString;
|
|
840
883
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
841
884
|
remote: z.ZodNullable<z.ZodString>;
|
|
842
885
|
readOnly: z.ZodBoolean;
|
|
@@ -851,7 +894,12 @@ declare const contract: {
|
|
|
851
894
|
readonly BAD_REQUEST: {
|
|
852
895
|
readonly status: 400;
|
|
853
896
|
readonly message: "Bad request";
|
|
854
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
897
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
898
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
899
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
900
|
+
message: z.ZodString;
|
|
901
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
902
|
+
}, _$zod_v4_core0.$strip>>;
|
|
855
903
|
};
|
|
856
904
|
readonly UNAUTHENTICATED: {
|
|
857
905
|
readonly status: 401;
|
|
@@ -1000,16 +1048,29 @@ declare const contract: {
|
|
|
1000
1048
|
name: z.ZodString;
|
|
1001
1049
|
}, _$zod_v4_core0.$strip>;
|
|
1002
1050
|
};
|
|
1051
|
+
readonly ORG_LAST_OWNED: {
|
|
1052
|
+
readonly status: 409;
|
|
1053
|
+
readonly message: "Cannot delete your last owned organization";
|
|
1054
|
+
readonly data: z.ZodObject<{
|
|
1055
|
+
slug: z.ZodString;
|
|
1056
|
+
}, _$zod_v4_core0.$strip>;
|
|
1057
|
+
};
|
|
1058
|
+
readonly ORG_HAS_REPOS: {
|
|
1059
|
+
readonly status: 409;
|
|
1060
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
1061
|
+
readonly data: z.ZodObject<{
|
|
1062
|
+
slug: z.ZodString;
|
|
1063
|
+
repoCount: z.ZodNumber;
|
|
1064
|
+
}, _$zod_v4_core0.$strip>;
|
|
1065
|
+
};
|
|
1003
1066
|
}>, Record<never, never>>;
|
|
1004
1067
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1005
1068
|
name: z.ZodString;
|
|
1006
1069
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
1007
|
-
orgId: z.ZodString;
|
|
1008
1070
|
name: z.ZodString;
|
|
1009
1071
|
ownerId: z.ZodString;
|
|
1010
1072
|
description: z.ZodNullable<z.ZodString>;
|
|
1011
1073
|
defaultBranch: z.ZodString;
|
|
1012
|
-
artifactName: z.ZodString;
|
|
1013
1074
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
1014
1075
|
remote: z.ZodNullable<z.ZodString>;
|
|
1015
1076
|
readOnly: z.ZodBoolean;
|
|
@@ -1023,7 +1084,12 @@ declare const contract: {
|
|
|
1023
1084
|
readonly BAD_REQUEST: {
|
|
1024
1085
|
readonly status: 400;
|
|
1025
1086
|
readonly message: "Bad request";
|
|
1026
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1087
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1088
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1089
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1090
|
+
message: z.ZodString;
|
|
1091
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1092
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1027
1093
|
};
|
|
1028
1094
|
readonly UNAUTHENTICATED: {
|
|
1029
1095
|
readonly status: 401;
|
|
@@ -1172,18 +1238,31 @@ declare const contract: {
|
|
|
1172
1238
|
name: z.ZodString;
|
|
1173
1239
|
}, _$zod_v4_core0.$strip>;
|
|
1174
1240
|
};
|
|
1241
|
+
readonly ORG_LAST_OWNED: {
|
|
1242
|
+
readonly status: 409;
|
|
1243
|
+
readonly message: "Cannot delete your last owned organization";
|
|
1244
|
+
readonly data: z.ZodObject<{
|
|
1245
|
+
slug: z.ZodString;
|
|
1246
|
+
}, _$zod_v4_core0.$strip>;
|
|
1247
|
+
};
|
|
1248
|
+
readonly ORG_HAS_REPOS: {
|
|
1249
|
+
readonly status: 409;
|
|
1250
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
1251
|
+
readonly data: z.ZodObject<{
|
|
1252
|
+
slug: z.ZodString;
|
|
1253
|
+
repoCount: z.ZodNumber;
|
|
1254
|
+
}, _$zod_v4_core0.$strip>;
|
|
1255
|
+
};
|
|
1175
1256
|
}>, Record<never, never>>;
|
|
1176
1257
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1177
1258
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1178
1259
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1179
1260
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
1180
1261
|
items: z.ZodArray<z.ZodObject<{
|
|
1181
|
-
orgId: z.ZodString;
|
|
1182
1262
|
name: z.ZodString;
|
|
1183
1263
|
ownerId: z.ZodString;
|
|
1184
1264
|
description: z.ZodNullable<z.ZodString>;
|
|
1185
1265
|
defaultBranch: z.ZodString;
|
|
1186
|
-
artifactName: z.ZodString;
|
|
1187
1266
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
1188
1267
|
remote: z.ZodNullable<z.ZodString>;
|
|
1189
1268
|
readOnly: z.ZodBoolean;
|
|
@@ -1199,7 +1278,12 @@ declare const contract: {
|
|
|
1199
1278
|
readonly BAD_REQUEST: {
|
|
1200
1279
|
readonly status: 400;
|
|
1201
1280
|
readonly message: "Bad request";
|
|
1202
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1281
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1282
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1283
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1284
|
+
message: z.ZodString;
|
|
1285
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1286
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1203
1287
|
};
|
|
1204
1288
|
readonly UNAUTHENTICATED: {
|
|
1205
1289
|
readonly status: 401;
|
|
@@ -1348,6 +1432,21 @@ declare const contract: {
|
|
|
1348
1432
|
name: z.ZodString;
|
|
1349
1433
|
}, _$zod_v4_core0.$strip>;
|
|
1350
1434
|
};
|
|
1435
|
+
readonly ORG_LAST_OWNED: {
|
|
1436
|
+
readonly status: 409;
|
|
1437
|
+
readonly message: "Cannot delete your last owned organization";
|
|
1438
|
+
readonly data: z.ZodObject<{
|
|
1439
|
+
slug: z.ZodString;
|
|
1440
|
+
}, _$zod_v4_core0.$strip>;
|
|
1441
|
+
};
|
|
1442
|
+
readonly ORG_HAS_REPOS: {
|
|
1443
|
+
readonly status: 409;
|
|
1444
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
1445
|
+
readonly data: z.ZodObject<{
|
|
1446
|
+
slug: z.ZodString;
|
|
1447
|
+
repoCount: z.ZodNumber;
|
|
1448
|
+
}, _$zod_v4_core0.$strip>;
|
|
1449
|
+
};
|
|
1351
1450
|
}>, Record<never, never>>;
|
|
1352
1451
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1353
1452
|
name: z.ZodString;
|
|
@@ -1357,7 +1456,12 @@ declare const contract: {
|
|
|
1357
1456
|
readonly BAD_REQUEST: {
|
|
1358
1457
|
readonly status: 400;
|
|
1359
1458
|
readonly message: "Bad request";
|
|
1360
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1459
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1460
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1461
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1462
|
+
message: z.ZodString;
|
|
1463
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1464
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1361
1465
|
};
|
|
1362
1466
|
readonly UNAUTHENTICATED: {
|
|
1363
1467
|
readonly status: 401;
|
|
@@ -1506,6 +1610,21 @@ declare const contract: {
|
|
|
1506
1610
|
name: z.ZodString;
|
|
1507
1611
|
}, _$zod_v4_core0.$strip>;
|
|
1508
1612
|
};
|
|
1613
|
+
readonly ORG_LAST_OWNED: {
|
|
1614
|
+
readonly status: 409;
|
|
1615
|
+
readonly message: "Cannot delete your last owned organization";
|
|
1616
|
+
readonly data: z.ZodObject<{
|
|
1617
|
+
slug: z.ZodString;
|
|
1618
|
+
}, _$zod_v4_core0.$strip>;
|
|
1619
|
+
};
|
|
1620
|
+
readonly ORG_HAS_REPOS: {
|
|
1621
|
+
readonly status: 409;
|
|
1622
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
1623
|
+
readonly data: z.ZodObject<{
|
|
1624
|
+
slug: z.ZodString;
|
|
1625
|
+
repoCount: z.ZodNumber;
|
|
1626
|
+
}, _$zod_v4_core0.$strip>;
|
|
1627
|
+
};
|
|
1509
1628
|
}>, Record<never, never>>;
|
|
1510
1629
|
};
|
|
1511
1630
|
tokens: {
|
|
@@ -1534,7 +1653,12 @@ declare const contract: {
|
|
|
1534
1653
|
readonly BAD_REQUEST: {
|
|
1535
1654
|
readonly status: 400;
|
|
1536
1655
|
readonly message: "Bad request";
|
|
1537
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1656
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1657
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1658
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1659
|
+
message: z.ZodString;
|
|
1660
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1661
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1538
1662
|
};
|
|
1539
1663
|
readonly UNAUTHENTICATED: {
|
|
1540
1664
|
readonly status: 401;
|
|
@@ -1683,6 +1807,21 @@ declare const contract: {
|
|
|
1683
1807
|
name: z.ZodString;
|
|
1684
1808
|
}, _$zod_v4_core0.$strip>;
|
|
1685
1809
|
};
|
|
1810
|
+
readonly ORG_LAST_OWNED: {
|
|
1811
|
+
readonly status: 409;
|
|
1812
|
+
readonly message: "Cannot delete your last owned organization";
|
|
1813
|
+
readonly data: z.ZodObject<{
|
|
1814
|
+
slug: z.ZodString;
|
|
1815
|
+
}, _$zod_v4_core0.$strip>;
|
|
1816
|
+
};
|
|
1817
|
+
readonly ORG_HAS_REPOS: {
|
|
1818
|
+
readonly status: 409;
|
|
1819
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
1820
|
+
readonly data: z.ZodObject<{
|
|
1821
|
+
slug: z.ZodString;
|
|
1822
|
+
repoCount: z.ZodNumber;
|
|
1823
|
+
}, _$zod_v4_core0.$strip>;
|
|
1824
|
+
};
|
|
1686
1825
|
}>, Record<never, never>>;
|
|
1687
1826
|
};
|
|
1688
1827
|
git: {
|
|
@@ -1707,7 +1846,12 @@ declare const contract: {
|
|
|
1707
1846
|
readonly BAD_REQUEST: {
|
|
1708
1847
|
readonly status: 400;
|
|
1709
1848
|
readonly message: "Bad request";
|
|
1710
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1849
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
1850
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1851
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1852
|
+
message: z.ZodString;
|
|
1853
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1854
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1711
1855
|
};
|
|
1712
1856
|
readonly UNAUTHENTICATED: {
|
|
1713
1857
|
readonly status: 401;
|
|
@@ -1856,6 +2000,21 @@ declare const contract: {
|
|
|
1856
2000
|
name: z.ZodString;
|
|
1857
2001
|
}, _$zod_v4_core0.$strip>;
|
|
1858
2002
|
};
|
|
2003
|
+
readonly ORG_LAST_OWNED: {
|
|
2004
|
+
readonly status: 409;
|
|
2005
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2006
|
+
readonly data: z.ZodObject<{
|
|
2007
|
+
slug: z.ZodString;
|
|
2008
|
+
}, _$zod_v4_core0.$strip>;
|
|
2009
|
+
};
|
|
2010
|
+
readonly ORG_HAS_REPOS: {
|
|
2011
|
+
readonly status: 409;
|
|
2012
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2013
|
+
readonly data: z.ZodObject<{
|
|
2014
|
+
slug: z.ZodString;
|
|
2015
|
+
repoCount: z.ZodNumber;
|
|
2016
|
+
}, _$zod_v4_core0.$strip>;
|
|
2017
|
+
};
|
|
1859
2018
|
}>, Record<never, never>>;
|
|
1860
2019
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1861
2020
|
name: z.ZodString;
|
|
@@ -1872,7 +2031,12 @@ declare const contract: {
|
|
|
1872
2031
|
readonly BAD_REQUEST: {
|
|
1873
2032
|
readonly status: 400;
|
|
1874
2033
|
readonly message: "Bad request";
|
|
1875
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2034
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2035
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2036
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2037
|
+
message: z.ZodString;
|
|
2038
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
2039
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1876
2040
|
};
|
|
1877
2041
|
readonly UNAUTHENTICATED: {
|
|
1878
2042
|
readonly status: 401;
|
|
@@ -2021,6 +2185,21 @@ declare const contract: {
|
|
|
2021
2185
|
name: z.ZodString;
|
|
2022
2186
|
}, _$zod_v4_core0.$strip>;
|
|
2023
2187
|
};
|
|
2188
|
+
readonly ORG_LAST_OWNED: {
|
|
2189
|
+
readonly status: 409;
|
|
2190
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2191
|
+
readonly data: z.ZodObject<{
|
|
2192
|
+
slug: z.ZodString;
|
|
2193
|
+
}, _$zod_v4_core0.$strip>;
|
|
2194
|
+
};
|
|
2195
|
+
readonly ORG_HAS_REPOS: {
|
|
2196
|
+
readonly status: 409;
|
|
2197
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2198
|
+
readonly data: z.ZodObject<{
|
|
2199
|
+
slug: z.ZodString;
|
|
2200
|
+
repoCount: z.ZodNumber;
|
|
2201
|
+
}, _$zod_v4_core0.$strip>;
|
|
2202
|
+
};
|
|
2024
2203
|
}>, Record<never, never>>;
|
|
2025
2204
|
};
|
|
2026
2205
|
commits: {
|
|
@@ -2043,7 +2222,12 @@ declare const contract: {
|
|
|
2043
2222
|
readonly BAD_REQUEST: {
|
|
2044
2223
|
readonly status: 400;
|
|
2045
2224
|
readonly message: "Bad request";
|
|
2046
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2225
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2226
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2227
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2228
|
+
message: z.ZodString;
|
|
2229
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
2230
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2047
2231
|
};
|
|
2048
2232
|
readonly UNAUTHENTICATED: {
|
|
2049
2233
|
readonly status: 401;
|
|
@@ -2192,6 +2376,21 @@ declare const contract: {
|
|
|
2192
2376
|
name: z.ZodString;
|
|
2193
2377
|
}, _$zod_v4_core0.$strip>;
|
|
2194
2378
|
};
|
|
2379
|
+
readonly ORG_LAST_OWNED: {
|
|
2380
|
+
readonly status: 409;
|
|
2381
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2382
|
+
readonly data: z.ZodObject<{
|
|
2383
|
+
slug: z.ZodString;
|
|
2384
|
+
}, _$zod_v4_core0.$strip>;
|
|
2385
|
+
};
|
|
2386
|
+
readonly ORG_HAS_REPOS: {
|
|
2387
|
+
readonly status: 409;
|
|
2388
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2389
|
+
readonly data: z.ZodObject<{
|
|
2390
|
+
slug: z.ZodString;
|
|
2391
|
+
repoCount: z.ZodNumber;
|
|
2392
|
+
}, _$zod_v4_core0.$strip>;
|
|
2393
|
+
};
|
|
2195
2394
|
}>, Record<never, never>>;
|
|
2196
2395
|
};
|
|
2197
2396
|
tree: {
|
|
@@ -2218,7 +2417,12 @@ declare const contract: {
|
|
|
2218
2417
|
readonly BAD_REQUEST: {
|
|
2219
2418
|
readonly status: 400;
|
|
2220
2419
|
readonly message: "Bad request";
|
|
2221
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2420
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2421
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2422
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2423
|
+
message: z.ZodString;
|
|
2424
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
2425
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2222
2426
|
};
|
|
2223
2427
|
readonly UNAUTHENTICATED: {
|
|
2224
2428
|
readonly status: 401;
|
|
@@ -2367,6 +2571,21 @@ declare const contract: {
|
|
|
2367
2571
|
name: z.ZodString;
|
|
2368
2572
|
}, _$zod_v4_core0.$strip>;
|
|
2369
2573
|
};
|
|
2574
|
+
readonly ORG_LAST_OWNED: {
|
|
2575
|
+
readonly status: 409;
|
|
2576
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2577
|
+
readonly data: z.ZodObject<{
|
|
2578
|
+
slug: z.ZodString;
|
|
2579
|
+
}, _$zod_v4_core0.$strip>;
|
|
2580
|
+
};
|
|
2581
|
+
readonly ORG_HAS_REPOS: {
|
|
2582
|
+
readonly status: 409;
|
|
2583
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2584
|
+
readonly data: z.ZodObject<{
|
|
2585
|
+
slug: z.ZodString;
|
|
2586
|
+
repoCount: z.ZodNumber;
|
|
2587
|
+
}, _$zod_v4_core0.$strip>;
|
|
2588
|
+
};
|
|
2370
2589
|
}>, Record<never, never>>;
|
|
2371
2590
|
};
|
|
2372
2591
|
blob: {
|
|
@@ -2386,7 +2605,12 @@ declare const contract: {
|
|
|
2386
2605
|
readonly BAD_REQUEST: {
|
|
2387
2606
|
readonly status: 400;
|
|
2388
2607
|
readonly message: "Bad request";
|
|
2389
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2608
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2609
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2610
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2611
|
+
message: z.ZodString;
|
|
2612
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
2613
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2390
2614
|
};
|
|
2391
2615
|
readonly UNAUTHENTICATED: {
|
|
2392
2616
|
readonly status: 401;
|
|
@@ -2535,6 +2759,21 @@ declare const contract: {
|
|
|
2535
2759
|
name: z.ZodString;
|
|
2536
2760
|
}, _$zod_v4_core0.$strip>;
|
|
2537
2761
|
};
|
|
2762
|
+
readonly ORG_LAST_OWNED: {
|
|
2763
|
+
readonly status: 409;
|
|
2764
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2765
|
+
readonly data: z.ZodObject<{
|
|
2766
|
+
slug: z.ZodString;
|
|
2767
|
+
}, _$zod_v4_core0.$strip>;
|
|
2768
|
+
};
|
|
2769
|
+
readonly ORG_HAS_REPOS: {
|
|
2770
|
+
readonly status: 409;
|
|
2771
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2772
|
+
readonly data: z.ZodObject<{
|
|
2773
|
+
slug: z.ZodString;
|
|
2774
|
+
repoCount: z.ZodNumber;
|
|
2775
|
+
}, _$zod_v4_core0.$strip>;
|
|
2776
|
+
};
|
|
2538
2777
|
}>, Record<never, never>>;
|
|
2539
2778
|
};
|
|
2540
2779
|
workspace: {
|
|
@@ -2582,7 +2821,12 @@ declare const contract: {
|
|
|
2582
2821
|
readonly BAD_REQUEST: {
|
|
2583
2822
|
readonly status: 400;
|
|
2584
2823
|
readonly message: "Bad request";
|
|
2585
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2824
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
2825
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2826
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2827
|
+
message: z.ZodString;
|
|
2828
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
2829
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2586
2830
|
};
|
|
2587
2831
|
readonly UNAUTHENTICATED: {
|
|
2588
2832
|
readonly status: 401;
|
|
@@ -2731,6 +2975,21 @@ declare const contract: {
|
|
|
2731
2975
|
name: z.ZodString;
|
|
2732
2976
|
}, _$zod_v4_core0.$strip>;
|
|
2733
2977
|
};
|
|
2978
|
+
readonly ORG_LAST_OWNED: {
|
|
2979
|
+
readonly status: 409;
|
|
2980
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2981
|
+
readonly data: z.ZodObject<{
|
|
2982
|
+
slug: z.ZodString;
|
|
2983
|
+
}, _$zod_v4_core0.$strip>;
|
|
2984
|
+
};
|
|
2985
|
+
readonly ORG_HAS_REPOS: {
|
|
2986
|
+
readonly status: 409;
|
|
2987
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2988
|
+
readonly data: z.ZodObject<{
|
|
2989
|
+
slug: z.ZodString;
|
|
2990
|
+
repoCount: z.ZodNumber;
|
|
2991
|
+
}, _$zod_v4_core0.$strip>;
|
|
2992
|
+
};
|
|
2734
2993
|
}>, Record<never, never>>;
|
|
2735
2994
|
};
|
|
2736
2995
|
};
|
|
@@ -2743,7 +3002,12 @@ declare const contract: {
|
|
|
2743
3002
|
readonly BAD_REQUEST: {
|
|
2744
3003
|
readonly status: 400;
|
|
2745
3004
|
readonly message: "Bad request";
|
|
2746
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3005
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3006
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3007
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3008
|
+
message: z.ZodString;
|
|
3009
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
3010
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2747
3011
|
};
|
|
2748
3012
|
readonly UNAUTHENTICATED: {
|
|
2749
3013
|
readonly status: 401;
|
|
@@ -2892,12 +3156,26 @@ declare const contract: {
|
|
|
2892
3156
|
name: z.ZodString;
|
|
2893
3157
|
}, _$zod_v4_core0.$strip>;
|
|
2894
3158
|
};
|
|
3159
|
+
readonly ORG_LAST_OWNED: {
|
|
3160
|
+
readonly status: 409;
|
|
3161
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3162
|
+
readonly data: z.ZodObject<{
|
|
3163
|
+
slug: z.ZodString;
|
|
3164
|
+
}, _$zod_v4_core0.$strip>;
|
|
3165
|
+
};
|
|
3166
|
+
readonly ORG_HAS_REPOS: {
|
|
3167
|
+
readonly status: 409;
|
|
3168
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3169
|
+
readonly data: z.ZodObject<{
|
|
3170
|
+
slug: z.ZodString;
|
|
3171
|
+
repoCount: z.ZodNumber;
|
|
3172
|
+
}, _$zod_v4_core0.$strip>;
|
|
3173
|
+
};
|
|
2895
3174
|
}>, Record<never, never>>;
|
|
2896
3175
|
};
|
|
2897
3176
|
git: {
|
|
2898
3177
|
refs: {
|
|
2899
3178
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2900
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
2901
3179
|
name: z.ZodString;
|
|
2902
3180
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2903
3181
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2917,7 +3195,12 @@ declare const contract: {
|
|
|
2917
3195
|
readonly BAD_REQUEST: {
|
|
2918
3196
|
readonly status: 400;
|
|
2919
3197
|
readonly message: "Bad request";
|
|
2920
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3198
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3199
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3200
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3201
|
+
message: z.ZodString;
|
|
3202
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
3203
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2921
3204
|
};
|
|
2922
3205
|
readonly UNAUTHENTICATED: {
|
|
2923
3206
|
readonly status: 401;
|
|
@@ -3066,9 +3349,23 @@ declare const contract: {
|
|
|
3066
3349
|
name: z.ZodString;
|
|
3067
3350
|
}, _$zod_v4_core0.$strip>;
|
|
3068
3351
|
};
|
|
3352
|
+
readonly ORG_LAST_OWNED: {
|
|
3353
|
+
readonly status: 409;
|
|
3354
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3355
|
+
readonly data: z.ZodObject<{
|
|
3356
|
+
slug: z.ZodString;
|
|
3357
|
+
}, _$zod_v4_core0.$strip>;
|
|
3358
|
+
};
|
|
3359
|
+
readonly ORG_HAS_REPOS: {
|
|
3360
|
+
readonly status: 409;
|
|
3361
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3362
|
+
readonly data: z.ZodObject<{
|
|
3363
|
+
slug: z.ZodString;
|
|
3364
|
+
repoCount: z.ZodNumber;
|
|
3365
|
+
}, _$zod_v4_core0.$strip>;
|
|
3366
|
+
};
|
|
3069
3367
|
}>, Record<never, never>>;
|
|
3070
3368
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3071
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
3072
3369
|
name: z.ZodString;
|
|
3073
3370
|
ref: z.ZodString;
|
|
3074
3371
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -3083,7 +3380,12 @@ declare const contract: {
|
|
|
3083
3380
|
readonly BAD_REQUEST: {
|
|
3084
3381
|
readonly status: 400;
|
|
3085
3382
|
readonly message: "Bad request";
|
|
3086
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3383
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3384
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3385
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3386
|
+
message: z.ZodString;
|
|
3387
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
3388
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3087
3389
|
};
|
|
3088
3390
|
readonly UNAUTHENTICATED: {
|
|
3089
3391
|
readonly status: 401;
|
|
@@ -3232,11 +3534,25 @@ declare const contract: {
|
|
|
3232
3534
|
name: z.ZodString;
|
|
3233
3535
|
}, _$zod_v4_core0.$strip>;
|
|
3234
3536
|
};
|
|
3537
|
+
readonly ORG_LAST_OWNED: {
|
|
3538
|
+
readonly status: 409;
|
|
3539
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3540
|
+
readonly data: z.ZodObject<{
|
|
3541
|
+
slug: z.ZodString;
|
|
3542
|
+
}, _$zod_v4_core0.$strip>;
|
|
3543
|
+
};
|
|
3544
|
+
readonly ORG_HAS_REPOS: {
|
|
3545
|
+
readonly status: 409;
|
|
3546
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3547
|
+
readonly data: z.ZodObject<{
|
|
3548
|
+
slug: z.ZodString;
|
|
3549
|
+
repoCount: z.ZodNumber;
|
|
3550
|
+
}, _$zod_v4_core0.$strip>;
|
|
3551
|
+
};
|
|
3235
3552
|
}>, Record<never, never>>;
|
|
3236
3553
|
};
|
|
3237
3554
|
branches: {
|
|
3238
3555
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3239
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
3240
3556
|
name: z.ZodString;
|
|
3241
3557
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3242
3558
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3256,7 +3572,12 @@ declare const contract: {
|
|
|
3256
3572
|
readonly BAD_REQUEST: {
|
|
3257
3573
|
readonly status: 400;
|
|
3258
3574
|
readonly message: "Bad request";
|
|
3259
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3575
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3576
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3577
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3578
|
+
message: z.ZodString;
|
|
3579
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
3580
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3260
3581
|
};
|
|
3261
3582
|
readonly UNAUTHENTICATED: {
|
|
3262
3583
|
readonly status: 401;
|
|
@@ -3405,9 +3726,23 @@ declare const contract: {
|
|
|
3405
3726
|
name: z.ZodString;
|
|
3406
3727
|
}, _$zod_v4_core0.$strip>;
|
|
3407
3728
|
};
|
|
3729
|
+
readonly ORG_LAST_OWNED: {
|
|
3730
|
+
readonly status: 409;
|
|
3731
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3732
|
+
readonly data: z.ZodObject<{
|
|
3733
|
+
slug: z.ZodString;
|
|
3734
|
+
}, _$zod_v4_core0.$strip>;
|
|
3735
|
+
};
|
|
3736
|
+
readonly ORG_HAS_REPOS: {
|
|
3737
|
+
readonly status: 409;
|
|
3738
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3739
|
+
readonly data: z.ZodObject<{
|
|
3740
|
+
slug: z.ZodString;
|
|
3741
|
+
repoCount: z.ZodNumber;
|
|
3742
|
+
}, _$zod_v4_core0.$strip>;
|
|
3743
|
+
};
|
|
3408
3744
|
}>, Record<never, never>>;
|
|
3409
3745
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3410
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
3411
3746
|
name: z.ZodString;
|
|
3412
3747
|
ref: z.ZodString;
|
|
3413
3748
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -3422,7 +3757,12 @@ declare const contract: {
|
|
|
3422
3757
|
readonly BAD_REQUEST: {
|
|
3423
3758
|
readonly status: 400;
|
|
3424
3759
|
readonly message: "Bad request";
|
|
3425
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3760
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3761
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3762
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3763
|
+
message: z.ZodString;
|
|
3764
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
3765
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3426
3766
|
};
|
|
3427
3767
|
readonly UNAUTHENTICATED: {
|
|
3428
3768
|
readonly status: 401;
|
|
@@ -3571,9 +3911,23 @@ declare const contract: {
|
|
|
3571
3911
|
name: z.ZodString;
|
|
3572
3912
|
}, _$zod_v4_core0.$strip>;
|
|
3573
3913
|
};
|
|
3914
|
+
readonly ORG_LAST_OWNED: {
|
|
3915
|
+
readonly status: 409;
|
|
3916
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3917
|
+
readonly data: z.ZodObject<{
|
|
3918
|
+
slug: z.ZodString;
|
|
3919
|
+
}, _$zod_v4_core0.$strip>;
|
|
3920
|
+
};
|
|
3921
|
+
readonly ORG_HAS_REPOS: {
|
|
3922
|
+
readonly status: 409;
|
|
3923
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3924
|
+
readonly data: z.ZodObject<{
|
|
3925
|
+
slug: z.ZodString;
|
|
3926
|
+
repoCount: z.ZodNumber;
|
|
3927
|
+
}, _$zod_v4_core0.$strip>;
|
|
3928
|
+
};
|
|
3574
3929
|
}>, Record<never, never>>;
|
|
3575
3930
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3576
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
3577
3931
|
name: z.ZodString;
|
|
3578
3932
|
branch: z.ZodString;
|
|
3579
3933
|
fromRef: z.ZodString;
|
|
@@ -3589,7 +3943,12 @@ declare const contract: {
|
|
|
3589
3943
|
readonly BAD_REQUEST: {
|
|
3590
3944
|
readonly status: 400;
|
|
3591
3945
|
readonly message: "Bad request";
|
|
3592
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3946
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
3947
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3948
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3949
|
+
message: z.ZodString;
|
|
3950
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
3951
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3593
3952
|
};
|
|
3594
3953
|
readonly UNAUTHENTICATED: {
|
|
3595
3954
|
readonly status: 401;
|
|
@@ -3738,9 +4097,23 @@ declare const contract: {
|
|
|
3738
4097
|
name: z.ZodString;
|
|
3739
4098
|
}, _$zod_v4_core0.$strip>;
|
|
3740
4099
|
};
|
|
4100
|
+
readonly ORG_LAST_OWNED: {
|
|
4101
|
+
readonly status: 409;
|
|
4102
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4103
|
+
readonly data: z.ZodObject<{
|
|
4104
|
+
slug: z.ZodString;
|
|
4105
|
+
}, _$zod_v4_core0.$strip>;
|
|
4106
|
+
};
|
|
4107
|
+
readonly ORG_HAS_REPOS: {
|
|
4108
|
+
readonly status: 409;
|
|
4109
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4110
|
+
readonly data: z.ZodObject<{
|
|
4111
|
+
slug: z.ZodString;
|
|
4112
|
+
repoCount: z.ZodNumber;
|
|
4113
|
+
}, _$zod_v4_core0.$strip>;
|
|
4114
|
+
};
|
|
3741
4115
|
}>, Record<never, never>>;
|
|
3742
4116
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3743
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
3744
4117
|
name: z.ZodString;
|
|
3745
4118
|
ref: z.ZodString;
|
|
3746
4119
|
oid: z.ZodString;
|
|
@@ -3759,7 +4132,12 @@ declare const contract: {
|
|
|
3759
4132
|
readonly BAD_REQUEST: {
|
|
3760
4133
|
readonly status: 400;
|
|
3761
4134
|
readonly message: "Bad request";
|
|
3762
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4135
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4136
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4137
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4138
|
+
message: z.ZodString;
|
|
4139
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
4140
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3763
4141
|
};
|
|
3764
4142
|
readonly UNAUTHENTICATED: {
|
|
3765
4143
|
readonly status: 401;
|
|
@@ -3908,9 +4286,23 @@ declare const contract: {
|
|
|
3908
4286
|
name: z.ZodString;
|
|
3909
4287
|
}, _$zod_v4_core0.$strip>;
|
|
3910
4288
|
};
|
|
4289
|
+
readonly ORG_LAST_OWNED: {
|
|
4290
|
+
readonly status: 409;
|
|
4291
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4292
|
+
readonly data: z.ZodObject<{
|
|
4293
|
+
slug: z.ZodString;
|
|
4294
|
+
}, _$zod_v4_core0.$strip>;
|
|
4295
|
+
};
|
|
4296
|
+
readonly ORG_HAS_REPOS: {
|
|
4297
|
+
readonly status: 409;
|
|
4298
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4299
|
+
readonly data: z.ZodObject<{
|
|
4300
|
+
slug: z.ZodString;
|
|
4301
|
+
repoCount: z.ZodNumber;
|
|
4302
|
+
}, _$zod_v4_core0.$strip>;
|
|
4303
|
+
};
|
|
3911
4304
|
}>, Record<never, never>>;
|
|
3912
4305
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3913
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
3914
4306
|
name: z.ZodString;
|
|
3915
4307
|
ref: z.ZodString;
|
|
3916
4308
|
expectedOid: z.ZodOptional<z.ZodString>;
|
|
@@ -3920,7 +4312,12 @@ declare const contract: {
|
|
|
3920
4312
|
readonly BAD_REQUEST: {
|
|
3921
4313
|
readonly status: 400;
|
|
3922
4314
|
readonly message: "Bad request";
|
|
3923
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4315
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4316
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4317
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4318
|
+
message: z.ZodString;
|
|
4319
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
4320
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3924
4321
|
};
|
|
3925
4322
|
readonly UNAUTHENTICATED: {
|
|
3926
4323
|
readonly status: 401;
|
|
@@ -4069,11 +4466,25 @@ declare const contract: {
|
|
|
4069
4466
|
name: z.ZodString;
|
|
4070
4467
|
}, _$zod_v4_core0.$strip>;
|
|
4071
4468
|
};
|
|
4469
|
+
readonly ORG_LAST_OWNED: {
|
|
4470
|
+
readonly status: 409;
|
|
4471
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4472
|
+
readonly data: z.ZodObject<{
|
|
4473
|
+
slug: z.ZodString;
|
|
4474
|
+
}, _$zod_v4_core0.$strip>;
|
|
4475
|
+
};
|
|
4476
|
+
readonly ORG_HAS_REPOS: {
|
|
4477
|
+
readonly status: 409;
|
|
4478
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4479
|
+
readonly data: z.ZodObject<{
|
|
4480
|
+
slug: z.ZodString;
|
|
4481
|
+
repoCount: z.ZodNumber;
|
|
4482
|
+
}, _$zod_v4_core0.$strip>;
|
|
4483
|
+
};
|
|
4072
4484
|
}>, Record<never, never>>;
|
|
4073
4485
|
};
|
|
4074
4486
|
tags: {
|
|
4075
4487
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4076
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
4077
4488
|
name: z.ZodString;
|
|
4078
4489
|
cursor: z.ZodOptional<z.ZodString>;
|
|
4079
4490
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4093,7 +4504,12 @@ declare const contract: {
|
|
|
4093
4504
|
readonly BAD_REQUEST: {
|
|
4094
4505
|
readonly status: 400;
|
|
4095
4506
|
readonly message: "Bad request";
|
|
4096
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4507
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4508
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4509
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4510
|
+
message: z.ZodString;
|
|
4511
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
4512
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4097
4513
|
};
|
|
4098
4514
|
readonly UNAUTHENTICATED: {
|
|
4099
4515
|
readonly status: 401;
|
|
@@ -4242,9 +4658,23 @@ declare const contract: {
|
|
|
4242
4658
|
name: z.ZodString;
|
|
4243
4659
|
}, _$zod_v4_core0.$strip>;
|
|
4244
4660
|
};
|
|
4661
|
+
readonly ORG_LAST_OWNED: {
|
|
4662
|
+
readonly status: 409;
|
|
4663
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4664
|
+
readonly data: z.ZodObject<{
|
|
4665
|
+
slug: z.ZodString;
|
|
4666
|
+
}, _$zod_v4_core0.$strip>;
|
|
4667
|
+
};
|
|
4668
|
+
readonly ORG_HAS_REPOS: {
|
|
4669
|
+
readonly status: 409;
|
|
4670
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4671
|
+
readonly data: z.ZodObject<{
|
|
4672
|
+
slug: z.ZodString;
|
|
4673
|
+
repoCount: z.ZodNumber;
|
|
4674
|
+
}, _$zod_v4_core0.$strip>;
|
|
4675
|
+
};
|
|
4245
4676
|
}>, Record<never, never>>;
|
|
4246
4677
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4247
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
4248
4678
|
name: z.ZodString;
|
|
4249
4679
|
ref: z.ZodString;
|
|
4250
4680
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -4259,7 +4689,12 @@ declare const contract: {
|
|
|
4259
4689
|
readonly BAD_REQUEST: {
|
|
4260
4690
|
readonly status: 400;
|
|
4261
4691
|
readonly message: "Bad request";
|
|
4262
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4692
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4693
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4694
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4695
|
+
message: z.ZodString;
|
|
4696
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
4697
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4263
4698
|
};
|
|
4264
4699
|
readonly UNAUTHENTICATED: {
|
|
4265
4700
|
readonly status: 401;
|
|
@@ -4408,9 +4843,23 @@ declare const contract: {
|
|
|
4408
4843
|
name: z.ZodString;
|
|
4409
4844
|
}, _$zod_v4_core0.$strip>;
|
|
4410
4845
|
};
|
|
4846
|
+
readonly ORG_LAST_OWNED: {
|
|
4847
|
+
readonly status: 409;
|
|
4848
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4849
|
+
readonly data: z.ZodObject<{
|
|
4850
|
+
slug: z.ZodString;
|
|
4851
|
+
}, _$zod_v4_core0.$strip>;
|
|
4852
|
+
};
|
|
4853
|
+
readonly ORG_HAS_REPOS: {
|
|
4854
|
+
readonly status: 409;
|
|
4855
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4856
|
+
readonly data: z.ZodObject<{
|
|
4857
|
+
slug: z.ZodString;
|
|
4858
|
+
repoCount: z.ZodNumber;
|
|
4859
|
+
}, _$zod_v4_core0.$strip>;
|
|
4860
|
+
};
|
|
4411
4861
|
}>, Record<never, never>>;
|
|
4412
4862
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4413
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
4414
4863
|
name: z.ZodString;
|
|
4415
4864
|
tag: z.ZodString;
|
|
4416
4865
|
oid: z.ZodString;
|
|
@@ -4433,7 +4882,12 @@ declare const contract: {
|
|
|
4433
4882
|
readonly BAD_REQUEST: {
|
|
4434
4883
|
readonly status: 400;
|
|
4435
4884
|
readonly message: "Bad request";
|
|
4436
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4885
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
4886
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4887
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4888
|
+
message: z.ZodString;
|
|
4889
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
4890
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4437
4891
|
};
|
|
4438
4892
|
readonly UNAUTHENTICATED: {
|
|
4439
4893
|
readonly status: 401;
|
|
@@ -4582,9 +5036,23 @@ declare const contract: {
|
|
|
4582
5036
|
name: z.ZodString;
|
|
4583
5037
|
}, _$zod_v4_core0.$strip>;
|
|
4584
5038
|
};
|
|
5039
|
+
readonly ORG_LAST_OWNED: {
|
|
5040
|
+
readonly status: 409;
|
|
5041
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5042
|
+
readonly data: z.ZodObject<{
|
|
5043
|
+
slug: z.ZodString;
|
|
5044
|
+
}, _$zod_v4_core0.$strip>;
|
|
5045
|
+
};
|
|
5046
|
+
readonly ORG_HAS_REPOS: {
|
|
5047
|
+
readonly status: 409;
|
|
5048
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5049
|
+
readonly data: z.ZodObject<{
|
|
5050
|
+
slug: z.ZodString;
|
|
5051
|
+
repoCount: z.ZodNumber;
|
|
5052
|
+
}, _$zod_v4_core0.$strip>;
|
|
5053
|
+
};
|
|
4585
5054
|
}>, Record<never, never>>;
|
|
4586
5055
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4587
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
4588
5056
|
name: z.ZodString;
|
|
4589
5057
|
ref: z.ZodString;
|
|
4590
5058
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -4593,7 +5061,12 @@ declare const contract: {
|
|
|
4593
5061
|
readonly BAD_REQUEST: {
|
|
4594
5062
|
readonly status: 400;
|
|
4595
5063
|
readonly message: "Bad request";
|
|
4596
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5064
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5065
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5066
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5067
|
+
message: z.ZodString;
|
|
5068
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
5069
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4597
5070
|
};
|
|
4598
5071
|
readonly UNAUTHENTICATED: {
|
|
4599
5072
|
readonly status: 401;
|
|
@@ -4742,11 +5215,25 @@ declare const contract: {
|
|
|
4742
5215
|
name: z.ZodString;
|
|
4743
5216
|
}, _$zod_v4_core0.$strip>;
|
|
4744
5217
|
};
|
|
5218
|
+
readonly ORG_LAST_OWNED: {
|
|
5219
|
+
readonly status: 409;
|
|
5220
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5221
|
+
readonly data: z.ZodObject<{
|
|
5222
|
+
slug: z.ZodString;
|
|
5223
|
+
}, _$zod_v4_core0.$strip>;
|
|
5224
|
+
};
|
|
5225
|
+
readonly ORG_HAS_REPOS: {
|
|
5226
|
+
readonly status: 409;
|
|
5227
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5228
|
+
readonly data: z.ZodObject<{
|
|
5229
|
+
slug: z.ZodString;
|
|
5230
|
+
repoCount: z.ZodNumber;
|
|
5231
|
+
}, _$zod_v4_core0.$strip>;
|
|
5232
|
+
};
|
|
4745
5233
|
}>, Record<never, never>>;
|
|
4746
5234
|
};
|
|
4747
5235
|
commits: {
|
|
4748
5236
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4749
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
4750
5237
|
name: z.ZodString;
|
|
4751
5238
|
cursor: z.ZodOptional<z.ZodString>;
|
|
4752
5239
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4765,7 +5252,12 @@ declare const contract: {
|
|
|
4765
5252
|
readonly BAD_REQUEST: {
|
|
4766
5253
|
readonly status: 400;
|
|
4767
5254
|
readonly message: "Bad request";
|
|
4768
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5255
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5256
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5257
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5258
|
+
message: z.ZodString;
|
|
5259
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
5260
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4769
5261
|
};
|
|
4770
5262
|
readonly UNAUTHENTICATED: {
|
|
4771
5263
|
readonly status: 401;
|
|
@@ -4914,9 +5406,23 @@ declare const contract: {
|
|
|
4914
5406
|
name: z.ZodString;
|
|
4915
5407
|
}, _$zod_v4_core0.$strip>;
|
|
4916
5408
|
};
|
|
5409
|
+
readonly ORG_LAST_OWNED: {
|
|
5410
|
+
readonly status: 409;
|
|
5411
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5412
|
+
readonly data: z.ZodObject<{
|
|
5413
|
+
slug: z.ZodString;
|
|
5414
|
+
}, _$zod_v4_core0.$strip>;
|
|
5415
|
+
};
|
|
5416
|
+
readonly ORG_HAS_REPOS: {
|
|
5417
|
+
readonly status: 409;
|
|
5418
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5419
|
+
readonly data: z.ZodObject<{
|
|
5420
|
+
slug: z.ZodString;
|
|
5421
|
+
repoCount: z.ZodNumber;
|
|
5422
|
+
}, _$zod_v4_core0.$strip>;
|
|
5423
|
+
};
|
|
4917
5424
|
}>, Record<never, never>>;
|
|
4918
5425
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4919
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
4920
5426
|
name: z.ZodString;
|
|
4921
5427
|
oid: z.ZodString;
|
|
4922
5428
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -4929,7 +5435,12 @@ declare const contract: {
|
|
|
4929
5435
|
readonly BAD_REQUEST: {
|
|
4930
5436
|
readonly status: 400;
|
|
4931
5437
|
readonly message: "Bad request";
|
|
4932
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5438
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5439
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5440
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5441
|
+
message: z.ZodString;
|
|
5442
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
5443
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4933
5444
|
};
|
|
4934
5445
|
readonly UNAUTHENTICATED: {
|
|
4935
5446
|
readonly status: 401;
|
|
@@ -5078,9 +5589,23 @@ declare const contract: {
|
|
|
5078
5589
|
name: z.ZodString;
|
|
5079
5590
|
}, _$zod_v4_core0.$strip>;
|
|
5080
5591
|
};
|
|
5592
|
+
readonly ORG_LAST_OWNED: {
|
|
5593
|
+
readonly status: 409;
|
|
5594
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5595
|
+
readonly data: z.ZodObject<{
|
|
5596
|
+
slug: z.ZodString;
|
|
5597
|
+
}, _$zod_v4_core0.$strip>;
|
|
5598
|
+
};
|
|
5599
|
+
readonly ORG_HAS_REPOS: {
|
|
5600
|
+
readonly status: 409;
|
|
5601
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5602
|
+
readonly data: z.ZodObject<{
|
|
5603
|
+
slug: z.ZodString;
|
|
5604
|
+
repoCount: z.ZodNumber;
|
|
5605
|
+
}, _$zod_v4_core0.$strip>;
|
|
5606
|
+
};
|
|
5081
5607
|
}>, Record<never, never>>;
|
|
5082
5608
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5083
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
5084
5609
|
name: z.ZodString;
|
|
5085
5610
|
ref: z.ZodString;
|
|
5086
5611
|
message: z.ZodString;
|
|
@@ -5120,7 +5645,12 @@ declare const contract: {
|
|
|
5120
5645
|
readonly BAD_REQUEST: {
|
|
5121
5646
|
readonly status: 400;
|
|
5122
5647
|
readonly message: "Bad request";
|
|
5123
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5648
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5649
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5650
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5651
|
+
message: z.ZodString;
|
|
5652
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
5653
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5124
5654
|
};
|
|
5125
5655
|
readonly UNAUTHENTICATED: {
|
|
5126
5656
|
readonly status: 401;
|
|
@@ -5269,11 +5799,25 @@ declare const contract: {
|
|
|
5269
5799
|
name: z.ZodString;
|
|
5270
5800
|
}, _$zod_v4_core0.$strip>;
|
|
5271
5801
|
};
|
|
5802
|
+
readonly ORG_LAST_OWNED: {
|
|
5803
|
+
readonly status: 409;
|
|
5804
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5805
|
+
readonly data: z.ZodObject<{
|
|
5806
|
+
slug: z.ZodString;
|
|
5807
|
+
}, _$zod_v4_core0.$strip>;
|
|
5808
|
+
};
|
|
5809
|
+
readonly ORG_HAS_REPOS: {
|
|
5810
|
+
readonly status: 409;
|
|
5811
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5812
|
+
readonly data: z.ZodObject<{
|
|
5813
|
+
slug: z.ZodString;
|
|
5814
|
+
repoCount: z.ZodNumber;
|
|
5815
|
+
}, _$zod_v4_core0.$strip>;
|
|
5816
|
+
};
|
|
5272
5817
|
}>, Record<never, never>>;
|
|
5273
5818
|
};
|
|
5274
5819
|
tree: {
|
|
5275
5820
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5276
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
5277
5821
|
name: z.ZodString;
|
|
5278
5822
|
ref: z.ZodDefault<z.ZodString>;
|
|
5279
5823
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -5296,7 +5840,12 @@ declare const contract: {
|
|
|
5296
5840
|
readonly BAD_REQUEST: {
|
|
5297
5841
|
readonly status: 400;
|
|
5298
5842
|
readonly message: "Bad request";
|
|
5299
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5843
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
5844
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5845
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5846
|
+
message: z.ZodString;
|
|
5847
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
5848
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5300
5849
|
};
|
|
5301
5850
|
readonly UNAUTHENTICATED: {
|
|
5302
5851
|
readonly status: 401;
|
|
@@ -5445,11 +5994,25 @@ declare const contract: {
|
|
|
5445
5994
|
name: z.ZodString;
|
|
5446
5995
|
}, _$zod_v4_core0.$strip>;
|
|
5447
5996
|
};
|
|
5997
|
+
readonly ORG_LAST_OWNED: {
|
|
5998
|
+
readonly status: 409;
|
|
5999
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6000
|
+
readonly data: z.ZodObject<{
|
|
6001
|
+
slug: z.ZodString;
|
|
6002
|
+
}, _$zod_v4_core0.$strip>;
|
|
6003
|
+
};
|
|
6004
|
+
readonly ORG_HAS_REPOS: {
|
|
6005
|
+
readonly status: 409;
|
|
6006
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6007
|
+
readonly data: z.ZodObject<{
|
|
6008
|
+
slug: z.ZodString;
|
|
6009
|
+
repoCount: z.ZodNumber;
|
|
6010
|
+
}, _$zod_v4_core0.$strip>;
|
|
6011
|
+
};
|
|
5448
6012
|
}>, Record<never, never>>;
|
|
5449
6013
|
};
|
|
5450
6014
|
blob: {
|
|
5451
6015
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5452
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
5453
6016
|
name: z.ZodString;
|
|
5454
6017
|
oid: z.ZodString;
|
|
5455
6018
|
}, _$zod_v4_core0.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -5465,7 +6028,12 @@ declare const contract: {
|
|
|
5465
6028
|
readonly BAD_REQUEST: {
|
|
5466
6029
|
readonly status: 400;
|
|
5467
6030
|
readonly message: "Bad request";
|
|
5468
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6031
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6032
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6033
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
6034
|
+
message: z.ZodString;
|
|
6035
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6036
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5469
6037
|
};
|
|
5470
6038
|
readonly UNAUTHENTICATED: {
|
|
5471
6039
|
readonly status: 401;
|
|
@@ -5614,11 +6182,25 @@ declare const contract: {
|
|
|
5614
6182
|
name: z.ZodString;
|
|
5615
6183
|
}, _$zod_v4_core0.$strip>;
|
|
5616
6184
|
};
|
|
6185
|
+
readonly ORG_LAST_OWNED: {
|
|
6186
|
+
readonly status: 409;
|
|
6187
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6188
|
+
readonly data: z.ZodObject<{
|
|
6189
|
+
slug: z.ZodString;
|
|
6190
|
+
}, _$zod_v4_core0.$strip>;
|
|
6191
|
+
};
|
|
6192
|
+
readonly ORG_HAS_REPOS: {
|
|
6193
|
+
readonly status: 409;
|
|
6194
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6195
|
+
readonly data: z.ZodObject<{
|
|
6196
|
+
slug: z.ZodString;
|
|
6197
|
+
repoCount: z.ZodNumber;
|
|
6198
|
+
}, _$zod_v4_core0.$strip>;
|
|
6199
|
+
};
|
|
5617
6200
|
}>, Record<never, never>>;
|
|
5618
6201
|
};
|
|
5619
6202
|
workspace: {
|
|
5620
6203
|
commit: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5621
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
5622
6204
|
name: z.ZodString;
|
|
5623
6205
|
ref: z.ZodDefault<z.ZodString>;
|
|
5624
6206
|
message: z.ZodString;
|
|
@@ -5662,7 +6244,12 @@ declare const contract: {
|
|
|
5662
6244
|
readonly BAD_REQUEST: {
|
|
5663
6245
|
readonly status: 400;
|
|
5664
6246
|
readonly message: "Bad request";
|
|
5665
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6247
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6248
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6249
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
6250
|
+
message: z.ZodString;
|
|
6251
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6252
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5666
6253
|
};
|
|
5667
6254
|
readonly UNAUTHENTICATED: {
|
|
5668
6255
|
readonly status: 401;
|
|
@@ -5811,10 +6398,24 @@ declare const contract: {
|
|
|
5811
6398
|
name: z.ZodString;
|
|
5812
6399
|
}, _$zod_v4_core0.$strip>;
|
|
5813
6400
|
};
|
|
6401
|
+
readonly ORG_LAST_OWNED: {
|
|
6402
|
+
readonly status: 409;
|
|
6403
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6404
|
+
readonly data: z.ZodObject<{
|
|
6405
|
+
slug: z.ZodString;
|
|
6406
|
+
}, _$zod_v4_core0.$strip>;
|
|
6407
|
+
};
|
|
6408
|
+
readonly ORG_HAS_REPOS: {
|
|
6409
|
+
readonly status: 409;
|
|
6410
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6411
|
+
readonly data: z.ZodObject<{
|
|
6412
|
+
slug: z.ZodString;
|
|
6413
|
+
repoCount: z.ZodNumber;
|
|
6414
|
+
}, _$zod_v4_core0.$strip>;
|
|
6415
|
+
};
|
|
5814
6416
|
}>, Record<never, never>>;
|
|
5815
6417
|
};
|
|
5816
6418
|
compare: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5817
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
5818
6419
|
name: z.ZodString;
|
|
5819
6420
|
base: z.ZodString;
|
|
5820
6421
|
head: z.ZodString;
|
|
@@ -5849,7 +6450,12 @@ declare const contract: {
|
|
|
5849
6450
|
readonly BAD_REQUEST: {
|
|
5850
6451
|
readonly status: 400;
|
|
5851
6452
|
readonly message: "Bad request";
|
|
5852
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6453
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6454
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6455
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
6456
|
+
message: z.ZodString;
|
|
6457
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6458
|
+
}, _$zod_v4_core0.$strip>>;
|
|
5853
6459
|
};
|
|
5854
6460
|
readonly UNAUTHENTICATED: {
|
|
5855
6461
|
readonly status: 401;
|
|
@@ -5998,9 +6604,23 @@ declare const contract: {
|
|
|
5998
6604
|
name: z.ZodString;
|
|
5999
6605
|
}, _$zod_v4_core0.$strip>;
|
|
6000
6606
|
};
|
|
6607
|
+
readonly ORG_LAST_OWNED: {
|
|
6608
|
+
readonly status: 409;
|
|
6609
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6610
|
+
readonly data: z.ZodObject<{
|
|
6611
|
+
slug: z.ZodString;
|
|
6612
|
+
}, _$zod_v4_core0.$strip>;
|
|
6613
|
+
};
|
|
6614
|
+
readonly ORG_HAS_REPOS: {
|
|
6615
|
+
readonly status: 409;
|
|
6616
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6617
|
+
readonly data: z.ZodObject<{
|
|
6618
|
+
slug: z.ZodString;
|
|
6619
|
+
repoCount: z.ZodNumber;
|
|
6620
|
+
}, _$zod_v4_core0.$strip>;
|
|
6621
|
+
};
|
|
6001
6622
|
}>, Record<never, never>>;
|
|
6002
6623
|
diff: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6003
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
6004
6624
|
name: z.ZodString;
|
|
6005
6625
|
base: z.ZodString;
|
|
6006
6626
|
head: z.ZodString;
|
|
@@ -6038,7 +6658,12 @@ declare const contract: {
|
|
|
6038
6658
|
readonly BAD_REQUEST: {
|
|
6039
6659
|
readonly status: 400;
|
|
6040
6660
|
readonly message: "Bad request";
|
|
6041
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6661
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6662
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6663
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
6664
|
+
message: z.ZodString;
|
|
6665
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6666
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6042
6667
|
};
|
|
6043
6668
|
readonly UNAUTHENTICATED: {
|
|
6044
6669
|
readonly status: 401;
|
|
@@ -6187,6 +6812,21 @@ declare const contract: {
|
|
|
6187
6812
|
name: z.ZodString;
|
|
6188
6813
|
}, _$zod_v4_core0.$strip>;
|
|
6189
6814
|
};
|
|
6815
|
+
readonly ORG_LAST_OWNED: {
|
|
6816
|
+
readonly status: 409;
|
|
6817
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6818
|
+
readonly data: z.ZodObject<{
|
|
6819
|
+
slug: z.ZodString;
|
|
6820
|
+
}, _$zod_v4_core0.$strip>;
|
|
6821
|
+
};
|
|
6822
|
+
readonly ORG_HAS_REPOS: {
|
|
6823
|
+
readonly status: 409;
|
|
6824
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6825
|
+
readonly data: z.ZodObject<{
|
|
6826
|
+
slug: z.ZodString;
|
|
6827
|
+
repoCount: z.ZodNumber;
|
|
6828
|
+
}, _$zod_v4_core0.$strip>;
|
|
6829
|
+
};
|
|
6190
6830
|
}>, Record<never, never>>;
|
|
6191
6831
|
};
|
|
6192
6832
|
keys: {
|
|
@@ -6236,7 +6876,12 @@ declare const contract: {
|
|
|
6236
6876
|
readonly BAD_REQUEST: {
|
|
6237
6877
|
readonly status: 400;
|
|
6238
6878
|
readonly message: "Bad request";
|
|
6239
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6879
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
6880
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6881
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
6882
|
+
message: z.ZodString;
|
|
6883
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
6884
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6240
6885
|
};
|
|
6241
6886
|
readonly UNAUTHENTICATED: {
|
|
6242
6887
|
readonly status: 401;
|
|
@@ -6385,6 +7030,21 @@ declare const contract: {
|
|
|
6385
7030
|
name: z.ZodString;
|
|
6386
7031
|
}, _$zod_v4_core0.$strip>;
|
|
6387
7032
|
};
|
|
7033
|
+
readonly ORG_LAST_OWNED: {
|
|
7034
|
+
readonly status: 409;
|
|
7035
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7036
|
+
readonly data: z.ZodObject<{
|
|
7037
|
+
slug: z.ZodString;
|
|
7038
|
+
}, _$zod_v4_core0.$strip>;
|
|
7039
|
+
};
|
|
7040
|
+
readonly ORG_HAS_REPOS: {
|
|
7041
|
+
readonly status: 409;
|
|
7042
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7043
|
+
readonly data: z.ZodObject<{
|
|
7044
|
+
slug: z.ZodString;
|
|
7045
|
+
repoCount: z.ZodNumber;
|
|
7046
|
+
}, _$zod_v4_core0.$strip>;
|
|
7047
|
+
};
|
|
6388
7048
|
}>, Record<never, never>>;
|
|
6389
7049
|
list: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
|
|
6390
7050
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -6414,7 +7074,12 @@ declare const contract: {
|
|
|
6414
7074
|
readonly BAD_REQUEST: {
|
|
6415
7075
|
readonly status: 400;
|
|
6416
7076
|
readonly message: "Bad request";
|
|
6417
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7077
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7078
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7079
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
7080
|
+
message: z.ZodString;
|
|
7081
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
7082
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6418
7083
|
};
|
|
6419
7084
|
readonly UNAUTHENTICATED: {
|
|
6420
7085
|
readonly status: 401;
|
|
@@ -6563,6 +7228,21 @@ declare const contract: {
|
|
|
6563
7228
|
name: z.ZodString;
|
|
6564
7229
|
}, _$zod_v4_core0.$strip>;
|
|
6565
7230
|
};
|
|
7231
|
+
readonly ORG_LAST_OWNED: {
|
|
7232
|
+
readonly status: 409;
|
|
7233
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7234
|
+
readonly data: z.ZodObject<{
|
|
7235
|
+
slug: z.ZodString;
|
|
7236
|
+
}, _$zod_v4_core0.$strip>;
|
|
7237
|
+
};
|
|
7238
|
+
readonly ORG_HAS_REPOS: {
|
|
7239
|
+
readonly status: 409;
|
|
7240
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7241
|
+
readonly data: z.ZodObject<{
|
|
7242
|
+
slug: z.ZodString;
|
|
7243
|
+
repoCount: z.ZodNumber;
|
|
7244
|
+
}, _$zod_v4_core0.$strip>;
|
|
7245
|
+
};
|
|
6566
7246
|
}>, Record<never, never>>;
|
|
6567
7247
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6568
7248
|
id: z.ZodString;
|
|
@@ -6572,7 +7252,12 @@ declare const contract: {
|
|
|
6572
7252
|
readonly BAD_REQUEST: {
|
|
6573
7253
|
readonly status: 400;
|
|
6574
7254
|
readonly message: "Bad request";
|
|
6575
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7255
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7256
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7257
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
7258
|
+
message: z.ZodString;
|
|
7259
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
7260
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6576
7261
|
};
|
|
6577
7262
|
readonly UNAUTHENTICATED: {
|
|
6578
7263
|
readonly status: 401;
|
|
@@ -6721,6 +7406,21 @@ declare const contract: {
|
|
|
6721
7406
|
name: z.ZodString;
|
|
6722
7407
|
}, _$zod_v4_core0.$strip>;
|
|
6723
7408
|
};
|
|
7409
|
+
readonly ORG_LAST_OWNED: {
|
|
7410
|
+
readonly status: 409;
|
|
7411
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7412
|
+
readonly data: z.ZodObject<{
|
|
7413
|
+
slug: z.ZodString;
|
|
7414
|
+
}, _$zod_v4_core0.$strip>;
|
|
7415
|
+
};
|
|
7416
|
+
readonly ORG_HAS_REPOS: {
|
|
7417
|
+
readonly status: 409;
|
|
7418
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7419
|
+
readonly data: z.ZodObject<{
|
|
7420
|
+
slug: z.ZodString;
|
|
7421
|
+
repoCount: z.ZodNumber;
|
|
7422
|
+
}, _$zod_v4_core0.$strip>;
|
|
7423
|
+
};
|
|
6724
7424
|
}>, Record<never, never>>;
|
|
6725
7425
|
};
|
|
6726
7426
|
me: {
|
|
@@ -6762,7 +7462,12 @@ declare const contract: {
|
|
|
6762
7462
|
readonly BAD_REQUEST: {
|
|
6763
7463
|
readonly status: 400;
|
|
6764
7464
|
readonly message: "Bad request";
|
|
6765
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7465
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7466
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7467
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
7468
|
+
message: z.ZodString;
|
|
7469
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
7470
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6766
7471
|
};
|
|
6767
7472
|
readonly UNAUTHENTICATED: {
|
|
6768
7473
|
readonly status: 401;
|
|
@@ -6911,12 +7616,26 @@ declare const contract: {
|
|
|
6911
7616
|
name: z.ZodString;
|
|
6912
7617
|
}, _$zod_v4_core0.$strip>;
|
|
6913
7618
|
};
|
|
7619
|
+
readonly ORG_LAST_OWNED: {
|
|
7620
|
+
readonly status: 409;
|
|
7621
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7622
|
+
readonly data: z.ZodObject<{
|
|
7623
|
+
slug: z.ZodString;
|
|
7624
|
+
}, _$zod_v4_core0.$strip>;
|
|
7625
|
+
};
|
|
7626
|
+
readonly ORG_HAS_REPOS: {
|
|
7627
|
+
readonly status: 409;
|
|
7628
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7629
|
+
readonly data: z.ZodObject<{
|
|
7630
|
+
slug: z.ZodString;
|
|
7631
|
+
repoCount: z.ZodNumber;
|
|
7632
|
+
}, _$zod_v4_core0.$strip>;
|
|
7633
|
+
};
|
|
6914
7634
|
}>, Record<never, never>>;
|
|
6915
7635
|
};
|
|
6916
7636
|
orgs: {
|
|
6917
7637
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6918
|
-
|
|
6919
|
-
name: z.ZodString;
|
|
7638
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6920
7639
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
6921
7640
|
id: z.ZodString;
|
|
6922
7641
|
slug: z.ZodString;
|
|
@@ -6928,7 +7647,12 @@ declare const contract: {
|
|
|
6928
7647
|
readonly BAD_REQUEST: {
|
|
6929
7648
|
readonly status: 400;
|
|
6930
7649
|
readonly message: "Bad request";
|
|
6931
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7650
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7651
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7652
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
7653
|
+
message: z.ZodString;
|
|
7654
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
7655
|
+
}, _$zod_v4_core0.$strip>>;
|
|
6932
7656
|
};
|
|
6933
7657
|
readonly UNAUTHENTICATED: {
|
|
6934
7658
|
readonly status: 401;
|
|
@@ -7077,6 +7801,21 @@ declare const contract: {
|
|
|
7077
7801
|
name: z.ZodString;
|
|
7078
7802
|
}, _$zod_v4_core0.$strip>;
|
|
7079
7803
|
};
|
|
7804
|
+
readonly ORG_LAST_OWNED: {
|
|
7805
|
+
readonly status: 409;
|
|
7806
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7807
|
+
readonly data: z.ZodObject<{
|
|
7808
|
+
slug: z.ZodString;
|
|
7809
|
+
}, _$zod_v4_core0.$strip>;
|
|
7810
|
+
};
|
|
7811
|
+
readonly ORG_HAS_REPOS: {
|
|
7812
|
+
readonly status: 409;
|
|
7813
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7814
|
+
readonly data: z.ZodObject<{
|
|
7815
|
+
slug: z.ZodString;
|
|
7816
|
+
repoCount: z.ZodNumber;
|
|
7817
|
+
}, _$zod_v4_core0.$strip>;
|
|
7818
|
+
};
|
|
7080
7819
|
}>, Record<never, never>>;
|
|
7081
7820
|
list: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
|
|
7082
7821
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -7091,7 +7830,12 @@ declare const contract: {
|
|
|
7091
7830
|
readonly BAD_REQUEST: {
|
|
7092
7831
|
readonly status: 400;
|
|
7093
7832
|
readonly message: "Bad request";
|
|
7094
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7833
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
7834
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7835
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
7836
|
+
message: z.ZodString;
|
|
7837
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
7838
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7095
7839
|
};
|
|
7096
7840
|
readonly UNAUTHENTICATED: {
|
|
7097
7841
|
readonly status: 401;
|
|
@@ -7240,6 +7984,21 @@ declare const contract: {
|
|
|
7240
7984
|
name: z.ZodString;
|
|
7241
7985
|
}, _$zod_v4_core0.$strip>;
|
|
7242
7986
|
};
|
|
7987
|
+
readonly ORG_LAST_OWNED: {
|
|
7988
|
+
readonly status: 409;
|
|
7989
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7990
|
+
readonly data: z.ZodObject<{
|
|
7991
|
+
slug: z.ZodString;
|
|
7992
|
+
}, _$zod_v4_core0.$strip>;
|
|
7993
|
+
};
|
|
7994
|
+
readonly ORG_HAS_REPOS: {
|
|
7995
|
+
readonly status: 409;
|
|
7996
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7997
|
+
readonly data: z.ZodObject<{
|
|
7998
|
+
slug: z.ZodString;
|
|
7999
|
+
repoCount: z.ZodNumber;
|
|
8000
|
+
}, _$zod_v4_core0.$strip>;
|
|
8001
|
+
};
|
|
7243
8002
|
}>, Record<never, never>>;
|
|
7244
8003
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7245
8004
|
idOrSlug: z.ZodString;
|
|
@@ -7254,7 +8013,12 @@ declare const contract: {
|
|
|
7254
8013
|
readonly BAD_REQUEST: {
|
|
7255
8014
|
readonly status: 400;
|
|
7256
8015
|
readonly message: "Bad request";
|
|
7257
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8016
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8017
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8018
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
8019
|
+
message: z.ZodString;
|
|
8020
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
8021
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7258
8022
|
};
|
|
7259
8023
|
readonly UNAUTHENTICATED: {
|
|
7260
8024
|
readonly status: 401;
|
|
@@ -7403,6 +8167,21 @@ declare const contract: {
|
|
|
7403
8167
|
name: z.ZodString;
|
|
7404
8168
|
}, _$zod_v4_core0.$strip>;
|
|
7405
8169
|
};
|
|
8170
|
+
readonly ORG_LAST_OWNED: {
|
|
8171
|
+
readonly status: 409;
|
|
8172
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8173
|
+
readonly data: z.ZodObject<{
|
|
8174
|
+
slug: z.ZodString;
|
|
8175
|
+
}, _$zod_v4_core0.$strip>;
|
|
8176
|
+
};
|
|
8177
|
+
readonly ORG_HAS_REPOS: {
|
|
8178
|
+
readonly status: 409;
|
|
8179
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8180
|
+
readonly data: z.ZodObject<{
|
|
8181
|
+
slug: z.ZodString;
|
|
8182
|
+
repoCount: z.ZodNumber;
|
|
8183
|
+
}, _$zod_v4_core0.$strip>;
|
|
8184
|
+
};
|
|
7406
8185
|
}>, Record<never, never>>;
|
|
7407
8186
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7408
8187
|
idOrSlug: z.ZodString;
|
|
@@ -7412,7 +8191,12 @@ declare const contract: {
|
|
|
7412
8191
|
readonly BAD_REQUEST: {
|
|
7413
8192
|
readonly status: 400;
|
|
7414
8193
|
readonly message: "Bad request";
|
|
7415
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8194
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8195
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8196
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
8197
|
+
message: z.ZodString;
|
|
8198
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
8199
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7416
8200
|
};
|
|
7417
8201
|
readonly UNAUTHENTICATED: {
|
|
7418
8202
|
readonly status: 401;
|
|
@@ -7561,6 +8345,21 @@ declare const contract: {
|
|
|
7561
8345
|
name: z.ZodString;
|
|
7562
8346
|
}, _$zod_v4_core0.$strip>;
|
|
7563
8347
|
};
|
|
8348
|
+
readonly ORG_LAST_OWNED: {
|
|
8349
|
+
readonly status: 409;
|
|
8350
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8351
|
+
readonly data: z.ZodObject<{
|
|
8352
|
+
slug: z.ZodString;
|
|
8353
|
+
}, _$zod_v4_core0.$strip>;
|
|
8354
|
+
};
|
|
8355
|
+
readonly ORG_HAS_REPOS: {
|
|
8356
|
+
readonly status: 409;
|
|
8357
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8358
|
+
readonly data: z.ZodObject<{
|
|
8359
|
+
slug: z.ZodString;
|
|
8360
|
+
repoCount: z.ZodNumber;
|
|
8361
|
+
}, _$zod_v4_core0.$strip>;
|
|
8362
|
+
};
|
|
7564
8363
|
}>, Record<never, never>>;
|
|
7565
8364
|
};
|
|
7566
8365
|
members: {
|
|
@@ -7584,7 +8383,12 @@ declare const contract: {
|
|
|
7584
8383
|
readonly BAD_REQUEST: {
|
|
7585
8384
|
readonly status: 400;
|
|
7586
8385
|
readonly message: "Bad request";
|
|
7587
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8386
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8387
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8388
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
8389
|
+
message: z.ZodString;
|
|
8390
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
8391
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7588
8392
|
};
|
|
7589
8393
|
readonly UNAUTHENTICATED: {
|
|
7590
8394
|
readonly status: 401;
|
|
@@ -7733,22 +8537,227 @@ declare const contract: {
|
|
|
7733
8537
|
name: z.ZodString;
|
|
7734
8538
|
}, _$zod_v4_core0.$strip>;
|
|
7735
8539
|
};
|
|
8540
|
+
readonly ORG_LAST_OWNED: {
|
|
8541
|
+
readonly status: 409;
|
|
8542
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8543
|
+
readonly data: z.ZodObject<{
|
|
8544
|
+
slug: z.ZodString;
|
|
8545
|
+
}, _$zod_v4_core0.$strip>;
|
|
8546
|
+
};
|
|
8547
|
+
readonly ORG_HAS_REPOS: {
|
|
8548
|
+
readonly status: 409;
|
|
8549
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8550
|
+
readonly data: z.ZodObject<{
|
|
8551
|
+
slug: z.ZodString;
|
|
8552
|
+
repoCount: z.ZodNumber;
|
|
8553
|
+
}, _$zod_v4_core0.$strip>;
|
|
8554
|
+
};
|
|
7736
8555
|
}>, Record<never, never>>;
|
|
7737
|
-
|
|
8556
|
+
listInvitations: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7738
8557
|
orgSlug: z.ZodString;
|
|
7739
|
-
email: z.ZodEmail;
|
|
7740
|
-
role: z.ZodEnum<{
|
|
7741
|
-
admin: "admin";
|
|
7742
|
-
member: "member";
|
|
7743
|
-
}>;
|
|
7744
8558
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
8559
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8560
|
+
id: z.ZodString;
|
|
8561
|
+
organizationId: z.ZodString;
|
|
8562
|
+
email: z.ZodString;
|
|
8563
|
+
role: z.ZodUnion<[z.ZodEnum<{
|
|
8564
|
+
admin: "admin";
|
|
8565
|
+
member: "member";
|
|
8566
|
+
}>, z.ZodLiteral<"owner">]>;
|
|
8567
|
+
status: z.ZodString;
|
|
8568
|
+
inviterId: z.ZodString;
|
|
8569
|
+
expiresAt: z.ZodNumber;
|
|
8570
|
+
createdAt: z.ZodNumber;
|
|
8571
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8572
|
+
}, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
8573
|
+
readonly BAD_REQUEST: {
|
|
8574
|
+
readonly status: 400;
|
|
8575
|
+
readonly message: "Bad request";
|
|
8576
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8577
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8578
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
8579
|
+
message: z.ZodString;
|
|
8580
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
8581
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8582
|
+
};
|
|
8583
|
+
readonly UNAUTHENTICATED: {
|
|
8584
|
+
readonly status: 401;
|
|
8585
|
+
readonly message: "Sign in required";
|
|
8586
|
+
readonly data: z.ZodOptional<z.ZodObject<{}, _$zod_v4_core0.$strip>>;
|
|
8587
|
+
};
|
|
8588
|
+
readonly TOO_MANY_REQUESTS: {
|
|
8589
|
+
readonly status: 429;
|
|
8590
|
+
readonly message: "Too many requests";
|
|
8591
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8592
|
+
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
8593
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8594
|
+
};
|
|
8595
|
+
readonly FORBIDDEN: {
|
|
8596
|
+
readonly status: 403;
|
|
8597
|
+
readonly message: "You do not have access to this resource";
|
|
8598
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8599
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
8600
|
+
not_a_member: "not_a_member";
|
|
8601
|
+
insufficient_role: "insufficient_role";
|
|
8602
|
+
scope_missing: "scope_missing";
|
|
8603
|
+
}>>;
|
|
8604
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8605
|
+
};
|
|
8606
|
+
readonly INVITATION_NOT_FOUND: {
|
|
8607
|
+
readonly status: 404;
|
|
8608
|
+
readonly message: "Invitation not found";
|
|
8609
|
+
readonly data: z.ZodObject<{
|
|
8610
|
+
invitationId: z.ZodString;
|
|
8611
|
+
}, _$zod_v4_core0.$strip>;
|
|
8612
|
+
};
|
|
8613
|
+
readonly KEY_NOT_FOUND: {
|
|
8614
|
+
readonly status: 404;
|
|
8615
|
+
readonly message: "API key not found";
|
|
8616
|
+
readonly data: z.ZodObject<{
|
|
8617
|
+
id: z.ZodString;
|
|
8618
|
+
}, _$zod_v4_core0.$strip>;
|
|
8619
|
+
};
|
|
8620
|
+
readonly REPO_NOT_FOUND: {
|
|
8621
|
+
readonly status: 404;
|
|
8622
|
+
readonly message: "Repo not found";
|
|
8623
|
+
readonly data: z.ZodObject<{
|
|
8624
|
+
name: z.ZodString;
|
|
8625
|
+
}, _$zod_v4_core0.$strip>;
|
|
8626
|
+
};
|
|
8627
|
+
readonly GIT_OBJECT_NOT_FOUND: {
|
|
8628
|
+
readonly status: 404;
|
|
8629
|
+
readonly message: "Git object not found";
|
|
8630
|
+
readonly data: z.ZodObject<{
|
|
8631
|
+
name: z.ZodString;
|
|
8632
|
+
object: z.ZodString;
|
|
8633
|
+
}, _$zod_v4_core0.$strip>;
|
|
8634
|
+
};
|
|
8635
|
+
readonly REF_ALREADY_EXISTS: {
|
|
8636
|
+
readonly status: 409;
|
|
8637
|
+
readonly message: "Git ref already exists";
|
|
8638
|
+
readonly data: z.ZodObject<{
|
|
8639
|
+
name: z.ZodString;
|
|
8640
|
+
ref: z.ZodString;
|
|
8641
|
+
}, _$zod_v4_core0.$strip>;
|
|
8642
|
+
};
|
|
8643
|
+
readonly STALE_REF: {
|
|
8644
|
+
readonly status: 409;
|
|
8645
|
+
readonly message: "Git ref is stale";
|
|
8646
|
+
readonly data: z.ZodObject<{
|
|
8647
|
+
name: z.ZodString;
|
|
8648
|
+
ref: z.ZodString;
|
|
8649
|
+
}, _$zod_v4_core0.$strip>;
|
|
8650
|
+
};
|
|
8651
|
+
readonly NON_FAST_FORWARD: {
|
|
8652
|
+
readonly status: 422;
|
|
8653
|
+
readonly message: "Git ref update is not a fast-forward";
|
|
8654
|
+
readonly data: z.ZodObject<{
|
|
8655
|
+
name: z.ZodString;
|
|
8656
|
+
ref: z.ZodString;
|
|
8657
|
+
}, _$zod_v4_core0.$strip>;
|
|
8658
|
+
};
|
|
8659
|
+
readonly INVALID_TREE: {
|
|
8660
|
+
readonly status: 422;
|
|
8661
|
+
readonly message: "Invalid git tree";
|
|
8662
|
+
readonly data: z.ZodObject<{
|
|
8663
|
+
name: z.ZodString;
|
|
8664
|
+
object: z.ZodString;
|
|
8665
|
+
}, _$zod_v4_core0.$strip>;
|
|
8666
|
+
};
|
|
8667
|
+
readonly INVALID_PARENT: {
|
|
8668
|
+
readonly status: 422;
|
|
8669
|
+
readonly message: "Invalid git parent";
|
|
8670
|
+
readonly data: z.ZodObject<{
|
|
8671
|
+
name: z.ZodString;
|
|
8672
|
+
object: z.ZodString;
|
|
8673
|
+
}, _$zod_v4_core0.$strip>;
|
|
8674
|
+
};
|
|
8675
|
+
readonly INVARIANT_WORKSPACE_REQUIRED: {
|
|
8676
|
+
readonly status: 503;
|
|
8677
|
+
readonly message: "Repo workspace is required for this git operation";
|
|
8678
|
+
readonly data: z.ZodObject<{
|
|
8679
|
+
name: z.ZodString;
|
|
8680
|
+
}, _$zod_v4_core0.$strip>;
|
|
8681
|
+
};
|
|
8682
|
+
readonly GIT_REMOTE_WRITE_FAILED: {
|
|
8683
|
+
readonly status: 502;
|
|
8684
|
+
readonly message: "Git remote write failed";
|
|
8685
|
+
readonly data: z.ZodObject<{
|
|
8686
|
+
name: z.ZodString;
|
|
8687
|
+
ref: z.ZodString;
|
|
8688
|
+
}, _$zod_v4_core0.$strip>;
|
|
8689
|
+
};
|
|
8690
|
+
readonly REPO_ALREADY_EXISTS: {
|
|
8691
|
+
readonly status: 409;
|
|
8692
|
+
readonly message: "Repo already exists";
|
|
8693
|
+
readonly data: z.ZodObject<{
|
|
8694
|
+
name: z.ZodString;
|
|
8695
|
+
}, _$zod_v4_core0.$strip>;
|
|
8696
|
+
};
|
|
8697
|
+
readonly QUOTA_EXCEEDED: {
|
|
8698
|
+
readonly status: 429;
|
|
8699
|
+
readonly message: "Quota exceeded";
|
|
8700
|
+
readonly data: z.ZodObject<{
|
|
8701
|
+
scope: z.ZodEnum<{
|
|
8702
|
+
anon: "anon";
|
|
8703
|
+
org: "org";
|
|
8704
|
+
size: "size";
|
|
8705
|
+
}>;
|
|
8706
|
+
limit: z.ZodNumber;
|
|
8707
|
+
observed: z.ZodOptional<z.ZodNumber>;
|
|
8708
|
+
projected: z.ZodOptional<z.ZodNumber>;
|
|
8709
|
+
}, _$zod_v4_core0.$strip>;
|
|
8710
|
+
};
|
|
8711
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
8712
|
+
readonly status: 413;
|
|
8713
|
+
readonly message: "Request payload exceeds the supported limit";
|
|
8714
|
+
readonly data: z.ZodObject<{
|
|
8715
|
+
scope: z.ZodEnum<{
|
|
8716
|
+
workspace_commit: "workspace_commit";
|
|
8717
|
+
git_workspace_memory: "git_workspace_memory";
|
|
8718
|
+
}>;
|
|
8719
|
+
limit: z.ZodNumber;
|
|
8720
|
+
observed: z.ZodOptional<z.ZodNumber>;
|
|
8721
|
+
}, _$zod_v4_core0.$strip>;
|
|
8722
|
+
};
|
|
8723
|
+
readonly IMPORT_FAILED: {
|
|
8724
|
+
readonly status: 502;
|
|
8725
|
+
readonly message: "Repo import failed";
|
|
8726
|
+
readonly data: z.ZodObject<{
|
|
8727
|
+
name: z.ZodString;
|
|
8728
|
+
}, _$zod_v4_core0.$strip>;
|
|
8729
|
+
};
|
|
8730
|
+
readonly ORG_LAST_OWNED: {
|
|
8731
|
+
readonly status: 409;
|
|
8732
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8733
|
+
readonly data: z.ZodObject<{
|
|
8734
|
+
slug: z.ZodString;
|
|
8735
|
+
}, _$zod_v4_core0.$strip>;
|
|
8736
|
+
};
|
|
8737
|
+
readonly ORG_HAS_REPOS: {
|
|
8738
|
+
readonly status: 409;
|
|
8739
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8740
|
+
readonly data: z.ZodObject<{
|
|
8741
|
+
slug: z.ZodString;
|
|
8742
|
+
repoCount: z.ZodNumber;
|
|
8743
|
+
}, _$zod_v4_core0.$strip>;
|
|
8744
|
+
};
|
|
8745
|
+
}>, Record<never, never>>;
|
|
8746
|
+
invite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8747
|
+
orgSlug: z.ZodString;
|
|
8748
|
+
email: z.ZodEmail;
|
|
8749
|
+
role: z.ZodEnum<{
|
|
8750
|
+
admin: "admin";
|
|
8751
|
+
member: "member";
|
|
8752
|
+
}>;
|
|
8753
|
+
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
8754
|
+
id: z.ZodString;
|
|
8755
|
+
organizationId: z.ZodString;
|
|
8756
|
+
email: z.ZodString;
|
|
8757
|
+
role: z.ZodUnion<[z.ZodEnum<{
|
|
8758
|
+
admin: "admin";
|
|
8759
|
+
member: "member";
|
|
8760
|
+
}>, z.ZodLiteral<"owner">]>;
|
|
7752
8761
|
status: z.ZodString;
|
|
7753
8762
|
inviterId: z.ZodString;
|
|
7754
8763
|
expiresAt: z.ZodNumber;
|
|
@@ -7756,7 +8765,12 @@ declare const contract: {
|
|
|
7756
8765
|
readonly BAD_REQUEST: {
|
|
7757
8766
|
readonly status: 400;
|
|
7758
8767
|
readonly message: "Bad request";
|
|
7759
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8768
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8769
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8770
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
8771
|
+
message: z.ZodString;
|
|
8772
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
8773
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7760
8774
|
};
|
|
7761
8775
|
readonly UNAUTHENTICATED: {
|
|
7762
8776
|
readonly status: 401;
|
|
@@ -7905,6 +8919,21 @@ declare const contract: {
|
|
|
7905
8919
|
name: z.ZodString;
|
|
7906
8920
|
}, _$zod_v4_core0.$strip>;
|
|
7907
8921
|
};
|
|
8922
|
+
readonly ORG_LAST_OWNED: {
|
|
8923
|
+
readonly status: 409;
|
|
8924
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8925
|
+
readonly data: z.ZodObject<{
|
|
8926
|
+
slug: z.ZodString;
|
|
8927
|
+
}, _$zod_v4_core0.$strip>;
|
|
8928
|
+
};
|
|
8929
|
+
readonly ORG_HAS_REPOS: {
|
|
8930
|
+
readonly status: 409;
|
|
8931
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8932
|
+
readonly data: z.ZodObject<{
|
|
8933
|
+
slug: z.ZodString;
|
|
8934
|
+
repoCount: z.ZodNumber;
|
|
8935
|
+
}, _$zod_v4_core0.$strip>;
|
|
8936
|
+
};
|
|
7908
8937
|
}>, Record<never, never>>;
|
|
7909
8938
|
remove: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7910
8939
|
orgSlug: z.ZodString;
|
|
@@ -7915,7 +8944,12 @@ declare const contract: {
|
|
|
7915
8944
|
readonly BAD_REQUEST: {
|
|
7916
8945
|
readonly status: 400;
|
|
7917
8946
|
readonly message: "Bad request";
|
|
7918
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8947
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
8948
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8949
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
8950
|
+
message: z.ZodString;
|
|
8951
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
8952
|
+
}, _$zod_v4_core0.$strip>>;
|
|
7919
8953
|
};
|
|
7920
8954
|
readonly UNAUTHENTICATED: {
|
|
7921
8955
|
readonly status: 401;
|
|
@@ -8064,6 +9098,21 @@ declare const contract: {
|
|
|
8064
9098
|
name: z.ZodString;
|
|
8065
9099
|
}, _$zod_v4_core0.$strip>;
|
|
8066
9100
|
};
|
|
9101
|
+
readonly ORG_LAST_OWNED: {
|
|
9102
|
+
readonly status: 409;
|
|
9103
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9104
|
+
readonly data: z.ZodObject<{
|
|
9105
|
+
slug: z.ZodString;
|
|
9106
|
+
}, _$zod_v4_core0.$strip>;
|
|
9107
|
+
};
|
|
9108
|
+
readonly ORG_HAS_REPOS: {
|
|
9109
|
+
readonly status: 409;
|
|
9110
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9111
|
+
readonly data: z.ZodObject<{
|
|
9112
|
+
slug: z.ZodString;
|
|
9113
|
+
repoCount: z.ZodNumber;
|
|
9114
|
+
}, _$zod_v4_core0.$strip>;
|
|
9115
|
+
};
|
|
8067
9116
|
}>, Record<never, never>>;
|
|
8068
9117
|
setRole: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8069
9118
|
orgSlug: z.ZodString;
|
|
@@ -8088,7 +9137,12 @@ declare const contract: {
|
|
|
8088
9137
|
readonly BAD_REQUEST: {
|
|
8089
9138
|
readonly status: 400;
|
|
8090
9139
|
readonly message: "Bad request";
|
|
8091
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9140
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9141
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9142
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
9143
|
+
message: z.ZodString;
|
|
9144
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
9145
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8092
9146
|
};
|
|
8093
9147
|
readonly UNAUTHENTICATED: {
|
|
8094
9148
|
readonly status: 401;
|
|
@@ -8237,6 +9291,21 @@ declare const contract: {
|
|
|
8237
9291
|
name: z.ZodString;
|
|
8238
9292
|
}, _$zod_v4_core0.$strip>;
|
|
8239
9293
|
};
|
|
9294
|
+
readonly ORG_LAST_OWNED: {
|
|
9295
|
+
readonly status: 409;
|
|
9296
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9297
|
+
readonly data: z.ZodObject<{
|
|
9298
|
+
slug: z.ZodString;
|
|
9299
|
+
}, _$zod_v4_core0.$strip>;
|
|
9300
|
+
};
|
|
9301
|
+
readonly ORG_HAS_REPOS: {
|
|
9302
|
+
readonly status: 409;
|
|
9303
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9304
|
+
readonly data: z.ZodObject<{
|
|
9305
|
+
slug: z.ZodString;
|
|
9306
|
+
repoCount: z.ZodNumber;
|
|
9307
|
+
}, _$zod_v4_core0.$strip>;
|
|
9308
|
+
};
|
|
8240
9309
|
}>, Record<never, never>>;
|
|
8241
9310
|
acceptInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8242
9311
|
invitationId: z.ZodString;
|
|
@@ -8246,7 +9315,12 @@ declare const contract: {
|
|
|
8246
9315
|
readonly BAD_REQUEST: {
|
|
8247
9316
|
readonly status: 400;
|
|
8248
9317
|
readonly message: "Bad request";
|
|
8249
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9318
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9319
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9320
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
9321
|
+
message: z.ZodString;
|
|
9322
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
9323
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8250
9324
|
};
|
|
8251
9325
|
readonly UNAUTHENTICATED: {
|
|
8252
9326
|
readonly status: 401;
|
|
@@ -8395,6 +9469,21 @@ declare const contract: {
|
|
|
8395
9469
|
name: z.ZodString;
|
|
8396
9470
|
}, _$zod_v4_core0.$strip>;
|
|
8397
9471
|
};
|
|
9472
|
+
readonly ORG_LAST_OWNED: {
|
|
9473
|
+
readonly status: 409;
|
|
9474
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9475
|
+
readonly data: z.ZodObject<{
|
|
9476
|
+
slug: z.ZodString;
|
|
9477
|
+
}, _$zod_v4_core0.$strip>;
|
|
9478
|
+
};
|
|
9479
|
+
readonly ORG_HAS_REPOS: {
|
|
9480
|
+
readonly status: 409;
|
|
9481
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9482
|
+
readonly data: z.ZodObject<{
|
|
9483
|
+
slug: z.ZodString;
|
|
9484
|
+
repoCount: z.ZodNumber;
|
|
9485
|
+
}, _$zod_v4_core0.$strip>;
|
|
9486
|
+
};
|
|
8398
9487
|
}>, Record<never, never>>;
|
|
8399
9488
|
cancelInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8400
9489
|
orgSlug: z.ZodString;
|
|
@@ -8405,7 +9494,12 @@ declare const contract: {
|
|
|
8405
9494
|
readonly BAD_REQUEST: {
|
|
8406
9495
|
readonly status: 400;
|
|
8407
9496
|
readonly message: "Bad request";
|
|
8408
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9497
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9498
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9499
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
9500
|
+
message: z.ZodString;
|
|
9501
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
9502
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8409
9503
|
};
|
|
8410
9504
|
readonly UNAUTHENTICATED: {
|
|
8411
9505
|
readonly status: 401;
|
|
@@ -8554,6 +9648,21 @@ declare const contract: {
|
|
|
8554
9648
|
name: z.ZodString;
|
|
8555
9649
|
}, _$zod_v4_core0.$strip>;
|
|
8556
9650
|
};
|
|
9651
|
+
readonly ORG_LAST_OWNED: {
|
|
9652
|
+
readonly status: 409;
|
|
9653
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9654
|
+
readonly data: z.ZodObject<{
|
|
9655
|
+
slug: z.ZodString;
|
|
9656
|
+
}, _$zod_v4_core0.$strip>;
|
|
9657
|
+
};
|
|
9658
|
+
readonly ORG_HAS_REPOS: {
|
|
9659
|
+
readonly status: 409;
|
|
9660
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9661
|
+
readonly data: z.ZodObject<{
|
|
9662
|
+
slug: z.ZodString;
|
|
9663
|
+
repoCount: z.ZodNumber;
|
|
9664
|
+
}, _$zod_v4_core0.$strip>;
|
|
9665
|
+
};
|
|
8557
9666
|
}>, Record<never, never>>;
|
|
8558
9667
|
setActive: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8559
9668
|
orgSlug: z.ZodString;
|
|
@@ -8563,7 +9672,12 @@ declare const contract: {
|
|
|
8563
9672
|
readonly BAD_REQUEST: {
|
|
8564
9673
|
readonly status: 400;
|
|
8565
9674
|
readonly message: "Bad request";
|
|
8566
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9675
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9676
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9677
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
9678
|
+
message: z.ZodString;
|
|
9679
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
9680
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8567
9681
|
};
|
|
8568
9682
|
readonly UNAUTHENTICATED: {
|
|
8569
9683
|
readonly status: 401;
|
|
@@ -8712,21 +9826,33 @@ declare const contract: {
|
|
|
8712
9826
|
name: z.ZodString;
|
|
8713
9827
|
}, _$zod_v4_core0.$strip>;
|
|
8714
9828
|
};
|
|
9829
|
+
readonly ORG_LAST_OWNED: {
|
|
9830
|
+
readonly status: 409;
|
|
9831
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9832
|
+
readonly data: z.ZodObject<{
|
|
9833
|
+
slug: z.ZodString;
|
|
9834
|
+
}, _$zod_v4_core0.$strip>;
|
|
9835
|
+
};
|
|
9836
|
+
readonly ORG_HAS_REPOS: {
|
|
9837
|
+
readonly status: 409;
|
|
9838
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9839
|
+
readonly data: z.ZodObject<{
|
|
9840
|
+
slug: z.ZodString;
|
|
9841
|
+
repoCount: z.ZodNumber;
|
|
9842
|
+
}, _$zod_v4_core0.$strip>;
|
|
9843
|
+
};
|
|
8715
9844
|
}>, Record<never, never>>;
|
|
8716
9845
|
};
|
|
8717
9846
|
repos: {
|
|
8718
9847
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8719
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
8720
9848
|
name: z.ZodString;
|
|
8721
9849
|
description: z.ZodOptional<z.ZodString>;
|
|
8722
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
9850
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
8723
9851
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
8724
|
-
orgId: z.ZodString;
|
|
8725
9852
|
name: z.ZodString;
|
|
8726
9853
|
ownerId: z.ZodString;
|
|
8727
9854
|
description: z.ZodNullable<z.ZodString>;
|
|
8728
9855
|
defaultBranch: z.ZodString;
|
|
8729
|
-
artifactName: z.ZodString;
|
|
8730
9856
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
8731
9857
|
remote: z.ZodNullable<z.ZodString>;
|
|
8732
9858
|
readOnly: z.ZodBoolean;
|
|
@@ -8735,12 +9861,18 @@ declare const contract: {
|
|
|
8735
9861
|
createdAt: z.ZodNumber;
|
|
8736
9862
|
updatedAt: z.ZodNumber;
|
|
8737
9863
|
token: z.ZodString;
|
|
9864
|
+
tokenScope: z.ZodLiteral<"read">;
|
|
8738
9865
|
tokenExpiresAt: z.ZodString;
|
|
8739
9866
|
}, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
8740
9867
|
readonly BAD_REQUEST: {
|
|
8741
9868
|
readonly status: 400;
|
|
8742
9869
|
readonly message: "Bad request";
|
|
8743
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9870
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
9871
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9872
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
9873
|
+
message: z.ZodString;
|
|
9874
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
9875
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8744
9876
|
};
|
|
8745
9877
|
readonly UNAUTHENTICATED: {
|
|
8746
9878
|
readonly status: 401;
|
|
@@ -8889,20 +10021,32 @@ declare const contract: {
|
|
|
8889
10021
|
name: z.ZodString;
|
|
8890
10022
|
}, _$zod_v4_core0.$strip>;
|
|
8891
10023
|
};
|
|
10024
|
+
readonly ORG_LAST_OWNED: {
|
|
10025
|
+
readonly status: 409;
|
|
10026
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10027
|
+
readonly data: z.ZodObject<{
|
|
10028
|
+
slug: z.ZodString;
|
|
10029
|
+
}, _$zod_v4_core0.$strip>;
|
|
10030
|
+
};
|
|
10031
|
+
readonly ORG_HAS_REPOS: {
|
|
10032
|
+
readonly status: 409;
|
|
10033
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10034
|
+
readonly data: z.ZodObject<{
|
|
10035
|
+
slug: z.ZodString;
|
|
10036
|
+
repoCount: z.ZodNumber;
|
|
10037
|
+
}, _$zod_v4_core0.$strip>;
|
|
10038
|
+
};
|
|
8892
10039
|
}>, Record<never, never>>;
|
|
8893
10040
|
importFromGitHub: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8894
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
8895
10041
|
name: z.ZodString;
|
|
8896
10042
|
description: z.ZodOptional<z.ZodString>;
|
|
8897
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
10043
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
8898
10044
|
remote: z.ZodURL;
|
|
8899
10045
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
8900
|
-
orgId: z.ZodString;
|
|
8901
10046
|
name: z.ZodString;
|
|
8902
10047
|
ownerId: z.ZodString;
|
|
8903
10048
|
description: z.ZodNullable<z.ZodString>;
|
|
8904
10049
|
defaultBranch: z.ZodString;
|
|
8905
|
-
artifactName: z.ZodString;
|
|
8906
10050
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
8907
10051
|
remote: z.ZodNullable<z.ZodString>;
|
|
8908
10052
|
readOnly: z.ZodBoolean;
|
|
@@ -8911,12 +10055,18 @@ declare const contract: {
|
|
|
8911
10055
|
createdAt: z.ZodNumber;
|
|
8912
10056
|
updatedAt: z.ZodNumber;
|
|
8913
10057
|
token: z.ZodString;
|
|
10058
|
+
tokenScope: z.ZodLiteral<"read">;
|
|
8914
10059
|
tokenExpiresAt: z.ZodString;
|
|
8915
10060
|
}, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
8916
10061
|
readonly BAD_REQUEST: {
|
|
8917
10062
|
readonly status: 400;
|
|
8918
10063
|
readonly message: "Bad request";
|
|
8919
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10064
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10065
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10066
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
10067
|
+
message: z.ZodString;
|
|
10068
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
10069
|
+
}, _$zod_v4_core0.$strip>>;
|
|
8920
10070
|
};
|
|
8921
10071
|
readonly UNAUTHENTICATED: {
|
|
8922
10072
|
readonly status: 401;
|
|
@@ -9065,20 +10215,32 @@ declare const contract: {
|
|
|
9065
10215
|
name: z.ZodString;
|
|
9066
10216
|
}, _$zod_v4_core0.$strip>;
|
|
9067
10217
|
};
|
|
10218
|
+
readonly ORG_LAST_OWNED: {
|
|
10219
|
+
readonly status: 409;
|
|
10220
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10221
|
+
readonly data: z.ZodObject<{
|
|
10222
|
+
slug: z.ZodString;
|
|
10223
|
+
}, _$zod_v4_core0.$strip>;
|
|
10224
|
+
};
|
|
10225
|
+
readonly ORG_HAS_REPOS: {
|
|
10226
|
+
readonly status: 409;
|
|
10227
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10228
|
+
readonly data: z.ZodObject<{
|
|
10229
|
+
slug: z.ZodString;
|
|
10230
|
+
repoCount: z.ZodNumber;
|
|
10231
|
+
}, _$zod_v4_core0.$strip>;
|
|
10232
|
+
};
|
|
9068
10233
|
}>, Record<never, never>>;
|
|
9069
10234
|
ensure: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9070
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
9071
10235
|
name: z.ZodString;
|
|
9072
10236
|
description: z.ZodOptional<z.ZodString>;
|
|
9073
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
10237
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
9074
10238
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9075
10239
|
repo: z.ZodObject<{
|
|
9076
|
-
orgId: z.ZodString;
|
|
9077
10240
|
name: z.ZodString;
|
|
9078
10241
|
ownerId: z.ZodString;
|
|
9079
10242
|
description: z.ZodNullable<z.ZodString>;
|
|
9080
10243
|
defaultBranch: z.ZodString;
|
|
9081
|
-
artifactName: z.ZodString;
|
|
9082
10244
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9083
10245
|
remote: z.ZodNullable<z.ZodString>;
|
|
9084
10246
|
readOnly: z.ZodBoolean;
|
|
@@ -9092,7 +10254,12 @@ declare const contract: {
|
|
|
9092
10254
|
readonly BAD_REQUEST: {
|
|
9093
10255
|
readonly status: 400;
|
|
9094
10256
|
readonly message: "Bad request";
|
|
9095
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10257
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10258
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10259
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
10260
|
+
message: z.ZodString;
|
|
10261
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
10262
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9096
10263
|
};
|
|
9097
10264
|
readonly UNAUTHENTICATED: {
|
|
9098
10265
|
readonly status: 401;
|
|
@@ -9241,17 +10408,29 @@ declare const contract: {
|
|
|
9241
10408
|
name: z.ZodString;
|
|
9242
10409
|
}, _$zod_v4_core0.$strip>;
|
|
9243
10410
|
};
|
|
10411
|
+
readonly ORG_LAST_OWNED: {
|
|
10412
|
+
readonly status: 409;
|
|
10413
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10414
|
+
readonly data: z.ZodObject<{
|
|
10415
|
+
slug: z.ZodString;
|
|
10416
|
+
}, _$zod_v4_core0.$strip>;
|
|
10417
|
+
};
|
|
10418
|
+
readonly ORG_HAS_REPOS: {
|
|
10419
|
+
readonly status: 409;
|
|
10420
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10421
|
+
readonly data: z.ZodObject<{
|
|
10422
|
+
slug: z.ZodString;
|
|
10423
|
+
repoCount: z.ZodNumber;
|
|
10424
|
+
}, _$zod_v4_core0.$strip>;
|
|
10425
|
+
};
|
|
9244
10426
|
}>, Record<never, never>>;
|
|
9245
10427
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9246
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
9247
10428
|
name: z.ZodString;
|
|
9248
10429
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9249
|
-
orgId: z.ZodString;
|
|
9250
10430
|
name: z.ZodString;
|
|
9251
10431
|
ownerId: z.ZodString;
|
|
9252
10432
|
description: z.ZodNullable<z.ZodString>;
|
|
9253
10433
|
defaultBranch: z.ZodString;
|
|
9254
|
-
artifactName: z.ZodString;
|
|
9255
10434
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9256
10435
|
remote: z.ZodNullable<z.ZodString>;
|
|
9257
10436
|
readOnly: z.ZodBoolean;
|
|
@@ -9263,7 +10442,12 @@ declare const contract: {
|
|
|
9263
10442
|
readonly BAD_REQUEST: {
|
|
9264
10443
|
readonly status: 400;
|
|
9265
10444
|
readonly message: "Bad request";
|
|
9266
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10445
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10446
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10447
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
10448
|
+
message: z.ZodString;
|
|
10449
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
10450
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9267
10451
|
};
|
|
9268
10452
|
readonly UNAUTHENTICATED: {
|
|
9269
10453
|
readonly status: 401;
|
|
@@ -9412,19 +10596,31 @@ declare const contract: {
|
|
|
9412
10596
|
name: z.ZodString;
|
|
9413
10597
|
}, _$zod_v4_core0.$strip>;
|
|
9414
10598
|
};
|
|
10599
|
+
readonly ORG_LAST_OWNED: {
|
|
10600
|
+
readonly status: 409;
|
|
10601
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10602
|
+
readonly data: z.ZodObject<{
|
|
10603
|
+
slug: z.ZodString;
|
|
10604
|
+
}, _$zod_v4_core0.$strip>;
|
|
10605
|
+
};
|
|
10606
|
+
readonly ORG_HAS_REPOS: {
|
|
10607
|
+
readonly status: 409;
|
|
10608
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10609
|
+
readonly data: z.ZodObject<{
|
|
10610
|
+
slug: z.ZodString;
|
|
10611
|
+
repoCount: z.ZodNumber;
|
|
10612
|
+
}, _$zod_v4_core0.$strip>;
|
|
10613
|
+
};
|
|
9415
10614
|
}>, Record<never, never>>;
|
|
9416
10615
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9417
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
9418
10616
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9419
10617
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
9420
10618
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9421
10619
|
items: z.ZodArray<z.ZodObject<{
|
|
9422
|
-
orgId: z.ZodString;
|
|
9423
10620
|
name: z.ZodString;
|
|
9424
10621
|
ownerId: z.ZodString;
|
|
9425
10622
|
description: z.ZodNullable<z.ZodString>;
|
|
9426
10623
|
defaultBranch: z.ZodString;
|
|
9427
|
-
artifactName: z.ZodString;
|
|
9428
10624
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9429
10625
|
remote: z.ZodNullable<z.ZodString>;
|
|
9430
10626
|
readOnly: z.ZodBoolean;
|
|
@@ -9438,7 +10634,12 @@ declare const contract: {
|
|
|
9438
10634
|
readonly BAD_REQUEST: {
|
|
9439
10635
|
readonly status: 400;
|
|
9440
10636
|
readonly message: "Bad request";
|
|
9441
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10637
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10638
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10639
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
10640
|
+
message: z.ZodString;
|
|
10641
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
10642
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9442
10643
|
};
|
|
9443
10644
|
readonly UNAUTHENTICATED: {
|
|
9444
10645
|
readonly status: 401;
|
|
@@ -9587,19 +10788,31 @@ declare const contract: {
|
|
|
9587
10788
|
name: z.ZodString;
|
|
9588
10789
|
}, _$zod_v4_core0.$strip>;
|
|
9589
10790
|
};
|
|
10791
|
+
readonly ORG_LAST_OWNED: {
|
|
10792
|
+
readonly status: 409;
|
|
10793
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10794
|
+
readonly data: z.ZodObject<{
|
|
10795
|
+
slug: z.ZodString;
|
|
10796
|
+
}, _$zod_v4_core0.$strip>;
|
|
10797
|
+
};
|
|
10798
|
+
readonly ORG_HAS_REPOS: {
|
|
10799
|
+
readonly status: 409;
|
|
10800
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10801
|
+
readonly data: z.ZodObject<{
|
|
10802
|
+
slug: z.ZodString;
|
|
10803
|
+
repoCount: z.ZodNumber;
|
|
10804
|
+
}, _$zod_v4_core0.$strip>;
|
|
10805
|
+
};
|
|
9590
10806
|
}>, Record<never, never>>;
|
|
9591
10807
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9592
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
9593
10808
|
name: z.ZodString;
|
|
9594
10809
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9595
|
-
defaultBranch: z.ZodOptional<z.ZodString
|
|
10810
|
+
defaultBranch: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
9596
10811
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9597
|
-
orgId: z.ZodString;
|
|
9598
10812
|
name: z.ZodString;
|
|
9599
10813
|
ownerId: z.ZodString;
|
|
9600
10814
|
description: z.ZodNullable<z.ZodString>;
|
|
9601
10815
|
defaultBranch: z.ZodString;
|
|
9602
|
-
artifactName: z.ZodString;
|
|
9603
10816
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9604
10817
|
remote: z.ZodNullable<z.ZodString>;
|
|
9605
10818
|
readOnly: z.ZodBoolean;
|
|
@@ -9611,7 +10824,12 @@ declare const contract: {
|
|
|
9611
10824
|
readonly BAD_REQUEST: {
|
|
9612
10825
|
readonly status: 400;
|
|
9613
10826
|
readonly message: "Bad request";
|
|
9614
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10827
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
10828
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10829
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
10830
|
+
message: z.ZodString;
|
|
10831
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
10832
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9615
10833
|
};
|
|
9616
10834
|
readonly UNAUTHENTICATED: {
|
|
9617
10835
|
readonly status: 401;
|
|
@@ -9760,9 +10978,23 @@ declare const contract: {
|
|
|
9760
10978
|
name: z.ZodString;
|
|
9761
10979
|
}, _$zod_v4_core0.$strip>;
|
|
9762
10980
|
};
|
|
10981
|
+
readonly ORG_LAST_OWNED: {
|
|
10982
|
+
readonly status: 409;
|
|
10983
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10984
|
+
readonly data: z.ZodObject<{
|
|
10985
|
+
slug: z.ZodString;
|
|
10986
|
+
}, _$zod_v4_core0.$strip>;
|
|
10987
|
+
};
|
|
10988
|
+
readonly ORG_HAS_REPOS: {
|
|
10989
|
+
readonly status: 409;
|
|
10990
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10991
|
+
readonly data: z.ZodObject<{
|
|
10992
|
+
slug: z.ZodString;
|
|
10993
|
+
repoCount: z.ZodNumber;
|
|
10994
|
+
}, _$zod_v4_core0.$strip>;
|
|
10995
|
+
};
|
|
9763
10996
|
}>, Record<never, never>>;
|
|
9764
10997
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9765
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
9766
10998
|
name: z.ZodString;
|
|
9767
10999
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9768
11000
|
deleted: z.ZodLiteral<true>;
|
|
@@ -9770,7 +11002,12 @@ declare const contract: {
|
|
|
9770
11002
|
readonly BAD_REQUEST: {
|
|
9771
11003
|
readonly status: 400;
|
|
9772
11004
|
readonly message: "Bad request";
|
|
9773
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11005
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11006
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11007
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
11008
|
+
message: z.ZodString;
|
|
11009
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
11010
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9774
11011
|
};
|
|
9775
11012
|
readonly UNAUTHENTICATED: {
|
|
9776
11013
|
readonly status: 401;
|
|
@@ -9919,18 +11156,39 @@ declare const contract: {
|
|
|
9919
11156
|
name: z.ZodString;
|
|
9920
11157
|
}, _$zod_v4_core0.$strip>;
|
|
9921
11158
|
};
|
|
11159
|
+
readonly ORG_LAST_OWNED: {
|
|
11160
|
+
readonly status: 409;
|
|
11161
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11162
|
+
readonly data: z.ZodObject<{
|
|
11163
|
+
slug: z.ZodString;
|
|
11164
|
+
}, _$zod_v4_core0.$strip>;
|
|
11165
|
+
};
|
|
11166
|
+
readonly ORG_HAS_REPOS: {
|
|
11167
|
+
readonly status: 409;
|
|
11168
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11169
|
+
readonly data: z.ZodObject<{
|
|
11170
|
+
slug: z.ZodString;
|
|
11171
|
+
repoCount: z.ZodNumber;
|
|
11172
|
+
}, _$zod_v4_core0.$strip>;
|
|
11173
|
+
};
|
|
9922
11174
|
}>, Record<never, never>>;
|
|
9923
11175
|
};
|
|
9924
11176
|
tokens: {
|
|
9925
11177
|
mint: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9926
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
9927
11178
|
name: z.ZodString;
|
|
9928
11179
|
scope: z.ZodEnum<{
|
|
9929
11180
|
read: "read";
|
|
9930
11181
|
write: "write";
|
|
9931
11182
|
}>;
|
|
9932
11183
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
9933
|
-
op: z.ZodOptional<z.
|
|
11184
|
+
op: z.ZodOptional<z.ZodEnum<{
|
|
11185
|
+
object: "object";
|
|
11186
|
+
refs: "refs";
|
|
11187
|
+
merge: "merge";
|
|
11188
|
+
seed: "seed";
|
|
11189
|
+
clone: "clone";
|
|
11190
|
+
agent: "agent";
|
|
11191
|
+
}>>;
|
|
9934
11192
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9935
11193
|
id: z.ZodString;
|
|
9936
11194
|
artifactId: z.ZodString;
|
|
@@ -9950,7 +11208,12 @@ declare const contract: {
|
|
|
9950
11208
|
readonly BAD_REQUEST: {
|
|
9951
11209
|
readonly status: 400;
|
|
9952
11210
|
readonly message: "Bad request";
|
|
9953
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11211
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11212
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11213
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
11214
|
+
message: z.ZodString;
|
|
11215
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
11216
|
+
}, _$zod_v4_core0.$strip>>;
|
|
9954
11217
|
};
|
|
9955
11218
|
readonly UNAUTHENTICATED: {
|
|
9956
11219
|
readonly status: 401;
|
|
@@ -10099,6 +11362,21 @@ declare const contract: {
|
|
|
10099
11362
|
name: z.ZodString;
|
|
10100
11363
|
}, _$zod_v4_core0.$strip>;
|
|
10101
11364
|
};
|
|
11365
|
+
readonly ORG_LAST_OWNED: {
|
|
11366
|
+
readonly status: 409;
|
|
11367
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11368
|
+
readonly data: z.ZodObject<{
|
|
11369
|
+
slug: z.ZodString;
|
|
11370
|
+
}, _$zod_v4_core0.$strip>;
|
|
11371
|
+
};
|
|
11372
|
+
readonly ORG_HAS_REPOS: {
|
|
11373
|
+
readonly status: 409;
|
|
11374
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11375
|
+
readonly data: z.ZodObject<{
|
|
11376
|
+
slug: z.ZodString;
|
|
11377
|
+
repoCount: z.ZodNumber;
|
|
11378
|
+
}, _$zod_v4_core0.$strip>;
|
|
11379
|
+
};
|
|
10102
11380
|
}>, Record<never, never>>;
|
|
10103
11381
|
mintForGitRemote: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10104
11382
|
protocol: z.ZodLiteral<"https">;
|
|
@@ -10125,7 +11403,12 @@ declare const contract: {
|
|
|
10125
11403
|
readonly BAD_REQUEST: {
|
|
10126
11404
|
readonly status: 400;
|
|
10127
11405
|
readonly message: "Bad request";
|
|
10128
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11406
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11407
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11408
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
11409
|
+
message: z.ZodString;
|
|
11410
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
11411
|
+
}, _$zod_v4_core0.$strip>>;
|
|
10129
11412
|
};
|
|
10130
11413
|
readonly UNAUTHENTICATED: {
|
|
10131
11414
|
readonly status: 401;
|
|
@@ -10274,9 +11557,23 @@ declare const contract: {
|
|
|
10274
11557
|
name: z.ZodString;
|
|
10275
11558
|
}, _$zod_v4_core0.$strip>;
|
|
10276
11559
|
};
|
|
11560
|
+
readonly ORG_LAST_OWNED: {
|
|
11561
|
+
readonly status: 409;
|
|
11562
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11563
|
+
readonly data: z.ZodObject<{
|
|
11564
|
+
slug: z.ZodString;
|
|
11565
|
+
}, _$zod_v4_core0.$strip>;
|
|
11566
|
+
};
|
|
11567
|
+
readonly ORG_HAS_REPOS: {
|
|
11568
|
+
readonly status: 409;
|
|
11569
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11570
|
+
readonly data: z.ZodObject<{
|
|
11571
|
+
slug: z.ZodString;
|
|
11572
|
+
repoCount: z.ZodNumber;
|
|
11573
|
+
}, _$zod_v4_core0.$strip>;
|
|
11574
|
+
};
|
|
10277
11575
|
}>, Record<never, never>>;
|
|
10278
11576
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10279
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
10280
11577
|
name: z.ZodString;
|
|
10281
11578
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
10282
11579
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -10298,7 +11595,12 @@ declare const contract: {
|
|
|
10298
11595
|
readonly BAD_REQUEST: {
|
|
10299
11596
|
readonly status: 400;
|
|
10300
11597
|
readonly message: "Bad request";
|
|
10301
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11598
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11599
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11600
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
11601
|
+
message: z.ZodString;
|
|
11602
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
11603
|
+
}, _$zod_v4_core0.$strip>>;
|
|
10302
11604
|
};
|
|
10303
11605
|
readonly UNAUTHENTICATED: {
|
|
10304
11606
|
readonly status: 401;
|
|
@@ -10447,9 +11749,23 @@ declare const contract: {
|
|
|
10447
11749
|
name: z.ZodString;
|
|
10448
11750
|
}, _$zod_v4_core0.$strip>;
|
|
10449
11751
|
};
|
|
11752
|
+
readonly ORG_LAST_OWNED: {
|
|
11753
|
+
readonly status: 409;
|
|
11754
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11755
|
+
readonly data: z.ZodObject<{
|
|
11756
|
+
slug: z.ZodString;
|
|
11757
|
+
}, _$zod_v4_core0.$strip>;
|
|
11758
|
+
};
|
|
11759
|
+
readonly ORG_HAS_REPOS: {
|
|
11760
|
+
readonly status: 409;
|
|
11761
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11762
|
+
readonly data: z.ZodObject<{
|
|
11763
|
+
slug: z.ZodString;
|
|
11764
|
+
repoCount: z.ZodNumber;
|
|
11765
|
+
}, _$zod_v4_core0.$strip>;
|
|
11766
|
+
};
|
|
10450
11767
|
}>, Record<never, never>>;
|
|
10451
11768
|
revoke: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10452
|
-
orgSlug: z.ZodOptional<z.ZodString>;
|
|
10453
11769
|
name: z.ZodString;
|
|
10454
11770
|
id: z.ZodString;
|
|
10455
11771
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -10458,7 +11774,12 @@ declare const contract: {
|
|
|
10458
11774
|
readonly BAD_REQUEST: {
|
|
10459
11775
|
readonly status: 400;
|
|
10460
11776
|
readonly message: "Bad request";
|
|
10461
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11777
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11778
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11779
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
11780
|
+
message: z.ZodString;
|
|
11781
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
11782
|
+
}, _$zod_v4_core0.$strip>>;
|
|
10462
11783
|
};
|
|
10463
11784
|
readonly UNAUTHENTICATED: {
|
|
10464
11785
|
readonly status: 401;
|
|
@@ -10607,6 +11928,21 @@ declare const contract: {
|
|
|
10607
11928
|
name: z.ZodString;
|
|
10608
11929
|
}, _$zod_v4_core0.$strip>;
|
|
10609
11930
|
};
|
|
11931
|
+
readonly ORG_LAST_OWNED: {
|
|
11932
|
+
readonly status: 409;
|
|
11933
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11934
|
+
readonly data: z.ZodObject<{
|
|
11935
|
+
slug: z.ZodString;
|
|
11936
|
+
}, _$zod_v4_core0.$strip>;
|
|
11937
|
+
};
|
|
11938
|
+
readonly ORG_HAS_REPOS: {
|
|
11939
|
+
readonly status: 409;
|
|
11940
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11941
|
+
readonly data: z.ZodObject<{
|
|
11942
|
+
slug: z.ZodString;
|
|
11943
|
+
repoCount: z.ZodNumber;
|
|
11944
|
+
}, _$zod_v4_core0.$strip>;
|
|
11945
|
+
};
|
|
10610
11946
|
}>, Record<never, never>>;
|
|
10611
11947
|
validate: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10612
11948
|
token: z.ZodString;
|
|
@@ -10626,7 +11962,12 @@ declare const contract: {
|
|
|
10626
11962
|
readonly BAD_REQUEST: {
|
|
10627
11963
|
readonly status: 400;
|
|
10628
11964
|
readonly message: "Bad request";
|
|
10629
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11965
|
+
readonly data: z.ZodOptional<z.ZodObject<{
|
|
11966
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11967
|
+
path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
11968
|
+
message: z.ZodString;
|
|
11969
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
11970
|
+
}, _$zod_v4_core0.$strip>>;
|
|
10630
11971
|
};
|
|
10631
11972
|
readonly UNAUTHENTICATED: {
|
|
10632
11973
|
readonly status: 401;
|
|
@@ -10775,9 +12116,24 @@ declare const contract: {
|
|
|
10775
12116
|
name: z.ZodString;
|
|
10776
12117
|
}, _$zod_v4_core0.$strip>;
|
|
10777
12118
|
};
|
|
12119
|
+
readonly ORG_LAST_OWNED: {
|
|
12120
|
+
readonly status: 409;
|
|
12121
|
+
readonly message: "Cannot delete your last owned organization";
|
|
12122
|
+
readonly data: z.ZodObject<{
|
|
12123
|
+
slug: z.ZodString;
|
|
12124
|
+
}, _$zod_v4_core0.$strip>;
|
|
12125
|
+
};
|
|
12126
|
+
readonly ORG_HAS_REPOS: {
|
|
12127
|
+
readonly status: 409;
|
|
12128
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
12129
|
+
readonly data: z.ZodObject<{
|
|
12130
|
+
slug: z.ZodString;
|
|
12131
|
+
repoCount: z.ZodNumber;
|
|
12132
|
+
}, _$zod_v4_core0.$strip>;
|
|
12133
|
+
};
|
|
10778
12134
|
}>, Record<never, never>>;
|
|
10779
12135
|
};
|
|
10780
12136
|
};
|
|
10781
12137
|
type Contract = typeof contract;
|
|
10782
12138
|
//#endregion
|
|
10783
|
-
export { ANON_ID_STORE_VERSION, type AnonIdRecord, type AnonRepoCreateInput, type AnonRepoCreateOutput, type AnonRepoListInput, type AnonRepoListOutput, type AnonRepoView, type AnonTokenMintForGitRemoteInput, type ApiKeyCreateInput, type ApiKeyCreateOutput, type ApiKeyDeleteInput, type ApiKeyDeleteOutput, type ApiKeyListOutput, type ApiKeyView, type CommonErrorMap, type CompareView, Contract, type DiffFile, type DiffView, type GitBlob, type GitCommit, type GitRef, type GitTreeEntry, type InvitationView, type MeView, type MemberRole, type MemberView, type OrgCreateInput, type OrgListOutput, type OrgView, type RepoCreateInput, type RepoCreateOutput, type RepoDeleteOutput, type RepoEnsureInput, type RepoEnsureOutput, type RepoImportInput, type RepoListInput, type RepoListOutput, type RepoUpdateInput, type RepoView, type Scope, type Signature, type TokenListInput, type TokenListOutput, type TokenMintForGitRemoteInput, type TokenMintInput, type TokenMintOutput, type TokenRevokeInput, type TokenRevokeOutput, type TokenValidateInput, type TokenValidateOutput, type TokenView, anonRepoSchema, apiKeyViewSchema, commonErrors, compareViewSchema, contract, diffFileSchema, diffViewSchema, gitBlobSchema, gitCommitSchema, gitRefSchema, gitTreeEntrySchema, invitationViewSchema, meViewSchema, memberRoleSchema, memberViewSchema, mutableMemberRoleSchema, orgSlugHint, orgSlugSchema, orgViewSchema, parseAnonIdFile, parseRepoName, repoNameHint, repoNameSchema, repoSchema, scopeSchema, serializeAnonIdRecord, tokenScopeSchema, tokenViewSchema };
|
|
12139
|
+
export { ANON_ID_STORE_VERSION, type AnonIdRecord, type AnonRepoCreateInput, type AnonRepoCreateOutput, type AnonRepoListInput, type AnonRepoListOutput, type AnonRepoView, type AnonTokenMintForGitRemoteInput, type ApiKeyCreateInput, type ApiKeyCreateOutput, type ApiKeyDeleteInput, type ApiKeyDeleteOutput, type ApiKeyListOutput, type ApiKeyView, CLONE_TOKEN_SCOPE, type CommonErrorMap, type CompareView, Contract, type DiffFile, type DiffView, type GitBlob, type GitCommit, type GitRef, type GitTreeEntry, type InvitationListItem, type InvitationView, type MeView, type MemberRole, type MemberView, type OrgCreateInput, type OrgListOutput, type OrgView, type RepoCreateInput, type RepoCreateOutput, type RepoDeleteOutput, type RepoEnsureInput, type RepoEnsureOutput, type RepoImportInput, type RepoListInput, type RepoListOutput, type RepoUpdateInput, type RepoView, type Scope, type Signature, TOKEN_OPS, type TokenListInput, type TokenListOutput, type TokenMintForGitRemoteInput, type TokenMintInput, type TokenMintOutput, type TokenOp, type TokenRevokeInput, type TokenRevokeOutput, type TokenValidateInput, type TokenValidateOutput, type TokenView, anonRepoSchema, apiKeyViewSchema, apiVersion, commonErrors, compareViewSchema, contract, cursorSchema, defaultBranchHint, defaultBranchSchema, diffFileSchema, diffViewSchema, gitBlobSchema, gitCommitSchema, gitRefSchema, gitTreeEntrySchema, invitationListItemSchema, invitationViewSchema, meViewSchema, memberRoleSchema, memberViewSchema, mutableMemberRoleSchema, normalizeDefaultBranch, orgSlugHint, orgSlugSchema, orgViewSchema, parseAnonIdFile, parseRepoName, repoNameHint, repoNameSchema, repoSchema, scopeSchema, serializeAnonIdRecord, tokenOpSchema, tokenScopeSchema, tokenViewSchema };
|