mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-16 20:57:48 -04:00
81e192e46e47b22f2a85f5378cdb389697ef75e8
# Description of Changes The `ScheduleAt` type appears to have an outdated structure. I've updated the structure of the `ScheduleAt` type represented in TypeScript to be in line with the Rust type: https://docs.rs/spacetimedb/latest/spacetimedb/enum.ScheduleAt.html Namely, we were missing the inner Spacetime library types of `TimeDuration` and `Timestamp`. This is to address #2969. # API and ABI breaking changes This is an API breaking change in that it changes the API, but it's breaking in that it fixes a bug. # Expected complexity level and risk 2 # Testing I have not done additional testing, but I thought I would get this PR started to make it easier for the next person who comes along. The ideal automated test to add would be one which connects a TypeScript client to a SpacetimeDB module with a scheduled table, and verifies that the type is correctly deserialized and represented in TypeScript when the rows are sent down. --------- Co-authored-by: Jeffrey Dallatezza <jeffreydallatezza@gmail.com>
@clockworklabs/spacetimedb-sdk is a TypeScript SDK for SpacetimeDB.
Source code can be found here on GitHub.
Description
Languages
Rust
53.1%
C++
21.7%
TypeScript
14%
C#
7.8%
CSS
1.1%
Other
2%