syncthing/src/app/services/in-memory-config-data.servi...

17 lines
452 B
TypeScript
Raw Normal View History

2020-03-15 17:33:21 +01:00
import { Injectable } from '@angular/core';
2020-03-27 14:09:52 +01:00
import { config } from '../mocks/mock-system-config'
2020-03-25 14:41:22 +01:00
import { dbStatus } from '../mocks/mock-db-status'
2020-03-27 14:09:52 +01:00
import { connections } from '../mocks/mock-system-connections'
import { dbCompletion } from '../mocks/mock-db-completion'
2020-03-15 17:33:21 +01:00
@Injectable({
providedIn: 'root'
})
export class InMemoryConfigDataService {
createDb() {
return { config, dbStatus, connections, dbCompletion };
2020-03-15 17:33:21 +01:00
}
2020-03-18 03:36:13 +01:00
2020-03-15 17:33:21 +01:00
constructor() { }
}