mysqlsyncr 1.0.3 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -2
- package/src/apply.js +16 -11
- package/src/cli.js +3 -2
- package/src/compare.js +8 -1
- package/src/differences.js +45 -22
- package/src/dump.js +37 -1
- package/src/index.js +59 -41
- package/src/parsers.js +2 -1
- package/src/socketServer.js +96 -0
- package/ui/.editorconfig +7 -0
- package/ui/.prettierrc.json +6 -0
- package/ui/README.md +40 -0
- package/ui/dist/spa/assets/KFOkCnqEu92Fr1MmgVxIIzQ-Y2mpUUkw.woff +0 -0
- package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmEU9fBBc--ViM7Ag4Q.woff +0 -0
- package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmSU5fBBc--CrFzpgl6.woff +0 -0
- package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmWUlfBBc--CW3_XjG_.woff +0 -0
- package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmYUtfBBc--Dr8fnyGc.woff +0 -0
- package/ui/dist/spa/assets/KFOmCnqEu92Fr1Mu4mxM-DAYh6T4l.woff +0 -0
- package/ui/dist/spa/assets/MainLayout-C27l9N4F.js +1 -0
- package/ui/dist/spa/assets/axios-Y2H2Igoj.js +1 -0
- package/ui/dist/spa/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa-Dr0goTwe.woff +0 -0
- package/ui/dist/spa/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ-D-x-0Q06.woff2 +0 -0
- package/ui/dist/spa/assets/index-DKK0oGss.js +30 -0
- package/ui/dist/spa/assets/index-DME6fUxJ.css +5 -0
- package/ui/dist/spa/favicon.ico +0 -0
- package/ui/dist/spa/icons/favicon-128x128.png +0 -0
- package/ui/dist/spa/icons/favicon-16x16.png +0 -0
- package/ui/dist/spa/icons/favicon-32x32.png +0 -0
- package/ui/dist/spa/icons/favicon-96x96.png +0 -0
- package/ui/dist/spa/index.html +3 -0
- package/ui/eslint.config.js +73 -0
- package/ui/index.html +21 -0
- package/ui/jsconfig.json +3 -0
- package/ui/package.json +42 -0
- package/ui/postcss.config.js +29 -0
- package/ui/public/favicon.ico +0 -0
- package/ui/public/icons/favicon-128x128.png +0 -0
- package/ui/public/icons/favicon-16x16.png +0 -0
- package/ui/public/icons/favicon-32x32.png +0 -0
- package/ui/public/icons/favicon-96x96.png +0 -0
- package/ui/quasar.config.js +215 -0
- package/ui/src/App.vue +7 -0
- package/ui/src/assets/quasar-logo-vertical.svg +15 -0
- package/ui/src/boot/.gitkeep +0 -0
- package/ui/src/boot/axios.js +24 -0
- package/ui/src/components/EssentialLink.vue +44 -0
- package/ui/src/css/app.scss +1 -0
- package/ui/src/css/quasar.variables.scss +25 -0
- package/ui/src/layouts/MainLayout.vue +13 -0
- package/ui/src/pages/ApplyChanges.vue +46 -0
- package/ui/src/pages/CompareDatabase.vue +57 -0
- package/ui/src/pages/DatabaseManager.vue +42 -0
- package/ui/src/pages/DumpDatabase.vue +41 -0
- package/ui/src/pages/ErrorNotFound.vue +27 -0
- package/ui/src/pages/MainComponent copy.vue +322 -0
- package/ui/src/pages/MainComponent.vue +894 -0
- package/ui/src/router/index.js +30 -0
- package/ui/src/router/routes.js +20 -0
- package/ui/src/stores/example-store.js +21 -0
- package/ui/src/stores/index.js +20 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineRouter } from '#q-app/wrappers'
|
|
2
|
+
import { createRouter, createMemoryHistory, createWebHistory, createWebHashHistory } from 'vue-router'
|
|
3
|
+
import routes from './routes'
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* If not building with SSR mode, you can
|
|
7
|
+
* directly export the Router instantiation;
|
|
8
|
+
*
|
|
9
|
+
* The function below can be async too; either use
|
|
10
|
+
* async/await or return a Promise which resolves
|
|
11
|
+
* with the Router instance.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export default defineRouter(function (/* { store, ssrContext } */) {
|
|
15
|
+
const createHistory = process.env.SERVER
|
|
16
|
+
? createMemoryHistory
|
|
17
|
+
: (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory)
|
|
18
|
+
|
|
19
|
+
const Router = createRouter({
|
|
20
|
+
scrollBehavior: () => ({ left: 0, top: 0 }),
|
|
21
|
+
routes,
|
|
22
|
+
|
|
23
|
+
// Leave this as is and make changes in quasar.conf.js instead!
|
|
24
|
+
// quasar.conf.js -> build -> vueRouterMode
|
|
25
|
+
// quasar.conf.js -> build -> publicPath
|
|
26
|
+
history: createHistory(process.env.VUE_ROUTER_BASE)
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
return Router
|
|
30
|
+
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import DumpDatabase from 'pages/DumpDatabase.vue';
|
|
2
|
+
import CompareDatabase from 'pages/CompareDatabase.vue';
|
|
3
|
+
import ApplyChanges from 'pages/ApplyChanges.vue';
|
|
4
|
+
import MainComponent from 'pages/MainComponent.vue';
|
|
5
|
+
|
|
6
|
+
const routes = [
|
|
7
|
+
{
|
|
8
|
+
path: '/',
|
|
9
|
+
component: () => import('layouts/MainLayout.vue'),
|
|
10
|
+
children: [
|
|
11
|
+
{ path: '', component: MainComponent },
|
|
12
|
+
{ path: '/dump', component: DumpDatabase },
|
|
13
|
+
{ path: '/compare', component: CompareDatabase },
|
|
14
|
+
{ path: '/apply', component: ApplyChanges },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export default routes;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineStore, acceptHMRUpdate } from 'pinia'
|
|
2
|
+
|
|
3
|
+
export const useCounterStore = defineStore('counter', {
|
|
4
|
+
state: () => ({
|
|
5
|
+
counter: 0
|
|
6
|
+
}),
|
|
7
|
+
|
|
8
|
+
getters: {
|
|
9
|
+
doubleCount: (state) => state.counter * 2
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
actions: {
|
|
13
|
+
increment() {
|
|
14
|
+
this.counter++
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
if (import.meta.hot) {
|
|
20
|
+
import.meta.hot.accept(acceptHMRUpdate(useCounterStore, import.meta.hot))
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineStore } from '#q-app/wrappers'
|
|
2
|
+
import { createPinia } from 'pinia'
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* If not building with SSR mode, you can
|
|
6
|
+
* directly export the Store instantiation;
|
|
7
|
+
*
|
|
8
|
+
* The function below can be async too; either use
|
|
9
|
+
* async/await or return a Promise which resolves
|
|
10
|
+
* with the Store instance.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export default defineStore((/* { ssrContext } */) => {
|
|
14
|
+
const pinia = createPinia()
|
|
15
|
+
|
|
16
|
+
// You can add Pinia plugins here
|
|
17
|
+
// pinia.use(SomePiniaPlugin)
|
|
18
|
+
|
|
19
|
+
return pinia
|
|
20
|
+
})
|