@ai-matrx/data 0.20.0 → 0.22.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.
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/data",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "The opinionated AI Matrx data layer: the /db tier's hard-won Supabase primitives — optimistic concurrency, complete-list reads, JSONB merge, session-retry, the domain-wide auth cookie, realtime channel hygiene — the /net resilience trio, and the /files lane: the Matrx file-communication client (durable-ref resolution, the mx_files_session bootstrap, authenticated blob fetch, uploads, the public-link door).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -88,6 +88,26 @@
88
88
  "default": "./dist/files.cjs"
89
89
  }
90
90
  },
91
+ "./files/tus": {
92
+ "import": {
93
+ "types": "./dist/files/tus.d.ts",
94
+ "default": "./dist/files/tus.js"
95
+ },
96
+ "require": {
97
+ "types": "./dist/files/tus.d.cts",
98
+ "default": "./dist/files/tus.cjs"
99
+ }
100
+ },
101
+ "./types": {
102
+ "import": {
103
+ "types": "./dist/types.d.ts",
104
+ "default": "./dist/types.js"
105
+ },
106
+ "require": {
107
+ "types": "./dist/types.d.cts",
108
+ "default": "./dist/types.cjs"
109
+ }
110
+ },
91
111
  "./testing": {
92
112
  "import": {
93
113
  "types": "./dist/testing.d.ts",
@@ -146,6 +166,7 @@
146
166
  "sideEffects": false,
147
167
  "dependencies": {
148
168
  "@supabase/ssr": "^0.12.7",
169
+ "tus-js-client": "^4.3.1",
149
170
  "@ai-matrx/kit": "latest",
150
171
  "@ai-matrx/realtime": "latest"
151
172
  },
@@ -180,6 +201,8 @@
180
201
  "build": "pnpm clean && tsup && node ../scripts/check-node-env-not-inlined.mjs",
181
202
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
182
203
  "check:package": "pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball",
204
+ "db-types": "node ./scripts/generate-db-types.mjs",
205
+ "check:db-types": "node ./scripts/generate-db-types.mjs --check",
183
206
  "typecheck": "tsc -p tsconfig.json --noEmit",
184
207
  "test": "vitest run",
185
208
  "test:watch": "vitest",