@forestfuture/active-record 0.7.0 → 0.8.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 (33) hide show
  1. package/config-schema.json +6 -2
  2. package/dist/adapter.d.mts +3 -3
  3. package/dist/adapter.mjs +5 -4
  4. package/dist/batch-ReqVoCfa.mjs +9559 -0
  5. package/dist/cli.d.mts +55 -33
  6. package/dist/cli.mjs +4 -4
  7. package/dist/command.mjs +530 -271
  8. package/dist/d1.d.mts +2 -10
  9. package/dist/d1.mjs +0 -0
  10. package/dist/epoch-storage-CDlQZcBB.mjs +988 -0
  11. package/dist/{for-adapters-t3-LukJQ.d.mts → for-adapters-B0xMP6Dq.d.mts} +8 -6
  12. package/dist/{for-adapters-D_Iu0gS_.mjs → for-adapters-CfXMGeOu.mjs} +3 -5
  13. package/dist/{for-adapters-Ch6CoHD4.mjs → for-adapters-DhNV1mWf.mjs} +46 -10
  14. package/dist/{generated-model-Cnt0Ot9q.mjs → generated-model-g5oWsDKE.mjs} +728 -540
  15. package/dist/index-BATasvJa.d.mts +241 -0
  16. package/dist/index.d.mts +4 -3
  17. package/dist/index.mjs +5 -4
  18. package/dist/metadata-CzntpYzC.d.mts +182 -0
  19. package/dist/{plugin-Cyoej7qV.mjs → plugin-wOSILvSB.mjs} +211 -112
  20. package/dist/{plugin-XOHYndhP.mjs → plugin-x5-d3TSN.mjs} +148 -52
  21. package/dist/postgresql.d.mts +1 -9
  22. package/dist/postgresql.mjs +42 -26
  23. package/dist/src-D56_3odT.mjs +46 -0
  24. package/dist/{storage-override-CpbkdIqE.mjs → storage-override-n4w1cS_M.mjs} +61 -28
  25. package/dist/validations-DHDVV8hB.d.mts +1996 -0
  26. package/llms-full.txt +2354 -363
  27. package/package.json +1 -1
  28. package/skills/active-record/SKILL.md +22 -14
  29. package/dist/adapter-AGKp6wfO.d.mts +0 -1326
  30. package/dist/batch-BS_WseLf.mjs +0 -4255
  31. package/dist/epoch-storage-o2aoOH7H.mjs +0 -112
  32. package/dist/index-CyCJuM96.d.mts +0 -149
  33. package/dist/src-la_KkjCS.mjs +0 -1
@@ -21,10 +21,14 @@
21
21
  "additionalProperties": false,
22
22
  "definitions": {
23
23
  "d1": {
24
- "description": "A D1 database. Its migrations folder and the rest come from its d1_databases entry in the Wrangler config beside this file.",
24
+ "description": "A D1 database. Its migrations folder and the rest come from its d1_databases entry in its Wrangler config: the one beside this file, or the one wranglerConfig names.",
25
25
  "type": "object",
26
26
  "properties": {
27
- "adapter": { "description": "The database's adapter.", "const": "d1" }
27
+ "adapter": { "description": "The database's adapter.", "const": "d1" },
28
+ "wranglerConfig": {
29
+ "description": "Its Wrangler config, relative to this file, when it isn't beside this file: \"../worker/wrangler.jsonc\".",
30
+ "type": "string"
31
+ }
28
32
  },
29
33
  "required": ["adapter"],
30
34
  "additionalProperties": false
@@ -1,3 +1,3 @@
1
- import { ct as DatabaseExecutor, dt as Driver, ft as StatementResult, gt as valueMark, ht as Dialect, i as AnyDatabase, lt as QueryEvent, n as ConstraintFailure, nt as boundValue, o as databaseExecutor, pt as CompiledSql, r as SchemaAdapter, t as Adapter, ut as QueryListener } from "./adapter-AGKp6wfO.mjs";
2
- import { n as workersEnv, r as onlyRequested, t as WorkersEnv } from "./for-adapters-t3-LukJQ.mjs";
3
- export { type Adapter, AnyDatabase, type CompiledSql, type ConstraintFailure, DatabaseExecutor, type Dialect, type Driver, type QueryEvent, type QueryListener, type SchemaAdapter, type StatementResult, type WorkersEnv, boundValue, databaseExecutor, onlyRequested, valueMark, workersEnv };
1
+ import { A as databaseExecutor, At as valueMark, C as QueryEvent, D as SchemaAdapter, Dt as CompiledSql, E as ConstraintFailure, O as AnyDatabase, S as DatabaseExecutor, T as Adapter, b as boundValue, ft as Driver, jt as Attribute, kt as Dialect, pt as StatementResult, w as QueryListener } from "./validations-DHDVV8hB.mjs";
2
+ import { i as hexOf, n as workersEnv, r as onlyRequested, t as WorkersEnv } from "./for-adapters-B0xMP6Dq.mjs";
3
+ export { type Adapter, AnyDatabase, type Attribute, type CompiledSql, type ConstraintFailure, DatabaseExecutor, type Dialect, type Driver, type QueryEvent, type QueryListener, type SchemaAdapter, type StatementResult, type WorkersEnv, boundValue, databaseExecutor, hexOf, onlyRequested, valueMark, workersEnv };
package/dist/adapter.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { L as boundValue } from "./generated-model-Cnt0Ot9q.mjs";
2
- import { a as databaseExecutor, c as valueMark, i as AnyDatabase, s as DatabaseExecutor } from "./batch-BS_WseLf.mjs";
3
- import { n as onlyRequested, t as workersEnv } from "./for-adapters-D_Iu0gS_.mjs";
4
- export { AnyDatabase, DatabaseExecutor, boundValue, databaseExecutor, onlyRequested, valueMark, workersEnv };
1
+ import { p as hexOf } from "./epoch-storage-CDlQZcBB.mjs";
2
+ import { a as databaseExecutor, f as valueMark, i as AnyDatabase, l as DatabaseExecutor } from "./batch-ReqVoCfa.mjs";
3
+ import { M as boundValue } from "./generated-model-g5oWsDKE.mjs";
4
+ import { n as onlyRequested, t as workersEnv } from "./for-adapters-CfXMGeOu.mjs";
5
+ export { AnyDatabase, DatabaseExecutor, boundValue, databaseExecutor, hexOf, onlyRequested, valueMark, workersEnv };