refactor: rewrite untracked, update alien-signals

This commit is contained in:
littensy 2025-09-23 16:50:39 -07:00
parent a8051257e5
commit cb52ece4d3
15 changed files with 239 additions and 114 deletions

View file

@ -4,13 +4,15 @@ type Atom<T> = Charm.Atom<T>
--- A payload that can be sent from the server to the client to synchronize
--- state between the two.
export type SyncPayload = {
type: "init",
data: { [string | number]: any },
} | {
type: "patch",
data: { [string | number]: any },
}
export type SyncPayload =
| {
type: "init",
data: { [string | number]: any },
}
| {
type: "patch",
data: { [string | number]: any },
}
export type AtomMap = {
[string | number]: Atom<any>,