refactor: Use getDynamicData instead of getData
This commit is contained in:
@@ -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)
|
||||
}
|
||||
`;
|
11
packages/web/src/graphql/queries/get-dynamic-data.ts
Normal file
11
packages/web/src/graphql/queries/get-dynamic-data.ts
Normal 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)
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user