1
1
mirror of https://github.com/wasp-lang/wasp.git synced 2024-12-23 00:51:36 +03:00
wasp/waspc/e2e-test/test-outputs/waspCompile-golden/waspCompile/.wasp/out/.waspchecksums

422 lines
9.9 KiB
Plaintext
Raw Normal View History

[
[
[
"file",
".dockerignore"
],
"a2a5ebe3785244437c0d490b4bfa1652c84b9ab0d4f25566fd7e69d1421d7a1b"
],
[
[
"file",
"Dockerfile"
],
2022-12-15 01:41:10 +03:00
"576e1a40a9d7e838cdbe23a504c9a8d4d53d8614e2bcd2d01838fa63541674b6"
],
[
[
"file",
"db/schema.prisma"
],
Bring Prisma entities to the frontend (#962) * Support typing backend queries * Implement types for actions and extract entities * Add Prisma entities to the frontend * Add frontend types to internal todoApp * Undo moving for easier review * Revert back to generating a query.js file * Rename buildEntityData * Remove solved todo in schema template * Fix docs in method * Adding uninstall command (#953) * Adding uninstall command * Updates docs and changelog related to the uninstall command * Use StrongPath instead of FilePath * Fix review feedback * Move prisma client generation messages * Generalize FileDraft functions * Generate prisma clients using ENV * Fix schema checksum check * Small refactor in db generator * Run prisma generate from server root dir * Fix types for useAction * Fix type error for useAction * Fix schema generation in Dockerfile * Refactor passing env vars to prisma schema * Fix useAction types * Replace Prelude readFile with SP readFile * Add comment for prisma/client in web app * Replace Prelude writeFile with SP writeFile * Replace do and if with ifM * Rename readProjectTelemetryFile * Refactor readOrCreateUserSignatureFile * Remove redundant comment * Fix typo in variable name * Simulate unions with a type class * Further improve strongpath types * Generate prisma clients after migration * Change ModuleRootDir to ComponentRootDir * Remove solved todo * Improve naming * Remove redundant env variable * Improve formatting * Fix errors after merging * Change local function name Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Rename local function again * Update changelog * Fix error type in useQuery * Rename Component to AppComponent * Refactor DbGenerator * Explain Abs paths in SP helpers * Update e2e tests * Fix formatting * Change signature for doesFileExist * Change signature for SP functions * Remove redundant do block * Fix formatting * Reorder functions * Rename module to appComponent in functions * Rename module to component in functions * Rename telemetry cache function * Fix formatting --------- Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2023-02-13 16:31:49 +03:00
"93f3b154b04fce7819e24aeb1691cd1c78f731f41a2f9e0213d54ef783f2bc38"
],
[
[
"file",
"server/.gitignore"
],
"2c3d81dd719ff91d51609a02d03ba62ad456e2c50763b7b4c761395cb583f890"
],
[
[
"file",
"server/.npmrc"
],
"8a74b1091affea3c71c2cf04acbaa38c4a51a261a9a98dcc9e96473d07a85a27"
],
[
[
"file",
"server/README.md"
],
"e14514b8b152dd2160a217d8fc66a710c8607c4ed1441a2148a0770701818249"
],
[
[
"file",
"server/nodemon.json"
],
"5d0e1103bbe7c29a7b3137a57345f8eeb4ccd8a2128d636cc1b2bd81cf348a86"
],
[
[
"file",
"server/package.json"
],
"a25c784008e936018cc8f5fe0a35fdd6dfc86d7762fcad40bed04e6af294b87f"
],
[
[
"file",
"server/src/actions/types.ts"
],
"ab0768e29fc7f9e8bab88cd63f4c033922e22ab36c8bc7f4b9d41eb8f615d3b9"
],
[
[
"file",
"server/src/app.js"
],
"1e802078a0c6738f9dc2dc8f1739120d28fdc3d6fdc8029671ec9aed73c8ed72"
],
[
[
"file",
"server/src/config.js"
],
"d7f23a370f15869e6a3920552993c41d5e1a23d8e12a4a9d3a583d22b730a5d6"
],
[
[
"file",
"server/src/core/AuthError.js"
],
"5ac18ed20c5c8b192a75d1cb2f36906d5ff9f0951451a2ef08d9ab62fc26b8bb"
],
[
[
"file",
"server/src/core/HttpError.js"
],
"fa06ff60ab8183e8d00c13805692fc8cd3b5a21408edce4f0949d5b913e066b1"
],
[
[
"file",
"server/src/dbClient.js"
],
"20c67ca197da3de2d37528ceaff2e40af910be8177f346c6d5c2b2f983810c43"
],
[
[
"file",
"server/src/entities/index.ts"
],
"d9a8968d93bb382e1473765db426fb37b0cbe4a6dc4a158140065e3e657a8ac6"
],
[
[
"file",
"server/src/jobs/core/Job.js"
],
"e0e5d5e802a29032bfc8426097950722ac0dc7931d08641c1c2b02c262e6cdcc"
],
[
[
"file",
"server/src/jobs/core/SubmittedJob.js"
],
"75753277b6bd2c1d2e9ea0e80a71c72c84fa18bb7d61da25d798b3ef247e06bd"
],
[
[
"file",
"server/src/jobs/core/allJobs.js"
],
"90b1b3012216900efa82fff14911dcbf195fa2e449edb3b24ab80db0065d796f"
],
[
[
"file",
"server/src/jobs/core/pgBoss/pgBoss.js"
],
"9821963d90b39058285343834c70e6f825d3d7696c738fd95539614b5e7d7b94"
],
[
[
"file",
"server/src/jobs/core/pgBoss/pgBossJob.js"
],
"ff6040d051c916eb080a2f2c37fd5135f588782387faeae51115d1a7abd1ad8b"
],
[
[
"file",
"server/src/jobs/core/simpleJob.js"
],
"36fe173d9f5128859196bfd3a661983df2d95eb34d165a469b840982b06cf59b"
],
[
[
"file",
"server/src/queries/types.ts"
],
"ab0768e29fc7f9e8bab88cd63f4c033922e22ab36c8bc7f4b9d41eb8f615d3b9"
],
[
[
"file",
"server/src/routes/index.js"
],
"7fb59b1d6c05570ca1d42d5dbf5868160844165f04e1c75e4be7c372965063fb"
],
[
[
"file",
"server/src/routes/operations/index.js"
],
"d09f7dcf78ed2da15f488afb08e62d9dac15f173fdbe779323dfdd75330f5de5"
],
[
[
"file",
"server/src/server.ts"
],
"c6114654819216004f0ef4a8771a0c1213c655cfd41760fbd835077c53a6b6ba"
],
[
[
"file",
"server/src/types/index.ts"
],
"1ceae306b5223ff954f1fc3a594275b1e184a6ff8b6080df147b5b5cae1593ea"
],
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
[
[
"file",
"server/src/utils.js"
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
],
"68a5794f55e24b303d81456a1181a3a2cd70773f6ebc4e7a63dac064834aa8e9"
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
],
[
[
"file",
"server/tsconfig.json"
],
"547a8c399ce385366cd05c46c5a3fa4ef48a5f60bb64bf322190546d1de1c622"
],
[
[
"file",
"web-app/.gitignore"
],
"d373417ea2a8844e3b7a1515aab123e90fbeb4b7225144d55d243d9f6f04f73a"
],
[
[
"file",
"web-app/.npmrc"
],
"7151cf397def0c2cb0ab65643701d27d335a72c90f775675b5f826bc7005818a"
],
[
[
"file",
"web-app/README.md"
],
"aa1bd54732b015158d24c55e03bc79b2f211109bc2b0478d6f2ad6b52d15847f"
],
[
[
"file",
"web-app/netlify.toml"
],
"854009c7d1b2630a55099439f89e4947188ea4160c9d1388b46b5a5cf6ab461a"
],
[
[
"file",
"web-app/package.json"
],
Bring Prisma entities to the frontend (#962) * Support typing backend queries * Implement types for actions and extract entities * Add Prisma entities to the frontend * Add frontend types to internal todoApp * Undo moving for easier review * Revert back to generating a query.js file * Rename buildEntityData * Remove solved todo in schema template * Fix docs in method * Adding uninstall command (#953) * Adding uninstall command * Updates docs and changelog related to the uninstall command * Use StrongPath instead of FilePath * Fix review feedback * Move prisma client generation messages * Generalize FileDraft functions * Generate prisma clients using ENV * Fix schema checksum check * Small refactor in db generator * Run prisma generate from server root dir * Fix types for useAction * Fix type error for useAction * Fix schema generation in Dockerfile * Refactor passing env vars to prisma schema * Fix useAction types * Replace Prelude readFile with SP readFile * Add comment for prisma/client in web app * Replace Prelude writeFile with SP writeFile * Replace do and if with ifM * Rename readProjectTelemetryFile * Refactor readOrCreateUserSignatureFile * Remove redundant comment * Fix typo in variable name * Simulate unions with a type class * Further improve strongpath types * Generate prisma clients after migration * Change ModuleRootDir to ComponentRootDir * Remove solved todo * Improve naming * Remove redundant env variable * Improve formatting * Fix errors after merging * Change local function name Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Rename local function again * Update changelog * Fix error type in useQuery * Rename Component to AppComponent * Refactor DbGenerator * Explain Abs paths in SP helpers * Update e2e tests * Fix formatting * Change signature for doesFileExist * Change signature for SP functions * Remove redundant do block * Fix formatting * Reorder functions * Rename module to appComponent in functions * Rename module to component in functions * Rename telemetry cache function * Fix formatting --------- Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2023-02-13 16:31:49 +03:00
"7ad19b71dd90a24658c8302c8cc9c245c6be7f74a0601fba6bc02d756988dabf"
],
[
[
"file",
"web-app/public/favicon.ico"
],
2022-11-16 14:57:18 +03:00
"1481f03584b46b63182c1f8d26e61a95ce4d8fae032b2b4f3fe5e00ab7e96c23"
],
[
[
"file",
"web-app/public/index.html"
],
"faac353e5856c497ea1443ac5abb6baf1ac4b1ddc37b2e7d66962eecd13ad6ed"
],
[
[
"file",
"web-app/public/manifest.json"
],
"434b67f4ee148d6a5c8d88879b616d0af36d71abf193e84ef247e5ab959a13bd"
],
[
[
"file",
"web-app/src/actions/core.d.ts"
],
"d649b4823ede60119858b868dac9b122da4a3185391e6b9242ff7f6dc5c25d31"
],
[
[
"file",
"web-app/src/actions/core.js"
],
Fix flickering UI in optimistic updates (#668) * Fix query cache key generation issue * Make waspc/todoApp return tasks in consistent order * Implement basic support for optimistic updates * Fix query cache key generation issue again * Add action counter to prevent flickering updates * Add remove todo to action counter * Count only optimistically updated cache keys * Make waspc/todoApp return tasks in consistent order (cherry picked from commit 57606c74e468edc9fd3c1cf0487ea1edfb0ad1de) * Reduce duplication in frontend actions and queries * Fix formatting * Fix optimistic updates after merge * Experimenting * Hash queries before counting * Rename parameters in counter * Add task done toggling to task page * Fixes after merge * Fix wrong condition in example todo app * Simplify counter with react-query's internal hash * Remove console log and add notes * Clear up some todos and tidy up * Fix formatting * Remove leftover todo * Fix a bug that caused double action calls * Simplify query key hashing function * Revert accidental blog changes * Revert accidental blog changes * Apply optimistic updates on each query response * Clean up code for optimistic updates * Clean up more code for optimistic updates * Remove redundant optimistic update tuple list * Rename query to queryKey * Return previous data from onMutate * Move counter into the constructor function * Move updatesHandler into the constructor function * Remove debug logs from optimisticUpdatesMap * Rename and refactor optimistic updates * Fix typo in comments * Remove the option to directly specify query key * Remove flickering fixes for optimistic updates * Add optimistic updates to Task.js * First round of code review feedback * Remove react query's additional options from hook * Futher review feedback and code docs * Fix and document error handling for optimistic updates * Fix formatting and remove comment * Further document optimistic update mechanisms * Fix memory leak in updates handler map * Update optimistic update docs * Improve comment for useAction * Further improve comments in actions/index * Heavily comment actions/index * Fix capitalization in action/index * Add types to actions/index * Fix jsdoc types in actions/index * Comment testing sleeps * Comment sleep function in todoApp/ext/actions * Properly handle type errors in actions/index * Fix formatting in actions/index * Rename an argument in actions/index * Move updateFn change to optimistic update instantiation * Extract common functionality in actions/index * Reuse common functionality for optimistic updates * Fix formatting in actions/index * Comment the internal action mechanism * Add jsdoc types to actions/index * Revise jsdoc in actions/index * Document makeOptimisticUpdateMutationFn * Add updateQuery constraints * Address PR comments * Update e2e tests * Mention optimistic updates in cache invalidation * Further elaborate updateQuery constraints * Update e2e tests
2022-09-22 01:17:00 +03:00
"5c4dcdec74fb014a8edbb3d240bcbbfc829e201bce64132598b444db14a2bd45"
],
[
[
"file",
"web-app/src/actions/index.ts"
],
Bring Prisma entities to the frontend (#962) * Support typing backend queries * Implement types for actions and extract entities * Add Prisma entities to the frontend * Add frontend types to internal todoApp * Undo moving for easier review * Revert back to generating a query.js file * Rename buildEntityData * Remove solved todo in schema template * Fix docs in method * Adding uninstall command (#953) * Adding uninstall command * Updates docs and changelog related to the uninstall command * Use StrongPath instead of FilePath * Fix review feedback * Move prisma client generation messages * Generalize FileDraft functions * Generate prisma clients using ENV * Fix schema checksum check * Small refactor in db generator * Run prisma generate from server root dir * Fix types for useAction * Fix type error for useAction * Fix schema generation in Dockerfile * Refactor passing env vars to prisma schema * Fix useAction types * Replace Prelude readFile with SP readFile * Add comment for prisma/client in web app * Replace Prelude writeFile with SP writeFile * Replace do and if with ifM * Rename readProjectTelemetryFile * Refactor readOrCreateUserSignatureFile * Remove redundant comment * Fix typo in variable name * Simulate unions with a type class * Further improve strongpath types * Generate prisma clients after migration * Change ModuleRootDir to ComponentRootDir * Remove solved todo * Improve naming * Remove redundant env variable * Improve formatting * Fix errors after merging * Change local function name Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Rename local function again * Update changelog * Fix error type in useQuery * Rename Component to AppComponent * Refactor DbGenerator * Explain Abs paths in SP helpers * Update e2e tests * Fix formatting * Change signature for doesFileExist * Change signature for SP functions * Remove redundant do block * Fix formatting * Reorder functions * Rename module to appComponent in functions * Rename module to component in functions * Rename telemetry cache function * Fix formatting --------- Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2023-02-13 16:31:49 +03:00
"0f294c2f1d50a1473f6d332ef17944e7475c7d83a2180f6e2c9c9aecf25439f4"
],
[
[
"file",
"web-app/src/api.js"
],
"bcdb1fdc97fd622fbc882e4a16a7137e849748d6776b960121df6ccab577a3a9"
],
[
[
"file",
"web-app/src/config.js"
],
"a30d5ae7c1b317a7132cac93f4b5bffc3daf11f4f07b5e0d977d063810ffdd11"
],
Bring Prisma entities to the frontend (#962) * Support typing backend queries * Implement types for actions and extract entities * Add Prisma entities to the frontend * Add frontend types to internal todoApp * Undo moving for easier review * Revert back to generating a query.js file * Rename buildEntityData * Remove solved todo in schema template * Fix docs in method * Adding uninstall command (#953) * Adding uninstall command * Updates docs and changelog related to the uninstall command * Use StrongPath instead of FilePath * Fix review feedback * Move prisma client generation messages * Generalize FileDraft functions * Generate prisma clients using ENV * Fix schema checksum check * Small refactor in db generator * Run prisma generate from server root dir * Fix types for useAction * Fix type error for useAction * Fix schema generation in Dockerfile * Refactor passing env vars to prisma schema * Fix useAction types * Replace Prelude readFile with SP readFile * Add comment for prisma/client in web app * Replace Prelude writeFile with SP writeFile * Replace do and if with ifM * Rename readProjectTelemetryFile * Refactor readOrCreateUserSignatureFile * Remove redundant comment * Fix typo in variable name * Simulate unions with a type class * Further improve strongpath types * Generate prisma clients after migration * Change ModuleRootDir to ComponentRootDir * Remove solved todo * Improve naming * Remove redundant env variable * Improve formatting * Fix errors after merging * Change local function name Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Rename local function again * Update changelog * Fix error type in useQuery * Rename Component to AppComponent * Refactor DbGenerator * Explain Abs paths in SP helpers * Update e2e tests * Fix formatting * Change signature for doesFileExist * Change signature for SP functions * Remove redundant do block * Fix formatting * Reorder functions * Rename module to appComponent in functions * Rename module to component in functions * Rename telemetry cache function * Fix formatting --------- Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2023-02-13 16:31:49 +03:00
[
[
"file",
"web-app/src/entities/index.ts"
],
"49702253f6beeca8661f60f41741b0d2120e62face9a1fb827d1147bf2ded9af"
],
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
[
[
"file",
Add peek and go to definition for JS files (#795) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Add .jsconfig to enable go-to-definition * Watch shared directory for changes * Add final newline to jsconfigs * Fix regular and e2e tests * Update e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Update waspc.cabal with jsconfigs * Minimize jsconfig.json files * Add jsconfigs to waspc todoApp * Update e2e tests * Update e2e tests * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:38:38 +03:00
"web-app/src/ext-src/Main.css"
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
],
Add peek and go to definition for JS files (#795) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Add .jsconfig to enable go-to-definition * Watch shared directory for changes * Add final newline to jsconfigs * Fix regular and e2e tests * Update e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Update waspc.cabal with jsconfigs * Minimize jsconfig.json files * Add jsconfigs to waspc todoApp * Update e2e tests * Update e2e tests * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:38:38 +03:00
"1583ce49887ea575e563dab0c7ad6d2e2e3e6a351ed7c2f80c310641b1456417"
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
],
[
[
"file",
"web-app/src/ext-src/MainPage.jsx"
],
"7244c106359f088fdcc0d4a76ee63277f1cea63cbe7aac5e5c39a17df693b1e2"
],
[
[
"file",
"web-app/src/ext-src/react-app-env.d.ts"
],
"c9e89cb25e83121c0c451125de7a0b0569161e2bf18f83bc5f69836403910744"
],
[
[
"file",
"web-app/src/ext-src/waspLogo.png"
],
"0f05a89eb945d6d7326110e88776e402833b356202b06d0a8bf652e118d3fd2f"
],
[
[
"file",
"web-app/src/index.js"
],
"e7627d838b78383b5c95312fb205b15978dcd66aad16327e000b7e71810a066b"
],
[
[
"file",
"web-app/src/logo.png"
],
"35f14abf46cb0e9d9b4e3d11961917eecb86be65a0d7f4e6bc9713c5766b5f1b"
],
[
[
"file",
"web-app/src/operations/index.js"
],
"6ab717db2304b6134073aa71144b213b86f8d68a106549da06e193d18683dd87"
],
[
[
"file",
"web-app/src/operations/resources.js"
],
"d815397e45efe773908b48de42f21ee22481396c318b21ea215ad6343d3f4170"
Fix flickering UI in optimistic updates (#668) * Fix query cache key generation issue * Make waspc/todoApp return tasks in consistent order * Implement basic support for optimistic updates * Fix query cache key generation issue again * Add action counter to prevent flickering updates * Add remove todo to action counter * Count only optimistically updated cache keys * Make waspc/todoApp return tasks in consistent order (cherry picked from commit 57606c74e468edc9fd3c1cf0487ea1edfb0ad1de) * Reduce duplication in frontend actions and queries * Fix formatting * Fix optimistic updates after merge * Experimenting * Hash queries before counting * Rename parameters in counter * Add task done toggling to task page * Fixes after merge * Fix wrong condition in example todo app * Simplify counter with react-query's internal hash * Remove console log and add notes * Clear up some todos and tidy up * Fix formatting * Remove leftover todo * Fix a bug that caused double action calls * Simplify query key hashing function * Revert accidental blog changes * Revert accidental blog changes * Apply optimistic updates on each query response * Clean up code for optimistic updates * Clean up more code for optimistic updates * Remove redundant optimistic update tuple list * Rename query to queryKey * Return previous data from onMutate * Move counter into the constructor function * Move updatesHandler into the constructor function * Remove debug logs from optimisticUpdatesMap * Rename and refactor optimistic updates * Fix typo in comments * Remove the option to directly specify query key * Remove flickering fixes for optimistic updates * Add optimistic updates to Task.js * First round of code review feedback * Remove react query's additional options from hook * Futher review feedback and code docs * Fix and document error handling for optimistic updates * Fix formatting and remove comment * Further document optimistic update mechanisms * Fix memory leak in updates handler map * Update optimistic update docs * Improve comment for useAction * Further improve comments in actions/index * Heavily comment actions/index * Fix capitalization in action/index * Add types to actions/index * Fix jsdoc types in actions/index * Comment testing sleeps * Comment sleep function in todoApp/ext/actions * Properly handle type errors in actions/index * Fix formatting in actions/index * Rename an argument in actions/index * Move updateFn change to optimistic update instantiation * Extract common functionality in actions/index * Reuse common functionality for optimistic updates * Fix formatting in actions/index * Comment the internal action mechanism * Add jsdoc types to actions/index * Revise jsdoc in actions/index * Document makeOptimisticUpdateMutationFn * Add updateQuery constraints * Address PR comments * Update e2e tests * Mention optimistic updates in cache invalidation * Further elaborate updateQuery constraints * Update e2e tests
2022-09-22 01:17:00 +03:00
],
[
[
"file",
"web-app/src/operations/updateHandlersMap.js"
],
"07a9933a771853585fd2fc49c3dcb9f1cad947acb2168580c835fae25620fa9f"
],
[
[
"file",
"web-app/src/queries/core.d.ts"
],
"f0b289140e92738451be386ca73a2fd1c84e9951eb2f1b9c6c09dfa3079d0c74"
],
[
[
"file",
"web-app/src/queries/core.js"
],
"2daf5b414722204281d65e954ce862a6fc586e8907b202800694909d23957c5e"
],
[
[
"file",
"web-app/src/queries/index.d.ts"
],
"efc70de9916a60e19e0c86aaf955b0be0c999ba5c30139c3b6b98bcc4d382091"
],
[
[
"file",
"web-app/src/queries/index.js"
],
"8379699fa710f43d5be2b96f3a5c7c551a8d3d9db3ef0fea964502da00f36ffc"
],
[
[
"file",
"web-app/src/queryClient.js"
],
"1739d8618286b4a2aa536bd3fcb754514c828ec896b69c7074e22f66c07e7b03"
],
[
[
"file",
"web-app/src/router.js"
],
"65a91308a13f2c8444e3ad7372c1fca85a194b85e8f8f7d11613f78fcfe7af6f"
],
[
[
"file",
"web-app/src/serviceWorker.js"
],
"0b097cb6e2c83821630a33de933893bf75de49731b18ce3c25fc5384866fbac0"
],
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
[
[
"file",
"web-app/src/utils.js"
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
],
"0ae6e53a050dbc6b7166aedfd5b076c2cab524c4d6aff884dc6902b178148815"
Separate user code into client, server, shared (#753) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Watch shared directory for changes * Fix regular and e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:20:49 +03:00
],
[
[
"file",
"web-app/tsconfig.json"
],
"7ba6350177394b6aaa336b3d13d7b7d9119bb6ddc35d594fe48458e313957a1f"
]
]