UNPKG

@aws-amplify/api

Version:
14 lines (13 loc) 643 B
/** * This exports from the types directory is a temporary workaround, since Amplify CLI currently * generates code that relies on this import path https://github.com/aws-amplify/amplify-cli/issues/3863 * This will be removed in future release when CLI and customers moves to recommeneded import styles. */ export { graphqlOperation, GraphQLAuthError, GraphQLResult, GRAPHQL_AUTH_MODE, } from '@aws-amplify/api-graphql'; declare const queryType: unique symbol; export declare type GraphQLQuery<T> = T & { readonly [queryType]: 'query'; }; export declare type GraphQLSubscription<T> = T & { readonly [queryType]: 'subscription'; };