add role policy "canViewFederation"
This commit is contained in:
parent
aff1603788
commit
479e6daa1d
22 changed files with 84 additions and 13 deletions
20
locales/index.d.ts
vendored
20
locales/index.d.ts
vendored
|
|
@ -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": {
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue