feature/driver indexed db (#12)

* fix: update commitizen version

* feat: add WASM build tags to db actions

* feat: Update all actions to follow `AddAsset` for error handling

* feat: remove database dependency in dwn and motr commands

* feat: add basic info form to registration view

* feat: implement basic browser navigation component

* refactor: move database related files to middleware

* fix: remove unused test command

* fix: update source directory for buf-publish workflow
This commit is contained in:
Prad Nukala
2024-09-16 01:06:00 -04:00
committed by GitHub
parent 7bdf6c3eb4
commit 8022428e37
118 changed files with 388 additions and 1007 deletions
-37
View File
@@ -1,37 +0,0 @@
@go.Package { name = "github.com/onsonr/sonr/motr/api" }
module api
import "package://pkg.pkl-lang.org/pkl-go/pkl.golang@0.5.0#/go.pkl"
class JsonField extends go.Field {
structTags {
["json"] = "%{name},omitempty"
}
}
abstract class Request {
route: String
method: String
headers: Map<String, String>
origin: String?
userAgent: String?
body: Dynamic
}
abstract class Response {
statusCode: Int
headers: Map<String, String>
body: Dynamic
}
class GetAccountsRequest extends Request {
route = "/accounts"
method = "GET"
headers = {
"Content-Type" = "application/json"
}
origin = null
userAgent = null
body = null
}