org-private-apps.ts 772 B

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