org-integrations.ts20 lines · main
| 1 | // @ts-nocheck |
| 2 | import { SHORTCUT_REFERENCE_GROUPS } from '../referenceGroups' |
| 3 | import { RegistryDefinations } from '../types' |
| 4 | |
| 5 | export const ORG_INTEGRATIONS_SHORTCUT_IDS = { |
| 6 | ORG_INTEGRATIONS_ADD_CONNECTION: 'org.integrations-add-connection', |
| 7 | } as const |
| 8 | |
| 9 | export type OrgIntegrationsShortcutId = |
| 10 | (typeof ORG_INTEGRATIONS_SHORTCUT_IDS)[keyof typeof ORG_INTEGRATIONS_SHORTCUT_IDS] |
| 11 | |
| 12 | export const orgIntegrationsRegistry: RegistryDefinations<OrgIntegrationsShortcutId> = { |
| 13 | [ORG_INTEGRATIONS_SHORTCUT_IDS.ORG_INTEGRATIONS_ADD_CONNECTION]: { |
| 14 | id: ORG_INTEGRATIONS_SHORTCUT_IDS.ORG_INTEGRATIONS_ADD_CONNECTION, |
| 15 | label: 'Add project connection', |
| 16 | sequence: ['Shift+N'], |
| 17 | referenceGroup: SHORTCUT_REFERENCE_GROUPS.ORG_INTEGRATIONS, |
| 18 | options: { ignoreInputs: true, registerInCommandMenu: true }, |
| 19 | }, |
| 20 | } |