@lunora/server 1.0.0-alpha.151 → 1.0.0-alpha.152
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/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -983,16 +983,17 @@ type ExtendableSchema<T extends Record<string, TableDefinition>> = {
|
|
|
983
983
|
* tables and D1-mode `@lunora/auth` — is governed by D1's own location
|
|
984
984
|
* settings, not this option.
|
|
985
985
|
*
|
|
986
|
-
*
|
|
987
|
-
*
|
|
988
|
-
*
|
|
989
|
-
*
|
|
990
|
-
*
|
|
991
|
-
*
|
|
986
|
+
* DO-backed auth (`.auth({ namespace })`) is pinned only with
|
|
987
|
+
* `{ pinAuth: true }`, and codegen refuses a project that has it without
|
|
988
|
+
* the option. It was unpinned before, so pinning it resolves every user,
|
|
989
|
+
* account and session to a new, empty object: the option is the explicit
|
|
990
|
+
* "I will copy that data across, or have none" acknowledgement. See the
|
|
991
|
+
* data-residency docs for the copy. Voice sessions are pinned without it:
|
|
992
|
+
* they store nothing, and their transcripts are shard rows, pinned already.
|
|
992
993
|
* @see https://developers.cloudflare.com/durable-objects/reference/data-location/
|
|
993
994
|
*/
|
|
994
995
|
jurisdiction: (jurisdiction: DurableObjectJurisdiction, options?: {
|
|
995
|
-
|
|
996
|
+
pinAuth?: boolean;
|
|
996
997
|
}) => ExtendableSchema<T>;
|
|
997
998
|
/**
|
|
998
999
|
* Turn on secure-by-default RLS for the whole schema. Every table is then
|
package/dist/index.d.ts
CHANGED
|
@@ -983,16 +983,17 @@ type ExtendableSchema<T extends Record<string, TableDefinition>> = {
|
|
|
983
983
|
* tables and D1-mode `@lunora/auth` — is governed by D1's own location
|
|
984
984
|
* settings, not this option.
|
|
985
985
|
*
|
|
986
|
-
*
|
|
987
|
-
*
|
|
988
|
-
*
|
|
989
|
-
*
|
|
990
|
-
*
|
|
991
|
-
*
|
|
986
|
+
* DO-backed auth (`.auth({ namespace })`) is pinned only with
|
|
987
|
+
* `{ pinAuth: true }`, and codegen refuses a project that has it without
|
|
988
|
+
* the option. It was unpinned before, so pinning it resolves every user,
|
|
989
|
+
* account and session to a new, empty object: the option is the explicit
|
|
990
|
+
* "I will copy that data across, or have none" acknowledgement. See the
|
|
991
|
+
* data-residency docs for the copy. Voice sessions are pinned without it:
|
|
992
|
+
* they store nothing, and their transcripts are shard rows, pinned already.
|
|
992
993
|
* @see https://developers.cloudflare.com/durable-objects/reference/data-location/
|
|
993
994
|
*/
|
|
994
995
|
jurisdiction: (jurisdiction: DurableObjectJurisdiction, options?: {
|
|
995
|
-
|
|
996
|
+
pinAuth?: boolean;
|
|
996
997
|
}) => ExtendableSchema<T>;
|
|
997
998
|
/**
|
|
998
999
|
* Turn on secure-by-default RLS for the whole schema. Every table is then
|
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.152",
|
|
4
4
|
"description": "Server primitives for Lunora: defineSchema, defineTable, query, mutation, and action",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"backend",
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@lunora/errors": "1.0.0-alpha.
|
|
70
|
-
"@lunora/scheduler": "1.0.0-alpha.
|
|
71
|
-
"@lunora/shard-engine": "1.0.0-alpha.
|
|
72
|
-
"@lunora/values": "1.0.0-alpha.
|
|
69
|
+
"@lunora/errors": "1.0.0-alpha.44",
|
|
70
|
+
"@lunora/scheduler": "1.0.0-alpha.90",
|
|
71
|
+
"@lunora/shard-engine": "1.0.0-alpha.91",
|
|
72
|
+
"@lunora/values": "1.0.0-alpha.55",
|
|
73
73
|
"drizzle-orm": "^0.45.2",
|
|
74
74
|
"hono": "^4.13.7"
|
|
75
75
|
},
|