the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines • 809 B
JavaScript
import * as Schema from "effect/Schema";
import * as MobyNumber from "../schemas/number.js";
import * as ContainerWaitExitError from "./ContainerWaitExitError.generated.js";
export class ContainerWaitResponse extends /*#__PURE__*/Schema.Class("ContainerWaitResponse")({
Error: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(ContainerWaitExitError.ContainerWaitExitError)),
StatusCode: /*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({
minimum: -(2n ** 63n),
maximum: 2n ** 63n - 1n
}))
}, {
identifier: "ContainerWaitResponse",
title: "container.WaitResponse",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/container#WaitResponse"
}) {}
//# sourceMappingURL=ContainerWaitResponse.generated.js.map