org-integrations.ts 811 B

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