lucy-cli 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,22 @@
2
2
  import { batchCheckUpdateState, clearStale, getImageUploadUrl, insertItemBatch, isAlive, saveItemBatch } from 'backend/lib/http-functions/sync2';
3
3
  import { WixHttpFunctionRequest } from 'wix-http-functions';
4
4
 
5
+ /**------------------------------------------------------------------------
6
+ ** Health-Check endpoint
7
+ * This function are for Health-Check
8
+ * https://sunnyside-up.wixstudio.com/yeva/_functions/healthCheck
9
+ *------------------------------------------------------------------------**/
10
+ /**
11
+ * Handle the HealthCheck request
12
+ * @param request The request object
13
+ * @returns The response object
14
+ */
15
+
16
+ export function get_healthCheck(request: WixHttpFunctionRequest) {
17
+ return ok({ body: "I am alive 🦄!" });
18
+ }
19
+ /*--------------- END OF SECTION --------------*/
20
+
5
21
  /**------------------------------------------------------------------------
6
22
  ** Velo-Sync endpoints
7
23
  * This function are for the velo-sync functionality
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "1.0.11",
4
+ "version": "1.0.12",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {