import type { Resource } from 'pinejs-client-core'; import type BalenaModel from './v7'; import type { Application, Device } from './v7'; export type * from './v7'; export { BalenaModel }; export interface EnvironmentVariableBase { id: number; name: string; value: string; } export interface DeviceVariable extends EnvironmentVariableBase { device: NavigationResource; } export interface ApplicationVariable extends EnvironmentVariableBase { application: NavigationResource; } export interface PineDeferred { __id: number; } export type NavigationResource = [T] | PineDeferred; export type OptionalNavigationResource = [ ] | [T] | PineDeferred | null;