mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 22:09:05 +08:00
chore: tsc is fixed (#1078)
This commit is contained in:
parent
9cf5c7ef74
commit
fb97540c7c
@ -15,10 +15,9 @@ export type ComponentTypes =
|
||||
| 'edit_dashboard'
|
||||
| 'delete_widget'
|
||||
| 'new_dashboard'
|
||||
| 'new_alert_action';
|
||||
| 'new_alert_action'
|
||||
| 'edit_widget';
|
||||
|
||||
|
||||
export const componentPermission: Record<ComponentTypes, ROLES[]> = {
|
||||
current_org_settings: ['ADMIN'],
|
||||
invite_members: ['ADMIN'],
|
||||
@ -35,7 +34,6 @@ export const componentPermission: Record<ComponentTypes, ROLES[]> = {
|
||||
new_dashboard: ['ADMIN', 'EDITOR'],
|
||||
new_alert_action: ['ADMIN'],
|
||||
edit_widget: ['ADMIN', 'EDITOR'],
|
||||
|
||||
};
|
||||
|
||||
export const routePermission: Record<keyof typeof ROUTES, ROLES[]> = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user