add role policy "canViewFederation"

This commit is contained in:
Hazelnoot 2025-08-18 16:52:06 -04:00
parent aff1603788
commit 479e6daa1d
22 changed files with 84 additions and 13 deletions

20
locales/index.d.ts vendored
View file

@ -6005,6 +6005,22 @@ export interface Locale extends ILocale {
* New
*/
"new": string;
/**
* Restrict to roles
*/
"onlyForRoles": string;
/**
* Change role restrictions
*/
"onlyForRolesChange": string;
/**
* Shown to everyone
*/
"onlyForRolesUnrestricted": string;
/**
* Shown to members of {roles} roles
*/
"onlyForRolesRestricted": ParameterizedString<"roles">;
/**
* Throw confetti
*/
@ -7651,6 +7667,10 @@ export interface Locale extends ILocale {
* Can appear in trending notes / users
*/
"canTrend": string;
/**
* Can view federation stats and details of remote instances
*/
"canViewFederation": string;
};
"_condition": {
/**