@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.
- package/config-schema.json +6 -2
- package/dist/adapter.d.mts +3 -3
- package/dist/adapter.mjs +5 -4
- package/dist/batch-ReqVoCfa.mjs +9559 -0
- package/dist/cli.d.mts +55 -33
- package/dist/cli.mjs +4 -4
- package/dist/command.mjs +530 -271
- package/dist/d1.d.mts +2 -10
- package/dist/d1.mjs +0 -0
- package/dist/epoch-storage-CDlQZcBB.mjs +988 -0
- package/dist/{for-adapters-t3-LukJQ.d.mts → for-adapters-B0xMP6Dq.d.mts} +8 -6
- package/dist/{for-adapters-D_Iu0gS_.mjs → for-adapters-CfXMGeOu.mjs} +3 -5
- package/dist/{for-adapters-Ch6CoHD4.mjs → for-adapters-DhNV1mWf.mjs} +46 -10
- package/dist/{generated-model-Cnt0Ot9q.mjs → generated-model-g5oWsDKE.mjs} +728 -540
- package/dist/index-BATasvJa.d.mts +241 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +5 -4
- package/dist/metadata-CzntpYzC.d.mts +182 -0
- package/dist/{plugin-Cyoej7qV.mjs → plugin-wOSILvSB.mjs} +211 -112
- package/dist/{plugin-XOHYndhP.mjs → plugin-x5-d3TSN.mjs} +148 -52
- package/dist/postgresql.d.mts +1 -9
- package/dist/postgresql.mjs +42 -26
- package/dist/src-D56_3odT.mjs +46 -0
- package/dist/{storage-override-CpbkdIqE.mjs → storage-override-n4w1cS_M.mjs} +61 -28
- package/dist/validations-DHDVV8hB.d.mts +1996 -0
- package/llms-full.txt +2354 -363
- package/package.json +1 -1
- package/skills/active-record/SKILL.md +22 -14
- package/dist/adapter-AGKp6wfO.d.mts +0 -1326
- package/dist/batch-BS_WseLf.mjs +0 -4255
- package/dist/epoch-storage-o2aoOH7H.mjs +0 -112
- package/dist/index-CyCJuM96.d.mts +0 -149
- package/dist/src-la_KkjCS.mjs +0 -1
package/config-schema.json
CHANGED
|
@@ -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
|
|
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
|
package/dist/adapter.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as workersEnv, r as onlyRequested, t as WorkersEnv } from "./for-adapters-
|
|
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 {
|
|
2
|
-
import { a as databaseExecutor,
|
|
3
|
-
import {
|
|
4
|
-
|
|
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 };
|