Skip to content

Policy

Defined in: src/@types/partials.ts:82

A versioned policy with internationalised variants

https://spec.matrix.org/v1.13/identity-service-api/#get_matrixidentityv2terms_response-200_policy-object

[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.

version: string

Defined in: src/@types/partials.ts:87

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