Skip to content

Commit

Permalink
Merge pull request #246 from HubSpot/update_snippets
Browse files Browse the repository at this point in the history
[Automatic] Update HubL Snippets
  • Loading branch information
TanyaScales authored Sep 13, 2023
2 parents 83ecb0f + 64d5a5e commit 1e2327c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion snippets/auto_gen/hubl_filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@
"body": [
"|unixtimestamp"
],
"description": "Gets the UNIX timestamp value (in milliseconds) of a date object",
"description": "This filter converts a datetime object into a unix timestamp.",
"prefix": "|unixtimestamp"
},
"upper": {
Expand Down
7 changes: 7 additions & 0 deletions snippets/auto_gen/hubl_functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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})"
Expand Down

0 comments on commit 1e2327c

Please sign in to comment.