mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 13:26:24 +00:00
634ad156ce
Change-type: patch
14 lines
312 B
TypeScript
14 lines
312 B
TypeScript
import type { Application, DeviceType, Device } from 'balena-sdk';
|
|
|
|
declare global {
|
|
type ApplicationWithDeviceTypeSlug = Omit<
|
|
Application,
|
|
'is_for__device_type'
|
|
> & {
|
|
is_for__device_type: [Pick<DeviceType, 'slug'>];
|
|
};
|
|
type DeviceWithDeviceType = Device & {
|
|
is_of__device_type: [DeviceType];
|
|
};
|
|
}
|