Skip to content

Modern Docker Management, Designed for Everyone

895 B
Raw Blame
import type { Environment, EnvironmentStatus } from '#lib/types/environment.js';
import type { FormInputs } from '#lib/types/form.js';

import type { EnvironmentFormValues } from './environment-form-schema';

export type EnvironmentFormInputs = FormInputs<EnvironmentFormValues>;

export interface ConnectionEdgeTabProps {
	environment: Environment;
	currentStatus: EnvironmentStatus;
	showMTLSDownloads: boolean;
	isRegeneratingKey: boolean;
	onRegenerateApiKey: () => void;
}

export interface StorageTabProps {
	formInputs: EnvironmentFormInputs;
}

export interface DockerTabProps {
	formInputs: EnvironmentFormInputs;
	environmentId: string;
	shellSelectValue: string;
	handleShellSelectChange: (value: string) => void;
	shellOptions: { value: string; label: string; description?: string }[];
}

export interface JobsTabProps {
	formInputs: EnvironmentFormInputs;
	environmentId: string;
}