diff --git a/lib/import_functions.js b/lib/import_functions.js index 5c24170..f5085eb 100644 --- a/lib/import_functions.js +++ b/lib/import_functions.js @@ -61,6 +61,13 @@ var MBReleaseImportHelper = (function() { // --------------------------------------- publics ----------------------------------------- // + var url_types = { + purchase_for_download: 74, + download_for_free: 75, + stream_for_free: 85, + license: 301 + } + // compute HTML of search link function fnBuildSearchLink(release) { @@ -203,8 +210,9 @@ var MBReleaseImportHelper = (function() { // ---------------------------------- expose publics here ------------------------------------ // return { - buildSearchLink: fnBuildSearchLink, - buildFormHTML: fnBuildFormHTML, - buildFormParameters: fnBuildFormParameters - }; + buildSearchLink: fnBuildSearchLink, + buildFormHTML: fnBuildFormHTML, + buildFormParameters: fnBuildFormParameters, + URL_TYPES: url_types + }; })();