From b311a8a2b631b0664569ce074372c857218291a2 Mon Sep 17 00:00:00 2001 From: clockwork-labs-bot Date: Sun, 13 Sep 2026 08:10:05 -0400 Subject: [PATCH 1/3] docs: fix TypeScript table count return type --- .../00600-clients/00700-typescript-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/00200-core-concepts/00600-clients/00700-typescript-reference.md b/docs/docs/00200-core-concepts/00600-clients/00700-typescript-reference.md index 68d84fe951d..34100ce7e84 100644 --- a/docs/docs/00200-core-concepts/00600-clients/00700-typescript-reference.md +++ b/docs/docs/00200-core-concepts/00600-clients/00700-typescript-reference.md @@ -924,7 +924,7 @@ Each table or view defined by a module has an accessor method, whose name is the ```typescript class TableHandle { - public count(): number; + public count(): bigint; } ``` From 80116c7d208a392bd32c9a1d9175cf24b975e349 Mon Sep 17 00:00:00 2001 From: clockwork-labs-bot Date: Mon, 14 Sep 2026 08:11:49 -0400 Subject: [PATCH 2/3] docs: clarify environment value preservation --- .../00100-databases/00300-spacetime-publish.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/00200-core-concepts/00100-databases/00300-spacetime-publish.md b/docs/docs/00200-core-concepts/00100-databases/00300-spacetime-publish.md index dd805b69ecf..15d52f35936 100644 --- a/docs/docs/00200-core-concepts/00100-databases/00300-spacetime-publish.md +++ b/docs/docs/00200-core-concepts/00100-databases/00300-spacetime-publish.md @@ -106,7 +106,7 @@ For all available publishing options and flags, see the [`spacetime publish` CLI ### Environment Variables -Modules can declare environment variables for configuration and secrets. Each publish supplies the complete set of values from the target's `env` configuration and declared shell variables. Required values must be supplied on every publish; omitted optional values are removed. The module and its environment update atomically. +Modules can declare environment variables for configuration and secrets. Each publish supplies values from the target's `env` configuration and declared shell variables, then preserves unspecified stored values by default. Required values must exist in the resulting environment; optional values are removed only when you unset them explicitly or use `--replace-env`. The module and its environment update atomically. See [Environment Variables](./00700-environment-variables.md) for declarations, reading values in module code, publishing examples, and private tables for secrets that need to change without republishing. From dc5eb44d9cf2bb3db94722acda4becb8bbdd921e Mon Sep 17 00:00:00 2001 From: clockwork-labs-bot Date: Tue, 15 Sep 2026 08:10:06 -0400 Subject: [PATCH 3/3] docs: fix C# auth reducer snippet --- .../00200-core-concepts/00500-authentication/00500-usage.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/00200-core-concepts/00500-authentication/00500-usage.md b/docs/docs/00200-core-concepts/00500-authentication/00500-usage.md index a022cc1dc65..65c051ba599 100644 --- a/docs/docs/00200-core-concepts/00500-authentication/00500-usage.md +++ b/docs/docs/00200-core-concepts/00500-authentication/00500-usage.md @@ -132,7 +132,9 @@ public static readonly List OIDC_CLIENT_IDS = new() { "client_XXXXXXXXXXXXXXXXXXXXXX", }; -public void Connect(ReducerContext ctx) + +[Reducer(ReducerKind.ClientConnected)] +public static void Connect(ReducerContext ctx) { var claims = ctx.SenderAuth.Jwt ?? throw new Exception("Client connected without JWT"); if (claims.Issuer != "https://auth.spacetimedb.com/oidc")