Skip to content

Commit 294b7b1

Browse files
lawrence-forooghianclaude
authored andcommitted
Add internal *ValueType backing fields to the IDL
The internal `count` (RTLCV2a) and `entries` (RTLMV2a) properties were already specified in prose but missing from the IDL block. Add them, matching the private `_count` and `_entries` fields on ably-js's `LiveCounterValueType` and `LiveMapValueType`. Lifted from Sachin's spec-alignment PR [1]. [1] #480 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 535eaee commit 294b7b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

specifications/objects-features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,9 +1111,11 @@ Types and their properties/methods are public and exposed to users by default. A
11111111
update: Dict<String, 'updated' | 'removed'> // RTLM18b
11121112

11131113
class LiveCounterValueType: // RTLCV*
1114+
count: Number // RTLCV2a, internal
11141115
static create(Number initialCount?) -> LiveCounterValueType // RTLCV3
11151116

11161117
class LiveMapValueType: // RTLMV*
1118+
entries: Dict<String, (Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounterValueType | LiveMapValueType)>? // RTLMV2a, internal
11171119
static create(Dict<String, Boolean | Binary | Number | String | JsonArray | JsonObject | LiveCounterValueType | LiveMapValueType> entries?) -> LiveMapValueType // RTLMV3
11181120

11191121
interface PathObjectSubscriptionEvent: // RTPO19d

0 commit comments

Comments
 (0)