org-private-apps.ts20 lines · main
| 1 | // @ts-nocheck |
| 2 | import { SHORTCUT_REFERENCE_GROUPS } from '../referenceGroups' |
| 3 | import { RegistryDefinations } from '../types' |
| 4 | |
| 5 | export const ORG_PRIVATE_APPS_SHORTCUT_IDS = { |
| 6 | ORG_PRIVATE_APPS_CREATE: 'org.private-apps-create', |
| 7 | } as const |
| 8 | |
| 9 | export type OrgPrivateAppsShortcutId = |
| 10 | (typeof ORG_PRIVATE_APPS_SHORTCUT_IDS)[keyof typeof ORG_PRIVATE_APPS_SHORTCUT_IDS] |
| 11 | |
| 12 | export const orgPrivateAppsRegistry: RegistryDefinations<OrgPrivateAppsShortcutId> = { |
| 13 | [ORG_PRIVATE_APPS_SHORTCUT_IDS.ORG_PRIVATE_APPS_CREATE]: { |
| 14 | id: ORG_PRIVATE_APPS_SHORTCUT_IDS.ORG_PRIVATE_APPS_CREATE, |
| 15 | label: 'Create private app', |
| 16 | sequence: ['Shift+N'], |
| 17 | referenceGroup: SHORTCUT_REFERENCE_GROUPS.ORG_PRIVATE_APPS, |
| 18 | options: { ignoreInputs: true, registerInCommandMenu: true }, |
| 19 | }, |
| 20 | } |