Hyperlinkv0.8.0-beta.28

SchemaRepresentation

SchemaRepresentation.$Objectsconsteffect/SchemaRepresentation.ts:1380
Schema.Struct<{
  readonly _tag: Schema.tag<"Objects">
  readonly annotations: Schema.optional<
    Schema.decodeTo<
      Schema.$Record<Schema.String, Schema.Unknown>,
      Schema.$Record<
        Schema.String,
        Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>
      >,
      never,
      never
    >
  >
  readonly propertySignatures: Schema.$Array<
    Schema.Struct<{
      readonly annotations: Schema.optional<
        Schema.decodeTo<
          Schema.$Record<Schema.String, Schema.Unknown>,
          Schema.$Record<
            Schema.String,
            Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>
          >,
          never,
          never
        >
      >
      readonly name: Schema.Union<
        readonly [Schema.Finite, Schema.Symbol, Schema.String]
      >
      readonly type: Schema.suspend<$Representation>
      readonly isOptional: Schema.Boolean
      readonly isMutable: Schema.Boolean
    }>
  >
  readonly indexSignatures: Schema.$Array<
    Schema.Struct<{
      readonly parameter: Schema.suspend<$Representation>
      readonly type: Schema.suspend<$Representation>
    }>
  >
  readonly checks: Schema.$Array<
    Schema.Codec<
      Check<
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isMinProperties">
              readonly minProperties: Schema.Int
            },
            "Type"
          >
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isMaxProperties">
              readonly maxProperties: Schema.Int
            },
            "Type"
          >
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isPropertiesLengthBetween">
              readonly minimum: Schema.Int
              readonly maximum: Schema.Int
            },
            "Type"
          >
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isPropertyNames">
              readonly propertyNames: Schema.suspend<$Representation>
            },
            "Type"
          >
      >,
      Check<
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isMinProperties">
              readonly minProperties: Schema.Int
            },
            "Type"
          >
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isMaxProperties">
              readonly maxProperties: Schema.Int
            },
            "Type"
          >
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isPropertiesLengthBetween">
              readonly minimum: Schema.Int
              readonly maximum: Schema.Int
            },
            "Type"
          >
        | Schema.Struct.ReadonlySide<
            {
              readonly _tag: Schema.tag<"isPropertyNames">
              readonly propertyNames: Schema.suspend<$Representation>
            },
            "Type"
          >
      >,
      never,
      never
    >
  >
}>

Schema for the Objects representation node.

schemasObjects
export const $Objects = Schema.Struct({
  _tag: Schema.tag("Objects"),
  annotations: Schema.optional($Annotations),
  propertySignatures: Schema.Array($PropertySignature),
  indexSignatures: Schema.Array($IndexSignature),
  checks: Schema.Array(makeCheck($ObjectsMeta, "Objects"))
}).annotate({ identifier: "Objects" })
Referenced by 1 symbols