iya-sts
    Preparing search index...

    The certificate-enrollment model: the request validators built from it, the registers and operations, and the holding of what is answered.

    Index
    • One request document's validator, built once.

      Parameters

      • family: string

        acme, est or scep

      • id: string

        the document's id in the model, such as new-order

      Returns any

      the zod object

    • One member's zod type, as the hand-written schema wrote it.

      Parameters

      • field: Json

        one member of a body in enrollment.json

      • input: string

        json or query

      Returns any

      the zod type, not yet made optional

    • Whether a JSON value is one of the types a member may take.

      Parameters

      • value: unknown

        the value

      • types: string[]

        string, integer, number, boolean, array, object or any

      Returns boolean

      true when it is

    • One register's rows as { name: value }, or { code: name } when byCode is set.

      Parameters

      • family: string

        the family

      • id: string

        the register's id

      • OptionalbyCode: boolean

        true to key each row's name by its code

      Returns Json

      the map

    • One register's row names, in the model's order.

      Parameters

      • family: string

        the family

      • id: string

        the register's id

      Returns string[]

      the names

    • An object of members: strict, loose or stripping.

      Parameters

      • others: string

        strict, loose or strip

      • fields: Json[]

        its members

      • input: string

        json or query

      Returns any

      the zod object

    • A family's operations, in the model's order.

      Parameters

      • family: string

        the family

      Returns Json[]

      [{ name, methods, cite, path?, accepts?, answers?, ... }]

    • One register's rows, in the model's order.

      Parameters

      • family: string

        the family

      • id: string

        the register's id, such as account-algorithms

      Returns Json[]

      [{ name, cite, value?, code?, counted?, values? }]

    • What an answer carries that its model does not allow: a member a closed answer does not name, a member of a type or a value the model does not allow, a required member missing — in it and in every object it holds. Empty when the answer is the model's.

      Parameters

      • family: string

        the family

      • id: string

        the answer's id, such as order

      • value: Json

        the answer

      Returns string[]

      one sentence per problem

    • Whether a value is not one of a register's rows.

      Parameters

      • family: string

        the family

      • id: string

        the register's id

      • name: string

        the value sent

      Returns boolean

      true when the register does not name it

    • What a value carries that a list of members does not allow, walked into each nested object and each array's objects.

      Parameters

      • at: string

        where the value is, for the sentence

      • list: Json[]

        the members

      • closed: boolean

        true when a member not named is wrong

      • value: Json

        the value

      • problems: string[]

        where a problem is added

      Returns void