From bf2ad4ac03c9fa666286fef5838b7dbb6f83d6bd Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Sun, 28 Feb 2021 13:48:38 +0300 Subject: [PATCH 01/17] init commit --- examples/vue-datastore/.gitignore | 27 ++++ examples/vue-datastore/.graphqlrc.yml | 8 + examples/vue-datastore/README.md | 75 +++++++++ examples/vue-datastore/package.json | 61 +++++++ examples/vue-datastore/public/favicon.ico | Bin 0 -> 3150 bytes examples/vue-datastore/public/index.html | 43 +++++ examples/vue-datastore/public/logo192.png | Bin 0 -> 5347 bytes examples/vue-datastore/public/logo512.png | Bin 0 -> 9664 bytes examples/vue-datastore/public/manifest.json | 25 +++ examples/vue-datastore/public/robots.txt | 3 + examples/vue-datastore/src/App.tsx | 110 +++++++++++++ .../src/components/Todo/Todo.tsx | 48 ++++++ .../src/components/Todo/TodoList.tsx | 27 ++++ .../src/components/Todo/index.ts | 2 + .../vue-datastore/src/components/UI/Empty.tsx | 11 ++ .../vue-datastore/src/components/UI/Error.tsx | 12 ++ .../src/components/UI/Header.tsx | 15 ++ .../src/components/UI/Loading.tsx | 11 ++ .../vue-datastore/src/components/UI/index.ts | 4 + .../src/components/forms/AddTodo.tsx | 37 +++++ .../src/components/forms/EditTodo.tsx | 40 +++++ .../src/components/forms/ToggleTodo.tsx | 32 ++++ .../src/components/forms/formSchema.ts | 33 ++++ .../src/components/forms/index.ts | 3 + .../vue-datastore/src/components/index.ts | 3 + .../vue-datastore/src/datastore/config.ts | 32 ++++ .../src/datastore/generated/index.ts | 6 + .../src/datastore/generated/schema.json | 57 +++++++ .../src/datastore/generated/types.ts | 19 +++ examples/vue-datastore/src/datastore/hooks.ts | 11 ++ examples/vue-datastore/src/index.tsx | 14 ++ .../vue-datastore/src/model/runtime.graphql | 23 +++ examples/vue-datastore/src/react-app-env.d.ts | 1 + examples/vue-datastore/src/serviceWorker.ts | 149 ++++++++++++++++++ examples/vue-datastore/src/setupTests.ts | 5 + examples/vue-datastore/src/types.ts | 39 +++++ examples/vue-datastore/tsconfig.json | 25 +++ .../datastore/src/vue/ReducerUtils.ts | 38 +++++ .../datastore/src/vue/hooks/delete.ts | 23 +++ .../datastore/src/vue/hooks/query.ts | 129 +++++++++++++++ .../datastore/datastore/src/vue/hooks/save.ts | 22 +++ .../datastore/src/vue/hooks/subscription.ts | 17 ++ .../datastore/src/vue/hooks/update.ts | 24 +++ packages/datastore/datastore/src/vue/index.ts | 0 44 files changed, 1264 insertions(+) create mode 100644 examples/vue-datastore/.gitignore create mode 100644 examples/vue-datastore/.graphqlrc.yml create mode 100644 examples/vue-datastore/README.md create mode 100644 examples/vue-datastore/package.json create mode 100644 examples/vue-datastore/public/favicon.ico create mode 100644 examples/vue-datastore/public/index.html create mode 100644 examples/vue-datastore/public/logo192.png create mode 100644 examples/vue-datastore/public/logo512.png create mode 100644 examples/vue-datastore/public/manifest.json create mode 100644 examples/vue-datastore/public/robots.txt create mode 100644 examples/vue-datastore/src/App.tsx create mode 100644 examples/vue-datastore/src/components/Todo/Todo.tsx create mode 100644 examples/vue-datastore/src/components/Todo/TodoList.tsx create mode 100644 examples/vue-datastore/src/components/Todo/index.ts create mode 100644 examples/vue-datastore/src/components/UI/Empty.tsx create mode 100644 examples/vue-datastore/src/components/UI/Error.tsx create mode 100644 examples/vue-datastore/src/components/UI/Header.tsx create mode 100644 examples/vue-datastore/src/components/UI/Loading.tsx create mode 100644 examples/vue-datastore/src/components/UI/index.ts create mode 100644 examples/vue-datastore/src/components/forms/AddTodo.tsx create mode 100644 examples/vue-datastore/src/components/forms/EditTodo.tsx create mode 100644 examples/vue-datastore/src/components/forms/ToggleTodo.tsx create mode 100644 examples/vue-datastore/src/components/forms/formSchema.ts create mode 100644 examples/vue-datastore/src/components/forms/index.ts create mode 100644 examples/vue-datastore/src/components/index.ts create mode 100644 examples/vue-datastore/src/datastore/config.ts create mode 100644 examples/vue-datastore/src/datastore/generated/index.ts create mode 100644 examples/vue-datastore/src/datastore/generated/schema.json create mode 100644 examples/vue-datastore/src/datastore/generated/types.ts create mode 100644 examples/vue-datastore/src/datastore/hooks.ts create mode 100644 examples/vue-datastore/src/index.tsx create mode 100644 examples/vue-datastore/src/model/runtime.graphql create mode 100644 examples/vue-datastore/src/react-app-env.d.ts create mode 100644 examples/vue-datastore/src/serviceWorker.ts create mode 100644 examples/vue-datastore/src/setupTests.ts create mode 100644 examples/vue-datastore/src/types.ts create mode 100644 examples/vue-datastore/tsconfig.json create mode 100644 packages/datastore/datastore/src/vue/ReducerUtils.ts create mode 100644 packages/datastore/datastore/src/vue/hooks/delete.ts create mode 100644 packages/datastore/datastore/src/vue/hooks/query.ts create mode 100644 packages/datastore/datastore/src/vue/hooks/save.ts create mode 100644 packages/datastore/datastore/src/vue/hooks/subscription.ts create mode 100644 packages/datastore/datastore/src/vue/hooks/update.ts create mode 100644 packages/datastore/datastore/src/vue/index.ts diff --git a/examples/vue-datastore/.gitignore b/examples/vue-datastore/.gitignore new file mode 100644 index 000000000..99cdaa2aa --- /dev/null +++ b/examples/vue-datastore/.gitignore @@ -0,0 +1,27 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local +.gradle + +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +/android +/ios diff --git a/examples/vue-datastore/.graphqlrc.yml b/examples/vue-datastore/.graphqlrc.yml new file mode 100644 index 000000000..e900bd68a --- /dev/null +++ b/examples/vue-datastore/.graphqlrc.yml @@ -0,0 +1,8 @@ +schema: './src/schema.graphql' +extensions: + graphback: + # path to data model file(s) + model: './src/model/runtime.graphql' + plugins: + offix-datasync-client-plugin: + modelOutputDir: './src/datasync' diff --git a/examples/vue-datastore/README.md b/examples/vue-datastore/README.md new file mode 100644 index 000000000..76a0c08f7 --- /dev/null +++ b/examples/vue-datastore/README.md @@ -0,0 +1,75 @@ +# Offix - React Todo Example App + +This example demonstrates how to get started using Offix in a React project. The app is a simple +todo app making use of the `offix-client` and can be used as launch pad to getting started +with Offix and make use of the features in the library. + +## Getting started + +To get started, run: + +``` +yarn install +``` + +### Setting up a server + +For simplicity, a GraphQL Serve in-memory server has been provided. You can make changes to the GrapQL schema, by editing the `models/runtime.graphql` file. To start the server, run the following +command: + +``` +yarn startServer +``` + +Alternatively, you can implement your own backend server. + +### Starting the client + +Next, configure the GraphQL server address in the `src/clientConfig.js` file: + +``` + +... + +const wsLink = new WebSocketLink({ + uri: 'ws://', + ... +}); + +const httpLink = new HttpLink({ + uri: 'http://', +}); + +... + +``` + +### Starting the client + +Lastly, run the following commands from the React example folder. + +``` +yarn start +``` + +## Adding more models + +1. Edit runtime.graphql file in `src/model/runtime.graphql` +2. Generate models yarn generate +3. Review new models + + +## Running as native capacitor application + + +yarn build +yarn cap add ios +yarn cap copy ios +yarn cap open ios + + +yarn build +yarn cap add android +// Swap main activity https://github.com/capacitor-community/sqlite +yarn cap copy android +yarn cap open android diff --git a/examples/vue-datastore/package.json b/examples/vue-datastore/package.json new file mode 100644 index 000000000..d96f1d266 --- /dev/null +++ b/examples/vue-datastore/package.json @@ -0,0 +1,61 @@ +{ + "name": "react-offix", + "version": "0.1.0", + "private": true, + "dependencies": { + "@ant-design/icons": "~4.2.1", + "@apollo/react-hooks": "^3.1.5", + "@capacitor-community/sqlite": "^2.4.0", + "@capacitor/android": "2.4.0", + "@testing-library/jest-dom": "^4.2.4", + "@testing-library/react": "^9.3.2", + "@testing-library/user-event": "^7.1.2", + "@types/jest": "^24.0.0", + "@types/node": "^12.0.0", + "@types/react": "^16.9.0", + "@types/react-dom": "^16.9.0", + "antd": "~4.4.1", + "graphql.macro": "^1.4.2", + "offix-datastore": "0.4.0", + "react": "^16.13.1", + "react-dom": "^16.13.1", + "react-scripts": "3.4.1", + "typescript": "4.1.5", + "uniforms": "3.0.0-alpha.5", + "uniforms-antd": "3.0.0-alpha.5", + "uniforms-bridge-graphql": "3.0.0-alpha.5", + "uuidv4": "^6.1.1", + "@capacitor/core": "^2.4.0" + }, + "scripts": { + "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", + "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql", + "build": "react-scripts build", + "test": "react-scripts test", + "eject": "react-scripts eject", + "generate": "offix generate --schema ./src/model/runtime.graphql --outputPath ./src/datastore/generated", + "linkdatastore": "cd ../../packages/datastore/datastore && yarn link && cd - && yarn link offix-datastore && rm -Rf ./node_modules/react && && rm -Rf ./node_modules/react-dom", + "linkdatastorecli": "cd ../../packages/datastore/cli && yarn link && cd - && yarn link @offix/cli" + }, + "eslintConfig": { + "extends": "react-app" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "devDependencies": { + "@capacitor/cli": "^2.4.0", + "@offix/cli": "0.2.1", + "graphback-cli": "1.1.1", + "graphql-serve": "1.1.1" + } +} diff --git a/examples/vue-datastore/public/favicon.ico b/examples/vue-datastore/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..bcd5dfd67cd0361b78123e95c2dd96031f27f743 GIT binary patch literal 3150 zcmaKtc{Ei0AIGn;MZ^<@lHD*OV;K7~W1q3jSjJcqNywTkMOhP*k~Oj?GO|6{m(*C2 zC7JA+hN%%Bp7T4;J@?%2_x=5zbI<2~->=X60stMr0B~{wzpi9D0MG|# zyuANt7z6;uz%?PEfAnimLl^)6h5ARwGXemG2>?hqQv-I^Gpyh$JH}Ag92}3{$a#z& zd`il2Sb#$U&e&4#^4R|GTgk!Qs+x*PCL{2+`uB5mqtnqLaaw`*H2oqJ?XF(zUACc2 zSibBrdQzcidqv*TK}rpEv1ie&;Famq2IK5%4c}1Jt2b1x_{y1C!?EU)@`_F)yN*NK z)(u03@%g%uDawwXGAMm%EnP9FgoucUedioDwL~{6RVO@A-Q$+pwVRR%WYR>{K3E&Q zzqzT!EEZ$_NH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^o$q)xu#fl0ivOJE({duU)a*OD(eYgSi^cdTn}pqcPM(;S)2%1By^Wh%-CaC%>d9hi`7J zaxL7@;nhA>PE%s99&;z{8>VFgf{u!(-B-x7Of6ueme+ScryL`h(^qKE)DtieWY>-7 zgB)VJESQS4*1LU(2&@pgLvSt{(((C?K_V(rQk``i&5}ZPG;G^FiPlZ$7|-vEmMWlU z5lQ%iK2nu=h2wd_7>gK@vX=*AG+u~rQP$NwPC`ZA?4nh{3tui1x@bT6-;Rk3yDQ>d z?3qRD#+PeV7#FAa>s`Xwxsx_oRFcN$StW2=CW`=qObsT?SD^#^jM1Yk}PSPxJ zG@-_mnNU_)vM|iLRSI>UMp|hatyS}17R{10IuL0TLlupt>9dRs_SPQbv7BLYyC#qv16E-y@XZ= z-!p7I%#r-BVi$nQq3&ssRc_IC%R6$tA&^s_l46880~Wst3@>(|EO<}T4~ci~#!=e; zD)B>o%1+$ksURD1p7I-<3ehlFyVkqrySf&gg>Bp0Z9?JaG|gyTZ{Cb8SdvAWVmFX7v2ohs!OCc!Udk zUITUpmZ33rKLI#(&lDj}cKA#dpL4Fil=$5pu_wi1XJR!llw` zSItPBDEdMHk2>c7#%lBxZHHvtVUOZ$}v?=?AT~9!Jcqa@IJGuMg(s^7r>pcTrd)pS`{5Cu8WPey` z9)!!OUUY@L%9Q+bZa*S5`3f_|lFCPN6kdp_M2>{le8;cn^XUsPa+TUk47qd6)IBR% zk*&Ip?!Ge_gmmdj)BX}P_5o@VI2*wbZ^>UhFju}0gQZh!pP%4XT9{@w;G#b3XK8sN zF(7i$Jv(IM$8Akys9dhP^^~H2(7BfJp}yDW1#@!CL-!mGcSCnJ599WK9MV@yo_u$v MDeX2GIKR{Qf5okjU;qFB literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/index.html b/examples/vue-datastore/public/index.html new file mode 100644 index 000000000..aa069f27c --- /dev/null +++ b/examples/vue-datastore/public/index.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + + React App + + + +
+ + + diff --git a/examples/vue-datastore/public/logo192.png b/examples/vue-datastore/public/logo192.png new file mode 100644 index 0000000000000000000000000000000000000000..fc44b0a3796c0e0a64c3d858ca038bd4570465d9 GIT binary patch literal 5347 zcmZWtbyO6NvR-oO24RV%BvuJ&=?+<7=`LvyB&A_#M7mSDYw1v6DJkiYl9XjT!%$dLEBTQ8R9|wd3008in6lFF3GV-6mLi?MoP_y~}QUnaDCHI#t z7w^m$@6DI)|C8_jrT?q=f8D?0AM?L)Z}xAo^e^W>t$*Y0KlT5=@bBjT9kxb%-KNdk zeOS1tKO#ChhG7%{ApNBzE2ZVNcxbrin#E1TiAw#BlUhXllzhN$qWez5l;h+t^q#Eav8PhR2|T}y5kkflaK`ba-eoE+Z2q@o6P$)=&` z+(8}+-McnNO>e#$Rr{32ngsZIAX>GH??tqgwUuUz6kjns|LjsB37zUEWd|(&O!)DY zQLrq%Y>)Y8G`yYbYCx&aVHi@-vZ3|ebG!f$sTQqMgi0hWRJ^Wc+Ibv!udh_r%2|U) zPi|E^PK?UE!>_4`f`1k4hqqj_$+d!EB_#IYt;f9)fBOumGNyglU(ofY`yHq4Y?B%- zp&G!MRY<~ajTgIHErMe(Z8JG*;D-PJhd@RX@QatggM7+G(Lz8eZ;73)72Hfx5KDOE zkT(m}i2;@X2AT5fW?qVp?@WgN$aT+f_6eo?IsLh;jscNRp|8H}Z9p_UBO^SJXpZew zEK8fz|0Th%(Wr|KZBGTM4yxkA5CFdAj8=QSrT$fKW#tweUFqr0TZ9D~a5lF{)%-tTGMK^2tz(y2v$i%V8XAxIywrZCp=)83p(zIk6@S5AWl|Oa2hF`~~^W zI;KeOSkw1O#TiQ8;U7OPXjZM|KrnN}9arP)m0v$c|L)lF`j_rpG(zW1Qjv$=^|p*f z>)Na{D&>n`jOWMwB^TM}slgTEcjxTlUby89j1)|6ydRfWERn3|7Zd2&e7?!K&5G$x z`5U3uFtn4~SZq|LjFVrz$3iln-+ucY4q$BC{CSm7Xe5c1J<=%Oagztj{if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_NMrW(+V#c_d&U8Z9+ec4=HmOHw?gdjF(Lu zzra83M_BoO-1b3;9`%&DHfuUY)6YDV21P$C!Rc?mv&{lx#f8oc6?0?x zK08{WP65?#>(vPfA-c=MCY|%*1_<3D4NX zeVTi-JGl2uP_2@0F{G({pxQOXt_d{g_CV6b?jNpfUG9;8yle-^4KHRvZs-_2siata zt+d_T@U$&t*xaD22(fH(W1r$Mo?3dc%Tncm=C6{V9y{v&VT#^1L04vDrLM9qBoZ4@ z6DBN#m57hX7$C(=#$Y5$bJmwA$T8jKD8+6A!-IJwA{WOfs%s}yxUw^?MRZjF$n_KN z6`_bGXcmE#5e4Ym)aQJ)xg3Pg0@k`iGuHe?f(5LtuzSq=nS^5z>vqU0EuZ&75V%Z{ zYyhRLN^)$c6Ds{f7*FBpE;n5iglx5PkHfWrj3`x^j^t z7ntuV`g!9Xg#^3!x)l*}IW=(Tz3>Y5l4uGaB&lz{GDjm2D5S$CExLT`I1#n^lBH7Y zDgpMag@`iETKAI=p<5E#LTkwzVR@=yY|uBVI1HG|8h+d;G-qfuj}-ZR6fN>EfCCW z9~wRQoAPEa#aO?3h?x{YvV*d+NtPkf&4V0k4|L=uj!U{L+oLa(z#&iuhJr3-PjO3R z5s?=nn_5^*^Rawr>>Nr@K(jwkB#JK-=+HqwfdO<+P5byeim)wvqGlP-P|~Nse8=XF zz`?RYB|D6SwS}C+YQv+;}k6$-%D(@+t14BL@vM z2q%q?f6D-A5s$_WY3{^G0F131bbh|g!}#BKw=HQ7mx;Dzg4Z*bTLQSfo{ed{4}NZW zfrRm^Ca$rlE{Ue~uYv>R9{3smwATcdM_6+yWIO z*ZRH~uXE@#p$XTbCt5j7j2=86e{9>HIB6xDzV+vAo&B?KUiMP|ttOElepnl%|DPqL b{|{}U^kRn2wo}j7|0ATu<;8xA7zX}7|B6mN literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/manifest.json b/examples/vue-datastore/public/manifest.json new file mode 100644 index 000000000..080d6c77a --- /dev/null +++ b/examples/vue-datastore/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/examples/vue-datastore/public/robots.txt b/examples/vue-datastore/public/robots.txt new file mode 100644 index 000000000..e9e57dc4d --- /dev/null +++ b/examples/vue-datastore/public/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/examples/vue-datastore/src/App.tsx b/examples/vue-datastore/src/App.tsx new file mode 100644 index 000000000..1d231e21c --- /dev/null +++ b/examples/vue-datastore/src/App.tsx @@ -0,0 +1,110 @@ +import React, { useState, useEffect } from 'react'; +import { Button } from 'antd'; +import 'antd/dist/antd.css'; + +import { useFindTodos } from './datastore/hooks'; +import { TodoList, AddTodo, Loading, Error, Header } from './components'; +import { datastore } from './datastore/config'; +import { NetworkStatusEvent } from 'offix-datastore/types/replication/network/NetworkStatus'; + +function App() { + + const [replicating, setReplicating] = useState(true); + const [addView, setAddView] = useState(false); + const { loading, error, data, subscribeToUpdates } = useFindTodos(); + + useEffect(() => { + datastore.getNetworkIndicator()?.subscribe({ + next: (event: NetworkStatusEvent) => { + if (event.isOnline) { + datastore.startReplication(); + setReplicating(true); + } else { + datastore.stopReplication(); + setReplicating(false); + } + } + }) + }) + + useEffect(() => { + // We can start replication on a per model basis + // or for the entire store with: + // datastore.startReplication + // the `startReplication` method accepts an + // optional filter + datastore.startReplication() + }); + + useEffect(() => { + const subscription = subscribeToUpdates(); + return () => subscription.unsubscribe(); + }, [data, subscribeToUpdates]); + + if (loading) return ; + + if (error) return ; + + return ( +
+
+
setAddView(false) + } + extra={ + addView ? null : ( + <> + + + + ) + } + > + { + !addView && ( + <> + + + ) + } + { + addView && ( + <> + setAddView(false)} /> + + ) + } +
+
+
+ ); +} + +const containerStyle = { + display: 'flex', + alignItems: 'start', + justifyContent: 'center', + minHeight: '100vh', + width: '100vw', + padding: '2em 0' +} + +export default App; diff --git a/examples/vue-datastore/src/components/Todo/Todo.tsx b/examples/vue-datastore/src/components/Todo/Todo.tsx new file mode 100644 index 000000000..78a4234af --- /dev/null +++ b/examples/vue-datastore/src/components/Todo/Todo.tsx @@ -0,0 +1,48 @@ +import React, { useState, FormEvent } from 'react'; +import { Row, Col, Button } from 'antd'; +import { EditOutlined, DeleteOutlined } from '@ant-design/icons'; + +import { EditTodo, ToggleTodo } from '../forms'; +import { TodoProps } from '../../types'; +import { useDeleteTodo } from '../../datastore/hooks'; + +export const Todo = ({ todo }: TodoProps) => { + const [edit, setEdit] = useState(false); + const { remove: deleteTodo } = useDeleteTodo(); + + const handleDelete = (e: FormEvent) => { + e.preventDefault(); + deleteTodo(todo) + .then((res: any) => console.log(res)) + .catch((error: any) => console.log(error)); + }; + + if (edit) { + return ( + setEdit(!edit)} + /> + ); + } + + return ( + + + +

+ Description:
+ {todo.description} +

+ + + + + +
+ ); +}; diff --git a/examples/vue-datastore/src/components/Todo/TodoList.tsx b/examples/vue-datastore/src/components/Todo/TodoList.tsx new file mode 100644 index 000000000..85605cce4 --- /dev/null +++ b/examples/vue-datastore/src/components/Todo/TodoList.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import { Card } from 'antd'; + +import { Empty } from '../UI'; +import { Todo } from './Todo'; +import { TodoListProps } from '../../types'; + +export const TodoList = ({ todos }: TodoListProps) => { + + if (!todos || todos.length === 0) return ; + + return ( + // map through todos and render + // each todo item + <> + { + todos && todos.map((todo) => ( + + + + )) + } + + ); +}; diff --git a/examples/vue-datastore/src/components/Todo/index.ts b/examples/vue-datastore/src/components/Todo/index.ts new file mode 100644 index 000000000..3a6dc8a33 --- /dev/null +++ b/examples/vue-datastore/src/components/Todo/index.ts @@ -0,0 +1,2 @@ +export { Todo } from './Todo'; +export { TodoList } from './TodoList'; \ No newline at end of file diff --git a/examples/vue-datastore/src/components/UI/Empty.tsx b/examples/vue-datastore/src/components/UI/Empty.tsx new file mode 100644 index 000000000..65367c908 --- /dev/null +++ b/examples/vue-datastore/src/components/UI/Empty.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +export const Empty = () => { + return ( +
+
+

You have no todo items

+

Click the button to create a new task

+
+ ); +}; diff --git a/examples/vue-datastore/src/components/UI/Error.tsx b/examples/vue-datastore/src/components/UI/Error.tsx new file mode 100644 index 000000000..509691d71 --- /dev/null +++ b/examples/vue-datastore/src/components/UI/Error.tsx @@ -0,0 +1,12 @@ +import React from 'react'; +import { Result } from 'antd'; + +export function Error({ message }: { message: string }) { + return ( + + ); +} \ No newline at end of file diff --git a/examples/vue-datastore/src/components/UI/Header.tsx b/examples/vue-datastore/src/components/UI/Header.tsx new file mode 100644 index 000000000..2ce010df0 --- /dev/null +++ b/examples/vue-datastore/src/components/UI/Header.tsx @@ -0,0 +1,15 @@ +import React from 'react'; +import { PageHeader } from 'antd'; + +export function Header({ title, onBack, extra, children } : any, props : any) { + return ( + + { children } + + ); +} diff --git a/examples/vue-datastore/src/components/UI/Loading.tsx b/examples/vue-datastore/src/components/UI/Loading.tsx new file mode 100644 index 000000000..f6a3f7763 --- /dev/null +++ b/examples/vue-datastore/src/components/UI/Loading.tsx @@ -0,0 +1,11 @@ +import React from 'react'; +import { Result, Spin } from 'antd'; + +export function Loading() { + return ( + } + title="Loading..." + /> + ); +} \ No newline at end of file diff --git a/examples/vue-datastore/src/components/UI/index.ts b/examples/vue-datastore/src/components/UI/index.ts new file mode 100644 index 000000000..4d2d3c1af --- /dev/null +++ b/examples/vue-datastore/src/components/UI/index.ts @@ -0,0 +1,4 @@ +export { Empty } from './Empty'; +export { Error } from './Error'; +export { Header } from './Header'; +export { Loading } from './Loading'; \ No newline at end of file diff --git a/examples/vue-datastore/src/components/forms/AddTodo.tsx b/examples/vue-datastore/src/components/forms/AddTodo.tsx new file mode 100644 index 000000000..941d2879c --- /dev/null +++ b/examples/vue-datastore/src/components/forms/AddTodo.tsx @@ -0,0 +1,37 @@ +import React from 'react'; +import { Button } from 'antd'; +import { + AutoForm, + TextField, + LongTextField, + SubmitField +} from 'uniforms-antd'; + +import { AddTodoProps } from '../../types'; +import { schema } from './formSchema'; +import { useAddTodo } from '../../datastore/hooks'; +import { Todo } from '../../datastore/generated'; + +export const AddTodo = ({ cancel }: AddTodoProps) => { + + const { save: addTodo } = useAddTodo(); + + const handleSubmit = ({ title, description }: Todo) => { + addTodo({ + title, + description, + completed: false, + }) + .then(() => cancel()) + .catch((error: any) => console.log(error)); + }; + + return ( + + + + + + + ); +}; diff --git a/examples/vue-datastore/src/components/forms/EditTodo.tsx b/examples/vue-datastore/src/components/forms/EditTodo.tsx new file mode 100644 index 000000000..67e654513 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/EditTodo.tsx @@ -0,0 +1,40 @@ +import React from 'react'; +import { Button } from 'antd'; +import { AutoForm, TextField, LongTextField, SubmitField } from 'uniforms-antd'; + +import { schema } from './formSchema'; +import { EditTodoProps } from '../../types'; +import { useEditTodo } from '../../datastore/hooks'; +import { Todo } from '../../datastore/generated'; + +export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { + + const { update: editTodo } = useEditTodo(); + + const handleUpdate = (todo: Todo) => { + editTodo({ + ...todo, + title: todo.title, + description: todo.description, + _version: todo._version ?? 1, + }) + .then(() => toggleEdit()) + .catch((error: any) => { + console.log(error); + }); + }; + + return ( + + + + + + + ); +}; diff --git a/examples/vue-datastore/src/components/forms/ToggleTodo.tsx b/examples/vue-datastore/src/components/forms/ToggleTodo.tsx new file mode 100644 index 000000000..30f7d7dc2 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/ToggleTodo.tsx @@ -0,0 +1,32 @@ +import React from 'react'; +import { QuickForm, BoolField } from 'uniforms-antd'; + +import { ToggleTodoProps } from "../../types"; +import { schema } from './formSchema'; +import { useEditTodo } from '../../datastore/hooks'; + +export function ToggleTodo({ todo }: ToggleTodoProps) { + + const { update: editTodo } = useEditTodo(); + + const handleUpdate = () => { + editTodo({ + ...todo, + _version: todo._version ?? 1, + completed: !todo.completed, + }) + .then((res: any) => console.log("response", res)) + .catch((error: any) => console.log("error", error)); + }; + + return ( + + + + ); +} diff --git a/examples/vue-datastore/src/components/forms/formSchema.ts b/examples/vue-datastore/src/components/forms/formSchema.ts new file mode 100644 index 000000000..ce68f5c62 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/formSchema.ts @@ -0,0 +1,33 @@ +import { GraphQLBridge } from 'uniforms-bridge-graphql'; +import { buildASTSchema } from 'graphql'; +import { loader } from 'graphql.macro'; +import { Todo } from '../../datastore/generated'; + +// import the grapqhl model +const model = loader('../../model/runtime.graphql'); + +const validator = (model: Todo) => { + const details = []; + + if (!model.title) { + details.push({ name: 'title' }); + } + + if (details.length) { + // eslint-disable-next-line + throw { details }; + } +}; + +const data = { + title: { + required: true, + errorMessage: 'Title is required', + } +} + +export const schema = new GraphQLBridge( + buildASTSchema((model)).getType('Todo'), + validator, + data, +); diff --git a/examples/vue-datastore/src/components/forms/index.ts b/examples/vue-datastore/src/components/forms/index.ts new file mode 100644 index 000000000..016c57292 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/index.ts @@ -0,0 +1,3 @@ +export { AddTodo } from './AddTodo'; +export { EditTodo } from './EditTodo'; +export { ToggleTodo } from './ToggleTodo'; \ No newline at end of file diff --git a/examples/vue-datastore/src/components/index.ts b/examples/vue-datastore/src/components/index.ts new file mode 100644 index 000000000..c902aa263 --- /dev/null +++ b/examples/vue-datastore/src/components/index.ts @@ -0,0 +1,3 @@ +export { Todo, TodoList } from './Todo'; +export { AddTodo, EditTodo, ToggleTodo } from './forms'; +export { Empty, Error, Loading, Header } from './UI'; \ No newline at end of file diff --git a/examples/vue-datastore/src/datastore/config.ts b/examples/vue-datastore/src/datastore/config.ts new file mode 100644 index 000000000..e92617528 --- /dev/null +++ b/examples/vue-datastore/src/datastore/config.ts @@ -0,0 +1,32 @@ +import { DataStore } from 'offix-datastore'; +import { schema, User, Todo } from './generated'; + +export const datastore = new DataStore({ + dbName: "offix-datasync", + replicationConfig: { + client: { + url: "http://localhost:5400/graphql", + wsUrl: "ws://localhost:5400/graphql", + }, + delta: { enabled: true, pullInterval: 20000 }, + mutations: { enabled: true }, + liveupdates: { enabled: true } + } +}); + +export const TodoModel = datastore.setupModel(schema.Todo); +export const UserModel = datastore.setupModel(schema.User); + +datastore.init(); + +// After init we can start replication immediately with: +// datastore.startReplication() +// Or we can start replication at a later stage. +// +// we can also execute operations freely using hooks in components and plain js. +// const user = { name: "User" + new Date().getTime() }; +// UserModel.save(user).then(async (result) => { +// result.name = "NewUser"; +// await UserModel.updateById(result); +// await UserModel.removeById(result.id as string); +// }).catch(console.log) diff --git a/examples/vue-datastore/src/datastore/generated/index.ts b/examples/vue-datastore/src/datastore/generated/index.ts new file mode 100644 index 000000000..7d28cc6ed --- /dev/null +++ b/examples/vue-datastore/src/datastore/generated/index.ts @@ -0,0 +1,6 @@ +import { GeneratedModelSchema } from "offix-datastore"; +import jsonSchema from "./schema.json"; + +export const schema = jsonSchema as GeneratedModelSchema; + +export * from "./types"; diff --git a/examples/vue-datastore/src/datastore/generated/schema.json b/examples/vue-datastore/src/datastore/generated/schema.json new file mode 100644 index 000000000..5ee203f14 --- /dev/null +++ b/examples/vue-datastore/src/datastore/generated/schema.json @@ -0,0 +1,57 @@ +{ + "Todo": { + "name": "Todo", + "version": 1, + "type": "object", + "primaryKey": "_id", + "properties": { + "_id": { + "type": "string", + "key": "_id", + "isRequired": true, + "primary": true + }, + "title": { + "type": "string", + "key": "title" + }, + "description": { + "type": "string", + "key": "description" + }, + "completed": { + "type": "boolean", + "key": "completed" + }, + "_version": { + "type": "string", + "key": "_version", + "isRequired": true + } + } + }, + "User": { + "name": "User", + "version": 1, + "type": "object", + "primaryKey": "_id", + "properties": { + "_id": { + "type": "string", + "key": "_id", + "isRequired": true, + "primary": true + }, + "name": { + "type": "string", + "key": "name", + "isRequired": true + }, + "_version": { + "type": "string", + "key": "_version", + "isRequired": true + } + } + } +} diff --git a/examples/vue-datastore/src/datastore/generated/types.ts b/examples/vue-datastore/src/datastore/generated/types.ts new file mode 100644 index 000000000..0fe37641c --- /dev/null +++ b/examples/vue-datastore/src/datastore/generated/types.ts @@ -0,0 +1,19 @@ +export interface Todo { + _id: string; + title?: string; + description?: string; + completed?: boolean + _version: number; +} + +export type TodoCreate = Omit; +export type TodoChange = Pick & Partial; + +export interface User { + _id: string; + name: string + _version: number; +} + +export type UserCreate = Omit; +export type UserChange = Pick & Partial; diff --git a/examples/vue-datastore/src/datastore/hooks.ts b/examples/vue-datastore/src/datastore/hooks.ts new file mode 100644 index 000000000..f1053ff7f --- /dev/null +++ b/examples/vue-datastore/src/datastore/hooks.ts @@ -0,0 +1,11 @@ +import { Filter, useQuery, useSave, useUpdate, useRemove } from 'offix-datastore'; +import { TodoModel } from './config'; +import { Todo } from './generated'; + +export const useFindTodos = (filter?: Filter) => useQuery(TodoModel, filter); + +export const useAddTodo = () => useSave(TodoModel); + +export const useEditTodo = () => useUpdate(TodoModel); + +export const useDeleteTodo = () => useRemove(TodoModel); diff --git a/examples/vue-datastore/src/index.tsx b/examples/vue-datastore/src/index.tsx new file mode 100644 index 000000000..d68fa09e7 --- /dev/null +++ b/examples/vue-datastore/src/index.tsx @@ -0,0 +1,14 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; +import App from './App'; +import * as serviceWorker from './serviceWorker'; + +// enable logger for datasync in browser +localStorage.debug = 'datasync:*'; + +ReactDOM.render(, document.getElementById("root")); + +// If you want your app to work offline and load faster, you can change +// unregister() to register() below. Note this comes with some pitfalls. +// Learn more about service workers: https://bit.ly/CRA-PWA +serviceWorker.register(); diff --git a/examples/vue-datastore/src/model/runtime.graphql b/examples/vue-datastore/src/model/runtime.graphql new file mode 100644 index 000000000..4be42b410 --- /dev/null +++ b/examples/vue-datastore/src/model/runtime.graphql @@ -0,0 +1,23 @@ +scalar GraphbackObjectID + +""" +@model +@datasync +""" +type Todo { + _id: GraphbackObjectID! + title: String + description: String + completed: Boolean +} + +""" +@model +@datasync +""" +type User { + _id: GraphbackObjectID! + name: String! + # TODO + # todos: [Todo!]! +} diff --git a/examples/vue-datastore/src/react-app-env.d.ts b/examples/vue-datastore/src/react-app-env.d.ts new file mode 100644 index 000000000..6431bc5fc --- /dev/null +++ b/examples/vue-datastore/src/react-app-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/examples/vue-datastore/src/serviceWorker.ts b/examples/vue-datastore/src/serviceWorker.ts new file mode 100644 index 000000000..b09523f15 --- /dev/null +++ b/examples/vue-datastore/src/serviceWorker.ts @@ -0,0 +1,149 @@ +// This optional code is used to register a service worker. +// register() is not called by default. + +// This lets the app load faster on subsequent visits in production, and gives +// it offline capabilities. However, it also means that developers (and users) +// will only see deployed updates on subsequent visits to a page, after all the +// existing tabs open on the page have been closed, since previously cached +// resources are updated in the background. + +// To learn more about the benefits of this model and instructions on how to +// opt-in, read https://bit.ly/CRA-PWA + +const isLocalhost = Boolean( + window.location.hostname === 'localhost' || + // [::1] is the IPv6 localhost address. + window.location.hostname === '[::1]' || + // 127.0.0.0/8 are considered localhost for IPv4. + window.location.hostname.match( + /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ + ) +); + +type Config = { + onSuccess?: (registration: ServiceWorkerRegistration) => void; + onUpdate?: (registration: ServiceWorkerRegistration) => void; +}; + +export function register(config?: Config) { + if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) { + // The URL constructor is available in all browsers that support SW. + const publicUrl = new URL( + process.env.PUBLIC_URL, + window.location.href + ); + if (publicUrl.origin !== window.location.origin) { + // Our service worker won't work if PUBLIC_URL is on a different origin + // from what our page is served on. This might happen if a CDN is used to + // serve assets; see https://github.com/facebook/create-react-app/issues/2374 + return; + } + + window.addEventListener('load', () => { + const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`; + + if (isLocalhost) { + // This is running on localhost. Let's check if a service worker still exists or not. + checkValidServiceWorker(swUrl, config); + + // Add some additional logging to localhost, pointing developers to the + // service worker/PWA documentation. + navigator.serviceWorker.ready.then(() => { + console.log( + 'This web app is being served cache-first by a service ' + + 'worker. To learn more, visit https://bit.ly/CRA-PWA' + ); + }); + } else { + // Is not localhost. Just register service worker + registerValidSW(swUrl, config); + } + }); + } +} + +function registerValidSW(swUrl: string, config?: Config) { + navigator.serviceWorker + .register(swUrl) + .then(registration => { + registration.onupdatefound = () => { + const installingWorker = registration.installing; + if (installingWorker == null) { + return; + } + installingWorker.onstatechange = () => { + if (installingWorker.state === 'installed') { + if (navigator.serviceWorker.controller) { + // At this point, the updated precached content has been fetched, + // but the previous service worker will still serve the older + // content until all client tabs are closed. + console.log( + 'New content is available and will be used when all ' + + 'tabs for this page are closed. See https://bit.ly/CRA-PWA.' + ); + + // Execute callback + if (config && config.onUpdate) { + config.onUpdate(registration); + } + } else { + // At this point, everything has been precached. + // It's the perfect time to display a + // "Content is cached for offline use." message. + console.log('Content is cached for offline use.'); + + // Execute callback + if (config && config.onSuccess) { + config.onSuccess(registration); + } + } + } + }; + }; + }) + .catch(error => { + console.error('Error during service worker registration:', error); + }); +} + +function checkValidServiceWorker(swUrl: string, config?: Config) { + // Check if the service worker can be found. If it can't reload the page. + fetch(swUrl, { + headers: { 'Service-Worker': 'script' } + }) + .then(response => { + // Ensure service worker exists, and that we really are getting a JS file. + const contentType = response.headers.get('content-type'); + if ( + response.status === 404 || + (contentType != null && contentType.indexOf('javascript') === -1) + ) { + // No service worker found. Probably a different app. Reload the page. + navigator.serviceWorker.ready.then(registration => { + registration.unregister().then(() => { + window.location.reload(); + }); + }); + } else { + // Service worker found. Proceed as normal. + registerValidSW(swUrl, config); + } + }) + .catch(() => { + console.log( + 'No internet connection found. App is running in offline mode.' + ); + }); +} + +export function unregister() { + if ('serviceWorker' in navigator) { + navigator.serviceWorker.ready + .then(registration => { + registration.unregister(); + }) + .catch(error => { + console.error(error.message); + }); + } +} diff --git a/examples/vue-datastore/src/setupTests.ts b/examples/vue-datastore/src/setupTests.ts new file mode 100644 index 000000000..74b1a275a --- /dev/null +++ b/examples/vue-datastore/src/setupTests.ts @@ -0,0 +1,5 @@ +// jest-dom adds custom jest matchers for asserting on DOM nodes. +// allows you to do things like: +// expect(element).toHaveTextContent(/react/i) +// learn more: https://github.com/testing-library/jest-dom +import '@testing-library/jest-dom/extend-expect'; diff --git a/examples/vue-datastore/src/types.ts b/examples/vue-datastore/src/types.ts new file mode 100644 index 000000000..01194bea6 --- /dev/null +++ b/examples/vue-datastore/src/types.ts @@ -0,0 +1,39 @@ +import { Todo } from "./datastore/generated"; + +export type TodoProps = { + todo: Todo, +}; + +export type TodoListProps = { + todos: Array, +}; + +export type AddTodoProps = { + cancel: () => void, +}; + +export type EditTodoProps = { + todo: Todo, + toggleEdit: () => void, +}; + +export type ToggleTodoProps = { + todo: Todo, +}; + +export type HookState = { + data: any | null, + loading: boolean, + error: Error | null, +}; + +export enum ActionType { + REQ_START = 0, + REQ_SUCCESS = 1, + REQ_FAILED = 2, +}; + +export type ReducerAction = { + type: ActionType, + payload?: any, +} diff --git a/examples/vue-datastore/tsconfig.json b/examples/vue-datastore/tsconfig.json new file mode 100644 index 000000000..f2850b716 --- /dev/null +++ b/examples/vue-datastore/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react" + }, + "include": [ + "src" + ] +} diff --git a/packages/datastore/datastore/src/vue/ReducerUtils.ts b/packages/datastore/datastore/src/vue/ReducerUtils.ts new file mode 100644 index 000000000..d4394bb03 --- /dev/null +++ b/packages/datastore/datastore/src/vue/ReducerUtils.ts @@ -0,0 +1,38 @@ +export enum ActionType { + INITIATE_REQUEST, + REQUEST_COMPLETE, + UPDATE_RESULT, + DELTA_FORCED +} + +export interface Action { + type: ActionType; + data?: any; + error?: any; +} + +export interface ResultState { + loading: boolean; + data?: any; + error?: any; +} + +export const InitialState: ResultState = { loading: false }; + +export const reducer = (state: ResultState, action: Action) => { + switch (action.type) { + case ActionType.INITIATE_REQUEST: + return { ...state, loading: true, error: null }; + + case ActionType.REQUEST_COMPLETE: + return { ...state, loading: false, data: action.data, error: action.error }; + + case ActionType.UPDATE_RESULT: + // Don't update result when request is loading + if (state.loading) { return state; } + return { ...state, data: action.data }; + + default: + return state; + } +}; diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/datastore/src/vue/hooks/delete.ts new file mode 100644 index 000000000..0cebfdabd --- /dev/null +++ b/packages/datastore/datastore/src/vue/hooks/delete.ts @@ -0,0 +1,23 @@ +import { useReducer } from "react"; +import { Model } from "../../Model"; +import { reducer, InitialState, ActionType } from "../ReducerUtils"; +import { Filter } from "../../filters"; + +export const useRemove = (model: Model) => { + const [state, dispatch] = useReducer(reducer, InitialState); + + const remove = async (filter: Filter) => { + if (state.loading) { return; } + + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + const results = await model.remove(filter); + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + return results; + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; + + return { ...state, remove }; +}; diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts new file mode 100644 index 000000000..8b404bcad --- /dev/null +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -0,0 +1,129 @@ +import { useEffect, useReducer, useCallback, Dispatch } from "react"; +import { Model } from "../../Model"; +import { reducer, InitialState, ActionType, Action, ResultState } from "../ReducerUtils"; +import { CRUDEvents, StoreChangeEvent } from "../../storage"; +import { Filter } from "../../filters"; + +const onAdded = (currentData: any[], newData: any[]) => { + if (!currentData) { return newData; } + return [...currentData, ...newData]; +}; + +const onChanged = (currentData: any[], newData: any[], primaryKey: string) => { + if (!currentData) { return []; } + // What happens to data that get's updated and falls outside original query filter? + return currentData.map((d) => { + const index = newData.findIndex((newD) => newD[primaryKey] === d[primaryKey]); + if (index === -1) { return d; } + return newData[index]; + }); +}; + +const onIdSwapped = (currentData: any[], newData: any[], primaryKey: string) => { + if (!currentData) { return []; } + + return currentData.map((d) => { + const index = newData.findIndex((newD) => newD.previous[primaryKey] === d[primaryKey]); + if (index === -1) { return d; } + return newData[index].current; + }); +}; + +const onRemoved = (currentData: any[], removedData: any[], primaryKey: string) => { + if (!currentData) { return []; } + return currentData + .filter( + (d) => removedData.findIndex((newD) => newD[primaryKey] === d[primaryKey]) + ); +}; + +export const updateResult = (state: ResultState, event: StoreChangeEvent, primaryKey: string) => { + switch (event.eventType) { + case CRUDEvents.ADD: + return onAdded(state.data, event.data); + + case CRUDEvents.UPDATE: + return onChanged(state.data, event.data, primaryKey); + + case CRUDEvents.ID_SWAP: + return onIdSwapped(state.data, event.data, primaryKey); + + case CRUDEvents.DELETE: + return onRemoved(state.data, event.data, primaryKey); + + default: + throw new Error(`Invalid event ${event.eventType} received`); + } +}; + +const createSubscribeToUpdates = (state: ResultState, model: Model, dispatch: Dispatch) => { + return (eventsToWatch?: CRUDEvents[], customEventHandler?: (state: ResultState, data: any) => any) => { + const subscription = model.subscribe((event) => { + let newData; + + if (customEventHandler) { + newData = customEventHandler(state, event.data); + } + newData = updateResult(state, event, model.getSchema().getPrimaryKey()); + + if (!subscription.closed) { + // Important to check beacuse Componnent could be unmounted + dispatch({ type: ActionType.UPDATE_RESULT, data: newData }); + } + }, eventsToWatch); + return subscription; + }; +}; + +export const useQuery = (model: Model, selector?: Filter | string) => { + const [state, dispatch] = useReducer(reducer, InitialState); + const subscribeToUpdates = useCallback( + createSubscribeToUpdates(state, model, dispatch), [state, model, dispatch] + ); + + useEffect(() => { + (async () => { + if (state.loading) { return; } + + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + let results; + if ((typeof selector) === "string") { + results = await model.queryById(selector as string); + } else { + results = await model.query(selector); + } + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + })(); + }, [model, selector]); + return { ...state, subscribeToUpdates }; +}; + +export const useLazyQuery = (model: Model) => { + const [state, dispatch] = useReducer(reducer, InitialState); + const subscribeToUpdates = useCallback( + createSubscribeToUpdates(state, model, dispatch), [state, model, dispatch] + ); + + const query = async (selector?: Filter | string) => { + if (state.loading) { return; } + + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + let results; + if ((typeof selector) === "string") { + results = await model.queryById(selector as string); + } else { + results = await model.query(selector); + } + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; + + return { ...state, query, subscribeToUpdates }; +}; diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/datastore/src/vue/hooks/save.ts new file mode 100644 index 000000000..ffa668b60 --- /dev/null +++ b/packages/datastore/datastore/src/vue/hooks/save.ts @@ -0,0 +1,22 @@ +import { useReducer } from "react"; +import { Model } from "../../Model"; +import { reducer, InitialState, ActionType } from "../ReducerUtils"; + +export const useSave = (model: Model) => { + const [state, dispatch] = useReducer(reducer, InitialState); + + const save = async (input: any) => { + if (state.loading) { return; } + + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + const result = await model.save(input); + dispatch({ type: ActionType.REQUEST_COMPLETE, data: result }); + return result; + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; + + return { ...state, save }; +}; diff --git a/packages/datastore/datastore/src/vue/hooks/subscription.ts b/packages/datastore/datastore/src/vue/hooks/subscription.ts new file mode 100644 index 000000000..29cb17118 --- /dev/null +++ b/packages/datastore/datastore/src/vue/hooks/subscription.ts @@ -0,0 +1,17 @@ +import { useEffect, useReducer } from "react"; +import { Model } from "../../Model"; +import { CRUDEvents } from "../.."; +import { InitialState, reducer, ActionType } from "../ReducerUtils"; + +export const useSubscription = (model: Model, eventTypes: CRUDEvents[]) => { + const [state, dispatch] = useReducer(reducer, InitialState); + + useEffect(() => { + const subscription = model.subscribe((event) => { + dispatch({ type: ActionType.REQUEST_COMPLETE, data: event.data }); + }, eventTypes); + return () => subscription.unsubscribe(); + }, [model, eventTypes]); + + return state; +}; diff --git a/packages/datastore/datastore/src/vue/hooks/update.ts b/packages/datastore/datastore/src/vue/hooks/update.ts new file mode 100644 index 000000000..422127ee6 --- /dev/null +++ b/packages/datastore/datastore/src/vue/hooks/update.ts @@ -0,0 +1,24 @@ +import { useReducer } from "react"; +import { Model } from "../../Model"; +import { reducer, InitialState, ActionType } from "../ReducerUtils"; + +export const useUpdate = (model: Model) => { + const [state, dispatch] = useReducer(reducer, InitialState); + + const update = async (input: any, upsert: boolean = false) => { + if (state.loading) { return; } + if (state.data) { return; } + + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + const results = await (upsert ? + model.saveOrUpdate(input): model.updateById(input)); + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + return results; + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; + + return { ...state, update }; +}; diff --git a/packages/datastore/datastore/src/vue/index.ts b/packages/datastore/datastore/src/vue/index.ts new file mode 100644 index 000000000..e69de29bb From a19830a2dd20f0004ba24027c7566b637c8b7b8d Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Sun, 28 Feb 2021 15:14:00 +0300 Subject: [PATCH 02/17] feat: save, update, remove hook. Not tested todo: query hook --- examples/react-datastore/src/App.tsx | 95 ++++--- .../src/components/forms/AddTodo.tsx | 39 +-- .../src/components/forms/EditTodo.tsx | 30 +-- package.json | 3 +- .../datastore/src/react/ReducerUtils.ts | 50 ++-- .../datastore/src/react/hooks/delete.ts | 33 +-- .../datastore/src/react/hooks/query.ts | 243 ++++++++++-------- .../datastore/src/react/hooks/save.ts | 31 ++- .../datastore/src/react/hooks/subscription.ts | 5 +- .../datastore/src/react/hooks/update.ts | 38 +-- .../datastore/src/utils/ActionsTypes.ts | 6 + .../datastore/src/vue/ReducerUtils.ts | 38 --- .../datastore/datastore/src/vue/StateUtils.ts | 53 ++++ .../datastore/src/vue/hooks/delete.ts | 43 ++-- .../datastore/datastore/src/vue/hooks/save.ts | 41 +-- .../datastore/src/vue/hooks/subscription.ts | 43 +++- .../datastore/src/vue/hooks/update.ts | 45 ++-- packages/datastore/datastore/src/vue/index.ts | 4 + 18 files changed, 483 insertions(+), 357 deletions(-) create mode 100644 packages/datastore/datastore/src/utils/ActionsTypes.ts delete mode 100644 packages/datastore/datastore/src/vue/ReducerUtils.ts create mode 100644 packages/datastore/datastore/src/vue/StateUtils.ts diff --git a/examples/react-datastore/src/App.tsx b/examples/react-datastore/src/App.tsx index 1d231e21c..c0b7bff0a 100644 --- a/examples/react-datastore/src/App.tsx +++ b/examples/react-datastore/src/App.tsx @@ -1,17 +1,15 @@ -import React, { useState, useEffect } from 'react'; -import { Button } from 'antd'; -import 'antd/dist/antd.css'; - -import { useFindTodos } from './datastore/hooks'; -import { TodoList, AddTodo, Loading, Error, Header } from './components'; -import { datastore } from './datastore/config'; -import { NetworkStatusEvent } from 'offix-datastore/types/replication/network/NetworkStatus'; +import { Button } from "antd"; +import "antd/dist/antd.css"; +import { NetworkStatusEvent } from "offix-datastore/types/replication/network/NetworkStatus"; +import React, { useEffect, useState } from "react"; +import { AddTodo, Error, Header, Loading, TodoList } from "./components"; +import { datastore } from "./datastore/config"; +import { useFindTodos } from "./datastore/hooks"; function App() { - const [replicating, setReplicating] = useState(true); const [addView, setAddView] = useState(false); - const { loading, error, data, subscribeToUpdates } = useFindTodos(); + const { loading, error, data, subscribeToUpdates } = useFindTodos(); useEffect(() => { datastore.getNetworkIndicator()?.subscribe({ @@ -23,9 +21,9 @@ function App() { datastore.stopReplication(); setReplicating(false); } - } - }) - }) + }, + }); + }); useEffect(() => { // We can start replication on a per model basis @@ -33,9 +31,17 @@ function App() { // datastore.startReplication // the `startReplication` method accepts an // optional filter - datastore.startReplication() - }); + if (replicating) { + datastore.startReplication(); + } + }, [replicating]); + const toggleReplication = () => { + if (replicating) { + datastore.stopReplication(); + } + setReplicating(!replicating); + }; useEffect(() => { const subscription = subscribeToUpdates(); return () => subscription.unsubscribe(); @@ -47,51 +53,38 @@ function App() { return (
-
+
setAddView(false) - } + title={!addView ? "Offix Todo" : "Add Todo"} + onBack={!addView ? null : () => setAddView(false)} extra={ addView ? null : ( <> - ) } > - { - !addView && ( - <> - - - ) - } - { - addView && ( - <> - setAddView(false)} /> - - ) - } + {!addView && ( + <> + + + )} + {addView && ( + <> + setAddView(false)} /> + + )}
@@ -99,12 +92,12 @@ function App() { } const containerStyle = { - display: 'flex', - alignItems: 'start', - justifyContent: 'center', - minHeight: '100vh', - width: '100vw', - padding: '2em 0' -} + display: "flex", + alignItems: "start", + justifyContent: "center", + minHeight: "100vh", + width: "100vw", + padding: "2em 0", +}; export default App; diff --git a/examples/react-datastore/src/components/forms/AddTodo.tsx b/examples/react-datastore/src/components/forms/AddTodo.tsx index 941d2879c..65f16cc4c 100644 --- a/examples/react-datastore/src/components/forms/AddTodo.tsx +++ b/examples/react-datastore/src/components/forms/AddTodo.tsx @@ -1,20 +1,13 @@ -import React from 'react'; -import { Button } from 'antd'; -import { - AutoForm, - TextField, - LongTextField, - SubmitField -} from 'uniforms-antd'; - -import { AddTodoProps } from '../../types'; -import { schema } from './formSchema'; -import { useAddTodo } from '../../datastore/hooks'; -import { Todo } from '../../datastore/generated'; +import { Button } from "antd"; +import React from "react"; +import { AutoForm, LongTextField, SubmitField, TextField } from "uniforms-antd"; +import { Todo } from "../../datastore/generated"; +import { useAddTodo } from "../../datastore/hooks"; +import { AddTodoProps } from "../../types"; +import { schema } from "./formSchema"; export const AddTodo = ({ cancel }: AddTodoProps) => { - - const { save: addTodo } = useAddTodo(); + const { save: addTodo, data, loading, error } = useAddTodo(); const handleSubmit = ({ title, description }: Todo) => { addTodo({ @@ -22,16 +15,24 @@ export const AddTodo = ({ cancel }: AddTodoProps) => { description, completed: false, }) - .then(() => cancel()) - .catch((error: any) => console.log(error)); + .then(() => { + console.log({ data, loading, error }); + + cancel(); + }) + .catch((error: any) => console.log(error)); }; return ( - + - + ); }; diff --git a/examples/react-datastore/src/components/forms/EditTodo.tsx b/examples/react-datastore/src/components/forms/EditTodo.tsx index 67e654513..a5efb0749 100644 --- a/examples/react-datastore/src/components/forms/EditTodo.tsx +++ b/examples/react-datastore/src/components/forms/EditTodo.tsx @@ -1,14 +1,12 @@ -import React from 'react'; -import { Button } from 'antd'; -import { AutoForm, TextField, LongTextField, SubmitField } from 'uniforms-antd'; - -import { schema } from './formSchema'; -import { EditTodoProps } from '../../types'; -import { useEditTodo } from '../../datastore/hooks'; -import { Todo } from '../../datastore/generated'; +import { Button } from "antd"; +import React from "react"; +import { AutoForm, LongTextField, SubmitField, TextField } from "uniforms-antd"; +import { Todo } from "../../datastore/generated"; +import { useEditTodo } from "../../datastore/hooks"; +import { EditTodoProps } from "../../types"; +import { schema } from "./formSchema"; export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { - const { update: editTodo } = useEditTodo(); const handleUpdate = (todo: Todo) => { @@ -18,10 +16,12 @@ export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { description: todo.description, _version: todo._version ?? 1, }) - .then(() => toggleEdit()) - .catch((error: any) => { - console.log(error); - }); + .then(() => { + toggleEdit(); + }) + .catch((error: any) => { + console.log(error); + }); }; return ( @@ -33,8 +33,8 @@ export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { > - - + + ); }; diff --git a/package.json b/package.json index 87b3a1b8e..4f03d5c24 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,8 @@ }, "dependencies": { "@types/mocha": "8.2.1", - "@types/node": "12.20.1" + "@types/node": "12.20.1", + "vue": "^3.0.6" }, "workspaces": [ "packages/*/*" diff --git a/packages/datastore/datastore/src/react/ReducerUtils.ts b/packages/datastore/datastore/src/react/ReducerUtils.ts index d4394bb03..4d5ce8153 100644 --- a/packages/datastore/datastore/src/react/ReducerUtils.ts +++ b/packages/datastore/datastore/src/react/ReducerUtils.ts @@ -1,38 +1,40 @@ -export enum ActionType { - INITIATE_REQUEST, - REQUEST_COMPLETE, - UPDATE_RESULT, - DELTA_FORCED -} +import { ActionType } from "../utils/ActionsTypes"; export interface Action { - type: ActionType; - data?: any; - error?: any; + type: ActionType; + data?: any; + error?: any; } export interface ResultState { - loading: boolean; - data?: any; - error?: any; + loading: boolean; + data?: any; + error?: any; } export const InitialState: ResultState = { loading: false }; export const reducer = (state: ResultState, action: Action) => { - switch (action.type) { - case ActionType.INITIATE_REQUEST: - return { ...state, loading: true, error: null }; + switch (action.type) { + case ActionType.INITIATE_REQUEST: + return { ...state, loading: true, error: null }; - case ActionType.REQUEST_COMPLETE: - return { ...state, loading: false, data: action.data, error: action.error }; + case ActionType.REQUEST_COMPLETE: + return { + ...state, + loading: false, + data: action.data, + error: action.error, + }; - case ActionType.UPDATE_RESULT: - // Don't update result when request is loading - if (state.loading) { return state; } - return { ...state, data: action.data }; + case ActionType.UPDATE_RESULT: + // Don't update result when request is loading + if (state.loading) { + return state; + } + return { ...state, data: action.data }; - default: - return state; - } + default: + return state; + } }; diff --git a/packages/datastore/datastore/src/react/hooks/delete.ts b/packages/datastore/datastore/src/react/hooks/delete.ts index 0cebfdabd..133dd3063 100644 --- a/packages/datastore/datastore/src/react/hooks/delete.ts +++ b/packages/datastore/datastore/src/react/hooks/delete.ts @@ -1,23 +1,26 @@ import { useReducer } from "react"; -import { Model } from "../../Model"; -import { reducer, InitialState, ActionType } from "../ReducerUtils"; import { Filter } from "../../filters"; +import { Model } from "../../Model"; +import { ActionType } from "../../utils/ActionsTypes"; +import { InitialState, reducer } from "../ReducerUtils"; export const useRemove = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); + const [state, dispatch] = useReducer(reducer, InitialState); - const remove = async (filter: Filter) => { - if (state.loading) { return; } + const remove = async (filter: Filter) => { + if (state.loading) { + return; + } - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - const results = await model.remove(filter); - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - return results; - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + const results = await model.remove(filter); + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + return results; + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; - return { ...state, remove }; + return { ...state, remove }; }; diff --git a/packages/datastore/datastore/src/react/hooks/query.ts b/packages/datastore/datastore/src/react/hooks/query.ts index 8b404bcad..1069471b0 100644 --- a/packages/datastore/datastore/src/react/hooks/query.ts +++ b/packages/datastore/datastore/src/react/hooks/query.ts @@ -1,129 +1,170 @@ -import { useEffect, useReducer, useCallback, Dispatch } from "react"; +import { Dispatch, useCallback, useEffect, useReducer } from "react"; +import { Filter } from "../../filters"; import { Model } from "../../Model"; -import { reducer, InitialState, ActionType, Action, ResultState } from "../ReducerUtils"; import { CRUDEvents, StoreChangeEvent } from "../../storage"; -import { Filter } from "../../filters"; +import { ActionType } from "../../utils/ActionsTypes"; +import { Action, InitialState, reducer, ResultState } from "../ReducerUtils"; const onAdded = (currentData: any[], newData: any[]) => { - if (!currentData) { return newData; } - return [...currentData, ...newData]; + if (!currentData) { + return newData; + } + return [...currentData, ...newData]; }; const onChanged = (currentData: any[], newData: any[], primaryKey: string) => { - if (!currentData) { return []; } - // What happens to data that get's updated and falls outside original query filter? - return currentData.map((d) => { - const index = newData.findIndex((newD) => newD[primaryKey] === d[primaryKey]); - if (index === -1) { return d; } - return newData[index]; - }); + if (!currentData) { + return []; + } + // What happens to data that get's updated and falls outside original query filter? + return currentData.map((d) => { + const index = newData.findIndex( + (newD) => newD[primaryKey] === d[primaryKey] + ); + if (index === -1) { + return d; + } + return newData[index]; + }); }; -const onIdSwapped = (currentData: any[], newData: any[], primaryKey: string) => { - if (!currentData) { return []; } - - return currentData.map((d) => { - const index = newData.findIndex((newD) => newD.previous[primaryKey] === d[primaryKey]); - if (index === -1) { return d; } - return newData[index].current; - }); +const onIdSwapped = ( + currentData: any[], + newData: any[], + primaryKey: string +) => { + if (!currentData) { + return []; + } + + return currentData.map((d) => { + const index = newData.findIndex( + (newD) => newD.previous[primaryKey] === d[primaryKey] + ); + if (index === -1) { + return d; + } + return newData[index].current; + }); }; -const onRemoved = (currentData: any[], removedData: any[], primaryKey: string) => { - if (!currentData) { return []; } - return currentData - .filter( - (d) => removedData.findIndex((newD) => newD[primaryKey] === d[primaryKey]) - ); +const onRemoved = ( + currentData: any[], + removedData: any[], + primaryKey: string +) => { + if (!currentData) { + return []; + } + return currentData.filter((d) => + removedData.findIndex((newD) => newD[primaryKey] === d[primaryKey]) + ); }; -export const updateResult = (state: ResultState, event: StoreChangeEvent, primaryKey: string) => { - switch (event.eventType) { - case CRUDEvents.ADD: - return onAdded(state.data, event.data); +export const updateResult = ( + state: ResultState, + event: StoreChangeEvent, + primaryKey: string +) => { + switch (event.eventType) { + case CRUDEvents.ADD: + return onAdded(state.data, event.data); - case CRUDEvents.UPDATE: - return onChanged(state.data, event.data, primaryKey); + case CRUDEvents.UPDATE: + return onChanged(state.data, event.data, primaryKey); - case CRUDEvents.ID_SWAP: - return onIdSwapped(state.data, event.data, primaryKey); + case CRUDEvents.ID_SWAP: + return onIdSwapped(state.data, event.data, primaryKey); - case CRUDEvents.DELETE: - return onRemoved(state.data, event.data, primaryKey); + case CRUDEvents.DELETE: + return onRemoved(state.data, event.data, primaryKey); - default: - throw new Error(`Invalid event ${event.eventType} received`); - } + default: + throw new Error(`Invalid event ${event.eventType} received`); + } }; -const createSubscribeToUpdates = (state: ResultState, model: Model, dispatch: Dispatch) => { - return (eventsToWatch?: CRUDEvents[], customEventHandler?: (state: ResultState, data: any) => any) => { - const subscription = model.subscribe((event) => { - let newData; - - if (customEventHandler) { - newData = customEventHandler(state, event.data); - } - newData = updateResult(state, event, model.getSchema().getPrimaryKey()); - - if (!subscription.closed) { - // Important to check beacuse Componnent could be unmounted - dispatch({ type: ActionType.UPDATE_RESULT, data: newData }); - } - }, eventsToWatch); - return subscription; - }; +const createSubscribeToUpdates = ( + state: ResultState, + model: Model, + dispatch: Dispatch +) => { + return ( + eventsToWatch?: CRUDEvents[], + customEventHandler?: (state: ResultState, data: any) => any + ) => { + const subscription = model.subscribe((event) => { + let newData; + + if (customEventHandler) { + newData = customEventHandler(state, event.data); + } + newData = updateResult(state, event, model.getSchema().getPrimaryKey()); + + if (!subscription.closed) { + // Important to check beacuse Componnent could be unmounted + dispatch({ type: ActionType.UPDATE_RESULT, data: newData }); + } + }, eventsToWatch); + return subscription; + }; }; export const useQuery = (model: Model, selector?: Filter | string) => { - const [state, dispatch] = useReducer(reducer, InitialState); - const subscribeToUpdates = useCallback( - createSubscribeToUpdates(state, model, dispatch), [state, model, dispatch] - ); - - useEffect(() => { - (async () => { - if (state.loading) { return; } - - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - let results; - if ((typeof selector) === "string") { - results = await model.queryById(selector as string); - } else { - results = await model.query(selector); - } - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - })(); - }, [model, selector]); - return { ...state, subscribeToUpdates }; + const [state, dispatch] = useReducer(reducer, InitialState); + const subscribeToUpdates = useCallback( + createSubscribeToUpdates(state, model, dispatch), + [state, model, dispatch] + ); + + useEffect(() => { + (async () => { + if (state.loading) { + return; + } + + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + let results; + if (typeof selector === "string") { + results = await model.queryById(selector as string); + } else { + results = await model.query(selector); + } + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + })(); + }, [model, selector]); + return { ...state, subscribeToUpdates }; }; export const useLazyQuery = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); - const subscribeToUpdates = useCallback( - createSubscribeToUpdates(state, model, dispatch), [state, model, dispatch] - ); + const [state, dispatch] = useReducer(reducer, InitialState); + const subscribeToUpdates = useCallback( + createSubscribeToUpdates(state, model, dispatch), + [state, model, dispatch] + ); + + const query = async (selector?: Filter | string) => { + if (state.loading) { + return; + } - const query = async (selector?: Filter | string) => { - if (state.loading) { return; } - - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - let results; - if ((typeof selector) === "string") { - results = await model.queryById(selector as string); - } else { - results = await model.query(selector); - } - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + let results; + if (typeof selector === "string") { + results = await model.queryById(selector as string); + } else { + results = await model.query(selector); + } + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; - return { ...state, query, subscribeToUpdates }; + return { ...state, query, subscribeToUpdates }; }; diff --git a/packages/datastore/datastore/src/react/hooks/save.ts b/packages/datastore/datastore/src/react/hooks/save.ts index ffa668b60..9753281a2 100644 --- a/packages/datastore/datastore/src/react/hooks/save.ts +++ b/packages/datastore/datastore/src/react/hooks/save.ts @@ -1,22 +1,25 @@ import { useReducer } from "react"; import { Model } from "../../Model"; -import { reducer, InitialState, ActionType } from "../ReducerUtils"; +import { ActionType } from "../../utils/ActionsTypes"; +import { InitialState, reducer } from "../ReducerUtils"; export const useSave = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); + const [state, dispatch] = useReducer(reducer, InitialState); - const save = async (input: any) => { - if (state.loading) { return; } + const save = async (input: any) => { + if (state.loading) { + return; + } - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - const result = await model.save(input); - dispatch({ type: ActionType.REQUEST_COMPLETE, data: result }); - return result; - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + const result = await model.save(input); + dispatch({ type: ActionType.REQUEST_COMPLETE, data: result }); + return result; + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; - return { ...state, save }; + return { ...state, save }; }; diff --git a/packages/datastore/datastore/src/react/hooks/subscription.ts b/packages/datastore/datastore/src/react/hooks/subscription.ts index 29cb17118..49d17c67e 100644 --- a/packages/datastore/datastore/src/react/hooks/subscription.ts +++ b/packages/datastore/datastore/src/react/hooks/subscription.ts @@ -1,7 +1,8 @@ import { useEffect, useReducer } from "react"; -import { Model } from "../../Model"; import { CRUDEvents } from "../.."; -import { InitialState, reducer, ActionType } from "../ReducerUtils"; +import { Model } from "../../Model"; +import { ActionType } from "../../utils/ActionsTypes"; +import { InitialState, reducer } from "../ReducerUtils"; export const useSubscription = (model: Model, eventTypes: CRUDEvents[]) => { const [state, dispatch] = useReducer(reducer, InitialState); diff --git a/packages/datastore/datastore/src/react/hooks/update.ts b/packages/datastore/datastore/src/react/hooks/update.ts index 422127ee6..c353a894e 100644 --- a/packages/datastore/datastore/src/react/hooks/update.ts +++ b/packages/datastore/datastore/src/react/hooks/update.ts @@ -1,24 +1,30 @@ import { useReducer } from "react"; import { Model } from "../../Model"; -import { reducer, InitialState, ActionType } from "../ReducerUtils"; +import { ActionType } from "../../utils/ActionsTypes"; +import { InitialState, reducer } from "../ReducerUtils"; export const useUpdate = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); + const [state, dispatch] = useReducer(reducer, InitialState); - const update = async (input: any, upsert: boolean = false) => { - if (state.loading) { return; } - if (state.data) { return; } + const update = async (input: any, upsert: boolean = false) => { + if (state.loading) { + return; + } + if (state.data) { + return; + } - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - const results = await (upsert ? - model.saveOrUpdate(input): model.updateById(input)); - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - return results; - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + dispatch({ type: ActionType.INITIATE_REQUEST }); + try { + const results = await (upsert + ? model.saveOrUpdate(input) + : model.updateById(input)); + dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); + return results; + } catch (error) { + dispatch({ type: ActionType.REQUEST_COMPLETE, error }); + } + }; - return { ...state, update }; + return { ...state, update }; }; diff --git a/packages/datastore/datastore/src/utils/ActionsTypes.ts b/packages/datastore/datastore/src/utils/ActionsTypes.ts new file mode 100644 index 000000000..f46c965d8 --- /dev/null +++ b/packages/datastore/datastore/src/utils/ActionsTypes.ts @@ -0,0 +1,6 @@ +export enum ActionType { + INITIATE_REQUEST, + REQUEST_COMPLETE, + UPDATE_RESULT, + DELTA_FORCED, +} diff --git a/packages/datastore/datastore/src/vue/ReducerUtils.ts b/packages/datastore/datastore/src/vue/ReducerUtils.ts deleted file mode 100644 index d4394bb03..000000000 --- a/packages/datastore/datastore/src/vue/ReducerUtils.ts +++ /dev/null @@ -1,38 +0,0 @@ -export enum ActionType { - INITIATE_REQUEST, - REQUEST_COMPLETE, - UPDATE_RESULT, - DELTA_FORCED -} - -export interface Action { - type: ActionType; - data?: any; - error?: any; -} - -export interface ResultState { - loading: boolean; - data?: any; - error?: any; -} - -export const InitialState: ResultState = { loading: false }; - -export const reducer = (state: ResultState, action: Action) => { - switch (action.type) { - case ActionType.INITIATE_REQUEST: - return { ...state, loading: true, error: null }; - - case ActionType.REQUEST_COMPLETE: - return { ...state, loading: false, data: action.data, error: action.error }; - - case ActionType.UPDATE_RESULT: - // Don't update result when request is loading - if (state.loading) { return state; } - return { ...state, data: action.data }; - - default: - return state; - } -}; diff --git a/packages/datastore/datastore/src/vue/StateUtils.ts b/packages/datastore/datastore/src/vue/StateUtils.ts new file mode 100644 index 000000000..601aa1f1d --- /dev/null +++ b/packages/datastore/datastore/src/vue/StateUtils.ts @@ -0,0 +1,53 @@ +import { Maybe } from "graphql/jsutils/Maybe"; +import { reactive, UnwrapRef } from "vue"; +import { ActionType } from "../utils/ActionsTypes"; + +export interface Action { + type: ActionType; + data?: Maybe; + error?: Maybe; +} + +export interface ResultState { + loading: boolean; + data?: Maybe; + error?: Maybe; +} +export interface ReactiveState { + loading: boolean; + data?: Maybe>; + error?: Maybe; +} +export const initialState = () => + reactive>({ loading: false }); + +export const changeState = ({ + action, + state, +}: { + state: ReactiveState; + action: Action; +}) => { + switch (action.type) { + case ActionType.INITIATE_REQUEST: + return { state, loading: true, error: null }; + + case ActionType.REQUEST_COMPLETE: + return { + state, + loading: false, + data: action.data, + error: action.error, + }; + + case ActionType.UPDATE_RESULT: + // Don't update result when request is loading + if (state.loading) { + return state; + } + return { state, data: action.data }; + + default: + return state; + } +}; diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/datastore/src/vue/hooks/delete.ts index 0cebfdabd..cb5305933 100644 --- a/packages/datastore/datastore/src/vue/hooks/delete.ts +++ b/packages/datastore/datastore/src/vue/hooks/delete.ts @@ -1,23 +1,32 @@ -import { useReducer } from "react"; -import { Model } from "../../Model"; -import { reducer, InitialState, ActionType } from "../ReducerUtils"; import { Filter } from "../../filters"; +import { Model } from "../../Model"; +import { ActionType } from "../../utils/ActionsTypes"; +import { changeState, initialState } from "../StateUtils"; -export const useRemove = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); +export const useRemove = (model: Model) => { + const state = initialState(); - const remove = async (filter: Filter) => { - if (state.loading) { return; } + const remove = async (filter: Filter) => { + if (state.loading) return; - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - const results = await model.remove(filter); - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - return results; - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + changeState({ + state, + action: { type: ActionType.INITIATE_REQUEST }, + }); + try { + const results = await model.remove(filter); + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, data: results }, + }); + return results; + } catch (error) { + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, error }, + }); + } + }; - return { ...state, remove }; + return { state, remove }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/datastore/src/vue/hooks/save.ts index ffa668b60..98756cd0b 100644 --- a/packages/datastore/datastore/src/vue/hooks/save.ts +++ b/packages/datastore/datastore/src/vue/hooks/save.ts @@ -1,22 +1,31 @@ -import { useReducer } from "react"; import { Model } from "../../Model"; -import { reducer, InitialState, ActionType } from "../ReducerUtils"; +import { ActionType } from "../../utils/ActionsTypes"; +import { changeState, initialState } from "../StateUtils"; -export const useSave = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); +export const useSave = (model: Model) => { + const state = initialState(); - const save = async (input: any) => { - if (state.loading) { return; } + const save = async (input: TInput) => { + if (state.loading) return; - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - const result = await model.save(input); - dispatch({ type: ActionType.REQUEST_COMPLETE, data: result }); - return result; - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + changeState({ + state, + action: { type: ActionType.INITIATE_REQUEST }, + }); + try { + const results = await model.save(input); + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, data: results }, + }); + return results; + } catch (error) { + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, error }, + }); + } + }; - return { ...state, save }; + return { state, save }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/subscription.ts b/packages/datastore/datastore/src/vue/hooks/subscription.ts index 29cb17118..a5249dd25 100644 --- a/packages/datastore/datastore/src/vue/hooks/subscription.ts +++ b/packages/datastore/datastore/src/vue/hooks/subscription.ts @@ -1,17 +1,40 @@ -import { useEffect, useReducer } from "react"; -import { Model } from "../../Model"; +import { onMounted, onUnmounted, ref, Ref, watch } from "@vue/runtime-core"; +import { Maybe } from "graphql/jsutils/Maybe"; +import { Subscription } from "wonka"; import { CRUDEvents } from "../.."; -import { InitialState, reducer, ActionType } from "../ReducerUtils"; +import { Model } from "../../Model"; +import { ActionType } from "../../utils/ActionsTypes"; +import { changeState, initialState } from "../StateUtils"; -export const useSubscription = (model: Model, eventTypes: CRUDEvents[]) => { - const [state, dispatch] = useReducer(reducer, InitialState); +export const useSubscription = ( + model: Ref>, + eventTypes: CRUDEvents[] +) => { + const state = initialState(); + let subscription = ref>(); - useEffect(() => { - const subscription = model.subscribe((event) => { - dispatch({ type: ActionType.REQUEST_COMPLETE, data: event.data }); + const subscribe = () => { + subscription.value = model.value.subscribe((event) => { + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, data: event.data }, + }); }, eventTypes); - return () => subscription.unsubscribe(); - }, [model, eventTypes]); + }; + const unsubscribe = () => { + subscription.value?.unsubscribe(); + }; + + watch( + model, + () => { + unsubscribe(); + subscribe(); + }, + { deep: true, immediate: true } + ); + onMounted(subscribe); + onUnmounted(unsubscribe); return state; }; diff --git a/packages/datastore/datastore/src/vue/hooks/update.ts b/packages/datastore/datastore/src/vue/hooks/update.ts index 422127ee6..8fc919911 100644 --- a/packages/datastore/datastore/src/vue/hooks/update.ts +++ b/packages/datastore/datastore/src/vue/hooks/update.ts @@ -1,24 +1,33 @@ -import { useReducer } from "react"; import { Model } from "../../Model"; -import { reducer, InitialState, ActionType } from "../ReducerUtils"; +import { ActionType } from "../../utils/ActionsTypes"; +import { changeState, initialState } from "../StateUtils"; -export const useUpdate = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); +export const useUpdate = (model: Model) => { + const state = initialState(); - const update = async (input: any, upsert: boolean = false) => { - if (state.loading) { return; } - if (state.data) { return; } + const update = async (input: TInput, upsert: boolean = false) => { + if (state.loading) return; - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - const results = await (upsert ? - model.saveOrUpdate(input): model.updateById(input)); - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - return results; - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; + changeState({ + state, + action: { type: ActionType.INITIATE_REQUEST }, + }); + try { + const results = await (upsert + ? model.saveOrUpdate(input) + : model.updateById(input)); + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, data: results }, + }); + return results; + } catch (error) { + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, error }, + }); + } + }; - return { ...state, update }; + return { state, update }; }; diff --git a/packages/datastore/datastore/src/vue/index.ts b/packages/datastore/datastore/src/vue/index.ts index e69de29bb..4a1b06a75 100644 --- a/packages/datastore/datastore/src/vue/index.ts +++ b/packages/datastore/datastore/src/vue/index.ts @@ -0,0 +1,4 @@ +export * from "./hooks/delete"; +export * from "./hooks/query"; +export * from "./hooks/save"; +export * from "./hooks/update"; From ec3461cc62651b557a845847327f2f085e71b715 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Sun, 28 Feb 2021 15:21:02 +0300 Subject: [PATCH 03/17] fix: restore original react example --- examples/react-datastore/src/App.tsx | 95 ++++++++++--------- .../src/components/forms/AddTodo.tsx | 39 ++++---- .../src/components/forms/EditTodo.tsx | 30 +++--- package.json | 3 +- packages/datastore/datastore/package.json | 3 +- 5 files changed, 88 insertions(+), 82 deletions(-) diff --git a/examples/react-datastore/src/App.tsx b/examples/react-datastore/src/App.tsx index c0b7bff0a..1d231e21c 100644 --- a/examples/react-datastore/src/App.tsx +++ b/examples/react-datastore/src/App.tsx @@ -1,15 +1,17 @@ -import { Button } from "antd"; -import "antd/dist/antd.css"; -import { NetworkStatusEvent } from "offix-datastore/types/replication/network/NetworkStatus"; -import React, { useEffect, useState } from "react"; -import { AddTodo, Error, Header, Loading, TodoList } from "./components"; -import { datastore } from "./datastore/config"; -import { useFindTodos } from "./datastore/hooks"; +import React, { useState, useEffect } from 'react'; +import { Button } from 'antd'; +import 'antd/dist/antd.css'; + +import { useFindTodos } from './datastore/hooks'; +import { TodoList, AddTodo, Loading, Error, Header } from './components'; +import { datastore } from './datastore/config'; +import { NetworkStatusEvent } from 'offix-datastore/types/replication/network/NetworkStatus'; function App() { + const [replicating, setReplicating] = useState(true); const [addView, setAddView] = useState(false); - const { loading, error, data, subscribeToUpdates } = useFindTodos(); + const { loading, error, data, subscribeToUpdates } = useFindTodos(); useEffect(() => { datastore.getNetworkIndicator()?.subscribe({ @@ -21,9 +23,9 @@ function App() { datastore.stopReplication(); setReplicating(false); } - }, - }); - }); + } + }) + }) useEffect(() => { // We can start replication on a per model basis @@ -31,17 +33,9 @@ function App() { // datastore.startReplication // the `startReplication` method accepts an // optional filter - if (replicating) { - datastore.startReplication(); - } - }, [replicating]); + datastore.startReplication() + }); - const toggleReplication = () => { - if (replicating) { - datastore.stopReplication(); - } - setReplicating(!replicating); - }; useEffect(() => { const subscription = subscribeToUpdates(); return () => subscription.unsubscribe(); @@ -53,38 +47,51 @@ function App() { return (
-
+
setAddView(false)} + title={!addView ? 'Offix Todo' : 'Add Todo'} + onBack={ + !addView ? null : () => setAddView(false) + } extra={ addView ? null : ( <> - ) } > - {!addView && ( - <> - - - )} - {addView && ( - <> - setAddView(false)} /> - - )} + { + !addView && ( + <> + + + ) + } + { + addView && ( + <> + setAddView(false)} /> + + ) + }
@@ -92,12 +99,12 @@ function App() { } const containerStyle = { - display: "flex", - alignItems: "start", - justifyContent: "center", - minHeight: "100vh", - width: "100vw", - padding: "2em 0", -}; + display: 'flex', + alignItems: 'start', + justifyContent: 'center', + minHeight: '100vh', + width: '100vw', + padding: '2em 0' +} export default App; diff --git a/examples/react-datastore/src/components/forms/AddTodo.tsx b/examples/react-datastore/src/components/forms/AddTodo.tsx index 65f16cc4c..941d2879c 100644 --- a/examples/react-datastore/src/components/forms/AddTodo.tsx +++ b/examples/react-datastore/src/components/forms/AddTodo.tsx @@ -1,13 +1,20 @@ -import { Button } from "antd"; -import React from "react"; -import { AutoForm, LongTextField, SubmitField, TextField } from "uniforms-antd"; -import { Todo } from "../../datastore/generated"; -import { useAddTodo } from "../../datastore/hooks"; -import { AddTodoProps } from "../../types"; -import { schema } from "./formSchema"; +import React from 'react'; +import { Button } from 'antd'; +import { + AutoForm, + TextField, + LongTextField, + SubmitField +} from 'uniforms-antd'; + +import { AddTodoProps } from '../../types'; +import { schema } from './formSchema'; +import { useAddTodo } from '../../datastore/hooks'; +import { Todo } from '../../datastore/generated'; export const AddTodo = ({ cancel }: AddTodoProps) => { - const { save: addTodo, data, loading, error } = useAddTodo(); + + const { save: addTodo } = useAddTodo(); const handleSubmit = ({ title, description }: Todo) => { addTodo({ @@ -15,24 +22,16 @@ export const AddTodo = ({ cancel }: AddTodoProps) => { description, completed: false, }) - .then(() => { - console.log({ data, loading, error }); - - cancel(); - }) - .catch((error: any) => console.log(error)); + .then(() => cancel()) + .catch((error: any) => console.log(error)); }; return ( - + - + ); }; diff --git a/examples/react-datastore/src/components/forms/EditTodo.tsx b/examples/react-datastore/src/components/forms/EditTodo.tsx index a5efb0749..67e654513 100644 --- a/examples/react-datastore/src/components/forms/EditTodo.tsx +++ b/examples/react-datastore/src/components/forms/EditTodo.tsx @@ -1,12 +1,14 @@ -import { Button } from "antd"; -import React from "react"; -import { AutoForm, LongTextField, SubmitField, TextField } from "uniforms-antd"; -import { Todo } from "../../datastore/generated"; -import { useEditTodo } from "../../datastore/hooks"; -import { EditTodoProps } from "../../types"; -import { schema } from "./formSchema"; +import React from 'react'; +import { Button } from 'antd'; +import { AutoForm, TextField, LongTextField, SubmitField } from 'uniforms-antd'; + +import { schema } from './formSchema'; +import { EditTodoProps } from '../../types'; +import { useEditTodo } from '../../datastore/hooks'; +import { Todo } from '../../datastore/generated'; export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { + const { update: editTodo } = useEditTodo(); const handleUpdate = (todo: Todo) => { @@ -16,12 +18,10 @@ export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { description: todo.description, _version: todo._version ?? 1, }) - .then(() => { - toggleEdit(); - }) - .catch((error: any) => { - console.log(error); - }); + .then(() => toggleEdit()) + .catch((error: any) => { + console.log(error); + }); }; return ( @@ -33,8 +33,8 @@ export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { > - - + + ); }; diff --git a/package.json b/package.json index 4f03d5c24..87b3a1b8e 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,7 @@ }, "dependencies": { "@types/mocha": "8.2.1", - "@types/node": "12.20.1", - "vue": "^3.0.6" + "@types/node": "12.20.1" }, "workspaces": [ "packages/*/*" diff --git a/packages/datastore/datastore/package.json b/packages/datastore/datastore/package.json index 83e019070..d1a2f55c1 100644 --- a/packages/datastore/datastore/package.json +++ b/packages/datastore/datastore/package.json @@ -45,7 +45,8 @@ "size-limit": "4.9.2", "supports-color": "8.1.1", "ts-jest": "26.5.1", - "typescript": "4.1.5" + "typescript": "4.1.5", + "vue": "^3.0.6" }, "dependencies": { "graphql-tag": "2.11.0", From 2f01318ec9e02fa87cd0cfa7ec452d15f357352c Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Sun, 28 Feb 2021 17:01:49 +0300 Subject: [PATCH 04/17] feat: query. Not tested. todo: example on vue and test vue hooks --- .../datastore/datastore/src/vue/StateUtils.ts | 54 +-- .../datastore/src/vue/hooks/delete.ts | 3 +- .../datastore/src/vue/hooks/query.ts | 307 +++++++++++------- .../datastore/datastore/src/vue/hooks/save.ts | 3 +- .../datastore/src/vue/hooks/subscription.ts | 11 +- .../datastore/src/vue/hooks/update.ts | 3 +- 6 files changed, 242 insertions(+), 139 deletions(-) diff --git a/packages/datastore/datastore/src/vue/StateUtils.ts b/packages/datastore/datastore/src/vue/StateUtils.ts index 601aa1f1d..651e1f043 100644 --- a/packages/datastore/datastore/src/vue/StateUtils.ts +++ b/packages/datastore/datastore/src/vue/StateUtils.ts @@ -1,25 +1,28 @@ import { Maybe } from "graphql/jsutils/Maybe"; -import { reactive, UnwrapRef } from "vue"; +import { reactive } from "vue"; import { ActionType } from "../utils/ActionsTypes"; export interface Action { type: ActionType; - data?: Maybe; + data?: Maybe[] | TModel>; error?: Maybe; } -export interface ResultState { - loading: boolean; - data?: Maybe; - error?: Maybe; +export interface IdSwap { + previous: TModel; + current: TModel; } export interface ReactiveState { loading: boolean; - data?: Maybe>; - error?: Maybe; + data: Maybe[]; + error: Maybe; } -export const initialState = () => - reactive>({ loading: false }); +export const initialState = (): ReactiveState => + reactive>({ + loading: false, + data: [], + error: null, + }) as ReactiveState; export const changeState = ({ action, @@ -28,26 +31,27 @@ export const changeState = ({ state: ReactiveState; action: Action; }) => { + const data = (() => { + if (action.data == null) return []; + if (Array.isArray(action.data)) return action.data; + return [action.data]; + })(); switch (action.type) { case ActionType.INITIATE_REQUEST: - return { state, loading: true, error: null }; - + state.loading = true; + state.error = null; + break; case ActionType.REQUEST_COMPLETE: - return { - state, - loading: false, - data: action.data, - error: action.error, - }; - + state.loading = false; + state.data = data; + state.error = action.error; + break; case ActionType.UPDATE_RESULT: // Don't update result when request is loading - if (state.loading) { - return state; + if (!state.loading) { + state.data = data; } - return { state, data: action.data }; - - default: - return state; + break; } + return state; }; diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/datastore/src/vue/hooks/delete.ts index cb5305933..5eae3459a 100644 --- a/packages/datastore/datastore/src/vue/hooks/delete.ts +++ b/packages/datastore/datastore/src/vue/hooks/delete.ts @@ -1,3 +1,4 @@ +import { readonly } from "@vue/reactivity"; import { Filter } from "../../filters"; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; @@ -28,5 +29,5 @@ export const useRemove = (model: Model) => { } }; - return { state, remove }; + return { state: readonly(state), remove }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts index 8b404bcad..db7b989a8 100644 --- a/packages/datastore/datastore/src/vue/hooks/query.ts +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -1,129 +1,218 @@ -import { useEffect, useReducer, useCallback, Dispatch } from "react"; +import { readonly } from "@vue/reactivity"; +import { Maybe } from "graphql/jsutils/Maybe"; +import { Ref, watch } from "vue"; +import { Filter } from "../../filters"; import { Model } from "../../Model"; -import { reducer, InitialState, ActionType, Action, ResultState } from "../ReducerUtils"; import { CRUDEvents, StoreChangeEvent } from "../../storage"; -import { Filter } from "../../filters"; - -const onAdded = (currentData: any[], newData: any[]) => { - if (!currentData) { return newData; } - return [...currentData, ...newData]; +import { ActionType } from "../../utils/ActionsTypes"; +import { + changeState, + IdSwap, + initialState, + ReactiveState, +} from "../StateUtils"; + +const onAdded = (state: ReactiveState, newData: TModel[]) => { + const changedData = [...state.data, ...newData]; + return changedData; }; -const onChanged = (currentData: any[], newData: any[], primaryKey: string) => { - if (!currentData) { return []; } - // What happens to data that get's updated and falls outside original query filter? - return currentData.map((d) => { - const index = newData.findIndex((newD) => newD[primaryKey] === d[primaryKey]); - if (index === -1) { return d; } - return newData[index]; - }); +const onChanged = ( + state: ReactiveState, + newData: TModel[], + primaryKeyName: string +) => { + if (state.data.length == 0) return state.data; + + // What happens to data that get's updated and falls outside original query filter? + const changedData = state.data.map((d) => { + const dPrimaryKey = (d as Record)[primaryKeyName]; + const index = newData.findIndex( + (newD) => + (newD as Record)[primaryKeyName] === dPrimaryKey + ); + if (index === -1) { + return d; + } + return newData[index]; + }); + return changedData; }; -const onIdSwapped = (currentData: any[], newData: any[], primaryKey: string) => { - if (!currentData) { return []; } - - return currentData.map((d) => { - const index = newData.findIndex((newD) => newD.previous[primaryKey] === d[primaryKey]); - if (index === -1) { return d; } - return newData[index].current; - }); +const onIdSwapped = ( + state: ReactiveState, + newData: IdSwap[], + primaryKeyName: string +) => { + if (state.data.length == 0) return state.data; + + const changedData = state.data.map((d) => { + const dPrimaryKey = (d as Record)[primaryKeyName]; + const index = newData.findIndex( + (newD) => + (newD.previous as Record)[primaryKeyName] === + dPrimaryKey + ); + if (index === -1) { + return d; + } + return newData[index].current; + }); + return changedData; }; -const onRemoved = (currentData: any[], removedData: any[], primaryKey: string) => { - if (!currentData) { return []; } - return currentData - .filter( - (d) => removedData.findIndex((newD) => newD[primaryKey] === d[primaryKey]) - ); +const onRemoved = ( + state: ReactiveState, + removedData: TModel[], + primaryKeyName: string +) => { + if (state.data.length == 0) return state.data; + const changedData = state.data.filter((d) => { + const dPrimaryKey = (d as Record)[primaryKeyName]; + return removedData.findIndex( + (newD) => + (newD as Record)[primaryKeyName] === dPrimaryKey + ); + }); + return changedData; }; -export const updateResult = (state: ResultState, event: StoreChangeEvent, primaryKey: string) => { - switch (event.eventType) { - case CRUDEvents.ADD: - return onAdded(state.data, event.data); - - case CRUDEvents.UPDATE: - return onChanged(state.data, event.data, primaryKey); - - case CRUDEvents.ID_SWAP: - return onIdSwapped(state.data, event.data, primaryKey); +export const updateResult = ( + state: ReactiveState, + event: StoreChangeEvent, + primaryKeyName: string +) => { + const data = event.data; + switch (event.eventType) { + case CRUDEvents.ADD: + return onAdded(state, data); + case CRUDEvents.UPDATE: + return onChanged(state, data, primaryKeyName); + case CRUDEvents.ID_SWAP: + return onIdSwapped(state, data, primaryKeyName); + case CRUDEvents.DELETE: + return onRemoved(state, data, primaryKeyName); + default: + throw new Error(`Invalid event ${event.eventType} received`); + } +}; - case CRUDEvents.DELETE: - return onRemoved(state.data, event.data, primaryKey); +const createSubscribeToUpdates = ( + state: ReactiveState, + model: Model +) => { + return ( + eventsToWatch?: CRUDEvents[], + customEventHandler?: ( + state: ReactiveState, + // FIXME: investigate type + data: Maybe[]> + ) => Maybe[]> + ) => { + const subscription = model.subscribe((event) => { + let newData; + + if (customEventHandler) { + newData = customEventHandler(state, event.data); + } + const primaryKeyName = model.getSchema().getPrimaryKey(); + newData = updateResult(state, event, primaryKeyName); + + if (!subscription.closed) { + // Important to check beacuse Componnent could be unmounted + changeState({ + state, + action: { type: ActionType.UPDATE_RESULT, data: newData }, + }); + } + }, eventsToWatch); + return subscription; + }; +}; - default: - throw new Error(`Invalid event ${event.eventType} received`); +interface QueryResults extends UseQuery { + state: ReactiveState; +} +const queryResults = async ({ + state, + selector, + model, +}: QueryResults) => { + if (state.loading) { + return; + } + + changeState({ state, action: { type: ActionType.INITIATE_REQUEST } }); + try { + let results; + const selectorValue = selector.value; + if (typeof selectorValue === "string") { + results = await model.value.queryById(selectorValue); + } else { + results = await model.value.query(selectorValue); } + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, data: results }, + }); + } catch (error) { + changeState({ + state, + action: { type: ActionType.REQUEST_COMPLETE, error }, + }); + } }; -const createSubscribeToUpdates = (state: ResultState, model: Model, dispatch: Dispatch) => { - return (eventsToWatch?: CRUDEvents[], customEventHandler?: (state: ResultState, data: any) => any) => { - const subscription = model.subscribe((event) => { - let newData; - - if (customEventHandler) { - newData = customEventHandler(state, event.data); - } - newData = updateResult(state, event, model.getSchema().getPrimaryKey()); - - if (!subscription.closed) { - // Important to check beacuse Componnent could be unmounted - dispatch({ type: ActionType.UPDATE_RESULT, data: newData }); - } - }, eventsToWatch); - return subscription; - }; +interface UseQuery { + model: Ref>; + selector: Ref | string | undefined>; +} +const subscribeQueryToUpdates = ({ + state, + model, +}: { + state: ReactiveState; + model: Ref>; +}) => () => { + watch( + model, + () => { + createSubscribeToUpdates(state, model.value); + }, + { deep: true, immediate: true } + ); }; -export const useQuery = (model: Model, selector?: Filter | string) => { - const [state, dispatch] = useReducer(reducer, InitialState); - const subscribeToUpdates = useCallback( - createSubscribeToUpdates(state, model, dispatch), [state, model, dispatch] - ); - - useEffect(() => { - (async () => { - if (state.loading) { return; } - - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - let results; - if ((typeof selector) === "string") { - results = await model.queryById(selector as string); - } else { - results = await model.query(selector); - } - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - })(); - }, [model, selector]); - return { ...state, subscribeToUpdates }; +export const useQuery = ({ model, selector }: UseQuery) => { + const state = initialState(); + const subscribeToUpdates = subscribeQueryToUpdates({ model, state }); + const runQuery = () => + queryResults({ + model, + state, + selector, + }); + watch(selector, runQuery, { deep: true, immediate: true }); + watch(model, runQuery, { deep: true, immediate: true }); + return { state: readonly(state), subscribeToUpdates }; }; -export const useLazyQuery = (model: Model) => { - const [state, dispatch] = useReducer(reducer, InitialState); - const subscribeToUpdates = useCallback( - createSubscribeToUpdates(state, model, dispatch), [state, model, dispatch] - ); - - const query = async (selector?: Filter | string) => { - if (state.loading) { return; } - - dispatch({ type: ActionType.INITIATE_REQUEST }); - try { - let results; - if ((typeof selector) === "string") { - results = await model.queryById(selector as string); - } else { - results = await model.query(selector); - } - dispatch({ type: ActionType.REQUEST_COMPLETE, data: results }); - } catch (error) { - dispatch({ type: ActionType.REQUEST_COMPLETE, error }); - } - }; - - return { ...state, query, subscribeToUpdates }; +export const useLazyQuery = ({ + model, +}: { + model: Ref>; +}) => { + const state = initialState(); + const subscribeToUpdates = subscribeQueryToUpdates({ model, state }); + const query = async ({ + selector, + }: { + selector: Ref | string | undefined>; + }) => + await queryResults({ + model, + selector, + state, + }); + return { state: readonly(state), query, subscribeToUpdates }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/datastore/src/vue/hooks/save.ts index 98756cd0b..7bab1e739 100644 --- a/packages/datastore/datastore/src/vue/hooks/save.ts +++ b/packages/datastore/datastore/src/vue/hooks/save.ts @@ -1,3 +1,4 @@ +import { readonly } from "vue"; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; import { changeState, initialState } from "../StateUtils"; @@ -27,5 +28,5 @@ export const useSave = (model: Model) => { } }; - return { state, save }; + return { state: readonly(state), save }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/subscription.ts b/packages/datastore/datastore/src/vue/hooks/subscription.ts index a5249dd25..40fd13cd2 100644 --- a/packages/datastore/datastore/src/vue/hooks/subscription.ts +++ b/packages/datastore/datastore/src/vue/hooks/subscription.ts @@ -1,4 +1,11 @@ -import { onMounted, onUnmounted, ref, Ref, watch } from "@vue/runtime-core"; +import { + onMounted, + onUnmounted, + readonly, + ref, + Ref, + watch, +} from "@vue/runtime-core"; import { Maybe } from "graphql/jsutils/Maybe"; import { Subscription } from "wonka"; import { CRUDEvents } from "../.."; @@ -36,5 +43,5 @@ export const useSubscription = ( onMounted(subscribe); onUnmounted(unsubscribe); - return state; + return { state: readonly(state) }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/update.ts b/packages/datastore/datastore/src/vue/hooks/update.ts index 8fc919911..4cc16a2b4 100644 --- a/packages/datastore/datastore/src/vue/hooks/update.ts +++ b/packages/datastore/datastore/src/vue/hooks/update.ts @@ -1,3 +1,4 @@ +import { readonly } from "vue"; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; import { changeState, initialState } from "../StateUtils"; @@ -29,5 +30,5 @@ export const useUpdate = (model: Model) => { } }; - return { state, update }; + return { state: readonly(state), update }; }; From cf0f5962cd58ef1832a28abc77f2d7ca3204f2a8 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Sun, 28 Feb 2021 18:17:13 +0300 Subject: [PATCH 05/17] wip: vue example --- examples/vue-datastore/.eslintrc.js | 20 ++ examples/vue-datastore/.gitignore | 2 + examples/vue-datastore/README.md | 37 +++- examples/vue-datastore/babel.config.js | 9 + examples/vue-datastore/package.json | 78 ++++---- examples/vue-datastore/public/favicon.ico | Bin 3150 -> 4286 bytes .../img/icons/android-chrome-192x192.png | Bin 0 -> 9416 bytes .../img/icons/android-chrome-512x512.png | Bin 0 -> 29808 bytes .../icons/android-chrome-maskable-192x192.png | Bin 0 -> 6401 bytes .../icons/android-chrome-maskable-512x512.png | Bin 0 -> 23038 bytes .../img/icons/apple-touch-icon-120x120.png | Bin 0 -> 3369 bytes .../img/icons/apple-touch-icon-152x152.png | Bin 0 -> 4046 bytes .../img/icons/apple-touch-icon-180x180.png | Bin 0 -> 4678 bytes .../img/icons/apple-touch-icon-60x60.png | Bin 0 -> 1491 bytes .../img/icons/apple-touch-icon-76x76.png | Bin 0 -> 1823 bytes .../public/img/icons/apple-touch-icon.png | Bin 0 -> 4678 bytes .../public/img/icons/favicon-16x16.png | Bin 0 -> 799 bytes .../public/img/icons/favicon-32x32.png | Bin 0 -> 1271 bytes .../img/icons/msapplication-icon-144x144.png | Bin 0 -> 1169 bytes .../public/img/icons/mstile-150x150.png | Bin 0 -> 4282 bytes .../public/img/icons/safari-pinned-tab.svg | 3 + examples/vue-datastore/public/index.html | 48 ++--- examples/vue-datastore/public/logo192.png | Bin 5347 -> 0 bytes examples/vue-datastore/public/logo512.png | Bin 9664 -> 0 bytes examples/vue-datastore/public/manifest.json | 25 --- examples/vue-datastore/public/robots.txt | 1 - examples/vue-datastore/reactPackage.json | 59 ++++++ examples/vue-datastore/src/App.tsx | 185 ++++++++---------- examples/vue-datastore/src/App.vue | 27 +++ examples/vue-datastore/src/index.tsx | 14 -- examples/vue-datastore/src/main.ts | 5 + examples/vue-datastore/src/react-app-env.d.ts | 1 - .../src/registerServiceWorker.ts | 34 ++++ examples/vue-datastore/src/serviceWorker.ts | 149 -------------- examples/vue-datastore/src/setupTests.ts | 5 - examples/vue-datastore/src/shims-vue.d.ts | 6 + examples/vue-datastore/src/types.ts | 39 ---- examples/vue-datastore/tsconfig.json | 46 +++-- examples/vue-datastore/vue.config.js | 11 ++ 39 files changed, 372 insertions(+), 432 deletions(-) create mode 100644 examples/vue-datastore/.eslintrc.js create mode 100644 examples/vue-datastore/babel.config.js create mode 100644 examples/vue-datastore/public/img/icons/android-chrome-192x192.png create mode 100644 examples/vue-datastore/public/img/icons/android-chrome-512x512.png create mode 100644 examples/vue-datastore/public/img/icons/android-chrome-maskable-192x192.png create mode 100644 examples/vue-datastore/public/img/icons/android-chrome-maskable-512x512.png create mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-120x120.png create mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-152x152.png create mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-180x180.png create mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-60x60.png create mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-76x76.png create mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon.png create mode 100644 examples/vue-datastore/public/img/icons/favicon-16x16.png create mode 100644 examples/vue-datastore/public/img/icons/favicon-32x32.png create mode 100644 examples/vue-datastore/public/img/icons/msapplication-icon-144x144.png create mode 100644 examples/vue-datastore/public/img/icons/mstile-150x150.png create mode 100644 examples/vue-datastore/public/img/icons/safari-pinned-tab.svg delete mode 100644 examples/vue-datastore/public/logo192.png delete mode 100644 examples/vue-datastore/public/logo512.png delete mode 100644 examples/vue-datastore/public/manifest.json create mode 100644 examples/vue-datastore/reactPackage.json create mode 100644 examples/vue-datastore/src/App.vue delete mode 100644 examples/vue-datastore/src/index.tsx create mode 100644 examples/vue-datastore/src/main.ts delete mode 100644 examples/vue-datastore/src/react-app-env.d.ts create mode 100644 examples/vue-datastore/src/registerServiceWorker.ts delete mode 100644 examples/vue-datastore/src/serviceWorker.ts delete mode 100644 examples/vue-datastore/src/setupTests.ts create mode 100644 examples/vue-datastore/src/shims-vue.d.ts delete mode 100644 examples/vue-datastore/src/types.ts create mode 100644 examples/vue-datastore/vue.config.js diff --git a/examples/vue-datastore/.eslintrc.js b/examples/vue-datastore/.eslintrc.js new file mode 100644 index 000000000..f948388bf --- /dev/null +++ b/examples/vue-datastore/.eslintrc.js @@ -0,0 +1,20 @@ +module.exports = { + root: true, + env: { + node: true + }, + extends: [ + "plugin:vue/vue3-essential", + "eslint:recommended", + "@vue/typescript/recommended", + "@vue/prettier", + "@vue/prettier/@typescript-eslint" + ], + parserOptions: { + ecmaVersion: 2020 + }, + rules: { + "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" + } +}; diff --git a/examples/vue-datastore/.gitignore b/examples/vue-datastore/.gitignore index 99cdaa2aa..4eea610cb 100644 --- a/examples/vue-datastore/.gitignore +++ b/examples/vue-datastore/.gitignore @@ -19,9 +19,11 @@ .env.production.local .gradle +# Log files npm-debug.log* yarn-debug.log* yarn-error.log* +pnpm-debug.log* /android /ios diff --git a/examples/vue-datastore/README.md b/examples/vue-datastore/README.md index 76a0c08f7..9762d2439 100644 --- a/examples/vue-datastore/README.md +++ b/examples/vue-datastore/README.md @@ -1,6 +1,36 @@ -# Offix - React Todo Example App +# vue-datastore -This example demonstrates how to get started using Offix in a React project. The app is a simple +## Project setup + +``` +yarn install +``` + +### Compiles and hot-reloads for development + +``` +yarn serve +``` + +### Compiles and minifies for production + +``` +yarn build +``` + +### Lints and fixes files + +``` +yarn lint +``` + +### Customize configuration + +See [Configuration Reference](https://cli.vuejs.org/config/). + +# Offix - Vue3 Todo Example App + +This example demonstrates how to get started using Offix in a Vue project. The app is a simple todo app making use of the `offix-client` and can be used as launch pad to getting started with Offix and make use of the features in the library. @@ -58,16 +88,13 @@ yarn start 2. Generate models yarn generate 3. Review new models - ## Running as native capacitor application - yarn build yarn cap add ios yarn cap copy ios yarn cap open ios - yarn build yarn cap add android // Swap main activity https://github.com/capacitor-community/sqlite diff --git a/examples/vue-datastore/babel.config.js b/examples/vue-datastore/babel.config.js new file mode 100644 index 000000000..c97d61964 --- /dev/null +++ b/examples/vue-datastore/babel.config.js @@ -0,0 +1,9 @@ +module.exports = { + presets: ["@vue/cli-plugin-babel/preset"], + plugins: [ + [ + "import", + { libraryName: "ant-design-vue", libraryDirectory: "es", style: "css" } + ] // `style: true` for less + ] +}; diff --git a/examples/vue-datastore/package.json b/examples/vue-datastore/package.json index d96f1d266..7389f7ffc 100644 --- a/examples/vue-datastore/package.json +++ b/examples/vue-datastore/package.json @@ -1,44 +1,12 @@ { - "name": "react-offix", + "name": "vue-datastore", "version": "0.1.0", "private": true, - "dependencies": { - "@ant-design/icons": "~4.2.1", - "@apollo/react-hooks": "^3.1.5", - "@capacitor-community/sqlite": "^2.4.0", - "@capacitor/android": "2.4.0", - "@testing-library/jest-dom": "^4.2.4", - "@testing-library/react": "^9.3.2", - "@testing-library/user-event": "^7.1.2", - "@types/jest": "^24.0.0", - "@types/node": "^12.0.0", - "@types/react": "^16.9.0", - "@types/react-dom": "^16.9.0", - "antd": "~4.4.1", - "graphql.macro": "^1.4.2", - "offix-datastore": "0.4.0", - "react": "^16.13.1", - "react-dom": "^16.13.1", - "react-scripts": "3.4.1", - "typescript": "4.1.5", - "uniforms": "3.0.0-alpha.5", - "uniforms-antd": "3.0.0-alpha.5", - "uniforms-bridge-graphql": "3.0.0-alpha.5", - "uuidv4": "^6.1.1", - "@capacitor/core": "^2.4.0" - }, "scripts": { - "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", - "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject", - "generate": "offix generate --schema ./src/model/runtime.graphql --outputPath ./src/datastore/generated", - "linkdatastore": "cd ../../packages/datastore/datastore && yarn link && cd - && yarn link offix-datastore && rm -Rf ./node_modules/react && && rm -Rf ./node_modules/react-dom", - "linkdatastorecli": "cd ../../packages/datastore/cli && yarn link && cd - && yarn link @offix/cli" - }, - "eslintConfig": { - "extends": "react-app" + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint", + "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql" }, "browserslist": { "production": [ @@ -52,10 +20,38 @@ "last 1 safari version" ] }, + "dependencies": { + "@ant-design/icons-vue": "^6.0.1", + "ant-design-vue": "^2.0.1", + "core-js": "^3.6.5", + "offix-datastore": "^0.4.0", + "register-service-worker": "^1.7.1", + "vue": "^3.0.6", + "graphql.macro": "^1.4.2" + }, "devDependencies": { - "@capacitor/cli": "^2.4.0", - "@offix/cli": "0.2.1", - "graphback-cli": "1.1.1", - "graphql-serve": "1.1.1" + "@offix/cli": "^0.3.3", + "@typescript-eslint/eslint-plugin": "^2.33.0", + "@typescript-eslint/parser": "^2.33.0", + "@vue/cli-plugin-babel": "^4.5.0", + "@vue/cli-plugin-eslint": "^4.5.0", + "@vue/cli-plugin-pwa": "^4.5.0", + "@vue/cli-plugin-typescript": "^4.5.0", + "@vue/cli-service": "^4.5.0", + "@vue/compiler-sfc": "^3.0.0", + "@vue/eslint-config-prettier": "^6.0.0", + "@vue/eslint-config-typescript": "^5.0.2", + "babel-plugin-import": "^1.13.3", + "eslint": "^6.7.2", + "eslint-plugin-prettier": "^3.1.3", + "eslint-plugin-vue": "^7.0.0-0", + "graphback-cli": "^1.1.2", + "less": "^4.1.1", + "less-loader": "^8.0.0", + "prettier": "^1.19.1", + "sass": "^1.26.5", + "sass-loader": "^8.0.2", + "typescript": "^4.2.2", + "graphql-serve": "1.1.2" } } diff --git a/examples/vue-datastore/public/favicon.ico b/examples/vue-datastore/public/favicon.ico index bcd5dfd67cd0361b78123e95c2dd96031f27f743..df36fcfb72584e00488330b560ebcf34a41c64c2 100644 GIT binary patch literal 4286 zcmds*O-Phc6o&64GDVCEQHxsW(p4>LW*W<827=Unuo8sGpRux(DN@jWP-e29Wl%wj zY84_aq9}^Am9-cWTD5GGEo#+5Fi2wX_P*bo+xO!)p*7B;iKlbFd(U~_d(U?#hLj56 zPhFkj-|A6~Qk#@g^#D^U0XT1cu=c-vu1+SElX9NR;kzAUV(q0|dl0|%h|dI$%VICy zJnu2^L*Te9JrJMGh%-P79CL0}dq92RGU6gI{v2~|)p}sG5x0U*z<8U;Ij*hB9z?ei z@g6Xq-pDoPl=MANPiR7%172VA%r)kevtV-_5H*QJKFmd;8yA$98zCxBZYXTNZ#QFk2(TX0;Y2dt&WitL#$96|gJY=3xX zpCoi|YNzgO3R`f@IiEeSmKrPSf#h#Qd<$%Ej^RIeeYfsxhPMOG`S`Pz8q``=511zm zAm)MX5AV^5xIWPyEu7u>qYs?pn$I4nL9J!=K=SGlKLXpE<5x+2cDTXq?brj?n6sp= zphe9;_JHf40^9~}9i08r{XM$7HB!`{Ys~TK0kx<}ZQng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xwxsx_oRFcN$StW2=CW`=qObsT?SD^#^jM1Yk}PSPxJ zG@-_mnNU_)vM|iLRSI>UMp|hatyS}17R{10IuL0TLlupt>9dRs_SPQbv7BLYyC#qv16E-y@XZ= z-!p7I%#r-BVi$nQq3&ssRc_IC%R6$tA&^s_l46880~Wst3@>(|EO<}T4~ci~#!=e; zD)B>o%1+$ksURD1p7I-<3ehlFyVkqrySf&gg>Bp0Z9?JaG|gyTZ{Cb8SdvAWVmFX7v2ohs!OCc!Udk zUITUpmZ33rKLI#(&lDj}cKA#dpL4Fil=$5pu_wi1XJR!llw` zSItPBDEdMHk2>c7#%lBxZHHvtVUOZ$}v?=?AT~9!Jcqa@IJGuMg(s^7r>pcTrd)pS`{5Cu8WPey` z9)!!OUUY@L%9Q+bZa*S5`3f_|lFCPN6kdp_M2>{le8;cn^XUsPa+TUk47qd6)IBR% zk*&Ip?!Ge_gmmdj)BX}P_5o@VI2*wbZ^>UhFju}0gQZh!pP%4XT9{@w;G#b3XK8sN zF(7i$Jv(IM$8Akys9dhP^^~H2(7BfJp}yDW1#@!CL-!mGcSCnJ599WK9MV@yo_u$v MDeX2GIKR{Qf5okjU;qFB diff --git a/examples/vue-datastore/public/img/icons/android-chrome-192x192.png b/examples/vue-datastore/public/img/icons/android-chrome-192x192.png new file mode 100644 index 0000000000000000000000000000000000000000..b02aa64d97167ad649e496908b35f14c603d9249 GIT binary patch literal 9416 zcmaiaXIK+m6y}7Elz=p)MnHo|M?q?+0v{qpLa)*lLYEGqqjV4i=}jOYT}nWZqF?|) zgh-1tgLI@XT{CZOOrNn4PA94gdt+0swRr0GxtN=oJ9)6$5}Z8vu~a z0suCTT&%u4c!A=HwuTyT`R`r$p*$UIq4d$xQKwvhFj3OT{OH^VTlieG)RYbVr#JIl z(mDIH=Ppe(jQxytM}R(c{bw&opbQ^vZuTtH3D0=B_H|CF-g$>FWnM_E<8xJ;6x|$I z5G`a2B~ocHl=45jx%nT5vR43_%##6zzVX(HLh_o0w@uPo%~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6{R9DH=2~+48h}LxgXVDF`0Zl-IBU+e)-to+VxQP$1Z#1Ndg5Gm+ zYAC=Pjo?+RffOV_cLM0^v`?+=CxC!24LX7zXtebSm+zMVytAG!%l$YLlOK>XKPCADu5xq3l0m8g4`PwnJ$>dqD;lH zBM};C_VP|7eD8oDuGb%t3f&xKaPxgYVT^?;(D?ECJcfh1kM#u*Lk5T^HVa0`8V?Ps z4Uo4vvf{sf%>akwR%9-RLxY+R7Y6opcb`ottG3-{tAu(jl*AUGK5`;#%BckYK5oeKgJ-DYv&oy^1$0#l64mkuP!EHlOo+JZ8esNn8(>a$Lg1z6zxl8- zL$|(#5(xV8*X2!qiX}L|x$zv0(0%hPgH~oAJ@}?YV=m~d4jt%tAh-y`3z4m5fxM|B zF2>ZpK%*<6C2#%+kZ~mM1Oxxk>vEw;^}txsUfCz$_-3SMPnWT{yVdGE*1}J!YBkPL zQ+ovt#2?b&K)gH~t^H>bCM=zIFW(e02Q=X+B}d(Ka(krQg&b~2+b$W_)#@=~s^x_k z=`=@RlqHxY%|7LB9hlQw=bcBjP8Hmc_G0IwwBmY+_FA(+h`_(& zK(&A?feu+;z;jE99{?2gfB)gwf9ZzaOvH(AeTxo-&;H1~?j6M_q literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/img/icons/apple-touch-icon-120x120.png b/examples/vue-datastore/public/img/icons/apple-touch-icon-120x120.png new file mode 100644 index 0000000000000000000000000000000000000000..1427cf62752646ad7217df0a61aa01fdef7475d1 GIT binary patch literal 3369 zcmb7Hc{J2t8~Qk{w!5*3fu4c1kWV+f$uhdfm0Yr%@PJy8NU6F}hlE z<1AX3WTJu?$Npcik#7CO?ayV<8`12wv7ZdiDu4XrX_S{y+>=n~7d z9~&9D#2F*oV`RtK8X)8&x@yY(YO;P#O8VrmY|d)|7MBrpa!TRjvt9!rl6&=SCy~c3 z>tM*u-OKjWv%~5yU#iI0Y%ba~ElhEMq>t?o9nPi0c8kOI`nQYO7}ztojdXae;|Ot| z1tkl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_+ADO5PkH?$E4P**m9VIn|FSjis#H zjCZfWrv!g7hlqQ5xZX@=gxMIHU0?yi@61_j-j=;5_uf58HMDq%i)cj%LB6UQw*Bco zn4*;MC@nDR0fZO${V{q`Tel}Ojw=aX#M*xw!RN(PJmITN@CAqD*?KGr5zjf=Ai?~i zR4lE2I`L8Wq?V+JV4>~NhrJ%Vp{*Xt+qw%C-%Vf9yj+TSPH+h8*8{Iefp6-_? zu5p8;GfK3Rx)Hx>pV0aD?b2N2kWJ=eK|^nX-<4NYI}Nd@mj+J%^0$#Qf~GH@3m{d_9(?C z6OSF?p&cwqYbSP=$`_KJYw&yz4t~*3l=}OLu!Z2Cghc62E?9=B%n|cdWib_MK1hCK zsCd;w3@jz@xwM%%`+U~6IlFyIBsirXFu&;TV46nEmbn-h_kd!bg=Lq^Es2QSTL6tx zN@ ROru=^AazZ3N)e9H{|11FNXq~K literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/img/icons/apple-touch-icon-152x152.png b/examples/vue-datastore/public/img/icons/apple-touch-icon-152x152.png new file mode 100644 index 0000000000000000000000000000000000000000..f24d454a2ecb8851bb893192b64ee09386d30e24 GIT binary patch literal 4046 zcma)9c{o&W`#-jfA!Hjdm|-lDE&I+OBeG>DWJyAd#=eV2WGM#U>^s?tk}Xl9GWZ(% zHfSsv`<86=oBsU$@xIr4o$K89Irnot=RVK#`F!r@x}TVt7+eJNfB^uwXo%9Yp!l4> zH;9^Ivy0vZQ5>zO&P^Qvc%8<0c88Ag4s%0U+ysCy5desZ2Y?ewDCP$M1j+ya*#!Vp zDIb9N=e3!uQwA=$8X4#TfBs%Y?<+GX5qgZ_O?~=BDt3BCX`%Z%<^aI#XQ-!R88W?@ zZx_sNz}4p$Xyt9=Jzt&$3C-{bJ($gUo! zE(}d=3`1PirH-e8`%tmR?GpC?W#uN7x3Aw{KiD47B$LS}Mq^e-ziX1jlBl^-(#+Pu zwhJx{UTjz4H{*oM3}3~|Gi0TUbh8lMyQPcb?{$!nFr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_f!WadS20$KZEZ+BHAvU@FB zzRCYN5r+Z#g`C^hrH$yW7ABstwjvMM*CHGzY41bbo2zy$6E8DAOPn zUnHG?e7?u7pQ}Kqbu1jEd+=mcGea4aL6V4g(m*b7x}z|ijsjb3e|tf-3&^JK{=sWz z8sqIu9jy)#J}n}cXqtXmkb-NDVPcAKn=G9uX42zYvufu_OCr>xJ=oTNp8WA5wEqvM z{r~m8;7_C>U68iRr@|rd7UYhON#(-S_+Uf>s)hhPU{{exlxc&eD literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/img/icons/apple-touch-icon-60x60.png b/examples/vue-datastore/public/img/icons/apple-touch-icon-60x60.png new file mode 100644 index 0000000000000000000000000000000000000000..cf10a5602e653bb126332934e2b7f34081c19a01 GIT binary patch literal 1491 zcmV;^1uXiBP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw0005h zP)t-s|NsB|{{8&@{rvp>{r&x%*}Q|#tcB36gvhFYm6?8tmVSzseTkKdl%VJ7>$v03 zRK1K%x`#-Hc0*KVnxn1${{Hv;`iRl5O}mFouY^TsY(rCKRAY43+TGUg<6OXzNtAm- zR%e5bn)vzpo!PxjwS`7 zhev*NL{(?2v%B*8_Ib;tOR0iHVQOA%eB$Nk$m-fvy^TnVc$A)~`}_O){rrv7vP`jr zMQUwRV{@dewcGLMU%`_~mwZE4XGmFU{{R1@+rdq?hDLR9>G$w##+*x{e?(kqxa7}J zyNO4Eb@luBe$A*%tb#;iYt8K5SH6x(j(I~>W|P&nOtXbWZEoN5>0-i_N}7E`SZAo+ z#ZJ11O}B=TZzUTJuYQ>tg;?45<_j=5x$?DryzKxI5vtYrLq};;l_wjDWox0@EQM`(P&Z*Aq z-ebd-HmV8X00001VoOIv0Eh)0NB{r;2XskIMF-&l69)?{x?>RQ0007+NklM;B#JYAnV|K?dhB~`2vAa8F&hF0rvr{-f1`~wK%gytOd(QLy{O;v> zE)c!fe^fRo+YelJdQ&?zZFTGPvAyJ@wj3OtKE0H)i>q$v>f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ke=2Vh~cu_uTb&6AH75L!k8zo~&wRsDLs^3YkD2!~;%u6sFrzV2A5(FQ|3}+0-K- zWX)W2yq%?^)iKhyMGPB5*DnWBaLqAHLJ47;r5nvkeq3u_?J{Xaf_}6I+xpLwKS7NC z|KYU%zup)8i85jc)^Yt*I0W8;+zHUI3V7@o;3DUYasdq>DFK%im4J)F?;|B-<=}8R z>HESGa5)KyCnGII|E+YX&h4Y+xCRvyX@oGhhG4 j58+{W$RJv~NLLKlV4)8v^7hU(R-4l(}$teLl` literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/img/icons/favicon-16x16.png b/examples/vue-datastore/public/img/icons/favicon-16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..42af00963d81b8e39a30435c60ac482d1f8756e0 GIT binary patch literal 799 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEf9thF1v;3|2E37{m+a>WRE8{w#)hawXn|-Xp4{E;v!=;4B^%-x&;Cm1 zP>^*#n_J!T^1SBMI!C4h-R53dN8`?ylD}d{L%(vZvUKT)~-CgWFQy3lt zIqW5#zOL*K8HL%o&D;R|TePl5?VWhq^wrj^qed%lKKkpp-FogeyEi+p zE?K8rW7E1fuEJ{5jaaAp0~aIt+keS?T)@vXM=*X}V#VGMCm1~v-+0wr{w3CJ-R8wG zS@XVpzqP-5Mf0H?y-zh=XVL>S6E;rKnDmrMQlmoKbK9p$evXN`oe{6g>lvi)-+#c) zb+Al&$zRqtWk1@VTt6MPmq9d7^!kmXZn8k{sFt`!l%ynwlArU1(iRB6fMfqu& zIjIUIl?AB^nFS@u3=9=>9)IHDC=AokIOTu(jOWuJ24-b$y<~1-Wnu5hBFw@HE)6D! wQ<#-EhbWxBaplC3Ge=~Ou%B-5Sm33{@Jd{;RG<|Mp00i_>zopr0DGh}-~a#s literal 0 HcmV?d00001 diff --git a/examples/vue-datastore/public/img/icons/favicon-32x32.png b/examples/vue-datastore/public/img/icons/favicon-32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..46ca04dee251a4fa85a2891a145fbe20cc619d96 GIT binary patch literal 1271 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+0817m!EPlzi}fpbWjb7-1N zREF=ab|~82?p|H&9FPi<3Q0p2_nKbg9F`6d2a)0F5LviN5F-?-1uh6wgGU@;KHLFx zWcX}ub<4|h4hH*lce~e|TIa|N-yLo4RYl&*8eQTtJ=)5A);GJR=Xg%80{Y!&YpYvf zzSsOZP>Ahpcdsq>UfJl9kmb=;?z6GQH8a<1TD9-CHn-w}|NsA+Nb6JrgE+J#$S)X3 zGcfS;fdK35)2Be-Oetf?`zOY13)%G^e)6sPw@*;|%KXdcU#*P1v1-S;t21mOG>nAE-eH;@V%$t;WjcxYXwEUbR z3z>7z#DtTVO-oacoh9{_MQY8Ot-i}F{j^uD+E(t7w)x6MKX=vIp4w>b*IOPH6jixJ zZ#|uAv~yR1m9_1`d$&$jY?ogCnOnuicG8u{jt?HmM3~l)E(#;^5{P>Y|zRB0* zEz%!bA15~jCmrhl{dVr6;-~M#%Kx{>DI^zpsl1afdH67nWtqCYg=$*b#>z9DEt9H` z|+MWPFs%ZPNO+J zf0-lgZs?zWIq~q~#m;eY33n#>L}?XxEeV>+^y8e1Yo5XT(EXF-y$iEBhj zN@7W>RdP`(kYX@0Ff`XSFw`})3^6dbGBmU@HPtpSv@$SAK61eeMMG|WN@iLmZVf^+ zGrj>egja<`lmsP~D-;yvr)B1(DwI?fq$*?3oE!Zm>f=FR^A+M zgi4xxPFrSEd~icXVNJS+LsVu<%#BOJia|kOKTc&uYHde?b&b-l!vFvP5Oh*bQvhIw zttdd~7z^sr{QkDc>03p*fB*mk(@8`@RCwC$n(LCAFbsu*gJTHEEXJ_={%=~^rnw?n zmSn?B(Qht7oG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F=9(E%y%**sv;C zc-`8=TvY)rG0&tkV{rsbxY*uPc6tz8ei-fnaYWCCpTjV9G;n#?t9B}6JH5E` z*#GDkkDsfjd&qwVNI&%V0s(fR*0*t1&OuPDzn{COw;L1}f^~y> zVsRMo&xFi*`f;v@wihpcwV-qZi&hX;X + + diff --git a/examples/vue-datastore/public/index.html b/examples/vue-datastore/public/index.html index aa069f27c..3e5a13962 100644 --- a/examples/vue-datastore/public/index.html +++ b/examples/vue-datastore/public/index.html @@ -1,43 +1,17 @@ - + - - - - - - - - - - React App + + + + + <%= htmlWebpackPlugin.options.title %> - -

- + +
+ diff --git a/examples/vue-datastore/public/logo192.png b/examples/vue-datastore/public/logo192.png deleted file mode 100644 index fc44b0a3796c0e0a64c3d858ca038bd4570465d9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5347 zcmZWtbyO6NvR-oO24RV%BvuJ&=?+<7=`LvyB&A_#M7mSDYw1v6DJkiYl9XjT!%$dLEBTQ8R9|wd3008in6lFF3GV-6mLi?MoP_y~}QUnaDCHI#t z7w^m$@6DI)|C8_jrT?q=f8D?0AM?L)Z}xAo^e^W>t$*Y0KlT5=@bBjT9kxb%-KNdk zeOS1tKO#ChhG7%{ApNBzE2ZVNcxbrin#E1TiAw#BlUhXllzhN$qWez5l;h+t^q#Eav8PhR2|T}y5kkflaK`ba-eoE+Z2q@o6P$)=&` z+(8}+-McnNO>e#$Rr{32ngsZIAX>GH??tqgwUuUz6kjns|LjsB37zUEWd|(&O!)DY zQLrq%Y>)Y8G`yYbYCx&aVHi@-vZ3|ebG!f$sTQqMgi0hWRJ^Wc+Ibv!udh_r%2|U) zPi|E^PK?UE!>_4`f`1k4hqqj_$+d!EB_#IYt;f9)fBOumGNyglU(ofY`yHq4Y?B%- zp&G!MRY<~ajTgIHErMe(Z8JG*;D-PJhd@RX@QatggM7+G(Lz8eZ;73)72Hfx5KDOE zkT(m}i2;@X2AT5fW?qVp?@WgN$aT+f_6eo?IsLh;j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XF zz`?RYB|D6SwS}C+YQv+;}k6$-%D(@+t14BL@vM z2q%q?f6D-A5s$_WY3{^G0F131bbh|g!}#BKw=HQ7mx;Dzg4Z*bTLQSfo{ed{4}NZW zfrRm^Ca$rlE{Ue~uYv>R9{3smwATcdM_6+yWIO z*ZRH~uXE@#p$XTbCt5j7j2=86e{9>HIB6xDzV+vAo&B?KUiMP|ttOElepnl%|DPqL b{|{}U^kRn2wo}j7|0ATu<;8xA7zX}7|B6mN diff --git a/examples/vue-datastore/public/manifest.json b/examples/vue-datastore/public/manifest.json deleted file mode 100644 index 080d6c77a..000000000 --- a/examples/vue-datastore/public/manifest.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "short_name": "React App", - "name": "Create React App Sample", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/examples/vue-datastore/public/robots.txt b/examples/vue-datastore/public/robots.txt index e9e57dc4d..eb0536286 100644 --- a/examples/vue-datastore/public/robots.txt +++ b/examples/vue-datastore/public/robots.txt @@ -1,3 +1,2 @@ -# https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: diff --git a/examples/vue-datastore/reactPackage.json b/examples/vue-datastore/reactPackage.json new file mode 100644 index 000000000..52af8d604 --- /dev/null +++ b/examples/vue-datastore/reactPackage.json @@ -0,0 +1,59 @@ +{ + "name": "react-offix", + "version": "0.1.0", + "private": true, + "dependencies": { + "@ant-design/icons": "~4.2.1", + "@apollo/react-hooks": "^3.1.5", + "@capacitor-community/sqlite": "^2.4.0", + "@capacitor/android": "2.4.0", + "@testing-library/jest-dom": "^4.2.4", + "@testing-library/react": "^9.3.2", + "@testing-library/user-event": "^7.1.2", + "@types/jest": "^24.0.0", + "@types/node": "^12.0.0", + "@types/react": "^16.9.0", + "@types/react-dom": "^16.9.0", + "antd": "~4.4.1", + "graphql.macro": "^1.4.2", + "offix-datastore": "0.4.0", + "react": "^16.13.1", + "react-dom": "^16.13.1", + "react-scripts": "3.4.1", + "typescript": "4.1.5", + "uniforms": "3.0.0-alpha.5", + "uniforms-antd": "3.0.0-alpha.5", + "uniforms-bridge-graphql": "3.0.0-alpha.5", + "uuidv4": "^6.1.1", + "@capacitor/core": "^2.4.0" + }, + "scripts": { + "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", + "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql", + "build": "react-scripts build", + "test": "react-scripts test", + "eject": "react-scripts eject", + "generate": "offix generate --schema ./src/model/runtime.graphql --outputPath ./src/datastore/generated", + "linkdatastore": "cd ../../packages/datastore/datastore && yarn link && cd - && yarn link offix-datastore && rm -Rf ./node_modules/react && && rm -Rf ./node_modules/react-dom", + "linkdatastorecli": "cd ../../packages/datastore/cli && yarn link && cd - && yarn link @offix/cli" + }, + "eslintConfig": { + "extends": "react-app" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "devDependencies": { + "@capacitor/cli": "^2.4.0", + "graphql-serve": "1.1.1" + } +} diff --git a/examples/vue-datastore/src/App.tsx b/examples/vue-datastore/src/App.tsx index 1d231e21c..8976f5cd1 100644 --- a/examples/vue-datastore/src/App.tsx +++ b/examples/vue-datastore/src/App.tsx @@ -1,110 +1,97 @@ -import React, { useState, useEffect } from 'react'; -import { Button } from 'antd'; -import 'antd/dist/antd.css'; - -import { useFindTodos } from './datastore/hooks'; -import { TodoList, AddTodo, Loading, Error, Header } from './components'; -import { datastore } from './datastore/config'; -import { NetworkStatusEvent } from 'offix-datastore/types/replication/network/NetworkStatus'; +import { Button } from "ant-design-vue"; +import { NetworkStatusEvent } from "offix-datastore/types/replication/network/NetworkStatus"; +import { defineComponent, h, onMounted, ref, watch } from "vue"; +import { AddTodo, Error, Header, Loading, TodoList } from "./components"; +import { datastore } from "./datastore/config"; +import { useFindTodos } from "./datastore/hooks"; function App() { + return defineComponent({ + components: { + Button + }, + setup() { + const replicating = ref(true); + const addView = ref(false); - const [replicating, setReplicating] = useState(true); - const [addView, setAddView] = useState(false); - const { loading, error, data, subscribeToUpdates } = useFindTodos(); - - useEffect(() => { - datastore.getNetworkIndicator()?.subscribe({ - next: (event: NetworkStatusEvent) => { - if (event.isOnline) { - datastore.startReplication(); - setReplicating(true); - } else { - datastore.stopReplication(); - setReplicating(false); - } - } - }) - }) - - useEffect(() => { - // We can start replication on a per model basis - // or for the entire store with: - // datastore.startReplication - // the `startReplication` method accepts an - // optional filter - datastore.startReplication() - }); - - useEffect(() => { - const subscription = subscribeToUpdates(); - return () => subscription.unsubscribe(); - }, [data, subscribeToUpdates]); + const { loading, error, data, subscribeToUpdates } = useFindTodos(); - if (loading) return ; + onMounted(() => { + datastore.getNetworkIndicator()?.subscribe({ + next: (event: NetworkStatusEvent) => { + if (event.isOnline) { + datastore.startReplication(); + replicating.value = true; + } else { + datastore.stopReplication(); + replicating.value = false; + } + } + }); + }); - if (error) return ; + watch( + data, + () => { + const subscription = subscribeToUpdates(); + return () => subscription.unsubscribe(); + }, + { deep: true, immediate: true } + ); + // FIXME: + if (loading) return () => ; + // FIXME: + if (error) return ; - return ( -
-
-
setAddView(false) - } - extra={ - addView ? null : ( - <> - - - - ) - } - > - { - !addView && ( - <> - - - ) - } - { - addView && ( - <> - setAddView(false)} /> - - ) - } -
-
-
- ); + return () => + h( +
+
+
(addView.value = false)} + extra={ + addView.value ? null : ( + <> + + + + ) + } + > + {!addView && ( + <> + + + )} + {addView && ( + <> + (addView.value = true)} /> + + )} +
+
+
+ ); + } + }); } const containerStyle = { - display: 'flex', - alignItems: 'start', - justifyContent: 'center', - minHeight: '100vh', - width: '100vw', - padding: '2em 0' -} + display: "flex", + alignItems: "start", + justifyContent: "center", + minHeight: "100vh", + width: "100vw", + padding: "2em 0" +}; export default App; diff --git a/examples/vue-datastore/src/App.vue b/examples/vue-datastore/src/App.vue new file mode 100644 index 000000000..6da59b1d2 --- /dev/null +++ b/examples/vue-datastore/src/App.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/examples/vue-datastore/src/index.tsx b/examples/vue-datastore/src/index.tsx deleted file mode 100644 index d68fa09e7..000000000 --- a/examples/vue-datastore/src/index.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import App from './App'; -import * as serviceWorker from './serviceWorker'; - -// enable logger for datasync in browser -localStorage.debug = 'datasync:*'; - -ReactDOM.render(, document.getElementById("root")); - -// If you want your app to work offline and load faster, you can change -// unregister() to register() below. Note this comes with some pitfalls. -// Learn more about service workers: https://bit.ly/CRA-PWA -serviceWorker.register(); diff --git a/examples/vue-datastore/src/main.ts b/examples/vue-datastore/src/main.ts new file mode 100644 index 000000000..620d8f88d --- /dev/null +++ b/examples/vue-datastore/src/main.ts @@ -0,0 +1,5 @@ +import { createApp } from "vue"; +import App from "./App"; +import "./registerServiceWorker"; + +createApp(App).mount("#app"); diff --git a/examples/vue-datastore/src/react-app-env.d.ts b/examples/vue-datastore/src/react-app-env.d.ts deleted file mode 100644 index 6431bc5fc..000000000 --- a/examples/vue-datastore/src/react-app-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/examples/vue-datastore/src/registerServiceWorker.ts b/examples/vue-datastore/src/registerServiceWorker.ts new file mode 100644 index 000000000..30b7895d2 --- /dev/null +++ b/examples/vue-datastore/src/registerServiceWorker.ts @@ -0,0 +1,34 @@ +/* eslint-disable no-console */ + +import { register } from "register-service-worker"; + +if (process.env.NODE_ENV === "production") { + register(`${process.env.BASE_URL}service-worker.js`, { + ready() { + console.log( + "App is being served from cache by a service worker.\n" + + "For more details, visit https://goo.gl/AFskqB" + ); + }, + registered() { + console.log("Service worker has been registered."); + }, + cached() { + console.log("Content has been cached for offline use."); + }, + updatefound() { + console.log("New content is downloading."); + }, + updated() { + console.log("New content is available; please refresh."); + }, + offline() { + console.log( + "No internet connection found. App is running in offline mode." + ); + }, + error(error) { + console.error("Error during service worker registration:", error); + } + }); +} diff --git a/examples/vue-datastore/src/serviceWorker.ts b/examples/vue-datastore/src/serviceWorker.ts deleted file mode 100644 index b09523f15..000000000 --- a/examples/vue-datastore/src/serviceWorker.ts +++ /dev/null @@ -1,149 +0,0 @@ -// This optional code is used to register a service worker. -// register() is not called by default. - -// This lets the app load faster on subsequent visits in production, and gives -// it offline capabilities. However, it also means that developers (and users) -// will only see deployed updates on subsequent visits to a page, after all the -// existing tabs open on the page have been closed, since previously cached -// resources are updated in the background. - -// To learn more about the benefits of this model and instructions on how to -// opt-in, read https://bit.ly/CRA-PWA - -const isLocalhost = Boolean( - window.location.hostname === 'localhost' || - // [::1] is the IPv6 localhost address. - window.location.hostname === '[::1]' || - // 127.0.0.0/8 are considered localhost for IPv4. - window.location.hostname.match( - /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ - ) -); - -type Config = { - onSuccess?: (registration: ServiceWorkerRegistration) => void; - onUpdate?: (registration: ServiceWorkerRegistration) => void; -}; - -export function register(config?: Config) { - if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) { - // The URL constructor is available in all browsers that support SW. - const publicUrl = new URL( - process.env.PUBLIC_URL, - window.location.href - ); - if (publicUrl.origin !== window.location.origin) { - // Our service worker won't work if PUBLIC_URL is on a different origin - // from what our page is served on. This might happen if a CDN is used to - // serve assets; see https://github.com/facebook/create-react-app/issues/2374 - return; - } - - window.addEventListener('load', () => { - const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`; - - if (isLocalhost) { - // This is running on localhost. Let's check if a service worker still exists or not. - checkValidServiceWorker(swUrl, config); - - // Add some additional logging to localhost, pointing developers to the - // service worker/PWA documentation. - navigator.serviceWorker.ready.then(() => { - console.log( - 'This web app is being served cache-first by a service ' + - 'worker. To learn more, visit https://bit.ly/CRA-PWA' - ); - }); - } else { - // Is not localhost. Just register service worker - registerValidSW(swUrl, config); - } - }); - } -} - -function registerValidSW(swUrl: string, config?: Config) { - navigator.serviceWorker - .register(swUrl) - .then(registration => { - registration.onupdatefound = () => { - const installingWorker = registration.installing; - if (installingWorker == null) { - return; - } - installingWorker.onstatechange = () => { - if (installingWorker.state === 'installed') { - if (navigator.serviceWorker.controller) { - // At this point, the updated precached content has been fetched, - // but the previous service worker will still serve the older - // content until all client tabs are closed. - console.log( - 'New content is available and will be used when all ' + - 'tabs for this page are closed. See https://bit.ly/CRA-PWA.' - ); - - // Execute callback - if (config && config.onUpdate) { - config.onUpdate(registration); - } - } else { - // At this point, everything has been precached. - // It's the perfect time to display a - // "Content is cached for offline use." message. - console.log('Content is cached for offline use.'); - - // Execute callback - if (config && config.onSuccess) { - config.onSuccess(registration); - } - } - } - }; - }; - }) - .catch(error => { - console.error('Error during service worker registration:', error); - }); -} - -function checkValidServiceWorker(swUrl: string, config?: Config) { - // Check if the service worker can be found. If it can't reload the page. - fetch(swUrl, { - headers: { 'Service-Worker': 'script' } - }) - .then(response => { - // Ensure service worker exists, and that we really are getting a JS file. - const contentType = response.headers.get('content-type'); - if ( - response.status === 404 || - (contentType != null && contentType.indexOf('javascript') === -1) - ) { - // No service worker found. Probably a different app. Reload the page. - navigator.serviceWorker.ready.then(registration => { - registration.unregister().then(() => { - window.location.reload(); - }); - }); - } else { - // Service worker found. Proceed as normal. - registerValidSW(swUrl, config); - } - }) - .catch(() => { - console.log( - 'No internet connection found. App is running in offline mode.' - ); - }); -} - -export function unregister() { - if ('serviceWorker' in navigator) { - navigator.serviceWorker.ready - .then(registration => { - registration.unregister(); - }) - .catch(error => { - console.error(error.message); - }); - } -} diff --git a/examples/vue-datastore/src/setupTests.ts b/examples/vue-datastore/src/setupTests.ts deleted file mode 100644 index 74b1a275a..000000000 --- a/examples/vue-datastore/src/setupTests.ts +++ /dev/null @@ -1,5 +0,0 @@ -// jest-dom adds custom jest matchers for asserting on DOM nodes. -// allows you to do things like: -// expect(element).toHaveTextContent(/react/i) -// learn more: https://github.com/testing-library/jest-dom -import '@testing-library/jest-dom/extend-expect'; diff --git a/examples/vue-datastore/src/shims-vue.d.ts b/examples/vue-datastore/src/shims-vue.d.ts new file mode 100644 index 000000000..3804a43e2 --- /dev/null +++ b/examples/vue-datastore/src/shims-vue.d.ts @@ -0,0 +1,6 @@ +/* eslint-disable */ +declare module '*.vue' { + import type { DefineComponent } from 'vue' + const component: DefineComponent<{}, {}, any> + export default component +} diff --git a/examples/vue-datastore/src/types.ts b/examples/vue-datastore/src/types.ts deleted file mode 100644 index 01194bea6..000000000 --- a/examples/vue-datastore/src/types.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Todo } from "./datastore/generated"; - -export type TodoProps = { - todo: Todo, -}; - -export type TodoListProps = { - todos: Array, -}; - -export type AddTodoProps = { - cancel: () => void, -}; - -export type EditTodoProps = { - todo: Todo, - toggleEdit: () => void, -}; - -export type ToggleTodoProps = { - todo: Todo, -}; - -export type HookState = { - data: any | null, - loading: boolean, - error: Error | null, -}; - -export enum ActionType { - REQ_START = 0, - REQ_SUCCESS = 1, - REQ_FAILED = 2, -}; - -export type ReducerAction = { - type: ActionType, - payload?: any, -} diff --git a/examples/vue-datastore/tsconfig.json b/examples/vue-datastore/tsconfig.json index f2850b716..e621cbc36 100644 --- a/examples/vue-datastore/tsconfig.json +++ b/examples/vue-datastore/tsconfig.json @@ -1,25 +1,39 @@ { "compilerOptions": { - "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], - "allowJs": true, + "target": "esnext", + "module": "esnext", + "strict": true, + "jsx": "preserve", + "importHelpers": true, + "moduleResolution": "node", "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "react" + "sourceMap": true, + "baseUrl": ".", + "types": [ + "webpack-env" + ], + "paths": { + "@/*": [ + "src/*" + ] + }, + "lib": [ + "esnext", + "dom", + "dom.iterable", + "scripthost" + ] }, "include": [ - "src" + "src/**/*.ts", + "src/**/*.tsx", + "src/**/*.vue", + "tests/**/*.ts", + "tests/**/*.tsx" + ], + "exclude": [ + "node_modules" ] } diff --git a/examples/vue-datastore/vue.config.js b/examples/vue-datastore/vue.config.js new file mode 100644 index 000000000..1ff7edc0d --- /dev/null +++ b/examples/vue-datastore/vue.config.js @@ -0,0 +1,11 @@ +module.exports = { + css: { + loaderOptions: { + less: { + lessOptions: { + javascriptEnabled: true + } + } + } + } +}; From 2d8b7bca1ecd41c920c518843900f92e9b53d6c4 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Mon, 1 Mar 2021 04:43:51 +0300 Subject: [PATCH 06/17] feat: vue example feat: vue hooks (full crud) todo: sync is not working correctly --- examples/vue-datastore/.eslintrc.js | 20 -- examples/vue-datastore/.gitignore | 29 --- examples/vue-datastore/.graphqlrc.yml | 8 - examples/vue-datastore/babel.config.js | 9 - examples/vue-datastore/index.html | 13 ++ examples/vue-datastore/package.json | 50 ++--- .../img/icons/android-chrome-192x192.png | Bin 9416 -> 0 bytes .../img/icons/android-chrome-512x512.png | Bin 29808 -> 0 bytes .../icons/android-chrome-maskable-192x192.png | Bin 6401 -> 0 bytes .../icons/android-chrome-maskable-512x512.png | Bin 23038 -> 0 bytes .../img/icons/apple-touch-icon-120x120.png | Bin 3369 -> 0 bytes .../img/icons/apple-touch-icon-152x152.png | Bin 4046 -> 0 bytes .../img/icons/apple-touch-icon-180x180.png | Bin 4678 -> 0 bytes .../img/icons/apple-touch-icon-60x60.png | Bin 1491 -> 0 bytes .../img/icons/apple-touch-icon-76x76.png | Bin 1823 -> 0 bytes .../public/img/icons/apple-touch-icon.png | Bin 4678 -> 0 bytes .../public/img/icons/favicon-16x16.png | Bin 799 -> 0 bytes .../public/img/icons/favicon-32x32.png | Bin 1271 -> 0 bytes .../img/icons/msapplication-icon-144x144.png | Bin 1169 -> 0 bytes .../public/img/icons/mstile-150x150.png | Bin 4282 -> 0 bytes .../public/img/icons/safari-pinned-tab.svg | 3 - examples/vue-datastore/public/index.html | 17 -- examples/vue-datastore/public/robots.txt | 2 - examples/vue-datastore/reactPackage.json | 59 ------ examples/vue-datastore/src/App.tsx | 97 --------- examples/vue-datastore/src/App.vue | 100 +++++++-- .../src/components/Todo/Todo.tsx | 48 ----- .../src/components/Todo/TodoItem.tsx | 57 ++++++ .../src/components/Todo/TodoList.tsx | 57 +++--- .../src/components/Todo/index.ts | 4 +- .../vue-datastore/src/components/UI/Empty.tsx | 26 ++- .../vue-datastore/src/components/UI/Error.tsx | 32 ++- .../src/components/UI/Header.tsx | 15 -- .../src/components/UI/Loading.tsx | 11 - .../src/components/UI/Loading.vue | 13 ++ .../vue-datastore/src/components/UI/index.ts | 6 +- .../src/components/forms/AddTodo.tsx | 37 ---- .../src/components/forms/AddTodo.vue | 41 ++++ .../src/components/forms/EditTodo.tsx | 40 ---- .../src/components/forms/EditTodo.vue | 47 +++++ .../src/components/forms/ToggleTodo.tsx | 32 --- .../src/components/forms/ToggleTodo.vue | 40 ++++ .../src/components/forms/formSchema.ts | 54 ++--- .../src/components/forms/index.ts | 3 - .../vue-datastore/src/components/index.ts | 5 +- .../vue-datastore/src/datastore/config.ts | 8 +- .../src/datastore/generated/index.ts | 1 - .../src/datastore/generated/schema.json | 12 +- .../src/datastore/generated/types.ts | 23 ++- examples/vue-datastore/src/datastore/hooks.ts | 28 ++- examples/vue-datastore/src/main.ts | 10 +- .../src/registerServiceWorker.ts | 34 ---- examples/vue-datastore/src/shims-vue.d.ts | 3 +- examples/vue-datastore/src/types.ts | 39 ++++ examples/vue-datastore/tsconfig.json | 38 +--- examples/vue-datastore/vite.config.ts | 22 ++ examples/vue-datastore/vue.config.js | 11 - .../datastore/datastore/src/vue/StateUtils.ts | 25 ++- .../datastore/src/vue/hooks/delete.ts | 7 +- .../datastore/src/vue/hooks/query.ts | 190 ++++++++++-------- .../datastore/datastore/src/vue/hooks/save.ts | 8 +- .../datastore/src/vue/hooks/subscription.ts | 13 +- .../datastore/src/vue/hooks/update.ts | 9 +- packages/datastore/datastore/tsconfig.json | 17 +- 64 files changed, 676 insertions(+), 797 deletions(-) delete mode 100644 examples/vue-datastore/.eslintrc.js delete mode 100644 examples/vue-datastore/.gitignore delete mode 100644 examples/vue-datastore/.graphqlrc.yml delete mode 100644 examples/vue-datastore/babel.config.js create mode 100644 examples/vue-datastore/index.html delete mode 100644 examples/vue-datastore/public/img/icons/android-chrome-192x192.png delete mode 100644 examples/vue-datastore/public/img/icons/android-chrome-512x512.png delete mode 100644 examples/vue-datastore/public/img/icons/android-chrome-maskable-192x192.png delete mode 100644 examples/vue-datastore/public/img/icons/android-chrome-maskable-512x512.png delete mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-120x120.png delete mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-152x152.png delete mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-180x180.png delete mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-60x60.png delete mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon-76x76.png delete mode 100644 examples/vue-datastore/public/img/icons/apple-touch-icon.png delete mode 100644 examples/vue-datastore/public/img/icons/favicon-16x16.png delete mode 100644 examples/vue-datastore/public/img/icons/favicon-32x32.png delete mode 100644 examples/vue-datastore/public/img/icons/msapplication-icon-144x144.png delete mode 100644 examples/vue-datastore/public/img/icons/mstile-150x150.png delete mode 100644 examples/vue-datastore/public/img/icons/safari-pinned-tab.svg delete mode 100644 examples/vue-datastore/public/index.html delete mode 100644 examples/vue-datastore/public/robots.txt delete mode 100644 examples/vue-datastore/reactPackage.json delete mode 100644 examples/vue-datastore/src/App.tsx delete mode 100644 examples/vue-datastore/src/components/Todo/Todo.tsx create mode 100644 examples/vue-datastore/src/components/Todo/TodoItem.tsx delete mode 100644 examples/vue-datastore/src/components/UI/Header.tsx delete mode 100644 examples/vue-datastore/src/components/UI/Loading.tsx create mode 100644 examples/vue-datastore/src/components/UI/Loading.vue delete mode 100644 examples/vue-datastore/src/components/forms/AddTodo.tsx create mode 100644 examples/vue-datastore/src/components/forms/AddTodo.vue delete mode 100644 examples/vue-datastore/src/components/forms/EditTodo.tsx create mode 100644 examples/vue-datastore/src/components/forms/EditTodo.vue delete mode 100644 examples/vue-datastore/src/components/forms/ToggleTodo.tsx create mode 100644 examples/vue-datastore/src/components/forms/ToggleTodo.vue delete mode 100644 examples/vue-datastore/src/components/forms/index.ts delete mode 100644 examples/vue-datastore/src/registerServiceWorker.ts create mode 100644 examples/vue-datastore/src/types.ts create mode 100644 examples/vue-datastore/vite.config.ts delete mode 100644 examples/vue-datastore/vue.config.js diff --git a/examples/vue-datastore/.eslintrc.js b/examples/vue-datastore/.eslintrc.js deleted file mode 100644 index f948388bf..000000000 --- a/examples/vue-datastore/.eslintrc.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - root: true, - env: { - node: true - }, - extends: [ - "plugin:vue/vue3-essential", - "eslint:recommended", - "@vue/typescript/recommended", - "@vue/prettier", - "@vue/prettier/@typescript-eslint" - ], - parserOptions: { - ecmaVersion: 2020 - }, - rules: { - "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" - } -}; diff --git a/examples/vue-datastore/.gitignore b/examples/vue-datastore/.gitignore deleted file mode 100644 index 4eea610cb..000000000 --- a/examples/vue-datastore/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build - -# misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local -.gradle - -# Log files -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* - -/android -/ios diff --git a/examples/vue-datastore/.graphqlrc.yml b/examples/vue-datastore/.graphqlrc.yml deleted file mode 100644 index e900bd68a..000000000 --- a/examples/vue-datastore/.graphqlrc.yml +++ /dev/null @@ -1,8 +0,0 @@ -schema: './src/schema.graphql' -extensions: - graphback: - # path to data model file(s) - model: './src/model/runtime.graphql' - plugins: - offix-datasync-client-plugin: - modelOutputDir: './src/datasync' diff --git a/examples/vue-datastore/babel.config.js b/examples/vue-datastore/babel.config.js deleted file mode 100644 index c97d61964..000000000 --- a/examples/vue-datastore/babel.config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - presets: ["@vue/cli-plugin-babel/preset"], - plugins: [ - [ - "import", - { libraryName: "ant-design-vue", libraryDirectory: "es", style: "css" } - ] // `style: true` for less - ] -}; diff --git a/examples/vue-datastore/index.html b/examples/vue-datastore/index.html new file mode 100644 index 000000000..11603f878 --- /dev/null +++ b/examples/vue-datastore/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite App + + +
+ + + diff --git a/examples/vue-datastore/package.json b/examples/vue-datastore/package.json index 7389f7ffc..913db3e2f 100644 --- a/examples/vue-datastore/package.json +++ b/examples/vue-datastore/package.json @@ -1,12 +1,15 @@ { "name": "vue-datastore", - "version": "0.1.0", - "private": true, + "version": "0.0.0", "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "lint": "vue-cli-service lint", - "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql" + "dev": "vite", + "build": "vite build", + "serve": "vite preview", + "upgrade-next": "yarn yarn-upgrade-all add vue@next ant-design-vue@next", + "generate": "offix generate --schema ./src/model/runtime.graphql --outputPath ./src/datastore/generated", + "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql", + "linkdatastore": "cd ../../packages/datastore/datastore && yarn link && cd - && yarn link offix-datastore && rm -Rf ./node_modules/react && && rm -Rf ./node_modules/react-dom", + "linkdatastorecli": "cd ../../packages/datastore/cli && yarn link && cd - && yarn link @offix/cli" }, "browserslist": { "production": [ @@ -21,37 +24,26 @@ ] }, "dependencies": { - "@ant-design/icons-vue": "^6.0.1", + "@ant-design/colors": "^6.0.0", "ant-design-vue": "^2.0.1", - "core-js": "^3.6.5", "offix-datastore": "^0.4.0", - "register-service-worker": "^1.7.1", "vue": "^3.0.6", - "graphql.macro": "^1.4.2" + "@ant-design/icons-vue": "^6.0.1" }, "devDependencies": { "@offix/cli": "^0.3.3", - "@typescript-eslint/eslint-plugin": "^2.33.0", - "@typescript-eslint/parser": "^2.33.0", - "@vue/cli-plugin-babel": "^4.5.0", - "@vue/cli-plugin-eslint": "^4.5.0", - "@vue/cli-plugin-pwa": "^4.5.0", - "@vue/cli-plugin-typescript": "^4.5.0", - "@vue/cli-service": "^4.5.0", - "@vue/compiler-sfc": "^3.0.0", - "@vue/eslint-config-prettier": "^6.0.0", - "@vue/eslint-config-typescript": "^5.0.2", + "@types/node": "^14.14.31", + "@vitejs/plugin-vue": "^1.1.4", + "@vitejs/plugin-vue-jsx": "^1.1.2", + "@vue/compiler-sfc": "^3.0.5", "babel-plugin-import": "^1.13.3", - "eslint": "^6.7.2", - "eslint-plugin-prettier": "^3.1.3", - "eslint-plugin-vue": "^7.0.0-0", + "eslint": "^7.21.0", + "eslint-plugin-vue": "^7.6.0", "graphback-cli": "^1.1.2", - "less": "^4.1.1", - "less-loader": "^8.0.0", - "prettier": "^1.19.1", - "sass": "^1.26.5", - "sass-loader": "^8.0.2", + "graphql-serve": "1.1.2", + "sass": "^1.32.8", "typescript": "^4.2.2", - "graphql-serve": "1.1.2" + "vite": "^2.0.4", + "yarn-upgrade-all": "^0.5.4" } } diff --git a/examples/vue-datastore/public/img/icons/android-chrome-192x192.png b/examples/vue-datastore/public/img/icons/android-chrome-192x192.png deleted file mode 100644 index b02aa64d97167ad649e496908b35f14c603d9249..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9416 zcmaiaXIK+m6y}7Elz=p)MnHo|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zYRDmZ;svoiYFtbd6LIti6M5a(jb zd)&7lwR@Fzu3_Q*7(kxzBb6vr^&CI>+R;)M!iEmDlq}dUFlTPU?T-4o&ngpkIK$Y{ zwiNQZ0NJ4x(1U__WJ0H7> zQtw^cDNl)*zuGv3=V*N{Cn{K8P-~(BO;8dhY4*Urw}bOr+{V!Yb+bNlN_I9uLf!ws z$Adk$D5;NsS0$)l(4?+gj>w{wlf?M1zo^(->PJ?2@3Ym-^|e$Vp9)c#D{kmei^e54 zNh6lSnqwhz7eW6{R9DH=2~+48h}LxgXVDF`0Zl-IBU+e)-to+VxQP$1Z#1Ndg5Gm+ zYAC=Pjo?+RffOV_cLM0^v`?+=CxC!24LX7zXtebSm+zMVytAG!%l$YLlOK>XKPCADu5xq3l0m8g4`PwnJ$>dqD;lH zBM};C_VP|7eD8oDuGb%t3f&xKaPxgYVT^?;(D?ECJcfh1kM#u*Lk5T^HVa0`8V?Ps z4Uo4vvf{sf%>akwR%9-RLxY+R7Y6opcb`ottG3-{tAu(jl*AUGK5`;#%BckYK5oeKgJ-DYv&oy^1$0#l64mkuP!EHlOo+JZ8esNn8(>a$Lg1z6zxl8- zL$|(#5(xV8*X2!qiX}L|x$zv0(0%hPgH~oAJ@}?YV=m~d4jt%tAh-y`3z4m5fxM|B zF2>ZpK%*<6C2#%+kZ~mM1Oxxk>vEw;^}txsUfCz$_-3SMPnWT{yVdGE*1}J!YBkPL zQ+ovt#2?b&K)gH~t^H>bCM=zIFW(e02Q=X+B}d(Ka(krQg&b~2+b$W_)#@=~s^x_k z=`=@RlqHxY%|7LB9hlQw=bcBjP8Hmc_G0IwwBmY+_FA(+h`_(& zK(&A?feu+;z;jE99{?2gfB)gwf9ZzaOvH(AeTxo-&;H1~?j6M_q diff --git a/examples/vue-datastore/public/img/icons/apple-touch-icon-120x120.png b/examples/vue-datastore/public/img/icons/apple-touch-icon-120x120.png deleted file mode 100644 index 1427cf62752646ad7217df0a61aa01fdef7475d1..0000000000000000000000000000000000000000 GI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?|vKyI#@(cto;5yEoK-*M!tEPr<7;DkMoOw4o629 zFeAci>yyiby-nV?wsZbS#Y^b4W#PBP?^uNgE*QTxRKZU)vo$ioi{5{tlgp{SW%0qr z70#Z23&GdmYR6rT{;lOIYC<3PB6G0KjY}0lGNGD+yN+A}M!~Z+X0W*njdsCwo^w90 ze6F@vY1(@Z>B+R_rA*{j4bm*Bj8htRU&UO6;p4YNN)l}e_jCwsm!H7lSdt=Gj%O(n zo;ac94z}kW%h~6F2c!8XHRUQeyH}U|bVAKOp_+ADO5PkH?$E4P**m9VIn|FSjis#H zjCZfWrv!g7hlqQ5xZX@=gxMIHU0?yi@61_j-j=;5_uf58HMDq%i)cj%LB6UQw*Bco zn4*;MC@nDR0fZO${V{q`Tel}Ojw=aX#M*xw!RN(PJmITN@CAqD*?KGr5zjf=Ai?~i zR4lE2I`L8Wq?V+JV4>~NhrJ%Vp{*Xt+qw%C-%Vf9yj+TSPH+h8*8{Iefp6-_? zu5p8;GfK3Rx)Hx>pV0aD?b2N2kWJ=eK|^nX-<4NYI}Nd@mj+J%^0$#Qf~GH@3m{d_9(?C z6OSF?p&cwqYbSP=$`_KJYw&yz4t~*3l=}OLu!Z2Cghc62E?9=B%n|cdWib_MK1hCK zsCd;w3@jz@xwM%%`+U~6IlFyIBsirXFu&;TV46nEmbn-h_kd!bg=Lq^Es2QSTL6tx zN@ ROru=^AazZ3N)e9H{|11FNXq~K diff --git a/examples/vue-datastore/public/img/icons/apple-touch-icon-152x152.png b/examples/vue-datastore/public/img/icons/apple-touch-icon-152x152.png deleted file mode 100644 index f24d454a2ecb8851bb893192b64ee09386d30e24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4046 zcma)9c{o&W`#-jfA!Hjdm|-lDE&I+OBeG>DWJyAd#=eV2WGM#U>^s?tk}Xl9GWZ(% zHfSsv`<86=oBsU$@xIr4o$K89Irnot=RVK#`F!r@x}TVt7+eJNfB^uwXo%9Yp!l4> zH;9^Ivy0vZQ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J#3I_ujG?;7(Xv5ni%BjYP4 z^+oydy=)_&bdxYJx`X%G5PFkUB%3h6RiOs^F?#ojsB%DbfhqzGhuv4)S1%vw@PDyE z3xWF{Y^0>+=Wg! z{>z@$rD6ej*V- z^$zKIOWOfdN4~7@ndhru01+3cxwD&_Muyja({*O;-5VnF(e$WDALNStE{1{F#ts+VR{o zSlQ*@U=Du8fgKW$lU~)O)b6FS?H1SSnKVIC=DOvbo8IUvM zVf+U4YxG%qLGd%ew7Jp8>@U`ew+A#Q=2oJHNH@_f!WadS20$KZEZ+BHAvU@FB zzRCYN5r+Z#g`C^hrH$yW7ABstwjvMM*CHGzY41bbo2zy$6E8DAOPn zUnHG?e7?u7pQ}Kqbu1jEd+=mcGea4aL6V4g(m*b7x}z|ijsjb3e|tf-3&^JK{=sWz z8sqIu9jy)#J}n}cXqtXmkb-NDVPcAKn=G9uX42zYvufu_OCr>xJ=oTNp8WA5wEqvM z{r~m8;7_C>U68iRr@|rd7UYhON#(-S_+Uf>s)hhPU{{exlxc&eD diff --git a/examples/vue-datastore/public/img/icons/apple-touch-icon-60x60.png b/examples/vue-datastore/public/img/icons/apple-touch-icon-60x60.png deleted file mode 100644 index cf10a5602e653bb126332934e2b7f34081c19a01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1491 zcmV;^1uXiBP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw0005h zP)t-s|NsB|{{8&@{rvp>{r&x%*}Q|#tcB36gvhFYm6?8tmVSzseTkKdl%VJ7>$v03 zRK1K%x`#-Hc0*KVnxn1${{Hv;`iRl5O}mFouY^TsY(rCKRAY43+TGUg<6OXzNtAm- zR%e5bn)vzpo!PxjwS`7 zhev*NL{(?2v%B*8_Ib;tOR0iHVQOA%eB$Nk$m-fvy^TnVc$A)~`}_O){rrv7vP`jr zMQUwRV{@dewcGLMU%`_~mwZE4XGmFU{{R1@+rdq?hDLR9>G$w##+*x{e?(kqxa7}J zyNO4Eb@luBe$A*%tb#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kAq|5vs>+?U*bdfMc6TmDu+QqnN9xgfZsG25($^;v7U1nBl9Q^o*i z)&?UaYZ=~7XZa75xPKB1s~MB1m<*dN08pqiy*q!)_Kc|;EZs3&nNdMQ5#LFu+J z?*($vO)$hkMOVc16f-ep;K@_~&Y6t?0t9I0(lBkZBfic|u)3pK$Xv=A@jUQnB2sC` zbI)L9m;VNkWOao}2c3b4_u4+bg zuf-@d1$?asdD1~mORQ02#!&1Xm#41*xz}wETNqKb;kueQ*~OpcAXTpJFYUYcKoA&Z z8Ke=2Vh~cu_uTb&6AH75L!k8zo~&wRsDLs^3YkD2!~;%u6sFrzV2A5(FQ|3}+0-K- zWX)W2yq%?^)iKhyMGPB5*DnWBaLqAHLJ47;r5nvkeq3u_?J{Xaf_}6I+xpLwKS7NC z|KYU%zup)8i85jc)^Yt*I0W8;+zHUI3V7@o;3DUYasdq>DFK%im4J)F?;|B-<=}8R z>HESGa5)KyCnGII|E+YX&h4Y+xCRvyX@oGhhG4 j58+{W$RJv~NLLKlV4)8v^7hU(R-4l(}$teLl` diff --git a/examples/vue-datastore/public/img/icons/favicon-16x16.png b/examples/vue-datastore/public/img/icons/favicon-16x16.png deleted file mode 100644 index 42af00963d81b8e39a30435c60ac482d1f8756e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 799 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEf9thF1v;3|2E37{m+a>WRE8{w#)hawXn|-Xp4{E;v!=;4B^%-x&;Cm1 zP>^*#n_J!T^1SBMI!C4h-R53dN8`?ylD}d{L%(vZvUKT)~-CgWFQy3lt zIqW5#zOL*K8HL%o&D;R|TePl5?VWhq^wrj^qed%lKKkpp-FogeyEi+p zE?K8rW7E1fuEJ{5jaaAp0~aIt+keS?T)@vXM=*X}V#VGMCm1~v-+0wr{w3CJ-R8wG zS@XVpzqP-5Mf0H?y-zh=XVL>S6E;rKnDmrMQlmoKbK9p$evXN`oe{6g>lvi)-+#c) zb+Al&$zRqtWk1@VTt6MPmq9d7^!kmXZn8k{sFt`!l%ynwlArU1(iRB6fMfqu& zIjIUIl?AB^nFS@u3=9=>9)IHDC=AokIOTu(jOWuJ24-b$y<~1-Wnu5hBFw@HE)6D! wQ<#-EhbWxBaplC3Ge=~Ou%B-5Sm33{@Jd{;RG<|Mp00i_>zopr0DGh}-~a#s diff --git a/examples/vue-datastore/public/img/icons/favicon-32x32.png b/examples/vue-datastore/public/img/icons/favicon-32x32.png deleted file mode 100644 index 46ca04dee251a4fa85a2891a145fbe20cc619d96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1271 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+0817m!EPlzi}fpbWjb7-1N zREF=ab|~82?p|H&9FPi<3Q0p2_nKbg9F`6d2a)0F5LviN5F-?-1uh6wgGU@;KHLFx zWcX}ub<4|h4hH*lce~e|TIa|N-yLo4RYl&*8eQTtJ=)5A);GJR=Xg%80{Y!&YpYvf zzSsOZP>Ahpcdsq>UfJl9kmb=;?z6GQH8a<1TD9-CHn-w}|NsA+Nb6JrgE+J#$S)X3 zGcfS;fdK35)2Be-Oetf?`zOY13)%G^e)6sPw@*;|%KXdcU#*P1v1-S;t21mOG>nAE-eH;@V%$t;WjcxYXwEUbR z3z>7z#DtTVO-oacoh9{_MQY8Ot-i}F{j^uD+E(t7w)x6MKX=vIp4w>b*IOPH6jixJ zZ#|uAv~yR1m9_1`d$&$jY?ogCnOnuicG8u{jt?HmM3~l)E(#;^5{P>Y|zRB0* zEz%!bA15~jCmrhl{dVr6;-~M#%Kx{>DI^zpsl1afdH67nWtqCYg=$*b#>z9DEt9H` z|+MWPFs%ZPNO+J zf0-lgZs?zWIq~q~#m;eY33n#>L}?XxEeV>+^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!T*R*PT9MPKabsN7KiEGc8TO)3eSxLfuJuczWltX zXKNhPxe)ZM*=qY?yGV4N!6afe=@heG`X{emQtJTcdzc;~+x;K&cHij~ko>FH=416( z%#P|T2KC!_b{E5Q_yx3>pE40x3vsoh>bD(KJ1&WE7;><1;fdKxsejHeayG1oJLBl! zu0DNWS9Emx;QayjQ$CZ~6;&|l&KX$Re}XMpGPnmci}e*#5?TkceN%CFj;&9UKE&!@ znO(VpCY&YC2<)^{)S^ZcxcMo6!n{ElEEWzB)no}XP$_{*1!IH4F=9(E%y%**sv;C zc-`8=TvY)rG0&tkV{rsbxY*uPc6tz8ei-fnaYWCCpTjV9G;n#?t9B}6JH5E` z*#GDkkDsfjd&qwVNI&%V0s(fR*0*t1&OuPDzn{COw;L1}f^~y> zVsRMo&xFi*`f;v@wihpcwV-qZi&hX;X - - diff --git a/examples/vue-datastore/public/index.html b/examples/vue-datastore/public/index.html deleted file mode 100644 index 3e5a13962..000000000 --- a/examples/vue-datastore/public/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - <%= htmlWebpackPlugin.options.title %> - - - -

- - - diff --git a/examples/vue-datastore/public/robots.txt b/examples/vue-datastore/public/robots.txt deleted file mode 100644 index eb0536286..000000000 --- a/examples/vue-datastore/public/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: diff --git a/examples/vue-datastore/reactPackage.json b/examples/vue-datastore/reactPackage.json deleted file mode 100644 index 52af8d604..000000000 --- a/examples/vue-datastore/reactPackage.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "react-offix", - "version": "0.1.0", - "private": true, - "dependencies": { - "@ant-design/icons": "~4.2.1", - "@apollo/react-hooks": "^3.1.5", - "@capacitor-community/sqlite": "^2.4.0", - "@capacitor/android": "2.4.0", - "@testing-library/jest-dom": "^4.2.4", - "@testing-library/react": "^9.3.2", - "@testing-library/user-event": "^7.1.2", - "@types/jest": "^24.0.0", - "@types/node": "^12.0.0", - "@types/react": "^16.9.0", - "@types/react-dom": "^16.9.0", - "antd": "~4.4.1", - "graphql.macro": "^1.4.2", - "offix-datastore": "0.4.0", - "react": "^16.13.1", - "react-dom": "^16.13.1", - "react-scripts": "3.4.1", - "typescript": "4.1.5", - "uniforms": "3.0.0-alpha.5", - "uniforms-antd": "3.0.0-alpha.5", - "uniforms-bridge-graphql": "3.0.0-alpha.5", - "uuidv4": "^6.1.1", - "@capacitor/core": "^2.4.0" - }, - "scripts": { - "start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", - "startServer": "gqlserve serve --datasync --conflict=clientSideWins --port=5400 ./src/model/runtime.graphql", - "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject", - "generate": "offix generate --schema ./src/model/runtime.graphql --outputPath ./src/datastore/generated", - "linkdatastore": "cd ../../packages/datastore/datastore && yarn link && cd - && yarn link offix-datastore && rm -Rf ./node_modules/react && && rm -Rf ./node_modules/react-dom", - "linkdatastorecli": "cd ../../packages/datastore/cli && yarn link && cd - && yarn link @offix/cli" - }, - "eslintConfig": { - "extends": "react-app" - }, - "browserslist": { - "production": [ - ">0.2%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 1 chrome version", - "last 1 firefox version", - "last 1 safari version" - ] - }, - "devDependencies": { - "@capacitor/cli": "^2.4.0", - "graphql-serve": "1.1.1" - } -} diff --git a/examples/vue-datastore/src/App.tsx b/examples/vue-datastore/src/App.tsx deleted file mode 100644 index 8976f5cd1..000000000 --- a/examples/vue-datastore/src/App.tsx +++ /dev/null @@ -1,97 +0,0 @@ -import { Button } from "ant-design-vue"; -import { NetworkStatusEvent } from "offix-datastore/types/replication/network/NetworkStatus"; -import { defineComponent, h, onMounted, ref, watch } from "vue"; -import { AddTodo, Error, Header, Loading, TodoList } from "./components"; -import { datastore } from "./datastore/config"; -import { useFindTodos } from "./datastore/hooks"; - -function App() { - return defineComponent({ - components: { - Button - }, - setup() { - const replicating = ref(true); - const addView = ref(false); - - const { loading, error, data, subscribeToUpdates } = useFindTodos(); - - onMounted(() => { - datastore.getNetworkIndicator()?.subscribe({ - next: (event: NetworkStatusEvent) => { - if (event.isOnline) { - datastore.startReplication(); - replicating.value = true; - } else { - datastore.stopReplication(); - replicating.value = false; - } - } - }); - }); - - watch( - data, - () => { - const subscription = subscribeToUpdates(); - return () => subscription.unsubscribe(); - }, - { deep: true, immediate: true } - ); - // FIXME: - if (loading) return () => ; - // FIXME: - if (error) return ; - - return () => - h( -
-
-
(addView.value = false)} - extra={ - addView.value ? null : ( - <> - - - - ) - } - > - {!addView && ( - <> - - - )} - {addView && ( - <> - (addView.value = true)} /> - - )} -
-
-
- ); - } - }); -} - -const containerStyle = { - display: "flex", - alignItems: "start", - justifyContent: "center", - minHeight: "100vh", - width: "100vw", - padding: "2em 0" -}; - -export default App; diff --git a/examples/vue-datastore/src/App.vue b/examples/vue-datastore/src/App.vue index 6da59b1d2..ebe829b5f 100644 --- a/examples/vue-datastore/src/App.vue +++ b/examples/vue-datastore/src/App.vue @@ -1,27 +1,89 @@ - - - diff --git a/examples/vue-datastore/src/components/Todo/Todo.tsx b/examples/vue-datastore/src/components/Todo/Todo.tsx deleted file mode 100644 index 78a4234af..000000000 --- a/examples/vue-datastore/src/components/Todo/Todo.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import React, { useState, FormEvent } from 'react'; -import { Row, Col, Button } from 'antd'; -import { EditOutlined, DeleteOutlined } from '@ant-design/icons'; - -import { EditTodo, ToggleTodo } from '../forms'; -import { TodoProps } from '../../types'; -import { useDeleteTodo } from '../../datastore/hooks'; - -export const Todo = ({ todo }: TodoProps) => { - const [edit, setEdit] = useState(false); - const { remove: deleteTodo } = useDeleteTodo(); - - const handleDelete = (e: FormEvent) => { - e.preventDefault(); - deleteTodo(todo) - .then((res: any) => console.log(res)) - .catch((error: any) => console.log(error)); - }; - - if (edit) { - return ( - setEdit(!edit)} - /> - ); - } - - return ( - - - -

- Description:
- {todo.description} -

- - - - - -
- ); -}; diff --git a/examples/vue-datastore/src/components/Todo/TodoItem.tsx b/examples/vue-datastore/src/components/Todo/TodoItem.tsx new file mode 100644 index 000000000..2b98f357e --- /dev/null +++ b/examples/vue-datastore/src/components/Todo/TodoItem.tsx @@ -0,0 +1,57 @@ +import { DeleteOutlined, EditOutlined } from "@ant-design/icons-vue"; +import { defineComponent, h, ref } from "@vue/runtime-core"; +import { PropType } from "vue"; +import { useDeleteTodo } from "../../datastore/hooks"; +import EditTodo from "../forms/EditTodo.vue"; +import ToggleTodo from "../forms/ToggleTodo.vue"; +import { Todo } from "/@/datastore/generated"; +export const TodoItem = defineComponent({ + props: { + todo: { + type: Object as PropType, + required: true, + }, + }, + components: { + ToggleTodo, + EditTodo, + }, + setup(props) { + const { remove: deleteTodo } = useDeleteTodo(); + const edit = ref(false); + const handleDelete = () => { + deleteTodo(props.todo) + .then((res) => console.log("response", res)) + .catch((error: any) => console.log(error)); + }; + + return () => + h( + edit.value ? ( + (edit.value = !edit.value)} + /> + ) : ( + + + +

+ Description: +
+ {props.todo.description} +

+
+ + (edit.value = true)}> + + + + + + +
+ ) + ); + }, +}); diff --git a/examples/vue-datastore/src/components/Todo/TodoList.tsx b/examples/vue-datastore/src/components/Todo/TodoList.tsx index 85605cce4..c1e3545b8 100644 --- a/examples/vue-datastore/src/components/Todo/TodoList.tsx +++ b/examples/vue-datastore/src/components/Todo/TodoList.tsx @@ -1,27 +1,32 @@ -import React from 'react'; -import { Card } from 'antd'; +import { computed, defineComponent, h, PropType } from "vue"; +import { Todo } from "../../datastore/generated"; +import { Empty } from "../UI"; +import { TodoItem } from "./TodoItem"; -import { Empty } from '../UI'; -import { Todo } from './Todo'; -import { TodoListProps } from '../../types'; - -export const TodoList = ({ todos }: TodoListProps) => { - - if (!todos || todos.length === 0) return ; - - return ( - // map through todos and render - // each todo item - <> - { - todos && todos.map((todo) => ( - - - - )) - } - - ); -}; +export const TodoList = defineComponent({ + props: { + todos: { + type: Array as PropType, + required: true, + default: () => [], + }, + }, + components: { + TodoItem, + Empty, + }, + setup(props) { + const noTodos = computed(() => !props.todos || props.todos.length === 0); + return () => + h("div", {}, [ + noTodos.value ? h() : null, + ...props.todos.map((todo) => + h( + + + + ) + ), + ]); + }, +}); diff --git a/examples/vue-datastore/src/components/Todo/index.ts b/examples/vue-datastore/src/components/Todo/index.ts index 3a6dc8a33..4022695b4 100644 --- a/examples/vue-datastore/src/components/Todo/index.ts +++ b/examples/vue-datastore/src/components/Todo/index.ts @@ -1,2 +1,2 @@ -export { Todo } from './Todo'; -export { TodoList } from './TodoList'; \ No newline at end of file +export * from "./TodoItem"; +export * from "./TodoList"; diff --git a/examples/vue-datastore/src/components/UI/Empty.tsx b/examples/vue-datastore/src/components/UI/Empty.tsx index 65367c908..d2570c171 100644 --- a/examples/vue-datastore/src/components/UI/Empty.tsx +++ b/examples/vue-datastore/src/components/UI/Empty.tsx @@ -1,11 +1,17 @@ -import React from 'react'; +//@ts-nocheck //FIXME: remove ignore +import { defineComponent, h } from "@vue/runtime-core"; -export const Empty = () => { - return ( -
-
-

You have no todo items

-

Click the button to create a new task

-
- ); -}; +export const Empty = defineComponent({ + setup() { + return () => + h( +
+
+ +
+

You have no todo items

+

Click the button to create a new task

+
+ ); + } +}); diff --git a/examples/vue-datastore/src/components/UI/Error.tsx b/examples/vue-datastore/src/components/UI/Error.tsx index 509691d71..647f70f75 100644 --- a/examples/vue-datastore/src/components/UI/Error.tsx +++ b/examples/vue-datastore/src/components/UI/Error.tsx @@ -1,12 +1,22 @@ -import React from 'react'; -import { Result } from 'antd'; +import { defineComponent, h } from "vue"; -export function Error({ message }: { message: string }) { - return ( - - ); -} \ No newline at end of file +export const Error = defineComponent({ + name: "Error", + props: { + message: { + type: String, + required: false, + default: "", + }, + }, + setup(props) { + return () => + h( + + ); + }, +}); diff --git a/examples/vue-datastore/src/components/UI/Header.tsx b/examples/vue-datastore/src/components/UI/Header.tsx deleted file mode 100644 index 2ce010df0..000000000 --- a/examples/vue-datastore/src/components/UI/Header.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { PageHeader } from 'antd'; - -export function Header({ title, onBack, extra, children } : any, props : any) { - return ( - - { children } - - ); -} diff --git a/examples/vue-datastore/src/components/UI/Loading.tsx b/examples/vue-datastore/src/components/UI/Loading.tsx deleted file mode 100644 index f6a3f7763..000000000 --- a/examples/vue-datastore/src/components/UI/Loading.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { Result, Spin } from 'antd'; - -export function Loading() { - return ( - } - title="Loading..." - /> - ); -} \ No newline at end of file diff --git a/examples/vue-datastore/src/components/UI/Loading.vue b/examples/vue-datastore/src/components/UI/Loading.vue new file mode 100644 index 000000000..328b5fb6b --- /dev/null +++ b/examples/vue-datastore/src/components/UI/Loading.vue @@ -0,0 +1,13 @@ + + diff --git a/examples/vue-datastore/src/components/UI/index.ts b/examples/vue-datastore/src/components/UI/index.ts index 4d2d3c1af..b7f93e1a7 100644 --- a/examples/vue-datastore/src/components/UI/index.ts +++ b/examples/vue-datastore/src/components/UI/index.ts @@ -1,4 +1,2 @@ -export { Empty } from './Empty'; -export { Error } from './Error'; -export { Header } from './Header'; -export { Loading } from './Loading'; \ No newline at end of file +export { Empty } from "./Empty"; +export { Error } from "./Error"; diff --git a/examples/vue-datastore/src/components/forms/AddTodo.tsx b/examples/vue-datastore/src/components/forms/AddTodo.tsx deleted file mode 100644 index 941d2879c..000000000 --- a/examples/vue-datastore/src/components/forms/AddTodo.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import React from 'react'; -import { Button } from 'antd'; -import { - AutoForm, - TextField, - LongTextField, - SubmitField -} from 'uniforms-antd'; - -import { AddTodoProps } from '../../types'; -import { schema } from './formSchema'; -import { useAddTodo } from '../../datastore/hooks'; -import { Todo } from '../../datastore/generated'; - -export const AddTodo = ({ cancel }: AddTodoProps) => { - - const { save: addTodo } = useAddTodo(); - - const handleSubmit = ({ title, description }: Todo) => { - addTodo({ - title, - description, - completed: false, - }) - .then(() => cancel()) - .catch((error: any) => console.log(error)); - }; - - return ( - - - - - - - ); -}; diff --git a/examples/vue-datastore/src/components/forms/AddTodo.vue b/examples/vue-datastore/src/components/forms/AddTodo.vue new file mode 100644 index 000000000..582b12783 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/AddTodo.vue @@ -0,0 +1,41 @@ + + diff --git a/examples/vue-datastore/src/components/forms/EditTodo.tsx b/examples/vue-datastore/src/components/forms/EditTodo.tsx deleted file mode 100644 index 67e654513..000000000 --- a/examples/vue-datastore/src/components/forms/EditTodo.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import React from 'react'; -import { Button } from 'antd'; -import { AutoForm, TextField, LongTextField, SubmitField } from 'uniforms-antd'; - -import { schema } from './formSchema'; -import { EditTodoProps } from '../../types'; -import { useEditTodo } from '../../datastore/hooks'; -import { Todo } from '../../datastore/generated'; - -export const EditTodo = ({ todo, toggleEdit }: EditTodoProps) => { - - const { update: editTodo } = useEditTodo(); - - const handleUpdate = (todo: Todo) => { - editTodo({ - ...todo, - title: todo.title, - description: todo.description, - _version: todo._version ?? 1, - }) - .then(() => toggleEdit()) - .catch((error: any) => { - console.log(error); - }); - }; - - return ( - - - - - - - ); -}; diff --git a/examples/vue-datastore/src/components/forms/EditTodo.vue b/examples/vue-datastore/src/components/forms/EditTodo.vue new file mode 100644 index 000000000..7aa687530 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/EditTodo.vue @@ -0,0 +1,47 @@ + + diff --git a/examples/vue-datastore/src/components/forms/ToggleTodo.tsx b/examples/vue-datastore/src/components/forms/ToggleTodo.tsx deleted file mode 100644 index 30f7d7dc2..000000000 --- a/examples/vue-datastore/src/components/forms/ToggleTodo.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import React from 'react'; -import { QuickForm, BoolField } from 'uniforms-antd'; - -import { ToggleTodoProps } from "../../types"; -import { schema } from './formSchema'; -import { useEditTodo } from '../../datastore/hooks'; - -export function ToggleTodo({ todo }: ToggleTodoProps) { - - const { update: editTodo } = useEditTodo(); - - const handleUpdate = () => { - editTodo({ - ...todo, - _version: todo._version ?? 1, - completed: !todo.completed, - }) - .then((res: any) => console.log("response", res)) - .catch((error: any) => console.log("error", error)); - }; - - return ( - - - - ); -} diff --git a/examples/vue-datastore/src/components/forms/ToggleTodo.vue b/examples/vue-datastore/src/components/forms/ToggleTodo.vue new file mode 100644 index 000000000..644c15db0 --- /dev/null +++ b/examples/vue-datastore/src/components/forms/ToggleTodo.vue @@ -0,0 +1,40 @@ + + diff --git a/examples/vue-datastore/src/components/forms/formSchema.ts b/examples/vue-datastore/src/components/forms/formSchema.ts index ce68f5c62..eb0e40fc2 100644 --- a/examples/vue-datastore/src/components/forms/formSchema.ts +++ b/examples/vue-datastore/src/components/forms/formSchema.ts @@ -1,33 +1,33 @@ -import { GraphQLBridge } from 'uniforms-bridge-graphql'; -import { buildASTSchema } from 'graphql'; -import { loader } from 'graphql.macro'; -import { Todo } from '../../datastore/generated'; +// import { GraphQLBridge } from 'uniforms-bridge-graphql'; +// import { buildASTSchema } from 'graphql'; +// import { loader } from 'graphql.macro'; +// import { Todo } from '../../datastore/generated'; -// import the grapqhl model -const model = loader('../../model/runtime.graphql'); +// // import the grapqhl model +// const model = loader('../../model/runtime.graphql'); -const validator = (model: Todo) => { - const details = []; +// const validator = (model: Todo) => { +// const details = []; - if (!model.title) { - details.push({ name: 'title' }); - } +// if (!model.title) { +// details.push({ name: 'title' }); +// } - if (details.length) { - // eslint-disable-next-line - throw { details }; - } -}; +// if (details.length) { +// // eslint-disable-next-line +// throw { details }; +// } +// }; -const data = { - title: { - required: true, - errorMessage: 'Title is required', - } -} +// const data = { +// title: { +// required: true, +// errorMessage: 'Title is required', +// } +// } -export const schema = new GraphQLBridge( - buildASTSchema((model)).getType('Todo'), - validator, - data, -); +// export const schema = new GraphQLBridge( +// buildASTSchema((model)).getType('Todo'), +// validator, +// data, +// ); diff --git a/examples/vue-datastore/src/components/forms/index.ts b/examples/vue-datastore/src/components/forms/index.ts deleted file mode 100644 index 016c57292..000000000 --- a/examples/vue-datastore/src/components/forms/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { AddTodo } from './AddTodo'; -export { EditTodo } from './EditTodo'; -export { ToggleTodo } from './ToggleTodo'; \ No newline at end of file diff --git a/examples/vue-datastore/src/components/index.ts b/examples/vue-datastore/src/components/index.ts index c902aa263..566d0f985 100644 --- a/examples/vue-datastore/src/components/index.ts +++ b/examples/vue-datastore/src/components/index.ts @@ -1,3 +1,2 @@ -export { Todo, TodoList } from './Todo'; -export { AddTodo, EditTodo, ToggleTodo } from './forms'; -export { Empty, Error, Loading, Header } from './UI'; \ No newline at end of file +export * from "./Todo"; +export * from "./UI"; diff --git a/examples/vue-datastore/src/datastore/config.ts b/examples/vue-datastore/src/datastore/config.ts index e92617528..a6118cfaa 100644 --- a/examples/vue-datastore/src/datastore/config.ts +++ b/examples/vue-datastore/src/datastore/config.ts @@ -1,12 +1,12 @@ -import { DataStore } from 'offix-datastore'; -import { schema, User, Todo } from './generated'; +import { DataStore } from "offix-datastore"; +import { schema, User, Todo } from "./generated"; export const datastore = new DataStore({ dbName: "offix-datasync", replicationConfig: { client: { url: "http://localhost:5400/graphql", - wsUrl: "ws://localhost:5400/graphql", + wsUrl: "ws://localhost:5400/graphql" }, delta: { enabled: true, pullInterval: 20000 }, mutations: { enabled: true }, @@ -22,7 +22,7 @@ datastore.init(); // After init we can start replication immediately with: // datastore.startReplication() // Or we can start replication at a later stage. -// +// // we can also execute operations freely using hooks in components and plain js. // const user = { name: "User" + new Date().getTime() }; // UserModel.save(user).then(async (result) => { diff --git a/examples/vue-datastore/src/datastore/generated/index.ts b/examples/vue-datastore/src/datastore/generated/index.ts index 7d28cc6ed..b96956dff 100644 --- a/examples/vue-datastore/src/datastore/generated/index.ts +++ b/examples/vue-datastore/src/datastore/generated/index.ts @@ -2,5 +2,4 @@ import { GeneratedModelSchema } from "offix-datastore"; import jsonSchema from "./schema.json"; export const schema = jsonSchema as GeneratedModelSchema; - export * from "./types"; diff --git a/examples/vue-datastore/src/datastore/generated/schema.json b/examples/vue-datastore/src/datastore/generated/schema.json index 5ee203f14..9a435673b 100644 --- a/examples/vue-datastore/src/datastore/generated/schema.json +++ b/examples/vue-datastore/src/datastore/generated/schema.json @@ -27,6 +27,11 @@ "type": "string", "key": "_version", "isRequired": true + }, + "_lastUpdatedAt": { + "type": "number", + "key": "_lastUpdatedAt", + "isRequired": true } } }, @@ -51,7 +56,12 @@ "type": "string", "key": "_version", "isRequired": true + }, + "_lastUpdatedAt": { + "type": "number", + "key": "_lastUpdatedAt", + "isRequired": true } } } -} +} \ No newline at end of file diff --git a/examples/vue-datastore/src/datastore/generated/types.ts b/examples/vue-datastore/src/datastore/generated/types.ts index 0fe37641c..57f0d9753 100644 --- a/examples/vue-datastore/src/datastore/generated/types.ts +++ b/examples/vue-datastore/src/datastore/generated/types.ts @@ -1,19 +1,20 @@ export interface Todo { - _id: string; - title?: string; - description?: string; - completed?: boolean - _version: number; + _id: string; + title?: string; + description?: string; + completed?: boolean; + _version: string; + _lastUpdatedAt: number; } export type TodoCreate = Omit; -export type TodoChange = Pick & Partial; - +export type TodoChange = Pick & Partial; export interface User { - _id: string; - name: string - _version: number; + _id: string; + name: string; + _version: string; + _lastUpdatedAt: number; } export type UserCreate = Omit; -export type UserChange = Pick & Partial; +export type UserChange = Pick & Partial; diff --git a/examples/vue-datastore/src/datastore/hooks.ts b/examples/vue-datastore/src/datastore/hooks.ts index f1053ff7f..327afb3d6 100644 --- a/examples/vue-datastore/src/datastore/hooks.ts +++ b/examples/vue-datastore/src/datastore/hooks.ts @@ -1,11 +1,23 @@ -import { Filter, useQuery, useSave, useUpdate, useRemove } from 'offix-datastore'; -import { TodoModel } from './config'; -import { Todo } from './generated'; +import { Filter } from "offix-datastore"; +import { Model } from "../../../../packages/datastore/datastore/src/Model"; +import { + useQuery, + useRemove, + useSave, + useUpdate +} from "../../../../packages/datastore/datastore/src/vue"; +import { TodoModel } from "./config"; +import { Todo, TodoChange, TodoCreate } from "./generated"; +// FIXME: how to handle wrong model type from package and from monorepo? +const castModel = (model: unknown) => { + return model as Model; +}; +const castedTodoModel = castModel(TodoModel); +export const useFindTodos = (filter?: Filter) => + useQuery({ model: castedTodoModel, filter: filter }); -export const useFindTodos = (filter?: Filter) => useQuery(TodoModel, filter); +export const useAddTodo = () => useSave(castedTodoModel); -export const useAddTodo = () => useSave(TodoModel); +export const useEditTodo = () => useUpdate(castedTodoModel); -export const useEditTodo = () => useUpdate(TodoModel); - -export const useDeleteTodo = () => useRemove(TodoModel); +export const useDeleteTodo = () => useRemove(castedTodoModel); diff --git a/examples/vue-datastore/src/main.ts b/examples/vue-datastore/src/main.ts index 620d8f88d..fade0d8fe 100644 --- a/examples/vue-datastore/src/main.ts +++ b/examples/vue-datastore/src/main.ts @@ -1,5 +1,9 @@ +// import "@/styles/index.scss"; +import Antd from "ant-design-vue"; +import "ant-design-vue/dist/antd.css"; import { createApp } from "vue"; -import App from "./App"; -import "./registerServiceWorker"; +import App from "./App.vue"; -createApp(App).mount("#app"); +const app = createApp(App); +app.use(Antd); +app.mount("#app"); diff --git a/examples/vue-datastore/src/registerServiceWorker.ts b/examples/vue-datastore/src/registerServiceWorker.ts deleted file mode 100644 index 30b7895d2..000000000 --- a/examples/vue-datastore/src/registerServiceWorker.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* eslint-disable no-console */ - -import { register } from "register-service-worker"; - -if (process.env.NODE_ENV === "production") { - register(`${process.env.BASE_URL}service-worker.js`, { - ready() { - console.log( - "App is being served from cache by a service worker.\n" + - "For more details, visit https://goo.gl/AFskqB" - ); - }, - registered() { - console.log("Service worker has been registered."); - }, - cached() { - console.log("Content has been cached for offline use."); - }, - updatefound() { - console.log("New content is downloading."); - }, - updated() { - console.log("New content is available; please refresh."); - }, - offline() { - console.log( - "No internet connection found. App is running in offline mode." - ); - }, - error(error) { - console.error("Error during service worker registration:", error); - } - }); -} diff --git a/examples/vue-datastore/src/shims-vue.d.ts b/examples/vue-datastore/src/shims-vue.d.ts index 3804a43e2..ac1ded792 100644 --- a/examples/vue-datastore/src/shims-vue.d.ts +++ b/examples/vue-datastore/src/shims-vue.d.ts @@ -1,6 +1,5 @@ -/* eslint-disable */ declare module '*.vue' { - import type { DefineComponent } from 'vue' + import { DefineComponent } from 'vue' const component: DefineComponent<{}, {}, any> export default component } diff --git a/examples/vue-datastore/src/types.ts b/examples/vue-datastore/src/types.ts new file mode 100644 index 000000000..979af5c6a --- /dev/null +++ b/examples/vue-datastore/src/types.ts @@ -0,0 +1,39 @@ +import { Todo } from "./datastore/generated"; + +export type TodoProps = { + todo: Todo; +}; + +export type TodoListProps = { + todos: Array; +}; + +export type AddTodoProps = { + cancel: () => void; +}; + +export type EditTodoProps = { + todo: Todo; + toggleEdit: () => void; +}; + +export type ToggleTodoProps = { + todo: Todo; +}; + +export type HookState = { + data: any | null; + loading: boolean; + error: Error | null; +}; + +export enum ActionType { + REQ_START = 0, + REQ_SUCCESS = 1, + REQ_FAILED = 2 +} + +export type ReducerAction = { + type: ActionType; + payload?: any; +}; diff --git a/examples/vue-datastore/tsconfig.json b/examples/vue-datastore/tsconfig.json index e621cbc36..2ac9574ad 100644 --- a/examples/vue-datastore/tsconfig.json +++ b/examples/vue-datastore/tsconfig.json @@ -2,38 +2,22 @@ "compilerOptions": { "target": "esnext", "module": "esnext", + "moduleResolution": "node", "strict": true, "jsx": "preserve", - "importHelpers": true, - "moduleResolution": "node", - "skipLibCheck": true, + "sourceMap": true, + "resolveJsonModule": true, "esModuleInterop": true, + "lib": ["esnext", "dom"], + "types": ["vite/client"], + "importHelpers": true, + "experimentalDecorators": true, "allowSyntheticDefaultImports": true, - "sourceMap": true, "baseUrl": ".", - "types": [ - "webpack-env" - ], "paths": { - "@/*": [ - "src/*" - ] - }, - "lib": [ - "esnext", - "dom", - "dom.iterable", - "scripthost" - ] + "/@/*": ["src/*"] + } }, - "include": [ - "src/**/*.ts", - "src/**/*.tsx", - "src/**/*.vue", - "tests/**/*.ts", - "tests/**/*.tsx" - ], - "exclude": [ - "node_modules" - ] + "exclude": ["node_modules", "dist"], + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] } diff --git a/examples/vue-datastore/vite.config.ts b/examples/vue-datastore/vite.config.ts new file mode 100644 index 000000000..785fa8039 --- /dev/null +++ b/examples/vue-datastore/vite.config.ts @@ -0,0 +1,22 @@ +import vue from "@vitejs/plugin-vue"; +import vueJsx from "@vitejs/plugin-vue-jsx"; +import { resolve } from "path"; +import { defineConfig } from "vite"; + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [ + vue(), + vueJsx({ + // options are passed on to @vue/babel-plugin-jsx + }), + ], + resolve: { + alias: { + "@/": resolve(__dirname, "src"), + }, + }, + optimizeDeps: { + include: ["@ant-design/icons-vue"], + }, +}); diff --git a/examples/vue-datastore/vue.config.js b/examples/vue-datastore/vue.config.js deleted file mode 100644 index 1ff7edc0d..000000000 --- a/examples/vue-datastore/vue.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - css: { - loaderOptions: { - less: { - lessOptions: { - javascriptEnabled: true - } - } - } - } -}; diff --git a/packages/datastore/datastore/src/vue/StateUtils.ts b/packages/datastore/datastore/src/vue/StateUtils.ts index 651e1f043..9ed18b947 100644 --- a/packages/datastore/datastore/src/vue/StateUtils.ts +++ b/packages/datastore/datastore/src/vue/StateUtils.ts @@ -1,5 +1,5 @@ import { Maybe } from "graphql/jsutils/Maybe"; -import { reactive } from "vue"; +import { Ref, ref } from "vue"; import { ActionType } from "../utils/ActionsTypes"; export interface Action { @@ -17,18 +17,17 @@ export interface ReactiveState { data: Maybe[]; error: Maybe; } -export const initialState = (): ReactiveState => - reactive>({ +export const initialState = (): Ref> => + ref>({ loading: false, data: [], error: null, - }) as ReactiveState; - + }) as Ref>; export const changeState = ({ action, state, }: { - state: ReactiveState; + state: Ref>; action: Action; }) => { const data = (() => { @@ -38,18 +37,18 @@ export const changeState = ({ })(); switch (action.type) { case ActionType.INITIATE_REQUEST: - state.loading = true; - state.error = null; + state.value.loading = true; + state.value.error = null; break; case ActionType.REQUEST_COMPLETE: - state.loading = false; - state.data = data; - state.error = action.error; + state.value.loading = false; + state.value.data = data; + state.value.error = action.error; break; case ActionType.UPDATE_RESULT: // Don't update result when request is loading - if (!state.loading) { - state.data = data; + if (!state.value.loading) { + state.value.data = data; } break; } diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/datastore/src/vue/hooks/delete.ts index 5eae3459a..c6d204f62 100644 --- a/packages/datastore/datastore/src/vue/hooks/delete.ts +++ b/packages/datastore/datastore/src/vue/hooks/delete.ts @@ -1,4 +1,3 @@ -import { readonly } from "@vue/reactivity"; import { Filter } from "../../filters"; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; @@ -8,14 +7,14 @@ export const useRemove = (model: Model) => { const state = initialState(); const remove = async (filter: Filter) => { - if (state.loading) return; + if (state.value.loading) return; changeState({ state, action: { type: ActionType.INITIATE_REQUEST }, }); try { - const results = await model.remove(filter); + const results = (await model.remove(filter)) as TModel[]; changeState({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results }, @@ -29,5 +28,5 @@ export const useRemove = (model: Model) => { } }; - return { state: readonly(state), remove }; + return { state: state, remove }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts index db7b989a8..7073879b8 100644 --- a/packages/datastore/datastore/src/vue/hooks/query.ts +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -1,6 +1,5 @@ -import { readonly } from "@vue/reactivity"; import { Maybe } from "graphql/jsutils/Maybe"; -import { Ref, watch } from "vue"; +import { ref, Ref, watch } from "vue"; import { Filter } from "../../filters"; import { Model } from "../../Model"; import { CRUDEvents, StoreChangeEvent } from "../../storage"; @@ -11,42 +10,61 @@ import { initialState, ReactiveState, } from "../StateUtils"; +interface UpdateArr { + oldArr: T[]; + newArr: T[]; + primaryKeyName: string; +} -const onAdded = (state: ReactiveState, newData: TModel[]) => { - const changedData = [...state.data, ...newData]; - return changedData; +const updateArr = ({ oldArr, newArr, primaryKeyName }: UpdateArr) => { + const finalArr = [...oldArr]; + const map = new Map( + oldArr.map((el, i) => [(el as Record)[primaryKeyName], i]) + ); + for (const newItem of newArr) { + const newItemKey = (newItem as Record)[primaryKeyName]; + const i = map.get(newItemKey); + if (i != null && i >= 0) { + finalArr.splice(i, 1, newItem); + } else { + finalArr.push(newItem); + } + } + return finalArr; }; -const onChanged = ( - state: ReactiveState, - newData: TModel[], +const onAdded = ( + state: Ref>, + newData: TItem[], primaryKeyName: string -) => { - if (state.data.length == 0) return state.data; +) => + updateArr({ + newArr: newData, + oldArr: state.value.data, + primaryKeyName, + }); - // What happens to data that get's updated and falls outside original query filter? - const changedData = state.data.map((d) => { - const dPrimaryKey = (d as Record)[primaryKeyName]; - const index = newData.findIndex( - (newD) => - (newD as Record)[primaryKeyName] === dPrimaryKey - ); - if (index === -1) { - return d; - } - return newData[index]; +const onChanged = ( + state: Ref>, + newData: TItem[], + primaryKeyName: string +) => { + if (state.value.data.length === 0) return state.value.data; + return updateArr({ + newArr: newData, + oldArr: state.value.data, + primaryKeyName, }); - return changedData; }; -const onIdSwapped = ( - state: ReactiveState, - newData: IdSwap[], +const onIdSwapped = ( + state: Ref>, + newData: IdSwap[], primaryKeyName: string ) => { - if (state.data.length == 0) return state.data; + if (state.value.data.length === 0) return state.value.data; - const changedData = state.data.map((d) => { + const changedData = state.value.data.map((d) => { const dPrimaryKey = (d as Record)[primaryKeyName]; const index = newData.findIndex( (newD) => @@ -61,13 +79,13 @@ const onIdSwapped = ( return changedData; }; -const onRemoved = ( - state: ReactiveState, - removedData: TModel[], +const onRemoved = ( + state: Ref>, + removedData: TItem[], primaryKeyName: string ) => { - if (state.data.length == 0) return state.data; - const changedData = state.data.filter((d) => { + if (state.value.data.length === 0) return state.value.data; + const changedData = state.value.data.filter((d) => { const dPrimaryKey = (d as Record)[primaryKeyName]; return removedData.findIndex( (newD) => @@ -77,15 +95,15 @@ const onRemoved = ( return changedData; }; -export const updateResult = ( - state: ReactiveState, +export const updateResult = ( + state: Ref>, event: StoreChangeEvent, primaryKeyName: string ) => { const data = event.data; switch (event.eventType) { case CRUDEvents.ADD: - return onAdded(state, data); + return onAdded(state, data, primaryKeyName); case CRUDEvents.UPDATE: return onChanged(state, data, primaryKeyName); case CRUDEvents.ID_SWAP: @@ -97,17 +115,17 @@ export const updateResult = ( } }; -const createSubscribeToUpdates = ( - state: ReactiveState, - model: Model +const createSubscribeToUpdates = ( + state: Ref>, + model: Model ) => { return ( eventsToWatch?: CRUDEvents[], customEventHandler?: ( - state: ReactiveState, + state: Ref>, // FIXME: investigate type - data: Maybe[]> - ) => Maybe[]> + data: Maybe[]> + ) => Maybe[]> ) => { const subscription = model.subscribe((event) => { let newData; @@ -130,26 +148,24 @@ const createSubscribeToUpdates = ( }; }; -interface QueryResults extends UseQuery { - state: ReactiveState; +interface QueryResults extends UseQuery { + state: Ref>; } -const queryResults = async ({ +const queryResults = async ({ state, - selector, + filter, model, -}: QueryResults) => { - if (state.loading) { - return; - } +}: QueryResults) => { + if (state.value.loading) return; changeState({ state, action: { type: ActionType.INITIATE_REQUEST } }); try { let results; - const selectorValue = selector.value; - if (typeof selectorValue === "string") { - results = await model.value.queryById(selectorValue); + const filterValue = filter; + if (typeof filterValue === "string") { + results = await model.queryById(filterValue); } else { - results = await model.value.query(selectorValue); + results = await model.query(filterValue); } changeState({ state, @@ -163,56 +179,64 @@ const queryResults = async ({ } }; -interface UseQuery { - model: Ref>; - selector: Ref | string | undefined>; +interface UseQuery { + model: Model; + filter: Filter | string | undefined; } -const subscribeQueryToUpdates = ({ +const subscribeQueryToUpdates = ({ state, model, }: { - state: ReactiveState; - model: Ref>; -}) => () => { + state: Ref>; + model: Ref>; +}) => { + let subscriptionFn = createSubscribeToUpdates(state, model.value); watch( model, () => { - createSubscribeToUpdates(state, model.value); + subscriptionFn = createSubscribeToUpdates(state, model.value); }, { deep: true, immediate: true } ); + return subscriptionFn; }; -export const useQuery = ({ model, selector }: UseQuery) => { - const state = initialState(); - const subscribeToUpdates = subscribeQueryToUpdates({ model, state }); - const runQuery = () => - queryResults({ - model, +export const useQuery = (arg: UseQuery) => { + const argRef = ref(arg); + const modelRef = ref(arg.model) as Ref>; + + const state = initialState(); + const subscribeToUpdates = subscribeQueryToUpdates({ + model: modelRef, + state, + }); + const runQuery = async () => + await queryResults({ + model: arg.model, state, - selector, + filter: arg.filter, }); - watch(selector, runQuery, { deep: true, immediate: true }); - watch(model, runQuery, { deep: true, immediate: true }); - return { state: readonly(state), subscribeToUpdates }; + watch(argRef, runQuery, { deep: true, immediate: true }); + return { state: state, subscribeToUpdates }; }; -export const useLazyQuery = ({ - model, -}: { - model: Ref>; -}) => { - const state = initialState(); - const subscribeToUpdates = subscribeQueryToUpdates({ model, state }); +export const useLazyQuery = ({ model }: { model: Model }) => { + const modelRef = ref(model) as Ref>; + + const state = initialState(); + const subscribeToUpdates = subscribeQueryToUpdates({ + model: modelRef, + state, + }); const query = async ({ - selector, + filter, }: { - selector: Ref | string | undefined>; + filter: Filter | string | undefined; }) => - await queryResults({ + await queryResults({ model, - selector, + filter, state, }); - return { state: readonly(state), query, subscribeToUpdates }; + return { state: state, query, subscribeToUpdates }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/datastore/src/vue/hooks/save.ts index 7bab1e739..dcdd82b63 100644 --- a/packages/datastore/datastore/src/vue/hooks/save.ts +++ b/packages/datastore/datastore/src/vue/hooks/save.ts @@ -1,4 +1,3 @@ -import { readonly } from "vue"; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; import { changeState, initialState } from "../StateUtils"; @@ -7,14 +6,13 @@ export const useSave = (model: Model) => { const state = initialState(); const save = async (input: TInput) => { - if (state.loading) return; - + if (state.value.loading) return; changeState({ state, action: { type: ActionType.INITIATE_REQUEST }, }); try { - const results = await model.save(input); + const results = (await model.save(input)) as TModel; changeState({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results }, @@ -28,5 +26,5 @@ export const useSave = (model: Model) => { } }; - return { state: readonly(state), save }; + return { state: state, save }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/subscription.ts b/packages/datastore/datastore/src/vue/hooks/subscription.ts index 40fd13cd2..3d45a133c 100644 --- a/packages/datastore/datastore/src/vue/hooks/subscription.ts +++ b/packages/datastore/datastore/src/vue/hooks/subscription.ts @@ -1,16 +1,9 @@ -import { - onMounted, - onUnmounted, - readonly, - ref, - Ref, - watch, -} from "@vue/runtime-core"; import { Maybe } from "graphql/jsutils/Maybe"; -import { Subscription } from "wonka"; +import { onMounted, onUnmounted, ref, Ref, watch } from "vue"; import { CRUDEvents } from "../.."; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; +import { Subscription } from "../../utils/PushStream"; import { changeState, initialState } from "../StateUtils"; export const useSubscription = ( @@ -43,5 +36,5 @@ export const useSubscription = ( onMounted(subscribe); onUnmounted(unsubscribe); - return { state: readonly(state) }; + return { state: state }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/update.ts b/packages/datastore/datastore/src/vue/hooks/update.ts index 4cc16a2b4..cf648bf0a 100644 --- a/packages/datastore/datastore/src/vue/hooks/update.ts +++ b/packages/datastore/datastore/src/vue/hooks/update.ts @@ -1,4 +1,3 @@ -import { readonly } from "vue"; import { Model } from "../../Model"; import { ActionType } from "../../utils/ActionsTypes"; import { changeState, initialState } from "../StateUtils"; @@ -7,16 +6,16 @@ export const useUpdate = (model: Model) => { const state = initialState(); const update = async (input: TInput, upsert: boolean = false) => { - if (state.loading) return; + if (state.value.loading) return; changeState({ state, action: { type: ActionType.INITIATE_REQUEST }, }); try { - const results = await (upsert + const results = (await (upsert ? model.saveOrUpdate(input) - : model.updateById(input)); + : model.updateById(input))) as TModel; changeState({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results }, @@ -30,5 +29,5 @@ export const useUpdate = (model: Model) => { } }; - return { state: readonly(state), update }; + return { state: state, update }; }; diff --git a/packages/datastore/datastore/tsconfig.json b/packages/datastore/datastore/tsconfig.json index c2088947f..8f29100d2 100644 --- a/packages/datastore/datastore/tsconfig.json +++ b/packages/datastore/datastore/tsconfig.json @@ -1,23 +1,12 @@ { "extends": "../../../tsconfig.json", - "include": [ - "./src/**/*.ts", "*.d.ts" - ], + "include": ["./src/**/*.ts", "*.d.ts"], "compilerOptions": { "esModuleInterop": true, "sourceMap": false, "outDir": "./dist/", "declarationDir": "./types", - "lib": [ - "esnext.asynciterable", - "es2015", - "dom", - "es2016" - ], - "types": [ - "websql", - "jest", - "node" - ], + "lib": ["esnext.asynciterable", "es2015", "dom", "es2016"], + "types": ["websql", "jest", "node"] } } From 5146c142593e3c2e5254bd2ee460ac390eae4f32 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Mon, 1 Mar 2021 04:59:20 +0300 Subject: [PATCH 07/17] fix: init replication on mounted bug: requests to server is not valid --- examples/vue-datastore/src/App.vue | 10 +++++++--- .../vue-datastore/src/datastore/generated/index.ts | 2 +- .../vue-datastore/src/datastore/generated/types.ts | 8 ++++---- examples/vue-datastore/src/model/runtime.graphql | 2 ++ 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/examples/vue-datastore/src/App.vue b/examples/vue-datastore/src/App.vue index ebe829b5f..26a67cfb1 100644 --- a/examples/vue-datastore/src/App.vue +++ b/examples/vue-datastore/src/App.vue @@ -46,18 +46,22 @@ export default defineComponent({ width: "100vw", padding: "2em 0", }; - const replicating = ref(true); + const replicating = ref(false); const isToAddView = ref(false); const isNotToAddView = computed(() => !isToAddView.value); const { state, subscribeToUpdates } = useFindTodos(); const { loading, data, error } = toRefs(state.value); console.log({ loading, data, error, state }); + const startReplication = () => { + datastore.startReplication(); + replicating.value = true; + }; onMounted(() => { + startReplication(); datastore.getNetworkIndicator()?.subscribe({ next: (event: NetworkStatusEvent) => { if (event.isOnline) { - datastore.startReplication(); - replicating.value = true; + startReplication(); } else { datastore.stopReplication(); replicating.value = false; diff --git a/examples/vue-datastore/src/datastore/generated/index.ts b/examples/vue-datastore/src/datastore/generated/index.ts index b96956dff..38c469346 100644 --- a/examples/vue-datastore/src/datastore/generated/index.ts +++ b/examples/vue-datastore/src/datastore/generated/index.ts @@ -2,4 +2,4 @@ import { GeneratedModelSchema } from "offix-datastore"; import jsonSchema from "./schema.json"; export const schema = jsonSchema as GeneratedModelSchema; -export * from "./types"; +export * from "./types"; \ No newline at end of file diff --git a/examples/vue-datastore/src/datastore/generated/types.ts b/examples/vue-datastore/src/datastore/generated/types.ts index 57f0d9753..e49297bdc 100644 --- a/examples/vue-datastore/src/datastore/generated/types.ts +++ b/examples/vue-datastore/src/datastore/generated/types.ts @@ -4,17 +4,17 @@ export interface Todo { description?: string; completed?: boolean; _version: string; - _lastUpdatedAt: number; + _lastUpdatedAt: number } export type TodoCreate = Omit; -export type TodoChange = Pick & Partial; +export type TodoChange = Pick & Partial; export interface User { _id: string; name: string; _version: string; - _lastUpdatedAt: number; + _lastUpdatedAt: number } export type UserCreate = Omit; -export type UserChange = Pick & Partial; +export type UserChange = Pick & Partial; \ No newline at end of file diff --git a/examples/vue-datastore/src/model/runtime.graphql b/examples/vue-datastore/src/model/runtime.graphql index 4be42b410..dba3e6495 100644 --- a/examples/vue-datastore/src/model/runtime.graphql +++ b/examples/vue-datastore/src/model/runtime.graphql @@ -3,6 +3,7 @@ scalar GraphbackObjectID """ @model @datasync +@versioned """ type Todo { _id: GraphbackObjectID! @@ -14,6 +15,7 @@ type Todo { """ @model @datasync +@versioned """ type User { _id: GraphbackObjectID! From 7cdc5d3d38e96a2dd6da02b3235b9c780b913575 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Wed, 3 Mar 2021 15:27:27 +0300 Subject: [PATCH 08/17] feat: vue hooks tests fix: create new item typings --- .../src/components/forms/AddTodo.vue | 2 - .../vue-datastore/src/model/runtime.graphql | 5 ++ packages/datastore/datastore/src/index.ts | 5 +- .../datastore/datastore/src/vue/hooks/save.ts | 6 +- .../datastore/datastore/tests/Vue.test.ts | 69 +++++++++++++++++++ 5 files changed, 81 insertions(+), 6 deletions(-) create mode 100644 packages/datastore/datastore/tests/Vue.test.ts diff --git a/examples/vue-datastore/src/components/forms/AddTodo.vue b/examples/vue-datastore/src/components/forms/AddTodo.vue index 582b12783..89c241f9c 100644 --- a/examples/vue-datastore/src/components/forms/AddTodo.vue +++ b/examples/vue-datastore/src/components/forms/AddTodo.vue @@ -29,8 +29,6 @@ export default defineComponent({ title: title.value, description: description.value, completed: false, - _version: "1", - _lastUpdatedAt: Date.now(), }) .then(() => props.cancel()) .catch((error: any) => console.log(error)); diff --git a/examples/vue-datastore/src/model/runtime.graphql b/examples/vue-datastore/src/model/runtime.graphql index dba3e6495..dfcd9f323 100644 --- a/examples/vue-datastore/src/model/runtime.graphql +++ b/examples/vue-datastore/src/model/runtime.graphql @@ -1,4 +1,5 @@ scalar GraphbackObjectID +scalar GraphbackTimestamp """ @model @@ -10,6 +11,8 @@ type Todo { title: String description: String completed: Boolean + _version: String + _lastUpdatedAt: GraphbackTimestamp } """ @@ -20,6 +23,8 @@ type Todo { type User { _id: GraphbackObjectID! name: String! + _version: String + _lastUpdatedAt: GraphbackTimestamp # TODO # todos: [Todo!]! } diff --git a/packages/datastore/datastore/src/index.ts b/packages/datastore/datastore/src/index.ts index a5115dac4..a49ad3982 100644 --- a/packages/datastore/datastore/src/index.ts +++ b/packages/datastore/datastore/src/index.ts @@ -1,5 +1,6 @@ -export * from "./storage"; -export * from "./ModelSchema"; export * from "./DataStore"; export * from "./filters"; +export * from "./ModelSchema"; export * from "./react"; +export * from "./storage"; +export * as useDatastoreHooks from "./vue"; diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/datastore/src/vue/hooks/save.ts index dcdd82b63..9efcdf908 100644 --- a/packages/datastore/datastore/src/vue/hooks/save.ts +++ b/packages/datastore/datastore/src/vue/hooks/save.ts @@ -5,14 +5,16 @@ import { changeState, initialState } from "../StateUtils"; export const useSave = (model: Model) => { const state = initialState(); - const save = async (input: TInput) => { + const save = async (input: Omit) => { if (state.value.loading) return; changeState({ state, action: { type: ActionType.INITIATE_REQUEST }, }); try { - const results = (await model.save(input)) as TModel; + const results = (await model.save( + (input as unknown) as Partial + )) as TModel; changeState({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results }, diff --git a/packages/datastore/datastore/tests/Vue.test.ts b/packages/datastore/datastore/tests/Vue.test.ts new file mode 100644 index 000000000..fe75ca42b --- /dev/null +++ b/packages/datastore/datastore/tests/Vue.test.ts @@ -0,0 +1,69 @@ +import { Maybe } from "graphql/jsutils/Maybe"; +import { ref } from "vue"; +import { CRUDEvents, useDatastoreHooks } from "../src"; +import { ReactiveState } from "../src/vue/StateUtils"; + +describe("vue hooks test suite", () => { + const originState: ReactiveState> = { + data: [], + error: null, + loading: false, + }; + const stateCopy = (title?: Maybe) => { + const copy = JSON.parse(JSON.stringify(originState)) as ReactiveState< + Record + >; + if (title) copy.data.push({ title }); + return copy; + }; + + test("it should update result for add", () => { + const state = ref(stateCopy()); + const event = { + eventType: CRUDEvents.ADD, + data: [{ title: "Test" }], + }; + const result = useDatastoreHooks.updateResult(state, event, "title"); + + expect(result).toEqual(event.data); + }); + + test("it should update result for update", () => { + const state = ref(stateCopy("Test")); + const event = { + eventType: CRUDEvents.UPDATE, + data: [{ title: "Test", pass: true }], + }; + const result = useDatastoreHooks.updateResult(state, event, "title"); + + expect(result).toEqual(event.data); + }); + + test("it should update id on ID_SWAP event", () => { + const state = ref(stateCopy("Test")); + const event = { + eventType: CRUDEvents.ID_SWAP, + data: [ + { + previous: { title: "Test", pass: true }, + current: { title: "NewTest", pass: true }, + }, + ], + }; + const result = useDatastoreHooks.updateResult(state, event, "title"); + + expect(result.length).toEqual(1); + expect(result[0]).toEqual(event.data[0].current); + }); + + test("it should update result for delete", () => { + const state = ref(stateCopy()); + const event = { + eventType: CRUDEvents.DELETE, + data: [{ title: "Test" }], + }; + const result = useDatastoreHooks.updateResult(state, event, "title"); + + expect(result).toEqual([]); + }); +}); From 63e46a3d86e76f564a927bf40d4ca55db75f6c06 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Wed, 3 Mar 2021 15:55:03 +0300 Subject: [PATCH 09/17] fix: typings for delete --- examples/vue-datastore/src/components/Todo/TodoItem.tsx | 2 +- examples/vue-datastore/src/datastore/config.ts | 8 ++++---- packages/datastore/datastore/src/vue/hooks/delete.ts | 8 ++++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/examples/vue-datastore/src/components/Todo/TodoItem.tsx b/examples/vue-datastore/src/components/Todo/TodoItem.tsx index 2b98f357e..98e9db79d 100644 --- a/examples/vue-datastore/src/components/Todo/TodoItem.tsx +++ b/examples/vue-datastore/src/components/Todo/TodoItem.tsx @@ -20,7 +20,7 @@ export const TodoItem = defineComponent({ const { remove: deleteTodo } = useDeleteTodo(); const edit = ref(false); const handleDelete = () => { - deleteTodo(props.todo) + deleteTodo({ _id: props.todo._id }) .then((res) => console.log("response", res)) .catch((error: any) => console.log(error)); }; diff --git a/examples/vue-datastore/src/datastore/config.ts b/examples/vue-datastore/src/datastore/config.ts index a6118cfaa..ad7d7439a 100644 --- a/examples/vue-datastore/src/datastore/config.ts +++ b/examples/vue-datastore/src/datastore/config.ts @@ -1,17 +1,17 @@ import { DataStore } from "offix-datastore"; -import { schema, User, Todo } from "./generated"; +import { schema, Todo, User } from "./generated"; export const datastore = new DataStore({ dbName: "offix-datasync", replicationConfig: { client: { url: "http://localhost:5400/graphql", - wsUrl: "ws://localhost:5400/graphql" + wsUrl: "ws://localhost:5400/graphql", }, delta: { enabled: true, pullInterval: 20000 }, mutations: { enabled: true }, - liveupdates: { enabled: true } - } + liveupdates: { enabled: true }, + }, }); export const TodoModel = datastore.setupModel(schema.Todo); diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/datastore/src/vue/hooks/delete.ts index c6d204f62..9f1df4151 100644 --- a/packages/datastore/datastore/src/vue/hooks/delete.ts +++ b/packages/datastore/datastore/src/vue/hooks/delete.ts @@ -6,7 +6,9 @@ import { changeState, initialState } from "../StateUtils"; export const useRemove = (model: Model) => { const state = initialState(); - const remove = async (filter: Filter) => { + const remove = async ( + filter: Filter> + ) => { if (state.value.loading) return; changeState({ @@ -14,7 +16,9 @@ export const useRemove = (model: Model) => { action: { type: ActionType.INITIATE_REQUEST }, }); try { - const results = (await model.remove(filter)) as TModel[]; + const results = (await model.remove( + (filter as unknown) as Filter + )) as TModel[]; changeState({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results }, From a3af20eaffc2d84b53873bc01df6cd483b4929c0 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Wed, 3 Mar 2021 16:56:20 +0300 Subject: [PATCH 10/17] fix: vue build error by adding lib es2020 to tsconfig fix: add vue as peer dependency --- packages/datastore/datastore/package.json | 5 +++-- packages/datastore/datastore/tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/datastore/datastore/package.json b/packages/datastore/datastore/package.json index d1a2f55c1..0c4475fdd 100644 --- a/packages/datastore/datastore/package.json +++ b/packages/datastore/datastore/package.json @@ -21,7 +21,8 @@ "size:why": "size-limit --why" }, "peerDependencies": { - "react": "17.0.1" + "react": "17.0.1", + "vue": "3.0.6" }, "peerDependenciesMeta": { "react": { @@ -46,7 +47,7 @@ "supports-color": "8.1.1", "ts-jest": "26.5.1", "typescript": "4.1.5", - "vue": "^3.0.6" + "vue": "3.0.6" }, "dependencies": { "graphql-tag": "2.11.0", diff --git a/packages/datastore/datastore/tsconfig.json b/packages/datastore/datastore/tsconfig.json index 8f29100d2..ce7ab4075 100644 --- a/packages/datastore/datastore/tsconfig.json +++ b/packages/datastore/datastore/tsconfig.json @@ -6,7 +6,7 @@ "sourceMap": false, "outDir": "./dist/", "declarationDir": "./types", - "lib": ["esnext.asynciterable", "es2015", "dom", "es2016"], + "lib": ["esnext.asynciterable", "es2015", "dom", "es2016", "es2020"], "types": ["websql", "jest", "node"] } } From a665c4375d5cb7e3081a7c4410b3897720213b76 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Wed, 3 Mar 2021 17:00:22 +0300 Subject: [PATCH 11/17] fix: error in react types by adding skipLibCheck --- packages/datastore/datastore/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/datastore/datastore/tsconfig.json b/packages/datastore/datastore/tsconfig.json index ce7ab4075..0b47c61ab 100644 --- a/packages/datastore/datastore/tsconfig.json +++ b/packages/datastore/datastore/tsconfig.json @@ -5,6 +5,7 @@ "esModuleInterop": true, "sourceMap": false, "outDir": "./dist/", + "skipLibCheck": true, "declarationDir": "./types", "lib": ["esnext.asynciterable", "es2015", "dom", "es2016", "es2020"], "types": ["websql", "jest", "node"] From 01f9f0b91ef2c90156346b428502a9771afc1eec Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Wed, 3 Mar 2021 17:06:42 +0300 Subject: [PATCH 12/17] fix: linting errors --- .../datastore/src/react/ReducerUtils.ts | 2 +- .../datastore/datastore/src/vue/StateUtils.ts | 8 ++--- .../datastore/src/vue/hooks/delete.ts | 8 ++--- .../datastore/src/vue/hooks/query.ts | 34 +++++++++---------- .../datastore/datastore/src/vue/hooks/save.ts | 8 ++--- .../datastore/src/vue/hooks/subscription.ts | 4 +-- .../datastore/src/vue/hooks/update.ts | 8 ++--- 7 files changed, 36 insertions(+), 36 deletions(-) diff --git a/packages/datastore/datastore/src/react/ReducerUtils.ts b/packages/datastore/datastore/src/react/ReducerUtils.ts index 4d5ce8153..4899c769b 100644 --- a/packages/datastore/datastore/src/react/ReducerUtils.ts +++ b/packages/datastore/datastore/src/react/ReducerUtils.ts @@ -24,7 +24,7 @@ export const reducer = (state: ResultState, action: Action) => { ...state, loading: false, data: action.data, - error: action.error, + error: action.error }; case ActionType.UPDATE_RESULT: diff --git a/packages/datastore/datastore/src/vue/StateUtils.ts b/packages/datastore/datastore/src/vue/StateUtils.ts index 9ed18b947..844c4267d 100644 --- a/packages/datastore/datastore/src/vue/StateUtils.ts +++ b/packages/datastore/datastore/src/vue/StateUtils.ts @@ -21,18 +21,18 @@ export const initialState = (): Ref> => ref>({ loading: false, data: [], - error: null, + error: null }) as Ref>; export const changeState = ({ action, - state, + state }: { state: Ref>; action: Action; }) => { const data = (() => { - if (action.data == null) return []; - if (Array.isArray(action.data)) return action.data; + if (action.data == null) {return [];} + if (Array.isArray(action.data)) {return action.data;} return [action.data]; })(); switch (action.type) { diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/datastore/src/vue/hooks/delete.ts index 9f1df4151..9626d6a75 100644 --- a/packages/datastore/datastore/src/vue/hooks/delete.ts +++ b/packages/datastore/datastore/src/vue/hooks/delete.ts @@ -9,11 +9,11 @@ export const useRemove = (model: Model) => { const remove = async ( filter: Filter> ) => { - if (state.value.loading) return; + if (state.value.loading) {return;} changeState({ state, - action: { type: ActionType.INITIATE_REQUEST }, + action: { type: ActionType.INITIATE_REQUEST } }); try { const results = (await model.remove( @@ -21,13 +21,13 @@ export const useRemove = (model: Model) => { )) as TModel[]; changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, data: results }, + action: { type: ActionType.REQUEST_COMPLETE, data: results } }); return results; } catch (error) { changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, error }, + action: { type: ActionType.REQUEST_COMPLETE, error } }); } }; diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts index 7073879b8..500f4d117 100644 --- a/packages/datastore/datastore/src/vue/hooks/query.ts +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -8,7 +8,7 @@ import { changeState, IdSwap, initialState, - ReactiveState, + ReactiveState } from "../StateUtils"; interface UpdateArr { oldArr: T[]; @@ -41,7 +41,7 @@ const onAdded = ( updateArr({ newArr: newData, oldArr: state.value.data, - primaryKeyName, + primaryKeyName }); const onChanged = ( @@ -49,11 +49,11 @@ const onChanged = ( newData: TItem[], primaryKeyName: string ) => { - if (state.value.data.length === 0) return state.value.data; + if (state.value.data.length === 0) {return state.value.data;} return updateArr({ newArr: newData, oldArr: state.value.data, - primaryKeyName, + primaryKeyName }); }; @@ -62,7 +62,7 @@ const onIdSwapped = ( newData: IdSwap[], primaryKeyName: string ) => { - if (state.value.data.length === 0) return state.value.data; + if (state.value.data.length === 0) {return state.value.data;} const changedData = state.value.data.map((d) => { const dPrimaryKey = (d as Record)[primaryKeyName]; @@ -84,7 +84,7 @@ const onRemoved = ( removedData: TItem[], primaryKeyName: string ) => { - if (state.value.data.length === 0) return state.value.data; + if (state.value.data.length === 0) {return state.value.data;} const changedData = state.value.data.filter((d) => { const dPrimaryKey = (d as Record)[primaryKeyName]; return removedData.findIndex( @@ -140,7 +140,7 @@ const createSubscribeToUpdates = ( // Important to check beacuse Componnent could be unmounted changeState({ state, - action: { type: ActionType.UPDATE_RESULT, data: newData }, + action: { type: ActionType.UPDATE_RESULT, data: newData } }); } }, eventsToWatch); @@ -154,9 +154,9 @@ interface QueryResults extends UseQuery { const queryResults = async ({ state, filter, - model, + model }: QueryResults) => { - if (state.value.loading) return; + if (state.value.loading) {return;} changeState({ state, action: { type: ActionType.INITIATE_REQUEST } }); try { @@ -169,12 +169,12 @@ const queryResults = async ({ } changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, data: results }, + action: { type: ActionType.REQUEST_COMPLETE, data: results } }); } catch (error) { changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, error }, + action: { type: ActionType.REQUEST_COMPLETE, error } }); } }; @@ -185,7 +185,7 @@ interface UseQuery { } const subscribeQueryToUpdates = ({ state, - model, + model }: { state: Ref>; model: Ref>; @@ -208,13 +208,13 @@ export const useQuery = (arg: UseQuery) => { const state = initialState(); const subscribeToUpdates = subscribeQueryToUpdates({ model: modelRef, - state, + state }); const runQuery = async () => await queryResults({ model: arg.model, state, - filter: arg.filter, + filter: arg.filter }); watch(argRef, runQuery, { deep: true, immediate: true }); return { state: state, subscribeToUpdates }; @@ -226,17 +226,17 @@ export const useLazyQuery = ({ model }: { model: Model }) => { const state = initialState(); const subscribeToUpdates = subscribeQueryToUpdates({ model: modelRef, - state, + state }); const query = async ({ - filter, + filter }: { filter: Filter | string | undefined; }) => await queryResults({ model, filter, - state, + state }); return { state: state, query, subscribeToUpdates }; }; diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/datastore/src/vue/hooks/save.ts index 9efcdf908..0006eb2e8 100644 --- a/packages/datastore/datastore/src/vue/hooks/save.ts +++ b/packages/datastore/datastore/src/vue/hooks/save.ts @@ -6,10 +6,10 @@ export const useSave = (model: Model) => { const state = initialState(); const save = async (input: Omit) => { - if (state.value.loading) return; + if (state.value.loading) {return;} changeState({ state, - action: { type: ActionType.INITIATE_REQUEST }, + action: { type: ActionType.INITIATE_REQUEST } }); try { const results = (await model.save( @@ -17,13 +17,13 @@ export const useSave = (model: Model) => { )) as TModel; changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, data: results }, + action: { type: ActionType.REQUEST_COMPLETE, data: results } }); return results; } catch (error) { changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, error }, + action: { type: ActionType.REQUEST_COMPLETE, error } }); } }; diff --git a/packages/datastore/datastore/src/vue/hooks/subscription.ts b/packages/datastore/datastore/src/vue/hooks/subscription.ts index 3d45a133c..1fe243027 100644 --- a/packages/datastore/datastore/src/vue/hooks/subscription.ts +++ b/packages/datastore/datastore/src/vue/hooks/subscription.ts @@ -11,13 +11,13 @@ export const useSubscription = ( eventTypes: CRUDEvents[] ) => { const state = initialState(); - let subscription = ref>(); + const subscription = ref>(); const subscribe = () => { subscription.value = model.value.subscribe((event) => { changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, data: event.data }, + action: { type: ActionType.REQUEST_COMPLETE, data: event.data } }); }, eventTypes); }; diff --git a/packages/datastore/datastore/src/vue/hooks/update.ts b/packages/datastore/datastore/src/vue/hooks/update.ts index cf648bf0a..dc4dbecfd 100644 --- a/packages/datastore/datastore/src/vue/hooks/update.ts +++ b/packages/datastore/datastore/src/vue/hooks/update.ts @@ -6,11 +6,11 @@ export const useUpdate = (model: Model) => { const state = initialState(); const update = async (input: TInput, upsert: boolean = false) => { - if (state.value.loading) return; + if (state.value.loading) {return;} changeState({ state, - action: { type: ActionType.INITIATE_REQUEST }, + action: { type: ActionType.INITIATE_REQUEST } }); try { const results = (await (upsert @@ -18,13 +18,13 @@ export const useUpdate = (model: Model) => { : model.updateById(input))) as TModel; changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, data: results }, + action: { type: ActionType.REQUEST_COMPLETE, data: results } }); return results; } catch (error) { changeState({ state, - action: { type: ActionType.REQUEST_COMPLETE, error }, + action: { type: ActionType.REQUEST_COMPLETE, error } }); } }; From d394682f793027677827ccf3ba924796cd4f7c82 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Thu, 4 Mar 2021 03:10:00 +0300 Subject: [PATCH 13/17] fix: useLazyQuery return state --- .../datastore/datastore/src/vue/hooks/query.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts index 500f4d117..39376904f 100644 --- a/packages/datastore/datastore/src/vue/hooks/query.ts +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -49,7 +49,9 @@ const onChanged = ( newData: TItem[], primaryKeyName: string ) => { - if (state.value.data.length === 0) {return state.value.data;} + if (state.value.data.length === 0) { + return state.value.data; + } return updateArr({ newArr: newData, oldArr: state.value.data, @@ -62,7 +64,9 @@ const onIdSwapped = ( newData: IdSwap[], primaryKeyName: string ) => { - if (state.value.data.length === 0) {return state.value.data;} + if (state.value.data.length === 0) { + return state.value.data; + } const changedData = state.value.data.map((d) => { const dPrimaryKey = (d as Record)[primaryKeyName]; @@ -84,7 +88,9 @@ const onRemoved = ( removedData: TItem[], primaryKeyName: string ) => { - if (state.value.data.length === 0) {return state.value.data;} + if (state.value.data.length === 0) { + return state.value.data; + } const changedData = state.value.data.filter((d) => { const dPrimaryKey = (d as Record)[primaryKeyName]; return removedData.findIndex( @@ -156,7 +162,9 @@ const queryResults = async ({ filter, model }: QueryResults) => { - if (state.value.loading) {return;} + if (state.value.loading) { + return; + } changeState({ state, action: { type: ActionType.INITIATE_REQUEST } }); try { @@ -171,6 +179,7 @@ const queryResults = async ({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results } }); + return state; } catch (error) { changeState({ state, From a915f057d5be29fb65e0501b5e3193636e381d01 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Thu, 4 Mar 2021 03:26:54 +0300 Subject: [PATCH 14/17] fix: useLazyQuery returns always state --- packages/datastore/datastore/src/vue/hooks/query.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts index 39376904f..73f5f35c0 100644 --- a/packages/datastore/datastore/src/vue/hooks/query.ts +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -179,12 +179,13 @@ const queryResults = async ({ state, action: { type: ActionType.REQUEST_COMPLETE, data: results } }); - return state; } catch (error) { changeState({ state, action: { type: ActionType.REQUEST_COMPLETE, error } }); + } finally { + return state; } }; From fae1b861c88d7baf7ff0fd283c6abc8c194ea502 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Fri, 19 Mar 2021 09:19:13 +0300 Subject: [PATCH 15/17] fix: test errors --- packages/datastore/datastore/src/vue/hooks/query.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/datastore/src/vue/hooks/query.ts index 73f5f35c0..28543e0c1 100644 --- a/packages/datastore/datastore/src/vue/hooks/query.ts +++ b/packages/datastore/datastore/src/vue/hooks/query.ts @@ -184,9 +184,8 @@ const queryResults = async ({ state, action: { type: ActionType.REQUEST_COMPLETE, error } }); - } finally { - return state; } + return state; }; interface UseQuery { From 6f62b5d97d8527bf5445f9ed50bfbce5e2321877 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Fri, 19 Mar 2021 09:21:24 +0300 Subject: [PATCH 16/17] fix: merge afterfixes --- examples/vue-datastore/src/datastore/hooks.ts | 4 ++-- packages/datastore/{datastore => }/src/utils/ActionsTypes.ts | 0 packages/datastore/{datastore => }/src/vue/StateUtils.ts | 0 packages/datastore/{datastore => }/src/vue/hooks/delete.ts | 0 packages/datastore/{datastore => }/src/vue/hooks/query.ts | 0 packages/datastore/{datastore => }/src/vue/hooks/save.ts | 0 .../datastore/{datastore => }/src/vue/hooks/subscription.ts | 0 packages/datastore/{datastore => }/src/vue/hooks/update.ts | 0 packages/datastore/{datastore => }/src/vue/index.ts | 0 packages/datastore/{datastore => }/tests/Vue.test.ts | 0 10 files changed, 2 insertions(+), 2 deletions(-) rename packages/datastore/{datastore => }/src/utils/ActionsTypes.ts (100%) rename packages/datastore/{datastore => }/src/vue/StateUtils.ts (100%) rename packages/datastore/{datastore => }/src/vue/hooks/delete.ts (100%) rename packages/datastore/{datastore => }/src/vue/hooks/query.ts (100%) rename packages/datastore/{datastore => }/src/vue/hooks/save.ts (100%) rename packages/datastore/{datastore => }/src/vue/hooks/subscription.ts (100%) rename packages/datastore/{datastore => }/src/vue/hooks/update.ts (100%) rename packages/datastore/{datastore => }/src/vue/index.ts (100%) rename packages/datastore/{datastore => }/tests/Vue.test.ts (100%) diff --git a/examples/vue-datastore/src/datastore/hooks.ts b/examples/vue-datastore/src/datastore/hooks.ts index 327afb3d6..4faf9fb53 100644 --- a/examples/vue-datastore/src/datastore/hooks.ts +++ b/examples/vue-datastore/src/datastore/hooks.ts @@ -4,8 +4,8 @@ import { useQuery, useRemove, useSave, - useUpdate -} from "../../../../packages/datastore/datastore/src/vue"; + useUpdate, +} from "../../../../packages/datastore/src/vue"; import { TodoModel } from "./config"; import { Todo, TodoChange, TodoCreate } from "./generated"; // FIXME: how to handle wrong model type from package and from monorepo? diff --git a/packages/datastore/datastore/src/utils/ActionsTypes.ts b/packages/datastore/src/utils/ActionsTypes.ts similarity index 100% rename from packages/datastore/datastore/src/utils/ActionsTypes.ts rename to packages/datastore/src/utils/ActionsTypes.ts diff --git a/packages/datastore/datastore/src/vue/StateUtils.ts b/packages/datastore/src/vue/StateUtils.ts similarity index 100% rename from packages/datastore/datastore/src/vue/StateUtils.ts rename to packages/datastore/src/vue/StateUtils.ts diff --git a/packages/datastore/datastore/src/vue/hooks/delete.ts b/packages/datastore/src/vue/hooks/delete.ts similarity index 100% rename from packages/datastore/datastore/src/vue/hooks/delete.ts rename to packages/datastore/src/vue/hooks/delete.ts diff --git a/packages/datastore/datastore/src/vue/hooks/query.ts b/packages/datastore/src/vue/hooks/query.ts similarity index 100% rename from packages/datastore/datastore/src/vue/hooks/query.ts rename to packages/datastore/src/vue/hooks/query.ts diff --git a/packages/datastore/datastore/src/vue/hooks/save.ts b/packages/datastore/src/vue/hooks/save.ts similarity index 100% rename from packages/datastore/datastore/src/vue/hooks/save.ts rename to packages/datastore/src/vue/hooks/save.ts diff --git a/packages/datastore/datastore/src/vue/hooks/subscription.ts b/packages/datastore/src/vue/hooks/subscription.ts similarity index 100% rename from packages/datastore/datastore/src/vue/hooks/subscription.ts rename to packages/datastore/src/vue/hooks/subscription.ts diff --git a/packages/datastore/datastore/src/vue/hooks/update.ts b/packages/datastore/src/vue/hooks/update.ts similarity index 100% rename from packages/datastore/datastore/src/vue/hooks/update.ts rename to packages/datastore/src/vue/hooks/update.ts diff --git a/packages/datastore/datastore/src/vue/index.ts b/packages/datastore/src/vue/index.ts similarity index 100% rename from packages/datastore/datastore/src/vue/index.ts rename to packages/datastore/src/vue/index.ts diff --git a/packages/datastore/datastore/tests/Vue.test.ts b/packages/datastore/tests/Vue.test.ts similarity index 100% rename from packages/datastore/datastore/tests/Vue.test.ts rename to packages/datastore/tests/Vue.test.ts From 42f9c5df6f10e91081c8dba093535d9bc7024e85 Mon Sep 17 00:00:00 2001 From: Anton Malofeev Date: Fri, 19 Mar 2021 09:43:01 +0300 Subject: [PATCH 17/17] fix: comma-dangle --- packages/datastore/tests/Vue.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/datastore/tests/Vue.test.ts b/packages/datastore/tests/Vue.test.ts index fe75ca42b..31f06bc36 100644 --- a/packages/datastore/tests/Vue.test.ts +++ b/packages/datastore/tests/Vue.test.ts @@ -7,13 +7,13 @@ describe("vue hooks test suite", () => { const originState: ReactiveState> = { data: [], error: null, - loading: false, + loading: false }; const stateCopy = (title?: Maybe) => { const copy = JSON.parse(JSON.stringify(originState)) as ReactiveState< Record >; - if (title) copy.data.push({ title }); + if (title) {copy.data.push({ title });} return copy; }; @@ -21,7 +21,7 @@ describe("vue hooks test suite", () => { const state = ref(stateCopy()); const event = { eventType: CRUDEvents.ADD, - data: [{ title: "Test" }], + data: [{ title: "Test" }] }; const result = useDatastoreHooks.updateResult(state, event, "title"); @@ -32,7 +32,7 @@ describe("vue hooks test suite", () => { const state = ref(stateCopy("Test")); const event = { eventType: CRUDEvents.UPDATE, - data: [{ title: "Test", pass: true }], + data: [{ title: "Test", pass: true }] }; const result = useDatastoreHooks.updateResult(state, event, "title"); @@ -46,9 +46,9 @@ describe("vue hooks test suite", () => { data: [ { previous: { title: "Test", pass: true }, - current: { title: "NewTest", pass: true }, - }, - ], + current: { title: "NewTest", pass: true } + } + ] }; const result = useDatastoreHooks.updateResult(state, event, "title"); @@ -60,7 +60,7 @@ describe("vue hooks test suite", () => { const state = ref(stateCopy()); const event = { eventType: CRUDEvents.DELETE, - data: [{ title: "Test" }], + data: [{ title: "Test" }] }; const result = useDatastoreHooks.updateResult(state, event, "title");