mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
committed by
Aiden McClelland
parent
5bcad69cf7
commit
7213d82f1b
@@ -17,7 +17,6 @@ import {
|
||||
PackageState,
|
||||
} from 'src/app/services/patch-db/data-model'
|
||||
import { BackupTargetType, Metrics, RR } from './api.types'
|
||||
import { parsePropertiesPermissive } from 'src/app/util/properties.util'
|
||||
import { Mock } from './api.fixures'
|
||||
import markdown from 'raw-loader!../../../../../shared/assets/markdown/md-sample.md'
|
||||
import {
|
||||
@@ -667,12 +666,13 @@ export class MockApiService extends ApiService {
|
||||
|
||||
// package
|
||||
|
||||
async getPackageProperties(
|
||||
params: RR.GetPackagePropertiesReq,
|
||||
): Promise<RR.GetPackagePropertiesRes<2>['data']> {
|
||||
async getPackageCredentials(
|
||||
params: RR.GetPackageCredentialsReq,
|
||||
): Promise<RR.GetPackageCredentialsRes> {
|
||||
await pauseFor(2000)
|
||||
return '' as any
|
||||
// return parsePropertiesPermissive(Mock.PackageProperties)
|
||||
return {
|
||||
password: 'specialPassword$',
|
||||
}
|
||||
}
|
||||
|
||||
async getPackageLogs(
|
||||
|
||||
Reference in New Issue
Block a user