Skip to content

Commit

Permalink
Add Predicates from DataStore
Browse files Browse the repository at this point in the history
  • Loading branch information
ericclemmons committed Apr 15, 2020
1 parent 7dd9dde commit aaa31f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/aws-amplify/__tests__/exports-test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as exported from '../src';

describe('aws-amplify', () => {
describe('import * as exported', () => {
describe('import * keys', () => {
it('should match snapshot', () => {
expect(Object.keys(exported)).toMatchInlineSnapshot(`
Array [
Expand All @@ -18,6 +18,7 @@ describe('aws-amplify', () => {
"APIClass",
"graphqlOperation",
"DataStore",
"Predicates",
"PubSub",
"Cache",
"Interactions",
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-amplify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +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 { DataStore, Predicates } from '@aws-amplify/datastore';
export { PubSub } from '@aws-amplify/pubsub';
export { default as Cache } from '@aws-amplify/cache';
export { Interactions } from '@aws-amplify/interactions';
Expand Down

0 comments on commit aaa31f5

Please sign in to comment.