INTO-CPS-Association/DTaaS

View on GitHub
servers/execution/runner/src/dto/command.dto.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { z } from 'zod';

export const executeCommandSchema = z
  .object({
    name: z.string(),
  })
  .required();

export type ExecuteCommandDto = z.infer<typeof executeCommandSchema>;