Skip to content

Commit

Permalink
update jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
hellobontempo committed Jul 23, 2024
1 parent b8fa780 commit 94f1e9b
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions ui/lib/kv/addon/components/kv-subkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,29 @@ import { tracked } from '@glimmer/tracking';
/**
* @module KvSubkeys
* @description
* ```
* sample subkeys:
{
sample secret data:
```
{
"foo": "abc",
"bar": {
"baz": "def"
},
"quux": {}
}
```
sample subkeys:
```
this.subkeys = {
"bar": {
"baz": null
},
"foo": null,
"quux": null
}
* ```
```
*
* <KvSubkeys @subkeys={{@subkeys}} />
* @example
* <KvSubkeys @subkeys={{this.subkeys}} />
*
* @param {object} subkeys - leaf keys of a kv v2 secret, all values (unless a nested object with more keys) return null
*/
Expand Down

0 comments on commit 94f1e9b

Please sign in to comment.