* Gets all saved scripts (including closed ones) * @param {string} appId - The application ID * @returns {Promise } Array of all saved scripts
(appId)
| 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 |