From 8b3183f4d2ec7289044e2b6700e3ff4df3f98ce4 Mon Sep 17 00:00:00 2001 From: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com> Date: Tue, 3 Nov 2020 11:30:53 -0500 Subject: [PATCH] fix(@aws-amplify/datastore): export SortDirection and syncExpression from aws-amplify (#7104) --- packages/aws-amplify/__tests__/exports-test.ts | 2 ++ packages/aws-amplify/src/index.ts | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/aws-amplify/__tests__/exports-test.ts b/packages/aws-amplify/__tests__/exports-test.ts index 364f13e9263..7c3f91d8a92 100644 --- a/packages/aws-amplify/__tests__/exports-test.ts +++ b/packages/aws-amplify/__tests__/exports-test.ts @@ -19,6 +19,8 @@ describe('aws-amplify', () => { "graphqlOperation", "DataStore", "Predicates", + "SortDirection", + "syncExpression", "PubSub", "Cache", "Interactions", diff --git a/packages/aws-amplify/src/index.ts b/packages/aws-amplify/src/index.ts index 5a1b709c29c..f80c23bec04 100644 --- a/packages/aws-amplify/src/index.ts +++ b/packages/aws-amplify/src/index.ts @@ -33,7 +33,12 @@ export { export { Auth } from '@aws-amplify/auth'; export { Storage, StorageClass } from '@aws-amplify/storage'; export { API, APIClass, graphqlOperation } from '@aws-amplify/api'; -export { DataStore, Predicates } from '@aws-amplify/datastore'; +export { + DataStore, + Predicates, + SortDirection, + syncExpression, +} from '@aws-amplify/datastore'; export { PubSub } from '@aws-amplify/pubsub'; export { default as Cache } from '@aws-amplify/cache'; export { Interactions } from '@aws-amplify/interactions';