mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
5eb873ff91
commit
f3d26722bb
2 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ export type RolePolicies = {
|
|||
noteDraftLimit: number;
|
||||
scheduledNoteLimit: number;
|
||||
watermarkAvailable: boolean;
|
||||
spReactionsMonthlyLimit: number;
|
||||
};
|
||||
|
||||
export const DEFAULT_POLICIES: RolePolicies = {
|
||||
|
|
@ -118,6 +119,7 @@ export const DEFAULT_POLICIES: RolePolicies = {
|
|||
noteDraftLimit: 10,
|
||||
scheduledNoteLimit: 1,
|
||||
watermarkAvailable: true,
|
||||
spReactionsMonthlyLimit: 0,
|
||||
};
|
||||
|
||||
@Injectable()
|
||||
|
|
|
|||
|
|
@ -229,6 +229,7 @@ export const rolePolicies = [
|
|||
'noteDraftLimit',
|
||||
'scheduledNoteLimit',
|
||||
'watermarkAvailable',
|
||||
'spReactionsMonthlyLimit',
|
||||
] as const;
|
||||
|
||||
export const queueTypes = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue