the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines • 649 B
JavaScript
import * as Schema from "effect/Schema";
export class Platform extends /*#__PURE__*/Schema.Class("Platform")({
architecture: Schema.String,
os: Schema.String,
"os.version": /*#__PURE__*/Schema.optional(Schema.String),
"os.features": /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(Schema.String), {
nullable: true
}),
variant: /*#__PURE__*/Schema.optional(Schema.String)
}, {
identifier: "Platform",
title: "v1.Platform",
documentation: "https://github.com/opencontainers/image-spec/blob/39ab2d54cfa8fe1bee1ff20001264986d92ab85a/specs-go/v1/descriptor.go#L52-L72"
}) {}
//# sourceMappingURL=Platform.generated.js.map