@repome/api 0.1.9 → 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 +1312 -148
- package/dist/index.mjs +111 -69
- 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;
|
|
@@ -587,10 +601,8 @@ type InvitationListItem = z.output<typeof invitationListItemSchema>;
|
|
|
587
601
|
//#region src/orgs.d.ts
|
|
588
602
|
declare const orgSlugHint = "Lowercase, alphanumeric, - only.";
|
|
589
603
|
declare const orgSlugSchema: z.ZodString;
|
|
590
|
-
declare const PERSONAL_ORG_SLUG = "~";
|
|
591
604
|
declare const orgCreateInputSchema: z.ZodObject<{
|
|
592
|
-
|
|
593
|
-
name: z.ZodString;
|
|
605
|
+
name: z.ZodOptional<z.ZodString>;
|
|
594
606
|
}, z.core.$strip>;
|
|
595
607
|
declare const orgViewSchema: z.ZodObject<{
|
|
596
608
|
id: z.ZodString;
|
|
@@ -615,47 +627,50 @@ type OrgView = z.output<typeof orgViewSchema>;
|
|
|
615
627
|
type OrgListOutput = z.output<typeof orgListOutputSchema>;
|
|
616
628
|
//#endregion
|
|
617
629
|
//#region src/repos.d.ts
|
|
618
|
-
declare const repoNameHint = "Lowercase, alphanumeric, ._- only.";
|
|
630
|
+
declare const repoNameHint = "Lowercase, alphanumeric, ._- only; \"..\" is not allowed.";
|
|
619
631
|
declare const CLONE_TOKEN_SCOPE: "read";
|
|
620
632
|
declare const repoNameSchema: z.ZodString;
|
|
621
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>;
|
|
622
644
|
declare const repoCreateInputSchema: z.ZodObject<{
|
|
623
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
624
645
|
name: z.ZodString;
|
|
625
646
|
description: z.ZodOptional<z.ZodString>;
|
|
626
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
647
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
627
648
|
}, z.core.$strip>;
|
|
628
649
|
declare const repoEnsureInputSchema: z.ZodObject<{
|
|
629
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
630
650
|
name: z.ZodString;
|
|
631
651
|
description: z.ZodOptional<z.ZodString>;
|
|
632
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
652
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
633
653
|
}, z.core.$strip>;
|
|
634
654
|
declare const repoImportInputSchema: z.ZodObject<{
|
|
635
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
636
655
|
name: z.ZodString;
|
|
637
656
|
description: z.ZodOptional<z.ZodString>;
|
|
638
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
657
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
639
658
|
remote: z.ZodURL;
|
|
640
659
|
}, z.core.$strip>;
|
|
641
660
|
declare const repoUpdateInputSchema: z.ZodObject<{
|
|
642
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
643
661
|
name: z.ZodString;
|
|
644
662
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
645
|
-
defaultBranch: z.ZodOptional<z.ZodString
|
|
663
|
+
defaultBranch: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
646
664
|
}, z.core.$strip>;
|
|
647
665
|
declare const repoListInputSchema: z.ZodObject<{
|
|
648
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
649
666
|
cursor: z.ZodOptional<z.ZodString>;
|
|
650
667
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
651
668
|
}, z.core.$strip>;
|
|
652
669
|
declare const repoSchema: z.ZodObject<{
|
|
653
|
-
orgId: z.ZodString;
|
|
654
670
|
name: z.ZodString;
|
|
655
671
|
ownerId: z.ZodString;
|
|
656
672
|
description: z.ZodNullable<z.ZodString>;
|
|
657
673
|
defaultBranch: z.ZodString;
|
|
658
|
-
artifactName: z.ZodString;
|
|
659
674
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
660
675
|
remote: z.ZodNullable<z.ZodString>;
|
|
661
676
|
readOnly: z.ZodBoolean;
|
|
@@ -665,12 +680,10 @@ declare const repoSchema: z.ZodObject<{
|
|
|
665
680
|
updatedAt: z.ZodNumber;
|
|
666
681
|
}, z.core.$strip>;
|
|
667
682
|
declare const repoCreateOutputSchema: z.ZodObject<{
|
|
668
|
-
orgId: z.ZodString;
|
|
669
683
|
name: z.ZodString;
|
|
670
684
|
ownerId: z.ZodString;
|
|
671
685
|
description: z.ZodNullable<z.ZodString>;
|
|
672
686
|
defaultBranch: z.ZodString;
|
|
673
|
-
artifactName: z.ZodString;
|
|
674
687
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
675
688
|
remote: z.ZodNullable<z.ZodString>;
|
|
676
689
|
readOnly: z.ZodBoolean;
|
|
@@ -684,12 +697,10 @@ declare const repoCreateOutputSchema: z.ZodObject<{
|
|
|
684
697
|
}, z.core.$strip>;
|
|
685
698
|
declare const repoListOutputSchema: z.ZodObject<{
|
|
686
699
|
items: z.ZodArray<z.ZodObject<{
|
|
687
|
-
orgId: z.ZodString;
|
|
688
700
|
name: z.ZodString;
|
|
689
701
|
ownerId: z.ZodString;
|
|
690
702
|
description: z.ZodNullable<z.ZodString>;
|
|
691
703
|
defaultBranch: z.ZodString;
|
|
692
|
-
artifactName: z.ZodString;
|
|
693
704
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
694
705
|
remote: z.ZodNullable<z.ZodString>;
|
|
695
706
|
readOnly: z.ZodBoolean;
|
|
@@ -705,12 +716,10 @@ declare const repoDeleteOutputSchema: z.ZodObject<{
|
|
|
705
716
|
}, z.core.$strip>;
|
|
706
717
|
declare const repoEnsureOutputSchema: z.ZodObject<{
|
|
707
718
|
repo: z.ZodObject<{
|
|
708
|
-
orgId: z.ZodString;
|
|
709
719
|
name: z.ZodString;
|
|
710
720
|
ownerId: z.ZodString;
|
|
711
721
|
description: z.ZodNullable<z.ZodString>;
|
|
712
722
|
defaultBranch: z.ZodString;
|
|
713
|
-
artifactName: z.ZodString;
|
|
714
723
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
715
724
|
remote: z.ZodNullable<z.ZodString>;
|
|
716
725
|
readOnly: z.ZodBoolean;
|
|
@@ -737,18 +746,32 @@ declare const tokenScopeSchema: z.ZodEnum<{
|
|
|
737
746
|
read: "read";
|
|
738
747
|
write: "write";
|
|
739
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
|
+
}>;
|
|
740
758
|
declare const tokenMintInputSchema: z.ZodObject<{
|
|
741
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
742
759
|
name: z.ZodString;
|
|
743
760
|
scope: z.ZodEnum<{
|
|
744
761
|
read: "read";
|
|
745
762
|
write: "write";
|
|
746
763
|
}>;
|
|
747
764
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
748
|
-
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
|
+
}>>;
|
|
749
773
|
}, z.core.$strip>;
|
|
750
774
|
declare const tokenIdentInputSchema: z.ZodObject<{
|
|
751
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
752
775
|
name: z.ZodString;
|
|
753
776
|
id: z.ZodString;
|
|
754
777
|
}, z.core.$strip>;
|
|
@@ -794,7 +817,6 @@ declare const tokenMintOutputSchema: z.ZodObject<{
|
|
|
794
817
|
token: z.ZodString;
|
|
795
818
|
}, z.core.$strip>;
|
|
796
819
|
declare const tokenListInputSchema: z.ZodObject<{
|
|
797
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
798
820
|
name: z.ZodString;
|
|
799
821
|
}, z.core.$strip>;
|
|
800
822
|
declare const tokenListOutputSchema: z.ZodObject<{
|
|
@@ -830,6 +852,7 @@ declare const tokenValidateOutputSchema: z.ZodObject<{
|
|
|
830
852
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
831
853
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
832
854
|
}, z.core.$strip>;
|
|
855
|
+
type TokenOp = z.output<typeof tokenOpSchema>;
|
|
833
856
|
type TokenMintInput = z.output<typeof tokenMintInputSchema>;
|
|
834
857
|
type TokenMintForGitRemoteInput = z.output<typeof tokenMintForGitRemoteInputSchema>;
|
|
835
858
|
type TokenMintOutput = z.output<typeof tokenMintOutputSchema>;
|
|
@@ -842,21 +865,21 @@ type TokenValidateOutput = z.output<typeof tokenValidateOutputSchema>;
|
|
|
842
865
|
type TokenView = z.output<typeof tokenViewSchema>;
|
|
843
866
|
//#endregion
|
|
844
867
|
//#region src/index.d.ts
|
|
868
|
+
/** Contract package version; propagated into OpenAPI `info.version` (ISSUE-0057 V10-D2). */
|
|
869
|
+
declare const apiVersion: string;
|
|
845
870
|
declare const contract: {
|
|
846
871
|
anon: {
|
|
847
872
|
repos: {
|
|
848
873
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
849
874
|
name: z.ZodOptional<z.ZodString>;
|
|
850
875
|
description: z.ZodOptional<z.ZodString>;
|
|
851
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
876
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
852
877
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
853
878
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
854
|
-
orgId: z.ZodString;
|
|
855
879
|
name: z.ZodString;
|
|
856
880
|
ownerId: z.ZodString;
|
|
857
881
|
description: z.ZodNullable<z.ZodString>;
|
|
858
882
|
defaultBranch: z.ZodString;
|
|
859
|
-
artifactName: z.ZodString;
|
|
860
883
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
861
884
|
remote: z.ZodNullable<z.ZodString>;
|
|
862
885
|
readOnly: z.ZodBoolean;
|
|
@@ -871,7 +894,12 @@ declare const contract: {
|
|
|
871
894
|
readonly BAD_REQUEST: {
|
|
872
895
|
readonly status: 400;
|
|
873
896
|
readonly message: "Bad request";
|
|
874
|
-
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>>;
|
|
875
903
|
};
|
|
876
904
|
readonly UNAUTHENTICATED: {
|
|
877
905
|
readonly status: 401;
|
|
@@ -1020,16 +1048,29 @@ declare const contract: {
|
|
|
1020
1048
|
name: z.ZodString;
|
|
1021
1049
|
}, _$zod_v4_core0.$strip>;
|
|
1022
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
|
+
};
|
|
1023
1066
|
}>, Record<never, never>>;
|
|
1024
1067
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1025
1068
|
name: z.ZodString;
|
|
1026
1069
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
1027
|
-
orgId: z.ZodString;
|
|
1028
1070
|
name: z.ZodString;
|
|
1029
1071
|
ownerId: z.ZodString;
|
|
1030
1072
|
description: z.ZodNullable<z.ZodString>;
|
|
1031
1073
|
defaultBranch: z.ZodString;
|
|
1032
|
-
artifactName: z.ZodString;
|
|
1033
1074
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
1034
1075
|
remote: z.ZodNullable<z.ZodString>;
|
|
1035
1076
|
readOnly: z.ZodBoolean;
|
|
@@ -1043,7 +1084,12 @@ declare const contract: {
|
|
|
1043
1084
|
readonly BAD_REQUEST: {
|
|
1044
1085
|
readonly status: 400;
|
|
1045
1086
|
readonly message: "Bad request";
|
|
1046
|
-
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>>;
|
|
1047
1093
|
};
|
|
1048
1094
|
readonly UNAUTHENTICATED: {
|
|
1049
1095
|
readonly status: 401;
|
|
@@ -1192,18 +1238,31 @@ declare const contract: {
|
|
|
1192
1238
|
name: z.ZodString;
|
|
1193
1239
|
}, _$zod_v4_core0.$strip>;
|
|
1194
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
|
+
};
|
|
1195
1256
|
}>, Record<never, never>>;
|
|
1196
1257
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1197
1258
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1198
1259
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1199
1260
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
1200
1261
|
items: z.ZodArray<z.ZodObject<{
|
|
1201
|
-
orgId: z.ZodString;
|
|
1202
1262
|
name: z.ZodString;
|
|
1203
1263
|
ownerId: z.ZodString;
|
|
1204
1264
|
description: z.ZodNullable<z.ZodString>;
|
|
1205
1265
|
defaultBranch: z.ZodString;
|
|
1206
|
-
artifactName: z.ZodString;
|
|
1207
1266
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
1208
1267
|
remote: z.ZodNullable<z.ZodString>;
|
|
1209
1268
|
readOnly: z.ZodBoolean;
|
|
@@ -1219,7 +1278,12 @@ declare const contract: {
|
|
|
1219
1278
|
readonly BAD_REQUEST: {
|
|
1220
1279
|
readonly status: 400;
|
|
1221
1280
|
readonly message: "Bad request";
|
|
1222
|
-
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>>;
|
|
1223
1287
|
};
|
|
1224
1288
|
readonly UNAUTHENTICATED: {
|
|
1225
1289
|
readonly status: 401;
|
|
@@ -1368,6 +1432,21 @@ declare const contract: {
|
|
|
1368
1432
|
name: z.ZodString;
|
|
1369
1433
|
}, _$zod_v4_core0.$strip>;
|
|
1370
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
|
+
};
|
|
1371
1450
|
}>, Record<never, never>>;
|
|
1372
1451
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1373
1452
|
name: z.ZodString;
|
|
@@ -1377,7 +1456,12 @@ declare const contract: {
|
|
|
1377
1456
|
readonly BAD_REQUEST: {
|
|
1378
1457
|
readonly status: 400;
|
|
1379
1458
|
readonly message: "Bad request";
|
|
1380
|
-
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>>;
|
|
1381
1465
|
};
|
|
1382
1466
|
readonly UNAUTHENTICATED: {
|
|
1383
1467
|
readonly status: 401;
|
|
@@ -1526,6 +1610,21 @@ declare const contract: {
|
|
|
1526
1610
|
name: z.ZodString;
|
|
1527
1611
|
}, _$zod_v4_core0.$strip>;
|
|
1528
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
|
+
};
|
|
1529
1628
|
}>, Record<never, never>>;
|
|
1530
1629
|
};
|
|
1531
1630
|
tokens: {
|
|
@@ -1554,7 +1653,12 @@ declare const contract: {
|
|
|
1554
1653
|
readonly BAD_REQUEST: {
|
|
1555
1654
|
readonly status: 400;
|
|
1556
1655
|
readonly message: "Bad request";
|
|
1557
|
-
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>>;
|
|
1558
1662
|
};
|
|
1559
1663
|
readonly UNAUTHENTICATED: {
|
|
1560
1664
|
readonly status: 401;
|
|
@@ -1703,6 +1807,21 @@ declare const contract: {
|
|
|
1703
1807
|
name: z.ZodString;
|
|
1704
1808
|
}, _$zod_v4_core0.$strip>;
|
|
1705
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
|
+
};
|
|
1706
1825
|
}>, Record<never, never>>;
|
|
1707
1826
|
};
|
|
1708
1827
|
git: {
|
|
@@ -1727,7 +1846,12 @@ declare const contract: {
|
|
|
1727
1846
|
readonly BAD_REQUEST: {
|
|
1728
1847
|
readonly status: 400;
|
|
1729
1848
|
readonly message: "Bad request";
|
|
1730
|
-
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>>;
|
|
1731
1855
|
};
|
|
1732
1856
|
readonly UNAUTHENTICATED: {
|
|
1733
1857
|
readonly status: 401;
|
|
@@ -1876,6 +2000,21 @@ declare const contract: {
|
|
|
1876
2000
|
name: z.ZodString;
|
|
1877
2001
|
}, _$zod_v4_core0.$strip>;
|
|
1878
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
|
+
};
|
|
1879
2018
|
}>, Record<never, never>>;
|
|
1880
2019
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1881
2020
|
name: z.ZodString;
|
|
@@ -1892,7 +2031,12 @@ declare const contract: {
|
|
|
1892
2031
|
readonly BAD_REQUEST: {
|
|
1893
2032
|
readonly status: 400;
|
|
1894
2033
|
readonly message: "Bad request";
|
|
1895
|
-
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>>;
|
|
1896
2040
|
};
|
|
1897
2041
|
readonly UNAUTHENTICATED: {
|
|
1898
2042
|
readonly status: 401;
|
|
@@ -2041,6 +2185,21 @@ declare const contract: {
|
|
|
2041
2185
|
name: z.ZodString;
|
|
2042
2186
|
}, _$zod_v4_core0.$strip>;
|
|
2043
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
|
+
};
|
|
2044
2203
|
}>, Record<never, never>>;
|
|
2045
2204
|
};
|
|
2046
2205
|
commits: {
|
|
@@ -2063,7 +2222,12 @@ declare const contract: {
|
|
|
2063
2222
|
readonly BAD_REQUEST: {
|
|
2064
2223
|
readonly status: 400;
|
|
2065
2224
|
readonly message: "Bad request";
|
|
2066
|
-
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>>;
|
|
2067
2231
|
};
|
|
2068
2232
|
readonly UNAUTHENTICATED: {
|
|
2069
2233
|
readonly status: 401;
|
|
@@ -2212,6 +2376,21 @@ declare const contract: {
|
|
|
2212
2376
|
name: z.ZodString;
|
|
2213
2377
|
}, _$zod_v4_core0.$strip>;
|
|
2214
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
|
+
};
|
|
2215
2394
|
}>, Record<never, never>>;
|
|
2216
2395
|
};
|
|
2217
2396
|
tree: {
|
|
@@ -2238,7 +2417,12 @@ declare const contract: {
|
|
|
2238
2417
|
readonly BAD_REQUEST: {
|
|
2239
2418
|
readonly status: 400;
|
|
2240
2419
|
readonly message: "Bad request";
|
|
2241
|
-
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>>;
|
|
2242
2426
|
};
|
|
2243
2427
|
readonly UNAUTHENTICATED: {
|
|
2244
2428
|
readonly status: 401;
|
|
@@ -2387,6 +2571,21 @@ declare const contract: {
|
|
|
2387
2571
|
name: z.ZodString;
|
|
2388
2572
|
}, _$zod_v4_core0.$strip>;
|
|
2389
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
|
+
};
|
|
2390
2589
|
}>, Record<never, never>>;
|
|
2391
2590
|
};
|
|
2392
2591
|
blob: {
|
|
@@ -2406,7 +2605,12 @@ declare const contract: {
|
|
|
2406
2605
|
readonly BAD_REQUEST: {
|
|
2407
2606
|
readonly status: 400;
|
|
2408
2607
|
readonly message: "Bad request";
|
|
2409
|
-
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>>;
|
|
2410
2614
|
};
|
|
2411
2615
|
readonly UNAUTHENTICATED: {
|
|
2412
2616
|
readonly status: 401;
|
|
@@ -2555,6 +2759,21 @@ declare const contract: {
|
|
|
2555
2759
|
name: z.ZodString;
|
|
2556
2760
|
}, _$zod_v4_core0.$strip>;
|
|
2557
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
|
+
};
|
|
2558
2777
|
}>, Record<never, never>>;
|
|
2559
2778
|
};
|
|
2560
2779
|
workspace: {
|
|
@@ -2602,7 +2821,12 @@ declare const contract: {
|
|
|
2602
2821
|
readonly BAD_REQUEST: {
|
|
2603
2822
|
readonly status: 400;
|
|
2604
2823
|
readonly message: "Bad request";
|
|
2605
|
-
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>>;
|
|
2606
2830
|
};
|
|
2607
2831
|
readonly UNAUTHENTICATED: {
|
|
2608
2832
|
readonly status: 401;
|
|
@@ -2751,6 +2975,21 @@ declare const contract: {
|
|
|
2751
2975
|
name: z.ZodString;
|
|
2752
2976
|
}, _$zod_v4_core0.$strip>;
|
|
2753
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
|
+
};
|
|
2754
2993
|
}>, Record<never, never>>;
|
|
2755
2994
|
};
|
|
2756
2995
|
};
|
|
@@ -2763,7 +3002,12 @@ declare const contract: {
|
|
|
2763
3002
|
readonly BAD_REQUEST: {
|
|
2764
3003
|
readonly status: 400;
|
|
2765
3004
|
readonly message: "Bad request";
|
|
2766
|
-
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>>;
|
|
2767
3011
|
};
|
|
2768
3012
|
readonly UNAUTHENTICATED: {
|
|
2769
3013
|
readonly status: 401;
|
|
@@ -2912,12 +3156,26 @@ declare const contract: {
|
|
|
2912
3156
|
name: z.ZodString;
|
|
2913
3157
|
}, _$zod_v4_core0.$strip>;
|
|
2914
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
|
+
};
|
|
2915
3174
|
}>, Record<never, never>>;
|
|
2916
3175
|
};
|
|
2917
3176
|
git: {
|
|
2918
3177
|
refs: {
|
|
2919
3178
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2920
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
2921
3179
|
name: z.ZodString;
|
|
2922
3180
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2923
3181
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2937,7 +3195,12 @@ declare const contract: {
|
|
|
2937
3195
|
readonly BAD_REQUEST: {
|
|
2938
3196
|
readonly status: 400;
|
|
2939
3197
|
readonly message: "Bad request";
|
|
2940
|
-
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>>;
|
|
2941
3204
|
};
|
|
2942
3205
|
readonly UNAUTHENTICATED: {
|
|
2943
3206
|
readonly status: 401;
|
|
@@ -3086,9 +3349,23 @@ declare const contract: {
|
|
|
3086
3349
|
name: z.ZodString;
|
|
3087
3350
|
}, _$zod_v4_core0.$strip>;
|
|
3088
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
|
+
};
|
|
3089
3367
|
}>, Record<never, never>>;
|
|
3090
3368
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3091
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
3092
3369
|
name: z.ZodString;
|
|
3093
3370
|
ref: z.ZodString;
|
|
3094
3371
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -3103,7 +3380,12 @@ declare const contract: {
|
|
|
3103
3380
|
readonly BAD_REQUEST: {
|
|
3104
3381
|
readonly status: 400;
|
|
3105
3382
|
readonly message: "Bad request";
|
|
3106
|
-
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>>;
|
|
3107
3389
|
};
|
|
3108
3390
|
readonly UNAUTHENTICATED: {
|
|
3109
3391
|
readonly status: 401;
|
|
@@ -3252,11 +3534,25 @@ declare const contract: {
|
|
|
3252
3534
|
name: z.ZodString;
|
|
3253
3535
|
}, _$zod_v4_core0.$strip>;
|
|
3254
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
|
+
};
|
|
3255
3552
|
}>, Record<never, never>>;
|
|
3256
3553
|
};
|
|
3257
3554
|
branches: {
|
|
3258
3555
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3259
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
3260
3556
|
name: z.ZodString;
|
|
3261
3557
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3262
3558
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3276,7 +3572,12 @@ declare const contract: {
|
|
|
3276
3572
|
readonly BAD_REQUEST: {
|
|
3277
3573
|
readonly status: 400;
|
|
3278
3574
|
readonly message: "Bad request";
|
|
3279
|
-
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>>;
|
|
3280
3581
|
};
|
|
3281
3582
|
readonly UNAUTHENTICATED: {
|
|
3282
3583
|
readonly status: 401;
|
|
@@ -3425,9 +3726,23 @@ declare const contract: {
|
|
|
3425
3726
|
name: z.ZodString;
|
|
3426
3727
|
}, _$zod_v4_core0.$strip>;
|
|
3427
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
|
+
};
|
|
3428
3744
|
}>, Record<never, never>>;
|
|
3429
3745
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3430
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
3431
3746
|
name: z.ZodString;
|
|
3432
3747
|
ref: z.ZodString;
|
|
3433
3748
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -3442,7 +3757,12 @@ declare const contract: {
|
|
|
3442
3757
|
readonly BAD_REQUEST: {
|
|
3443
3758
|
readonly status: 400;
|
|
3444
3759
|
readonly message: "Bad request";
|
|
3445
|
-
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>>;
|
|
3446
3766
|
};
|
|
3447
3767
|
readonly UNAUTHENTICATED: {
|
|
3448
3768
|
readonly status: 401;
|
|
@@ -3591,9 +3911,23 @@ declare const contract: {
|
|
|
3591
3911
|
name: z.ZodString;
|
|
3592
3912
|
}, _$zod_v4_core0.$strip>;
|
|
3593
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
|
+
};
|
|
3594
3929
|
}>, Record<never, never>>;
|
|
3595
3930
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3596
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
3597
3931
|
name: z.ZodString;
|
|
3598
3932
|
branch: z.ZodString;
|
|
3599
3933
|
fromRef: z.ZodString;
|
|
@@ -3609,7 +3943,12 @@ declare const contract: {
|
|
|
3609
3943
|
readonly BAD_REQUEST: {
|
|
3610
3944
|
readonly status: 400;
|
|
3611
3945
|
readonly message: "Bad request";
|
|
3612
|
-
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>>;
|
|
3613
3952
|
};
|
|
3614
3953
|
readonly UNAUTHENTICATED: {
|
|
3615
3954
|
readonly status: 401;
|
|
@@ -3758,9 +4097,23 @@ declare const contract: {
|
|
|
3758
4097
|
name: z.ZodString;
|
|
3759
4098
|
}, _$zod_v4_core0.$strip>;
|
|
3760
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
|
+
};
|
|
3761
4115
|
}>, Record<never, never>>;
|
|
3762
4116
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3763
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
3764
4117
|
name: z.ZodString;
|
|
3765
4118
|
ref: z.ZodString;
|
|
3766
4119
|
oid: z.ZodString;
|
|
@@ -3779,7 +4132,12 @@ declare const contract: {
|
|
|
3779
4132
|
readonly BAD_REQUEST: {
|
|
3780
4133
|
readonly status: 400;
|
|
3781
4134
|
readonly message: "Bad request";
|
|
3782
|
-
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>>;
|
|
3783
4141
|
};
|
|
3784
4142
|
readonly UNAUTHENTICATED: {
|
|
3785
4143
|
readonly status: 401;
|
|
@@ -3928,9 +4286,23 @@ declare const contract: {
|
|
|
3928
4286
|
name: z.ZodString;
|
|
3929
4287
|
}, _$zod_v4_core0.$strip>;
|
|
3930
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
|
+
};
|
|
3931
4304
|
}>, Record<never, never>>;
|
|
3932
4305
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3933
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
3934
4306
|
name: z.ZodString;
|
|
3935
4307
|
ref: z.ZodString;
|
|
3936
4308
|
expectedOid: z.ZodOptional<z.ZodString>;
|
|
@@ -3940,7 +4312,12 @@ declare const contract: {
|
|
|
3940
4312
|
readonly BAD_REQUEST: {
|
|
3941
4313
|
readonly status: 400;
|
|
3942
4314
|
readonly message: "Bad request";
|
|
3943
|
-
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>>;
|
|
3944
4321
|
};
|
|
3945
4322
|
readonly UNAUTHENTICATED: {
|
|
3946
4323
|
readonly status: 401;
|
|
@@ -4089,11 +4466,25 @@ declare const contract: {
|
|
|
4089
4466
|
name: z.ZodString;
|
|
4090
4467
|
}, _$zod_v4_core0.$strip>;
|
|
4091
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
|
+
};
|
|
4092
4484
|
}>, Record<never, never>>;
|
|
4093
4485
|
};
|
|
4094
4486
|
tags: {
|
|
4095
4487
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4096
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
4097
4488
|
name: z.ZodString;
|
|
4098
4489
|
cursor: z.ZodOptional<z.ZodString>;
|
|
4099
4490
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4113,7 +4504,12 @@ declare const contract: {
|
|
|
4113
4504
|
readonly BAD_REQUEST: {
|
|
4114
4505
|
readonly status: 400;
|
|
4115
4506
|
readonly message: "Bad request";
|
|
4116
|
-
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>>;
|
|
4117
4513
|
};
|
|
4118
4514
|
readonly UNAUTHENTICATED: {
|
|
4119
4515
|
readonly status: 401;
|
|
@@ -4262,9 +4658,23 @@ declare const contract: {
|
|
|
4262
4658
|
name: z.ZodString;
|
|
4263
4659
|
}, _$zod_v4_core0.$strip>;
|
|
4264
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
|
+
};
|
|
4265
4676
|
}>, Record<never, never>>;
|
|
4266
4677
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4267
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
4268
4678
|
name: z.ZodString;
|
|
4269
4679
|
ref: z.ZodString;
|
|
4270
4680
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -4279,7 +4689,12 @@ declare const contract: {
|
|
|
4279
4689
|
readonly BAD_REQUEST: {
|
|
4280
4690
|
readonly status: 400;
|
|
4281
4691
|
readonly message: "Bad request";
|
|
4282
|
-
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>>;
|
|
4283
4698
|
};
|
|
4284
4699
|
readonly UNAUTHENTICATED: {
|
|
4285
4700
|
readonly status: 401;
|
|
@@ -4428,9 +4843,23 @@ declare const contract: {
|
|
|
4428
4843
|
name: z.ZodString;
|
|
4429
4844
|
}, _$zod_v4_core0.$strip>;
|
|
4430
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
|
+
};
|
|
4431
4861
|
}>, Record<never, never>>;
|
|
4432
4862
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4433
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
4434
4863
|
name: z.ZodString;
|
|
4435
4864
|
tag: z.ZodString;
|
|
4436
4865
|
oid: z.ZodString;
|
|
@@ -4453,7 +4882,12 @@ declare const contract: {
|
|
|
4453
4882
|
readonly BAD_REQUEST: {
|
|
4454
4883
|
readonly status: 400;
|
|
4455
4884
|
readonly message: "Bad request";
|
|
4456
|
-
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>>;
|
|
4457
4891
|
};
|
|
4458
4892
|
readonly UNAUTHENTICATED: {
|
|
4459
4893
|
readonly status: 401;
|
|
@@ -4602,9 +5036,23 @@ declare const contract: {
|
|
|
4602
5036
|
name: z.ZodString;
|
|
4603
5037
|
}, _$zod_v4_core0.$strip>;
|
|
4604
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
|
+
};
|
|
4605
5054
|
}>, Record<never, never>>;
|
|
4606
5055
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4607
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
4608
5056
|
name: z.ZodString;
|
|
4609
5057
|
ref: z.ZodString;
|
|
4610
5058
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -4613,7 +5061,12 @@ declare const contract: {
|
|
|
4613
5061
|
readonly BAD_REQUEST: {
|
|
4614
5062
|
readonly status: 400;
|
|
4615
5063
|
readonly message: "Bad request";
|
|
4616
|
-
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>>;
|
|
4617
5070
|
};
|
|
4618
5071
|
readonly UNAUTHENTICATED: {
|
|
4619
5072
|
readonly status: 401;
|
|
@@ -4762,11 +5215,25 @@ declare const contract: {
|
|
|
4762
5215
|
name: z.ZodString;
|
|
4763
5216
|
}, _$zod_v4_core0.$strip>;
|
|
4764
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
|
+
};
|
|
4765
5233
|
}>, Record<never, never>>;
|
|
4766
5234
|
};
|
|
4767
5235
|
commits: {
|
|
4768
5236
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4769
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
4770
5237
|
name: z.ZodString;
|
|
4771
5238
|
cursor: z.ZodOptional<z.ZodString>;
|
|
4772
5239
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4785,7 +5252,12 @@ declare const contract: {
|
|
|
4785
5252
|
readonly BAD_REQUEST: {
|
|
4786
5253
|
readonly status: 400;
|
|
4787
5254
|
readonly message: "Bad request";
|
|
4788
|
-
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>>;
|
|
4789
5261
|
};
|
|
4790
5262
|
readonly UNAUTHENTICATED: {
|
|
4791
5263
|
readonly status: 401;
|
|
@@ -4934,9 +5406,23 @@ declare const contract: {
|
|
|
4934
5406
|
name: z.ZodString;
|
|
4935
5407
|
}, _$zod_v4_core0.$strip>;
|
|
4936
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
|
+
};
|
|
4937
5424
|
}>, Record<never, never>>;
|
|
4938
5425
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4939
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
4940
5426
|
name: z.ZodString;
|
|
4941
5427
|
oid: z.ZodString;
|
|
4942
5428
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -4949,7 +5435,12 @@ declare const contract: {
|
|
|
4949
5435
|
readonly BAD_REQUEST: {
|
|
4950
5436
|
readonly status: 400;
|
|
4951
5437
|
readonly message: "Bad request";
|
|
4952
|
-
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>>;
|
|
4953
5444
|
};
|
|
4954
5445
|
readonly UNAUTHENTICATED: {
|
|
4955
5446
|
readonly status: 401;
|
|
@@ -5098,9 +5589,23 @@ declare const contract: {
|
|
|
5098
5589
|
name: z.ZodString;
|
|
5099
5590
|
}, _$zod_v4_core0.$strip>;
|
|
5100
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
|
+
};
|
|
5101
5607
|
}>, Record<never, never>>;
|
|
5102
5608
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5103
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
5104
5609
|
name: z.ZodString;
|
|
5105
5610
|
ref: z.ZodString;
|
|
5106
5611
|
message: z.ZodString;
|
|
@@ -5140,7 +5645,12 @@ declare const contract: {
|
|
|
5140
5645
|
readonly BAD_REQUEST: {
|
|
5141
5646
|
readonly status: 400;
|
|
5142
5647
|
readonly message: "Bad request";
|
|
5143
|
-
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>>;
|
|
5144
5654
|
};
|
|
5145
5655
|
readonly UNAUTHENTICATED: {
|
|
5146
5656
|
readonly status: 401;
|
|
@@ -5289,11 +5799,25 @@ declare const contract: {
|
|
|
5289
5799
|
name: z.ZodString;
|
|
5290
5800
|
}, _$zod_v4_core0.$strip>;
|
|
5291
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
|
+
};
|
|
5292
5817
|
}>, Record<never, never>>;
|
|
5293
5818
|
};
|
|
5294
5819
|
tree: {
|
|
5295
5820
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5296
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
5297
5821
|
name: z.ZodString;
|
|
5298
5822
|
ref: z.ZodDefault<z.ZodString>;
|
|
5299
5823
|
path: z.ZodOptional<z.ZodString>;
|
|
@@ -5316,7 +5840,12 @@ declare const contract: {
|
|
|
5316
5840
|
readonly BAD_REQUEST: {
|
|
5317
5841
|
readonly status: 400;
|
|
5318
5842
|
readonly message: "Bad request";
|
|
5319
|
-
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>>;
|
|
5320
5849
|
};
|
|
5321
5850
|
readonly UNAUTHENTICATED: {
|
|
5322
5851
|
readonly status: 401;
|
|
@@ -5465,11 +5994,25 @@ declare const contract: {
|
|
|
5465
5994
|
name: z.ZodString;
|
|
5466
5995
|
}, _$zod_v4_core0.$strip>;
|
|
5467
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
|
+
};
|
|
5468
6012
|
}>, Record<never, never>>;
|
|
5469
6013
|
};
|
|
5470
6014
|
blob: {
|
|
5471
6015
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5472
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
5473
6016
|
name: z.ZodString;
|
|
5474
6017
|
oid: z.ZodString;
|
|
5475
6018
|
}, _$zod_v4_core0.$strip>, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -5485,7 +6028,12 @@ declare const contract: {
|
|
|
5485
6028
|
readonly BAD_REQUEST: {
|
|
5486
6029
|
readonly status: 400;
|
|
5487
6030
|
readonly message: "Bad request";
|
|
5488
|
-
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>>;
|
|
5489
6037
|
};
|
|
5490
6038
|
readonly UNAUTHENTICATED: {
|
|
5491
6039
|
readonly status: 401;
|
|
@@ -5634,11 +6182,25 @@ declare const contract: {
|
|
|
5634
6182
|
name: z.ZodString;
|
|
5635
6183
|
}, _$zod_v4_core0.$strip>;
|
|
5636
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
|
+
};
|
|
5637
6200
|
}>, Record<never, never>>;
|
|
5638
6201
|
};
|
|
5639
6202
|
workspace: {
|
|
5640
6203
|
commit: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5641
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
5642
6204
|
name: z.ZodString;
|
|
5643
6205
|
ref: z.ZodDefault<z.ZodString>;
|
|
5644
6206
|
message: z.ZodString;
|
|
@@ -5682,7 +6244,12 @@ declare const contract: {
|
|
|
5682
6244
|
readonly BAD_REQUEST: {
|
|
5683
6245
|
readonly status: 400;
|
|
5684
6246
|
readonly message: "Bad request";
|
|
5685
|
-
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>>;
|
|
5686
6253
|
};
|
|
5687
6254
|
readonly UNAUTHENTICATED: {
|
|
5688
6255
|
readonly status: 401;
|
|
@@ -5831,10 +6398,24 @@ declare const contract: {
|
|
|
5831
6398
|
name: z.ZodString;
|
|
5832
6399
|
}, _$zod_v4_core0.$strip>;
|
|
5833
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
|
+
};
|
|
5834
6416
|
}>, Record<never, never>>;
|
|
5835
6417
|
};
|
|
5836
6418
|
compare: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5837
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
5838
6419
|
name: z.ZodString;
|
|
5839
6420
|
base: z.ZodString;
|
|
5840
6421
|
head: z.ZodString;
|
|
@@ -5869,7 +6450,12 @@ declare const contract: {
|
|
|
5869
6450
|
readonly BAD_REQUEST: {
|
|
5870
6451
|
readonly status: 400;
|
|
5871
6452
|
readonly message: "Bad request";
|
|
5872
|
-
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>>;
|
|
5873
6459
|
};
|
|
5874
6460
|
readonly UNAUTHENTICATED: {
|
|
5875
6461
|
readonly status: 401;
|
|
@@ -6018,9 +6604,23 @@ declare const contract: {
|
|
|
6018
6604
|
name: z.ZodString;
|
|
6019
6605
|
}, _$zod_v4_core0.$strip>;
|
|
6020
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
|
+
};
|
|
6021
6622
|
}>, Record<never, never>>;
|
|
6022
6623
|
diff: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6023
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
6024
6624
|
name: z.ZodString;
|
|
6025
6625
|
base: z.ZodString;
|
|
6026
6626
|
head: z.ZodString;
|
|
@@ -6058,7 +6658,12 @@ declare const contract: {
|
|
|
6058
6658
|
readonly BAD_REQUEST: {
|
|
6059
6659
|
readonly status: 400;
|
|
6060
6660
|
readonly message: "Bad request";
|
|
6061
|
-
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>>;
|
|
6062
6667
|
};
|
|
6063
6668
|
readonly UNAUTHENTICATED: {
|
|
6064
6669
|
readonly status: 401;
|
|
@@ -6207,6 +6812,21 @@ declare const contract: {
|
|
|
6207
6812
|
name: z.ZodString;
|
|
6208
6813
|
}, _$zod_v4_core0.$strip>;
|
|
6209
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
|
+
};
|
|
6210
6830
|
}>, Record<never, never>>;
|
|
6211
6831
|
};
|
|
6212
6832
|
keys: {
|
|
@@ -6256,7 +6876,12 @@ declare const contract: {
|
|
|
6256
6876
|
readonly BAD_REQUEST: {
|
|
6257
6877
|
readonly status: 400;
|
|
6258
6878
|
readonly message: "Bad request";
|
|
6259
|
-
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>>;
|
|
6260
6885
|
};
|
|
6261
6886
|
readonly UNAUTHENTICATED: {
|
|
6262
6887
|
readonly status: 401;
|
|
@@ -6405,6 +7030,21 @@ declare const contract: {
|
|
|
6405
7030
|
name: z.ZodString;
|
|
6406
7031
|
}, _$zod_v4_core0.$strip>;
|
|
6407
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
|
+
};
|
|
6408
7048
|
}>, Record<never, never>>;
|
|
6409
7049
|
list: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
|
|
6410
7050
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -6434,7 +7074,12 @@ declare const contract: {
|
|
|
6434
7074
|
readonly BAD_REQUEST: {
|
|
6435
7075
|
readonly status: 400;
|
|
6436
7076
|
readonly message: "Bad request";
|
|
6437
|
-
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>>;
|
|
6438
7083
|
};
|
|
6439
7084
|
readonly UNAUTHENTICATED: {
|
|
6440
7085
|
readonly status: 401;
|
|
@@ -6583,6 +7228,21 @@ declare const contract: {
|
|
|
6583
7228
|
name: z.ZodString;
|
|
6584
7229
|
}, _$zod_v4_core0.$strip>;
|
|
6585
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
|
+
};
|
|
6586
7246
|
}>, Record<never, never>>;
|
|
6587
7247
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6588
7248
|
id: z.ZodString;
|
|
@@ -6592,7 +7252,12 @@ declare const contract: {
|
|
|
6592
7252
|
readonly BAD_REQUEST: {
|
|
6593
7253
|
readonly status: 400;
|
|
6594
7254
|
readonly message: "Bad request";
|
|
6595
|
-
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>>;
|
|
6596
7261
|
};
|
|
6597
7262
|
readonly UNAUTHENTICATED: {
|
|
6598
7263
|
readonly status: 401;
|
|
@@ -6741,6 +7406,21 @@ declare const contract: {
|
|
|
6741
7406
|
name: z.ZodString;
|
|
6742
7407
|
}, _$zod_v4_core0.$strip>;
|
|
6743
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
|
+
};
|
|
6744
7424
|
}>, Record<never, never>>;
|
|
6745
7425
|
};
|
|
6746
7426
|
me: {
|
|
@@ -6782,7 +7462,12 @@ declare const contract: {
|
|
|
6782
7462
|
readonly BAD_REQUEST: {
|
|
6783
7463
|
readonly status: 400;
|
|
6784
7464
|
readonly message: "Bad request";
|
|
6785
|
-
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>>;
|
|
6786
7471
|
};
|
|
6787
7472
|
readonly UNAUTHENTICATED: {
|
|
6788
7473
|
readonly status: 401;
|
|
@@ -6931,12 +7616,26 @@ declare const contract: {
|
|
|
6931
7616
|
name: z.ZodString;
|
|
6932
7617
|
}, _$zod_v4_core0.$strip>;
|
|
6933
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
|
+
};
|
|
6934
7634
|
}>, Record<never, never>>;
|
|
6935
7635
|
};
|
|
6936
7636
|
orgs: {
|
|
6937
7637
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6938
|
-
|
|
6939
|
-
name: z.ZodString;
|
|
7638
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6940
7639
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
6941
7640
|
id: z.ZodString;
|
|
6942
7641
|
slug: z.ZodString;
|
|
@@ -6948,7 +7647,12 @@ declare const contract: {
|
|
|
6948
7647
|
readonly BAD_REQUEST: {
|
|
6949
7648
|
readonly status: 400;
|
|
6950
7649
|
readonly message: "Bad request";
|
|
6951
|
-
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>>;
|
|
6952
7656
|
};
|
|
6953
7657
|
readonly UNAUTHENTICATED: {
|
|
6954
7658
|
readonly status: 401;
|
|
@@ -7097,6 +7801,21 @@ declare const contract: {
|
|
|
7097
7801
|
name: z.ZodString;
|
|
7098
7802
|
}, _$zod_v4_core0.$strip>;
|
|
7099
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
|
+
};
|
|
7100
7819
|
}>, Record<never, never>>;
|
|
7101
7820
|
list: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
|
|
7102
7821
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -7111,7 +7830,12 @@ declare const contract: {
|
|
|
7111
7830
|
readonly BAD_REQUEST: {
|
|
7112
7831
|
readonly status: 400;
|
|
7113
7832
|
readonly message: "Bad request";
|
|
7114
|
-
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>>;
|
|
7115
7839
|
};
|
|
7116
7840
|
readonly UNAUTHENTICATED: {
|
|
7117
7841
|
readonly status: 401;
|
|
@@ -7260,6 +7984,21 @@ declare const contract: {
|
|
|
7260
7984
|
name: z.ZodString;
|
|
7261
7985
|
}, _$zod_v4_core0.$strip>;
|
|
7262
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
|
+
};
|
|
7263
8002
|
}>, Record<never, never>>;
|
|
7264
8003
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7265
8004
|
idOrSlug: z.ZodString;
|
|
@@ -7274,7 +8013,12 @@ declare const contract: {
|
|
|
7274
8013
|
readonly BAD_REQUEST: {
|
|
7275
8014
|
readonly status: 400;
|
|
7276
8015
|
readonly message: "Bad request";
|
|
7277
|
-
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>>;
|
|
7278
8022
|
};
|
|
7279
8023
|
readonly UNAUTHENTICATED: {
|
|
7280
8024
|
readonly status: 401;
|
|
@@ -7423,6 +8167,21 @@ declare const contract: {
|
|
|
7423
8167
|
name: z.ZodString;
|
|
7424
8168
|
}, _$zod_v4_core0.$strip>;
|
|
7425
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
|
+
};
|
|
7426
8185
|
}>, Record<never, never>>;
|
|
7427
8186
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7428
8187
|
idOrSlug: z.ZodString;
|
|
@@ -7432,7 +8191,12 @@ declare const contract: {
|
|
|
7432
8191
|
readonly BAD_REQUEST: {
|
|
7433
8192
|
readonly status: 400;
|
|
7434
8193
|
readonly message: "Bad request";
|
|
7435
|
-
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>>;
|
|
7436
8200
|
};
|
|
7437
8201
|
readonly UNAUTHENTICATED: {
|
|
7438
8202
|
readonly status: 401;
|
|
@@ -7581,6 +8345,21 @@ declare const contract: {
|
|
|
7581
8345
|
name: z.ZodString;
|
|
7582
8346
|
}, _$zod_v4_core0.$strip>;
|
|
7583
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
|
+
};
|
|
7584
8363
|
}>, Record<never, never>>;
|
|
7585
8364
|
};
|
|
7586
8365
|
members: {
|
|
@@ -7604,7 +8383,12 @@ declare const contract: {
|
|
|
7604
8383
|
readonly BAD_REQUEST: {
|
|
7605
8384
|
readonly status: 400;
|
|
7606
8385
|
readonly message: "Bad request";
|
|
7607
|
-
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>>;
|
|
7608
8392
|
};
|
|
7609
8393
|
readonly UNAUTHENTICATED: {
|
|
7610
8394
|
readonly status: 401;
|
|
@@ -7753,6 +8537,21 @@ declare const contract: {
|
|
|
7753
8537
|
name: z.ZodString;
|
|
7754
8538
|
}, _$zod_v4_core0.$strip>;
|
|
7755
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
|
+
};
|
|
7756
8555
|
}>, Record<never, never>>;
|
|
7757
8556
|
listInvitations: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7758
8557
|
orgSlug: z.ZodString;
|
|
@@ -7774,7 +8573,12 @@ declare const contract: {
|
|
|
7774
8573
|
readonly BAD_REQUEST: {
|
|
7775
8574
|
readonly status: 400;
|
|
7776
8575
|
readonly message: "Bad request";
|
|
7777
|
-
readonly data: z.ZodOptional<z.ZodObject<{
|
|
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>>;
|
|
7778
8582
|
};
|
|
7779
8583
|
readonly UNAUTHENTICATED: {
|
|
7780
8584
|
readonly status: 401;
|
|
@@ -7923,6 +8727,21 @@ declare const contract: {
|
|
|
7923
8727
|
name: z.ZodString;
|
|
7924
8728
|
}, _$zod_v4_core0.$strip>;
|
|
7925
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
|
+
};
|
|
7926
8745
|
}>, Record<never, never>>;
|
|
7927
8746
|
invite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7928
8747
|
orgSlug: z.ZodString;
|
|
@@ -7946,7 +8765,12 @@ declare const contract: {
|
|
|
7946
8765
|
readonly BAD_REQUEST: {
|
|
7947
8766
|
readonly status: 400;
|
|
7948
8767
|
readonly message: "Bad request";
|
|
7949
|
-
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>>;
|
|
7950
8774
|
};
|
|
7951
8775
|
readonly UNAUTHENTICATED: {
|
|
7952
8776
|
readonly status: 401;
|
|
@@ -8095,6 +8919,21 @@ declare const contract: {
|
|
|
8095
8919
|
name: z.ZodString;
|
|
8096
8920
|
}, _$zod_v4_core0.$strip>;
|
|
8097
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
|
+
};
|
|
8098
8937
|
}>, Record<never, never>>;
|
|
8099
8938
|
remove: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8100
8939
|
orgSlug: z.ZodString;
|
|
@@ -8105,7 +8944,12 @@ declare const contract: {
|
|
|
8105
8944
|
readonly BAD_REQUEST: {
|
|
8106
8945
|
readonly status: 400;
|
|
8107
8946
|
readonly message: "Bad request";
|
|
8108
|
-
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>>;
|
|
8109
8953
|
};
|
|
8110
8954
|
readonly UNAUTHENTICATED: {
|
|
8111
8955
|
readonly status: 401;
|
|
@@ -8254,6 +9098,21 @@ declare const contract: {
|
|
|
8254
9098
|
name: z.ZodString;
|
|
8255
9099
|
}, _$zod_v4_core0.$strip>;
|
|
8256
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
|
+
};
|
|
8257
9116
|
}>, Record<never, never>>;
|
|
8258
9117
|
setRole: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8259
9118
|
orgSlug: z.ZodString;
|
|
@@ -8278,7 +9137,12 @@ declare const contract: {
|
|
|
8278
9137
|
readonly BAD_REQUEST: {
|
|
8279
9138
|
readonly status: 400;
|
|
8280
9139
|
readonly message: "Bad request";
|
|
8281
|
-
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>>;
|
|
8282
9146
|
};
|
|
8283
9147
|
readonly UNAUTHENTICATED: {
|
|
8284
9148
|
readonly status: 401;
|
|
@@ -8427,6 +9291,21 @@ declare const contract: {
|
|
|
8427
9291
|
name: z.ZodString;
|
|
8428
9292
|
}, _$zod_v4_core0.$strip>;
|
|
8429
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
|
+
};
|
|
8430
9309
|
}>, Record<never, never>>;
|
|
8431
9310
|
acceptInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8432
9311
|
invitationId: z.ZodString;
|
|
@@ -8436,7 +9315,12 @@ declare const contract: {
|
|
|
8436
9315
|
readonly BAD_REQUEST: {
|
|
8437
9316
|
readonly status: 400;
|
|
8438
9317
|
readonly message: "Bad request";
|
|
8439
|
-
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>>;
|
|
8440
9324
|
};
|
|
8441
9325
|
readonly UNAUTHENTICATED: {
|
|
8442
9326
|
readonly status: 401;
|
|
@@ -8585,6 +9469,21 @@ declare const contract: {
|
|
|
8585
9469
|
name: z.ZodString;
|
|
8586
9470
|
}, _$zod_v4_core0.$strip>;
|
|
8587
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
|
+
};
|
|
8588
9487
|
}>, Record<never, never>>;
|
|
8589
9488
|
cancelInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8590
9489
|
orgSlug: z.ZodString;
|
|
@@ -8595,7 +9494,12 @@ declare const contract: {
|
|
|
8595
9494
|
readonly BAD_REQUEST: {
|
|
8596
9495
|
readonly status: 400;
|
|
8597
9496
|
readonly message: "Bad request";
|
|
8598
|
-
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>>;
|
|
8599
9503
|
};
|
|
8600
9504
|
readonly UNAUTHENTICATED: {
|
|
8601
9505
|
readonly status: 401;
|
|
@@ -8744,6 +9648,21 @@ declare const contract: {
|
|
|
8744
9648
|
name: z.ZodString;
|
|
8745
9649
|
}, _$zod_v4_core0.$strip>;
|
|
8746
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
|
+
};
|
|
8747
9666
|
}>, Record<never, never>>;
|
|
8748
9667
|
setActive: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8749
9668
|
orgSlug: z.ZodString;
|
|
@@ -8753,7 +9672,12 @@ declare const contract: {
|
|
|
8753
9672
|
readonly BAD_REQUEST: {
|
|
8754
9673
|
readonly status: 400;
|
|
8755
9674
|
readonly message: "Bad request";
|
|
8756
|
-
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>>;
|
|
8757
9681
|
};
|
|
8758
9682
|
readonly UNAUTHENTICATED: {
|
|
8759
9683
|
readonly status: 401;
|
|
@@ -8902,21 +9826,33 @@ declare const contract: {
|
|
|
8902
9826
|
name: z.ZodString;
|
|
8903
9827
|
}, _$zod_v4_core0.$strip>;
|
|
8904
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
|
+
};
|
|
8905
9844
|
}>, Record<never, never>>;
|
|
8906
9845
|
};
|
|
8907
9846
|
repos: {
|
|
8908
9847
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8909
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
8910
9848
|
name: z.ZodString;
|
|
8911
9849
|
description: z.ZodOptional<z.ZodString>;
|
|
8912
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
9850
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
8913
9851
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
8914
|
-
orgId: z.ZodString;
|
|
8915
9852
|
name: z.ZodString;
|
|
8916
9853
|
ownerId: z.ZodString;
|
|
8917
9854
|
description: z.ZodNullable<z.ZodString>;
|
|
8918
9855
|
defaultBranch: z.ZodString;
|
|
8919
|
-
artifactName: z.ZodString;
|
|
8920
9856
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
8921
9857
|
remote: z.ZodNullable<z.ZodString>;
|
|
8922
9858
|
readOnly: z.ZodBoolean;
|
|
@@ -8931,7 +9867,12 @@ declare const contract: {
|
|
|
8931
9867
|
readonly BAD_REQUEST: {
|
|
8932
9868
|
readonly status: 400;
|
|
8933
9869
|
readonly message: "Bad request";
|
|
8934
|
-
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>>;
|
|
8935
9876
|
};
|
|
8936
9877
|
readonly UNAUTHENTICATED: {
|
|
8937
9878
|
readonly status: 401;
|
|
@@ -9080,20 +10021,32 @@ declare const contract: {
|
|
|
9080
10021
|
name: z.ZodString;
|
|
9081
10022
|
}, _$zod_v4_core0.$strip>;
|
|
9082
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
|
+
};
|
|
9083
10039
|
}>, Record<never, never>>;
|
|
9084
10040
|
importFromGitHub: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9085
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
9086
10041
|
name: z.ZodString;
|
|
9087
10042
|
description: z.ZodOptional<z.ZodString>;
|
|
9088
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
10043
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
9089
10044
|
remote: z.ZodURL;
|
|
9090
10045
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9091
|
-
orgId: z.ZodString;
|
|
9092
10046
|
name: z.ZodString;
|
|
9093
10047
|
ownerId: z.ZodString;
|
|
9094
10048
|
description: z.ZodNullable<z.ZodString>;
|
|
9095
10049
|
defaultBranch: z.ZodString;
|
|
9096
|
-
artifactName: z.ZodString;
|
|
9097
10050
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9098
10051
|
remote: z.ZodNullable<z.ZodString>;
|
|
9099
10052
|
readOnly: z.ZodBoolean;
|
|
@@ -9108,7 +10061,12 @@ declare const contract: {
|
|
|
9108
10061
|
readonly BAD_REQUEST: {
|
|
9109
10062
|
readonly status: 400;
|
|
9110
10063
|
readonly message: "Bad request";
|
|
9111
|
-
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>>;
|
|
9112
10070
|
};
|
|
9113
10071
|
readonly UNAUTHENTICATED: {
|
|
9114
10072
|
readonly status: 401;
|
|
@@ -9257,20 +10215,32 @@ declare const contract: {
|
|
|
9257
10215
|
name: z.ZodString;
|
|
9258
10216
|
}, _$zod_v4_core0.$strip>;
|
|
9259
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
|
+
};
|
|
9260
10233
|
}>, Record<never, never>>;
|
|
9261
10234
|
ensure: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9262
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
9263
10235
|
name: z.ZodString;
|
|
9264
10236
|
description: z.ZodOptional<z.ZodString>;
|
|
9265
|
-
defaultBranch: z.ZodDefault<z.ZodString
|
|
10237
|
+
defaultBranch: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
9266
10238
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9267
10239
|
repo: z.ZodObject<{
|
|
9268
|
-
orgId: z.ZodString;
|
|
9269
10240
|
name: z.ZodString;
|
|
9270
10241
|
ownerId: z.ZodString;
|
|
9271
10242
|
description: z.ZodNullable<z.ZodString>;
|
|
9272
10243
|
defaultBranch: z.ZodString;
|
|
9273
|
-
artifactName: z.ZodString;
|
|
9274
10244
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9275
10245
|
remote: z.ZodNullable<z.ZodString>;
|
|
9276
10246
|
readOnly: z.ZodBoolean;
|
|
@@ -9284,7 +10254,12 @@ declare const contract: {
|
|
|
9284
10254
|
readonly BAD_REQUEST: {
|
|
9285
10255
|
readonly status: 400;
|
|
9286
10256
|
readonly message: "Bad request";
|
|
9287
|
-
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>>;
|
|
9288
10263
|
};
|
|
9289
10264
|
readonly UNAUTHENTICATED: {
|
|
9290
10265
|
readonly status: 401;
|
|
@@ -9433,17 +10408,29 @@ declare const contract: {
|
|
|
9433
10408
|
name: z.ZodString;
|
|
9434
10409
|
}, _$zod_v4_core0.$strip>;
|
|
9435
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
|
+
};
|
|
9436
10426
|
}>, Record<never, never>>;
|
|
9437
10427
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9438
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
9439
10428
|
name: z.ZodString;
|
|
9440
10429
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9441
|
-
orgId: z.ZodString;
|
|
9442
10430
|
name: z.ZodString;
|
|
9443
10431
|
ownerId: z.ZodString;
|
|
9444
10432
|
description: z.ZodNullable<z.ZodString>;
|
|
9445
10433
|
defaultBranch: z.ZodString;
|
|
9446
|
-
artifactName: z.ZodString;
|
|
9447
10434
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9448
10435
|
remote: z.ZodNullable<z.ZodString>;
|
|
9449
10436
|
readOnly: z.ZodBoolean;
|
|
@@ -9455,7 +10442,12 @@ declare const contract: {
|
|
|
9455
10442
|
readonly BAD_REQUEST: {
|
|
9456
10443
|
readonly status: 400;
|
|
9457
10444
|
readonly message: "Bad request";
|
|
9458
|
-
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>>;
|
|
9459
10451
|
};
|
|
9460
10452
|
readonly UNAUTHENTICATED: {
|
|
9461
10453
|
readonly status: 401;
|
|
@@ -9604,19 +10596,31 @@ declare const contract: {
|
|
|
9604
10596
|
name: z.ZodString;
|
|
9605
10597
|
}, _$zod_v4_core0.$strip>;
|
|
9606
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
|
+
};
|
|
9607
10614
|
}>, Record<never, never>>;
|
|
9608
10615
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9609
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
9610
10616
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9611
10617
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
9612
10618
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9613
10619
|
items: z.ZodArray<z.ZodObject<{
|
|
9614
|
-
orgId: z.ZodString;
|
|
9615
10620
|
name: z.ZodString;
|
|
9616
10621
|
ownerId: z.ZodString;
|
|
9617
10622
|
description: z.ZodNullable<z.ZodString>;
|
|
9618
10623
|
defaultBranch: z.ZodString;
|
|
9619
|
-
artifactName: z.ZodString;
|
|
9620
10624
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9621
10625
|
remote: z.ZodNullable<z.ZodString>;
|
|
9622
10626
|
readOnly: z.ZodBoolean;
|
|
@@ -9630,7 +10634,12 @@ declare const contract: {
|
|
|
9630
10634
|
readonly BAD_REQUEST: {
|
|
9631
10635
|
readonly status: 400;
|
|
9632
10636
|
readonly message: "Bad request";
|
|
9633
|
-
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>>;
|
|
9634
10643
|
};
|
|
9635
10644
|
readonly UNAUTHENTICATED: {
|
|
9636
10645
|
readonly status: 401;
|
|
@@ -9779,19 +10788,31 @@ declare const contract: {
|
|
|
9779
10788
|
name: z.ZodString;
|
|
9780
10789
|
}, _$zod_v4_core0.$strip>;
|
|
9781
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
|
+
};
|
|
9782
10806
|
}>, Record<never, never>>;
|
|
9783
10807
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9784
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
9785
10808
|
name: z.ZodString;
|
|
9786
10809
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9787
|
-
defaultBranch: z.ZodOptional<z.ZodString
|
|
10810
|
+
defaultBranch: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
9788
10811
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9789
|
-
orgId: z.ZodString;
|
|
9790
10812
|
name: z.ZodString;
|
|
9791
10813
|
ownerId: z.ZodString;
|
|
9792
10814
|
description: z.ZodNullable<z.ZodString>;
|
|
9793
10815
|
defaultBranch: z.ZodString;
|
|
9794
|
-
artifactName: z.ZodString;
|
|
9795
10816
|
artifactId: z.ZodNullable<z.ZodString>;
|
|
9796
10817
|
remote: z.ZodNullable<z.ZodString>;
|
|
9797
10818
|
readOnly: z.ZodBoolean;
|
|
@@ -9803,7 +10824,12 @@ declare const contract: {
|
|
|
9803
10824
|
readonly BAD_REQUEST: {
|
|
9804
10825
|
readonly status: 400;
|
|
9805
10826
|
readonly message: "Bad request";
|
|
9806
|
-
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>>;
|
|
9807
10833
|
};
|
|
9808
10834
|
readonly UNAUTHENTICATED: {
|
|
9809
10835
|
readonly status: 401;
|
|
@@ -9952,9 +10978,23 @@ declare const contract: {
|
|
|
9952
10978
|
name: z.ZodString;
|
|
9953
10979
|
}, _$zod_v4_core0.$strip>;
|
|
9954
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
|
+
};
|
|
9955
10996
|
}>, Record<never, never>>;
|
|
9956
10997
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9957
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
9958
10998
|
name: z.ZodString;
|
|
9959
10999
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
9960
11000
|
deleted: z.ZodLiteral<true>;
|
|
@@ -9962,7 +11002,12 @@ declare const contract: {
|
|
|
9962
11002
|
readonly BAD_REQUEST: {
|
|
9963
11003
|
readonly status: 400;
|
|
9964
11004
|
readonly message: "Bad request";
|
|
9965
|
-
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>>;
|
|
9966
11011
|
};
|
|
9967
11012
|
readonly UNAUTHENTICATED: {
|
|
9968
11013
|
readonly status: 401;
|
|
@@ -10111,18 +11156,39 @@ declare const contract: {
|
|
|
10111
11156
|
name: z.ZodString;
|
|
10112
11157
|
}, _$zod_v4_core0.$strip>;
|
|
10113
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
|
+
};
|
|
10114
11174
|
}>, Record<never, never>>;
|
|
10115
11175
|
};
|
|
10116
11176
|
tokens: {
|
|
10117
11177
|
mint: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10118
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
10119
11178
|
name: z.ZodString;
|
|
10120
11179
|
scope: z.ZodEnum<{
|
|
10121
11180
|
read: "read";
|
|
10122
11181
|
write: "write";
|
|
10123
11182
|
}>;
|
|
10124
11183
|
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
10125
|
-
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
|
+
}>>;
|
|
10126
11192
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
10127
11193
|
id: z.ZodString;
|
|
10128
11194
|
artifactId: z.ZodString;
|
|
@@ -10142,7 +11208,12 @@ declare const contract: {
|
|
|
10142
11208
|
readonly BAD_REQUEST: {
|
|
10143
11209
|
readonly status: 400;
|
|
10144
11210
|
readonly message: "Bad request";
|
|
10145
|
-
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>>;
|
|
10146
11217
|
};
|
|
10147
11218
|
readonly UNAUTHENTICATED: {
|
|
10148
11219
|
readonly status: 401;
|
|
@@ -10291,6 +11362,21 @@ declare const contract: {
|
|
|
10291
11362
|
name: z.ZodString;
|
|
10292
11363
|
}, _$zod_v4_core0.$strip>;
|
|
10293
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
|
+
};
|
|
10294
11380
|
}>, Record<never, never>>;
|
|
10295
11381
|
mintForGitRemote: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10296
11382
|
protocol: z.ZodLiteral<"https">;
|
|
@@ -10317,7 +11403,12 @@ declare const contract: {
|
|
|
10317
11403
|
readonly BAD_REQUEST: {
|
|
10318
11404
|
readonly status: 400;
|
|
10319
11405
|
readonly message: "Bad request";
|
|
10320
|
-
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>>;
|
|
10321
11412
|
};
|
|
10322
11413
|
readonly UNAUTHENTICATED: {
|
|
10323
11414
|
readonly status: 401;
|
|
@@ -10466,9 +11557,23 @@ declare const contract: {
|
|
|
10466
11557
|
name: z.ZodString;
|
|
10467
11558
|
}, _$zod_v4_core0.$strip>;
|
|
10468
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
|
+
};
|
|
10469
11575
|
}>, Record<never, never>>;
|
|
10470
11576
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10471
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
10472
11577
|
name: z.ZodString;
|
|
10473
11578
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
10474
11579
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -10490,7 +11595,12 @@ declare const contract: {
|
|
|
10490
11595
|
readonly BAD_REQUEST: {
|
|
10491
11596
|
readonly status: 400;
|
|
10492
11597
|
readonly message: "Bad request";
|
|
10493
|
-
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>>;
|
|
10494
11604
|
};
|
|
10495
11605
|
readonly UNAUTHENTICATED: {
|
|
10496
11606
|
readonly status: 401;
|
|
@@ -10639,9 +11749,23 @@ declare const contract: {
|
|
|
10639
11749
|
name: z.ZodString;
|
|
10640
11750
|
}, _$zod_v4_core0.$strip>;
|
|
10641
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
|
+
};
|
|
10642
11767
|
}>, Record<never, never>>;
|
|
10643
11768
|
revoke: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10644
|
-
orgSlug: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"~">]>>;
|
|
10645
11769
|
name: z.ZodString;
|
|
10646
11770
|
id: z.ZodString;
|
|
10647
11771
|
}, _$zod_v4_core0.$strip>, z.ZodObject<{
|
|
@@ -10650,7 +11774,12 @@ declare const contract: {
|
|
|
10650
11774
|
readonly BAD_REQUEST: {
|
|
10651
11775
|
readonly status: 400;
|
|
10652
11776
|
readonly message: "Bad request";
|
|
10653
|
-
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>>;
|
|
10654
11783
|
};
|
|
10655
11784
|
readonly UNAUTHENTICATED: {
|
|
10656
11785
|
readonly status: 401;
|
|
@@ -10799,6 +11928,21 @@ declare const contract: {
|
|
|
10799
11928
|
name: z.ZodString;
|
|
10800
11929
|
}, _$zod_v4_core0.$strip>;
|
|
10801
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
|
+
};
|
|
10802
11946
|
}>, Record<never, never>>;
|
|
10803
11947
|
validate: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10804
11948
|
token: z.ZodString;
|
|
@@ -10818,7 +11962,12 @@ declare const contract: {
|
|
|
10818
11962
|
readonly BAD_REQUEST: {
|
|
10819
11963
|
readonly status: 400;
|
|
10820
11964
|
readonly message: "Bad request";
|
|
10821
|
-
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>>;
|
|
10822
11971
|
};
|
|
10823
11972
|
readonly UNAUTHENTICATED: {
|
|
10824
11973
|
readonly status: 401;
|
|
@@ -10967,9 +12116,24 @@ declare const contract: {
|
|
|
10967
12116
|
name: z.ZodString;
|
|
10968
12117
|
}, _$zod_v4_core0.$strip>;
|
|
10969
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
|
+
};
|
|
10970
12134
|
}>, Record<never, never>>;
|
|
10971
12135
|
};
|
|
10972
12136
|
};
|
|
10973
12137
|
type Contract = typeof contract;
|
|
10974
12138
|
//#endregion
|
|
10975
|
-
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,
|
|
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 };
|