Skip to content

Commit bedbd38

Browse files
committed
refactor: Update getPluginSchema method to return a list of objects instead of JsonNode
1 parent 3bf4a0d commit bedbd38

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package com.appsmith.server.plugins.solutions;
22

3-
import com.fasterxml.jackson.databind.JsonNode;
43
import reactor.core.publisher.Mono;
54

5+
import java.util.List;
6+
67
public interface PluginSchemaSolutionCE {
7-
Mono<JsonNode> getPluginSchema(String pluginId);
8+
Mono<List<Object>> getPluginSchema(String pluginId);
89
}
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
package com.appsmith.server.plugins.solutions;
22

3-
import com.fasterxml.jackson.databind.JsonNode;
43
import org.springframework.stereotype.Component;
54
import reactor.core.publisher.Mono;
65

6+
import java.util.List;
7+
78
@Component
89
public class PluginSchemaSolutionCEImpl implements PluginSchemaSolutionCE {
910
@Override
10-
public Mono<JsonNode> getPluginSchema(String pluginId) {
11+
public Mono<List<Object>> getPluginSchema(String pluginId) {
1112
return Mono.empty();
1213
}
1314
}

0 commit comments

Comments
 (0)