From 22c9ca3f6eeffe1ab02aa0d153a1fa06c9e77ece Mon Sep 17 00:00:00 2001 From: Samuel Rowe Date: Sat, 30 Jul 2022 13:16:13 +0530 Subject: [PATCH] feat(frontend): added `profiles` to `IEditServiceForm` interface * Marked `profiles` as optional in `IService` interface. --- services/frontend/src/types/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/frontend/src/types/index.ts b/services/frontend/src/types/index.ts index e62eaae..7b9f7e8 100644 --- a/services/frontend/src/types/index.ts +++ b/services/frontend/src/types/index.ts @@ -258,7 +258,7 @@ export interface IService { mode: string; }; privileged: boolean; - profiles: string; + profiles?: string[]; pull_policy: string; read_only: boolean; restart: string; @@ -364,6 +364,7 @@ export interface IEditServiceForm { imageName: string; imageTag: string; containerName: string; + profiles: string[]; ports: { hostPort: string; containerPort: string;