feat: add layer definition api
Some checks are pending
Cadoles/bouncer/pipeline/pr-develop Build started...
Cadoles/bouncer/pipeline/head This commit looks good

This commit is contained in:
2024-05-17 15:44:28 +02:00
parent 7456dba96f
commit 449fb69c02
42 changed files with 698 additions and 1270 deletions

View File

@ -1,6 +1,9 @@
package store
import "time"
import (
"encoding/json"
"time"
)
type (
LayerName Name
@ -23,3 +26,8 @@ type Layer struct {
UpdatedAt time.Time `json:"updatedAt"`
Options LayerOptions `json:"options"`
}
type LayerDefinition struct {
Type LayerType `json:"type"`
Options json.RawMessage `json:"options"`
}