the-moby-effect
Version:
Moby/Docker API client built using effect-ts
20 lines • 864 B
JavaScript
import * as Schema from "effect/Schema";
import * as MobyNumber from "../schemas/number.js";
export class ContainerPathStat extends /*#__PURE__*/Schema.Class("ContainerPathStat")({
name: Schema.String,
size: /*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({
minimum: -(2n ** 63n),
maximum: 2n ** 63n - 1n
})),
mode: /*#__PURE__*/MobyNumber.NumberFromWireString.check(/*#__PURE__*/Schema.isInt(), /*#__PURE__*/Schema.isBetween({
minimum: 0,
maximum: 2 ** 32 - 1
})),
mtime: /*#__PURE__*/Schema.NullOr(Schema.DateFromString),
linkTarget: Schema.String
}, {
identifier: "ContainerPathStat",
title: "container.PathStat",
documentation: "https://pkg.go.dev/github.com/docker/docker@v28.4.0+incompatible/api/types/container#PathStat"
}) {}
//# sourceMappingURL=ContainerPathStat.generated.js.map