ci(snippet): added a return snippet to make things more simple

This commit is contained in:
2025-12-22 11:33:39 -06:00
parent 33ffdb2264
commit c8b554eb42

17
.vscode/lst.code-snippets vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"Return Function Template": {
"prefix": "returnfunc",
"body": [
"return returnFunc({",
"\tsuccess: ${1:true},",
"\tlevel: \"${2:error}\",",
"\tmodule: \"${3:system}\",",
"\tsubModule: \"${4:db}\",",
"\tmessage: \"${5:Failed to connect to the prod sql server.}\",",
"\tdata: ${6:[]},",
"\tnotify: ${7:false},",
"});"
],
"description": "Insert a returnFunc template"
}
}