Skip to content

Commit

Permalink
Revert "update API exports"
Browse files Browse the repository at this point in the history
This reverts commit 7325a75.
  • Loading branch information
david-mcafee committed Sep 13, 2023
1 parent d316256 commit fc87f24
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
// TODO(v6): revisit exports

export { GraphQLQuery, GraphQLSubscription } from './types';
import { API } from './API';
import { API, APIClass } from './API';
export {
graphqlOperation,
GraphQLAuthError,
GraphQLAuthMode,
} from '@aws-amplify/api-graphql';

export type { GraphQLResult } from '@aws-amplify/api-graphql';

const generateClient = API.generateClient;

export { generateClient };
export { API, APIClass, generateClient };

0 comments on commit fc87f24

Please sign in to comment.