@soulbatical/tetra-core 0.1.63 → 0.2.1

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.

Potentially problematic release.


This version of @soulbatical/tetra-core might be problematic. Click here for more details.

Files changed (57) hide show
  1. package/README.md +212 -53
  2. package/dist/affiliate.d.ts +11 -0
  3. package/dist/affiliate.d.ts.map +1 -0
  4. package/dist/affiliate.js +10 -0
  5. package/dist/affiliate.js.map +1 -0
  6. package/dist/auth.d.ts +8 -0
  7. package/dist/auth.d.ts.map +1 -0
  8. package/dist/auth.js +7 -0
  9. package/dist/auth.js.map +1 -0
  10. package/dist/billing.d.ts +8 -0
  11. package/dist/billing.d.ts.map +1 -0
  12. package/dist/billing.js +7 -0
  13. package/dist/billing.js.map +1 -0
  14. package/dist/core/createApp.d.ts +1 -1
  15. package/dist/email.d.ts +9 -0
  16. package/dist/email.d.ts.map +1 -0
  17. package/dist/email.js +8 -0
  18. package/dist/email.js.map +1 -0
  19. package/dist/generators.d.ts +15 -0
  20. package/dist/generators.d.ts.map +1 -0
  21. package/dist/generators.js +12 -0
  22. package/dist/generators.js.map +1 -0
  23. package/dist/mcp.d.ts +8 -0
  24. package/dist/mcp.d.ts.map +1 -0
  25. package/dist/mcp.js +7 -0
  26. package/dist/mcp.js.map +1 -0
  27. package/dist/middleware/securityMiddleware.d.ts +1 -1
  28. package/dist/middleware/validateQueryParams.d.ts +1 -1
  29. package/dist/middleware/validateQueryParams.d.ts.map +1 -1
  30. package/dist/middleware/validateQueryParams.js +1 -1
  31. package/dist/middleware/validateQueryParams.js.map +1 -1
  32. package/dist/planner.d.ts +8 -0
  33. package/dist/planner.d.ts.map +1 -0
  34. package/dist/planner.js +7 -0
  35. package/dist/planner.js.map +1 -0
  36. package/dist/shared/controllers/BaseMutationController.d.ts +1 -1
  37. package/dist/shared/controllers/BaseMutationController.d.ts.map +1 -1
  38. package/dist/shared/controllers/BaseQueryController.d.ts +4 -4
  39. package/dist/shared/factories/QueryServiceFactory.d.ts +16 -14
  40. package/dist/shared/factories/QueryServiceFactory.d.ts.map +1 -1
  41. package/dist/shared/factories/QueryServiceFactory.js +1 -1
  42. package/dist/shared/factories/QueryServiceFactory.js.map +1 -1
  43. package/dist/shared/planner/PlannerService.js.map +1 -1
  44. package/dist/shared/services/SimpleRPCQueryService.d.ts +2 -2
  45. package/dist/shared/services/SimpleRPCQueryService.d.ts.map +1 -1
  46. package/dist/shared/services/TableQueryService.d.ts +4 -4
  47. package/dist/shared/services/TableQueryService.d.ts.map +1 -1
  48. package/dist/shared/utils/response-mapper.js +2 -2
  49. package/dist/shared/utils/response-mapper.js.map +1 -1
  50. package/dist/shared/validators/featureConfigValidator.d.ts.map +1 -1
  51. package/dist/shared/validators/featureConfigValidator.js +6 -5
  52. package/dist/shared/validators/featureConfigValidator.js.map +1 -1
  53. package/dist/storage.d.ts +8 -0
  54. package/dist/storage.d.ts.map +1 -0
  55. package/dist/storage.js +7 -0
  56. package/dist/storage.js.map +1 -0
  57. package/package.json +48 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soulbatical/tetra-core",
3
- "version": "0.1.63",
3
+ "version": "0.2.1",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },
@@ -20,6 +20,46 @@
20
20
  "import": "./dist/frontend/index.js",
21
21
  "require": "./dist/frontend/index.js",
22
22
  "default": "./dist/frontend/index.js"
23
+ },
24
+ "./billing": {
25
+ "types": "./dist/billing.d.ts",
26
+ "import": "./dist/billing.js",
27
+ "default": "./dist/billing.js"
28
+ },
29
+ "./storage": {
30
+ "types": "./dist/storage.d.ts",
31
+ "import": "./dist/storage.js",
32
+ "default": "./dist/storage.js"
33
+ },
34
+ "./mcp": {
35
+ "types": "./dist/mcp.d.ts",
36
+ "import": "./dist/mcp.js",
37
+ "default": "./dist/mcp.js"
38
+ },
39
+ "./email": {
40
+ "types": "./dist/email.d.ts",
41
+ "import": "./dist/email.js",
42
+ "default": "./dist/email.js"
43
+ },
44
+ "./planner": {
45
+ "types": "./dist/planner.d.ts",
46
+ "import": "./dist/planner.js",
47
+ "default": "./dist/planner.js"
48
+ },
49
+ "./affiliate": {
50
+ "types": "./dist/affiliate.d.ts",
51
+ "import": "./dist/affiliate.js",
52
+ "default": "./dist/affiliate.js"
53
+ },
54
+ "./auth": {
55
+ "types": "./dist/auth.d.ts",
56
+ "import": "./dist/auth.js",
57
+ "default": "./dist/auth.js"
58
+ },
59
+ "./generators": {
60
+ "types": "./dist/generators.d.ts",
61
+ "import": "./dist/generators.js",
62
+ "default": "./dist/generators.js"
23
63
  }
24
64
  },
25
65
  "bin": {
@@ -39,6 +79,8 @@
39
79
  "prepublishOnly": "npm run build && npm run typecheck && npx tetra-check-peers",
40
80
  "check:peers": "npx tetra-check-peers",
41
81
  "typecheck": "tsc --noEmit",
82
+ "test": "vitest run",
83
+ "test:watch": "vitest",
42
84
  "enforce:api": "./scripts/enforce-api-standards.sh"
43
85
  },
44
86
  "dependencies": {
@@ -54,10 +96,10 @@
54
96
  "@mollie/api-client": "^4.0.0",
55
97
  "@supabase/supabase-js": "^2.93.3",
56
98
  "@tanstack/react-table": "^8.0.0",
57
- "express": "^5.0.0",
58
- "pino": "^9.0.0",
59
- "react": "^18.0.0 || ^19.0.0",
99
+ "express": "^4.21.0 || ^5.0.0",
60
100
  "multer": "^1.4.5 || ^2.0.0",
101
+ "pino": "^9.0.0 || ^10.0.0",
102
+ "react": "^18.0.0 || ^19.0.0",
61
103
  "sharp": ">=0.33.0",
62
104
  "stripe": "^17.0.0 || ^20.0.0"
63
105
  },
@@ -101,7 +143,8 @@
101
143
  "pino": "^9.12.0",
102
144
  "react": "^19.2.4",
103
145
  "stripe": "^17.7.0",
104
- "typescript": "^5.7.3"
146
+ "typescript": "^5.7.3",
147
+ "vitest": "^4.1.0"
105
148
  },
106
149
  "keywords": [
107
150
  "tetra",