my-fleetbo-react-v1 1.0.2 → 1.0.4

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "my-fleetbo-react-v1",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "description": "React template optimized for the Fleetbo ecosystem.",
6
6
  "author": "Jean Aubain Noucti",
7
7
  "license": "MIT",
@@ -9,15 +9,16 @@
9
9
  *
10
10
  * Alex (npm run alex):
11
11
  * "Forge a guest manager with list and photo" → Alex builds
12
- * "A guest manager with list and photo" → Alex stays conversational
13
- * Rule: use "forge", "create", "modify" to trigger code generation.
12
+ * "A guest manager with list and photo" → Alex stays conversational
13
+ *
14
+ * Rule: use "forge", "patch" before prompt code generation.
14
15
  *
15
16
  * Quick ref:
16
- * Fleetbo.openView('Module', true) → Native tab
17
- * Fleetbo.exec('Module', 'action', {}) → Native overlay
18
- * Fleetbo.add(db, col, json) → Write doc
19
- * Fleetbo.getDocsG(db, col) → Read docs
20
- * Fleetbo.delete(db, col, id) → Delete doc
17
+ * Fleetbo.openView('Module', true) → Full Native view/tab (120 FPS)
18
+ * Fleetbo.exec('Module', 'action', {}) → Native overlay (Atomic)
19
+ * Fleetbo.add(db, col, json) → Write documents to Mongo BaaS
20
+ * Fleetbo.getDocsG(db, col) → Read documents (General collection)
21
+ * Fleetbo.delete(db, col, id) → Absolute document annihilation
21
22
  */
22
23
 
23
24
  import { useEffect, useState } from 'react';
@@ -31,7 +32,7 @@ export default function Tab1() {
31
32
  if (action === 'HIDE_NAVBAR') setNavMode("none");
32
33
  if (action === 'SHOW_NAVBAR') setNavMode("show");
33
34
  if (action === 'PING_JS') {
34
- // Example : Fleetbo.exec('ModuleName', 'action', {}); Generate by Alex
35
+ // Example : Fleetbo.exec('ModuleName', 'action', {});
35
36
  }
36
37
  }
37
38
  });
@@ -1,8 +1,5 @@
1
1
  /**
2
2
  * Fleetbo Tab Redirect or Not
3
- *
4
- * This tab is handled by a native module (or its mock in dev).
5
- * If React renders this route (e.g. on reload), we redirect to the mock.
6
3
  */
7
4
  import { useEffect, useState } from 'react';
8
5
  import { PageConfig } from '@fleetbo';
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Fleetbo Tab Redirect or Not
3
- * This tab is handled by a fleetbo module (or its mock in dev).
4
3
  */
5
4
  import { useEffect, useState } from 'react';
6
5
  import { PageConfig } from '@fleetbo';
File without changes