polfan-server-js-client 0.1.991 → 0.1.993

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.
Files changed (286) hide show
  1. package/build/index.js +856 -143
  2. package/build/index.js.map +1 -1
  3. package/build/types/AbstractChatClient.d.ts +5 -1
  4. package/build/types/state-tracker/MessagesManager.d.ts +9 -11
  5. package/build/types/state-tracker/RoomMessagesHistory.d.ts +17 -0
  6. package/build/types/state-tracker/RoomsManager.d.ts +4 -2
  7. package/build/types/state-tracker/TopicHistoryWindow.d.ts +58 -0
  8. package/build/types/types/src/index.d.ts +6 -2
  9. package/build/types/types/src/schemes/FollowedTopic.d.ts +0 -1
  10. package/build/types/types/src/schemes/Message.d.ts +8 -2
  11. package/{src/types/dist/schemes/commands/Ack.d.ts → build/types/types/src/schemes/commands/GetMessages.d.ts} +3 -2
  12. package/build/types/types/src/schemes/commands/GetTopics.d.ts +4 -0
  13. package/build/types/types/src/schemes/events/FollowedTopics.d.ts +2 -0
  14. package/{src/types/dist/schemes/events/NewMessage.d.ts → build/types/types/src/schemes/events/Messages.d.ts} +3 -3
  15. package/build/types/types/src/schemes/events/Topics.d.ts +6 -0
  16. package/package.json +1 -1
  17. package/src/AbstractChatClient.ts +8 -0
  18. package/src/state-tracker/MessagesManager.ts +51 -74
  19. package/src/state-tracker/RoomMessagesHistory.ts +78 -0
  20. package/src/state-tracker/RoomsManager.ts +22 -2
  21. package/src/state-tracker/TopicHistoryWindow.ts +257 -0
  22. package/src/types/src/index.ts +10 -1
  23. package/src/types/src/schemes/FollowedTopic.ts +0 -1
  24. package/src/types/src/schemes/Message.ts +9 -2
  25. package/src/types/src/schemes/commands/GetMessages.ts +7 -0
  26. package/src/types/src/schemes/commands/GetTopics.ts +4 -0
  27. package/src/types/src/schemes/events/FollowedTopics.ts +2 -0
  28. package/src/types/src/schemes/events/Messages.ts +7 -0
  29. package/src/types/src/schemes/events/Topics.ts +7 -0
  30. package/tests/history-window.test.ts +129 -0
  31. package/build/types/types/dist/index.d.ts +0 -1
  32. package/build/types/types/dist/schemes/ChatLocation.d.ts +0 -1
  33. package/build/types/types/dist/schemes/Envelope.d.ts +0 -1
  34. package/build/types/types/dist/schemes/FollowedTopic.d.ts +0 -1
  35. package/build/types/types/dist/schemes/Message.d.ts +0 -1
  36. package/build/types/types/dist/schemes/PermissionOverwritesValue.d.ts +0 -1
  37. package/build/types/types/dist/schemes/Role.d.ts +0 -1
  38. package/build/types/types/dist/schemes/Room.d.ts +0 -1
  39. package/build/types/types/dist/schemes/RoomMember.d.ts +0 -1
  40. package/build/types/types/dist/schemes/RoomSummary.d.ts +0 -1
  41. package/build/types/types/dist/schemes/Space.d.ts +0 -1
  42. package/build/types/types/dist/schemes/SpaceMember.d.ts +0 -1
  43. package/build/types/types/dist/schemes/Topic.d.ts +0 -1
  44. package/build/types/types/dist/schemes/User.d.ts +0 -1
  45. package/build/types/types/dist/schemes/UserState.d.ts +0 -1
  46. package/build/types/types/dist/schemes/commands/Ack.d.ts +0 -1
  47. package/build/types/types/dist/schemes/commands/AssignRole.d.ts +0 -1
  48. package/build/types/types/dist/schemes/commands/CreateMessage.d.ts +0 -1
  49. package/build/types/types/dist/schemes/commands/CreateOwner.d.ts +0 -1
  50. package/build/types/types/dist/schemes/commands/CreateRole.d.ts +0 -1
  51. package/build/types/types/dist/schemes/commands/CreateRoom.d.ts +0 -1
  52. package/build/types/types/dist/schemes/commands/CreateSpace.d.ts +0 -1
  53. package/build/types/types/dist/schemes/commands/CreateTopic.d.ts +0 -1
  54. package/build/types/types/dist/schemes/commands/DeassignRole.d.ts +0 -1
  55. package/build/types/types/dist/schemes/commands/DeleteOwner.d.ts +0 -1
  56. package/build/types/types/dist/schemes/commands/DeleteRole.d.ts +0 -1
  57. package/build/types/types/dist/schemes/commands/DeleteRoom.d.ts +0 -1
  58. package/build/types/types/dist/schemes/commands/DeleteSpace.d.ts +0 -1
  59. package/build/types/types/dist/schemes/commands/DeleteTopic.d.ts +0 -1
  60. package/build/types/types/dist/schemes/commands/FollowTopic.d.ts +0 -1
  61. package/build/types/types/dist/schemes/commands/GetComputedPermissions.d.ts +0 -1
  62. package/build/types/types/dist/schemes/commands/GetFollowedTopics.d.ts +0 -1
  63. package/build/types/types/dist/schemes/commands/GetOwners.d.ts +0 -1
  64. package/build/types/types/dist/schemes/commands/GetPermissionOverwriteTargets.d.ts +0 -1
  65. package/build/types/types/dist/schemes/commands/GetPermissionOverwrites.d.ts +0 -1
  66. package/build/types/types/dist/schemes/commands/GetRoomMembers.d.ts +0 -1
  67. package/build/types/types/dist/schemes/commands/GetSession.d.ts +0 -1
  68. package/build/types/types/dist/schemes/commands/GetSpaceMembers.d.ts +0 -1
  69. package/build/types/types/dist/schemes/commands/GetSpaceRooms.d.ts +0 -1
  70. package/build/types/types/dist/schemes/commands/JoinRoom.d.ts +0 -1
  71. package/build/types/types/dist/schemes/commands/JoinSpace.d.ts +0 -1
  72. package/build/types/types/dist/schemes/commands/LeaveRoom.d.ts +0 -1
  73. package/build/types/types/dist/schemes/commands/LeaveSpace.d.ts +0 -1
  74. package/build/types/types/dist/schemes/commands/SetPermissionOverwrites.d.ts +0 -1
  75. package/build/types/types/dist/schemes/commands/UnfollowTopic.d.ts +0 -1
  76. package/build/types/types/dist/schemes/commands/UpdateRole.d.ts +0 -1
  77. package/build/types/types/dist/schemes/commands/UpdateRoom.d.ts +0 -1
  78. package/build/types/types/dist/schemes/commands/UpdateSpace.d.ts +0 -1
  79. package/build/types/types/dist/schemes/events/Bye.d.ts +0 -1
  80. package/build/types/types/dist/schemes/events/ComputedPermissions.d.ts +0 -1
  81. package/build/types/types/dist/schemes/events/Error.d.ts +0 -1
  82. package/build/types/types/dist/schemes/events/FollowedTopicUpdated.d.ts +0 -1
  83. package/build/types/types/dist/schemes/events/FollowedTopics.d.ts +0 -1
  84. package/build/types/types/dist/schemes/events/NewMessage.d.ts +0 -1
  85. package/build/types/types/dist/schemes/events/NewRole.d.ts +0 -1
  86. package/build/types/types/dist/schemes/events/NewRoom.d.ts +0 -1
  87. package/build/types/types/dist/schemes/events/NewTopic.d.ts +0 -1
  88. package/build/types/types/dist/schemes/events/Ok.d.ts +0 -1
  89. package/build/types/types/dist/schemes/events/Owners.d.ts +0 -1
  90. package/build/types/types/dist/schemes/events/PermissionOverwriteTargets.d.ts +0 -1
  91. package/build/types/types/dist/schemes/events/PermissionOverwrites.d.ts +0 -1
  92. package/build/types/types/dist/schemes/events/PermissionOverwritesUpdated.d.ts +0 -1
  93. package/build/types/types/dist/schemes/events/RoleDeleted.d.ts +0 -1
  94. package/build/types/types/dist/schemes/events/RoleUpdated.d.ts +0 -1
  95. package/build/types/types/dist/schemes/events/RoomDeleted.d.ts +0 -1
  96. package/build/types/types/dist/schemes/events/RoomJoined.d.ts +0 -1
  97. package/build/types/types/dist/schemes/events/RoomLeft.d.ts +0 -1
  98. package/build/types/types/dist/schemes/events/RoomMemberJoined.d.ts +0 -1
  99. package/build/types/types/dist/schemes/events/RoomMemberLeft.d.ts +0 -1
  100. package/build/types/types/dist/schemes/events/RoomMemberUpdated.d.ts +0 -1
  101. package/build/types/types/dist/schemes/events/RoomMembers.d.ts +0 -1
  102. package/build/types/types/dist/schemes/events/RoomUpdated.d.ts +0 -1
  103. package/build/types/types/dist/schemes/events/Session.d.ts +0 -1
  104. package/build/types/types/dist/schemes/events/SpaceDeleted.d.ts +0 -1
  105. package/build/types/types/dist/schemes/events/SpaceJoined.d.ts +0 -1
  106. package/build/types/types/dist/schemes/events/SpaceLeft.d.ts +0 -1
  107. package/build/types/types/dist/schemes/events/SpaceMemberJoined.d.ts +0 -1
  108. package/build/types/types/dist/schemes/events/SpaceMemberLeft.d.ts +0 -1
  109. package/build/types/types/dist/schemes/events/SpaceMemberUpdated.d.ts +0 -1
  110. package/build/types/types/dist/schemes/events/SpaceMembers.d.ts +0 -1
  111. package/build/types/types/dist/schemes/events/SpaceRooms.d.ts +0 -1
  112. package/build/types/types/dist/schemes/events/SpaceUpdated.d.ts +0 -1
  113. package/build/types/types/dist/schemes/events/TopicDeleted.d.ts +0 -1
  114. package/build/types/types/dist/schemes/events/TopicFollowed.d.ts +0 -1
  115. package/build/types/types/dist/schemes/events/TopicUnfollowed.d.ts +0 -1
  116. package/build/types/types/dist/schemes/events/UserUpdated.d.ts +0 -1
  117. package/src/types/dist/index.d.ts +0 -88
  118. package/src/types/dist/index.js +0 -2
  119. package/src/types/dist/schemes/ChatLocation.d.ts +0 -5
  120. package/src/types/dist/schemes/ChatLocation.js +0 -2
  121. package/src/types/dist/schemes/Envelope.d.ts +0 -5
  122. package/src/types/dist/schemes/Envelope.js +0 -2
  123. package/src/types/dist/schemes/FollowedTopic.d.ts +0 -7
  124. package/src/types/dist/schemes/FollowedTopic.js +0 -2
  125. package/src/types/dist/schemes/Message.d.ts +0 -8
  126. package/src/types/dist/schemes/Message.js +0 -2
  127. package/src/types/dist/schemes/PermissionOverwritesValue.d.ts +0 -4
  128. package/src/types/dist/schemes/PermissionOverwritesValue.js +0 -2
  129. package/src/types/dist/schemes/Role.d.ts +0 -6
  130. package/src/types/dist/schemes/Role.js +0 -2
  131. package/src/types/dist/schemes/Room.d.ts +0 -10
  132. package/src/types/dist/schemes/Room.js +0 -2
  133. package/src/types/dist/schemes/RoomMember.d.ts +0 -7
  134. package/src/types/dist/schemes/RoomMember.js +0 -2
  135. package/src/types/dist/schemes/RoomSummary.d.ts +0 -5
  136. package/src/types/dist/schemes/RoomSummary.js +0 -2
  137. package/src/types/dist/schemes/Space.d.ts +0 -6
  138. package/src/types/dist/schemes/Space.js +0 -2
  139. package/src/types/dist/schemes/SpaceMember.d.ts +0 -5
  140. package/src/types/dist/schemes/SpaceMember.js +0 -2
  141. package/src/types/dist/schemes/Topic.d.ts +0 -9
  142. package/src/types/dist/schemes/Topic.js +0 -2
  143. package/src/types/dist/schemes/User.d.ts +0 -8
  144. package/src/types/dist/schemes/User.js +0 -2
  145. package/src/types/dist/schemes/UserState.d.ts +0 -6
  146. package/src/types/dist/schemes/UserState.js +0 -2
  147. package/src/types/dist/schemes/commands/Ack.js +0 -2
  148. package/src/types/dist/schemes/commands/AssignRole.d.ts +0 -6
  149. package/src/types/dist/schemes/commands/AssignRole.js +0 -2
  150. package/src/types/dist/schemes/commands/CreateMessage.d.ts +0 -5
  151. package/src/types/dist/schemes/commands/CreateMessage.js +0 -2
  152. package/src/types/dist/schemes/commands/CreateOwner.d.ts +0 -5
  153. package/src/types/dist/schemes/commands/CreateOwner.js +0 -2
  154. package/src/types/dist/schemes/commands/CreateRole.d.ts +0 -5
  155. package/src/types/dist/schemes/commands/CreateRole.js +0 -2
  156. package/src/types/dist/schemes/commands/CreateRoom.d.ts +0 -7
  157. package/src/types/dist/schemes/commands/CreateRoom.js +0 -2
  158. package/src/types/dist/schemes/commands/CreateSpace.d.ts +0 -3
  159. package/src/types/dist/schemes/commands/CreateSpace.js +0 -2
  160. package/src/types/dist/schemes/commands/CreateTopic.d.ts +0 -12
  161. package/src/types/dist/schemes/commands/CreateTopic.js +0 -2
  162. package/src/types/dist/schemes/commands/DeassignRole.d.ts +0 -6
  163. package/src/types/dist/schemes/commands/DeassignRole.js +0 -2
  164. package/src/types/dist/schemes/commands/DeleteOwner.d.ts +0 -5
  165. package/src/types/dist/schemes/commands/DeleteOwner.js +0 -2
  166. package/src/types/dist/schemes/commands/DeleteRole.d.ts +0 -4
  167. package/src/types/dist/schemes/commands/DeleteRole.js +0 -2
  168. package/src/types/dist/schemes/commands/DeleteRoom.d.ts +0 -3
  169. package/src/types/dist/schemes/commands/DeleteRoom.js +0 -2
  170. package/src/types/dist/schemes/commands/DeleteSpace.d.ts +0 -3
  171. package/src/types/dist/schemes/commands/DeleteSpace.js +0 -2
  172. package/src/types/dist/schemes/commands/DeleteTopic.d.ts +0 -4
  173. package/src/types/dist/schemes/commands/DeleteTopic.js +0 -2
  174. package/src/types/dist/schemes/commands/FollowTopic.d.ts +0 -4
  175. package/src/types/dist/schemes/commands/FollowTopic.js +0 -2
  176. package/src/types/dist/schemes/commands/GetComputedPermissions.d.ts +0 -4
  177. package/src/types/dist/schemes/commands/GetComputedPermissions.js +0 -2
  178. package/src/types/dist/schemes/commands/GetFollowedTopics.d.ts +0 -4
  179. package/src/types/dist/schemes/commands/GetFollowedTopics.js +0 -2
  180. package/src/types/dist/schemes/commands/GetOwners.d.ts +0 -4
  181. package/src/types/dist/schemes/commands/GetOwners.js +0 -2
  182. package/src/types/dist/schemes/commands/GetPermissionOverwriteTargets.d.ts +0 -4
  183. package/src/types/dist/schemes/commands/GetPermissionOverwriteTargets.js +0 -2
  184. package/src/types/dist/schemes/commands/GetPermissionOverwrites.d.ts +0 -6
  185. package/src/types/dist/schemes/commands/GetPermissionOverwrites.js +0 -2
  186. package/src/types/dist/schemes/commands/GetRoomMembers.d.ts +0 -3
  187. package/src/types/dist/schemes/commands/GetRoomMembers.js +0 -2
  188. package/src/types/dist/schemes/commands/GetSession.d.ts +0 -2
  189. package/src/types/dist/schemes/commands/GetSession.js +0 -2
  190. package/src/types/dist/schemes/commands/GetSpaceMembers.d.ts +0 -3
  191. package/src/types/dist/schemes/commands/GetSpaceMembers.js +0 -2
  192. package/src/types/dist/schemes/commands/GetSpaceRooms.d.ts +0 -3
  193. package/src/types/dist/schemes/commands/GetSpaceRooms.js +0 -2
  194. package/src/types/dist/schemes/commands/JoinRoom.d.ts +0 -3
  195. package/src/types/dist/schemes/commands/JoinRoom.js +0 -2
  196. package/src/types/dist/schemes/commands/JoinSpace.d.ts +0 -3
  197. package/src/types/dist/schemes/commands/JoinSpace.js +0 -2
  198. package/src/types/dist/schemes/commands/LeaveRoom.d.ts +0 -3
  199. package/src/types/dist/schemes/commands/LeaveRoom.js +0 -2
  200. package/src/types/dist/schemes/commands/LeaveSpace.d.ts +0 -3
  201. package/src/types/dist/schemes/commands/LeaveSpace.js +0 -2
  202. package/src/types/dist/schemes/commands/SetPermissionOverwrites.d.ts +0 -8
  203. package/src/types/dist/schemes/commands/SetPermissionOverwrites.js +0 -2
  204. package/src/types/dist/schemes/commands/UnfollowTopic.d.ts +0 -4
  205. package/src/types/dist/schemes/commands/UnfollowTopic.js +0 -2
  206. package/src/types/dist/schemes/commands/UpdateRole.d.ts +0 -7
  207. package/src/types/dist/schemes/commands/UpdateRole.js +0 -2
  208. package/src/types/dist/schemes/commands/UpdateRoom.d.ts +0 -5
  209. package/src/types/dist/schemes/commands/UpdateRoom.js +0 -2
  210. package/src/types/dist/schemes/commands/UpdateSpace.d.ts +0 -4
  211. package/src/types/dist/schemes/commands/UpdateSpace.js +0 -2
  212. package/src/types/dist/schemes/events/Bye.d.ts +0 -3
  213. package/src/types/dist/schemes/events/Bye.js +0 -2
  214. package/src/types/dist/schemes/events/ComputedPermissions.d.ts +0 -5
  215. package/src/types/dist/schemes/events/ComputedPermissions.js +0 -2
  216. package/src/types/dist/schemes/events/Error.d.ts +0 -4
  217. package/src/types/dist/schemes/events/Error.js +0 -2
  218. package/src/types/dist/schemes/events/FollowedTopicUpdated.d.ts +0 -4
  219. package/src/types/dist/schemes/events/FollowedTopicUpdated.js +0 -2
  220. package/src/types/dist/schemes/events/FollowedTopics.d.ts +0 -4
  221. package/src/types/dist/schemes/events/FollowedTopics.js +0 -2
  222. package/src/types/dist/schemes/events/NewMessage.js +0 -2
  223. package/src/types/dist/schemes/events/NewRole.d.ts +0 -5
  224. package/src/types/dist/schemes/events/NewRole.js +0 -2
  225. package/src/types/dist/schemes/events/NewRoom.d.ts +0 -5
  226. package/src/types/dist/schemes/events/NewRoom.js +0 -2
  227. package/src/types/dist/schemes/events/NewTopic.d.ts +0 -5
  228. package/src/types/dist/schemes/events/NewTopic.js +0 -2
  229. package/src/types/dist/schemes/events/Ok.d.ts +0 -2
  230. package/src/types/dist/schemes/events/Ok.js +0 -2
  231. package/src/types/dist/schemes/events/Owners.d.ts +0 -8
  232. package/src/types/dist/schemes/events/Owners.js +0 -2
  233. package/src/types/dist/schemes/events/PermissionOverwriteTargets.d.ts +0 -10
  234. package/src/types/dist/schemes/events/PermissionOverwriteTargets.js +0 -2
  235. package/src/types/dist/schemes/events/PermissionOverwrites.d.ts +0 -8
  236. package/src/types/dist/schemes/events/PermissionOverwrites.js +0 -2
  237. package/src/types/dist/schemes/events/PermissionOverwritesUpdated.d.ts +0 -8
  238. package/src/types/dist/schemes/events/PermissionOverwritesUpdated.js +0 -2
  239. package/src/types/dist/schemes/events/RoleDeleted.d.ts +0 -4
  240. package/src/types/dist/schemes/events/RoleDeleted.js +0 -2
  241. package/src/types/dist/schemes/events/RoleUpdated.d.ts +0 -5
  242. package/src/types/dist/schemes/events/RoleUpdated.js +0 -2
  243. package/src/types/dist/schemes/events/RoomDeleted.d.ts +0 -3
  244. package/src/types/dist/schemes/events/RoomDeleted.js +0 -2
  245. package/src/types/dist/schemes/events/RoomJoined.d.ts +0 -4
  246. package/src/types/dist/schemes/events/RoomJoined.js +0 -2
  247. package/src/types/dist/schemes/events/RoomLeft.d.ts +0 -3
  248. package/src/types/dist/schemes/events/RoomLeft.js +0 -2
  249. package/src/types/dist/schemes/events/RoomMemberJoined.d.ts +0 -5
  250. package/src/types/dist/schemes/events/RoomMemberJoined.js +0 -2
  251. package/src/types/dist/schemes/events/RoomMemberLeft.d.ts +0 -4
  252. package/src/types/dist/schemes/events/RoomMemberLeft.js +0 -2
  253. package/src/types/dist/schemes/events/RoomMemberUpdated.d.ts +0 -6
  254. package/src/types/dist/schemes/events/RoomMemberUpdated.js +0 -2
  255. package/src/types/dist/schemes/events/RoomMembers.d.ts +0 -5
  256. package/src/types/dist/schemes/events/RoomMembers.js +0 -2
  257. package/src/types/dist/schemes/events/RoomUpdated.d.ts +0 -4
  258. package/src/types/dist/schemes/events/RoomUpdated.js +0 -2
  259. package/src/types/dist/schemes/events/Session.d.ts +0 -7
  260. package/src/types/dist/schemes/events/Session.js +0 -2
  261. package/src/types/dist/schemes/events/SpaceDeleted.d.ts +0 -3
  262. package/src/types/dist/schemes/events/SpaceDeleted.js +0 -2
  263. package/src/types/dist/schemes/events/SpaceJoined.d.ts +0 -4
  264. package/src/types/dist/schemes/events/SpaceJoined.js +0 -2
  265. package/src/types/dist/schemes/events/SpaceLeft.d.ts +0 -3
  266. package/src/types/dist/schemes/events/SpaceLeft.js +0 -2
  267. package/src/types/dist/schemes/events/SpaceMemberJoined.d.ts +0 -5
  268. package/src/types/dist/schemes/events/SpaceMemberJoined.js +0 -2
  269. package/src/types/dist/schemes/events/SpaceMemberLeft.d.ts +0 -4
  270. package/src/types/dist/schemes/events/SpaceMemberLeft.js +0 -2
  271. package/src/types/dist/schemes/events/SpaceMemberUpdated.d.ts +0 -6
  272. package/src/types/dist/schemes/events/SpaceMemberUpdated.js +0 -2
  273. package/src/types/dist/schemes/events/SpaceMembers.d.ts +0 -5
  274. package/src/types/dist/schemes/events/SpaceMembers.js +0 -2
  275. package/src/types/dist/schemes/events/SpaceRooms.d.ts +0 -5
  276. package/src/types/dist/schemes/events/SpaceRooms.js +0 -2
  277. package/src/types/dist/schemes/events/SpaceUpdated.d.ts +0 -4
  278. package/src/types/dist/schemes/events/SpaceUpdated.js +0 -2
  279. package/src/types/dist/schemes/events/TopicDeleted.d.ts +0 -4
  280. package/src/types/dist/schemes/events/TopicDeleted.js +0 -2
  281. package/src/types/dist/schemes/events/TopicFollowed.d.ts +0 -4
  282. package/src/types/dist/schemes/events/TopicFollowed.js +0 -2
  283. package/src/types/dist/schemes/events/TopicUnfollowed.d.ts +0 -4
  284. package/src/types/dist/schemes/events/TopicUnfollowed.js +0 -2
  285. package/src/types/dist/schemes/events/UserUpdated.d.ts +0 -4
  286. package/src/types/dist/schemes/events/UserUpdated.js +0 -2
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface GetFollowedTopics {
3
- location: ChatLocation;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface GetOwners {
3
- location: ChatLocation;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface GetPermissionOverwriteTargets {
3
- location: ChatLocation;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface GetPermissionOverwrites {
3
- location: ChatLocation;
4
- target: 'User' | 'Role';
5
- targetId: string;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetRoomMembers {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export interface GetSession {
2
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetSpaceMembers {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface GetSpaceRooms {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface JoinRoom {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface JoinSpace {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface LeaveRoom {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface LeaveSpace {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { PermissionOverwritesValue } from "../PermissionOverwritesValue";
2
- import { ChatLocation } from "../ChatLocation";
3
- export interface SetPermissionOverwrites {
4
- location: ChatLocation;
5
- target: 'User' | 'Role';
6
- targetId: string;
7
- overwrites: PermissionOverwritesValue;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface UnfollowTopic {
3
- location: ChatLocation;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- export interface UpdateRole {
2
- spaceId: string;
3
- id: string;
4
- priority?: number;
5
- name?: string;
6
- color?: string;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface UpdateRoom {
2
- id: string;
3
- name?: string;
4
- description?: string;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface UpdateSpace {
2
- id: string;
3
- name: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface Bye {
2
- reason: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface ComputedPermissions {
3
- permissions: number;
4
- location: ChatLocation;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface Error {
2
- code: string;
3
- message: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { FollowedTopic } from "../FollowedTopic";
2
- export interface FollowedTopicUpdated {
3
- followedTopic: FollowedTopic;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { FollowedTopic } from "../FollowedTopic";
2
- export interface FollowedTopics {
3
- followedTopics: FollowedTopic[];
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { Role } from "../Role";
2
- export interface NewRole {
3
- spaceId: string;
4
- role: Role;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { RoomSummary } from "../RoomSummary";
2
- export interface NewRoom {
3
- summary: RoomSummary;
4
- spaceId: string;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { Topic } from "../Topic";
2
- export interface NewTopic {
3
- roomId: string;
4
- topic: Topic;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export interface Ok {
2
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- import { RoomMember } from "../RoomMember";
3
- import { SpaceMember } from "../SpaceMember";
4
- export interface Owners {
5
- location: ChatLocation;
6
- spaceMembers: SpaceMember[] | null;
7
- roomMembers: RoomMember[] | null;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- import { SpaceMember } from "../SpaceMember";
3
- import { RoomMember } from "../RoomMember";
4
- import { Role } from "../Role";
5
- export interface PermissionOverwriteTargets {
6
- location: ChatLocation;
7
- spaceMembers: SpaceMember[] | null;
8
- roomMembers: RoomMember[] | null;
9
- roles: Role[] | null;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { PermissionOverwritesValue } from "../PermissionOverwritesValue";
2
- import { ChatLocation } from "../ChatLocation";
3
- export interface PermissionOverwrites {
4
- location: ChatLocation;
5
- target: 'User' | 'Role';
6
- targetId: string;
7
- overwrites: PermissionOverwritesValue;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { PermissionOverwritesValue } from "../PermissionOverwritesValue";
2
- import { ChatLocation } from "../ChatLocation";
3
- export interface PermissionOverwritesUpdated {
4
- location: ChatLocation;
5
- target: 'User' | 'Role';
6
- targetId: string;
7
- overwrites: PermissionOverwritesValue;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface RoleDeleted {
2
- id: string;
3
- spaceId: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { Role } from "../Role";
2
- export interface RoleUpdated {
3
- spaceId: string;
4
- role: Role;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface RoomDeleted {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { Room } from "../Room";
2
- export interface RoomJoined {
3
- room: Room;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface RoomLeft {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { RoomMember } from "../RoomMember";
2
- export interface RoomMemberJoined {
3
- roomId: string;
4
- member: RoomMember;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface RoomMemberLeft {
2
- roomId: string;
3
- userId: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import { RoomMember } from "../RoomMember";
2
- export interface RoomMemberUpdated {
3
- roomId: string;
4
- userId: string;
5
- member: RoomMember;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { RoomMember } from "../RoomMember";
2
- export interface RoomMembers {
3
- id: string;
4
- members: RoomMember[];
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { Room } from "../Room";
2
- export interface RoomUpdated {
3
- room: Room;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import { UserState } from "../UserState";
2
- import { User } from "../User";
3
- export interface Session {
4
- serverVersion: string;
5
- state: UserState;
6
- user: User;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface SpaceDeleted {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { Space } from "../Space";
2
- export interface SpaceJoined {
3
- space: Space;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface SpaceLeft {
2
- id: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { SpaceMember } from "../SpaceMember";
2
- export interface SpaceMemberJoined {
3
- spaceId: string;
4
- member: SpaceMember;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface SpaceMemberLeft {
2
- spaceId: string;
3
- userId: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import { SpaceMember } from "../SpaceMember";
2
- export interface SpaceMemberUpdated {
3
- spaceId: string;
4
- userId: string;
5
- member: SpaceMember;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { SpaceMember } from "../SpaceMember";
2
- export interface SpaceMembers {
3
- id: string;
4
- members: SpaceMember[];
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import { RoomSummary } from "../RoomSummary";
2
- export interface SpaceRooms {
3
- id: string;
4
- summaries: RoomSummary[];
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { Space } from "../Space";
2
- export interface SpaceUpdated {
3
- space: Space;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface TopicDeleted {
3
- location: ChatLocation;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { FollowedTopic } from "../FollowedTopic";
2
- export interface TopicFollowed {
3
- followedTopic: FollowedTopic;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { ChatLocation } from "../ChatLocation";
2
- export interface TopicUnfollowed {
3
- location: ChatLocation;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { User } from "../User";
2
- export interface UserUpdated {
3
- user: User;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });