UNPKG

the-moby-effect

Version:
25 lines 1.13 kB
import * as Schema from "effect/Schema"; import * as ComponentVersion from "./ComponentVersion.generated.js"; export class SystemVersionResponse extends /*#__PURE__*/Schema.Class("SystemVersionResponse")({ Platform: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.Struct({ Name: Schema.String })), Components: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Array(/*#__PURE__*/Schema.NullOr(ComponentVersion.ComponentVersion)), { nullable: true }), Version: Schema.String, ApiVersion: Schema.String, MinAPIVersion: /*#__PURE__*/Schema.optional(Schema.String), GitCommit: Schema.String, GoVersion: Schema.String, Os: Schema.String, Arch: Schema.String, KernelVersion: /*#__PURE__*/Schema.optional(Schema.String), Experimental: /*#__PURE__*/Schema.optional(Schema.Boolean), BuildTime: /*#__PURE__*/Schema.optional(Schema.String) }, { identifier: "SystemVersionResponse", title: "types.Version", documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/types.go#L188-L206" }) {} //# sourceMappingURL=SystemVersionResponse.generated.js.map