"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getDatasourceType = void 0;
var _linkDatasource = require("@atlaskit/link-datasource");
var getDatasourceType = exports.getDatasourceType = function getDatasourceType(datasourceId) {
  switch (datasourceId) {
    case _linkDatasource.JIRA_LIST_OF_LINKS_DATASOURCE_ID:
      return 'jira';
    case _linkDatasource.ASSETS_LIST_OF_LINKS_DATASOURCE_ID:
      return 'assets';
    case _linkDatasource.CONFLUENCE_SEARCH_DATASOURCE_ID:
      return 'confluence-search';
    default:
      return undefined;
  }
};