summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipeline_editor/components/code_snippet_alert/constants.js
blob: 582fdfea6c91dc191c9c7a9c9f60f8675debb8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { helpPagePath } from '~/helpers/help_page_helper';

export const CODE_SNIPPET_SOURCE_URL_PARAM = 'code_snippet_copied_from';
export const CODE_SNIPPET_SOURCE_API_FUZZING = 'api_fuzzing';
export const CODE_SNIPPET_SOURCES = [CODE_SNIPPET_SOURCE_API_FUZZING];
export const CODE_SNIPPET_SOURCE_SETTINGS = {
  [CODE_SNIPPET_SOURCE_API_FUZZING]: {
    datasetKey: 'apiFuzzingConfigurationPath',
    docsPath: helpPagePath('user/application_security/api_fuzzing/index'),
  },
};