matrix-js-sdk

    Interface Policy

    A versioned policy with internationalised variants

    interface Policy {
        version: string;
        [lang: string]: string | InternationalisedPolicy;
    }

    Indexable

    • [lang: string]: string | InternationalisedPolicy

      The policy information for the specified language.

      the type has to include a union with string due to limitations in the type system.

    Index

    Properties

    Properties

    version: string

    The version for the policy. There are no requirements on what this might be and could be “alpha”, semantically versioned, or arbitrary.

    MMNEPVFCICPMFPCPTTAAATR