@lunora/server 1.0.0-alpha.264 → 1.0.0-alpha.266
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/data-model.d.mts +2 -0
- package/dist/data-model.d.ts +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +4 -4
package/dist/data-model.d.mts
CHANGED
|
@@ -142,6 +142,8 @@ type WhereOf<DM, REL extends Record<keyof DM, object>, T extends keyof DM> = Pat
|
|
|
142
142
|
};
|
|
143
143
|
/** {@link QueryArgs} with the relation-aware {@link WhereOf} `where` typing. */
|
|
144
144
|
interface QueryArgsOf<DM, REL extends Record<keyof DM, object>, T extends keyof DM> {
|
|
145
|
+
/** Read the authoritative copy, not a replica. Only a `.global()` D1 table can lag; shard-local reads are already authoritative. */
|
|
146
|
+
consistency?: "primary";
|
|
145
147
|
cursor?: null | string;
|
|
146
148
|
/**
|
|
147
149
|
* Include soft-deleted rows (`.softDelete()` tables only). Default hides them;
|
package/dist/data-model.d.ts
CHANGED
|
@@ -142,6 +142,8 @@ type WhereOf<DM, REL extends Record<keyof DM, object>, T extends keyof DM> = Pat
|
|
|
142
142
|
};
|
|
143
143
|
/** {@link QueryArgs} with the relation-aware {@link WhereOf} `where` typing. */
|
|
144
144
|
interface QueryArgsOf<DM, REL extends Record<keyof DM, object>, T extends keyof DM> {
|
|
145
|
+
/** Read the authoritative copy, not a replica. Only a `.global()` D1 table can lag; shard-local reads are already authoritative. */
|
|
146
|
+
consistency?: "primary";
|
|
145
147
|
cursor?: null | string;
|
|
146
148
|
/**
|
|
147
149
|
* Include soft-deleted rows (`.softDelete()` tables only). Default hides them;
|
package/dist/index.d.mts
CHANGED
|
@@ -2735,6 +2735,8 @@ interface PatchWriteOptions {
|
|
|
2735
2735
|
*/
|
|
2736
2736
|
interface QueryArgs$1 {
|
|
2737
2737
|
baseWhere?: WhereInput;
|
|
2738
|
+
/** Read the authoritative copy, not a replica; the RLS wrapper forwards it unchanged (see `@lunora/do`'s `QueryArgs`). */
|
|
2739
|
+
consistency?: "primary";
|
|
2738
2740
|
cursor?: null | string;
|
|
2739
2741
|
/**
|
|
2740
2742
|
* Opt a list read back into a `.softDelete()` table's tombstoned rows. Set by
|
package/dist/index.d.ts
CHANGED
|
@@ -2735,6 +2735,8 @@ interface PatchWriteOptions {
|
|
|
2735
2735
|
*/
|
|
2736
2736
|
interface QueryArgs$1 {
|
|
2737
2737
|
baseWhere?: WhereInput;
|
|
2738
|
+
/** Read the authoritative copy, not a replica; the RLS wrapper forwards it unchanged (see `@lunora/do`'s `QueryArgs`). */
|
|
2739
|
+
consistency?: "primary";
|
|
2738
2740
|
cursor?: null | string;
|
|
2739
2741
|
/**
|
|
2740
2742
|
* Opt a list read back into a `.softDelete()` table's tombstoned rows. Set by
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/server",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.266",
|
|
4
4
|
"description": "Server primitives for Lunora: defineSchema, defineTable, query, mutation, and action",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"backend",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@lunora/errors": ">=1.0.0-alpha.77 <2.0.0-0",
|
|
76
|
-
"@lunora/scheduler": "1.0.0-alpha.
|
|
77
|
-
"@lunora/shard-engine": "1.0.0-alpha.
|
|
78
|
-
"@lunora/values": "1.0.0-alpha.
|
|
76
|
+
"@lunora/scheduler": "1.0.0-alpha.168",
|
|
77
|
+
"@lunora/shard-engine": "1.0.0-alpha.185",
|
|
78
|
+
"@lunora/values": "1.0.0-alpha.94",
|
|
79
79
|
"@lunora/wire": "1.0.0-alpha.6",
|
|
80
80
|
"drizzle-orm": "1.0.0-rc.5",
|
|
81
81
|
"hono": "^4.13.13"
|