Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graphql dependencies #224

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _dev/front/js/components/Button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
</template>

<script>
import removeFromList from '@graphqlFiles/mutations/removeFromList';
import prestashop from 'prestashop';
import removeFromList from '@graphqlFiles/mutations/removeFromList';
import EventBus from '@components/EventBus';

export default {
Expand Down
2 changes: 1 addition & 1 deletion _dev/front/js/components/ChooseList/ChooseList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@
</template>

<script>
import {ContentLoader} from 'vue-content-loader';
import getLists from '@graphqlFiles/queries/getlists';
import addtolist from '@graphqlFiles/mutations/addtolist';
import EventBus from '@components/EventBus';
import {ContentLoader} from 'vue-content-loader';

/**
* The role of this component is to render a list
Expand Down
2 changes: 1 addition & 1 deletion _dev/front/js/components/List/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@

<script>
import {ContentLoader} from 'vue-content-loader';
import EventBus from '@components/EventBus';
import wishlistUrl from 'wishlistUrl';
import vClickOutside from 'v-click-outside';
import EventBus from '@components/EventBus';

/**
* Dumb component to display the list of Wishlist on a page
Expand Down
2 changes: 1 addition & 1 deletion _dev/front/js/components/Login/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*-->
<script>
import EventBus from '@components/EventBus';
import prestashop from 'prestashop';
import EventBus from '@components/EventBus';

/**
* This component display a modal where you can redirect to login page
Expand Down
4 changes: 2 additions & 2 deletions _dev/front/js/components/Product/Product.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@
</template>

<script>
import EventBus from '@components/EventBus';
import headers from '@constants/headers';
import prestashop from 'prestashop';
import wishlistAddProductToCartUrl from 'wishlistAddProductToCartUrl';
import EventBus from '@components/EventBus';
import headers from '@constants/headers';

export default {
name: 'Product',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@
</template>

<script>
import {ContentLoader} from 'vue-content-loader';
import Product from '@components/Product/Product';
import getProducts from '@graphqlFiles/queries/getproducts';
import {ContentLoader} from 'vue-content-loader';
import EventBus from '@components/EventBus';

/**
Expand Down
2 changes: 1 addition & 1 deletion _dev/front/js/graphql/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

import GraphQLJSON, {GraphQLJSONObject} from 'graphql-type-json';
import EventBus from '@components/EventBus';
import headers from '@constants/headers';
import GraphQLJSON, {GraphQLJSONObject} from 'graphql-type-json';

/**
* Resolvers linked to schemas definitions
Expand Down
2 changes: 1 addition & 1 deletion _dev/front/js/pages/list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

import initVueButtons from '@components/Button';
import removeFromWishlistUrl from 'removeFromWishlistUrl';
import initVueButtons from '@components/Button';

const initButtons = () => {
const products = document.querySelectorAll('.js-product-miniature');
Expand Down
Loading
Loading