@skyramp/testbot-core 0.13.0-v3.397 → 0.13.0-v3.400
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION.json +1 -1
- package/dist/data-safety-worker.js +135 -0
- package/dist/main.js +537 -528
- package/dist/post.js +156 -156
- package/dist/runner-client.cjs +132 -132
- package/dist/runner-client.d.cts +78 -78
- package/package.json +7 -5
package/dist/runner-client.d.cts
CHANGED
|
@@ -2422,14 +2422,14 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2422
2422
|
path: z.ZodString;
|
|
2423
2423
|
finding: z.ZodString;
|
|
2424
2424
|
}, "strict", z.ZodTypeAny, {
|
|
2425
|
-
repository: string;
|
|
2426
2425
|
path: string;
|
|
2426
|
+
repository: string;
|
|
2427
2427
|
finding: string;
|
|
2428
2428
|
resultId: string;
|
|
2429
2429
|
testType: string;
|
|
2430
2430
|
}, {
|
|
2431
|
-
repository: string;
|
|
2432
2431
|
path: string;
|
|
2432
|
+
repository: string;
|
|
2433
2433
|
finding: string;
|
|
2434
2434
|
resultId: string;
|
|
2435
2435
|
testType: string;
|
|
@@ -2504,8 +2504,8 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2504
2504
|
revision: string;
|
|
2505
2505
|
}[] | undefined;
|
|
2506
2506
|
knownFailures?: {
|
|
2507
|
-
repository: string;
|
|
2508
2507
|
path: string;
|
|
2508
|
+
repository: string;
|
|
2509
2509
|
finding: string;
|
|
2510
2510
|
resultId: string;
|
|
2511
2511
|
testType: string;
|
|
@@ -2527,8 +2527,8 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2527
2527
|
revision: string;
|
|
2528
2528
|
}[] | undefined;
|
|
2529
2529
|
knownFailures?: {
|
|
2530
|
-
repository: string;
|
|
2531
2530
|
path: string;
|
|
2531
|
+
repository: string;
|
|
2532
2532
|
finding: string;
|
|
2533
2533
|
resultId: string;
|
|
2534
2534
|
testType: string;
|
|
@@ -2636,6 +2636,7 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2636
2636
|
number?: string | undefined;
|
|
2637
2637
|
}>, "many">>;
|
|
2638
2638
|
}, "strict", z.ZodTypeAny, {
|
|
2639
|
+
reason: SelectionReason;
|
|
2639
2640
|
repository: {
|
|
2640
2641
|
name: string;
|
|
2641
2642
|
provider: SourceProvider.GitHub;
|
|
@@ -2649,7 +2650,6 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2649
2650
|
providerRepositoryId: string;
|
|
2650
2651
|
namespace: string;
|
|
2651
2652
|
};
|
|
2652
|
-
reason: SelectionReason;
|
|
2653
2653
|
revision: string;
|
|
2654
2654
|
ref: string | null;
|
|
2655
2655
|
change: {
|
|
@@ -2672,6 +2672,7 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2672
2672
|
number?: string | undefined;
|
|
2673
2673
|
}[] | undefined;
|
|
2674
2674
|
}, {
|
|
2675
|
+
reason: SelectionReason;
|
|
2675
2676
|
repository: {
|
|
2676
2677
|
name: string;
|
|
2677
2678
|
provider: SourceProvider.GitHub;
|
|
@@ -2685,7 +2686,6 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2685
2686
|
providerRepositoryId: string;
|
|
2686
2687
|
namespace: string;
|
|
2687
2688
|
};
|
|
2688
|
-
reason: SelectionReason;
|
|
2689
2689
|
revision: string;
|
|
2690
2690
|
ref: string | null;
|
|
2691
2691
|
change: {
|
|
@@ -2810,14 +2810,14 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2810
2810
|
contentHash: z.ZodString;
|
|
2811
2811
|
}, "strict", z.ZodTypeAny, {
|
|
2812
2812
|
updated: string;
|
|
2813
|
-
source: RequirementItemSource.Jira;
|
|
2814
2813
|
site: string;
|
|
2814
|
+
source: RequirementItemSource.Jira;
|
|
2815
2815
|
key: string;
|
|
2816
2816
|
contentHash: string;
|
|
2817
2817
|
}, {
|
|
2818
2818
|
updated: string;
|
|
2819
|
-
source: RequirementItemSource.Jira;
|
|
2820
2819
|
site: string;
|
|
2820
|
+
source: RequirementItemSource.Jira;
|
|
2821
2821
|
key: string;
|
|
2822
2822
|
contentHash: string;
|
|
2823
2823
|
}>,
|
|
@@ -2828,14 +2828,14 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2828
2828
|
version: z.ZodNumber;
|
|
2829
2829
|
contentHash: z.ZodString;
|
|
2830
2830
|
}, "strict", z.ZodTypeAny, {
|
|
2831
|
-
source: RequirementItemSource.Confluence;
|
|
2832
2831
|
site: string;
|
|
2832
|
+
source: RequirementItemSource.Confluence;
|
|
2833
2833
|
key: string;
|
|
2834
2834
|
contentHash: string;
|
|
2835
2835
|
version: number;
|
|
2836
2836
|
}, {
|
|
2837
|
-
source: RequirementItemSource.Confluence;
|
|
2838
2837
|
site: string;
|
|
2838
|
+
source: RequirementItemSource.Confluence;
|
|
2839
2839
|
key: string;
|
|
2840
2840
|
contentHash: string;
|
|
2841
2841
|
version: number;
|
|
@@ -2943,17 +2943,18 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2943
2943
|
revision: string;
|
|
2944
2944
|
}>, "many">>;
|
|
2945
2945
|
}, "strict", z.ZodTypeAny, {
|
|
2946
|
+
target: {
|
|
2947
|
+
id: string;
|
|
2948
|
+
revision: string;
|
|
2949
|
+
};
|
|
2950
|
+
schemaVersion: 1;
|
|
2946
2951
|
credentials: {
|
|
2947
2952
|
name: string;
|
|
2948
2953
|
purpose: CredentialPurpose;
|
|
2949
2954
|
required: boolean;
|
|
2950
2955
|
}[];
|
|
2951
|
-
schemaVersion: 1;
|
|
2952
|
-
target: {
|
|
2953
|
-
id: string;
|
|
2954
|
-
revision: string;
|
|
2955
|
-
};
|
|
2956
2956
|
sources: {
|
|
2957
|
+
reason: SelectionReason;
|
|
2957
2958
|
repository: {
|
|
2958
2959
|
name: string;
|
|
2959
2960
|
provider: SourceProvider.GitHub;
|
|
@@ -2967,7 +2968,6 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2967
2968
|
providerRepositoryId: string;
|
|
2968
2969
|
namespace: string;
|
|
2969
2970
|
};
|
|
2970
|
-
reason: SelectionReason;
|
|
2971
2971
|
revision: string;
|
|
2972
2972
|
ref: string | null;
|
|
2973
2973
|
change: {
|
|
@@ -3043,8 +3043,8 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3043
3043
|
revision: string;
|
|
3044
3044
|
}[] | undefined;
|
|
3045
3045
|
knownFailures?: {
|
|
3046
|
-
repository: string;
|
|
3047
3046
|
path: string;
|
|
3047
|
+
repository: string;
|
|
3048
3048
|
finding: string;
|
|
3049
3049
|
resultId: string;
|
|
3050
3050
|
testType: string;
|
|
@@ -3052,13 +3052,13 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3052
3052
|
} | undefined;
|
|
3053
3053
|
requirements?: ({
|
|
3054
3054
|
updated: string;
|
|
3055
|
-
source: RequirementItemSource.Jira;
|
|
3056
3055
|
site: string;
|
|
3056
|
+
source: RequirementItemSource.Jira;
|
|
3057
3057
|
key: string;
|
|
3058
3058
|
contentHash: string;
|
|
3059
3059
|
} | {
|
|
3060
|
-
source: RequirementItemSource.Confluence;
|
|
3061
3060
|
site: string;
|
|
3061
|
+
source: RequirementItemSource.Confluence;
|
|
3062
3062
|
key: string;
|
|
3063
3063
|
contentHash: string;
|
|
3064
3064
|
version: number;
|
|
@@ -3086,17 +3086,18 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3086
3086
|
revision: string;
|
|
3087
3087
|
}[] | undefined;
|
|
3088
3088
|
}, {
|
|
3089
|
+
target: {
|
|
3090
|
+
id: string;
|
|
3091
|
+
revision: string;
|
|
3092
|
+
};
|
|
3093
|
+
schemaVersion: 1;
|
|
3089
3094
|
credentials: {
|
|
3090
3095
|
name: string;
|
|
3091
3096
|
purpose: CredentialPurpose;
|
|
3092
3097
|
required: boolean;
|
|
3093
3098
|
}[];
|
|
3094
|
-
schemaVersion: 1;
|
|
3095
|
-
target: {
|
|
3096
|
-
id: string;
|
|
3097
|
-
revision: string;
|
|
3098
|
-
};
|
|
3099
3099
|
sources: {
|
|
3100
|
+
reason: SelectionReason;
|
|
3100
3101
|
repository: {
|
|
3101
3102
|
name: string;
|
|
3102
3103
|
provider: SourceProvider.GitHub;
|
|
@@ -3110,7 +3111,6 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3110
3111
|
providerRepositoryId: string;
|
|
3111
3112
|
namespace: string;
|
|
3112
3113
|
};
|
|
3113
|
-
reason: SelectionReason;
|
|
3114
3114
|
revision: string;
|
|
3115
3115
|
ref: string | null;
|
|
3116
3116
|
change: {
|
|
@@ -3186,8 +3186,8 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3186
3186
|
revision: string;
|
|
3187
3187
|
}[] | undefined;
|
|
3188
3188
|
knownFailures?: {
|
|
3189
|
-
repository: string;
|
|
3190
3189
|
path: string;
|
|
3190
|
+
repository: string;
|
|
3191
3191
|
finding: string;
|
|
3192
3192
|
resultId: string;
|
|
3193
3193
|
testType: string;
|
|
@@ -3195,13 +3195,13 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3195
3195
|
} | undefined;
|
|
3196
3196
|
requirements?: ({
|
|
3197
3197
|
updated: string;
|
|
3198
|
-
source: RequirementItemSource.Jira;
|
|
3199
3198
|
site: string;
|
|
3199
|
+
source: RequirementItemSource.Jira;
|
|
3200
3200
|
key: string;
|
|
3201
3201
|
contentHash: string;
|
|
3202
3202
|
} | {
|
|
3203
|
-
source: RequirementItemSource.Confluence;
|
|
3204
3203
|
site: string;
|
|
3204
|
+
source: RequirementItemSource.Confluence;
|
|
3205
3205
|
key: string;
|
|
3206
3206
|
contentHash: string;
|
|
3207
3207
|
version: number;
|
|
@@ -3229,17 +3229,18 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3229
3229
|
revision: string;
|
|
3230
3230
|
}[] | undefined;
|
|
3231
3231
|
}>, {
|
|
3232
|
+
target: {
|
|
3233
|
+
id: string;
|
|
3234
|
+
revision: string;
|
|
3235
|
+
};
|
|
3236
|
+
schemaVersion: 1;
|
|
3232
3237
|
credentials: {
|
|
3233
3238
|
name: string;
|
|
3234
3239
|
purpose: CredentialPurpose;
|
|
3235
3240
|
required: boolean;
|
|
3236
3241
|
}[];
|
|
3237
|
-
schemaVersion: 1;
|
|
3238
|
-
target: {
|
|
3239
|
-
id: string;
|
|
3240
|
-
revision: string;
|
|
3241
|
-
};
|
|
3242
3242
|
sources: {
|
|
3243
|
+
reason: SelectionReason;
|
|
3243
3244
|
repository: {
|
|
3244
3245
|
name: string;
|
|
3245
3246
|
provider: SourceProvider.GitHub;
|
|
@@ -3253,7 +3254,6 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3253
3254
|
providerRepositoryId: string;
|
|
3254
3255
|
namespace: string;
|
|
3255
3256
|
};
|
|
3256
|
-
reason: SelectionReason;
|
|
3257
3257
|
revision: string;
|
|
3258
3258
|
ref: string | null;
|
|
3259
3259
|
change: {
|
|
@@ -3329,8 +3329,8 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3329
3329
|
revision: string;
|
|
3330
3330
|
}[] | undefined;
|
|
3331
3331
|
knownFailures?: {
|
|
3332
|
-
repository: string;
|
|
3333
3332
|
path: string;
|
|
3333
|
+
repository: string;
|
|
3334
3334
|
finding: string;
|
|
3335
3335
|
resultId: string;
|
|
3336
3336
|
testType: string;
|
|
@@ -3338,13 +3338,13 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3338
3338
|
} | undefined;
|
|
3339
3339
|
requirements?: ({
|
|
3340
3340
|
updated: string;
|
|
3341
|
-
source: RequirementItemSource.Jira;
|
|
3342
3341
|
site: string;
|
|
3342
|
+
source: RequirementItemSource.Jira;
|
|
3343
3343
|
key: string;
|
|
3344
3344
|
contentHash: string;
|
|
3345
3345
|
} | {
|
|
3346
|
-
source: RequirementItemSource.Confluence;
|
|
3347
3346
|
site: string;
|
|
3347
|
+
source: RequirementItemSource.Confluence;
|
|
3348
3348
|
key: string;
|
|
3349
3349
|
contentHash: string;
|
|
3350
3350
|
version: number;
|
|
@@ -3372,17 +3372,18 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3372
3372
|
revision: string;
|
|
3373
3373
|
}[] | undefined;
|
|
3374
3374
|
}, {
|
|
3375
|
+
target: {
|
|
3376
|
+
id: string;
|
|
3377
|
+
revision: string;
|
|
3378
|
+
};
|
|
3379
|
+
schemaVersion: 1;
|
|
3375
3380
|
credentials: {
|
|
3376
3381
|
name: string;
|
|
3377
3382
|
purpose: CredentialPurpose;
|
|
3378
3383
|
required: boolean;
|
|
3379
3384
|
}[];
|
|
3380
|
-
schemaVersion: 1;
|
|
3381
|
-
target: {
|
|
3382
|
-
id: string;
|
|
3383
|
-
revision: string;
|
|
3384
|
-
};
|
|
3385
3385
|
sources: {
|
|
3386
|
+
reason: SelectionReason;
|
|
3386
3387
|
repository: {
|
|
3387
3388
|
name: string;
|
|
3388
3389
|
provider: SourceProvider.GitHub;
|
|
@@ -3396,7 +3397,6 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3396
3397
|
providerRepositoryId: string;
|
|
3397
3398
|
namespace: string;
|
|
3398
3399
|
};
|
|
3399
|
-
reason: SelectionReason;
|
|
3400
3400
|
revision: string;
|
|
3401
3401
|
ref: string | null;
|
|
3402
3402
|
change: {
|
|
@@ -3472,8 +3472,8 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3472
3472
|
revision: string;
|
|
3473
3473
|
}[] | undefined;
|
|
3474
3474
|
knownFailures?: {
|
|
3475
|
-
repository: string;
|
|
3476
3475
|
path: string;
|
|
3476
|
+
repository: string;
|
|
3477
3477
|
finding: string;
|
|
3478
3478
|
resultId: string;
|
|
3479
3479
|
testType: string;
|
|
@@ -3481,13 +3481,13 @@ declare const RunManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
3481
3481
|
} | undefined;
|
|
3482
3482
|
requirements?: ({
|
|
3483
3483
|
updated: string;
|
|
3484
|
-
source: RequirementItemSource.Jira;
|
|
3485
3484
|
site: string;
|
|
3485
|
+
source: RequirementItemSource.Jira;
|
|
3486
3486
|
key: string;
|
|
3487
3487
|
contentHash: string;
|
|
3488
3488
|
} | {
|
|
3489
|
-
source: RequirementItemSource.Confluence;
|
|
3490
3489
|
site: string;
|
|
3490
|
+
source: RequirementItemSource.Confluence;
|
|
3491
3491
|
key: string;
|
|
3492
3492
|
contentHash: string;
|
|
3493
3493
|
version: number;
|
|
@@ -3531,11 +3531,11 @@ declare const RequestedBySchema: z.ZodObject<{
|
|
|
3531
3531
|
kind: z.ZodNativeEnum<typeof RequesterKind>;
|
|
3532
3532
|
name: z.ZodString;
|
|
3533
3533
|
}, "strict", z.ZodTypeAny, {
|
|
3534
|
-
name: string;
|
|
3535
3534
|
kind: RequesterKind;
|
|
3536
|
-
}, {
|
|
3537
3535
|
name: string;
|
|
3536
|
+
}, {
|
|
3538
3537
|
kind: RequesterKind;
|
|
3538
|
+
name: string;
|
|
3539
3539
|
}>;
|
|
3540
3540
|
export type RequestedBy = z.infer<typeof RequestedBySchema>;
|
|
3541
3541
|
declare const RunSettingsSchema: z.ZodObject<{
|
|
@@ -3784,6 +3784,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3784
3784
|
]>;
|
|
3785
3785
|
reason: z.ZodString;
|
|
3786
3786
|
}, "strict", z.ZodTypeAny, {
|
|
3787
|
+
reason: string;
|
|
3787
3788
|
repository: {
|
|
3788
3789
|
provider: SourceProvider.GitHub;
|
|
3789
3790
|
providerAccountId: string;
|
|
@@ -3793,8 +3794,8 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3793
3794
|
providerAccountId: string;
|
|
3794
3795
|
providerRepositoryId: string;
|
|
3795
3796
|
};
|
|
3796
|
-
reason: string;
|
|
3797
3797
|
}, {
|
|
3798
|
+
reason: string;
|
|
3798
3799
|
repository: {
|
|
3799
3800
|
provider: SourceProvider.GitHub;
|
|
3800
3801
|
providerAccountId: string;
|
|
@@ -3804,11 +3805,11 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3804
3805
|
providerAccountId: string;
|
|
3805
3806
|
providerRepositoryId: string;
|
|
3806
3807
|
};
|
|
3807
|
-
reason: string;
|
|
3808
3808
|
}>, "many">>;
|
|
3809
3809
|
}, "strict", z.ZodTypeAny, {
|
|
3810
3810
|
status: DeliveryStatus.None;
|
|
3811
3811
|
noTests?: {
|
|
3812
|
+
reason: string;
|
|
3812
3813
|
repository: {
|
|
3813
3814
|
provider: SourceProvider.GitHub;
|
|
3814
3815
|
providerAccountId: string;
|
|
@@ -3818,11 +3819,11 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3818
3819
|
providerAccountId: string;
|
|
3819
3820
|
providerRepositoryId: string;
|
|
3820
3821
|
};
|
|
3821
|
-
reason: string;
|
|
3822
3822
|
}[] | undefined;
|
|
3823
3823
|
}, {
|
|
3824
3824
|
status: DeliveryStatus.None;
|
|
3825
3825
|
noTests?: {
|
|
3826
|
+
reason: string;
|
|
3826
3827
|
repository: {
|
|
3827
3828
|
provider: SourceProvider.GitHub;
|
|
3828
3829
|
providerAccountId: string;
|
|
@@ -3832,7 +3833,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3832
3833
|
providerAccountId: string;
|
|
3833
3834
|
providerRepositoryId: string;
|
|
3834
3835
|
};
|
|
3835
|
-
reason: string;
|
|
3836
3836
|
}[] | undefined;
|
|
3837
3837
|
}>,
|
|
3838
3838
|
z.ZodObject<{
|
|
@@ -3868,6 +3868,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3868
3868
|
]>;
|
|
3869
3869
|
reason: z.ZodString;
|
|
3870
3870
|
}, "strict", z.ZodTypeAny, {
|
|
3871
|
+
reason: string;
|
|
3871
3872
|
repository: {
|
|
3872
3873
|
provider: SourceProvider.GitHub;
|
|
3873
3874
|
providerAccountId: string;
|
|
@@ -3877,8 +3878,8 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3877
3878
|
providerAccountId: string;
|
|
3878
3879
|
providerRepositoryId: string;
|
|
3879
3880
|
};
|
|
3880
|
-
reason: string;
|
|
3881
3881
|
}, {
|
|
3882
|
+
reason: string;
|
|
3882
3883
|
repository: {
|
|
3883
3884
|
provider: SourceProvider.GitHub;
|
|
3884
3885
|
providerAccountId: string;
|
|
@@ -3888,7 +3889,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3888
3889
|
providerAccountId: string;
|
|
3889
3890
|
providerRepositoryId: string;
|
|
3890
3891
|
};
|
|
3891
|
-
reason: string;
|
|
3892
3892
|
}>, "many">>;
|
|
3893
3893
|
pullRequests: z.ZodArray<z.ZodObject<{
|
|
3894
3894
|
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
@@ -3962,6 +3962,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3962
3962
|
commitSha?: string | undefined;
|
|
3963
3963
|
}[];
|
|
3964
3964
|
noTests?: {
|
|
3965
|
+
reason: string;
|
|
3965
3966
|
repository: {
|
|
3966
3967
|
provider: SourceProvider.GitHub;
|
|
3967
3968
|
providerAccountId: string;
|
|
@@ -3971,7 +3972,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3971
3972
|
providerAccountId: string;
|
|
3972
3973
|
providerRepositoryId: string;
|
|
3973
3974
|
};
|
|
3974
|
-
reason: string;
|
|
3975
3975
|
}[] | undefined;
|
|
3976
3976
|
}, {
|
|
3977
3977
|
status: DeliveryStatus.Delivered;
|
|
@@ -3989,6 +3989,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3989
3989
|
commitSha?: string | undefined;
|
|
3990
3990
|
}[];
|
|
3991
3991
|
noTests?: {
|
|
3992
|
+
reason: string;
|
|
3992
3993
|
repository: {
|
|
3993
3994
|
provider: SourceProvider.GitHub;
|
|
3994
3995
|
providerAccountId: string;
|
|
@@ -3998,7 +3999,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
3998
3999
|
providerAccountId: string;
|
|
3999
4000
|
providerRepositoryId: string;
|
|
4000
4001
|
};
|
|
4001
|
-
reason: string;
|
|
4002
4002
|
}[] | undefined;
|
|
4003
4003
|
}>,
|
|
4004
4004
|
z.ZodObject<{
|
|
@@ -4034,6 +4034,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4034
4034
|
]>;
|
|
4035
4035
|
reason: z.ZodString;
|
|
4036
4036
|
}, "strict", z.ZodTypeAny, {
|
|
4037
|
+
reason: string;
|
|
4037
4038
|
repository: {
|
|
4038
4039
|
provider: SourceProvider.GitHub;
|
|
4039
4040
|
providerAccountId: string;
|
|
@@ -4043,8 +4044,8 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4043
4044
|
providerAccountId: string;
|
|
4044
4045
|
providerRepositoryId: string;
|
|
4045
4046
|
};
|
|
4046
|
-
reason: string;
|
|
4047
4047
|
}, {
|
|
4048
|
+
reason: string;
|
|
4048
4049
|
repository: {
|
|
4049
4050
|
provider: SourceProvider.GitHub;
|
|
4050
4051
|
providerAccountId: string;
|
|
@@ -4054,7 +4055,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4054
4055
|
providerAccountId: string;
|
|
4055
4056
|
providerRepositoryId: string;
|
|
4056
4057
|
};
|
|
4057
|
-
reason: string;
|
|
4058
4058
|
}>, "many">>;
|
|
4059
4059
|
pullRequests: z.ZodArray<z.ZodObject<{
|
|
4060
4060
|
repository: z.ZodDiscriminatedUnion<"provider", [
|
|
@@ -4145,6 +4145,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4145
4145
|
]>;
|
|
4146
4146
|
message: z.ZodString;
|
|
4147
4147
|
}, "strict", z.ZodTypeAny, {
|
|
4148
|
+
message: string;
|
|
4148
4149
|
repository: {
|
|
4149
4150
|
provider: SourceProvider.GitHub;
|
|
4150
4151
|
providerAccountId: string;
|
|
@@ -4154,10 +4155,10 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4154
4155
|
providerAccountId: string;
|
|
4155
4156
|
providerRepositoryId: string;
|
|
4156
4157
|
};
|
|
4157
|
-
message: string;
|
|
4158
4158
|
branch?: string | undefined;
|
|
4159
4159
|
commitSha?: string | undefined;
|
|
4160
4160
|
}, {
|
|
4161
|
+
message: string;
|
|
4161
4162
|
repository: {
|
|
4162
4163
|
provider: SourceProvider.GitHub;
|
|
4163
4164
|
providerAccountId: string;
|
|
@@ -4167,7 +4168,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4167
4168
|
providerAccountId: string;
|
|
4168
4169
|
providerRepositoryId: string;
|
|
4169
4170
|
};
|
|
4170
|
-
message: string;
|
|
4171
4171
|
branch?: string | undefined;
|
|
4172
4172
|
commitSha?: string | undefined;
|
|
4173
4173
|
}>, "many">;
|
|
@@ -4187,6 +4187,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4187
4187
|
commitSha?: string | undefined;
|
|
4188
4188
|
}[];
|
|
4189
4189
|
failures: {
|
|
4190
|
+
message: string;
|
|
4190
4191
|
repository: {
|
|
4191
4192
|
provider: SourceProvider.GitHub;
|
|
4192
4193
|
providerAccountId: string;
|
|
@@ -4196,11 +4197,11 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4196
4197
|
providerAccountId: string;
|
|
4197
4198
|
providerRepositoryId: string;
|
|
4198
4199
|
};
|
|
4199
|
-
message: string;
|
|
4200
4200
|
branch?: string | undefined;
|
|
4201
4201
|
commitSha?: string | undefined;
|
|
4202
4202
|
}[];
|
|
4203
4203
|
noTests?: {
|
|
4204
|
+
reason: string;
|
|
4204
4205
|
repository: {
|
|
4205
4206
|
provider: SourceProvider.GitHub;
|
|
4206
4207
|
providerAccountId: string;
|
|
@@ -4210,7 +4211,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4210
4211
|
providerAccountId: string;
|
|
4211
4212
|
providerRepositoryId: string;
|
|
4212
4213
|
};
|
|
4213
|
-
reason: string;
|
|
4214
4214
|
}[] | undefined;
|
|
4215
4215
|
}, {
|
|
4216
4216
|
status: DeliveryStatus.Partial;
|
|
@@ -4228,6 +4228,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4228
4228
|
commitSha?: string | undefined;
|
|
4229
4229
|
}[];
|
|
4230
4230
|
failures: {
|
|
4231
|
+
message: string;
|
|
4231
4232
|
repository: {
|
|
4232
4233
|
provider: SourceProvider.GitHub;
|
|
4233
4234
|
providerAccountId: string;
|
|
@@ -4237,11 +4238,11 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4237
4238
|
providerAccountId: string;
|
|
4238
4239
|
providerRepositoryId: string;
|
|
4239
4240
|
};
|
|
4240
|
-
message: string;
|
|
4241
4241
|
branch?: string | undefined;
|
|
4242
4242
|
commitSha?: string | undefined;
|
|
4243
4243
|
}[];
|
|
4244
4244
|
noTests?: {
|
|
4245
|
+
reason: string;
|
|
4245
4246
|
repository: {
|
|
4246
4247
|
provider: SourceProvider.GitHub;
|
|
4247
4248
|
providerAccountId: string;
|
|
@@ -4251,7 +4252,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4251
4252
|
providerAccountId: string;
|
|
4252
4253
|
providerRepositoryId: string;
|
|
4253
4254
|
};
|
|
4254
|
-
reason: string;
|
|
4255
4255
|
}[] | undefined;
|
|
4256
4256
|
}>,
|
|
4257
4257
|
z.ZodObject<{
|
|
@@ -4288,6 +4288,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4288
4288
|
]>;
|
|
4289
4289
|
reason: z.ZodString;
|
|
4290
4290
|
}, "strict", z.ZodTypeAny, {
|
|
4291
|
+
reason: string;
|
|
4291
4292
|
repository: {
|
|
4292
4293
|
provider: SourceProvider.GitHub;
|
|
4293
4294
|
providerAccountId: string;
|
|
@@ -4297,8 +4298,8 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4297
4298
|
providerAccountId: string;
|
|
4298
4299
|
providerRepositoryId: string;
|
|
4299
4300
|
};
|
|
4300
|
-
reason: string;
|
|
4301
4301
|
}, {
|
|
4302
|
+
reason: string;
|
|
4302
4303
|
repository: {
|
|
4303
4304
|
provider: SourceProvider.GitHub;
|
|
4304
4305
|
providerAccountId: string;
|
|
@@ -4308,7 +4309,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4308
4309
|
providerAccountId: string;
|
|
4309
4310
|
providerRepositoryId: string;
|
|
4310
4311
|
};
|
|
4311
|
-
reason: string;
|
|
4312
4312
|
}>, "many">>;
|
|
4313
4313
|
failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4314
4314
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -4343,6 +4343,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4343
4343
|
]>;
|
|
4344
4344
|
message: z.ZodString;
|
|
4345
4345
|
}, "strict", z.ZodTypeAny, {
|
|
4346
|
+
message: string;
|
|
4346
4347
|
repository: {
|
|
4347
4348
|
provider: SourceProvider.GitHub;
|
|
4348
4349
|
providerAccountId: string;
|
|
@@ -4352,10 +4353,10 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4352
4353
|
providerAccountId: string;
|
|
4353
4354
|
providerRepositoryId: string;
|
|
4354
4355
|
};
|
|
4355
|
-
message: string;
|
|
4356
4356
|
branch?: string | undefined;
|
|
4357
4357
|
commitSha?: string | undefined;
|
|
4358
4358
|
}, {
|
|
4359
|
+
message: string;
|
|
4359
4360
|
repository: {
|
|
4360
4361
|
provider: SourceProvider.GitHub;
|
|
4361
4362
|
providerAccountId: string;
|
|
@@ -4365,7 +4366,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4365
4366
|
providerAccountId: string;
|
|
4366
4367
|
providerRepositoryId: string;
|
|
4367
4368
|
};
|
|
4368
|
-
message: string;
|
|
4369
4369
|
branch?: string | undefined;
|
|
4370
4370
|
commitSha?: string | undefined;
|
|
4371
4371
|
}>, "many">>;
|
|
@@ -4373,6 +4373,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4373
4373
|
message: string;
|
|
4374
4374
|
status: DeliveryStatus.Failed;
|
|
4375
4375
|
noTests?: {
|
|
4376
|
+
reason: string;
|
|
4376
4377
|
repository: {
|
|
4377
4378
|
provider: SourceProvider.GitHub;
|
|
4378
4379
|
providerAccountId: string;
|
|
@@ -4382,9 +4383,9 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4382
4383
|
providerAccountId: string;
|
|
4383
4384
|
providerRepositoryId: string;
|
|
4384
4385
|
};
|
|
4385
|
-
reason: string;
|
|
4386
4386
|
}[] | undefined;
|
|
4387
4387
|
failures?: {
|
|
4388
|
+
message: string;
|
|
4388
4389
|
repository: {
|
|
4389
4390
|
provider: SourceProvider.GitHub;
|
|
4390
4391
|
providerAccountId: string;
|
|
@@ -4394,7 +4395,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4394
4395
|
providerAccountId: string;
|
|
4395
4396
|
providerRepositoryId: string;
|
|
4396
4397
|
};
|
|
4397
|
-
message: string;
|
|
4398
4398
|
branch?: string | undefined;
|
|
4399
4399
|
commitSha?: string | undefined;
|
|
4400
4400
|
}[] | undefined;
|
|
@@ -4402,6 +4402,7 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4402
4402
|
message: string;
|
|
4403
4403
|
status: DeliveryStatus.Failed;
|
|
4404
4404
|
noTests?: {
|
|
4405
|
+
reason: string;
|
|
4405
4406
|
repository: {
|
|
4406
4407
|
provider: SourceProvider.GitHub;
|
|
4407
4408
|
providerAccountId: string;
|
|
@@ -4411,9 +4412,9 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4411
4412
|
providerAccountId: string;
|
|
4412
4413
|
providerRepositoryId: string;
|
|
4413
4414
|
};
|
|
4414
|
-
reason: string;
|
|
4415
4415
|
}[] | undefined;
|
|
4416
4416
|
failures?: {
|
|
4417
|
+
message: string;
|
|
4417
4418
|
repository: {
|
|
4418
4419
|
provider: SourceProvider.GitHub;
|
|
4419
4420
|
providerAccountId: string;
|
|
@@ -4423,7 +4424,6 @@ declare const GeneratedTestDeliverySchema: z.ZodDiscriminatedUnion<"status", [
|
|
|
4423
4424
|
providerAccountId: string;
|
|
4424
4425
|
providerRepositoryId: string;
|
|
4425
4426
|
};
|
|
4426
|
-
message: string;
|
|
4427
4427
|
branch?: string | undefined;
|
|
4428
4428
|
commitSha?: string | undefined;
|
|
4429
4429
|
}[] | undefined;
|
|
@@ -4516,6 +4516,7 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4516
4516
|
branch: z.ZodString;
|
|
4517
4517
|
commit: z.ZodString;
|
|
4518
4518
|
}, "strict", z.ZodTypeAny, {
|
|
4519
|
+
kind: GitHubWriteKind.BranchPushed;
|
|
4519
4520
|
repository: {
|
|
4520
4521
|
provider: SourceProvider.GitHub;
|
|
4521
4522
|
providerAccountId: string;
|
|
@@ -4525,10 +4526,10 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4525
4526
|
providerAccountId: string;
|
|
4526
4527
|
providerRepositoryId: string;
|
|
4527
4528
|
};
|
|
4528
|
-
kind: GitHubWriteKind.BranchPushed;
|
|
4529
4529
|
branch: string;
|
|
4530
4530
|
commit: string;
|
|
4531
4531
|
}, {
|
|
4532
|
+
kind: GitHubWriteKind.BranchPushed;
|
|
4532
4533
|
repository: {
|
|
4533
4534
|
provider: SourceProvider.GitHub;
|
|
4534
4535
|
providerAccountId: string;
|
|
@@ -4538,7 +4539,6 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4538
4539
|
providerAccountId: string;
|
|
4539
4540
|
providerRepositoryId: string;
|
|
4540
4541
|
};
|
|
4541
|
-
kind: GitHubWriteKind.BranchPushed;
|
|
4542
4542
|
branch: string;
|
|
4543
4543
|
commit: string;
|
|
4544
4544
|
}>,
|
|
@@ -4579,6 +4579,7 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4579
4579
|
branch: z.ZodString;
|
|
4580
4580
|
}, "strict", z.ZodTypeAny, {
|
|
4581
4581
|
number: string;
|
|
4582
|
+
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4582
4583
|
repository: {
|
|
4583
4584
|
provider: SourceProvider.GitHub;
|
|
4584
4585
|
providerAccountId: string;
|
|
@@ -4588,10 +4589,10 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4588
4589
|
providerAccountId: string;
|
|
4589
4590
|
providerRepositoryId: string;
|
|
4590
4591
|
};
|
|
4591
|
-
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4592
4592
|
branch: string;
|
|
4593
4593
|
}, {
|
|
4594
4594
|
number: string;
|
|
4595
|
+
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4595
4596
|
repository: {
|
|
4596
4597
|
provider: SourceProvider.GitHub;
|
|
4597
4598
|
providerAccountId: string;
|
|
@@ -4601,7 +4602,6 @@ declare const GitHubWriteSchema: z.ZodDiscriminatedUnion<"kind", [
|
|
|
4601
4602
|
providerAccountId: string;
|
|
4602
4603
|
providerRepositoryId: string;
|
|
4603
4604
|
};
|
|
4604
|
-
kind: GitHubWriteKind.PullRequestOpened | GitHubWriteKind.PullRequestEdited;
|
|
4605
4605
|
branch: string;
|
|
4606
4606
|
}>
|
|
4607
4607
|
]>;
|
|
@@ -4672,8 +4672,8 @@ declare const MergeConflictV1Schema: z.ZodObject<{
|
|
|
4672
4672
|
providerAccountId: string;
|
|
4673
4673
|
providerRepositoryId: string;
|
|
4674
4674
|
};
|
|
4675
|
-
revisions: number[];
|
|
4676
4675
|
files: string[];
|
|
4676
|
+
revisions: number[];
|
|
4677
4677
|
}, {
|
|
4678
4678
|
repository: {
|
|
4679
4679
|
provider: SourceProvider.GitHub;
|
|
@@ -4684,8 +4684,8 @@ declare const MergeConflictV1Schema: z.ZodObject<{
|
|
|
4684
4684
|
providerAccountId: string;
|
|
4685
4685
|
providerRepositoryId: string;
|
|
4686
4686
|
};
|
|
4687
|
-
revisions: number[];
|
|
4688
4687
|
files: string[];
|
|
4688
|
+
revisions: number[];
|
|
4689
4689
|
}>;
|
|
4690
4690
|
export type MergeConflictV1 = z.infer<typeof MergeConflictV1Schema>;
|
|
4691
4691
|
declare enum CommitLookup {
|