Commit Graph

288 Commits

Author SHA1 Message Date
John Detter f469676ade Fix blocking publish route (#338)
* Fix blocking publish route

* Added common routes

* Default to open - which was the previous functionality

* Update spacetimedb-standalone.md

* Update spacetimedb-standalone.md

* Updated with support for the typescript SDK

* Updated with known good subscribe route

* Updated doc text

* Clarified comment

* nit
2025-05-06 01:19:13 +01:00
Phoebe Goldman 6b4433ba79 Add "Subscription Semantics" page (#278)
We've gotten several questions in the public Discord
about the semantics of subscriptions in the SDKs.
I did a brain-dump about them, Tyler fed it into ChatGPT,
I touched up the result a bit, and here it is.
Some day we probably want to rewrite this to read less like AI slop.
But for now it's probably fine.
2025-05-05 13:25:57 +00:00
Robin Curbelo 694bc483d9 fix typo (#339) 2025-05-02 17:01:01 +00:00
Zeke Foppa ec37594e79 Fix link checking (#340)
* [bfops/check-links]: fix link checker

* [bfops/check-links]: fix

* [bfops/check-links]: fix broken links

* [bfops/check-links]: fix logic

* [bfops/check-links]: fix site links

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-05-01 15:26:02 -07:00
Chip 0cca3d98df updated dotnet add package (#337)
* updated dotnet add package

* additional reference to spacetimedbsdk dotnet package
2025-04-30 17:13:47 +01:00
Tamaro Skaljic 53e0b77f8b fix wrong quote usage and copy the "start the server" section from c# quickstart to rust quickstart #41 (#310)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-04-29 10:49:53 -07:00
Chip 45a83c9b5a Correcting Reducer Callback Information in llms.md (#335)
* update reducer callback with correct info

* remove flavor text - not needed
2025-04-28 09:42:46 -04:00
Jeffrey Dallatezza 8508bbf446 Subscribe to all queries together in the ts quickstart. (#297) 2025-04-25 17:20:46 +00:00
Zeke Foppa 3d1fa97c63 CI - Expand CI-triggering events (#332)
* [bfops/ci-on-master]: Run CI on `master` commits

* [bfops/ci-on-master]: tweak

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-24 15:03:41 -07:00
Aaron Matthis a70339488c rls docs self-join example: undefined 'u' sql name -> 'a' (#330)
fix: undefined 'u' sql name -> 'a'
2025-04-23 17:41:36 +00:00
Loki McKay b27ed08baa Fix typo in quickstart.md (#331) 2025-04-23 13:49:25 +00:00
Jeffrey Dallatezza 81ef6a0adc Update docs links to remove index.md (#316)
These links are broken in the live docs, but removing index.md from the links fixes them for me.

Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-04-21 17:44:41 +00:00
Tamaro Skaljic 4b48e003b1 fix links from rls docs to sql docs on website (#323)
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2025-04-21 09:35:53 -07:00
torjusik 11aeb5efea Fixed typo (#320)
multple -> multiple
2025-04-21 09:26:15 -07:00
Zeke Foppa c0334498de CI - Check the CLI docs (#318)
* [bfops/cli-ci]: CI - Check the CLI docs

* [bfops/cli-ci]: fix

* [bfops/cli-ci]: fix permission warnings

* [bfops/cli-ci]: review

* [bfops/cli-ci]: review

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-17 10:57:11 -07:00
Zeke Foppa c7f89fa82d Revert CLI reference to match what the CLI outputs (#317)
[bfops/revert-docs]: revert

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-17 10:36:54 -07:00
Tamaro Skaljic 66561205f5 rename http/index.md to "Authorization" #235 (#308) 2025-04-16 13:48:59 -07:00
Tamaro Skaljic b1b4724a04 Remove experimental label of C# #246 (#305) 2025-04-16 16:10:08 -04:00
Tamaro Skaljic 31c9ee5116 Rename module to database where appropriate (#277)
* clients connect to databases, not modules

* the name is for the database, not the module

* reducers are exposed by databases, not modules

* don't name clients "modules" too

* Modules have no state, the database has it

* more database instead of client connection

* databases are hosted, not modules

* users interact with databases, not modules

* fix typo

* Apply suggestions from code review

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>

---------

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-04-16 16:09:48 -04:00
Tamaro Skaljic 1cb61db0a5 remove specific programming lang for server module code (#312)
in unity tutorial text. There was confusion: https://discord.com/channels/1037340874172014652/1037343189339742298/1361811650713227285
2025-04-16 10:22:22 -07:00
Phoebe Goldman e7cb1ee00f Add docs for indexable types to C# (#285)
Includes references to changes made by
https://github.com/clockworklabs/SpacetimeDB/pull/2506 ,
which as of writing has not merged.
We should not push this commit live until after that PR is released.
2025-04-16 09:58:40 -04:00
Zeke Foppa 228436cfa8 Deploying: Maincloud: add section for connecting via SDKs (#311)
* [bfops/maincloud-sdks]: wIP

* [bfops/maincloud-sdks]: WIP

* [bfops/maincloud-sdks]: do thing

* [bfops/maincloud-sdks]: review

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-15 13:30:40 -07:00
Michael Nadeau 0ba2b78442 Fix typo in unity/part-2.md (#298) 2025-04-15 09:03:02 -07:00
Phoebe Goldman 289396f7b5 Add convention for table names to style guide (#300) 2025-04-14 20:33:08 -04:00
joshua-spacetime 40d6688262 Reference docs for row level security (#291) 2025-04-14 17:30:41 -07:00
torjusik 14b34eb752 Update quickstart.md (#295)
fixed typo:
"Next add let's add" -> "Let's add"
2025-04-14 08:32:52 -07:00
8Times dd829e64de Typo fix quickstart.md (#294)
"SpacetimDB" -> "SpacetimeDB"
2025-04-14 08:31:16 -07:00
Tyler Cloutier c80417e0c1 Added a preliminary llms.md/.txt file to the repo to help LLMs generate code for users and understand SpacetimeDB (#286)
* Added a preliminary llms.md/.txt file to the repo to help LLMs generate code for users and understand SpacetimeDB

* Update llms.md

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>

* Addressed some feedback

* Fixed up some stuff

* Added TypeScript SDK code

* Added subscription semantics section and small fixes

* Added info about ConnectionId and the reducer context

* Addressed comments

---------

Co-authored-by: Phoebe Goldman <phoebe@goldman-tribe.org>
2025-04-14 09:42:14 -04:00
Zeke Foppa 6e15325944 CI - Add release branch check (#270)
[bfops/release-branch-check]: Add release branch check

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-04-11 23:00:31 -07:00
joshua-spacetime dc7ae16c42 Update the timestamp format output by spacetime sql in the quickstart (#288)
Fixes #222.
2025-04-09 11:50:51 -07:00
heliam1 fade50a5c6 Fix typo (#289) 2025-04-09 08:35:59 -07:00
cjodo 160cb57972 fix(ts-sdk): correct the function signature of onConnectError (#255)
fix(sdk): correct the function signature of onConnectError
2025-04-04 12:17:09 -07:00
AdielMag 0818aff6bc Small fix on part-3.md (#264)
Update part-3.md
2025-04-04 12:16:29 -07:00
Colter Haycock 96aeffa375 Fixed Minor Typos in Unity Tutorial (#273)
* Update part-2.md

Minor typos

* Update part-2.md

reverting unnecessary change

* Update part-3.md

more tiny changes

* Update part-3.md

arena

* Update part-3.md
2025-04-04 12:15:53 -07:00
Kane Viggers fbf1543c29 Correction on c# server module quickstart (#253)
Table name is 'messages' not 'Messages'
2025-04-04 12:14:50 -07:00
Phoebe Goldman 8a0fc18afd TS quickstart: Install latest SDK, not specific version (#280)
The version listed here was outdated and included bugs.
I don't even know why we'd recommend a specific version,
instead of just telling people to install the latest release.
2025-04-02 13:05:15 -04:00
Oliver Davies 3887c479e6 Added "Connecting to Maincloud" section to part-4.md (#275)
* Update part-4.md

added a proper main cloud section

* Update part-4.md

* Update docs/unity/part-4.md

* Apply suggestions from code review

---------

Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com>
2025-03-24 23:24:56 -04:00
Mazdak Farrokhzad be4c2ef72c Adjust the BSATN doc to fit reality better (#216)
adjust BSATN doc to fit reality better
2025-03-12 14:08:47 +01:00
Tyler Cloutier efd9d86707 Updated tutorial for Blackholio/pull/19 (#163)
Updated tutorial for https://github.com/clockworklabs/Blackholio/pull/19

Co-authored-by: rekhoff <r.ekhoff@clockworklabs.io>
2025-03-11 17:24:55 -07:00
Zeke Foppa 521da1dc2f Explain spacetime login (#217)
[bfops/login-docs]: do thing

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-03-11 10:07:04 -07:00
Tyler Cloutier 9a88da8756 Removed double semi-colon (#254) 2025-03-10 09:11:05 -07:00
Noa 35c287dafa Clarify what is a valid module name (#252) 2025-03-07 11:10:42 -08:00
rekhoff 92d22ccbf2 Updated to correct old timestamp format. (#221) 2025-03-07 13:58:06 -05:00
Zeke Foppa a0e30f30e1 Remove stale references to removed CLI functions (#218)
[bfops/outdated-cli]: Remove stale references to removed CLI functions

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-03-06 08:27:19 -08:00
Zeke Foppa cfba6bbffd Update CLI docs for #2349 (#215)
* [bfops/fix-docs]: Update CLI docs for #2349

* [bfops/fix-docs]: missed one

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-03-05 10:15:01 -08:00
John Detter 990fe06153 Bump typescript version to 1.0.2 (#213)
Bump version to 1.0.2

Co-authored-by: John Detter <no-reply@boppygames.gg>
2025-03-04 13:40:30 -06:00
John Detter 707446a4d2 Self-Hosted guide (#206)
* Standalone guide

* Several improvements

* Title update

* Updated nav.js

* Guide updated

* Small fix

* Guide working again after `--root-dir` change

* Finished + tested

* Apply suggestions from code review

Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>

* Updates after review

* Update navigation

* Apply suggestions from code review

* Update docs/deploying/spacetimedb-standalone.md

* Update docs/deploying/spacetimedb-standalone.md

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2025-03-04 13:04:52 -06:00
Steve Biedermann d9ef0a6492 Fix code error and wrong code block (#210) 2025-03-04 12:34:52 -06:00
John Detter a97ca0164f Bump Typescript SDK Version in Quickstart (#208)
We didn't bump this version number

Co-authored-by: John Detter <no-reply@boppygames.gg>
2025-03-04 12:08:17 -05:00
rekhoff 6cce14ef93 Rekhoff/blackholio fixes (#205)
* Updates to blackholio tutorials

Page 3 - Fix duplicate code in Rust "disconnect reducer" instructions.
Page 4 - Update use of `CallerIdentity` to `Sender` in C# instructions.

* Fixes from running through Blackholio tutorial in Rust and C# on 1.0.0

* Minor formatting updates

* Minor formatting update

* Another minor format change

* Whitespace fix.

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>

* Whitespace fix.

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>

* Whitespace fix.

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>

---------

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
2025-03-03 18:21:44 -08:00