@repome/sdk 0.1.8 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -9
- package/dist/index.d.mts +1436 -118
- package/dist/index.mjs +4305 -59
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2145,15 +2145,13 @@ declare const contract: {
|
|
|
2145
2145
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
2146
2146
|
name: ZodOptional<ZodString>;
|
|
2147
2147
|
description: ZodOptional<ZodString>;
|
|
2148
|
-
defaultBranch: ZodDefault<ZodString
|
|
2148
|
+
defaultBranch: ZodDefault<ZodPipe<ZodPipe<ZodString, ZodTransform<string, string>>, ZodString>>;
|
|
2149
2149
|
ttlSeconds: ZodOptional<ZodNumber>;
|
|
2150
2150
|
}, $strip>, ZodObject<{
|
|
2151
|
-
orgId: ZodString;
|
|
2152
2151
|
name: ZodString;
|
|
2153
2152
|
ownerId: ZodString;
|
|
2154
2153
|
description: ZodNullable<ZodString>;
|
|
2155
2154
|
defaultBranch: ZodString;
|
|
2156
|
-
artifactName: ZodString;
|
|
2157
2155
|
artifactId: ZodNullable<ZodString>;
|
|
2158
2156
|
remote: ZodNullable<ZodString>;
|
|
2159
2157
|
readOnly: ZodBoolean;
|
|
@@ -2168,7 +2166,12 @@ declare const contract: {
|
|
|
2168
2166
|
readonly BAD_REQUEST: {
|
|
2169
2167
|
readonly status: 400;
|
|
2170
2168
|
readonly message: "Bad request";
|
|
2171
|
-
readonly data: ZodOptional<ZodObject<{
|
|
2169
|
+
readonly data: ZodOptional<ZodObject<{
|
|
2170
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
2171
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
2172
|
+
message: ZodString;
|
|
2173
|
+
}, $strip>>>;
|
|
2174
|
+
}, $strip>>;
|
|
2172
2175
|
};
|
|
2173
2176
|
readonly UNAUTHENTICATED: {
|
|
2174
2177
|
readonly status: 401;
|
|
@@ -2317,16 +2320,29 @@ declare const contract: {
|
|
|
2317
2320
|
name: ZodString;
|
|
2318
2321
|
}, $strip>;
|
|
2319
2322
|
};
|
|
2323
|
+
readonly ORG_LAST_OWNED: {
|
|
2324
|
+
readonly status: 409;
|
|
2325
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2326
|
+
readonly data: ZodObject<{
|
|
2327
|
+
slug: ZodString;
|
|
2328
|
+
}, $strip>;
|
|
2329
|
+
};
|
|
2330
|
+
readonly ORG_HAS_REPOS: {
|
|
2331
|
+
readonly status: 409;
|
|
2332
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2333
|
+
readonly data: ZodObject<{
|
|
2334
|
+
slug: ZodString;
|
|
2335
|
+
repoCount: ZodNumber;
|
|
2336
|
+
}, $strip>;
|
|
2337
|
+
};
|
|
2320
2338
|
}>, Record<never, never>>;
|
|
2321
2339
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
2322
2340
|
name: ZodString;
|
|
2323
2341
|
}, $strip>, ZodObject<{
|
|
2324
|
-
orgId: ZodString;
|
|
2325
2342
|
name: ZodString;
|
|
2326
2343
|
ownerId: ZodString;
|
|
2327
2344
|
description: ZodNullable<ZodString>;
|
|
2328
2345
|
defaultBranch: ZodString;
|
|
2329
|
-
artifactName: ZodString;
|
|
2330
2346
|
artifactId: ZodNullable<ZodString>;
|
|
2331
2347
|
remote: ZodNullable<ZodString>;
|
|
2332
2348
|
readOnly: ZodBoolean;
|
|
@@ -2340,7 +2356,12 @@ declare const contract: {
|
|
|
2340
2356
|
readonly BAD_REQUEST: {
|
|
2341
2357
|
readonly status: 400;
|
|
2342
2358
|
readonly message: "Bad request";
|
|
2343
|
-
readonly data: ZodOptional<ZodObject<{
|
|
2359
|
+
readonly data: ZodOptional<ZodObject<{
|
|
2360
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
2361
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
2362
|
+
message: ZodString;
|
|
2363
|
+
}, $strip>>>;
|
|
2364
|
+
}, $strip>>;
|
|
2344
2365
|
};
|
|
2345
2366
|
readonly UNAUTHENTICATED: {
|
|
2346
2367
|
readonly status: 401;
|
|
@@ -2489,18 +2510,31 @@ declare const contract: {
|
|
|
2489
2510
|
name: ZodString;
|
|
2490
2511
|
}, $strip>;
|
|
2491
2512
|
};
|
|
2513
|
+
readonly ORG_LAST_OWNED: {
|
|
2514
|
+
readonly status: 409;
|
|
2515
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2516
|
+
readonly data: ZodObject<{
|
|
2517
|
+
slug: ZodString;
|
|
2518
|
+
}, $strip>;
|
|
2519
|
+
};
|
|
2520
|
+
readonly ORG_HAS_REPOS: {
|
|
2521
|
+
readonly status: 409;
|
|
2522
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2523
|
+
readonly data: ZodObject<{
|
|
2524
|
+
slug: ZodString;
|
|
2525
|
+
repoCount: ZodNumber;
|
|
2526
|
+
}, $strip>;
|
|
2527
|
+
};
|
|
2492
2528
|
}>, Record<never, never>>;
|
|
2493
2529
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
2494
2530
|
cursor: ZodOptional<ZodString>;
|
|
2495
2531
|
limit: ZodDefault<ZodNumber>;
|
|
2496
2532
|
}, $strip>, ZodObject<{
|
|
2497
2533
|
items: ZodArray<ZodObject<{
|
|
2498
|
-
orgId: ZodString;
|
|
2499
2534
|
name: ZodString;
|
|
2500
2535
|
ownerId: ZodString;
|
|
2501
2536
|
description: ZodNullable<ZodString>;
|
|
2502
2537
|
defaultBranch: ZodString;
|
|
2503
|
-
artifactName: ZodString;
|
|
2504
2538
|
artifactId: ZodNullable<ZodString>;
|
|
2505
2539
|
remote: ZodNullable<ZodString>;
|
|
2506
2540
|
readOnly: ZodBoolean;
|
|
@@ -2516,7 +2550,12 @@ declare const contract: {
|
|
|
2516
2550
|
readonly BAD_REQUEST: {
|
|
2517
2551
|
readonly status: 400;
|
|
2518
2552
|
readonly message: "Bad request";
|
|
2519
|
-
readonly data: ZodOptional<ZodObject<{
|
|
2553
|
+
readonly data: ZodOptional<ZodObject<{
|
|
2554
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
2555
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
2556
|
+
message: ZodString;
|
|
2557
|
+
}, $strip>>>;
|
|
2558
|
+
}, $strip>>;
|
|
2520
2559
|
};
|
|
2521
2560
|
readonly UNAUTHENTICATED: {
|
|
2522
2561
|
readonly status: 401;
|
|
@@ -2665,6 +2704,21 @@ declare const contract: {
|
|
|
2665
2704
|
name: ZodString;
|
|
2666
2705
|
}, $strip>;
|
|
2667
2706
|
};
|
|
2707
|
+
readonly ORG_LAST_OWNED: {
|
|
2708
|
+
readonly status: 409;
|
|
2709
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2710
|
+
readonly data: ZodObject<{
|
|
2711
|
+
slug: ZodString;
|
|
2712
|
+
}, $strip>;
|
|
2713
|
+
};
|
|
2714
|
+
readonly ORG_HAS_REPOS: {
|
|
2715
|
+
readonly status: 409;
|
|
2716
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2717
|
+
readonly data: ZodObject<{
|
|
2718
|
+
slug: ZodString;
|
|
2719
|
+
repoCount: ZodNumber;
|
|
2720
|
+
}, $strip>;
|
|
2721
|
+
};
|
|
2668
2722
|
}>, Record<never, never>>;
|
|
2669
2723
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
2670
2724
|
name: ZodString;
|
|
@@ -2674,7 +2728,12 @@ declare const contract: {
|
|
|
2674
2728
|
readonly BAD_REQUEST: {
|
|
2675
2729
|
readonly status: 400;
|
|
2676
2730
|
readonly message: "Bad request";
|
|
2677
|
-
readonly data: ZodOptional<ZodObject<{
|
|
2731
|
+
readonly data: ZodOptional<ZodObject<{
|
|
2732
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
2733
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
2734
|
+
message: ZodString;
|
|
2735
|
+
}, $strip>>>;
|
|
2736
|
+
}, $strip>>;
|
|
2678
2737
|
};
|
|
2679
2738
|
readonly UNAUTHENTICATED: {
|
|
2680
2739
|
readonly status: 401;
|
|
@@ -2823,6 +2882,21 @@ declare const contract: {
|
|
|
2823
2882
|
name: ZodString;
|
|
2824
2883
|
}, $strip>;
|
|
2825
2884
|
};
|
|
2885
|
+
readonly ORG_LAST_OWNED: {
|
|
2886
|
+
readonly status: 409;
|
|
2887
|
+
readonly message: "Cannot delete your last owned organization";
|
|
2888
|
+
readonly data: ZodObject<{
|
|
2889
|
+
slug: ZodString;
|
|
2890
|
+
}, $strip>;
|
|
2891
|
+
};
|
|
2892
|
+
readonly ORG_HAS_REPOS: {
|
|
2893
|
+
readonly status: 409;
|
|
2894
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
2895
|
+
readonly data: ZodObject<{
|
|
2896
|
+
slug: ZodString;
|
|
2897
|
+
repoCount: ZodNumber;
|
|
2898
|
+
}, $strip>;
|
|
2899
|
+
};
|
|
2826
2900
|
}>, Record<never, never>>;
|
|
2827
2901
|
};
|
|
2828
2902
|
tokens: {
|
|
@@ -2851,7 +2925,12 @@ declare const contract: {
|
|
|
2851
2925
|
readonly BAD_REQUEST: {
|
|
2852
2926
|
readonly status: 400;
|
|
2853
2927
|
readonly message: "Bad request";
|
|
2854
|
-
readonly data: ZodOptional<ZodObject<{
|
|
2928
|
+
readonly data: ZodOptional<ZodObject<{
|
|
2929
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
2930
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
2931
|
+
message: ZodString;
|
|
2932
|
+
}, $strip>>>;
|
|
2933
|
+
}, $strip>>;
|
|
2855
2934
|
};
|
|
2856
2935
|
readonly UNAUTHENTICATED: {
|
|
2857
2936
|
readonly status: 401;
|
|
@@ -3000,6 +3079,21 @@ declare const contract: {
|
|
|
3000
3079
|
name: ZodString;
|
|
3001
3080
|
}, $strip>;
|
|
3002
3081
|
};
|
|
3082
|
+
readonly ORG_LAST_OWNED: {
|
|
3083
|
+
readonly status: 409;
|
|
3084
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3085
|
+
readonly data: ZodObject<{
|
|
3086
|
+
slug: ZodString;
|
|
3087
|
+
}, $strip>;
|
|
3088
|
+
};
|
|
3089
|
+
readonly ORG_HAS_REPOS: {
|
|
3090
|
+
readonly status: 409;
|
|
3091
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3092
|
+
readonly data: ZodObject<{
|
|
3093
|
+
slug: ZodString;
|
|
3094
|
+
repoCount: ZodNumber;
|
|
3095
|
+
}, $strip>;
|
|
3096
|
+
};
|
|
3003
3097
|
}>, Record<never, never>>;
|
|
3004
3098
|
};
|
|
3005
3099
|
git: {
|
|
@@ -3024,7 +3118,12 @@ declare const contract: {
|
|
|
3024
3118
|
readonly BAD_REQUEST: {
|
|
3025
3119
|
readonly status: 400;
|
|
3026
3120
|
readonly message: "Bad request";
|
|
3027
|
-
readonly data: ZodOptional<ZodObject<{
|
|
3121
|
+
readonly data: ZodOptional<ZodObject<{
|
|
3122
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
3123
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
3124
|
+
message: ZodString;
|
|
3125
|
+
}, $strip>>>;
|
|
3126
|
+
}, $strip>>;
|
|
3028
3127
|
};
|
|
3029
3128
|
readonly UNAUTHENTICATED: {
|
|
3030
3129
|
readonly status: 401;
|
|
@@ -3173,6 +3272,21 @@ declare const contract: {
|
|
|
3173
3272
|
name: ZodString;
|
|
3174
3273
|
}, $strip>;
|
|
3175
3274
|
};
|
|
3275
|
+
readonly ORG_LAST_OWNED: {
|
|
3276
|
+
readonly status: 409;
|
|
3277
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3278
|
+
readonly data: ZodObject<{
|
|
3279
|
+
slug: ZodString;
|
|
3280
|
+
}, $strip>;
|
|
3281
|
+
};
|
|
3282
|
+
readonly ORG_HAS_REPOS: {
|
|
3283
|
+
readonly status: 409;
|
|
3284
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3285
|
+
readonly data: ZodObject<{
|
|
3286
|
+
slug: ZodString;
|
|
3287
|
+
repoCount: ZodNumber;
|
|
3288
|
+
}, $strip>;
|
|
3289
|
+
};
|
|
3176
3290
|
}>, Record<never, never>>;
|
|
3177
3291
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
3178
3292
|
name: ZodString;
|
|
@@ -3189,7 +3303,12 @@ declare const contract: {
|
|
|
3189
3303
|
readonly BAD_REQUEST: {
|
|
3190
3304
|
readonly status: 400;
|
|
3191
3305
|
readonly message: "Bad request";
|
|
3192
|
-
readonly data: ZodOptional<ZodObject<{
|
|
3306
|
+
readonly data: ZodOptional<ZodObject<{
|
|
3307
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
3308
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
3309
|
+
message: ZodString;
|
|
3310
|
+
}, $strip>>>;
|
|
3311
|
+
}, $strip>>;
|
|
3193
3312
|
};
|
|
3194
3313
|
readonly UNAUTHENTICATED: {
|
|
3195
3314
|
readonly status: 401;
|
|
@@ -3338,6 +3457,21 @@ declare const contract: {
|
|
|
3338
3457
|
name: ZodString;
|
|
3339
3458
|
}, $strip>;
|
|
3340
3459
|
};
|
|
3460
|
+
readonly ORG_LAST_OWNED: {
|
|
3461
|
+
readonly status: 409;
|
|
3462
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3463
|
+
readonly data: ZodObject<{
|
|
3464
|
+
slug: ZodString;
|
|
3465
|
+
}, $strip>;
|
|
3466
|
+
};
|
|
3467
|
+
readonly ORG_HAS_REPOS: {
|
|
3468
|
+
readonly status: 409;
|
|
3469
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3470
|
+
readonly data: ZodObject<{
|
|
3471
|
+
slug: ZodString;
|
|
3472
|
+
repoCount: ZodNumber;
|
|
3473
|
+
}, $strip>;
|
|
3474
|
+
};
|
|
3341
3475
|
}>, Record<never, never>>;
|
|
3342
3476
|
};
|
|
3343
3477
|
commits: {
|
|
@@ -3360,7 +3494,12 @@ declare const contract: {
|
|
|
3360
3494
|
readonly BAD_REQUEST: {
|
|
3361
3495
|
readonly status: 400;
|
|
3362
3496
|
readonly message: "Bad request";
|
|
3363
|
-
readonly data: ZodOptional<ZodObject<{
|
|
3497
|
+
readonly data: ZodOptional<ZodObject<{
|
|
3498
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
3499
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
3500
|
+
message: ZodString;
|
|
3501
|
+
}, $strip>>>;
|
|
3502
|
+
}, $strip>>;
|
|
3364
3503
|
};
|
|
3365
3504
|
readonly UNAUTHENTICATED: {
|
|
3366
3505
|
readonly status: 401;
|
|
@@ -3509,6 +3648,21 @@ declare const contract: {
|
|
|
3509
3648
|
name: ZodString;
|
|
3510
3649
|
}, $strip>;
|
|
3511
3650
|
};
|
|
3651
|
+
readonly ORG_LAST_OWNED: {
|
|
3652
|
+
readonly status: 409;
|
|
3653
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3654
|
+
readonly data: ZodObject<{
|
|
3655
|
+
slug: ZodString;
|
|
3656
|
+
}, $strip>;
|
|
3657
|
+
};
|
|
3658
|
+
readonly ORG_HAS_REPOS: {
|
|
3659
|
+
readonly status: 409;
|
|
3660
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3661
|
+
readonly data: ZodObject<{
|
|
3662
|
+
slug: ZodString;
|
|
3663
|
+
repoCount: ZodNumber;
|
|
3664
|
+
}, $strip>;
|
|
3665
|
+
};
|
|
3512
3666
|
}>, Record<never, never>>;
|
|
3513
3667
|
};
|
|
3514
3668
|
tree: {
|
|
@@ -3535,7 +3689,12 @@ declare const contract: {
|
|
|
3535
3689
|
readonly BAD_REQUEST: {
|
|
3536
3690
|
readonly status: 400;
|
|
3537
3691
|
readonly message: "Bad request";
|
|
3538
|
-
readonly data: ZodOptional<ZodObject<{
|
|
3692
|
+
readonly data: ZodOptional<ZodObject<{
|
|
3693
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
3694
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
3695
|
+
message: ZodString;
|
|
3696
|
+
}, $strip>>>;
|
|
3697
|
+
}, $strip>>;
|
|
3539
3698
|
};
|
|
3540
3699
|
readonly UNAUTHENTICATED: {
|
|
3541
3700
|
readonly status: 401;
|
|
@@ -3684,6 +3843,21 @@ declare const contract: {
|
|
|
3684
3843
|
name: ZodString;
|
|
3685
3844
|
}, $strip>;
|
|
3686
3845
|
};
|
|
3846
|
+
readonly ORG_LAST_OWNED: {
|
|
3847
|
+
readonly status: 409;
|
|
3848
|
+
readonly message: "Cannot delete your last owned organization";
|
|
3849
|
+
readonly data: ZodObject<{
|
|
3850
|
+
slug: ZodString;
|
|
3851
|
+
}, $strip>;
|
|
3852
|
+
};
|
|
3853
|
+
readonly ORG_HAS_REPOS: {
|
|
3854
|
+
readonly status: 409;
|
|
3855
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
3856
|
+
readonly data: ZodObject<{
|
|
3857
|
+
slug: ZodString;
|
|
3858
|
+
repoCount: ZodNumber;
|
|
3859
|
+
}, $strip>;
|
|
3860
|
+
};
|
|
3687
3861
|
}>, Record<never, never>>;
|
|
3688
3862
|
};
|
|
3689
3863
|
blob: {
|
|
@@ -3703,7 +3877,12 @@ declare const contract: {
|
|
|
3703
3877
|
readonly BAD_REQUEST: {
|
|
3704
3878
|
readonly status: 400;
|
|
3705
3879
|
readonly message: "Bad request";
|
|
3706
|
-
readonly data: ZodOptional<ZodObject<{
|
|
3880
|
+
readonly data: ZodOptional<ZodObject<{
|
|
3881
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
3882
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
3883
|
+
message: ZodString;
|
|
3884
|
+
}, $strip>>>;
|
|
3885
|
+
}, $strip>>;
|
|
3707
3886
|
};
|
|
3708
3887
|
readonly UNAUTHENTICATED: {
|
|
3709
3888
|
readonly status: 401;
|
|
@@ -3852,6 +4031,21 @@ declare const contract: {
|
|
|
3852
4031
|
name: ZodString;
|
|
3853
4032
|
}, $strip>;
|
|
3854
4033
|
};
|
|
4034
|
+
readonly ORG_LAST_OWNED: {
|
|
4035
|
+
readonly status: 409;
|
|
4036
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4037
|
+
readonly data: ZodObject<{
|
|
4038
|
+
slug: ZodString;
|
|
4039
|
+
}, $strip>;
|
|
4040
|
+
};
|
|
4041
|
+
readonly ORG_HAS_REPOS: {
|
|
4042
|
+
readonly status: 409;
|
|
4043
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4044
|
+
readonly data: ZodObject<{
|
|
4045
|
+
slug: ZodString;
|
|
4046
|
+
repoCount: ZodNumber;
|
|
4047
|
+
}, $strip>;
|
|
4048
|
+
};
|
|
3855
4049
|
}>, Record<never, never>>;
|
|
3856
4050
|
};
|
|
3857
4051
|
workspace: {
|
|
@@ -3899,7 +4093,12 @@ declare const contract: {
|
|
|
3899
4093
|
readonly BAD_REQUEST: {
|
|
3900
4094
|
readonly status: 400;
|
|
3901
4095
|
readonly message: "Bad request";
|
|
3902
|
-
readonly data: ZodOptional<ZodObject<{
|
|
4096
|
+
readonly data: ZodOptional<ZodObject<{
|
|
4097
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
4098
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
4099
|
+
message: ZodString;
|
|
4100
|
+
}, $strip>>>;
|
|
4101
|
+
}, $strip>>;
|
|
3903
4102
|
};
|
|
3904
4103
|
readonly UNAUTHENTICATED: {
|
|
3905
4104
|
readonly status: 401;
|
|
@@ -4048,6 +4247,21 @@ declare const contract: {
|
|
|
4048
4247
|
name: ZodString;
|
|
4049
4248
|
}, $strip>;
|
|
4050
4249
|
};
|
|
4250
|
+
readonly ORG_LAST_OWNED: {
|
|
4251
|
+
readonly status: 409;
|
|
4252
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4253
|
+
readonly data: ZodObject<{
|
|
4254
|
+
slug: ZodString;
|
|
4255
|
+
}, $strip>;
|
|
4256
|
+
};
|
|
4257
|
+
readonly ORG_HAS_REPOS: {
|
|
4258
|
+
readonly status: 409;
|
|
4259
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4260
|
+
readonly data: ZodObject<{
|
|
4261
|
+
slug: ZodString;
|
|
4262
|
+
repoCount: ZodNumber;
|
|
4263
|
+
}, $strip>;
|
|
4264
|
+
};
|
|
4051
4265
|
}>, Record<never, never>>;
|
|
4052
4266
|
};
|
|
4053
4267
|
};
|
|
@@ -4060,7 +4274,12 @@ declare const contract: {
|
|
|
4060
4274
|
readonly BAD_REQUEST: {
|
|
4061
4275
|
readonly status: 400;
|
|
4062
4276
|
readonly message: "Bad request";
|
|
4063
|
-
readonly data: ZodOptional<ZodObject<{
|
|
4277
|
+
readonly data: ZodOptional<ZodObject<{
|
|
4278
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
4279
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
4280
|
+
message: ZodString;
|
|
4281
|
+
}, $strip>>>;
|
|
4282
|
+
}, $strip>>;
|
|
4064
4283
|
};
|
|
4065
4284
|
readonly UNAUTHENTICATED: {
|
|
4066
4285
|
readonly status: 401;
|
|
@@ -4209,12 +4428,26 @@ declare const contract: {
|
|
|
4209
4428
|
name: ZodString;
|
|
4210
4429
|
}, $strip>;
|
|
4211
4430
|
};
|
|
4431
|
+
readonly ORG_LAST_OWNED: {
|
|
4432
|
+
readonly status: 409;
|
|
4433
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4434
|
+
readonly data: ZodObject<{
|
|
4435
|
+
slug: ZodString;
|
|
4436
|
+
}, $strip>;
|
|
4437
|
+
};
|
|
4438
|
+
readonly ORG_HAS_REPOS: {
|
|
4439
|
+
readonly status: 409;
|
|
4440
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4441
|
+
readonly data: ZodObject<{
|
|
4442
|
+
slug: ZodString;
|
|
4443
|
+
repoCount: ZodNumber;
|
|
4444
|
+
}, $strip>;
|
|
4445
|
+
};
|
|
4212
4446
|
}>, Record<never, never>>;
|
|
4213
4447
|
};
|
|
4214
4448
|
git: {
|
|
4215
4449
|
refs: {
|
|
4216
4450
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4217
|
-
orgSlug: ZodOptional<ZodString>;
|
|
4218
4451
|
name: ZodString;
|
|
4219
4452
|
cursor: ZodOptional<ZodString>;
|
|
4220
4453
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -4234,7 +4467,12 @@ declare const contract: {
|
|
|
4234
4467
|
readonly BAD_REQUEST: {
|
|
4235
4468
|
readonly status: 400;
|
|
4236
4469
|
readonly message: "Bad request";
|
|
4237
|
-
readonly data: ZodOptional<ZodObject<{
|
|
4470
|
+
readonly data: ZodOptional<ZodObject<{
|
|
4471
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
4472
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
4473
|
+
message: ZodString;
|
|
4474
|
+
}, $strip>>>;
|
|
4475
|
+
}, $strip>>;
|
|
4238
4476
|
};
|
|
4239
4477
|
readonly UNAUTHENTICATED: {
|
|
4240
4478
|
readonly status: 401;
|
|
@@ -4383,9 +4621,23 @@ declare const contract: {
|
|
|
4383
4621
|
name: ZodString;
|
|
4384
4622
|
}, $strip>;
|
|
4385
4623
|
};
|
|
4624
|
+
readonly ORG_LAST_OWNED: {
|
|
4625
|
+
readonly status: 409;
|
|
4626
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4627
|
+
readonly data: ZodObject<{
|
|
4628
|
+
slug: ZodString;
|
|
4629
|
+
}, $strip>;
|
|
4630
|
+
};
|
|
4631
|
+
readonly ORG_HAS_REPOS: {
|
|
4632
|
+
readonly status: 409;
|
|
4633
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4634
|
+
readonly data: ZodObject<{
|
|
4635
|
+
slug: ZodString;
|
|
4636
|
+
repoCount: ZodNumber;
|
|
4637
|
+
}, $strip>;
|
|
4638
|
+
};
|
|
4386
4639
|
}>, Record<never, never>>;
|
|
4387
4640
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4388
|
-
orgSlug: ZodOptional<ZodString>;
|
|
4389
4641
|
name: ZodString;
|
|
4390
4642
|
ref: ZodString;
|
|
4391
4643
|
}, $strip>, ZodObject<{
|
|
@@ -4400,7 +4652,12 @@ declare const contract: {
|
|
|
4400
4652
|
readonly BAD_REQUEST: {
|
|
4401
4653
|
readonly status: 400;
|
|
4402
4654
|
readonly message: "Bad request";
|
|
4403
|
-
readonly data: ZodOptional<ZodObject<{
|
|
4655
|
+
readonly data: ZodOptional<ZodObject<{
|
|
4656
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
4657
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
4658
|
+
message: ZodString;
|
|
4659
|
+
}, $strip>>>;
|
|
4660
|
+
}, $strip>>;
|
|
4404
4661
|
};
|
|
4405
4662
|
readonly UNAUTHENTICATED: {
|
|
4406
4663
|
readonly status: 401;
|
|
@@ -4549,11 +4806,25 @@ declare const contract: {
|
|
|
4549
4806
|
name: ZodString;
|
|
4550
4807
|
}, $strip>;
|
|
4551
4808
|
};
|
|
4809
|
+
readonly ORG_LAST_OWNED: {
|
|
4810
|
+
readonly status: 409;
|
|
4811
|
+
readonly message: "Cannot delete your last owned organization";
|
|
4812
|
+
readonly data: ZodObject<{
|
|
4813
|
+
slug: ZodString;
|
|
4814
|
+
}, $strip>;
|
|
4815
|
+
};
|
|
4816
|
+
readonly ORG_HAS_REPOS: {
|
|
4817
|
+
readonly status: 409;
|
|
4818
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
4819
|
+
readonly data: ZodObject<{
|
|
4820
|
+
slug: ZodString;
|
|
4821
|
+
repoCount: ZodNumber;
|
|
4822
|
+
}, $strip>;
|
|
4823
|
+
};
|
|
4552
4824
|
}>, Record<never, never>>;
|
|
4553
4825
|
};
|
|
4554
4826
|
branches: {
|
|
4555
4827
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4556
|
-
orgSlug: ZodOptional<ZodString>;
|
|
4557
4828
|
name: ZodString;
|
|
4558
4829
|
cursor: ZodOptional<ZodString>;
|
|
4559
4830
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -4573,7 +4844,12 @@ declare const contract: {
|
|
|
4573
4844
|
readonly BAD_REQUEST: {
|
|
4574
4845
|
readonly status: 400;
|
|
4575
4846
|
readonly message: "Bad request";
|
|
4576
|
-
readonly data: ZodOptional<ZodObject<{
|
|
4847
|
+
readonly data: ZodOptional<ZodObject<{
|
|
4848
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
4849
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
4850
|
+
message: ZodString;
|
|
4851
|
+
}, $strip>>>;
|
|
4852
|
+
}, $strip>>;
|
|
4577
4853
|
};
|
|
4578
4854
|
readonly UNAUTHENTICATED: {
|
|
4579
4855
|
readonly status: 401;
|
|
@@ -4722,9 +4998,23 @@ declare const contract: {
|
|
|
4722
4998
|
name: ZodString;
|
|
4723
4999
|
}, $strip>;
|
|
4724
5000
|
};
|
|
5001
|
+
readonly ORG_LAST_OWNED: {
|
|
5002
|
+
readonly status: 409;
|
|
5003
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5004
|
+
readonly data: ZodObject<{
|
|
5005
|
+
slug: ZodString;
|
|
5006
|
+
}, $strip>;
|
|
5007
|
+
};
|
|
5008
|
+
readonly ORG_HAS_REPOS: {
|
|
5009
|
+
readonly status: 409;
|
|
5010
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5011
|
+
readonly data: ZodObject<{
|
|
5012
|
+
slug: ZodString;
|
|
5013
|
+
repoCount: ZodNumber;
|
|
5014
|
+
}, $strip>;
|
|
5015
|
+
};
|
|
4725
5016
|
}>, Record<never, never>>;
|
|
4726
5017
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4727
|
-
orgSlug: ZodOptional<ZodString>;
|
|
4728
5018
|
name: ZodString;
|
|
4729
5019
|
ref: ZodString;
|
|
4730
5020
|
}, $strip>, ZodObject<{
|
|
@@ -4739,7 +5029,12 @@ declare const contract: {
|
|
|
4739
5029
|
readonly BAD_REQUEST: {
|
|
4740
5030
|
readonly status: 400;
|
|
4741
5031
|
readonly message: "Bad request";
|
|
4742
|
-
readonly data: ZodOptional<ZodObject<{
|
|
5032
|
+
readonly data: ZodOptional<ZodObject<{
|
|
5033
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
5034
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
5035
|
+
message: ZodString;
|
|
5036
|
+
}, $strip>>>;
|
|
5037
|
+
}, $strip>>;
|
|
4743
5038
|
};
|
|
4744
5039
|
readonly UNAUTHENTICATED: {
|
|
4745
5040
|
readonly status: 401;
|
|
@@ -4888,9 +5183,23 @@ declare const contract: {
|
|
|
4888
5183
|
name: ZodString;
|
|
4889
5184
|
}, $strip>;
|
|
4890
5185
|
};
|
|
5186
|
+
readonly ORG_LAST_OWNED: {
|
|
5187
|
+
readonly status: 409;
|
|
5188
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5189
|
+
readonly data: ZodObject<{
|
|
5190
|
+
slug: ZodString;
|
|
5191
|
+
}, $strip>;
|
|
5192
|
+
};
|
|
5193
|
+
readonly ORG_HAS_REPOS: {
|
|
5194
|
+
readonly status: 409;
|
|
5195
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5196
|
+
readonly data: ZodObject<{
|
|
5197
|
+
slug: ZodString;
|
|
5198
|
+
repoCount: ZodNumber;
|
|
5199
|
+
}, $strip>;
|
|
5200
|
+
};
|
|
4891
5201
|
}>, Record<never, never>>;
|
|
4892
5202
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4893
|
-
orgSlug: ZodOptional<ZodString>;
|
|
4894
5203
|
name: ZodString;
|
|
4895
5204
|
branch: ZodString;
|
|
4896
5205
|
fromRef: ZodString;
|
|
@@ -4906,7 +5215,12 @@ declare const contract: {
|
|
|
4906
5215
|
readonly BAD_REQUEST: {
|
|
4907
5216
|
readonly status: 400;
|
|
4908
5217
|
readonly message: "Bad request";
|
|
4909
|
-
readonly data: ZodOptional<ZodObject<{
|
|
5218
|
+
readonly data: ZodOptional<ZodObject<{
|
|
5219
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
5220
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
5221
|
+
message: ZodString;
|
|
5222
|
+
}, $strip>>>;
|
|
5223
|
+
}, $strip>>;
|
|
4910
5224
|
};
|
|
4911
5225
|
readonly UNAUTHENTICATED: {
|
|
4912
5226
|
readonly status: 401;
|
|
@@ -5055,9 +5369,23 @@ declare const contract: {
|
|
|
5055
5369
|
name: ZodString;
|
|
5056
5370
|
}, $strip>;
|
|
5057
5371
|
};
|
|
5372
|
+
readonly ORG_LAST_OWNED: {
|
|
5373
|
+
readonly status: 409;
|
|
5374
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5375
|
+
readonly data: ZodObject<{
|
|
5376
|
+
slug: ZodString;
|
|
5377
|
+
}, $strip>;
|
|
5378
|
+
};
|
|
5379
|
+
readonly ORG_HAS_REPOS: {
|
|
5380
|
+
readonly status: 409;
|
|
5381
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5382
|
+
readonly data: ZodObject<{
|
|
5383
|
+
slug: ZodString;
|
|
5384
|
+
repoCount: ZodNumber;
|
|
5385
|
+
}, $strip>;
|
|
5386
|
+
};
|
|
5058
5387
|
}>, Record<never, never>>;
|
|
5059
5388
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5060
|
-
orgSlug: ZodOptional<ZodString>;
|
|
5061
5389
|
name: ZodString;
|
|
5062
5390
|
ref: ZodString;
|
|
5063
5391
|
oid: ZodString;
|
|
@@ -5076,7 +5404,12 @@ declare const contract: {
|
|
|
5076
5404
|
readonly BAD_REQUEST: {
|
|
5077
5405
|
readonly status: 400;
|
|
5078
5406
|
readonly message: "Bad request";
|
|
5079
|
-
readonly data: ZodOptional<ZodObject<{
|
|
5407
|
+
readonly data: ZodOptional<ZodObject<{
|
|
5408
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
5409
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
5410
|
+
message: ZodString;
|
|
5411
|
+
}, $strip>>>;
|
|
5412
|
+
}, $strip>>;
|
|
5080
5413
|
};
|
|
5081
5414
|
readonly UNAUTHENTICATED: {
|
|
5082
5415
|
readonly status: 401;
|
|
@@ -5225,9 +5558,23 @@ declare const contract: {
|
|
|
5225
5558
|
name: ZodString;
|
|
5226
5559
|
}, $strip>;
|
|
5227
5560
|
};
|
|
5561
|
+
readonly ORG_LAST_OWNED: {
|
|
5562
|
+
readonly status: 409;
|
|
5563
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5564
|
+
readonly data: ZodObject<{
|
|
5565
|
+
slug: ZodString;
|
|
5566
|
+
}, $strip>;
|
|
5567
|
+
};
|
|
5568
|
+
readonly ORG_HAS_REPOS: {
|
|
5569
|
+
readonly status: 409;
|
|
5570
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5571
|
+
readonly data: ZodObject<{
|
|
5572
|
+
slug: ZodString;
|
|
5573
|
+
repoCount: ZodNumber;
|
|
5574
|
+
}, $strip>;
|
|
5575
|
+
};
|
|
5228
5576
|
}>, Record<never, never>>;
|
|
5229
5577
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5230
|
-
orgSlug: ZodOptional<ZodString>;
|
|
5231
5578
|
name: ZodString;
|
|
5232
5579
|
ref: ZodString;
|
|
5233
5580
|
expectedOid: ZodOptional<ZodString>;
|
|
@@ -5237,7 +5584,12 @@ declare const contract: {
|
|
|
5237
5584
|
readonly BAD_REQUEST: {
|
|
5238
5585
|
readonly status: 400;
|
|
5239
5586
|
readonly message: "Bad request";
|
|
5240
|
-
readonly data: ZodOptional<ZodObject<{
|
|
5587
|
+
readonly data: ZodOptional<ZodObject<{
|
|
5588
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
5589
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
5590
|
+
message: ZodString;
|
|
5591
|
+
}, $strip>>>;
|
|
5592
|
+
}, $strip>>;
|
|
5241
5593
|
};
|
|
5242
5594
|
readonly UNAUTHENTICATED: {
|
|
5243
5595
|
readonly status: 401;
|
|
@@ -5386,11 +5738,25 @@ declare const contract: {
|
|
|
5386
5738
|
name: ZodString;
|
|
5387
5739
|
}, $strip>;
|
|
5388
5740
|
};
|
|
5741
|
+
readonly ORG_LAST_OWNED: {
|
|
5742
|
+
readonly status: 409;
|
|
5743
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5744
|
+
readonly data: ZodObject<{
|
|
5745
|
+
slug: ZodString;
|
|
5746
|
+
}, $strip>;
|
|
5747
|
+
};
|
|
5748
|
+
readonly ORG_HAS_REPOS: {
|
|
5749
|
+
readonly status: 409;
|
|
5750
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5751
|
+
readonly data: ZodObject<{
|
|
5752
|
+
slug: ZodString;
|
|
5753
|
+
repoCount: ZodNumber;
|
|
5754
|
+
}, $strip>;
|
|
5755
|
+
};
|
|
5389
5756
|
}>, Record<never, never>>;
|
|
5390
5757
|
};
|
|
5391
5758
|
tags: {
|
|
5392
5759
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5393
|
-
orgSlug: ZodOptional<ZodString>;
|
|
5394
5760
|
name: ZodString;
|
|
5395
5761
|
cursor: ZodOptional<ZodString>;
|
|
5396
5762
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -5410,7 +5776,12 @@ declare const contract: {
|
|
|
5410
5776
|
readonly BAD_REQUEST: {
|
|
5411
5777
|
readonly status: 400;
|
|
5412
5778
|
readonly message: "Bad request";
|
|
5413
|
-
readonly data: ZodOptional<ZodObject<{
|
|
5779
|
+
readonly data: ZodOptional<ZodObject<{
|
|
5780
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
5781
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
5782
|
+
message: ZodString;
|
|
5783
|
+
}, $strip>>>;
|
|
5784
|
+
}, $strip>>;
|
|
5414
5785
|
};
|
|
5415
5786
|
readonly UNAUTHENTICATED: {
|
|
5416
5787
|
readonly status: 401;
|
|
@@ -5559,9 +5930,23 @@ declare const contract: {
|
|
|
5559
5930
|
name: ZodString;
|
|
5560
5931
|
}, $strip>;
|
|
5561
5932
|
};
|
|
5933
|
+
readonly ORG_LAST_OWNED: {
|
|
5934
|
+
readonly status: 409;
|
|
5935
|
+
readonly message: "Cannot delete your last owned organization";
|
|
5936
|
+
readonly data: ZodObject<{
|
|
5937
|
+
slug: ZodString;
|
|
5938
|
+
}, $strip>;
|
|
5939
|
+
};
|
|
5940
|
+
readonly ORG_HAS_REPOS: {
|
|
5941
|
+
readonly status: 409;
|
|
5942
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
5943
|
+
readonly data: ZodObject<{
|
|
5944
|
+
slug: ZodString;
|
|
5945
|
+
repoCount: ZodNumber;
|
|
5946
|
+
}, $strip>;
|
|
5947
|
+
};
|
|
5562
5948
|
}>, Record<never, never>>;
|
|
5563
5949
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5564
|
-
orgSlug: ZodOptional<ZodString>;
|
|
5565
5950
|
name: ZodString;
|
|
5566
5951
|
ref: ZodString;
|
|
5567
5952
|
}, $strip>, ZodObject<{
|
|
@@ -5576,7 +5961,12 @@ declare const contract: {
|
|
|
5576
5961
|
readonly BAD_REQUEST: {
|
|
5577
5962
|
readonly status: 400;
|
|
5578
5963
|
readonly message: "Bad request";
|
|
5579
|
-
readonly data: ZodOptional<ZodObject<{
|
|
5964
|
+
readonly data: ZodOptional<ZodObject<{
|
|
5965
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
5966
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
5967
|
+
message: ZodString;
|
|
5968
|
+
}, $strip>>>;
|
|
5969
|
+
}, $strip>>;
|
|
5580
5970
|
};
|
|
5581
5971
|
readonly UNAUTHENTICATED: {
|
|
5582
5972
|
readonly status: 401;
|
|
@@ -5725,9 +6115,23 @@ declare const contract: {
|
|
|
5725
6115
|
name: ZodString;
|
|
5726
6116
|
}, $strip>;
|
|
5727
6117
|
};
|
|
6118
|
+
readonly ORG_LAST_OWNED: {
|
|
6119
|
+
readonly status: 409;
|
|
6120
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6121
|
+
readonly data: ZodObject<{
|
|
6122
|
+
slug: ZodString;
|
|
6123
|
+
}, $strip>;
|
|
6124
|
+
};
|
|
6125
|
+
readonly ORG_HAS_REPOS: {
|
|
6126
|
+
readonly status: 409;
|
|
6127
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6128
|
+
readonly data: ZodObject<{
|
|
6129
|
+
slug: ZodString;
|
|
6130
|
+
repoCount: ZodNumber;
|
|
6131
|
+
}, $strip>;
|
|
6132
|
+
};
|
|
5728
6133
|
}>, Record<never, never>>;
|
|
5729
6134
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5730
|
-
orgSlug: ZodOptional<ZodString>;
|
|
5731
6135
|
name: ZodString;
|
|
5732
6136
|
tag: ZodString;
|
|
5733
6137
|
oid: ZodString;
|
|
@@ -5750,7 +6154,12 @@ declare const contract: {
|
|
|
5750
6154
|
readonly BAD_REQUEST: {
|
|
5751
6155
|
readonly status: 400;
|
|
5752
6156
|
readonly message: "Bad request";
|
|
5753
|
-
readonly data: ZodOptional<ZodObject<{
|
|
6157
|
+
readonly data: ZodOptional<ZodObject<{
|
|
6158
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
6159
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
6160
|
+
message: ZodString;
|
|
6161
|
+
}, $strip>>>;
|
|
6162
|
+
}, $strip>>;
|
|
5754
6163
|
};
|
|
5755
6164
|
readonly UNAUTHENTICATED: {
|
|
5756
6165
|
readonly status: 401;
|
|
@@ -5899,9 +6308,23 @@ declare const contract: {
|
|
|
5899
6308
|
name: ZodString;
|
|
5900
6309
|
}, $strip>;
|
|
5901
6310
|
};
|
|
6311
|
+
readonly ORG_LAST_OWNED: {
|
|
6312
|
+
readonly status: 409;
|
|
6313
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6314
|
+
readonly data: ZodObject<{
|
|
6315
|
+
slug: ZodString;
|
|
6316
|
+
}, $strip>;
|
|
6317
|
+
};
|
|
6318
|
+
readonly ORG_HAS_REPOS: {
|
|
6319
|
+
readonly status: 409;
|
|
6320
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6321
|
+
readonly data: ZodObject<{
|
|
6322
|
+
slug: ZodString;
|
|
6323
|
+
repoCount: ZodNumber;
|
|
6324
|
+
}, $strip>;
|
|
6325
|
+
};
|
|
5902
6326
|
}>, Record<never, never>>;
|
|
5903
6327
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5904
|
-
orgSlug: ZodOptional<ZodString>;
|
|
5905
6328
|
name: ZodString;
|
|
5906
6329
|
ref: ZodString;
|
|
5907
6330
|
}, $strip>, ZodObject<{
|
|
@@ -5910,7 +6333,12 @@ declare const contract: {
|
|
|
5910
6333
|
readonly BAD_REQUEST: {
|
|
5911
6334
|
readonly status: 400;
|
|
5912
6335
|
readonly message: "Bad request";
|
|
5913
|
-
readonly data: ZodOptional<ZodObject<{
|
|
6336
|
+
readonly data: ZodOptional<ZodObject<{
|
|
6337
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
6338
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
6339
|
+
message: ZodString;
|
|
6340
|
+
}, $strip>>>;
|
|
6341
|
+
}, $strip>>;
|
|
5914
6342
|
};
|
|
5915
6343
|
readonly UNAUTHENTICATED: {
|
|
5916
6344
|
readonly status: 401;
|
|
@@ -6059,11 +6487,25 @@ declare const contract: {
|
|
|
6059
6487
|
name: ZodString;
|
|
6060
6488
|
}, $strip>;
|
|
6061
6489
|
};
|
|
6490
|
+
readonly ORG_LAST_OWNED: {
|
|
6491
|
+
readonly status: 409;
|
|
6492
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6493
|
+
readonly data: ZodObject<{
|
|
6494
|
+
slug: ZodString;
|
|
6495
|
+
}, $strip>;
|
|
6496
|
+
};
|
|
6497
|
+
readonly ORG_HAS_REPOS: {
|
|
6498
|
+
readonly status: 409;
|
|
6499
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6500
|
+
readonly data: ZodObject<{
|
|
6501
|
+
slug: ZodString;
|
|
6502
|
+
repoCount: ZodNumber;
|
|
6503
|
+
}, $strip>;
|
|
6504
|
+
};
|
|
6062
6505
|
}>, Record<never, never>>;
|
|
6063
6506
|
};
|
|
6064
6507
|
commits: {
|
|
6065
6508
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6066
|
-
orgSlug: ZodOptional<ZodString>;
|
|
6067
6509
|
name: ZodString;
|
|
6068
6510
|
cursor: ZodOptional<ZodString>;
|
|
6069
6511
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -6082,7 +6524,12 @@ declare const contract: {
|
|
|
6082
6524
|
readonly BAD_REQUEST: {
|
|
6083
6525
|
readonly status: 400;
|
|
6084
6526
|
readonly message: "Bad request";
|
|
6085
|
-
readonly data: ZodOptional<ZodObject<{
|
|
6527
|
+
readonly data: ZodOptional<ZodObject<{
|
|
6528
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
6529
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
6530
|
+
message: ZodString;
|
|
6531
|
+
}, $strip>>>;
|
|
6532
|
+
}, $strip>>;
|
|
6086
6533
|
};
|
|
6087
6534
|
readonly UNAUTHENTICATED: {
|
|
6088
6535
|
readonly status: 401;
|
|
@@ -6231,9 +6678,23 @@ declare const contract: {
|
|
|
6231
6678
|
name: ZodString;
|
|
6232
6679
|
}, $strip>;
|
|
6233
6680
|
};
|
|
6681
|
+
readonly ORG_LAST_OWNED: {
|
|
6682
|
+
readonly status: 409;
|
|
6683
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6684
|
+
readonly data: ZodObject<{
|
|
6685
|
+
slug: ZodString;
|
|
6686
|
+
}, $strip>;
|
|
6687
|
+
};
|
|
6688
|
+
readonly ORG_HAS_REPOS: {
|
|
6689
|
+
readonly status: 409;
|
|
6690
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6691
|
+
readonly data: ZodObject<{
|
|
6692
|
+
slug: ZodString;
|
|
6693
|
+
repoCount: ZodNumber;
|
|
6694
|
+
}, $strip>;
|
|
6695
|
+
};
|
|
6234
6696
|
}>, Record<never, never>>;
|
|
6235
6697
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6236
|
-
orgSlug: ZodOptional<ZodString>;
|
|
6237
6698
|
name: ZodString;
|
|
6238
6699
|
oid: ZodString;
|
|
6239
6700
|
}, $strip>, ZodObject<{
|
|
@@ -6246,7 +6707,12 @@ declare const contract: {
|
|
|
6246
6707
|
readonly BAD_REQUEST: {
|
|
6247
6708
|
readonly status: 400;
|
|
6248
6709
|
readonly message: "Bad request";
|
|
6249
|
-
readonly data: ZodOptional<ZodObject<{
|
|
6710
|
+
readonly data: ZodOptional<ZodObject<{
|
|
6711
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
6712
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
6713
|
+
message: ZodString;
|
|
6714
|
+
}, $strip>>>;
|
|
6715
|
+
}, $strip>>;
|
|
6250
6716
|
};
|
|
6251
6717
|
readonly UNAUTHENTICATED: {
|
|
6252
6718
|
readonly status: 401;
|
|
@@ -6395,9 +6861,23 @@ declare const contract: {
|
|
|
6395
6861
|
name: ZodString;
|
|
6396
6862
|
}, $strip>;
|
|
6397
6863
|
};
|
|
6864
|
+
readonly ORG_LAST_OWNED: {
|
|
6865
|
+
readonly status: 409;
|
|
6866
|
+
readonly message: "Cannot delete your last owned organization";
|
|
6867
|
+
readonly data: ZodObject<{
|
|
6868
|
+
slug: ZodString;
|
|
6869
|
+
}, $strip>;
|
|
6870
|
+
};
|
|
6871
|
+
readonly ORG_HAS_REPOS: {
|
|
6872
|
+
readonly status: 409;
|
|
6873
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
6874
|
+
readonly data: ZodObject<{
|
|
6875
|
+
slug: ZodString;
|
|
6876
|
+
repoCount: ZodNumber;
|
|
6877
|
+
}, $strip>;
|
|
6878
|
+
};
|
|
6398
6879
|
}>, Record<never, never>>;
|
|
6399
6880
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6400
|
-
orgSlug: ZodOptional<ZodString>;
|
|
6401
6881
|
name: ZodString;
|
|
6402
6882
|
ref: ZodString;
|
|
6403
6883
|
message: ZodString;
|
|
@@ -6437,7 +6917,12 @@ declare const contract: {
|
|
|
6437
6917
|
readonly BAD_REQUEST: {
|
|
6438
6918
|
readonly status: 400;
|
|
6439
6919
|
readonly message: "Bad request";
|
|
6440
|
-
readonly data: ZodOptional<ZodObject<{
|
|
6920
|
+
readonly data: ZodOptional<ZodObject<{
|
|
6921
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
6922
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
6923
|
+
message: ZodString;
|
|
6924
|
+
}, $strip>>>;
|
|
6925
|
+
}, $strip>>;
|
|
6441
6926
|
};
|
|
6442
6927
|
readonly UNAUTHENTICATED: {
|
|
6443
6928
|
readonly status: 401;
|
|
@@ -6586,11 +7071,25 @@ declare const contract: {
|
|
|
6586
7071
|
name: ZodString;
|
|
6587
7072
|
}, $strip>;
|
|
6588
7073
|
};
|
|
7074
|
+
readonly ORG_LAST_OWNED: {
|
|
7075
|
+
readonly status: 409;
|
|
7076
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7077
|
+
readonly data: ZodObject<{
|
|
7078
|
+
slug: ZodString;
|
|
7079
|
+
}, $strip>;
|
|
7080
|
+
};
|
|
7081
|
+
readonly ORG_HAS_REPOS: {
|
|
7082
|
+
readonly status: 409;
|
|
7083
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7084
|
+
readonly data: ZodObject<{
|
|
7085
|
+
slug: ZodString;
|
|
7086
|
+
repoCount: ZodNumber;
|
|
7087
|
+
}, $strip>;
|
|
7088
|
+
};
|
|
6589
7089
|
}>, Record<never, never>>;
|
|
6590
7090
|
};
|
|
6591
7091
|
tree: {
|
|
6592
7092
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6593
|
-
orgSlug: ZodOptional<ZodString>;
|
|
6594
7093
|
name: ZodString;
|
|
6595
7094
|
ref: ZodDefault<ZodString>;
|
|
6596
7095
|
path: ZodOptional<ZodString>;
|
|
@@ -6613,7 +7112,12 @@ declare const contract: {
|
|
|
6613
7112
|
readonly BAD_REQUEST: {
|
|
6614
7113
|
readonly status: 400;
|
|
6615
7114
|
readonly message: "Bad request";
|
|
6616
|
-
readonly data: ZodOptional<ZodObject<{
|
|
7115
|
+
readonly data: ZodOptional<ZodObject<{
|
|
7116
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
7117
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
7118
|
+
message: ZodString;
|
|
7119
|
+
}, $strip>>>;
|
|
7120
|
+
}, $strip>>;
|
|
6617
7121
|
};
|
|
6618
7122
|
readonly UNAUTHENTICATED: {
|
|
6619
7123
|
readonly status: 401;
|
|
@@ -6762,11 +7266,25 @@ declare const contract: {
|
|
|
6762
7266
|
name: ZodString;
|
|
6763
7267
|
}, $strip>;
|
|
6764
7268
|
};
|
|
7269
|
+
readonly ORG_LAST_OWNED: {
|
|
7270
|
+
readonly status: 409;
|
|
7271
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7272
|
+
readonly data: ZodObject<{
|
|
7273
|
+
slug: ZodString;
|
|
7274
|
+
}, $strip>;
|
|
7275
|
+
};
|
|
7276
|
+
readonly ORG_HAS_REPOS: {
|
|
7277
|
+
readonly status: 409;
|
|
7278
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7279
|
+
readonly data: ZodObject<{
|
|
7280
|
+
slug: ZodString;
|
|
7281
|
+
repoCount: ZodNumber;
|
|
7282
|
+
}, $strip>;
|
|
7283
|
+
};
|
|
6765
7284
|
}>, Record<never, never>>;
|
|
6766
7285
|
};
|
|
6767
7286
|
blob: {
|
|
6768
7287
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6769
|
-
orgSlug: ZodOptional<ZodString>;
|
|
6770
7288
|
name: ZodString;
|
|
6771
7289
|
oid: ZodString;
|
|
6772
7290
|
}, $strip>, ZodUnion<readonly [ZodObject<{
|
|
@@ -6782,7 +7300,12 @@ declare const contract: {
|
|
|
6782
7300
|
readonly BAD_REQUEST: {
|
|
6783
7301
|
readonly status: 400;
|
|
6784
7302
|
readonly message: "Bad request";
|
|
6785
|
-
readonly data: ZodOptional<ZodObject<{
|
|
7303
|
+
readonly data: ZodOptional<ZodObject<{
|
|
7304
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
7305
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
7306
|
+
message: ZodString;
|
|
7307
|
+
}, $strip>>>;
|
|
7308
|
+
}, $strip>>;
|
|
6786
7309
|
};
|
|
6787
7310
|
readonly UNAUTHENTICATED: {
|
|
6788
7311
|
readonly status: 401;
|
|
@@ -6931,11 +7454,25 @@ declare const contract: {
|
|
|
6931
7454
|
name: ZodString;
|
|
6932
7455
|
}, $strip>;
|
|
6933
7456
|
};
|
|
7457
|
+
readonly ORG_LAST_OWNED: {
|
|
7458
|
+
readonly status: 409;
|
|
7459
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7460
|
+
readonly data: ZodObject<{
|
|
7461
|
+
slug: ZodString;
|
|
7462
|
+
}, $strip>;
|
|
7463
|
+
};
|
|
7464
|
+
readonly ORG_HAS_REPOS: {
|
|
7465
|
+
readonly status: 409;
|
|
7466
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7467
|
+
readonly data: ZodObject<{
|
|
7468
|
+
slug: ZodString;
|
|
7469
|
+
repoCount: ZodNumber;
|
|
7470
|
+
}, $strip>;
|
|
7471
|
+
};
|
|
6934
7472
|
}>, Record<never, never>>;
|
|
6935
7473
|
};
|
|
6936
7474
|
workspace: {
|
|
6937
7475
|
commit: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6938
|
-
orgSlug: ZodOptional<ZodString>;
|
|
6939
7476
|
name: ZodString;
|
|
6940
7477
|
ref: ZodDefault<ZodString>;
|
|
6941
7478
|
message: ZodString;
|
|
@@ -6979,7 +7516,12 @@ declare const contract: {
|
|
|
6979
7516
|
readonly BAD_REQUEST: {
|
|
6980
7517
|
readonly status: 400;
|
|
6981
7518
|
readonly message: "Bad request";
|
|
6982
|
-
readonly data: ZodOptional<ZodObject<{
|
|
7519
|
+
readonly data: ZodOptional<ZodObject<{
|
|
7520
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
7521
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
7522
|
+
message: ZodString;
|
|
7523
|
+
}, $strip>>>;
|
|
7524
|
+
}, $strip>>;
|
|
6983
7525
|
};
|
|
6984
7526
|
readonly UNAUTHENTICATED: {
|
|
6985
7527
|
readonly status: 401;
|
|
@@ -7128,10 +7670,24 @@ declare const contract: {
|
|
|
7128
7670
|
name: ZodString;
|
|
7129
7671
|
}, $strip>;
|
|
7130
7672
|
};
|
|
7673
|
+
readonly ORG_LAST_OWNED: {
|
|
7674
|
+
readonly status: 409;
|
|
7675
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7676
|
+
readonly data: ZodObject<{
|
|
7677
|
+
slug: ZodString;
|
|
7678
|
+
}, $strip>;
|
|
7679
|
+
};
|
|
7680
|
+
readonly ORG_HAS_REPOS: {
|
|
7681
|
+
readonly status: 409;
|
|
7682
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7683
|
+
readonly data: ZodObject<{
|
|
7684
|
+
slug: ZodString;
|
|
7685
|
+
repoCount: ZodNumber;
|
|
7686
|
+
}, $strip>;
|
|
7687
|
+
};
|
|
7131
7688
|
}>, Record<never, never>>;
|
|
7132
7689
|
};
|
|
7133
7690
|
compare: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
7134
|
-
orgSlug: ZodOptional<ZodString>;
|
|
7135
7691
|
name: ZodString;
|
|
7136
7692
|
base: ZodString;
|
|
7137
7693
|
head: ZodString;
|
|
@@ -7166,7 +7722,12 @@ declare const contract: {
|
|
|
7166
7722
|
readonly BAD_REQUEST: {
|
|
7167
7723
|
readonly status: 400;
|
|
7168
7724
|
readonly message: "Bad request";
|
|
7169
|
-
readonly data: ZodOptional<ZodObject<{
|
|
7725
|
+
readonly data: ZodOptional<ZodObject<{
|
|
7726
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
7727
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
7728
|
+
message: ZodString;
|
|
7729
|
+
}, $strip>>>;
|
|
7730
|
+
}, $strip>>;
|
|
7170
7731
|
};
|
|
7171
7732
|
readonly UNAUTHENTICATED: {
|
|
7172
7733
|
readonly status: 401;
|
|
@@ -7315,9 +7876,23 @@ declare const contract: {
|
|
|
7315
7876
|
name: ZodString;
|
|
7316
7877
|
}, $strip>;
|
|
7317
7878
|
};
|
|
7879
|
+
readonly ORG_LAST_OWNED: {
|
|
7880
|
+
readonly status: 409;
|
|
7881
|
+
readonly message: "Cannot delete your last owned organization";
|
|
7882
|
+
readonly data: ZodObject<{
|
|
7883
|
+
slug: ZodString;
|
|
7884
|
+
}, $strip>;
|
|
7885
|
+
};
|
|
7886
|
+
readonly ORG_HAS_REPOS: {
|
|
7887
|
+
readonly status: 409;
|
|
7888
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
7889
|
+
readonly data: ZodObject<{
|
|
7890
|
+
slug: ZodString;
|
|
7891
|
+
repoCount: ZodNumber;
|
|
7892
|
+
}, $strip>;
|
|
7893
|
+
};
|
|
7318
7894
|
}>, Record<never, never>>;
|
|
7319
7895
|
diff: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
7320
|
-
orgSlug: ZodOptional<ZodString>;
|
|
7321
7896
|
name: ZodString;
|
|
7322
7897
|
base: ZodString;
|
|
7323
7898
|
head: ZodString;
|
|
@@ -7355,7 +7930,12 @@ declare const contract: {
|
|
|
7355
7930
|
readonly BAD_REQUEST: {
|
|
7356
7931
|
readonly status: 400;
|
|
7357
7932
|
readonly message: "Bad request";
|
|
7358
|
-
readonly data: ZodOptional<ZodObject<{
|
|
7933
|
+
readonly data: ZodOptional<ZodObject<{
|
|
7934
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
7935
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
7936
|
+
message: ZodString;
|
|
7937
|
+
}, $strip>>>;
|
|
7938
|
+
}, $strip>>;
|
|
7359
7939
|
};
|
|
7360
7940
|
readonly UNAUTHENTICATED: {
|
|
7361
7941
|
readonly status: 401;
|
|
@@ -7504,6 +8084,21 @@ declare const contract: {
|
|
|
7504
8084
|
name: ZodString;
|
|
7505
8085
|
}, $strip>;
|
|
7506
8086
|
};
|
|
8087
|
+
readonly ORG_LAST_OWNED: {
|
|
8088
|
+
readonly status: 409;
|
|
8089
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8090
|
+
readonly data: ZodObject<{
|
|
8091
|
+
slug: ZodString;
|
|
8092
|
+
}, $strip>;
|
|
8093
|
+
};
|
|
8094
|
+
readonly ORG_HAS_REPOS: {
|
|
8095
|
+
readonly status: 409;
|
|
8096
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8097
|
+
readonly data: ZodObject<{
|
|
8098
|
+
slug: ZodString;
|
|
8099
|
+
repoCount: ZodNumber;
|
|
8100
|
+
}, $strip>;
|
|
8101
|
+
};
|
|
7507
8102
|
}>, Record<never, never>>;
|
|
7508
8103
|
};
|
|
7509
8104
|
keys: {
|
|
@@ -7553,7 +8148,12 @@ declare const contract: {
|
|
|
7553
8148
|
readonly BAD_REQUEST: {
|
|
7554
8149
|
readonly status: 400;
|
|
7555
8150
|
readonly message: "Bad request";
|
|
7556
|
-
readonly data: ZodOptional<ZodObject<{
|
|
8151
|
+
readonly data: ZodOptional<ZodObject<{
|
|
8152
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
8153
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
8154
|
+
message: ZodString;
|
|
8155
|
+
}, $strip>>>;
|
|
8156
|
+
}, $strip>>;
|
|
7557
8157
|
};
|
|
7558
8158
|
readonly UNAUTHENTICATED: {
|
|
7559
8159
|
readonly status: 401;
|
|
@@ -7702,6 +8302,21 @@ declare const contract: {
|
|
|
7702
8302
|
name: ZodString;
|
|
7703
8303
|
}, $strip>;
|
|
7704
8304
|
};
|
|
8305
|
+
readonly ORG_LAST_OWNED: {
|
|
8306
|
+
readonly status: 409;
|
|
8307
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8308
|
+
readonly data: ZodObject<{
|
|
8309
|
+
slug: ZodString;
|
|
8310
|
+
}, $strip>;
|
|
8311
|
+
};
|
|
8312
|
+
readonly ORG_HAS_REPOS: {
|
|
8313
|
+
readonly status: 409;
|
|
8314
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8315
|
+
readonly data: ZodObject<{
|
|
8316
|
+
slug: ZodString;
|
|
8317
|
+
repoCount: ZodNumber;
|
|
8318
|
+
}, $strip>;
|
|
8319
|
+
};
|
|
7705
8320
|
}>, Record<never, never>>;
|
|
7706
8321
|
list: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, ZodObject<{
|
|
7707
8322
|
items: ZodArray<ZodObject<{
|
|
@@ -7731,7 +8346,12 @@ declare const contract: {
|
|
|
7731
8346
|
readonly BAD_REQUEST: {
|
|
7732
8347
|
readonly status: 400;
|
|
7733
8348
|
readonly message: "Bad request";
|
|
7734
|
-
readonly data: ZodOptional<ZodObject<{
|
|
8349
|
+
readonly data: ZodOptional<ZodObject<{
|
|
8350
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
8351
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
8352
|
+
message: ZodString;
|
|
8353
|
+
}, $strip>>>;
|
|
8354
|
+
}, $strip>>;
|
|
7735
8355
|
};
|
|
7736
8356
|
readonly UNAUTHENTICATED: {
|
|
7737
8357
|
readonly status: 401;
|
|
@@ -7880,6 +8500,21 @@ declare const contract: {
|
|
|
7880
8500
|
name: ZodString;
|
|
7881
8501
|
}, $strip>;
|
|
7882
8502
|
};
|
|
8503
|
+
readonly ORG_LAST_OWNED: {
|
|
8504
|
+
readonly status: 409;
|
|
8505
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8506
|
+
readonly data: ZodObject<{
|
|
8507
|
+
slug: ZodString;
|
|
8508
|
+
}, $strip>;
|
|
8509
|
+
};
|
|
8510
|
+
readonly ORG_HAS_REPOS: {
|
|
8511
|
+
readonly status: 409;
|
|
8512
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8513
|
+
readonly data: ZodObject<{
|
|
8514
|
+
slug: ZodString;
|
|
8515
|
+
repoCount: ZodNumber;
|
|
8516
|
+
}, $strip>;
|
|
8517
|
+
};
|
|
7883
8518
|
}>, Record<never, never>>;
|
|
7884
8519
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
7885
8520
|
id: ZodString;
|
|
@@ -7889,7 +8524,12 @@ declare const contract: {
|
|
|
7889
8524
|
readonly BAD_REQUEST: {
|
|
7890
8525
|
readonly status: 400;
|
|
7891
8526
|
readonly message: "Bad request";
|
|
7892
|
-
readonly data: ZodOptional<ZodObject<{
|
|
8527
|
+
readonly data: ZodOptional<ZodObject<{
|
|
8528
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
8529
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
8530
|
+
message: ZodString;
|
|
8531
|
+
}, $strip>>>;
|
|
8532
|
+
}, $strip>>;
|
|
7893
8533
|
};
|
|
7894
8534
|
readonly UNAUTHENTICATED: {
|
|
7895
8535
|
readonly status: 401;
|
|
@@ -8038,6 +8678,21 @@ declare const contract: {
|
|
|
8038
8678
|
name: ZodString;
|
|
8039
8679
|
}, $strip>;
|
|
8040
8680
|
};
|
|
8681
|
+
readonly ORG_LAST_OWNED: {
|
|
8682
|
+
readonly status: 409;
|
|
8683
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8684
|
+
readonly data: ZodObject<{
|
|
8685
|
+
slug: ZodString;
|
|
8686
|
+
}, $strip>;
|
|
8687
|
+
};
|
|
8688
|
+
readonly ORG_HAS_REPOS: {
|
|
8689
|
+
readonly status: 409;
|
|
8690
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8691
|
+
readonly data: ZodObject<{
|
|
8692
|
+
slug: ZodString;
|
|
8693
|
+
repoCount: ZodNumber;
|
|
8694
|
+
}, $strip>;
|
|
8695
|
+
};
|
|
8041
8696
|
}>, Record<never, never>>;
|
|
8042
8697
|
};
|
|
8043
8698
|
me: {
|
|
@@ -8079,7 +8734,12 @@ declare const contract: {
|
|
|
8079
8734
|
readonly BAD_REQUEST: {
|
|
8080
8735
|
readonly status: 400;
|
|
8081
8736
|
readonly message: "Bad request";
|
|
8082
|
-
readonly data: ZodOptional<ZodObject<{
|
|
8737
|
+
readonly data: ZodOptional<ZodObject<{
|
|
8738
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
8739
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
8740
|
+
message: ZodString;
|
|
8741
|
+
}, $strip>>>;
|
|
8742
|
+
}, $strip>>;
|
|
8083
8743
|
};
|
|
8084
8744
|
readonly UNAUTHENTICATED: {
|
|
8085
8745
|
readonly status: 401;
|
|
@@ -8228,12 +8888,26 @@ declare const contract: {
|
|
|
8228
8888
|
name: ZodString;
|
|
8229
8889
|
}, $strip>;
|
|
8230
8890
|
};
|
|
8891
|
+
readonly ORG_LAST_OWNED: {
|
|
8892
|
+
readonly status: 409;
|
|
8893
|
+
readonly message: "Cannot delete your last owned organization";
|
|
8894
|
+
readonly data: ZodObject<{
|
|
8895
|
+
slug: ZodString;
|
|
8896
|
+
}, $strip>;
|
|
8897
|
+
};
|
|
8898
|
+
readonly ORG_HAS_REPOS: {
|
|
8899
|
+
readonly status: 409;
|
|
8900
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
8901
|
+
readonly data: ZodObject<{
|
|
8902
|
+
slug: ZodString;
|
|
8903
|
+
repoCount: ZodNumber;
|
|
8904
|
+
}, $strip>;
|
|
8905
|
+
};
|
|
8231
8906
|
}>, Record<never, never>>;
|
|
8232
8907
|
};
|
|
8233
8908
|
orgs: {
|
|
8234
8909
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
8235
|
-
|
|
8236
|
-
name: ZodString;
|
|
8910
|
+
name: ZodOptional<ZodString>;
|
|
8237
8911
|
}, $strip>, ZodObject<{
|
|
8238
8912
|
id: ZodString;
|
|
8239
8913
|
slug: ZodString;
|
|
@@ -8245,7 +8919,12 @@ declare const contract: {
|
|
|
8245
8919
|
readonly BAD_REQUEST: {
|
|
8246
8920
|
readonly status: 400;
|
|
8247
8921
|
readonly message: "Bad request";
|
|
8248
|
-
readonly data: ZodOptional<ZodObject<{
|
|
8922
|
+
readonly data: ZodOptional<ZodObject<{
|
|
8923
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
8924
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
8925
|
+
message: ZodString;
|
|
8926
|
+
}, $strip>>>;
|
|
8927
|
+
}, $strip>>;
|
|
8249
8928
|
};
|
|
8250
8929
|
readonly UNAUTHENTICATED: {
|
|
8251
8930
|
readonly status: 401;
|
|
@@ -8394,6 +9073,21 @@ declare const contract: {
|
|
|
8394
9073
|
name: ZodString;
|
|
8395
9074
|
}, $strip>;
|
|
8396
9075
|
};
|
|
9076
|
+
readonly ORG_LAST_OWNED: {
|
|
9077
|
+
readonly status: 409;
|
|
9078
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9079
|
+
readonly data: ZodObject<{
|
|
9080
|
+
slug: ZodString;
|
|
9081
|
+
}, $strip>;
|
|
9082
|
+
};
|
|
9083
|
+
readonly ORG_HAS_REPOS: {
|
|
9084
|
+
readonly status: 409;
|
|
9085
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9086
|
+
readonly data: ZodObject<{
|
|
9087
|
+
slug: ZodString;
|
|
9088
|
+
repoCount: ZodNumber;
|
|
9089
|
+
}, $strip>;
|
|
9090
|
+
};
|
|
8397
9091
|
}>, Record<never, never>>;
|
|
8398
9092
|
list: _$_orpc_contract0.ContractProcedureBuilderWithOutput<_$_orpc_contract0.Schema<unknown, unknown>, ZodObject<{
|
|
8399
9093
|
items: ZodArray<ZodObject<{
|
|
@@ -8408,7 +9102,12 @@ declare const contract: {
|
|
|
8408
9102
|
readonly BAD_REQUEST: {
|
|
8409
9103
|
readonly status: 400;
|
|
8410
9104
|
readonly message: "Bad request";
|
|
8411
|
-
readonly data: ZodOptional<ZodObject<{
|
|
9105
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9106
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
9107
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
9108
|
+
message: ZodString;
|
|
9109
|
+
}, $strip>>>;
|
|
9110
|
+
}, $strip>>;
|
|
8412
9111
|
};
|
|
8413
9112
|
readonly UNAUTHENTICATED: {
|
|
8414
9113
|
readonly status: 401;
|
|
@@ -8557,6 +9256,21 @@ declare const contract: {
|
|
|
8557
9256
|
name: ZodString;
|
|
8558
9257
|
}, $strip>;
|
|
8559
9258
|
};
|
|
9259
|
+
readonly ORG_LAST_OWNED: {
|
|
9260
|
+
readonly status: 409;
|
|
9261
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9262
|
+
readonly data: ZodObject<{
|
|
9263
|
+
slug: ZodString;
|
|
9264
|
+
}, $strip>;
|
|
9265
|
+
};
|
|
9266
|
+
readonly ORG_HAS_REPOS: {
|
|
9267
|
+
readonly status: 409;
|
|
9268
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9269
|
+
readonly data: ZodObject<{
|
|
9270
|
+
slug: ZodString;
|
|
9271
|
+
repoCount: ZodNumber;
|
|
9272
|
+
}, $strip>;
|
|
9273
|
+
};
|
|
8560
9274
|
}>, Record<never, never>>;
|
|
8561
9275
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
8562
9276
|
idOrSlug: ZodString;
|
|
@@ -8571,7 +9285,12 @@ declare const contract: {
|
|
|
8571
9285
|
readonly BAD_REQUEST: {
|
|
8572
9286
|
readonly status: 400;
|
|
8573
9287
|
readonly message: "Bad request";
|
|
8574
|
-
readonly data: ZodOptional<ZodObject<{
|
|
9288
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9289
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
9290
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
9291
|
+
message: ZodString;
|
|
9292
|
+
}, $strip>>>;
|
|
9293
|
+
}, $strip>>;
|
|
8575
9294
|
};
|
|
8576
9295
|
readonly UNAUTHENTICATED: {
|
|
8577
9296
|
readonly status: 401;
|
|
@@ -8720,6 +9439,21 @@ declare const contract: {
|
|
|
8720
9439
|
name: ZodString;
|
|
8721
9440
|
}, $strip>;
|
|
8722
9441
|
};
|
|
9442
|
+
readonly ORG_LAST_OWNED: {
|
|
9443
|
+
readonly status: 409;
|
|
9444
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9445
|
+
readonly data: ZodObject<{
|
|
9446
|
+
slug: ZodString;
|
|
9447
|
+
}, $strip>;
|
|
9448
|
+
};
|
|
9449
|
+
readonly ORG_HAS_REPOS: {
|
|
9450
|
+
readonly status: 409;
|
|
9451
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9452
|
+
readonly data: ZodObject<{
|
|
9453
|
+
slug: ZodString;
|
|
9454
|
+
repoCount: ZodNumber;
|
|
9455
|
+
}, $strip>;
|
|
9456
|
+
};
|
|
8723
9457
|
}>, Record<never, never>>;
|
|
8724
9458
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
8725
9459
|
idOrSlug: ZodString;
|
|
@@ -8729,7 +9463,12 @@ declare const contract: {
|
|
|
8729
9463
|
readonly BAD_REQUEST: {
|
|
8730
9464
|
readonly status: 400;
|
|
8731
9465
|
readonly message: "Bad request";
|
|
8732
|
-
readonly data: ZodOptional<ZodObject<{
|
|
9466
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9467
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
9468
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
9469
|
+
message: ZodString;
|
|
9470
|
+
}, $strip>>>;
|
|
9471
|
+
}, $strip>>;
|
|
8733
9472
|
};
|
|
8734
9473
|
readonly UNAUTHENTICATED: {
|
|
8735
9474
|
readonly status: 401;
|
|
@@ -8878,6 +9617,21 @@ declare const contract: {
|
|
|
8878
9617
|
name: ZodString;
|
|
8879
9618
|
}, $strip>;
|
|
8880
9619
|
};
|
|
9620
|
+
readonly ORG_LAST_OWNED: {
|
|
9621
|
+
readonly status: 409;
|
|
9622
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9623
|
+
readonly data: ZodObject<{
|
|
9624
|
+
slug: ZodString;
|
|
9625
|
+
}, $strip>;
|
|
9626
|
+
};
|
|
9627
|
+
readonly ORG_HAS_REPOS: {
|
|
9628
|
+
readonly status: 409;
|
|
9629
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9630
|
+
readonly data: ZodObject<{
|
|
9631
|
+
slug: ZodString;
|
|
9632
|
+
repoCount: ZodNumber;
|
|
9633
|
+
}, $strip>;
|
|
9634
|
+
};
|
|
8881
9635
|
}>, Record<never, never>>;
|
|
8882
9636
|
};
|
|
8883
9637
|
members: {
|
|
@@ -8894,14 +9648,209 @@ declare const contract: {
|
|
|
8894
9648
|
owner: "owner";
|
|
8895
9649
|
admin: "admin";
|
|
8896
9650
|
member: "member";
|
|
8897
|
-
}>;
|
|
9651
|
+
}>;
|
|
9652
|
+
createdAt: ZodNumber;
|
|
9653
|
+
}, $strip>>;
|
|
9654
|
+
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
9655
|
+
readonly BAD_REQUEST: {
|
|
9656
|
+
readonly status: 400;
|
|
9657
|
+
readonly message: "Bad request";
|
|
9658
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9659
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
9660
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
9661
|
+
message: ZodString;
|
|
9662
|
+
}, $strip>>>;
|
|
9663
|
+
}, $strip>>;
|
|
9664
|
+
};
|
|
9665
|
+
readonly UNAUTHENTICATED: {
|
|
9666
|
+
readonly status: 401;
|
|
9667
|
+
readonly message: "Sign in required";
|
|
9668
|
+
readonly data: ZodOptional<ZodObject<{}, $strip>>;
|
|
9669
|
+
};
|
|
9670
|
+
readonly TOO_MANY_REQUESTS: {
|
|
9671
|
+
readonly status: 429;
|
|
9672
|
+
readonly message: "Too many requests";
|
|
9673
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9674
|
+
retryAfterMs: ZodOptional<ZodNumber>;
|
|
9675
|
+
}, $strip>>;
|
|
9676
|
+
};
|
|
9677
|
+
readonly FORBIDDEN: {
|
|
9678
|
+
readonly status: 403;
|
|
9679
|
+
readonly message: "You do not have access to this resource";
|
|
9680
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9681
|
+
reason: ZodOptional<ZodEnum<{
|
|
9682
|
+
not_a_member: "not_a_member";
|
|
9683
|
+
insufficient_role: "insufficient_role";
|
|
9684
|
+
scope_missing: "scope_missing";
|
|
9685
|
+
}>>;
|
|
9686
|
+
}, $strip>>;
|
|
9687
|
+
};
|
|
9688
|
+
readonly INVITATION_NOT_FOUND: {
|
|
9689
|
+
readonly status: 404;
|
|
9690
|
+
readonly message: "Invitation not found";
|
|
9691
|
+
readonly data: ZodObject<{
|
|
9692
|
+
invitationId: ZodString;
|
|
9693
|
+
}, $strip>;
|
|
9694
|
+
};
|
|
9695
|
+
readonly KEY_NOT_FOUND: {
|
|
9696
|
+
readonly status: 404;
|
|
9697
|
+
readonly message: "API key not found";
|
|
9698
|
+
readonly data: ZodObject<{
|
|
9699
|
+
id: ZodString;
|
|
9700
|
+
}, $strip>;
|
|
9701
|
+
};
|
|
9702
|
+
readonly REPO_NOT_FOUND: {
|
|
9703
|
+
readonly status: 404;
|
|
9704
|
+
readonly message: "Repo not found";
|
|
9705
|
+
readonly data: ZodObject<{
|
|
9706
|
+
name: ZodString;
|
|
9707
|
+
}, $strip>;
|
|
9708
|
+
};
|
|
9709
|
+
readonly GIT_OBJECT_NOT_FOUND: {
|
|
9710
|
+
readonly status: 404;
|
|
9711
|
+
readonly message: "Git object not found";
|
|
9712
|
+
readonly data: ZodObject<{
|
|
9713
|
+
name: ZodString;
|
|
9714
|
+
object: ZodString;
|
|
9715
|
+
}, $strip>;
|
|
9716
|
+
};
|
|
9717
|
+
readonly REF_ALREADY_EXISTS: {
|
|
9718
|
+
readonly status: 409;
|
|
9719
|
+
readonly message: "Git ref already exists";
|
|
9720
|
+
readonly data: ZodObject<{
|
|
9721
|
+
name: ZodString;
|
|
9722
|
+
ref: ZodString;
|
|
9723
|
+
}, $strip>;
|
|
9724
|
+
};
|
|
9725
|
+
readonly STALE_REF: {
|
|
9726
|
+
readonly status: 409;
|
|
9727
|
+
readonly message: "Git ref is stale";
|
|
9728
|
+
readonly data: ZodObject<{
|
|
9729
|
+
name: ZodString;
|
|
9730
|
+
ref: ZodString;
|
|
9731
|
+
}, $strip>;
|
|
9732
|
+
};
|
|
9733
|
+
readonly NON_FAST_FORWARD: {
|
|
9734
|
+
readonly status: 422;
|
|
9735
|
+
readonly message: "Git ref update is not a fast-forward";
|
|
9736
|
+
readonly data: ZodObject<{
|
|
9737
|
+
name: ZodString;
|
|
9738
|
+
ref: ZodString;
|
|
9739
|
+
}, $strip>;
|
|
9740
|
+
};
|
|
9741
|
+
readonly INVALID_TREE: {
|
|
9742
|
+
readonly status: 422;
|
|
9743
|
+
readonly message: "Invalid git tree";
|
|
9744
|
+
readonly data: ZodObject<{
|
|
9745
|
+
name: ZodString;
|
|
9746
|
+
object: ZodString;
|
|
9747
|
+
}, $strip>;
|
|
9748
|
+
};
|
|
9749
|
+
readonly INVALID_PARENT: {
|
|
9750
|
+
readonly status: 422;
|
|
9751
|
+
readonly message: "Invalid git parent";
|
|
9752
|
+
readonly data: ZodObject<{
|
|
9753
|
+
name: ZodString;
|
|
9754
|
+
object: ZodString;
|
|
9755
|
+
}, $strip>;
|
|
9756
|
+
};
|
|
9757
|
+
readonly INVARIANT_WORKSPACE_REQUIRED: {
|
|
9758
|
+
readonly status: 503;
|
|
9759
|
+
readonly message: "Repo workspace is required for this git operation";
|
|
9760
|
+
readonly data: ZodObject<{
|
|
9761
|
+
name: ZodString;
|
|
9762
|
+
}, $strip>;
|
|
9763
|
+
};
|
|
9764
|
+
readonly GIT_REMOTE_WRITE_FAILED: {
|
|
9765
|
+
readonly status: 502;
|
|
9766
|
+
readonly message: "Git remote write failed";
|
|
9767
|
+
readonly data: ZodObject<{
|
|
9768
|
+
name: ZodString;
|
|
9769
|
+
ref: ZodString;
|
|
9770
|
+
}, $strip>;
|
|
9771
|
+
};
|
|
9772
|
+
readonly REPO_ALREADY_EXISTS: {
|
|
9773
|
+
readonly status: 409;
|
|
9774
|
+
readonly message: "Repo already exists";
|
|
9775
|
+
readonly data: ZodObject<{
|
|
9776
|
+
name: ZodString;
|
|
9777
|
+
}, $strip>;
|
|
9778
|
+
};
|
|
9779
|
+
readonly QUOTA_EXCEEDED: {
|
|
9780
|
+
readonly status: 429;
|
|
9781
|
+
readonly message: "Quota exceeded";
|
|
9782
|
+
readonly data: ZodObject<{
|
|
9783
|
+
scope: ZodEnum<{
|
|
9784
|
+
anon: "anon";
|
|
9785
|
+
org: "org";
|
|
9786
|
+
size: "size";
|
|
9787
|
+
}>;
|
|
9788
|
+
limit: ZodNumber;
|
|
9789
|
+
observed: ZodOptional<ZodNumber>;
|
|
9790
|
+
projected: ZodOptional<ZodNumber>;
|
|
9791
|
+
}, $strip>;
|
|
9792
|
+
};
|
|
9793
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
9794
|
+
readonly status: 413;
|
|
9795
|
+
readonly message: "Request payload exceeds the supported limit";
|
|
9796
|
+
readonly data: ZodObject<{
|
|
9797
|
+
scope: ZodEnum<{
|
|
9798
|
+
workspace_commit: "workspace_commit";
|
|
9799
|
+
git_workspace_memory: "git_workspace_memory";
|
|
9800
|
+
}>;
|
|
9801
|
+
limit: ZodNumber;
|
|
9802
|
+
observed: ZodOptional<ZodNumber>;
|
|
9803
|
+
}, $strip>;
|
|
9804
|
+
};
|
|
9805
|
+
readonly IMPORT_FAILED: {
|
|
9806
|
+
readonly status: 502;
|
|
9807
|
+
readonly message: "Repo import failed";
|
|
9808
|
+
readonly data: ZodObject<{
|
|
9809
|
+
name: ZodString;
|
|
9810
|
+
}, $strip>;
|
|
9811
|
+
};
|
|
9812
|
+
readonly ORG_LAST_OWNED: {
|
|
9813
|
+
readonly status: 409;
|
|
9814
|
+
readonly message: "Cannot delete your last owned organization";
|
|
9815
|
+
readonly data: ZodObject<{
|
|
9816
|
+
slug: ZodString;
|
|
9817
|
+
}, $strip>;
|
|
9818
|
+
};
|
|
9819
|
+
readonly ORG_HAS_REPOS: {
|
|
9820
|
+
readonly status: 409;
|
|
9821
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
9822
|
+
readonly data: ZodObject<{
|
|
9823
|
+
slug: ZodString;
|
|
9824
|
+
repoCount: ZodNumber;
|
|
9825
|
+
}, $strip>;
|
|
9826
|
+
};
|
|
9827
|
+
}>, Record<never, never>>;
|
|
9828
|
+
listInvitations: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9829
|
+
orgSlug: ZodString;
|
|
9830
|
+
}, $strip>, ZodObject<{
|
|
9831
|
+
items: ZodArray<ZodObject<{
|
|
9832
|
+
id: ZodString;
|
|
9833
|
+
organizationId: ZodString;
|
|
9834
|
+
email: ZodString;
|
|
9835
|
+
role: ZodUnion<[ZodEnum<{
|
|
9836
|
+
admin: "admin";
|
|
9837
|
+
member: "member";
|
|
9838
|
+
}>, ZodLiteral<"owner">]>;
|
|
9839
|
+
status: ZodString;
|
|
9840
|
+
inviterId: ZodString;
|
|
9841
|
+
expiresAt: ZodNumber;
|
|
8898
9842
|
createdAt: ZodNumber;
|
|
8899
9843
|
}, $strip>>;
|
|
8900
9844
|
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
8901
9845
|
readonly BAD_REQUEST: {
|
|
8902
9846
|
readonly status: 400;
|
|
8903
9847
|
readonly message: "Bad request";
|
|
8904
|
-
readonly data: ZodOptional<ZodObject<{
|
|
9848
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9849
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
9850
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
9851
|
+
message: ZodString;
|
|
9852
|
+
}, $strip>>>;
|
|
9853
|
+
}, $strip>>;
|
|
8905
9854
|
};
|
|
8906
9855
|
readonly UNAUTHENTICATED: {
|
|
8907
9856
|
readonly status: 401;
|
|
@@ -9050,6 +9999,21 @@ declare const contract: {
|
|
|
9050
9999
|
name: ZodString;
|
|
9051
10000
|
}, $strip>;
|
|
9052
10001
|
};
|
|
10002
|
+
readonly ORG_LAST_OWNED: {
|
|
10003
|
+
readonly status: 409;
|
|
10004
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10005
|
+
readonly data: ZodObject<{
|
|
10006
|
+
slug: ZodString;
|
|
10007
|
+
}, $strip>;
|
|
10008
|
+
};
|
|
10009
|
+
readonly ORG_HAS_REPOS: {
|
|
10010
|
+
readonly status: 409;
|
|
10011
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10012
|
+
readonly data: ZodObject<{
|
|
10013
|
+
slug: ZodString;
|
|
10014
|
+
repoCount: ZodNumber;
|
|
10015
|
+
}, $strip>;
|
|
10016
|
+
};
|
|
9053
10017
|
}>, Record<never, never>>;
|
|
9054
10018
|
invite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9055
10019
|
orgSlug: ZodString;
|
|
@@ -9073,7 +10037,12 @@ declare const contract: {
|
|
|
9073
10037
|
readonly BAD_REQUEST: {
|
|
9074
10038
|
readonly status: 400;
|
|
9075
10039
|
readonly message: "Bad request";
|
|
9076
|
-
readonly data: ZodOptional<ZodObject<{
|
|
10040
|
+
readonly data: ZodOptional<ZodObject<{
|
|
10041
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
10042
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
10043
|
+
message: ZodString;
|
|
10044
|
+
}, $strip>>>;
|
|
10045
|
+
}, $strip>>;
|
|
9077
10046
|
};
|
|
9078
10047
|
readonly UNAUTHENTICATED: {
|
|
9079
10048
|
readonly status: 401;
|
|
@@ -9222,6 +10191,21 @@ declare const contract: {
|
|
|
9222
10191
|
name: ZodString;
|
|
9223
10192
|
}, $strip>;
|
|
9224
10193
|
};
|
|
10194
|
+
readonly ORG_LAST_OWNED: {
|
|
10195
|
+
readonly status: 409;
|
|
10196
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10197
|
+
readonly data: ZodObject<{
|
|
10198
|
+
slug: ZodString;
|
|
10199
|
+
}, $strip>;
|
|
10200
|
+
};
|
|
10201
|
+
readonly ORG_HAS_REPOS: {
|
|
10202
|
+
readonly status: 409;
|
|
10203
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10204
|
+
readonly data: ZodObject<{
|
|
10205
|
+
slug: ZodString;
|
|
10206
|
+
repoCount: ZodNumber;
|
|
10207
|
+
}, $strip>;
|
|
10208
|
+
};
|
|
9225
10209
|
}>, Record<never, never>>;
|
|
9226
10210
|
remove: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9227
10211
|
orgSlug: ZodString;
|
|
@@ -9232,7 +10216,12 @@ declare const contract: {
|
|
|
9232
10216
|
readonly BAD_REQUEST: {
|
|
9233
10217
|
readonly status: 400;
|
|
9234
10218
|
readonly message: "Bad request";
|
|
9235
|
-
readonly data: ZodOptional<ZodObject<{
|
|
10219
|
+
readonly data: ZodOptional<ZodObject<{
|
|
10220
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
10221
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
10222
|
+
message: ZodString;
|
|
10223
|
+
}, $strip>>>;
|
|
10224
|
+
}, $strip>>;
|
|
9236
10225
|
};
|
|
9237
10226
|
readonly UNAUTHENTICATED: {
|
|
9238
10227
|
readonly status: 401;
|
|
@@ -9381,6 +10370,21 @@ declare const contract: {
|
|
|
9381
10370
|
name: ZodString;
|
|
9382
10371
|
}, $strip>;
|
|
9383
10372
|
};
|
|
10373
|
+
readonly ORG_LAST_OWNED: {
|
|
10374
|
+
readonly status: 409;
|
|
10375
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10376
|
+
readonly data: ZodObject<{
|
|
10377
|
+
slug: ZodString;
|
|
10378
|
+
}, $strip>;
|
|
10379
|
+
};
|
|
10380
|
+
readonly ORG_HAS_REPOS: {
|
|
10381
|
+
readonly status: 409;
|
|
10382
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10383
|
+
readonly data: ZodObject<{
|
|
10384
|
+
slug: ZodString;
|
|
10385
|
+
repoCount: ZodNumber;
|
|
10386
|
+
}, $strip>;
|
|
10387
|
+
};
|
|
9384
10388
|
}>, Record<never, never>>;
|
|
9385
10389
|
setRole: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9386
10390
|
orgSlug: ZodString;
|
|
@@ -9405,7 +10409,12 @@ declare const contract: {
|
|
|
9405
10409
|
readonly BAD_REQUEST: {
|
|
9406
10410
|
readonly status: 400;
|
|
9407
10411
|
readonly message: "Bad request";
|
|
9408
|
-
readonly data: ZodOptional<ZodObject<{
|
|
10412
|
+
readonly data: ZodOptional<ZodObject<{
|
|
10413
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
10414
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
10415
|
+
message: ZodString;
|
|
10416
|
+
}, $strip>>>;
|
|
10417
|
+
}, $strip>>;
|
|
9409
10418
|
};
|
|
9410
10419
|
readonly UNAUTHENTICATED: {
|
|
9411
10420
|
readonly status: 401;
|
|
@@ -9554,6 +10563,21 @@ declare const contract: {
|
|
|
9554
10563
|
name: ZodString;
|
|
9555
10564
|
}, $strip>;
|
|
9556
10565
|
};
|
|
10566
|
+
readonly ORG_LAST_OWNED: {
|
|
10567
|
+
readonly status: 409;
|
|
10568
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10569
|
+
readonly data: ZodObject<{
|
|
10570
|
+
slug: ZodString;
|
|
10571
|
+
}, $strip>;
|
|
10572
|
+
};
|
|
10573
|
+
readonly ORG_HAS_REPOS: {
|
|
10574
|
+
readonly status: 409;
|
|
10575
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10576
|
+
readonly data: ZodObject<{
|
|
10577
|
+
slug: ZodString;
|
|
10578
|
+
repoCount: ZodNumber;
|
|
10579
|
+
}, $strip>;
|
|
10580
|
+
};
|
|
9557
10581
|
}>, Record<never, never>>;
|
|
9558
10582
|
acceptInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9559
10583
|
invitationId: ZodString;
|
|
@@ -9563,7 +10587,12 @@ declare const contract: {
|
|
|
9563
10587
|
readonly BAD_REQUEST: {
|
|
9564
10588
|
readonly status: 400;
|
|
9565
10589
|
readonly message: "Bad request";
|
|
9566
|
-
readonly data: ZodOptional<ZodObject<{
|
|
10590
|
+
readonly data: ZodOptional<ZodObject<{
|
|
10591
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
10592
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
10593
|
+
message: ZodString;
|
|
10594
|
+
}, $strip>>>;
|
|
10595
|
+
}, $strip>>;
|
|
9567
10596
|
};
|
|
9568
10597
|
readonly UNAUTHENTICATED: {
|
|
9569
10598
|
readonly status: 401;
|
|
@@ -9712,6 +10741,21 @@ declare const contract: {
|
|
|
9712
10741
|
name: ZodString;
|
|
9713
10742
|
}, $strip>;
|
|
9714
10743
|
};
|
|
10744
|
+
readonly ORG_LAST_OWNED: {
|
|
10745
|
+
readonly status: 409;
|
|
10746
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10747
|
+
readonly data: ZodObject<{
|
|
10748
|
+
slug: ZodString;
|
|
10749
|
+
}, $strip>;
|
|
10750
|
+
};
|
|
10751
|
+
readonly ORG_HAS_REPOS: {
|
|
10752
|
+
readonly status: 409;
|
|
10753
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10754
|
+
readonly data: ZodObject<{
|
|
10755
|
+
slug: ZodString;
|
|
10756
|
+
repoCount: ZodNumber;
|
|
10757
|
+
}, $strip>;
|
|
10758
|
+
};
|
|
9715
10759
|
}>, Record<never, never>>;
|
|
9716
10760
|
cancelInvite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9717
10761
|
orgSlug: ZodString;
|
|
@@ -9722,7 +10766,12 @@ declare const contract: {
|
|
|
9722
10766
|
readonly BAD_REQUEST: {
|
|
9723
10767
|
readonly status: 400;
|
|
9724
10768
|
readonly message: "Bad request";
|
|
9725
|
-
readonly data: ZodOptional<ZodObject<{
|
|
10769
|
+
readonly data: ZodOptional<ZodObject<{
|
|
10770
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
10771
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
10772
|
+
message: ZodString;
|
|
10773
|
+
}, $strip>>>;
|
|
10774
|
+
}, $strip>>;
|
|
9726
10775
|
};
|
|
9727
10776
|
readonly UNAUTHENTICATED: {
|
|
9728
10777
|
readonly status: 401;
|
|
@@ -9871,6 +10920,21 @@ declare const contract: {
|
|
|
9871
10920
|
name: ZodString;
|
|
9872
10921
|
}, $strip>;
|
|
9873
10922
|
};
|
|
10923
|
+
readonly ORG_LAST_OWNED: {
|
|
10924
|
+
readonly status: 409;
|
|
10925
|
+
readonly message: "Cannot delete your last owned organization";
|
|
10926
|
+
readonly data: ZodObject<{
|
|
10927
|
+
slug: ZodString;
|
|
10928
|
+
}, $strip>;
|
|
10929
|
+
};
|
|
10930
|
+
readonly ORG_HAS_REPOS: {
|
|
10931
|
+
readonly status: 409;
|
|
10932
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
10933
|
+
readonly data: ZodObject<{
|
|
10934
|
+
slug: ZodString;
|
|
10935
|
+
repoCount: ZodNumber;
|
|
10936
|
+
}, $strip>;
|
|
10937
|
+
};
|
|
9874
10938
|
}>, Record<never, never>>;
|
|
9875
10939
|
setActive: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9876
10940
|
orgSlug: ZodString;
|
|
@@ -9880,7 +10944,12 @@ declare const contract: {
|
|
|
9880
10944
|
readonly BAD_REQUEST: {
|
|
9881
10945
|
readonly status: 400;
|
|
9882
10946
|
readonly message: "Bad request";
|
|
9883
|
-
readonly data: ZodOptional<ZodObject<{
|
|
10947
|
+
readonly data: ZodOptional<ZodObject<{
|
|
10948
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
10949
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
10950
|
+
message: ZodString;
|
|
10951
|
+
}, $strip>>>;
|
|
10952
|
+
}, $strip>>;
|
|
9884
10953
|
};
|
|
9885
10954
|
readonly UNAUTHENTICATED: {
|
|
9886
10955
|
readonly status: 401;
|
|
@@ -10029,21 +11098,33 @@ declare const contract: {
|
|
|
10029
11098
|
name: ZodString;
|
|
10030
11099
|
}, $strip>;
|
|
10031
11100
|
};
|
|
11101
|
+
readonly ORG_LAST_OWNED: {
|
|
11102
|
+
readonly status: 409;
|
|
11103
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11104
|
+
readonly data: ZodObject<{
|
|
11105
|
+
slug: ZodString;
|
|
11106
|
+
}, $strip>;
|
|
11107
|
+
};
|
|
11108
|
+
readonly ORG_HAS_REPOS: {
|
|
11109
|
+
readonly status: 409;
|
|
11110
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11111
|
+
readonly data: ZodObject<{
|
|
11112
|
+
slug: ZodString;
|
|
11113
|
+
repoCount: ZodNumber;
|
|
11114
|
+
}, $strip>;
|
|
11115
|
+
};
|
|
10032
11116
|
}>, Record<never, never>>;
|
|
10033
11117
|
};
|
|
10034
11118
|
repos: {
|
|
10035
11119
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10036
|
-
orgSlug: ZodOptional<ZodString>;
|
|
10037
11120
|
name: ZodString;
|
|
10038
11121
|
description: ZodOptional<ZodString>;
|
|
10039
|
-
defaultBranch: ZodDefault<ZodString
|
|
11122
|
+
defaultBranch: ZodDefault<ZodPipe<ZodPipe<ZodString, ZodTransform<string, string>>, ZodString>>;
|
|
10040
11123
|
}, $strip>, ZodObject<{
|
|
10041
|
-
orgId: ZodString;
|
|
10042
11124
|
name: ZodString;
|
|
10043
11125
|
ownerId: ZodString;
|
|
10044
11126
|
description: ZodNullable<ZodString>;
|
|
10045
11127
|
defaultBranch: ZodString;
|
|
10046
|
-
artifactName: ZodString;
|
|
10047
11128
|
artifactId: ZodNullable<ZodString>;
|
|
10048
11129
|
remote: ZodNullable<ZodString>;
|
|
10049
11130
|
readOnly: ZodBoolean;
|
|
@@ -10052,12 +11133,18 @@ declare const contract: {
|
|
|
10052
11133
|
createdAt: ZodNumber;
|
|
10053
11134
|
updatedAt: ZodNumber;
|
|
10054
11135
|
token: ZodString;
|
|
11136
|
+
tokenScope: ZodLiteral<"read">;
|
|
10055
11137
|
tokenExpiresAt: ZodString;
|
|
10056
11138
|
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
10057
11139
|
readonly BAD_REQUEST: {
|
|
10058
11140
|
readonly status: 400;
|
|
10059
11141
|
readonly message: "Bad request";
|
|
10060
|
-
readonly data: ZodOptional<ZodObject<{
|
|
11142
|
+
readonly data: ZodOptional<ZodObject<{
|
|
11143
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
11144
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
11145
|
+
message: ZodString;
|
|
11146
|
+
}, $strip>>>;
|
|
11147
|
+
}, $strip>>;
|
|
10061
11148
|
};
|
|
10062
11149
|
readonly UNAUTHENTICATED: {
|
|
10063
11150
|
readonly status: 401;
|
|
@@ -10206,20 +11293,32 @@ declare const contract: {
|
|
|
10206
11293
|
name: ZodString;
|
|
10207
11294
|
}, $strip>;
|
|
10208
11295
|
};
|
|
11296
|
+
readonly ORG_LAST_OWNED: {
|
|
11297
|
+
readonly status: 409;
|
|
11298
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11299
|
+
readonly data: ZodObject<{
|
|
11300
|
+
slug: ZodString;
|
|
11301
|
+
}, $strip>;
|
|
11302
|
+
};
|
|
11303
|
+
readonly ORG_HAS_REPOS: {
|
|
11304
|
+
readonly status: 409;
|
|
11305
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11306
|
+
readonly data: ZodObject<{
|
|
11307
|
+
slug: ZodString;
|
|
11308
|
+
repoCount: ZodNumber;
|
|
11309
|
+
}, $strip>;
|
|
11310
|
+
};
|
|
10209
11311
|
}>, Record<never, never>>;
|
|
10210
11312
|
importFromGitHub: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10211
|
-
orgSlug: ZodOptional<ZodString>;
|
|
10212
11313
|
name: ZodString;
|
|
10213
11314
|
description: ZodOptional<ZodString>;
|
|
10214
|
-
defaultBranch: ZodDefault<ZodString
|
|
11315
|
+
defaultBranch: ZodDefault<ZodPipe<ZodPipe<ZodString, ZodTransform<string, string>>, ZodString>>;
|
|
10215
11316
|
remote: ZodURL;
|
|
10216
11317
|
}, $strip>, ZodObject<{
|
|
10217
|
-
orgId: ZodString;
|
|
10218
11318
|
name: ZodString;
|
|
10219
11319
|
ownerId: ZodString;
|
|
10220
11320
|
description: ZodNullable<ZodString>;
|
|
10221
11321
|
defaultBranch: ZodString;
|
|
10222
|
-
artifactName: ZodString;
|
|
10223
11322
|
artifactId: ZodNullable<ZodString>;
|
|
10224
11323
|
remote: ZodNullable<ZodString>;
|
|
10225
11324
|
readOnly: ZodBoolean;
|
|
@@ -10228,12 +11327,18 @@ declare const contract: {
|
|
|
10228
11327
|
createdAt: ZodNumber;
|
|
10229
11328
|
updatedAt: ZodNumber;
|
|
10230
11329
|
token: ZodString;
|
|
11330
|
+
tokenScope: ZodLiteral<"read">;
|
|
10231
11331
|
tokenExpiresAt: ZodString;
|
|
10232
11332
|
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
10233
11333
|
readonly BAD_REQUEST: {
|
|
10234
11334
|
readonly status: 400;
|
|
10235
11335
|
readonly message: "Bad request";
|
|
10236
|
-
readonly data: ZodOptional<ZodObject<{
|
|
11336
|
+
readonly data: ZodOptional<ZodObject<{
|
|
11337
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
11338
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
11339
|
+
message: ZodString;
|
|
11340
|
+
}, $strip>>>;
|
|
11341
|
+
}, $strip>>;
|
|
10237
11342
|
};
|
|
10238
11343
|
readonly UNAUTHENTICATED: {
|
|
10239
11344
|
readonly status: 401;
|
|
@@ -10382,20 +11487,32 @@ declare const contract: {
|
|
|
10382
11487
|
name: ZodString;
|
|
10383
11488
|
}, $strip>;
|
|
10384
11489
|
};
|
|
11490
|
+
readonly ORG_LAST_OWNED: {
|
|
11491
|
+
readonly status: 409;
|
|
11492
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11493
|
+
readonly data: ZodObject<{
|
|
11494
|
+
slug: ZodString;
|
|
11495
|
+
}, $strip>;
|
|
11496
|
+
};
|
|
11497
|
+
readonly ORG_HAS_REPOS: {
|
|
11498
|
+
readonly status: 409;
|
|
11499
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11500
|
+
readonly data: ZodObject<{
|
|
11501
|
+
slug: ZodString;
|
|
11502
|
+
repoCount: ZodNumber;
|
|
11503
|
+
}, $strip>;
|
|
11504
|
+
};
|
|
10385
11505
|
}>, Record<never, never>>;
|
|
10386
11506
|
ensure: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10387
|
-
orgSlug: ZodOptional<ZodString>;
|
|
10388
11507
|
name: ZodString;
|
|
10389
11508
|
description: ZodOptional<ZodString>;
|
|
10390
|
-
defaultBranch: ZodDefault<ZodString
|
|
11509
|
+
defaultBranch: ZodDefault<ZodPipe<ZodPipe<ZodString, ZodTransform<string, string>>, ZodString>>;
|
|
10391
11510
|
}, $strip>, ZodObject<{
|
|
10392
11511
|
repo: ZodObject<{
|
|
10393
|
-
orgId: ZodString;
|
|
10394
11512
|
name: ZodString;
|
|
10395
11513
|
ownerId: ZodString;
|
|
10396
11514
|
description: ZodNullable<ZodString>;
|
|
10397
11515
|
defaultBranch: ZodString;
|
|
10398
|
-
artifactName: ZodString;
|
|
10399
11516
|
artifactId: ZodNullable<ZodString>;
|
|
10400
11517
|
remote: ZodNullable<ZodString>;
|
|
10401
11518
|
readOnly: ZodBoolean;
|
|
@@ -10409,7 +11526,12 @@ declare const contract: {
|
|
|
10409
11526
|
readonly BAD_REQUEST: {
|
|
10410
11527
|
readonly status: 400;
|
|
10411
11528
|
readonly message: "Bad request";
|
|
10412
|
-
readonly data: ZodOptional<ZodObject<{
|
|
11529
|
+
readonly data: ZodOptional<ZodObject<{
|
|
11530
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
11531
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
11532
|
+
message: ZodString;
|
|
11533
|
+
}, $strip>>>;
|
|
11534
|
+
}, $strip>>;
|
|
10413
11535
|
};
|
|
10414
11536
|
readonly UNAUTHENTICATED: {
|
|
10415
11537
|
readonly status: 401;
|
|
@@ -10558,17 +11680,29 @@ declare const contract: {
|
|
|
10558
11680
|
name: ZodString;
|
|
10559
11681
|
}, $strip>;
|
|
10560
11682
|
};
|
|
11683
|
+
readonly ORG_LAST_OWNED: {
|
|
11684
|
+
readonly status: 409;
|
|
11685
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11686
|
+
readonly data: ZodObject<{
|
|
11687
|
+
slug: ZodString;
|
|
11688
|
+
}, $strip>;
|
|
11689
|
+
};
|
|
11690
|
+
readonly ORG_HAS_REPOS: {
|
|
11691
|
+
readonly status: 409;
|
|
11692
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11693
|
+
readonly data: ZodObject<{
|
|
11694
|
+
slug: ZodString;
|
|
11695
|
+
repoCount: ZodNumber;
|
|
11696
|
+
}, $strip>;
|
|
11697
|
+
};
|
|
10561
11698
|
}>, Record<never, never>>;
|
|
10562
11699
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10563
|
-
orgSlug: ZodOptional<ZodString>;
|
|
10564
11700
|
name: ZodString;
|
|
10565
11701
|
}, $strip>, ZodObject<{
|
|
10566
|
-
orgId: ZodString;
|
|
10567
11702
|
name: ZodString;
|
|
10568
11703
|
ownerId: ZodString;
|
|
10569
11704
|
description: ZodNullable<ZodString>;
|
|
10570
11705
|
defaultBranch: ZodString;
|
|
10571
|
-
artifactName: ZodString;
|
|
10572
11706
|
artifactId: ZodNullable<ZodString>;
|
|
10573
11707
|
remote: ZodNullable<ZodString>;
|
|
10574
11708
|
readOnly: ZodBoolean;
|
|
@@ -10580,7 +11714,12 @@ declare const contract: {
|
|
|
10580
11714
|
readonly BAD_REQUEST: {
|
|
10581
11715
|
readonly status: 400;
|
|
10582
11716
|
readonly message: "Bad request";
|
|
10583
|
-
readonly data: ZodOptional<ZodObject<{
|
|
11717
|
+
readonly data: ZodOptional<ZodObject<{
|
|
11718
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
11719
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
11720
|
+
message: ZodString;
|
|
11721
|
+
}, $strip>>>;
|
|
11722
|
+
}, $strip>>;
|
|
10584
11723
|
};
|
|
10585
11724
|
readonly UNAUTHENTICATED: {
|
|
10586
11725
|
readonly status: 401;
|
|
@@ -10729,19 +11868,31 @@ declare const contract: {
|
|
|
10729
11868
|
name: ZodString;
|
|
10730
11869
|
}, $strip>;
|
|
10731
11870
|
};
|
|
11871
|
+
readonly ORG_LAST_OWNED: {
|
|
11872
|
+
readonly status: 409;
|
|
11873
|
+
readonly message: "Cannot delete your last owned organization";
|
|
11874
|
+
readonly data: ZodObject<{
|
|
11875
|
+
slug: ZodString;
|
|
11876
|
+
}, $strip>;
|
|
11877
|
+
};
|
|
11878
|
+
readonly ORG_HAS_REPOS: {
|
|
11879
|
+
readonly status: 409;
|
|
11880
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
11881
|
+
readonly data: ZodObject<{
|
|
11882
|
+
slug: ZodString;
|
|
11883
|
+
repoCount: ZodNumber;
|
|
11884
|
+
}, $strip>;
|
|
11885
|
+
};
|
|
10732
11886
|
}>, Record<never, never>>;
|
|
10733
11887
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10734
|
-
orgSlug: ZodOptional<ZodString>;
|
|
10735
11888
|
cursor: ZodOptional<ZodString>;
|
|
10736
11889
|
limit: ZodDefault<ZodNumber>;
|
|
10737
11890
|
}, $strip>, ZodObject<{
|
|
10738
11891
|
items: ZodArray<ZodObject<{
|
|
10739
|
-
orgId: ZodString;
|
|
10740
11892
|
name: ZodString;
|
|
10741
11893
|
ownerId: ZodString;
|
|
10742
11894
|
description: ZodNullable<ZodString>;
|
|
10743
11895
|
defaultBranch: ZodString;
|
|
10744
|
-
artifactName: ZodString;
|
|
10745
11896
|
artifactId: ZodNullable<ZodString>;
|
|
10746
11897
|
remote: ZodNullable<ZodString>;
|
|
10747
11898
|
readOnly: ZodBoolean;
|
|
@@ -10755,7 +11906,12 @@ declare const contract: {
|
|
|
10755
11906
|
readonly BAD_REQUEST: {
|
|
10756
11907
|
readonly status: 400;
|
|
10757
11908
|
readonly message: "Bad request";
|
|
10758
|
-
readonly data: ZodOptional<ZodObject<{
|
|
11909
|
+
readonly data: ZodOptional<ZodObject<{
|
|
11910
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
11911
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
11912
|
+
message: ZodString;
|
|
11913
|
+
}, $strip>>>;
|
|
11914
|
+
}, $strip>>;
|
|
10759
11915
|
};
|
|
10760
11916
|
readonly UNAUTHENTICATED: {
|
|
10761
11917
|
readonly status: 401;
|
|
@@ -10904,19 +12060,31 @@ declare const contract: {
|
|
|
10904
12060
|
name: ZodString;
|
|
10905
12061
|
}, $strip>;
|
|
10906
12062
|
};
|
|
12063
|
+
readonly ORG_LAST_OWNED: {
|
|
12064
|
+
readonly status: 409;
|
|
12065
|
+
readonly message: "Cannot delete your last owned organization";
|
|
12066
|
+
readonly data: ZodObject<{
|
|
12067
|
+
slug: ZodString;
|
|
12068
|
+
}, $strip>;
|
|
12069
|
+
};
|
|
12070
|
+
readonly ORG_HAS_REPOS: {
|
|
12071
|
+
readonly status: 409;
|
|
12072
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
12073
|
+
readonly data: ZodObject<{
|
|
12074
|
+
slug: ZodString;
|
|
12075
|
+
repoCount: ZodNumber;
|
|
12076
|
+
}, $strip>;
|
|
12077
|
+
};
|
|
10907
12078
|
}>, Record<never, never>>;
|
|
10908
12079
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10909
|
-
orgSlug: ZodOptional<ZodString>;
|
|
10910
12080
|
name: ZodString;
|
|
10911
12081
|
description: ZodOptional<ZodNullable<ZodString>>;
|
|
10912
|
-
defaultBranch: ZodOptional<ZodString
|
|
12082
|
+
defaultBranch: ZodOptional<ZodPipe<ZodPipe<ZodString, ZodTransform<string, string>>, ZodString>>;
|
|
10913
12083
|
}, $strip>, ZodObject<{
|
|
10914
|
-
orgId: ZodString;
|
|
10915
12084
|
name: ZodString;
|
|
10916
12085
|
ownerId: ZodString;
|
|
10917
12086
|
description: ZodNullable<ZodString>;
|
|
10918
12087
|
defaultBranch: ZodString;
|
|
10919
|
-
artifactName: ZodString;
|
|
10920
12088
|
artifactId: ZodNullable<ZodString>;
|
|
10921
12089
|
remote: ZodNullable<ZodString>;
|
|
10922
12090
|
readOnly: ZodBoolean;
|
|
@@ -10928,7 +12096,12 @@ declare const contract: {
|
|
|
10928
12096
|
readonly BAD_REQUEST: {
|
|
10929
12097
|
readonly status: 400;
|
|
10930
12098
|
readonly message: "Bad request";
|
|
10931
|
-
readonly data: ZodOptional<ZodObject<{
|
|
12099
|
+
readonly data: ZodOptional<ZodObject<{
|
|
12100
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
12101
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
12102
|
+
message: ZodString;
|
|
12103
|
+
}, $strip>>>;
|
|
12104
|
+
}, $strip>>;
|
|
10932
12105
|
};
|
|
10933
12106
|
readonly UNAUTHENTICATED: {
|
|
10934
12107
|
readonly status: 401;
|
|
@@ -11077,9 +12250,23 @@ declare const contract: {
|
|
|
11077
12250
|
name: ZodString;
|
|
11078
12251
|
}, $strip>;
|
|
11079
12252
|
};
|
|
12253
|
+
readonly ORG_LAST_OWNED: {
|
|
12254
|
+
readonly status: 409;
|
|
12255
|
+
readonly message: "Cannot delete your last owned organization";
|
|
12256
|
+
readonly data: ZodObject<{
|
|
12257
|
+
slug: ZodString;
|
|
12258
|
+
}, $strip>;
|
|
12259
|
+
};
|
|
12260
|
+
readonly ORG_HAS_REPOS: {
|
|
12261
|
+
readonly status: 409;
|
|
12262
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
12263
|
+
readonly data: ZodObject<{
|
|
12264
|
+
slug: ZodString;
|
|
12265
|
+
repoCount: ZodNumber;
|
|
12266
|
+
}, $strip>;
|
|
12267
|
+
};
|
|
11080
12268
|
}>, Record<never, never>>;
|
|
11081
12269
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11082
|
-
orgSlug: ZodOptional<ZodString>;
|
|
11083
12270
|
name: ZodString;
|
|
11084
12271
|
}, $strip>, ZodObject<{
|
|
11085
12272
|
deleted: ZodLiteral<true>;
|
|
@@ -11087,7 +12274,12 @@ declare const contract: {
|
|
|
11087
12274
|
readonly BAD_REQUEST: {
|
|
11088
12275
|
readonly status: 400;
|
|
11089
12276
|
readonly message: "Bad request";
|
|
11090
|
-
readonly data: ZodOptional<ZodObject<{
|
|
12277
|
+
readonly data: ZodOptional<ZodObject<{
|
|
12278
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
12279
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
12280
|
+
message: ZodString;
|
|
12281
|
+
}, $strip>>>;
|
|
12282
|
+
}, $strip>>;
|
|
11091
12283
|
};
|
|
11092
12284
|
readonly UNAUTHENTICATED: {
|
|
11093
12285
|
readonly status: 401;
|
|
@@ -11236,18 +12428,39 @@ declare const contract: {
|
|
|
11236
12428
|
name: ZodString;
|
|
11237
12429
|
}, $strip>;
|
|
11238
12430
|
};
|
|
12431
|
+
readonly ORG_LAST_OWNED: {
|
|
12432
|
+
readonly status: 409;
|
|
12433
|
+
readonly message: "Cannot delete your last owned organization";
|
|
12434
|
+
readonly data: ZodObject<{
|
|
12435
|
+
slug: ZodString;
|
|
12436
|
+
}, $strip>;
|
|
12437
|
+
};
|
|
12438
|
+
readonly ORG_HAS_REPOS: {
|
|
12439
|
+
readonly status: 409;
|
|
12440
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
12441
|
+
readonly data: ZodObject<{
|
|
12442
|
+
slug: ZodString;
|
|
12443
|
+
repoCount: ZodNumber;
|
|
12444
|
+
}, $strip>;
|
|
12445
|
+
};
|
|
11239
12446
|
}>, Record<never, never>>;
|
|
11240
12447
|
};
|
|
11241
12448
|
tokens: {
|
|
11242
12449
|
mint: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11243
|
-
orgSlug: ZodOptional<ZodString>;
|
|
11244
12450
|
name: ZodString;
|
|
11245
12451
|
scope: ZodEnum<{
|
|
11246
12452
|
read: "read";
|
|
11247
12453
|
write: "write";
|
|
11248
12454
|
}>;
|
|
11249
12455
|
ttlSeconds: ZodOptional<ZodNumber>;
|
|
11250
|
-
op: ZodOptional<
|
|
12456
|
+
op: ZodOptional<ZodEnum<{
|
|
12457
|
+
object: "object";
|
|
12458
|
+
refs: "refs";
|
|
12459
|
+
merge: "merge";
|
|
12460
|
+
seed: "seed";
|
|
12461
|
+
clone: "clone";
|
|
12462
|
+
agent: "agent";
|
|
12463
|
+
}>>;
|
|
11251
12464
|
}, $strip>, ZodObject<{
|
|
11252
12465
|
id: ZodString;
|
|
11253
12466
|
artifactId: ZodString;
|
|
@@ -11267,7 +12480,12 @@ declare const contract: {
|
|
|
11267
12480
|
readonly BAD_REQUEST: {
|
|
11268
12481
|
readonly status: 400;
|
|
11269
12482
|
readonly message: "Bad request";
|
|
11270
|
-
readonly data: ZodOptional<ZodObject<{
|
|
12483
|
+
readonly data: ZodOptional<ZodObject<{
|
|
12484
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
12485
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
12486
|
+
message: ZodString;
|
|
12487
|
+
}, $strip>>>;
|
|
12488
|
+
}, $strip>>;
|
|
11271
12489
|
};
|
|
11272
12490
|
readonly UNAUTHENTICATED: {
|
|
11273
12491
|
readonly status: 401;
|
|
@@ -11416,6 +12634,21 @@ declare const contract: {
|
|
|
11416
12634
|
name: ZodString;
|
|
11417
12635
|
}, $strip>;
|
|
11418
12636
|
};
|
|
12637
|
+
readonly ORG_LAST_OWNED: {
|
|
12638
|
+
readonly status: 409;
|
|
12639
|
+
readonly message: "Cannot delete your last owned organization";
|
|
12640
|
+
readonly data: ZodObject<{
|
|
12641
|
+
slug: ZodString;
|
|
12642
|
+
}, $strip>;
|
|
12643
|
+
};
|
|
12644
|
+
readonly ORG_HAS_REPOS: {
|
|
12645
|
+
readonly status: 409;
|
|
12646
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
12647
|
+
readonly data: ZodObject<{
|
|
12648
|
+
slug: ZodString;
|
|
12649
|
+
repoCount: ZodNumber;
|
|
12650
|
+
}, $strip>;
|
|
12651
|
+
};
|
|
11419
12652
|
}>, Record<never, never>>;
|
|
11420
12653
|
mintForGitRemote: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11421
12654
|
protocol: ZodLiteral<"https">;
|
|
@@ -11442,7 +12675,12 @@ declare const contract: {
|
|
|
11442
12675
|
readonly BAD_REQUEST: {
|
|
11443
12676
|
readonly status: 400;
|
|
11444
12677
|
readonly message: "Bad request";
|
|
11445
|
-
readonly data: ZodOptional<ZodObject<{
|
|
12678
|
+
readonly data: ZodOptional<ZodObject<{
|
|
12679
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
12680
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
12681
|
+
message: ZodString;
|
|
12682
|
+
}, $strip>>>;
|
|
12683
|
+
}, $strip>>;
|
|
11446
12684
|
};
|
|
11447
12685
|
readonly UNAUTHENTICATED: {
|
|
11448
12686
|
readonly status: 401;
|
|
@@ -11591,9 +12829,23 @@ declare const contract: {
|
|
|
11591
12829
|
name: ZodString;
|
|
11592
12830
|
}, $strip>;
|
|
11593
12831
|
};
|
|
12832
|
+
readonly ORG_LAST_OWNED: {
|
|
12833
|
+
readonly status: 409;
|
|
12834
|
+
readonly message: "Cannot delete your last owned organization";
|
|
12835
|
+
readonly data: ZodObject<{
|
|
12836
|
+
slug: ZodString;
|
|
12837
|
+
}, $strip>;
|
|
12838
|
+
};
|
|
12839
|
+
readonly ORG_HAS_REPOS: {
|
|
12840
|
+
readonly status: 409;
|
|
12841
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
12842
|
+
readonly data: ZodObject<{
|
|
12843
|
+
slug: ZodString;
|
|
12844
|
+
repoCount: ZodNumber;
|
|
12845
|
+
}, $strip>;
|
|
12846
|
+
};
|
|
11594
12847
|
}>, Record<never, never>>;
|
|
11595
12848
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11596
|
-
orgSlug: ZodOptional<ZodString>;
|
|
11597
12849
|
name: ZodString;
|
|
11598
12850
|
}, $strip>, ZodObject<{
|
|
11599
12851
|
items: ZodArray<ZodObject<{
|
|
@@ -11615,7 +12867,12 @@ declare const contract: {
|
|
|
11615
12867
|
readonly BAD_REQUEST: {
|
|
11616
12868
|
readonly status: 400;
|
|
11617
12869
|
readonly message: "Bad request";
|
|
11618
|
-
readonly data: ZodOptional<ZodObject<{
|
|
12870
|
+
readonly data: ZodOptional<ZodObject<{
|
|
12871
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
12872
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
12873
|
+
message: ZodString;
|
|
12874
|
+
}, $strip>>>;
|
|
12875
|
+
}, $strip>>;
|
|
11619
12876
|
};
|
|
11620
12877
|
readonly UNAUTHENTICATED: {
|
|
11621
12878
|
readonly status: 401;
|
|
@@ -11764,9 +13021,23 @@ declare const contract: {
|
|
|
11764
13021
|
name: ZodString;
|
|
11765
13022
|
}, $strip>;
|
|
11766
13023
|
};
|
|
13024
|
+
readonly ORG_LAST_OWNED: {
|
|
13025
|
+
readonly status: 409;
|
|
13026
|
+
readonly message: "Cannot delete your last owned organization";
|
|
13027
|
+
readonly data: ZodObject<{
|
|
13028
|
+
slug: ZodString;
|
|
13029
|
+
}, $strip>;
|
|
13030
|
+
};
|
|
13031
|
+
readonly ORG_HAS_REPOS: {
|
|
13032
|
+
readonly status: 409;
|
|
13033
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
13034
|
+
readonly data: ZodObject<{
|
|
13035
|
+
slug: ZodString;
|
|
13036
|
+
repoCount: ZodNumber;
|
|
13037
|
+
}, $strip>;
|
|
13038
|
+
};
|
|
11767
13039
|
}>, Record<never, never>>;
|
|
11768
13040
|
revoke: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11769
|
-
orgSlug: ZodOptional<ZodString>;
|
|
11770
13041
|
name: ZodString;
|
|
11771
13042
|
id: ZodString;
|
|
11772
13043
|
}, $strip>, ZodObject<{
|
|
@@ -11775,7 +13046,12 @@ declare const contract: {
|
|
|
11775
13046
|
readonly BAD_REQUEST: {
|
|
11776
13047
|
readonly status: 400;
|
|
11777
13048
|
readonly message: "Bad request";
|
|
11778
|
-
readonly data: ZodOptional<ZodObject<{
|
|
13049
|
+
readonly data: ZodOptional<ZodObject<{
|
|
13050
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
13051
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
13052
|
+
message: ZodString;
|
|
13053
|
+
}, $strip>>>;
|
|
13054
|
+
}, $strip>>;
|
|
11779
13055
|
};
|
|
11780
13056
|
readonly UNAUTHENTICATED: {
|
|
11781
13057
|
readonly status: 401;
|
|
@@ -11924,6 +13200,21 @@ declare const contract: {
|
|
|
11924
13200
|
name: ZodString;
|
|
11925
13201
|
}, $strip>;
|
|
11926
13202
|
};
|
|
13203
|
+
readonly ORG_LAST_OWNED: {
|
|
13204
|
+
readonly status: 409;
|
|
13205
|
+
readonly message: "Cannot delete your last owned organization";
|
|
13206
|
+
readonly data: ZodObject<{
|
|
13207
|
+
slug: ZodString;
|
|
13208
|
+
}, $strip>;
|
|
13209
|
+
};
|
|
13210
|
+
readonly ORG_HAS_REPOS: {
|
|
13211
|
+
readonly status: 409;
|
|
13212
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
13213
|
+
readonly data: ZodObject<{
|
|
13214
|
+
slug: ZodString;
|
|
13215
|
+
repoCount: ZodNumber;
|
|
13216
|
+
}, $strip>;
|
|
13217
|
+
};
|
|
11927
13218
|
}>, Record<never, never>>;
|
|
11928
13219
|
validate: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11929
13220
|
token: ZodString;
|
|
@@ -11943,7 +13234,12 @@ declare const contract: {
|
|
|
11943
13234
|
readonly BAD_REQUEST: {
|
|
11944
13235
|
readonly status: 400;
|
|
11945
13236
|
readonly message: "Bad request";
|
|
11946
|
-
readonly data: ZodOptional<ZodObject<{
|
|
13237
|
+
readonly data: ZodOptional<ZodObject<{
|
|
13238
|
+
issues: ZodOptional<ZodArray<ZodObject<{
|
|
13239
|
+
path: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>>;
|
|
13240
|
+
message: ZodString;
|
|
13241
|
+
}, $strip>>>;
|
|
13242
|
+
}, $strip>>;
|
|
11947
13243
|
};
|
|
11948
13244
|
readonly UNAUTHENTICATED: {
|
|
11949
13245
|
readonly status: 401;
|
|
@@ -12092,6 +13388,21 @@ declare const contract: {
|
|
|
12092
13388
|
name: ZodString;
|
|
12093
13389
|
}, $strip>;
|
|
12094
13390
|
};
|
|
13391
|
+
readonly ORG_LAST_OWNED: {
|
|
13392
|
+
readonly status: 409;
|
|
13393
|
+
readonly message: "Cannot delete your last owned organization";
|
|
13394
|
+
readonly data: ZodObject<{
|
|
13395
|
+
slug: ZodString;
|
|
13396
|
+
}, $strip>;
|
|
13397
|
+
};
|
|
13398
|
+
readonly ORG_HAS_REPOS: {
|
|
13399
|
+
readonly status: 409;
|
|
13400
|
+
readonly message: "Cannot delete an organization that still owns repos";
|
|
13401
|
+
readonly data: ZodObject<{
|
|
13402
|
+
slug: ZodString;
|
|
13403
|
+
repoCount: ZodNumber;
|
|
13404
|
+
}, $strip>;
|
|
13405
|
+
};
|
|
12095
13406
|
}>, Record<never, never>>;
|
|
12096
13407
|
};
|
|
12097
13408
|
};
|
|
@@ -12114,6 +13425,12 @@ declare function createAnonClient(opts: AnonClientOptions): RepomeSdkClient;
|
|
|
12114
13425
|
//#endregion
|
|
12115
13426
|
//#region src/types.d.ts
|
|
12116
13427
|
type RepomeOptions = {
|
|
13428
|
+
/**
|
|
13429
|
+
* An `rpme_` API key (create one with the `keys.create` API or
|
|
13430
|
+
* `repome keys create`). Repo-scoped `art_v1_*` tokens from `tokens.mint`
|
|
13431
|
+
* are NOT accepted — they work only as a git Basic-auth password against
|
|
13432
|
+
* the repo's remote.
|
|
13433
|
+
*/
|
|
12117
13434
|
token: string;
|
|
12118
13435
|
baseUrl?: string;
|
|
12119
13436
|
fetch?: typeof fetch;
|
|
@@ -12159,6 +13476,7 @@ type LogOptions = {
|
|
|
12159
13476
|
limit?: number;
|
|
12160
13477
|
};
|
|
12161
13478
|
interface GitRepo {
|
|
13479
|
+
readonly name: string;
|
|
12162
13480
|
readonly remote?: string | null;
|
|
12163
13481
|
readonly expiresAt?: string | null;
|
|
12164
13482
|
add(path: string, content: string | Uint8Array): Promise<void>;
|
|
@@ -12175,15 +13493,15 @@ type LsOptions = {
|
|
|
12175
13493
|
declare class MissingTokenError extends Error {
|
|
12176
13494
|
constructor();
|
|
12177
13495
|
}
|
|
12178
|
-
declare class
|
|
12179
|
-
constructor(
|
|
13496
|
+
declare class InvalidRepoNameError extends Error {
|
|
13497
|
+
constructor(name: string);
|
|
12180
13498
|
}
|
|
12181
13499
|
//#endregion
|
|
12182
13500
|
//#region src/repome.d.ts
|
|
12183
|
-
declare function repomeFactory(
|
|
13501
|
+
declare function repomeFactory(name: string, options: RepomeOptions): Promise<GitRepo>;
|
|
12184
13502
|
declare function ephemeral(options?: EphemeralOptions): Promise<GitRepo>;
|
|
12185
13503
|
declare const repome: typeof repomeFactory & {
|
|
12186
13504
|
ephemeral: typeof ephemeral;
|
|
12187
13505
|
};
|
|
12188
13506
|
//#endregion
|
|
12189
|
-
export { type AnonClientOptions, type Author, type Blob, type ClientOptions, type Commit, type CommitOptions, type Contract, type EphemeralOptions, type GitRepo, InvalidApiKeyError,
|
|
13507
|
+
export { type AnonClientOptions, type Author, type Blob, type ClientOptions, type Commit, type CommitOptions, type Contract, type EphemeralOptions, type GitRepo, InvalidApiKeyError, InvalidRepoNameError, type LogOptions, type LsOptions, MissingTokenError, type RepomeOptions, type RepomeSdkClient, type Scope, type TreeEntry, createAnonClient, createClient, repome };
|