Define the database type of the application

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2019-11-06 17:50:07 +00:00
parent 09a8231fde
commit 053e111626
No known key found for this signature in database
GPG Key ID: 49690ED87032539F

View File

@ -59,3 +59,14 @@ export type TargetApplication = LocalTargetState['apps'][0];
export type AppsJsonFormat = Omit<TargetState['local'], 'name'> & {
pinDevice?: boolean;
};
export type ApplicationDatabaseFormat = Array<{
appId: number;
commit: string;
name: string;
source: string;
releaseId: number;
services: string;
networks: string;
volumes: string;
}>;