UNPKG

the-moby-effect

Version:
30 lines 1.31 kB
import * as Schema from "effect/Schema"; import * as MobySchemas from "../schemas/index.js"; import * as JSONError from "./JSONError.generated.js"; import * as JSONProgress from "./JSONProgress.generated.js"; export class JSONMessage extends /*#__PURE__*/Schema.Class("JSONMessage")({ stream: /*#__PURE__*/Schema.optional(Schema.String), status: /*#__PURE__*/Schema.optional(Schema.String), progressDetail: /*#__PURE__*/Schema.optionalWith(JSONProgress.JSONProgress, { nullable: true }), progress: /*#__PURE__*/Schema.optional(Schema.String), id: /*#__PURE__*/Schema.optional(Schema.String), from: /*#__PURE__*/Schema.optional(Schema.String), time: /*#__PURE__*/Schema.optional(MobySchemas.Int64), timeNano: /*#__PURE__*/Schema.optional(MobySchemas.Int64), errorDetail: /*#__PURE__*/Schema.optionalWith(JSONError.JSONError, { nullable: true }), error: /*#__PURE__*/Schema.optional(Schema.String), aux: /*#__PURE__*/Schema.optionalWith(/*#__PURE__*/Schema.Struct({ ID: Schema.String }), { nullable: true }) }, { identifier: "JSONMessage", title: "jsonmessage.JSONMessage", documentation: "https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/pkg/jsonmessage/jsonmessage.go#L142-L158" }) {} //# sourceMappingURL=JSONMessage.generated.js.map