mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-01 08:47:56 +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 Reporter from 'io-ts-reporters';
|
||||||
import _ from 'lodash';
|
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 { ContractValidationError, InternalInconsistencyError } from './errors';
|
||||||
import { checkTruthy } from './validation';
|
import { checkTruthy } from './validation';
|
||||||
import type { TargetApps } from '../types';
|
import type { TargetApps } from '../types';
|
||||||
|
|
||||||
export { ContractObject };
|
|
||||||
|
|
||||||
export interface ApplicationContractResult {
|
export interface ApplicationContractResult {
|
||||||
valid: boolean;
|
valid: boolean;
|
||||||
unmetServices: string[];
|
unmetServices: string[];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import * as t from 'io-ts';
|
import * as t from 'io-ts';
|
||||||
|
|
||||||
import type { ContractObject } from '../lib/contracts';
|
import type { ContractObject } from '@balena/contrato';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
DockerName,
|
DockerName,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user