Tweak logic & add base import/export test
This commit is contained in:
@@ -17,6 +17,10 @@ import (
|
||||
|
||||
fqrt: platform + "::" + handle
|
||||
|
||||
envoy: {
|
||||
omit: bool | *false
|
||||
}
|
||||
|
||||
// All known RBAC operations for this component
|
||||
rbac: #rbacComponent & {
|
||||
operations: {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user