feat: add basic hyperlog todos
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
cdab2e1c25
commit
c3fea75178
@ -58,9 +58,9 @@ pub async fn execute() -> anyhow::Result<()> {
|
|||||||
)?;
|
)?;
|
||||||
|
|
||||||
let put_object = bucket.put_object(Some(&creds), "some-object");
|
let put_object = bucket.put_object(Some(&creds), "some-object");
|
||||||
put_object.sign(expires_in)
|
let _url = put_object.sign(std::time::Duration::from_secs(30));
|
||||||
|
|
||||||
let state = SharedState::new().await?;
|
let _state = SharedState::new().await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
@ -20,3 +20,7 @@ cuddle/clusters:
|
|||||||
prod:
|
prod:
|
||||||
env:
|
env:
|
||||||
service.host: "0.0.0.0:3000"
|
service.host: "0.0.0.0:3000"
|
||||||
|
|
||||||
|
scripts:
|
||||||
|
todos:
|
||||||
|
type: shell
|
||||||
|
5
scripts/todos.sh
Executable file
5
scripts/todos.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
#
|
||||||
|
set -e pipefail
|
||||||
|
|
||||||
|
hyperlog --local-path todos
|
20
todos/hyperlog/graph.json
Normal file
20
todos/hyperlog/graph.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"forest": {
|
||||||
|
"type": "user",
|
||||||
|
"projects": {
|
||||||
|
"type": "section",
|
||||||
|
"artifacts": {
|
||||||
|
"type": "item",
|
||||||
|
"title": "artifacts",
|
||||||
|
"description": "",
|
||||||
|
"state": "not-done"
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"type": "item",
|
||||||
|
"title": "projects",
|
||||||
|
"description": "",
|
||||||
|
"state": "not-done"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user