Hhertz/node_modules/matrix-bot-sdk/lib/models/Policies.d.ts
2025-07-31 23:47:20 +03:00

26 lines
543 B
TypeScript

/**
* Information about the policies (terms of service) a server may have.
* @category Models
*/
export interface Policies {
policies: {
[id: string]: Policy;
};
}
/**
* Information about a policy (terms of service) a server may have.
* @category Models
*/
export interface Policy {
version: string;
[language: string]: TranslatedPolicy | string;
}
/**
* Information about a (translated) policy (terms of service).
* @category Models
*/
export interface TranslatedPolicy {
name: string;
url: string;
}