org-audit-logs.ts20 lines · main
| 1 | // @ts-nocheck |
| 2 | import { SHORTCUT_REFERENCE_GROUPS } from '../referenceGroups' |
| 3 | import { RegistryDefinations } from '../types' |
| 4 | |
| 5 | export const ORG_AUDIT_LOGS_SHORTCUT_IDS = { |
| 6 | ORG_AUDIT_LOGS_REFRESH: 'org.audit-logs-refresh', |
| 7 | } as const |
| 8 | |
| 9 | export type OrgAuditLogsShortcutId = |
| 10 | (typeof ORG_AUDIT_LOGS_SHORTCUT_IDS)[keyof typeof ORG_AUDIT_LOGS_SHORTCUT_IDS] |
| 11 | |
| 12 | export const orgAuditLogsRegistry: RegistryDefinations<OrgAuditLogsShortcutId> = { |
| 13 | [ORG_AUDIT_LOGS_SHORTCUT_IDS.ORG_AUDIT_LOGS_REFRESH]: { |
| 14 | id: ORG_AUDIT_LOGS_SHORTCUT_IDS.ORG_AUDIT_LOGS_REFRESH, |
| 15 | label: 'Refresh audit logs', |
| 16 | sequence: ['Shift+R'], |
| 17 | referenceGroup: SHORTCUT_REFERENCE_GROUPS.ORG_AUDIT_LOGS, |
| 18 | options: { ignoreInputs: true, registerInCommandMenu: true }, |
| 19 | }, |
| 20 | } |