You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b874a86
Browse filesBrowse the repository at this point in the historyBrowse files
|**Creation value type** — immutable blueprint you pass *into*`set`|`LiveMap` / `LiveCounter` (the `RTLMV*` / `RTLCV*` classes) |`LiveMap.create()` / `LiveCounter.create()`|`LiveMap` / `LiveCounter`|`io.ably.lib.liveobjects.value`|
45
-
|**Public read/write view** — what you navigate & subscribe on |`PathObject`, `Instance`|`PathObject`, `Instance`| typed hierarchy (§4, §5) | base in `io.ably.lib.liveobjects.path` / `.instance`; **typed subtypes in `.path.types` / `.instance.types`**|
46
-
|**Internal graph object** — the live CRDT node |`InternalLiveMap` / `InternalLiveCounter` (`RTLM*` / `RTLC*`), `ObjectsPool`| internal |`InternalLiveMap` / `InternalLiveCounter` / `ObjectsPool` — **same names as the spec** (`internal` classes, `:liveobjects` module) |`io.ably.lib.liveobjects[.value.livemap/.value.livecounter]` — not public; access rules §13, full symbol map §17 |
44
+
|**Creation value type** — immutable blueprint you pass *into*`set`|`LiveMap` / `LiveCounter` (the `RTLMV*` / `RTLCV*` classes) |`LiveMap.create()` / `LiveCounter.create()`|`LiveMap` / `LiveCounter`|`io.ably.pubsub.liveobjects.value`|
45
+
|**Public read/write view** — what you navigate & subscribe on |`PathObject`, `Instance`|`PathObject`, `Instance`| typed hierarchy (§4, §5) | base in `io.ably.pubsub.liveobjects.path` / `.instance`; **typed subtypes in `.path.types` / `.instance.types`**|
46
+
|**Internal graph object** — the live CRDT node |`InternalLiveMap` / `InternalLiveCounter` (`RTLM*` / `RTLC*`), `ObjectsPool`| internal |`InternalLiveMap` / `InternalLiveCounter` / `ObjectsPool` — **same names as the spec** (`internal` classes, `:liveobjects` module) |`io.ably.pubsub.liveobjects[.value.livemap/.value.livecounter]` — not public; access rules §13, full symbol map §17 |
47
47
48
48
So when a spec says `counter = LiveCounter.create(5)` and passes it to `set`, that's the **value type**
49
-
(`io.ably.lib.liveobjects.value.LiveCounter`). When a spec says "the resolved value is an
49
+
(`io.ably.pubsub.liveobjects.value.LiveCounter`). When a spec says "the resolved value is an
50
50
`InternalLiveCounter` with `.data == 5`", that's the **internal graph node** (§13). When a spec navigates
51
51
`root.get("counter").value()`, that's the **public view** (`PathObject`).
52
52
@@ -97,10 +97,10 @@ In the spec/ably-js a `PathObject` is polymorphic: `get`, `at`, `value`, `set`,
97
97
all hang off the one object. In ably-java the base `PathObject` exposes **only** the type-agnostic methods;
98
98
everything type-specific is moved onto a sub-interface you reach via an `as*` cast.
99
99
100
-
**Base `PathObject`** (`io.ably.lib.liveobjects.path.PathObject`) — always available. The typed sub-types
100
+
**Base `PathObject`** (`io.ably.pubsub.liveobjects.path.PathObject`) — always available. The typed sub-types
101
101
returned by the `as*` casts (`LiveMapPathObject`, `LiveCounterPathObject`, `NumberPathObject`,
|`LiveCounter.create(5)`|`LiveCounter.create(5)` (arg is `Number`) |
259
259
|`LiveMap.create()`|`LiveMap.create(): LiveMap`|
260
260
|`LiveMap.create({ a: 1, b: "x" })`|`LiveMap.create(mapOf("a" to LiveMapValue.of(1), "b" to LiveMapValue.of("x")))` — entries are `Map<String, LiveMapValue>`|
"_comment": "Maps each UTS spec module (a dir under specification/uts/) to its target test directory per tier. Each tier value is ONE repo-root-relative path (never machine-absolute); the Kotlin package is the path after 'src/test/kotlin/' with '/' -> '.'; the owning Gradle module is the path's first segment (lib/ -> :java, liveobjects/ -> :liveobjects, uts/ -> :uts). Every tier path MUST keep a module segment after the tier (e.g. 'unit/realtime', never bare 'unit') so a derived package can never collide with a :uts smoke package (io.ably.lib.uts.unit / .integration.standard / .integration.proxy) — an invariant currently held only by construction. An optional 'notes' field points (relative to this skill dir) to a per-module ably-js -> ably-java translation reference, read before translating that module. Used by the uts-to-kotlin skill (scripts/resolve_uts.py).",
2
+
"_comment": "Maps each UTS spec module (a dir under specification/uts/) to its target test directory per tier. Each tier value is ONE repo-root-relative path (never machine-absolute); the Kotlin package is the path after 'src/test/kotlin/' with '/' -> '.'; the owning Gradle module is the path's first segment (lib/ -> :core, liveobjects/ -> :liveobjects, uts/ -> :uts). Every tier path MUST keep a module segment after the tier (e.g. 'unit/realtime', never bare 'unit') so a derived package can never collide with a :uts smoke package (io.ably.pubsub.uts.unit / .integration.standard / .integration.proxy) — an invariant currently held only by construction. An optional 'notes' field points (relative to this skill dir) to a per-module ably-js -> ably-java translation reference, read before translating that module. Used by the uts-to-kotlin skill (scripts/resolve_uts.py).",
0 commit comments