From 004db2d414414c8eee75a5566e6074f3f7ed3eb7 Mon Sep 17 00:00:00 2001 From: mikesealey Date: Thu, 4 Jul 2024 16:56:25 +0100 Subject: [PATCH] prepares manifest for Lorem Ipsum handlebar helper --- packages/string-templates/package.json | 2 +- packages/string-templates/src/manifest.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index ca7c7485cd..17f26604a3 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -26,7 +26,7 @@ "manifest": "ts-node ./scripts/gen-collection-info.ts" }, "dependencies": { - "@budibase/handlebars-helpers": "^0.13.1", + "@budibase/handlebars-helpers": "^0.13.2", "dayjs": "^1.10.8", "handlebars": "^4.7.8", "lodash.clonedeep": "^4.5.0" diff --git a/packages/string-templates/src/manifest.json b/packages/string-templates/src/manifest.json index dce4af8665..2af84caa08 100644 --- a/packages/string-templates/src/manifest.json +++ b/packages/string-templates/src/manifest.json @@ -907,6 +907,15 @@ "example": "{{uppercase 'aBcDef'}} -> ABCDEF", "description": "

Uppercase all of the characters in the given string. If used as a block helper it will uppercase the entire block. This helper does not support inverse blocks.

\n", "requiresBlock": false + }, + "lorem": { + "args": [ + "num" + ], + "numArgs": 1, + "example": "{{lorem 11}} -> Lorem ipsum", + "description": "

Takes a number and returns that many charaters of Lorem Ipsum

\n", + "requiresBlock": false } }, "comparison": {