NERDDISCO commited on
Commit
0a79d58
Β·
1 Parent(s): 946780b

docs: updated conventions

Browse files
Files changed (1) hide show
  1. docs/conventions.md +2 -2
docs/conventions.md CHANGED
@@ -889,7 +889,7 @@ const process = await teleoperate(robot, { calibrationData });
889
  **Proper utils organization prevents reimplementation:**
890
 
891
  ```
892
- src/lerobot/web/utils/
893
  β”œβ”€β”€ sts3215-protocol.ts # Protocol constants
894
  β”œβ”€β”€ sign-magnitude.ts # Encoding/decoding
895
  β”œβ”€β”€ serial-port-wrapper.ts # Web Serial wrapper
@@ -914,7 +914,7 @@ src/lerobot/web/utils/
914
  **Types belong in dedicated directories, not mixed with business logic:**
915
 
916
  ```
917
- src/lerobot/web/types/
918
  β”œβ”€β”€ robot-connection.ts # Core connection types
919
  └── robot-config.ts # Hardware configuration types
920
  ```
 
889
  **Proper utils organization prevents reimplementation:**
890
 
891
  ```
892
+ packages/web/src/utils/
893
  β”œβ”€β”€ sts3215-protocol.ts # Protocol constants
894
  β”œβ”€β”€ sign-magnitude.ts # Encoding/decoding
895
  β”œβ”€β”€ serial-port-wrapper.ts # Web Serial wrapper
 
914
  **Types belong in dedicated directories, not mixed with business logic:**
915
 
916
  ```
917
+ packages/web/src/types/
918
  β”œβ”€β”€ robot-connection.ts # Core connection types
919
  └── robot-config.ts # Hardware configuration types
920
  ```