@zykeco/sync-server 0.3.0 → 0.5.0

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.
Files changed (43) hide show
  1. package/README.md +131 -0
  2. package/dist/db/schema.d.ts +1009 -0
  3. package/dist/db/schema.js +80 -1
  4. package/dist/db/schema.js.map +1 -1
  5. package/dist/index.js +25 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/routes/daily-stress-burden.d.ts +3 -0
  8. package/dist/routes/daily-stress-burden.js +24 -0
  9. package/dist/routes/daily-stress-burden.js.map +1 -0
  10. package/dist/routes/heart-rate-minute.d.ts +3 -0
  11. package/dist/routes/heart-rate-minute.js +24 -0
  12. package/dist/routes/heart-rate-minute.js.map +1 -0
  13. package/dist/routes/hr-zone-history.d.ts +3 -0
  14. package/dist/routes/hr-zone-history.js +24 -0
  15. package/dist/routes/hr-zone-history.js.map +1 -0
  16. package/dist/routes/user-profile.d.ts +3 -0
  17. package/dist/routes/user-profile.js +24 -0
  18. package/dist/routes/user-profile.js.map +1 -0
  19. package/dist/routes/user-timezones.d.ts +3 -0
  20. package/dist/routes/user-timezones.js +24 -0
  21. package/dist/routes/user-timezones.js.map +1 -0
  22. package/dist/routes/wipe.d.ts +6 -1
  23. package/dist/routes/wipe.js +16 -2
  24. package/dist/routes/wipe.js.map +1 -1
  25. package/dist/stores/daily-stress-burden.d.ts +3 -0
  26. package/dist/stores/daily-stress-burden.js +58 -0
  27. package/dist/stores/daily-stress-burden.js.map +1 -0
  28. package/dist/stores/heart-rate-minute.d.ts +3 -0
  29. package/dist/stores/heart-rate-minute.js +48 -0
  30. package/dist/stores/heart-rate-minute.js.map +1 -0
  31. package/dist/stores/hr-zone-history.d.ts +3 -0
  32. package/dist/stores/hr-zone-history.js +49 -0
  33. package/dist/stores/hr-zone-history.js.map +1 -0
  34. package/dist/stores/user-profile.d.ts +3 -0
  35. package/dist/stores/user-profile.js +76 -0
  36. package/dist/stores/user-profile.js.map +1 -0
  37. package/dist/stores/user-timezones.d.ts +3 -0
  38. package/dist/stores/user-timezones.js +43 -0
  39. package/dist/stores/user-timezones.js.map +1 -0
  40. package/drizzle/0001_sweet_firebird.sql +78 -0
  41. package/drizzle/meta/0001_snapshot.json +733 -0
  42. package/drizzle/meta/_journal.json +7 -0
  43. package/package.json +3 -3
@@ -8,6 +8,13 @@
8
8
  "when": 1779181277132,
9
9
  "tag": "0000_parallel_juggernaut",
10
10
  "breakpoints": true
11
+ },
12
+ {
13
+ "idx": 1,
14
+ "version": "6",
15
+ "when": 1779290742275,
16
+ "tag": "0001_sweet_firebird",
17
+ "breakpoints": true
11
18
  }
12
19
  ]
13
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zykeco/sync-server",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Self-hosted Zyke sync server (Hono + Drizzle + libsql). Imports to auto-start; ships a migrate CLI.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "author": "P2LS9K GmbH <office@p2ls9k.com>",
@@ -54,8 +54,8 @@
54
54
  "dependencies": {
55
55
  "@hono/node-server": "^2.0.2",
56
56
  "@libsql/client": "^0.17.3",
57
- "@zykeco/server-core": "^0.3.0",
58
- "@zykeco/sync-protocol": "^0.3.0",
57
+ "@zykeco/server-core": "^0.5.0",
58
+ "@zykeco/sync-protocol": "^0.5.0",
59
59
  "dotenv": "^17.4.2",
60
60
  "drizzle-orm": "^0.45.2",
61
61
  "hono": "^4.6.0"