refactor: Use getDynamicData instead of getData

This commit is contained in:
Faruk AYDIN
2022-11-10 19:46:04 +01:00
parent a415c7ef4e
commit d2b8d2beff
33 changed files with 57 additions and 42 deletions

View File

@@ -1,7 +0,0 @@
import { gql } from '@apollo/client';
export const GET_DATA = gql`
query GetData($stepId: String!, $key: String!, $parameters: JSONObject) {
getData(stepId: $stepId, key: $key, parameters: $parameters)
}
`;

View File

@@ -0,0 +1,11 @@
import { gql } from '@apollo/client';
export const GET_DYNAMIC_DATA = gql`
query GetDynamicData(
$stepId: String!
$key: String!
$parameters: JSONObject
) {
getDynamicData(stepId: $stepId, key: $key, parameters: $parameters)
}
`;