[refactor] more typeclass refactorings

FlowCmdM -> DBCmd or HasNodeStory is usually enough
4 jobs for 272-dev-fixes-for-node-score in 130 minutes and 25 seconds (queued for 22 minutes and 36 seconds)
latest
Status Job ID Name Coverage
  Stack
passed #10090
stack

00:01:22

 
  Cabal
passed #10091
cabal

00:35:01

 
  Bench
passed #10092
bench

01:14:52

 
  Test
failed #10093
test

00:19:09

 
Name Stage Failure
failed
test Test
Test suite garg-test-hspec: PASS
Test suite logged to:
/builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-8.10.7/gargantext-0.0.6.9.9.8.2/t/garg-test-hspec/test/gargantext-0.0.6.9.9.8.2-garg-test-hspec.log
1 of 1 test suites (1 of 1 test cases) passed.
Error: cabal: Tests failed for test:garg-test-tasty from
gargantext-0.0.6.9.9.8.2.

Cleaning up file based variables
ERROR: Job failed: exit code 1