From 053e111626330ab4cc7a7dc545c94aa0674405ee Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Wed, 6 Nov 2019 17:50:07 +0000 Subject: [PATCH] Define the database type of the application Change-type: patch Signed-off-by: Cameron Diver --- src/types/state.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/types/state.ts b/src/types/state.ts index bcff9cc9..bcb2978e 100644 --- a/src/types/state.ts +++ b/src/types/state.ts @@ -59,3 +59,14 @@ export type TargetApplication = LocalTargetState['apps'][0]; export type AppsJsonFormat = Omit & { pinDevice?: boolean; }; + +export type ApplicationDatabaseFormat = Array<{ + appId: number; + commit: string; + name: string; + source: string; + releaseId: number; + services: string; + networks: string; + volumes: string; +}>;