the-moby-effect
Version:
Moby/Docker API client built using effect-ts
13 lines (11 loc) • 434 B
text/typescript
import * as Schema from "effect/Schema";
export class SwarmTopology extends Schema.Class<SwarmTopology>("SwarmTopology")(
{
Segments: Schema.optional(Schema.NullOr(Schema.Record(Schema.String, Schema.String))),
},
{
identifier: "SwarmTopology",
title: "swarm.Topology",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/swarm#Topology",
}
) {}