Skip to content

Commit 63ec3d1

Browse files
committed
feat: mocked tests, full flow test
1 parent 95299fe commit 63ec3d1

File tree

2 files changed

+285
-84
lines changed

2 files changed

+285
-84
lines changed

kleros-sdk/src/dataMappings/utils/actionTypes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ export type JsonMapping = {
55
populate: string[];
66
};
77

8-
export type SubgraphMapping = {
8+
export interface SubgraphMapping {
99
type: string;
1010
endpoint: string;
1111
query: string;
12-
variables?: string[];
12+
variables: { [key: string]: unknown };
1313
seek: string[];
1414
populate: string[];
15-
};
15+
}
1616

1717
export type AbiCallMapping = {
1818
type: string;

0 commit comments

Comments
 (0)