iya-sts
    Preparing search index...
    Index
    MESSAGES: Readonly<Record<string, string>> = MESSAGES

    What a save or a reset answers, as templates (#543).

    PROSE_ROUTES: string[] = PROSE_ROUTES

    The routes whose answers carry the policies namespace's prose.

    VIEW_PROSE: Readonly<
        {
            doors: readonly (
                | Readonly<{ door: string; via: "credentials.setPassword()" }>
                | Readonly<{ door: string; via: "credentials.preparePassword()" }>
            )[];
            enforced: string;
            generatorDrawsUntil: string;
            generatorPools: readonly string[];
            generatorSource: string;
            mailWhy: string;
            notDoors: string;
            notEnforced: string;
        },
    > = VIEW_PROSE

    What the page says besides each kind's own tables (#543).

    • Returns every action every kind answers, in kind order: save then reset, then any the kind has of its own.

      Returns string[]

      the actions

    • Returns one kind by id.

      Parameters

      • id: string

        the kind's id

      Returns PolicyKind

      the kind, or null

    • Returns which kind answers an action, and whether it is its save or its reset.

      Parameters

      • action: string

        the action's name

      Returns { extra?: ExtraAction; kind: PolicyKind; verb: "act" | "save" | "reset" }

      the kind and verb, or null

    • Returns every kind, in the order the page draws them.

      Returns PolicyKind[]

      a copy of the list

    • The noun a message names a kind's profile by: its label, lower-cased, and "profile".

      Parameters

      • kind: PolicyKind

        the kind

      Returns string

      the noun

    • Extracts the policies namespace (#543 phase 2): every kind's label and sentences and the noun a message names it by, each kind module's field table, schema, mechanism, door and selector prose and its describe() templates, and the page's own sentences and messages.

      Returns Record<string, string>

      key → English

    • Adds a kind to the list; a second registration of the same id is ignored.

      Parameters

      • kind: PolicyKind

        the kind: its id, label, container, module and the sentences the page draws

      Returns void

    • Returns the name of a kind's reset action, reset-<id>-policy.

      Parameters

      • kind: PolicyKind

        the kind

      Returns string

      the action

    • Returns the name of a kind's save action, save-<id>-policy.

      Parameters

      • kind: PolicyKind

        the kind

      Returns string

      the action

    • Removes a kind, for a test that registered a stub.

      Parameters

      • id: string

        the kind's id

      Returns void