remove recovered services and drop reordering feature (#1829)

This commit is contained in:
Matt Hill
2022-09-26 13:37:41 -06:00
committed by Aiden McClelland
parent 35b220d7a5
commit 2ddd38796d
21 changed files with 35 additions and 440 deletions

View File

@@ -814,19 +814,6 @@ export class MockApiService extends ApiService {
return this.withRevision(patch)
}
async deleteRecoveredPackage(
params: RR.DeleteRecoveredPackageReq,
): Promise<RR.DeleteRecoveredPackageRes> {
await pauseFor(2000)
const patch: RemoveOperation[] = [
{
op: PatchOp.REMOVE,
path: `/recovered-packages/${params.id}`,
},
]
return this.withRevision(patch)
}
async dryConfigureDependency(
params: RR.DryConfigureDependencyReq,
): Promise<RR.DryConfigureDependencyRes> {
@@ -892,10 +879,6 @@ export class MockApiService extends ApiService {
op: PatchOp.REMOVE,
path: `/package-data/${id}/install-progress`,
},
{
op: PatchOp.REMOVE,
path: `/recovered-packages/${id}`,
},
]
this.mockRevision(patch2)
}, 1000)