Commit Graph

18 Commits

Author SHA1 Message Date
Gabriel Horner
58b2888729 fix: test and lints
also remove unused binding not caught by linter b/c it's used
2024-02-07 12:23:14 -05:00
Gabriel Horner
b1bcc1b2dd fix: unit test, lint + script 2024-02-07 04:09:01 +08:00
Gabriel Horner
cdddce0120 fix deps db test and most lints
Also deleted duplicated gp-util.{page-ref,block-ref} files that were moved to common
and moved a related test to common dep
2024-01-11 14:35:04 -05:00
Tienson Qin
9ee04feeb5 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-10 16:13:56 +08:00
Tienson Qin
b7d9098e80 Move gp-util and gp-config to the common dep 2024-01-03 16:38:05 +08:00
Gabriel Horner
ff5430cfd7 fix: db lint and tests from #10683 2024-01-02 15:42:36 -05:00
Gabriel Horner
ffa6aaae29 fix: remove unused db.sqlite related fns
- remove sqlite-db/close! as its not used and didn't make sense to be
  used in other electron ns
- remove sqlite-db/connections atom as its not needed
- remove read-graph as its not necessary
- rename cli.persist-graph as its primary purpose has changed
- update effected scripts
2023-12-13 12:06:24 -05:00
Gabriel Horner
36a553e4a1 chore merge sqlite-restore into sqlite-db
Also use it on the frontend. Also remove another unnecessary sqlite.db fn
2023-12-12 15:41:02 -05:00
Gabriel Horner
fb3e8e8d8a fix: update ds sqlite persistance to match latest frontend
also removed unused util fns
2023-12-11 13:52:26 -05:00
Gabriel Horner
b5eabc80ee fix: db and graph-parser nbb tests to pass locally
Updated sqlite fns to use updated approach. Deleted some unused
fns from old approach
2023-12-11 13:51:47 -05:00
Gabriel Horner
48009adaf9 chore: reuse common helper for stringifying datoms 2023-07-20 18:37:22 -04:00
Gabriel Horner
dc2707e398 Remove unused :page_uuid datoms 2023-07-18 13:38:30 -04:00
Gabriel Horner
671453aadb Add nbb script to demonstrate datascript querying a sqlite db
Also give test vars more appropriate name
2023-07-08 16:20:42 -04:00
Gabriel Horner
47e1b06f76 Move over restore-other-data and add a test for it 2023-07-08 02:11:35 -04:00
Gabriel Horner
586749c918 Move over restore-initial-data and add the first sqlite to datascript test 2023-07-07 16:43:31 -04:00
Gabriel Horner
d82e388ea3 Fix: file pages should save their name 2023-07-03 10:54:30 -04:00
Gabriel Horner
045c51cded Use sqlite.db ns in electron.db
- Add more tests for sqlite.db
- Update readme and CI for db's tests
2023-06-30 17:36:01 -04:00
Gabriel Horner
2ab6370dda Add tests for core sqlite db fns
These core db fns have been split out to be platform agnostic
so they can be run on CLI or non electron platforms
2023-06-30 11:45:39 -04:00