UNPKG

the-moby-effect

Version:
22 lines 1.13 kB
import * as Schema from "effect/Schema"; import * as MobyIdentifiers from "../schemas/id.js"; import * as MobyNumber from "../schemas/number.js"; import * as V1Platform from "./V1Platform.generated.js"; export class V1Descriptor extends /*#__PURE__*/Schema.Class("V1Descriptor")({ mediaType: Schema.String, digest: MobyIdentifiers.Digest, size: /*#__PURE__*/MobyNumber.BigIntFromWireString.check(/*#__PURE__*/Schema.isBetweenBigInt({ minimum: -(2n ** 63n), maximum: 2n ** 63n - 1n })), urls: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Array(Schema.String))), annotations: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(/*#__PURE__*/Schema.Record(Schema.String, Schema.String))), data: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(Schema.Uint8ArrayFromBase64)), platform: /*#__PURE__*/Schema.optional(/*#__PURE__*/Schema.NullOr(V1Platform.V1Platform)), artifactType: /*#__PURE__*/Schema.optional(Schema.String) }, { identifier: "V1Descriptor", title: "v1.Descriptor", documentation: "" }) {} //# sourceMappingURL=V1Descriptor.generated.js.map