hunk.code_window:         return service.getActionsForViewMode(applicationId).collectList()
                   .map(actions -> new ResponseDTO<>(HttpStatus.OK.value(), actions, null));
       }
   }
hunk.labels: keep keep add keep
hunk.after_edit:     @PutMapping("/executeOnLoad/{id}")
       public Mono<ResponseDTO<Action>> setExecuteOnLoad(@PathVariable String id, @RequestParam Boolean flag) {
           log.debug("Going to set execute on load for action id {} to {}", id, flag);
           return service.setExecuteOnLoad(id, flag)
                   .map(action -> new ResponseDTO<>(HttpStatus.OK.value(), action, null));
       }
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ActionController.java
hunk.type: add
file: import { AxiosPromise } from "axios";
  import Api from "./Api";
  import { ImportedCollections } from "constants/collectionsConstants";
  
  class ImportedCollectionsApi extends Api {
    static importedCollectionsURL = "v1/import/templateCollections";
    static fetchImportedCollections(): AxiosPromise<ImportedCollections> {
      return Api.get(ImportedCollectionsApi.importedCollectionsURL);
    }
  }
  
  export default ImportedCollectionsApi;
  