diff --git a/chrome/content/zotero/xpcom/data/dataObjectUtilities.js b/chrome/content/zotero/xpcom/data/dataObjectUtilities.js index 9d2722dec0..ff9d826554 100644 --- a/chrome/content/zotero/xpcom/data/dataObjectUtilities.js +++ b/chrome/content/zotero/xpcom/data/dataObjectUtilities.js @@ -25,6 +25,15 @@ Zotero.DataObjectUtilities = { + /** + * Get an array of all DataObject types + * + * @return {String[]} + */ + getTypes: function () { + return ['collection', 'search', 'item']; + }, + "checkLibraryID": function (libraryID) { if (!libraryID) { throw new Error("libraryID not provided");