"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _default = resourceID => {
  if (resourceID) {
    return resourceID.split(',').map(resource => {
      const [recordType, vocabulary] = resource.split('/');
      return {
        recordType,
        vocabulary
      };
    });
  }

  return [];
};

exports.default = _default;