From a07e0accac043b186891205f2672607283c56b41 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Wed, 15 Apr 2020 16:16:40 -0700 Subject: [PATCH] aws-amplify has named export DataStore --- packages/aws-amplify/src/__tests__/exports-test.ts | 1 + packages/aws-amplify/src/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/aws-amplify/src/__tests__/exports-test.ts b/packages/aws-amplify/src/__tests__/exports-test.ts index 3994ade929a..2a4b36f94b6 100644 --- a/packages/aws-amplify/src/__tests__/exports-test.ts +++ b/packages/aws-amplify/src/__tests__/exports-test.ts @@ -17,6 +17,7 @@ describe('aws-amplify', () => { "API", "APIClass", "graphqlOperation", + "DataStore", "PubSub", "Cache", "Interactions", diff --git a/packages/aws-amplify/src/index.ts b/packages/aws-amplify/src/index.ts index 67ee516358a..9f3e8e2addd 100644 --- a/packages/aws-amplify/src/index.ts +++ b/packages/aws-amplify/src/index.ts @@ -33,6 +33,7 @@ export { export { Auth } from '@aws-amplify/auth'; export { Storage, StorageClass } from '@aws-amplify/storage'; export { API, APIClass, graphqlOperation } from '@aws-amplify/api'; +export { DataStore } from '@aws-amplify/datastore'; export { PubSub } from '@aws-amplify/pubsub'; export { default as Cache } from '@aws-amplify/cache'; export { Interactions } from '@aws-amplify/interactions';