iya-sts
    Preparing search index...

    Class export=

    Turns directory entries into domain concepts.

    Index
    • The catalogue the image build wrote.

      Returns Map<string, any>

      the concepts, by name

    • ONE FIELD of a concept from an entry (#1579), for a reader that needs a single fact: a filter over every entry of a walk, or one setting of an application. It reads that field's attribute exactly as fromEntry() would, without making the rest of the concept, so a walk costs what it cost when it read the attribute by name. Naming the field is asking for it: a secret field is answered here because the caller named it.

      Type Parameters

      • K extends string | number | symbol
      • F extends string

      Parameters

      • name: K

        the concept

      • field: F

        the field, by its name in the concept

      • attributes: Record<string, unknown>

        the entry's attributes

      • Optionaloptions: FromOptions

        what the entry alone cannot say

      Returns Concepts

      the field's value, or undefined when the entry holds none

    • Whether a held value is what a record field says it is.

      Parameters

      • step: any

        the field's plan

      • value: unknown

        the value

      Returns boolean

      true when it fits

    • A concept from an entry.

      Type Parameters

      • K extends string | number | symbol

      Parameters

      • name: K

        the concept

      • attributes: Record<string, unknown>

        the entry's attributes

      • Optionaloptions: FromOptions

        what the entry alone cannot say

      • Optionalpath: string

        the field path so far, for a nested concept

      Returns Concepts

      the concept

    • A concept from a record this service's own code keeps. Unlike an entry a record already holds typed values, so a value of another type is left out and nothing is converted.

      Type Parameters

      • K extends string | number | symbol

      Parameters

      • name: K

        the concept

      • record: any

        the record

      • Optionaloptions: FromOptions

        what the record alone cannot say

      • Optionalpath: string

        the field path so far, for a nested concept

      Returns Concepts

      the concept

    • The required fields a concept came out without.

      Parameters

      • name: string | number | symbol

        the concept

      • value: Record<string, unknown>

        what fromEntry() answered

      Returns string[]

      the field names

    • A record concept's fields, worked out once: the key split into its path and the JavaScript type a value must have. fromRecord() is asked for every session a page draws and every audit row a filter reads, so it does not split a key or look a type up per call.

      Parameters

      • name: string

        the concept

      Returns any[]

      the plan, or undefined for no such concept

    • One stored value as the field's type.

      Parameters

      • type: string

        the field's type

      • value: string

        as stored

      Returns unknown

      the value, or undefined when it cannot be one

    • An attribute's values, whatever case the directory answered in.

      Parameters

      • attributes: Record<string, unknown>

        the entry's attributes

      • name: string

        the attribute

      Returns string[]

      its values, empty when there are none