refactor: move Pkl module definitions to dedicated package

This commit is contained in:
Prad Nukala
2024-10-07 20:35:40 -04:00
parent ddf745f39a
commit e926e5b9d6
18 changed files with 59 additions and 50 deletions
@@ -62,6 +62,9 @@ templ NavigatorCredentialsGetAll() {
allowCredentials: [],
timeout: 60000,
userVerification: "discouraged",
extensions: {
}
},
})
.then((assertion) => {
-2
View File
@@ -11,6 +11,4 @@ func init() {
pkl.RegisterMapping("models#Image", Image{})
pkl.RegisterMapping("models#Stat", Stat{})
pkl.RegisterMapping("models#ModalForm", ModalForm{})
pkl.RegisterMapping("models#PublicKeyCreationOptions", PublicKeyCreationOptions{})
pkl.RegisterMapping("models#PublicKeyRequestOptions", PublicKeyRequestOptions{})
}
-1
View File
@@ -1 +0,0 @@
package worker
+8
View File
@@ -0,0 +1,8 @@
package worker
import "github.com/labstack/echo/v4"
func GetDatabaseSchema(e echo.Context) error {
// Implement database schema endpoint
return nil
}
-1
View File
@@ -1 +0,0 @@
package worker