@k8ts/instruments
Version:
A collection of utilities and core components for k8ts.
9 lines (8 loc) • 366 B
text/typescript
import { PortSet } from "./set"
import type { InputPortSetRecord } from "./types"
export { PortMap } from "./map"
export { PortSet } from "./set"
export { InputPortMapping, InputPortSetRecord, PortMapEntry, PortSetEntry } from "./types"
export function ports<Names extends string>(input: InputPortSetRecord<Names>): PortSet<Names> {
return PortSet.make(input)
}