the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines • 690 B
JavaScript
import * as Schema from "effect/Schema";
import * as SwarmNetwork from "./SwarmNetwork.generated.js";
export class SwarmNetworkAttachment extends /*#__PURE__*/Schema.Class("SwarmNetworkAttachment")({
Network: /*#__PURE__*/Schema.optionalWith(SwarmNetwork.SwarmNetwork, {
nullable: true
}),
Addresses: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(Schema.String), {
nullable: true
})
}, {
identifier: "SwarmNetworkAttachment",
title: "swarm.NetworkAttachment",
documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/network.go#L104-L108"
}) {}
//# sourceMappingURL=SwarmNetworkAttachment.generated.js.map