UNPKG

the-moby-effect

Version:
28 lines 1.5 kB
import * as Schema from "effect/Schema"; import * as MobyNumber from "../schemas/number.js"; import * as JsonmessageJSONError from "./JsonmessageJSONError.generated.js"; import * as JsonmessageJSONProgress from "./JsonmessageJSONProgress.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.optional(/*#__PURE__*/Schema.NullOr(JsonmessageJSONProgress.JsonmessageJSONProgress)), progress: /*#__PURE__*/Schema.optional(Schema.String), id: /*#__PURE__*/Schema.optional(Schema.String), from: /*#__PURE__*/Schema.optional(Schema.String), time: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), timeNano: /*#__PURE__*/Schema.optional(/*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n }))), errorDetail: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(JsonmessageJSONError.JsonmessageJSONError)), error: /*#__PURE__*/Schema.optional(Schema.String), aux: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(Schema.Unknown)) }, { identifier: "JSONMessage", title: "jsonmessage.JSONMessage", documentation: "" }) {} //# sourceMappingURL=JSONMessage.generated.js.map