From 8ff21d754c169c0d65a3d5ff32507f663c04bd0a Mon Sep 17 00:00:00 2001 From: Andras Toth Date: Fri, 16 Oct 2015 09:45:02 +0200 Subject: [PATCH] refactor(index): export statement in one line --- README.md | 1 + src/model/index.js | 3 +-- src/query/index.js | 3 +-- src/schema/index.js | 3 +-- src/type/index.js | 3 +-- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 04298f4..42a011a 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ users(id: ["relayId1", "relayId2"]) {} ## Supported mutation arguments * scalar types +* arrays * references Examples: diff --git a/src/model/index.js b/src/model/index.js index 76e9f9d..9774205 100644 --- a/src/model/index.js +++ b/src/model/index.js @@ -1,2 +1 @@ -import model from './model'; -export default model; +export default from './model'; diff --git a/src/query/index.js b/src/query/index.js index df1c8c6..6b4178d 100644 --- a/src/query/index.js +++ b/src/query/index.js @@ -1,2 +1 @@ -import query from './query'; -export default query; +export default from './query'; diff --git a/src/schema/index.js b/src/schema/index.js index 23c5a90..6cf174c 100644 --- a/src/schema/index.js +++ b/src/schema/index.js @@ -1,2 +1 @@ -import schema from './schema'; -export default schema; +export default from './schema'; diff --git a/src/type/index.js b/src/type/index.js index 504e37b..bac4ba7 100644 --- a/src/type/index.js +++ b/src/type/index.js @@ -1,2 +1 @@ -import type from './type'; -export default type; +export default from './type';