mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-01 00:45:23 +00:00
Do not re-export ContractObject on lib/contracts
Further reduce circular dependencies to 10 Change-type: patch
This commit is contained in:
parent
bef5e78440
commit
48f75e61b8
@ -3,14 +3,13 @@ import * as t from 'io-ts';
|
||||
import Reporter from 'io-ts-reporters';
|
||||
import _ from 'lodash';
|
||||
|
||||
import { Blueprint, Contract, ContractObject } from '@balena/contrato';
|
||||
import type { ContractObject } from '@balena/contrato';
|
||||
import { Blueprint, Contract } from '@balena/contrato';
|
||||
|
||||
import { ContractValidationError, InternalInconsistencyError } from './errors';
|
||||
import { checkTruthy } from './validation';
|
||||
import type { TargetApps } from '../types';
|
||||
|
||||
export { ContractObject };
|
||||
|
||||
export interface ApplicationContractResult {
|
||||
valid: boolean;
|
||||
unmetServices: string[];
|
||||
|
@ -1,6 +1,6 @@
|
||||
import * as t from 'io-ts';
|
||||
|
||||
import type { ContractObject } from '../lib/contracts';
|
||||
import type { ContractObject } from '@balena/contrato';
|
||||
|
||||
import {
|
||||
DockerName,
|
||||
|
Loading…
x
Reference in New Issue
Block a user