mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-03 02:30:23 -05:00
[server] db support for file versions
This commit is contained in:
@@ -50,6 +50,7 @@ func ResourceFromFS(r fs.Resource) Resource {
|
||||
ContentSHA256: r.ContentSHA256(),
|
||||
InheritedPermissions: r.InheritedPermissions(),
|
||||
Grants: r.Grants(),
|
||||
Versions: r.Versions(),
|
||||
Links: r.Links(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ type Resource struct {
|
||||
ContentSHA256 string `json:"c_sha256"`
|
||||
InheritedPermissions json.RawMessage `json:"inherited_permissions,omitempty"`
|
||||
Grants json.RawMessage `json:"grants"`
|
||||
Versions json.RawMessage `json:"versions"`
|
||||
Links json.RawMessage `json:"publinks"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user