Add template function descriptions

This commit is contained in:
Gregory Schier committed 2024-10-15 07:47:26 -07:00
1 parent 17a429525f
commit 9d24aefba1
3 files changed
+3

No files matched your search

@@ -6,6 +6,7 @@ const algorithms = ['md5', 'sha1', 'sha256', 'sha512'];
export const plugin: PluginDefinition = {
templateFunctions: algorithms.map(algorithm => ({
name: `hash.${algorithm}`,
description: 'Hash a value to its hexidecimal representation',
args: [
{
name: 'input',