summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/integrations/edit/constants.js
blob: b74ae209eb7260e40d1c67343bda401452d7b55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { s__ } from '~/locale';

export const integrationLevels = {
  GROUP: 'group',
  INSTANCE: 'instance',
};

export const defaultIntegrationLevel = integrationLevels.INSTANCE;

export const overrideDropdownDescriptions = {
  [integrationLevels.GROUP]: s__(
    'Integrations|Default settings are inherited from the group level.',
  ),
  [integrationLevels.INSTANCE]: s__(
    'Integrations|Default settings are inherited from the instance level.',
  ),
};