@iveri/contracts 0.98.0 → 0.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,6 +142,13 @@ export interface UpdateMyChatSettingsRequest {
142
142
  isPinned?: boolean;
143
143
  isArchived?: boolean;
144
144
  }
145
+ /**
146
+ * `POST /conversations/:id/typing`. The body is optional: no body, or `isTyping` absent, means started. A stop clears
147
+ * the server's start throttle, so the next start is passed on at once.
148
+ */
149
+ export interface ChatTypingRequest {
150
+ isTyping?: boolean;
151
+ }
145
152
  export interface ChatTypingResponse {
146
153
  accepted: boolean;
147
154
  }
@@ -11,6 +11,11 @@ export interface ChatRealtimeFrame {
11
11
  seq: Nullable<number>;
12
12
  /** Who is typing. */
13
13
  userId: Nullable<UUID>;
14
+ /**
15
+ * On a `chat.conversation.typing` frame, whether that person started or stopped. Absent means started, which is
16
+ * what every frame meant before stop frames existed.
17
+ */
18
+ isTyping?: boolean;
14
19
  /** The call a `chat.call.updated` frame is about. */
15
20
  callId?: Nullable<UUID>;
16
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.98.0",
3
+ "version": "0.99.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {