Skip to content
Myr

run.ts

This file

Path

packages/protocol/src/domain/run.ts

16 lines · 543 bytes · TypeScript

Last changed by

Merge build/comments-cli-protocol-checks into mainoscabrielbefore adoptionc86204f

History of this file

Take it

The walk stopped after 200 commits: lines older than 678c8b8 point at it.

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 1–16why, one step back
1import { Schema } from "effect";
23import { LaneName } from "../ids.ts";4import { Command, Hostname } from "./common.ts";56export const RunBlock = Schema.Struct({7 checks: Schema.Record(LaneName, Command),8 doctor: Schema.optionalKey(Command),9 image: Schema.optionalKey(Schema.NonEmptyString),10 setup: Schema.optionalKey(Command),11 /** Hosts setup may reach beyond the defaults; setup only, never the checks. */12 setupEgress: Schema.optionalKey(Schema.Array(Hostname)),13 test: Command,14});1516export type RunBlock = typeof RunBlock.Type;