Skip to content

Commit

Permalink
Confirm sweet query syntax works from commandline /cc @bendyorke
Browse files Browse the repository at this point in the history
`bb query recent-pages`
  • Loading branch information
logseq-cldwalker committed Jan 20, 2023
1 parent d41649d commit cdbec0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions script/nbb.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{:deps
{logseq/graph-parser
{:git/url "https://github.com/logseq/logseq"
:git/sha "a0f6d89e78f416fc46f0ff4c295697005ca2f380"
:deps/root "deps/graph-parser"}
:git/sha "090d25b5e845e98ec2f003279f91ff34e4393cc6"
:deps/root "deps/graph-parser"}
#_{:local/root "../../logseq/deps/graph-parser"}

logseq/bb-tasks
Expand Down
2 changes: 1 addition & 1 deletion script/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@logseq/nbb-logseq": "^1.1.157",
"@logseq/nbb-logseq": "^1.1.158",
"mldoc": "^1.5.0"
},
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion script/query.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
[?b :block/updated-at ?timestamp]
[(>= ?timestamp ?start)]
[(<= ?timestamp ?end)]]
:inputs [:3d-before-ms :end-of-today-ms]}
:inputs [:-1w-ms :end-of-today-ms]}
:tasks
{:query '[:find (pull ?b [* {:block/page [:block/original-name]}])
:where
Expand Down
8 changes: 4 additions & 4 deletions script/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# yarn lockfile v1


"@logseq/nbb-logseq@^1.1.157":
version "1.1.157"
resolved "https://registry.yarnpkg.com/@logseq/nbb-logseq/-/nbb-logseq-1.1.157.tgz#337be95156e5b22caf5533663ae8a5a79cc43fbd"
integrity sha512-cuutsKZDdg850qa6HquOTKKZ9WpWUjSozRdrfvI/2WIbAv2MVQKPQYtB03K55OW9i3D1K0jAwDM0xzGI2lWyFQ==
"@logseq/nbb-logseq@^1.1.158":
version "1.1.158"
resolved "https://registry.yarnpkg.com/@logseq/nbb-logseq/-/nbb-logseq-1.1.158.tgz#ebff10bdb0998b43e52e69ad487be04236b84569"
integrity sha512-NT3w5BmYBUeyOPNDc3SRNUrC4EXiY75KXiTdDS24kYaRX4UR63UZiAcCrG2GLB3jS48N2xv23dWJusHFer/+sQ==
dependencies:
import-meta-resolve "^2.1.0"

Expand Down

0 comments on commit cdbec0f

Please sign in to comment.