mirror of
https://github.com/gchq/CyberChef
synced 2025-01-09 02:58:46 +00:00
add namespaces to docas
This commit is contained in:
parent
5efc3f15f2
commit
c96a1df8e1
2 changed files with 4 additions and 1 deletions
|
@ -76,6 +76,7 @@ export function wrap(Operation) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* First draft
|
* First draft
|
||||||
|
* @namespace Api
|
||||||
* @param input
|
* @param input
|
||||||
* @param type
|
* @param type
|
||||||
*/
|
*/
|
||||||
|
@ -89,7 +90,7 @@ export async function translateTo(input, type) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @namespace Api
|
||||||
* @param searchTerm
|
* @param searchTerm
|
||||||
*/
|
*/
|
||||||
export function search(searchTerm) {
|
export function search(searchTerm) {
|
||||||
|
@ -117,6 +118,7 @@ function extractOperationInfo(Operation) {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @namespace Api
|
||||||
* @param {Object} operations - an object filled with operations.
|
* @param {Object} operations - an object filled with operations.
|
||||||
* @param {String} searchTerm - the name of the operation to get help for.
|
* @param {String} searchTerm - the name of the operation to get help for.
|
||||||
* Case and whitespace are ignored in search.
|
* Case and whitespace are ignored in search.
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
/**
|
/**
|
||||||
* it - wrapper for assertions to provide a helpful description
|
* it - wrapper for assertions to provide a helpful description
|
||||||
* to the TestRegister
|
* to the TestRegister
|
||||||
|
* @namespace ApiTests
|
||||||
* @param {String} description - The description of the test
|
* @param {String} description - The description of the test
|
||||||
* @param {Function} assertion - The test
|
* @param {Function} assertion - The test
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue