Tweak logic & add base import/export test

This commit is contained in:
Tomaž Jerman
2023-03-17 10:58:46 +01:00
parent 0bfc2a7f87
commit cf30aeb75d
48 changed files with 1651 additions and 326 deletions
+4
View File
@@ -17,6 +17,10 @@ import (
fqrt: platform + "::" + handle
envoy: {
omit: bool | *false
}
// All known RBAC operations for this component
rbac: #rbacComponent & {
operations: {
+5
View File
@@ -177,6 +177,8 @@ import (
// referencing this resource
identKeys: [...string] | *([identKeyLabel]+identKeyAlias)
omitEncoder: bool | *false
extendedResourcePostProcess: bool | *false
extendedResourceDecoders: [...{
ident: string
@@ -215,5 +217,8 @@ import (
// extendedDecoder is called after the built-in which you can use
// to append additional nodes into.
extendedDecoder: bool | *false
// the resource calls a sanitizer function before saving to the database
sanitizeBeforeSave: bool | *false
}
}