mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-21 00:23:22 +00:00
Split compose types into interface and implementation
This splits `App`, `Network`, `Service` and `Volume` which used to be defined as classes into an interface and a class implementation that is not exported. This will allow to work with just the types in some cases and prevent circular dependencies when importing. Change-type: patch
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { expect } from 'chai';
|
||||
import { isRight } from 'fp-ts/lib/Either';
|
||||
import App from '~/src/compose/app';
|
||||
import Network from '~/src/compose/network';
|
||||
import { App } from '~/src/compose/app';
|
||||
import { Network } from '~/src/compose/network';
|
||||
import * as config from '~/src/config';
|
||||
import * as testDb from '~/src/db';
|
||||
import * as dbFormat from '~/src/device-state/db-format';
|
||||
|
Reference in New Issue
Block a user