Added ability to load initial storage data

This commit is contained in:
Pijus Kamandulis
2024-02-14 20:46:40 +02:00
parent a656f33009
commit 62ac9ddf6b
5 changed files with 45 additions and 0 deletions

View File

@@ -110,3 +110,9 @@ type PartitionKeyRange struct {
Ts int `json:"_ts"`
Lsn int `json:"lsn"`
}
type State struct {
Databases []Database `json:"databases"`
Collections []Collection `json:"collections"`
Documents []Document `json:"documents"`
}