Skip to content

Commit

Permalink
fix: missing storeToRefs imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Apr 30, 2022
1 parent 0d52282 commit ff8bb45
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 24 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@
"v-mask": "^2.3.0",
"vue": "^3.2.33",
"vue-i18n": "^9.1.9",
"vuedraggable": "^4.1.0",
"vuex": "^4.0.2"
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.15.7",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/BaseTextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

<script>
import * as ace from 'ace-builds';
import 'ace-builds/webpack-resolver';
import { storeToRefs } from 'pinia';
import 'ace-builds/webpack-resolver';
import { useSettingsStore } from '@/stores/settings';
import { uidGen } from 'common/libs/uidGen';
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/ForeignKeySelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import Tables from '@/ipc-api/Tables';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import { TEXT, LONG_TEXT } from 'common/fieldTypes';
import { storeToRefs } from 'pinia';
export default {
name: 'ForeignKeySelect',
props: {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/ModalEditSchema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import Schema from '@/ipc-api/Schema';
import { storeToRefs } from 'pinia';
export default {
name: 'ModalEditSchema',
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/components/ModalExportSchema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,11 @@
</template>

<script>
import moment from 'moment';
import { ipcRenderer } from 'electron';
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import moment from 'moment';
import customizations from 'common/customizations';
import Application from '@/ipc-api/Application';
import Schema from '@/ipc-api/Schema';
Expand Down
1 change: 1 addition & 0 deletions src/renderer/components/ModalFakerRows.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@

<script>
import moment from 'moment';
import { storeToRefs } from 'pinia';
import { TEXT, LONG_TEXT, NUMBER, FLOAT, DATE, TIME, DATETIME, BLOB, BIT } from 'common/fieldTypes';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
Expand Down
1 change: 1 addition & 0 deletions src/renderer/components/WorkspaceTabNewScheduler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import BaseLoader from '@/components/BaseLoader';
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import { uidGen } from 'common/libs/uidGen';
Expand All @@ -174,7 +175,6 @@ import WorkspaceTabPropsTableFields from '@/components/WorkspaceTabPropsTableFie
import WorkspaceTabPropsTableIndexesModal from '@/components/WorkspaceTabPropsTableIndexesModal';
import WorkspaceTabPropsTableForeignModal from '@/components/WorkspaceTabPropsTableForeignModal';
import WorkspaceTabNewTableEmptyState from '@/components/WorkspaceTabNewTableEmptyState';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabNewTable',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import QueryEditor from '@/components/QueryEditor';
import BaseLoader from '@/components/BaseLoader';
import Triggers from '@/ipc-api/Triggers';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabNewTrigger',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTriggerFunction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import BaseLoader from '@/components/BaseLoader';
import QueryEditor from '@/components/QueryEditor';
import Functions from '@/ipc-api/Functions';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabNewTriggerFunction',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import BaseLoader from '@/components/BaseLoader';
import QueryEditor from '@/components/QueryEditor';
import Views from '@/ipc-api/Views';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabNewView',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsFunction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import { uidGen } from 'common/libs/uidGen';
Expand All @@ -230,7 +231,6 @@ import QueryEditor from '@/components/QueryEditor';
import WorkspaceTabPropsFunctionParamsModal from '@/components/WorkspaceTabPropsFunctionParamsModal';
import ModalAskParameters from '@/components/ModalAskParameters';
import Functions from '@/ipc-api/Functions';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsFunction',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsRoutine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import { uidGen } from 'common/libs/uidGen';
Expand All @@ -187,7 +188,6 @@ import BaseLoader from '@/components/BaseLoader';
import WorkspaceTabPropsRoutineParamsModal from '@/components/WorkspaceTabPropsRoutineParamsModal';
import ModalAskParameters from '@/components/ModalAskParameters';
import Routines from '@/ipc-api/Routines';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsRoutine',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsScheduler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import BaseLoader from '@/components/BaseLoader';
import QueryEditor from '@/components/QueryEditor';
import WorkspaceTabPropsSchedulerTimingModal from '@/components/WorkspaceTabPropsSchedulerTimingModal';
import Schedulers from '@/ipc-api/Schedulers';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsScheduler',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
</template>

<script>
import ConfirmModal from '@/components/BaseConfirmModal';
import moment from 'moment';
import ConfirmModal from '@/components/BaseConfirmModal';
export default {
name: 'WorkspaceTabPropsSchedulerTimingModal',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import { uidGen } from 'common/libs/uidGen';
Expand All @@ -185,7 +186,6 @@ import BaseLoader from '@/components/BaseLoader';
import WorkspaceTabPropsTableFields from '@/components/WorkspaceTabPropsTableFields';
import WorkspaceTabPropsTableIndexesModal from '@/components/WorkspaceTabPropsTableIndexesModal';
import WorkspaceTabPropsTableForeignModal from '@/components/WorkspaceTabPropsTableForeignModal';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsTable',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTableFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import Draggable from 'vuedraggable';
import TableRow from '@/components/WorkspaceTabPropsTableRow';
import TableContext from '@/components/WorkspaceTabPropsTableContext';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsTableFields',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useWorkspacesStore } from '@/stores/workspaces';
import ConfirmModal from '@/components/BaseConfirmModal';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsTableRow',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import QueryEditor from '@/components/QueryEditor';
import BaseLoader from '@/components/BaseLoader';
import Triggers from '@/ipc-api/Triggers';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsTrigger',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import { uidGen } from 'common/libs/uidGen';
import BaseLoader from '@/components/BaseLoader';
import QueryEditor from '@/components/QueryEditor';
import ModalAskParameters from '@/components/ModalAskParameters';
import Functions from '@/ipc-api/Functions';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsTriggerFunction',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { useNotificationsStore } from '@/stores/notifications';
import { useWorkspacesStore } from '@/stores/workspaces';
import BaseLoader from '@/components/BaseLoader';
import QueryEditor from '@/components/QueryEditor';
import Views from '@/ipc-api/Views';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabPropsView',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { format } from 'sql-formatter';
import { useHistoryStore } from '@/stores/history';
import { useNotificationsStore } from '@/stores/notifications';
Expand All @@ -198,7 +199,6 @@ import WorkspaceTabQueryTable from '@/components/WorkspaceTabQueryTable';
import WorkspaceTabQueryEmptyState from '@/components/WorkspaceTabQueryEmptyState';
import ModalHistory from '@/components/ModalHistory';
import tableTabs from '@/mixins/tableTabs';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabQuery',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQueryTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import { uidGen } from 'common/libs/uidGen';
import { useNotificationsStore } from '@/stores/notifications';
import { useSettingsStore } from '@/stores/settings';
Expand All @@ -118,7 +119,6 @@ import WorkspaceTabQueryTableRow from '@/components/WorkspaceTabQueryTableRow';
import TableContext from '@/components/WorkspaceTabQueryTableContext';
import ConfirmModal from '@/components/BaseConfirmModal';
import moment from 'moment';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabQueryTable',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
</template>

<script>
import { storeToRefs } from 'pinia';
import Tables from '@/ipc-api/Tables';
import { useNotificationsStore } from '@/stores/notifications';
import { useSettingsStore } from '@/stores/settings';
Expand All @@ -186,7 +187,6 @@ import WorkspaceTabTableFilters from '@/components/WorkspaceTabTableFilters';
import ModalNewTableRow from '@/components/ModalNewTableRow';
import ModalFakerRows from '@/components/ModalFakerRows';
import tableTabs from '@/mixins/tableTabs';
import { storeToRefs } from 'pinia';
export default {
name: 'WorkspaceTabTable',
Expand Down
2 changes: 1 addition & 1 deletion webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const parsedContributors = contributors.reduce((acc, c) => {
}, []).join(',');

const isDevMode = process.env.NODE_ENV !== 'production';
const whiteListedModules = ['.bin', 'vue', '@vue', 'vuex', 'pinia', 'vue-i18n'];
const whiteListedModules = ['.bin', 'vue', '@vue', 'pinia', 'vue-i18n'];
const externals = {};

fs.readdirSync('node_modules')
Expand Down

0 comments on commit ff8bb45

Please sign in to comment.