mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
drives page
This commit is contained in:
committed by
Aiden McClelland
parent
31318687bf
commit
0cd2a32b24
@@ -29,13 +29,17 @@ export class MockApiService extends ApiService {
|
||||
async postConfigureDependency (dependencyId: string, dependentId: string, dryRun?: boolean): Promise<{ config: object, breakages: DependentBreakage[] }> {
|
||||
await pauseFor(2000)
|
||||
throw new Error ('some misc backend error ohh we forgot to make this endpoint or something')
|
||||
// return { config: mockCupsDependentConfig, breakages: [ ] }
|
||||
}
|
||||
|
||||
async getServer (): Promise<ApiServer> {
|
||||
return mockGetServer()
|
||||
}
|
||||
|
||||
async ejectExternalDisk (): Promise<Unit> {
|
||||
await pauseFor(2000)
|
||||
return { }
|
||||
}
|
||||
|
||||
async getCheckAuth (): Promise<ReqRes.GetCheckAuthRes> {
|
||||
return { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user