diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-04-06 16:44:50 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-04-06 16:44:50 -0400 |
| commit | d22616d5a675f5a381c741784333151255713b45 (patch) | |
| tree | 51dc4a138fc4b1e8ac1b1e287e5c246f24377242 /frontend/queries/index.js | |
| parent | d90d97337c39e1fa723ee01627fbd3f78adfcf31 (diff) | |
local data with apollo
Diffstat (limited to 'frontend/queries/index.js')
| -rw-r--r-- | frontend/queries/index.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/queries/index.js b/frontend/queries/index.js index 15eaf49..5e9e28b 100644 --- a/frontend/queries/index.js +++ b/frontend/queries/index.js @@ -259,3 +259,14 @@ export const UPDATE_PERMISSIONS_MUTATION = gql` } } `; + +export const LOCAL_STATE_QUERY = gql` + { + cartOpen @client + } +`; +export const TOGGLE_CART_MUTATION = gql` + mutation toggleCart { + toggleCart @client + } +`; |
