UNPKG

the-moby-effect

Version:
17 lines 1 kB
import * as Schema from "effect/Schema"; import * as MobyNumber from "../schemas/number.js"; import * as VolumeTopology from "./VolumeTopology.generated.js"; export class VolumeInfo extends /*#__PURE__*/Schema.Class("VolumeInfo")({ CapacityBytes: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), VolumeContext: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Record(Schema.String, Schema.String))), VolumeID: /*#__PURE__*/Schema.optional(Schema.String), AccessibleTopology: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(VolumeTopology.VolumeTopology)))) }, { identifier: "VolumeInfo", title: "volume.Info", documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/volume#Info" }) {} //# sourceMappingURL=VolumeInfo.generated.js.map