hunk.code_window: import { DataTree } from "entities/DataTree/dataTreeFactory";
   import { EvalContext } from "workers/Evaluation/evaluate";
   import { EvaluationVersion } from "api/ApplicationApi";
   import { addFn } from "workers/Evaluation/fns/utils/fnGuard";
   import { set } from "lodash";
   import { entityFns, platformFns } from "workers/Evaluation/fns";
   declare global {
     /** All identifiers added to the worker global scope should also
      * be included in the DEDICATED_WORKER_GLOBAL_SCOPE_IDENTIFIERS in
      * app/client/src/constants/WidgetValidation.ts
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit: import { entityFns, platformFns } from "@appsmith/workers/Evaluation/fns";
  
hunk.file_path: app/client/src/ce/workers/Evaluation/Actions.ts
hunk.type: replace
file: package com.appsmith.server.services.ce;
  
  import com.appsmith.server.domains.PermissionGroup;
  import com.appsmith.server.dtos.UpdatePermissionGroupDTO;
  import com.appsmith.server.dtos.WorkspaceMemberInfoDTO;
  import com.appsmith.server.domains.User;
  import reactor.core.publisher.Mono;
  
  import java.util.List;
  import java.util.Map;
  import java.util.Set;
  
  public interface UserWorkspaceServiceCE {
  
      Mono<User> leaveWorkspace(String workspaceId);
  
      Mono<WorkspaceMemberInfoDTO> updatePermissionGroupForMember(String workspaceId, UpdatePermissionGroupDTO changeUserGroupDTO, String originHeader);
  
      Mono<List<WorkspaceMemberInfoDTO>> getWorkspaceMembers(String workspaceId);
  
      Mono<Map<String, List<WorkspaceMemberInfoDTO>>> getWorkspaceMembers(Set<String> workspaceIds);
      Boolean isLastAdminRoleEntity(PermissionGroup permissionGroup);
  }
  