MCPcopy Create free account
hub / github.com/parse-community/parse-dashboard / getAllSavedScripts

Method getAllSavedScripts

src/lib/ScriptManager.js:101–104  ·  view source on GitHub ↗

* Gets all saved scripts (including closed ones) * @param {string} appId - The application ID * @returns {Promise } Array of all saved scripts

(appId)

Source from the content-addressed store, hash-verified

99 * @returns {Promise<Array>} Array of all saved scripts
100 */
101 async getAllSavedScripts(appId) {
102 const allScripts = await this.getScripts(appId);
103 return allScripts.filter(script => script.saved !== false);
104 }
105
106 /**
107 * Opens a script by setting its order property

Callers 1

loadDataFunction · 0.80

Calls 1

getScriptsMethod · 0.95

Tested by

no test coverage detected