@smartspace/api-client 0.1.0-pr.1289.16c8a84 → 0.1.0-pr.1289.bb85256

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.
@@ -92,4 +92,13 @@ export type IConfigReceiver = {
92
92
  * @returns Transpiled from System.Threading.Tasks.Task
93
93
  */
94
94
  receiveThreadDeleted(threadEvent: ThreadEvent): Promise<void>;
95
+ /**
96
+ * Something the caller subscribed to changed: one change tag per call (models,
97
+ * models:<id>), sent after the change committed. is who
98
+ * the change was made for, so a client can tell its own changes apart.
99
+ * @param tags Transpiled from string[]
100
+ * @param actorUserId Transpiled from string
101
+ * @returns Transpiled from System.Threading.Tasks.Task
102
+ */
103
+ receiveChanges(tags: string[], actorUserId: string): Promise<void>;
95
104
  };
@@ -107,17 +107,20 @@ class IConfigReceiver_Binder {
107
107
  const __blocksUpdate = () => receiver.blocksUpdate();
108
108
  const __receiveThreadUpdate = (...args) => receiver.receiveThreadUpdate(...args);
109
109
  const __receiveThreadDeleted = (...args) => receiver.receiveThreadDeleted(...args);
110
+ const __receiveChanges = (...args) => receiver.receiveChanges(...args);
110
111
  connection.on("ReceiveMessage", __receiveMessage);
111
112
  connection.on("ReceiveNotification", __receiveNotification);
112
113
  connection.on("BlocksUpdate", __blocksUpdate);
113
114
  connection.on("ReceiveThreadUpdate", __receiveThreadUpdate);
114
115
  connection.on("ReceiveThreadDeleted", __receiveThreadDeleted);
116
+ connection.on("ReceiveChanges", __receiveChanges);
115
117
  const methodList = [
116
118
  { methodName: "ReceiveMessage", method: __receiveMessage },
117
119
  { methodName: "ReceiveNotification", method: __receiveNotification },
118
120
  { methodName: "BlocksUpdate", method: __blocksUpdate },
119
121
  { methodName: "ReceiveThreadUpdate", method: __receiveThreadUpdate },
120
- { methodName: "ReceiveThreadDeleted", method: __receiveThreadDeleted }
122
+ { methodName: "ReceiveThreadDeleted", method: __receiveThreadDeleted },
123
+ { methodName: "ReceiveChanges", method: __receiveChanges }
121
124
  ];
122
125
  return new ReceiverMethodSubscription(connection, methodList);
123
126
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartspace/api-client",
3
- "version": "0.1.0-pr.1289.16c8a84",
3
+ "version": "0.1.0-pr.1289.bb85256",
4
4
  "description": "Generated TypeScript client for SmartSpace APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",