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