Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
63f1857
docs: fix TypeScript connection builder examples
Jun 19, 2026
e179d74
docs: document reducer context random APIs
Jun 14, 2026
219e88e
docs: align reducer skill determinism guidance
Jun 18, 2026
505d364
docs: fix TypeScript reducer argument examples
Jun 20, 2026
ec6ab49
Merge PR #5419 into daily docs audit
Jun 20, 2026
0ddd2e9
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 21, 2026
473d136
docs: fix init reducer tutorial wording
Jun 21, 2026
e68cea7
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 22, 2026
8adb5fb
docs: fix React useSpacetimeDB reference
Jun 22, 2026
36e0704
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 23, 2026
b6b329a
docs: fix CLI reset and TypeScript codegen examples
Jun 23, 2026
e083393
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 24, 2026
ed140de
docs: fix TypeScript codegen table accessor example
Jun 24, 2026
408d421
docs: fix Unreal FAQ links
Jun 25, 2026
8c7e897
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 26, 2026
2724c9a
docs: fix TypeScript shared table example
Jun 26, 2026
fe319fc
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 27, 2026
b2e12ab
docs: fix Solid reducer call example
Jun 27, 2026
cc4cec0
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 28, 2026
3f878ba
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 29, 2026
f1be990
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jun 30, 2026
3d52ec1
docs: clarify module runtimes in concepts skill
Jun 30, 2026
833179b
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jul 1, 2026
c55f430
docs: fix TypeScript logging import example
Jul 1, 2026
fd1e8e1
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jul 2, 2026
77505a6
docs: fix TypeScript index accessor example
Jul 2, 2026
afedc7a
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jul 3, 2026
f3a2095
docs: fix delete-data examples
Jul 3, 2026
3525be5
Merge remote-tracking branch 'origin/master' into bot/docs-audit
Jul 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/00100-intro/00100-getting-started/00500-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Yes. SpacetimeDB has a C# client SDK that works with Unity. The SDK maintains a

### Can I use SpacetimeDB with Unreal Engine?

Yes. SpacetimeDB has a C++ client SDK for Unreal Engine with Blueprint support. See the [Unreal quickstart](../00200-quickstarts/00700-cpp.md) for details.
Yes. SpacetimeDB has a C++ client SDK for Unreal Engine with Blueprint support. See the [Unreal tutorial](../00300-tutorials/00400-unreal-tutorial/index.md) and [Unreal SDK reference](../../00200-core-concepts/00600-clients/00800-unreal-reference.md) for details.

### Can I use SpacetimeDB with React / Vue / Angular / Svelte?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ If this publish is a major upgrade from 1.x to 2.0, read [1.x to 2.0 Upgrade Not
To completely reset your database and delete all data:

```bash
spacetime publish --delete-data <DATABASE_NAME>
spacetime publish <DATABASE_NAME> --delete-data=always
```

⚠️ **Warning:** This permanently deletes all data in your database!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const score = table(
{
name: 'score',
indexes: [{
name: 'idx',
accessor: 'idx',
algorithm: 'btree',
columns: ['player_id', 'level'],
}],
Expand Down Expand Up @@ -913,7 +913,7 @@ spacetime login # Authenticate
# Module management
spacetime build # Build module
spacetime publish <NAME> # Publish module
spacetime publish --delete-data <NAME> # Reset database
spacetime publish <NAME> --delete-data=always # Reset database
spacetime delete <NAME> # Delete database

# Database operations
Expand All @@ -926,7 +926,7 @@ spacetime call <NAME> reducer arg1 arg2 # Call reducer
# Code generation
spacetime generate --lang rust <NAME> # Generate Rust client
spacetime generate --lang csharp <NAME> # Generate C# client
spacetime generate --lang ts <NAME> # Generate TypeScript client
spacetime generate --lang typescript <NAME> # Generate TypeScript client
```

## Common Types
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/00200-core-concepts/00300-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ const playerColumns = {
};

// Create two tables with the same schema
const Player = table({ name: 'Player', public: true }, playerColumns);
const LoggedOutPlayer = table({ name: 'LoggedOutPlayer' }, playerColumns);
const player = table({ name: 'player', public: true }, playerColumns);
const loggedOutPlayer = table({ name: 'logged_out_player' }, playerColumns);
```

</TabItem>
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/00200-core-concepts/00600-clients/00200-codegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ For example, a `user` table becomes:

```typescript
// Generated type
export default __t.object("User", {
export default __t.row({
id: __t.u64(),
name: __t.string(),
email: __t.string(),
});

// Access via DbConnection
conn.db.User
conn.db.user
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ const [users, isReady] = useTable(
const sendMessage = useReducer(reducers.sendMessage);

<Show when={isReady()} fallback={<div>Loading users...</div>}>
<button onClick={() => sendMessage('Hello!')}>Send</button>
<button onClick={() => sendMessage({ text: 'Hello!' })}>Send</button>
<button onClick={() => setOnlineOnly(value => !value)}>Toggle online</button>
<For each={users}>{user => <div>{user.name}</div>}</For>
</Show>
Expand Down
5 changes: 4 additions & 1 deletion docs/docs/00300-resources/00100-how-to/00300-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ SpacetimeDB provides logging capabilities for debugging and monitoring your modu
Use the standard `console` API to write logs from your reducers:

```typescript
import { spacetimedb } from 'spacetimedb/server';
import { schema, t } from 'spacetimedb/server';

const spacetimedb = schema({ /* tables */ });
export default spacetimedb;

export const process_data = spacetimedb.reducer({ value: t.u32() }, (ctx, { value }) => {
console.log(`Processing data with value: ${value}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spacetime publish --break-clients <DATABASE_NAME>
To completely reset your database and delete all data:

```bash
spacetime publish --delete-data <DATABASE_NAME>
spacetime publish <DATABASE_NAME> --delete-data=always
```

⚠️ **Warning:** This permanently deletes all data in your database!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ spacetime login # Authenticate
# Module management
spacetime build # Build module
spacetime publish <NAME> # Publish module
spacetime publish --delete-data <NAME> # Reset database
spacetime publish <NAME> --delete-data=always # Reset database
spacetime delete <NAME> # Delete database

# Database operations
Expand All @@ -591,7 +591,7 @@ spacetime call <NAME> reducer arg1 arg2 # Call reducer
# Code generation
spacetime generate --lang rust <NAME> # Generate Rust client
spacetime generate --lang csharp <NAME> # Generate C# client
spacetime generate --lang ts <NAME> # Generate TypeScript client
spacetime generate --lang typescript <NAME> # Generate TypeScript client
```

## Common Types
Expand Down
8 changes: 4 additions & 4 deletions skills/cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ spacetime dev
spacetime dev --client-lang typescript --module-bindings-path ./client/src/module_bindings

# Generate client bindings
spacetime generate --lang typescript|csharp|rust|unrealcpp --out-dir ./bindings --module-path ./server
spacetime generate --lang typescript|csharp|rust --out-dir ./bindings --module-path ./server
spacetime generate --lang unrealcpp --uproject-dir ./MyGame --module-path ./server --unreal-module-name MyGame
```

### Publishing & Deployment
Expand All @@ -59,7 +60,7 @@ spacetime publish my-database --yes
spacetime publish my-database --server local --yes

# Clear database and republish
spacetime publish my-database --delete-data always --yes
spacetime publish my-database --delete-data=always --yes
```

### Database Interaction
Expand Down Expand Up @@ -170,7 +171,7 @@ spacetime server ping <server>
### "Schema conflict"
```bash
# Clear data and republish
spacetime publish my-db --delete-data always --yes
spacetime publish my-db --delete-data=always --yes
```

### "Build failed"
Expand All @@ -186,4 +187,3 @@ rustup target add wasm32-unknown-unknown
**Server-side (modules):** Rust, C#, TypeScript, C++
**Client SDKs:** TypeScript, C#, Rust, Unreal Engine
**CLI `generate` targets:** TypeScript, C#, Rust, Unreal C++

4 changes: 2 additions & 2 deletions skills/concepts/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:

# SpacetimeDB Core Concepts

SpacetimeDB is a relational database that is also a server. It lets you upload application logic directly into the database via WebAssembly modules, eliminating the traditional web/game server layer entirely.
SpacetimeDB is a relational database that is also a server. It lets you upload application logic directly into the database as modules, eliminating the traditional web/game server layer entirely. Rust, C#, and C++ modules compile to WebAssembly, while TypeScript modules run on V8.

---

Expand Down Expand Up @@ -87,7 +87,7 @@ Best practices:

## Modules

Modules are WebAssembly bundles containing application logic that runs inside the database.
Modules contain application logic that runs inside the database.

- **Tables**: Define the data schema
- **Reducers**: Define callable functions that modify state
Expand Down
Loading