the-moby-effect
Version:
Moby/Docker API client built using effect-ts
12 lines • 596 B
JavaScript
import * as Schema from "effect/Schema";
import * as SwarmAnnotations from "./SwarmAnnotations.generated.js";
export class SwarmNodeSpec extends /*#__PURE__*/Schema.Class("SwarmNodeSpec")({
...SwarmAnnotations.SwarmAnnotations.fields,
Role: /*#__PURE__*/Schema.optional(Schema.String),
Availability: /*#__PURE__*/Schema.optional(Schema.String)
}, {
identifier: "SwarmNodeSpec",
title: "swarm.NodeSpec",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/node.go#L20-L25"
}) {}
//# sourceMappingURL=SwarmNodeSpec.generated.js.map