mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 03:53:35 +00:00
wip
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user