mobbdev 1.0.25 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +67 -59
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -866,6 +866,9 @@ var AnalysisPageQueryParamsZ = ProjectPageQueryParamsZ.extend({
|
|
|
866
866
|
var FixPageQueryParamsZ = AnalysisPageQueryParamsZ.extend({
|
|
867
867
|
fixId: z3.string().uuid()
|
|
868
868
|
});
|
|
869
|
+
var IssuePageQueryParamsZ = AnalysisPageQueryParamsZ.extend({
|
|
870
|
+
issueId: z3.string().uuid()
|
|
871
|
+
});
|
|
869
872
|
var CliLoginPageQueryParamsZ = z3.object({
|
|
870
873
|
loginId: z3.string().uuid()
|
|
871
874
|
});
|
|
@@ -894,6 +897,7 @@ var AnalysisReportDigestedZ = z3.object({
|
|
|
894
897
|
var ReportQueryResultZ = z3.object({
|
|
895
898
|
fixReport_by_pk: z3.object({
|
|
896
899
|
id: z3.string().uuid(),
|
|
900
|
+
analysisUrl: z3.string(),
|
|
897
901
|
fixesCommitted: z3.object({
|
|
898
902
|
aggregate: z3.object({ count: z3.number() })
|
|
899
903
|
}),
|
|
@@ -1139,68 +1143,70 @@ var GetReportIssuesQueryZ = z3.object({
|
|
|
1139
1143
|
})
|
|
1140
1144
|
}).array()
|
|
1141
1145
|
}).nullish();
|
|
1142
|
-
var
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1146
|
+
var FixPageFixReportZ = z3.object({
|
|
1147
|
+
id: z3.string().uuid(),
|
|
1148
|
+
analysisUrl: z3.string(),
|
|
1149
|
+
expirationOn: z3.string(),
|
|
1150
|
+
createdOn: z3.string(),
|
|
1151
|
+
state: z3.nativeEnum(Fix_Report_State_Enum),
|
|
1152
|
+
fixes_aggregate: z3.object({
|
|
1153
|
+
aggregate: z3.object({
|
|
1154
|
+
count: z3.number()
|
|
1155
|
+
})
|
|
1156
|
+
}),
|
|
1157
|
+
repo: z3.object({
|
|
1158
|
+
name: z3.string().nullable(),
|
|
1159
|
+
originalUrl: z3.string(),
|
|
1160
|
+
reference: z3.string(),
|
|
1161
|
+
commitSha: z3.string()
|
|
1162
|
+
}),
|
|
1163
|
+
vulnerabilityReport: z3.object({
|
|
1164
|
+
vendor: z3.nativeEnum(Vulnerability_Report_Vendor_Enum),
|
|
1165
|
+
vendorReportId: z3.string().uuid().nullable(),
|
|
1166
|
+
projectId: z3.string().uuid(),
|
|
1167
|
+
project: z3.object({
|
|
1168
|
+
organizationId: z3.string().uuid()
|
|
1169
|
+
}),
|
|
1170
|
+
file: z3.object({
|
|
1171
|
+
id: z3.string().uuid(),
|
|
1172
|
+
path: z3.string()
|
|
1173
|
+
}),
|
|
1174
|
+
pending: z3.object({
|
|
1149
1175
|
aggregate: z3.object({
|
|
1150
1176
|
count: z3.number()
|
|
1151
1177
|
})
|
|
1152
1178
|
}),
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
commitSha: z3.string()
|
|
1179
|
+
supported: z3.object({
|
|
1180
|
+
aggregate: z3.object({
|
|
1181
|
+
count: z3.number()
|
|
1182
|
+
})
|
|
1158
1183
|
}),
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
})
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
fixable: z3.object({
|
|
1186
|
-
aggregate: z3.object({
|
|
1187
|
-
count: z3.number()
|
|
1188
|
-
})
|
|
1189
|
-
}),
|
|
1190
|
-
errors: z3.object({
|
|
1191
|
-
aggregate: z3.object({
|
|
1192
|
-
count: z3.number()
|
|
1193
|
-
})
|
|
1194
|
-
}),
|
|
1195
|
-
vulnerabilityReportIssues: z3.object({
|
|
1196
|
-
extraData: z3.object({
|
|
1197
|
-
missing_files: z3.string().array().nullish(),
|
|
1198
|
-
large_files: z3.string().array().nullish(),
|
|
1199
|
-
error_files: z3.string().array().nullish()
|
|
1200
|
-
})
|
|
1201
|
-
}).array()
|
|
1202
|
-
})
|
|
1203
|
-
}),
|
|
1184
|
+
all: z3.object({
|
|
1185
|
+
aggregate: z3.object({
|
|
1186
|
+
count: z3.number()
|
|
1187
|
+
})
|
|
1188
|
+
}),
|
|
1189
|
+
fixable: z3.object({
|
|
1190
|
+
aggregate: z3.object({
|
|
1191
|
+
count: z3.number()
|
|
1192
|
+
})
|
|
1193
|
+
}),
|
|
1194
|
+
errors: z3.object({
|
|
1195
|
+
aggregate: z3.object({
|
|
1196
|
+
count: z3.number()
|
|
1197
|
+
})
|
|
1198
|
+
}),
|
|
1199
|
+
vulnerabilityReportIssues: z3.object({
|
|
1200
|
+
extraData: z3.object({
|
|
1201
|
+
missing_files: z3.string().array().nullish(),
|
|
1202
|
+
large_files: z3.string().array().nullish(),
|
|
1203
|
+
error_files: z3.string().array().nullish()
|
|
1204
|
+
})
|
|
1205
|
+
}).array()
|
|
1206
|
+
})
|
|
1207
|
+
});
|
|
1208
|
+
var FixScreenQueryResultZ = z3.object({
|
|
1209
|
+
fixReport_by_pk: FixPageFixReportZ,
|
|
1204
1210
|
fix_by_pk: FixQueryZ.merge(
|
|
1205
1211
|
z3.object({
|
|
1206
1212
|
vulnerabilityReportIssues: z3.array(
|
|
@@ -4486,6 +4492,8 @@ var SubmitFixesBaseResponseMessageZ = z15.object({
|
|
|
4486
4492
|
type: z15.enum([
|
|
4487
4493
|
"InitialRepoAccessError",
|
|
4488
4494
|
"PushBranchError",
|
|
4495
|
+
"AllFixesConflictWithTargetBranchError",
|
|
4496
|
+
"InternalFixConflictError",
|
|
4489
4497
|
"UnknownError"
|
|
4490
4498
|
]),
|
|
4491
4499
|
info: z15.object({
|
|
@@ -7570,8 +7578,8 @@ var GQLClient = class {
|
|
|
7570
7578
|
params.subscribeToAnalysisParams,
|
|
7571
7579
|
async (resolve, reject, data) => {
|
|
7572
7580
|
if (!data.analysis?.state || data.analysis?.state === "Failed" /* Failed */) {
|
|
7573
|
-
reject(data);
|
|
7574
|
-
|
|
7581
|
+
reject(new Error(`Analysis failed with id: ${data.analysis?.id}`));
|
|
7582
|
+
return;
|
|
7575
7583
|
}
|
|
7576
7584
|
if (callbackStates.includes(data.analysis?.state)) {
|
|
7577
7585
|
await params.callback(data.analysis.id);
|