docs: Add a table for visibility values in our JSON Schema

This commit is contained in:
Himanshu Mishra
2020-12-11 10:48:53 +01:00
parent d36322c54c
commit 675b5d2769
+6
View File
@@ -83,6 +83,12 @@ object will be available in the frontend. The full ancestry does not need to
have correctly defined visibilities however, so it is enough to only for example
declare the visibility of a leaf node of `type: "string"`.
| `visibility` | |
| ------------ | ------------------------------------------------------------------ |
| `frontend` | Visible in frontend and backend |
| `backend` | (Default) Only in backend |
| `secret` | Only in backend and may be excluded from logs for security reasons |
## Validation
Schemas can be validated using the `backstage-cli config:check` command. If you