From d25a39c74287a15eae4fbb5b8b65c455ebeaf305 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 11 Sep 2023 00:07:43 +0000 Subject: [PATCH 1/2] Add updated snippets --- package-lock.json | 4 ++-- snippets/auto_gen/hubl_filters.json | 2 +- snippets/auto_gen/hubl_functions.json | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 02166da6..8ac80e60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hubl", - "version": "1.1.2", + "version": "1.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hubl", - "version": "1.1.2", + "version": "1.2.1", "dependencies": { "@hubspot/cli-lib": "^4.1.8-beta.2", "dayjs": "^1.11.7", diff --git a/snippets/auto_gen/hubl_filters.json b/snippets/auto_gen/hubl_filters.json index 14dca4c6..cf39baef 100644 --- a/snippets/auto_gen/hubl_filters.json +++ b/snippets/auto_gen/hubl_filters.json @@ -647,7 +647,7 @@ "body": [ "|unixtimestamp" ], - "description": "Gets the UNIX timestamp value (in milliseconds) of a date object", + "description": "", "prefix": "|unixtimestamp" }, "upper": { diff --git a/snippets/auto_gen/hubl_functions.json b/snippets/auto_gen/hubl_functions.json index 2b3b60f4..bbdd3b6e 100644 --- a/snippets/auto_gen/hubl_functions.json +++ b/snippets/auto_gen/hubl_functions.json @@ -559,6 +559,13 @@ "description": "", "prefix": "~type" }, + "unique_string": { + "body": [ + "unique_string(${1:string})" + ], + "description": "Creates a distinctive string based on the input string\nParameters:\n- string(string) value used to produce a unique string", + "prefix": "~unique_string" + }, "unixtimestamp": { "body": [ "unixtimestamp(${1:var})" From 64d5a5e30e1d6e83431f2e5afd85d565d364cce9 Mon Sep 17 00:00:00 2001 From: Tanya Scales Date: Wed, 13 Sep 2023 10:55:55 -0400 Subject: [PATCH 2/2] fixing removal of description --- snippets/auto_gen/hubl_filters.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/auto_gen/hubl_filters.json b/snippets/auto_gen/hubl_filters.json index cf39baef..461c2c0f 100644 --- a/snippets/auto_gen/hubl_filters.json +++ b/snippets/auto_gen/hubl_filters.json @@ -647,7 +647,7 @@ "body": [ "|unixtimestamp" ], - "description": "", + "description": "This filter converts a datetime object into a unix timestamp.", "prefix": "|unixtimestamp" }, "upper": {