hunk.code_window:                 })
                   .flatMapMany(Flux::fromIterable)
                   .flatMap(page -> this.findById(page.getId(), READ_PAGES)
                           .switchIfEmpty(Mono.error(new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, page.getId())))
                   )
                   .collectList()
                   .zipWith(defaultPageIdMono)
                   .flatMap(tuple -> {
                       List<NewPage> pagesFromDb = tuple.getT1();
  
hunk.labels: keep replace replace replace replace keep keep keep keep
hunk.after_edit:                 .flatMapMany(pageIds -> repository.findAllByIds(pageIds, READ_PAGES))
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/NewPageServiceImpl.java
hunk.type: replace
file: package com.appsmith.server.services;
  
  import com.appsmith.server.dtos.ActionDTO;
  import reactor.core.publisher.Mono;
  
  public abstract class BaseApiImporter implements ApiImporter {
  
      public abstract Mono<ActionDTO> importAction(Object input, String pageId, String name, String orgId);
  
  }
  