diff --git a/services/frontend/src/types/index.ts b/services/frontend/src/types/index.ts index 0734986..ca999e7 100644 --- a/services/frontend/src/types/index.ts +++ b/services/frontend/src/types/index.ts @@ -352,3 +352,26 @@ export interface IGeneratePayload { volumes: Record>; }; } + +export interface IEditServiceForm { + serviceName: string; + containerName: string; + ports: { + hostPort: string; + containerPort: string; + protocol: "tcp" | "udp"; + }[]; + environmentVariables: { + key: string; + value: string; + }[]; + volumes: { + name: string; + containerPath: string; + accessMode: string; + }[]; + labels: { + key: string; + value: string; + }[]; +}