mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
comments-addressed
This commit is contained in:
committed by
Aiden McClelland
parent
5ed99520ae
commit
0b618d7a68
@@ -11,7 +11,6 @@ import { ErrorToastService } from 'src/app/services/error-toast.service'
|
||||
})
|
||||
export class AppLogsPage {
|
||||
@ViewChild(IonContent, { static: false }) private content: IonContent
|
||||
page = 1
|
||||
pkgId: string
|
||||
firstTimeLoaded = false
|
||||
needInfinite = true
|
||||
|
||||
@@ -793,114 +793,6 @@ export module Mock {
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'ServerLogs ServerLogs ServerLogs ServerLogs ServerLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
]
|
||||
|
||||
export const PackageLogs: RR.GetPackageLogsRes = [
|
||||
@@ -916,90 +808,6 @@ export module Mock {
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:20:30.872Z',
|
||||
log: '****** START *****',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:21:30.872Z',
|
||||
log: 'PackageLogs PackageLogs PackageLogs PackageLogs PackageLogs',
|
||||
},
|
||||
{
|
||||
timestamp: '2019-12-26T14:22:30.872Z',
|
||||
log: '****** FINISH *****',
|
||||
},
|
||||
]
|
||||
|
||||
export const Sessions: RR.GetSessionsRes = {
|
||||
|
||||
@@ -79,7 +79,7 @@ export class MockApiService extends ApiService {
|
||||
console.log('last page')
|
||||
return []
|
||||
}
|
||||
return Mock.ServerLogs
|
||||
return new Array(10).map(_ => Mock.ServerLogs).reduce((acc, val) => acc.concat(val), [])
|
||||
}
|
||||
|
||||
async getServerMetrics (params: RR.GetServerMetricsReq): Promise<RR.GetServerMetricsRes> {
|
||||
@@ -318,7 +318,8 @@ export class MockApiService extends ApiService {
|
||||
console.log('last page')
|
||||
return []
|
||||
}
|
||||
return Mock.PackageLogs
|
||||
|
||||
return new Array(10).map(_ => Mock.PackageLogs).reduce((acc, val) => acc.concat(val), [])
|
||||
}
|
||||
|
||||
async installPackageRaw (params: RR.InstallPackageReq): Promise<RR.InstallPackageRes> {
|
||||
|
||||
Reference in New Issue
Block a user