From 08cb13a5de37ce5c3f1a79f0724d82a9eb02d43c Mon Sep 17 00:00:00 2001
From: Dennis Tang <dtang@gitlab.com>
Date: Fri, 11 May 2018 14:45:27 +0200
Subject: [PATCH] rename vuex dir to store

---
 .../gke_cluster_dropdowns/components/gke_dropdown_mixin.js    | 2 +-
 .../gke_cluster_dropdowns/{stores => store}/actions.js        | 0
 .../gke_cluster_dropdowns/{stores => store}/getters.js        | 0
 .../projects/gke_cluster_dropdowns/{stores => store}/index.js | 0
 .../gke_cluster_dropdowns/{stores => store}/mutation_types.js | 0
 .../gke_cluster_dropdowns/{stores => store}/mutations.js      | 0
 .../components/gke_machine_type_dropdown_spec.js              | 2 +-
 .../components/gke_project_id_dropdown_spec.js                | 2 +-
 .../components/gke_zone_dropdown_spec.js                      | 2 +-
 .../projects/gke_cluster_dropdowns/stores/actions_spec.js     | 4 ++--
 .../projects/gke_cluster_dropdowns/stores/getters_spec.js     | 2 +-
 .../projects/gke_cluster_dropdowns/stores/mutations_spec.js   | 2 +-
 12 files changed, 8 insertions(+), 8 deletions(-)
 rename app/assets/javascripts/projects/gke_cluster_dropdowns/{stores => store}/actions.js (100%)
 rename app/assets/javascripts/projects/gke_cluster_dropdowns/{stores => store}/getters.js (100%)
 rename app/assets/javascripts/projects/gke_cluster_dropdowns/{stores => store}/index.js (100%)
 rename app/assets/javascripts/projects/gke_cluster_dropdowns/{stores => store}/mutation_types.js (100%)
 rename app/assets/javascripts/projects/gke_cluster_dropdowns/{stores => store}/mutations.js (100%)

diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_dropdown_mixin.js b/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_dropdown_mixin.js
index 26dc329ad1f..eea0c4c61eb 100644
--- a/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_dropdown_mixin.js
+++ b/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_dropdown_mixin.js
@@ -4,7 +4,7 @@ import DropdownSearchInput from '~/vue_shared/components/dropdown/dropdown_searc
 import DropdownHiddenInput from '~/vue_shared/components/dropdown/dropdown_hidden_input.vue';
 import DropdownButton from '~/vue_shared/components/dropdown/dropdown_button.vue';
 
-import store from '../stores';
+import store from '../store';
 
 export default {
   store,
diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/stores/actions.js b/app/assets/javascripts/projects/gke_cluster_dropdowns/store/actions.js
similarity index 100%
rename from app/assets/javascripts/projects/gke_cluster_dropdowns/stores/actions.js
rename to app/assets/javascripts/projects/gke_cluster_dropdowns/store/actions.js
diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/stores/getters.js b/app/assets/javascripts/projects/gke_cluster_dropdowns/store/getters.js
similarity index 100%
rename from app/assets/javascripts/projects/gke_cluster_dropdowns/stores/getters.js
rename to app/assets/javascripts/projects/gke_cluster_dropdowns/store/getters.js
diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/stores/index.js b/app/assets/javascripts/projects/gke_cluster_dropdowns/store/index.js
similarity index 100%
rename from app/assets/javascripts/projects/gke_cluster_dropdowns/stores/index.js
rename to app/assets/javascripts/projects/gke_cluster_dropdowns/store/index.js
diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/stores/mutation_types.js b/app/assets/javascripts/projects/gke_cluster_dropdowns/store/mutation_types.js
similarity index 100%
rename from app/assets/javascripts/projects/gke_cluster_dropdowns/stores/mutation_types.js
rename to app/assets/javascripts/projects/gke_cluster_dropdowns/store/mutation_types.js
diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/stores/mutations.js b/app/assets/javascripts/projects/gke_cluster_dropdowns/store/mutations.js
similarity index 100%
rename from app/assets/javascripts/projects/gke_cluster_dropdowns/stores/mutations.js
rename to app/assets/javascripts/projects/gke_cluster_dropdowns/store/mutations.js
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_machine_type_dropdown_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_machine_type_dropdown_spec.js
index b6c1c454b2b..a30a54c7864 100644
--- a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_machine_type_dropdown_spec.js
+++ b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_machine_type_dropdown_spec.js
@@ -4,7 +4,7 @@ import {
   SET_PROJECT,
   SET_ZONE,
   SET_MACHINE_TYPES,
-} from '~/projects/gke_cluster_dropdowns/stores/mutation_types';
+} from '~/projects/gke_cluster_dropdowns/store/mutation_types';
 import mountComponent from 'spec/helpers/vue_mount_component_helper';
 
 import { resetStore } from '../helpers';
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js
index 98c21c009dd..cab1ebff802 100644
--- a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js
+++ b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js
@@ -1,6 +1,6 @@
 import Vue from 'vue';
 import GkeProjectIdDropdown from '~/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown.vue';
-import { SET_PROJECTS } from '~/projects/gke_cluster_dropdowns/stores/mutation_types';
+import { SET_PROJECTS } from '~/projects/gke_cluster_dropdowns/store/mutation_types';
 import mountComponent from 'spec/helpers/vue_mount_component_helper';
 
 import { resetStore } from '../helpers';
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown_spec.js
index c99816cd13c..a3c23354b47 100644
--- a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown_spec.js
+++ b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown_spec.js
@@ -1,6 +1,6 @@
 import Vue from 'vue';
 import GkeZoneDropdown from '~/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue';
-import { SET_PROJECT, SET_ZONES } from '~/projects/gke_cluster_dropdowns/stores/mutation_types';
+import { SET_PROJECT, SET_ZONES } from '~/projects/gke_cluster_dropdowns/store/mutation_types';
 import mountComponent from 'spec/helpers/vue_mount_component_helper';
 
 import { resetStore } from '../helpers';
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/stores/actions_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/stores/actions_spec.js
index 501113d7f33..e246c77e36a 100644
--- a/spec/javascripts/projects/gke_cluster_dropdowns/stores/actions_spec.js
+++ b/spec/javascripts/projects/gke_cluster_dropdowns/stores/actions_spec.js
@@ -1,6 +1,6 @@
 import testAction from 'spec/helpers/vuex_action_helper';
-import * as actions from '~/projects/gke_cluster_dropdowns/stores/actions';
-import store from '~/projects/gke_cluster_dropdowns/stores';
+import * as actions from '~/projects/gke_cluster_dropdowns/store/actions';
+import store from '~/projects/gke_cluster_dropdowns/store';
 import { resetStore, gapi } from '../helpers';
 import { selectedProjectMock, selectedZoneMock, selectedMachineTypeMock } from '../mock_data';
 
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/stores/getters_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/stores/getters_spec.js
index 8612550141d..6f89158f807 100644
--- a/spec/javascripts/projects/gke_cluster_dropdowns/stores/getters_spec.js
+++ b/spec/javascripts/projects/gke_cluster_dropdowns/stores/getters_spec.js
@@ -1,4 +1,4 @@
-import * as getters from '~/projects/gke_cluster_dropdowns/stores/getters';
+import * as getters from '~/projects/gke_cluster_dropdowns/store/getters';
 import { selectedProjectMock, selectedZoneMock, selectedMachineTypeMock } from '../mock_data';
 
 describe('GCP Cluster Dropdown Store Getters', () => {
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js
index 5569f88467f..167cc36fe8b 100644
--- a/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js
+++ b/spec/javascripts/projects/gke_cluster_dropdowns/stores/mutations_spec.js
@@ -1,4 +1,4 @@
-import mutations from '~/projects/gke_cluster_dropdowns/stores/mutations';
+import mutations from '~/projects/gke_cluster_dropdowns/store/mutations';
 import {
   selectedProjectMock,
   selectedZoneMock,
-- 
2.30.9