@dcl/protocol 1.0.0-4440731539.commit-a2174f5 → 1.0.0-4493564897.commit-c858f8a

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 (308) hide show
  1. package/out-js/decentraland/bff/authentication_service.gen.d.ts +6 -2
  2. package/out-js/decentraland/bff/authentication_service.gen.js +46 -24
  3. package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
  4. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +6 -2
  5. package/out-js/decentraland/bff/comms_director_service.gen.js +33 -18
  6. package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
  7. package/out-js/decentraland/bff/comms_service.gen.d.ts +21 -7
  8. package/out-js/decentraland/bff/comms_service.gen.js +25 -17
  9. package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
  10. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +3 -1
  11. package/out-js/decentraland/bff/http_endpoints.gen.js +197 -72
  12. package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
  13. package/out-js/decentraland/bff/topics_service.gen.d.ts +9 -3
  14. package/out-js/decentraland/bff/topics_service.gen.js +64 -32
  15. package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
  16. package/out-js/decentraland/common/border_rect.gen.js +21 -8
  17. package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
  18. package/out-js/decentraland/common/colors.gen.js +38 -15
  19. package/out-js/decentraland/common/colors.gen.js.map +1 -1
  20. package/out-js/decentraland/common/content_mapping.gen.js +13 -6
  21. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  22. package/out-js/decentraland/common/sdk/user_data.gen.js +71 -26
  23. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  24. package/out-js/decentraland/common/texture.gen.js +68 -28
  25. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  26. package/out-js/decentraland/common/vectors.gen.js +47 -20
  27. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  28. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +3 -1
  29. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +15 -10
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  31. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +3 -1
  32. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +19 -11
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  34. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +18 -6
  35. package/out-js/decentraland/kernel/apis/engine_api.gen.js +443 -206
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  37. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +21 -7
  38. package/out-js/decentraland/kernel/apis/environment_api.gen.js +176 -96
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  40. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +15 -5
  41. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +141 -72
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  43. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +9 -3
  44. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +91 -47
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  46. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +6 -2
  47. package/out-js/decentraland/kernel/apis/permissions.gen.js +42 -28
  48. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  49. package/out-js/decentraland/kernel/apis/players.gen.d.ts +9 -3
  50. package/out-js/decentraland/kernel/apis/players.gen.js +49 -31
  51. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  52. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +12 -4
  53. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +81 -48
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  55. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +21 -7
  56. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +123 -69
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  58. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +6 -2
  59. package/out-js/decentraland/kernel/apis/runtime.gen.js +55 -29
  60. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  61. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +3 -1
  62. package/out-js/decentraland/kernel/apis/scene.gen.js +27 -13
  63. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  64. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +3 -1
  65. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +82 -35
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  67. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +3 -1
  68. package/out-js/decentraland/kernel/apis/social_controller.gen.js +28 -16
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  70. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +3 -1
  71. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +15 -10
  72. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  73. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +6 -2
  74. package/out-js/decentraland/kernel/apis/user_identity.gen.js +30 -20
  75. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  76. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +148 -59
  77. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  78. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +142 -63
  79. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  80. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +201 -86
  81. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  82. package/out-js/decentraland/sdk/components/animator.gen.js +42 -16
  83. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
  84. package/out-js/decentraland/sdk/components/audio_source.gen.js +25 -9
  85. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
  86. package/out-js/decentraland/sdk/components/audio_stream.gen.js +17 -7
  87. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
  88. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +13 -6
  89. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
  90. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +19 -10
  91. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  92. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +49 -15
  93. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  94. package/out-js/decentraland/sdk/components/billboard.gen.js +9 -5
  95. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
  96. package/out-js/decentraland/sdk/components/camera_mode.gen.js +9 -5
  97. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
  98. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +13 -6
  99. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  100. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +2 -0
  101. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +7 -0
  102. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
  103. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +10 -0
  104. package/out-js/decentraland/sdk/components/common/input_action.gen.js +47 -1
  105. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  106. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +173 -0
  107. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +156 -0
  108. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  109. package/out-js/decentraland/sdk/components/gltf_container.gen.js +9 -5
  110. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
  111. package/out-js/decentraland/sdk/components/material.gen.js +103 -34
  112. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  113. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +16 -1
  114. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +139 -28
  115. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  116. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +61 -34
  117. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  118. package/out-js/decentraland/sdk/components/nft_shape.gen.js +17 -7
  119. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
  120. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +1 -11
  121. package/out-js/decentraland/sdk/components/pointer_events.gen.js +46 -68
  122. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
  123. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +10 -11
  124. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +35 -20
  125. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
  126. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +9 -5
  127. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
  128. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +239 -38
  129. package/out-js/decentraland/sdk/components/raycast.gen.js +166 -28
  130. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  131. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +26 -176
  132. package/out-js/decentraland/sdk/components/raycast_result.gen.js +42 -172
  133. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
  134. package/out-js/decentraland/sdk/components/text_shape.gen.js +89 -25
  135. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
  136. package/out-js/decentraland/sdk/components/ui_background.gen.js +27 -12
  137. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
  138. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +41 -13
  139. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
  140. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +9 -5
  141. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
  142. package/out-js/decentraland/sdk/components/ui_input.gen.js +37 -12
  143. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  144. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +9 -5
  145. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
  146. package/out-js/decentraland/sdk/components/ui_text.gen.js +25 -9
  147. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  148. package/out-js/decentraland/sdk/components/ui_transform.gen.js +209 -55
  149. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  150. package/out-js/decentraland/sdk/components/video_player.gen.js +29 -10
  151. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
  152. package/out-js/decentraland/sdk/components/visibility_component.gen.js +9 -5
  153. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
  154. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +12 -4
  155. package/out-js/decentraland/social/friendships/friendships.gen.js +231 -113
  156. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
  157. package/out-js/google/protobuf/descriptor.gen.js +579 -226
  158. package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
  159. package/out-js/google/protobuf/empty.gen.js +5 -4
  160. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  161. package/out-ts/decentraland/bff/authentication_service.gen.ts +52 -24
  162. package/out-ts/decentraland/bff/comms_director_service.gen.ts +37 -18
  163. package/out-ts/decentraland/bff/comms_service.gen.ts +27 -17
  164. package/out-ts/decentraland/bff/http_endpoints.gen.ts +236 -72
  165. package/out-ts/decentraland/bff/topics_service.gen.ts +73 -32
  166. package/out-ts/decentraland/common/border_rect.gen.ts +25 -8
  167. package/out-ts/decentraland/common/colors.gen.ts +45 -15
  168. package/out-ts/decentraland/common/content_mapping.gen.ts +15 -6
  169. package/out-ts/decentraland/common/sdk/user_data.gen.ts +85 -26
  170. package/out-ts/decentraland/common/texture.gen.ts +80 -28
  171. package/out-ts/decentraland/common/vectors.gen.ts +55 -20
  172. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +16 -10
  173. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +21 -11
  174. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +511 -206
  175. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +197 -96
  176. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +160 -72
  177. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +103 -47
  178. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +50 -26
  179. package/out-ts/decentraland/kernel/apis/players.gen.ts +53 -31
  180. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +89 -48
  181. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +137 -69
  182. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +62 -29
  183. package/out-ts/decentraland/kernel/apis/scene.gen.ts +31 -13
  184. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +96 -35
  185. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +31 -16
  186. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +16 -10
  187. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +32 -20
  188. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +175 -59
  189. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +165 -63
  190. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +235 -86
  191. package/out-ts/decentraland/sdk/components/animator.gen.ts +50 -16
  192. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +30 -9
  193. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +20 -7
  194. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +15 -6
  195. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +24 -9
  196. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +60 -15
  197. package/out-ts/decentraland/sdk/components/billboard.gen.ts +10 -5
  198. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +10 -5
  199. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +15 -6
  200. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +7 -0
  201. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +46 -0
  202. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  203. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +10 -5
  204. package/out-ts/decentraland/sdk/components/material.gen.ts +125 -34
  205. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +146 -28
  206. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +73 -32
  207. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +20 -7
  208. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +58 -66
  209. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +41 -14
  210. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +10 -5
  211. package/out-ts/decentraland/sdk/components/raycast.gen.ts +205 -34
  212. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +49 -211
  213. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +110 -25
  214. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +34 -11
  215. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +50 -13
  216. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +10 -5
  217. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +45 -12
  218. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +10 -5
  219. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +30 -9
  220. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +260 -55
  221. package/out-ts/decentraland/sdk/components/video_player.gen.ts +35 -10
  222. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +10 -5
  223. package/out-ts/decentraland/social/friendships/friendships.gen.ts +264 -113
  224. package/out-ts/google/protobuf/descriptor.gen.ts +700 -221
  225. package/out-ts/google/protobuf/empty.gen.ts +5 -4
  226. package/package.json +2 -2
  227. package/proto/decentraland/sdk/components/common/camera_type.proto +1 -0
  228. package/proto/decentraland/sdk/components/common/input_action.proto +8 -0
  229. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  230. package/proto/decentraland/sdk/components/mesh_collider.proto +17 -3
  231. package/proto/decentraland/sdk/components/pointer_events.proto +1 -9
  232. package/proto/decentraland/sdk/components/pointer_events_result.proto +5 -6
  233. package/proto/decentraland/sdk/components/raycast.proto +39 -4
  234. package/proto/decentraland/sdk/components/raycast_result.proto +9 -19
  235. package/out-js/decentraland/common/entity.gen.d.ts +0 -89
  236. package/out-js/decentraland/common/entity.gen.js +0 -107
  237. package/out-js/decentraland/common/entity.gen.js.map +0 -1
  238. package/out-js/decentraland/renderer/common/friend_request_common.gen.d.ts +0 -69
  239. package/out-js/decentraland/renderer/common/friend_request_common.gen.js +0 -179
  240. package/out-js/decentraland/renderer/common/friend_request_common.gen.js.map +0 -1
  241. package/out-js/decentraland/renderer/engine_interface.gen.d.ts +0 -18476
  242. package/out-js/decentraland/renderer/engine_interface.gen.js +0 -7796
  243. package/out-js/decentraland/renderer/engine_interface.gen.js.map +0 -1
  244. package/out-js/decentraland/renderer/kernel_services/analytics.gen.d.ts +0 -670
  245. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js +0 -846
  246. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js.map +0 -1
  247. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.d.ts +0 -96
  248. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js +0 -120
  249. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js.map +0 -1
  250. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.d.ts +0 -2326
  251. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js +0 -968
  252. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js.map +0 -1
  253. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.d.ts +0 -111
  254. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js +0 -162
  255. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js.map +0 -1
  256. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.d.ts +0 -103
  257. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.js +0 -122
  258. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.js.map +0 -1
  259. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.d.ts +0 -148
  260. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.js +0 -239
  261. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.js.map +0 -1
  262. package/out-js/decentraland/renderer/renderer_services/crdt.gen.d.ts +0 -182
  263. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js +0 -235
  264. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js.map +0 -1
  265. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.d.ts +0 -87
  266. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js +0 -109
  267. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js.map +0 -1
  268. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.d.ts +0 -335
  269. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js +0 -380
  270. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js.map +0 -1
  271. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.d.ts +0 -494
  272. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js +0 -473
  273. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js.map +0 -1
  274. package/out-js/decentraland/renderer/renderer_services/transport.gen.d.ts +0 -88
  275. package/out-js/decentraland/renderer/renderer_services/transport.gen.js +0 -114
  276. package/out-js/decentraland/renderer/renderer_services/transport.gen.js.map +0 -1
  277. package/out-js/renderer-interface.gen.d.ts +0 -1
  278. package/out-js/renderer-interface.gen.js +0 -6
  279. package/out-js/renderer-interface.gen.js.map +0 -1
  280. package/out-ts/decentraland/common/entity.gen.ts +0 -126
  281. package/out-ts/decentraland/renderer/common/friend_request_common.gen.ts +0 -206
  282. package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8939
  283. package/out-ts/decentraland/renderer/kernel_services/analytics.gen.ts +0 -1004
  284. package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +0 -151
  285. package/out-ts/decentraland/renderer/kernel_services/friend_request_kernel.gen.ts +0 -1146
  286. package/out-ts/decentraland/renderer/kernel_services/friends_kernel.gen.ts +0 -191
  287. package/out-ts/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.ts +0 -151
  288. package/out-ts/decentraland/renderer/kernel_services/sign_request.gen.ts +0 -277
  289. package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +0 -284
  290. package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +0 -147
  291. package/out-ts/decentraland/renderer/renderer_services/friend_request_renderer.gen.ts +0 -470
  292. package/out-ts/decentraland/renderer/renderer_services/scene_controller.gen.ts +0 -579
  293. package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +0 -141
  294. package/out-ts/renderer-interface.gen.ts +0 -3
  295. package/proto/decentraland/renderer/common/friend_request_common.proto +0 -20
  296. package/proto/decentraland/renderer/engine_interface.proto +0 -709
  297. package/proto/decentraland/renderer/kernel_services/analytics.proto +0 -69
  298. package/proto/decentraland/renderer/kernel_services/emotes_kernel.proto +0 -16
  299. package/proto/decentraland/renderer/kernel_services/friend_request_kernel.proto +0 -100
  300. package/proto/decentraland/renderer/kernel_services/friends_kernel.proto +0 -22
  301. package/proto/decentraland/renderer/kernel_services/mutual_friends_kernel.proto +0 -15
  302. package/proto/decentraland/renderer/kernel_services/sign_request.proto +0 -27
  303. package/proto/decentraland/renderer/renderer_services/crdt.proto +0 -29
  304. package/proto/decentraland/renderer/renderer_services/emotes_renderer.proto +0 -15
  305. package/proto/decentraland/renderer/renderer_services/friend_request_renderer.proto +0 -36
  306. package/proto/decentraland/renderer/renderer_services/scene_controller.proto +0 -54
  307. package/proto/decentraland/renderer/renderer_services/transport.proto +0 -14
  308. package/public/renderer-interface.proto +0 -14
@@ -25,16 +25,17 @@ export const Empty = {
25
25
  },
26
26
 
27
27
  decode(input: _m0.Reader | Uint8Array, length?: number): Empty {
28
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
28
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
29
29
  let end = length === undefined ? reader.len : reader.pos + length;
30
30
  const message = createBaseEmpty();
31
31
  while (reader.pos < end) {
32
32
  const tag = reader.uint32();
33
33
  switch (tag >>> 3) {
34
- default:
35
- reader.skipType(tag & 7);
36
- break;
37
34
  }
35
+ if ((tag & 7) == 4 || tag == 0) {
36
+ break;
37
+ }
38
+ reader.skipType(tag & 7);
38
39
  }
39
40
  return message;
40
41
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-4440731539.commit-a2174f5",
3
+ "version": "1.0.0-4493564897.commit-c858f8a",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,5 +26,5 @@
26
26
  "out-js",
27
27
  "public"
28
28
  ],
29
- "commit": "a2174f557b5bd04f0af72361416dcf44dc1b3d9d"
29
+ "commit": "c858f8a15323fd86a18474c8b650deea28507d3b"
30
30
  }
@@ -5,4 +5,5 @@ package decentraland.sdk.components.common;
5
5
  enum CameraType {
6
6
  CT_FIRST_PERSON = 0;
7
7
  CT_THIRD_PERSON = 1;
8
+ CT_CINEMATIC = 2; // controlled by the scene
8
9
  }
@@ -18,3 +18,11 @@ enum InputAction {
18
18
  IA_ACTION_5 = 12;
19
19
  IA_ACTION_6 = 13;
20
20
  }
21
+
22
+ // PointerEventType is a kind of interaction that can be detected.
23
+ enum PointerEventType {
24
+ PET_UP = 0;
25
+ PET_DOWN = 1;
26
+ PET_HOVER_ENTER = 2;
27
+ PET_HOVER_LEAVE = 3;
28
+ }
@@ -0,0 +1,16 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components.common;
4
+ import "decentraland/common/vectors.proto";
5
+
6
+ // RaycastHit contains information about the intersection of a ray with a mesh.
7
+ message RaycastHit {
8
+ // Position will be relative to the scene
9
+ decentraland.common.Vector3 position = 1; // the intersection point in global coordinates
10
+ decentraland.common.Vector3 global_origin = 2; // the starting point of the ray in global coordinates
11
+ decentraland.common.Vector3 direction = 3; // the direction vector of the ray in global coordinates
12
+ decentraland.common.Vector3 normal_hit = 4; // normal of the hit surface in global coordinates
13
+ float length = 5; // the distance between the ray origin and the hit position
14
+ optional string mesh_name = 6; // mesh name, if collision happened inside a GltfContainer
15
+ optional uint32 entity_id = 7; // the ID of the Entity that has the impacted mesh attached
16
+ }
@@ -42,7 +42,21 @@ message PBMeshCollider {
42
42
 
43
43
  // ColliderLayer determines the kind of collision to detect, in OR-able bit flag form.
44
44
  enum ColliderLayer {
45
- CL_NONE = 0; // no collisions
46
- CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
47
- CL_PHYSICS = 2; // colission with Avatars
45
+ CL_NONE = 0; // no collisions
46
+ CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
47
+ CL_PHYSICS = 2; // collision affecting your player's physics i.e. walls, floor, moving platfroms
48
+ CL_VISIBLE_MESHES = 4; // all visible meshes, use with extreme care since the performance penalty is high
49
+ CL_RESERVED2 = 8;
50
+ CL_RESERVED3 = 16;
51
+ CL_RESERVED4 = 32;
52
+ CL_RESERVED5 = 64;
53
+ CL_RESERVED6 = 128;
54
+ CL_CUSTOM1 = 256;
55
+ CL_CUSTOM2 = 512;
56
+ CL_CUSTOM3 = 1024;
57
+ CL_CUSTOM4 = 2048;
58
+ CL_CUSTOM5 = 4096;
59
+ CL_CUSTOM6 = 8192;
60
+ CL_CUSTOM7 = 16384;
61
+ CL_CUSTOM8 = 32768;
48
62
  }
@@ -29,17 +29,9 @@ message PBPointerEvents {
29
29
  }
30
30
 
31
31
  message Entry {
32
- PointerEventType event_type = 1; // the kind of interaction to detect
32
+ common.PointerEventType event_type = 1; // the kind of interaction to detect
33
33
  Info event_info = 2; // additional configuration for this detection
34
34
  }
35
35
 
36
36
  repeated Entry pointer_events = 1; // the list of relevant events to detect
37
37
  }
38
-
39
- // PointerEventType is a kind of interaction that can be detected.
40
- enum PointerEventType {
41
- PET_UP = 0;
42
- PET_DOWN = 1;
43
- PET_HOVER_ENTER = 2;
44
- PET_HOVER_LEAVE = 3;
45
- }
@@ -4,16 +4,15 @@ package decentraland.sdk.components;
4
4
 
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
  import "decentraland/sdk/components/common/input_action.proto";
7
- import "decentraland/sdk/components/pointer_events.proto";
8
- import "decentraland/sdk/components/raycast_result.proto";
7
+ import "decentraland/sdk/components/common/raycast_hit.proto";
9
8
 
10
9
  option (common.ecs_component_id) = 1063;
11
10
 
12
11
  // renderer append a new object of this in each command, there can be many commands per frames
13
12
  message PBPointerEventsResult {
14
13
  common.InputAction button = 1; // identifier of the input
15
- RaycastHit hit = 2;
16
- PointerEventType state = 4;
17
- int32 timestamp = 5; // could be a Lamport timestamp
18
- optional float analog = 6; // if the input is analog then we store it here
14
+ common.RaycastHit hit = 2;
15
+ common.PointerEventType state = 4;
16
+ uint32 timestamp = 5; // could be a Lamport timestamp
17
+ optional float analog = 6; // if the input is analog then we store it here
19
18
  }
@@ -7,17 +7,52 @@ import "decentraland/sdk/components/common/id.proto";
7
7
 
8
8
  option (common.ecs_component_id) = 1067;
9
9
 
10
+ // The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
11
+ //
10
12
  // The Raycast component allows scenes to request raycasting from the game engine. The results will
11
13
  // be available in a RaycastResult component set later on the same Entity.
12
14
  message PBRaycast {
13
- decentraland.common.Vector3 origin = 2; // the starting point of the ray in 3D space
14
- decentraland.common.Vector3 direction = 3; // the direction of the ray in 3D space
15
- float max_distance = 4; // the maximum length of the ray
16
- RaycastQueryType query_type = 5; // the RaycastQueryType behavior (see above)
15
+ // Correlation ID, defined by the scene and used internally by the scene
16
+ optional uint32 timestamp = 1;
17
+
18
+ // How much to offset the starting point of the ray, relative to the entity's transform.
19
+ // Defaults to vec3(0,0,0)
20
+ optional decentraland.common.Vector3 origin_offset = 2;
21
+
22
+ oneof direction {
23
+ // The direction of the ray in local coordinates (relative to the origin point)
24
+ decentraland.common.Vector3 local_direction = 6;
25
+
26
+ // The direction of the ray in global coordinates (relative to origin)
27
+ decentraland.common.Vector3 global_direction = 3;
28
+
29
+ // Target coordinates of the raycast, in global coordinates
30
+ decentraland.common.Vector3 global_target = 7;
31
+
32
+ // Will point to the final world position of another entity
33
+ uint32 target_entity = 10;
34
+ }
35
+
36
+ // Maximum length of the ray in virtual meters (global space)
37
+ float max_distance = 4;
38
+
39
+ // the RaycastQueryType behavior
40
+ RaycastQueryType query_type = 5;
41
+
42
+ // Indicates the renderer to perform the raycast on every scene tick (ADR-148),
43
+ // otherwise it will be performed only once, defaults to false
44
+ optional bool continuous = 8;
45
+
46
+ // Collision mask, by default all bits are 1 (0xFFFF_FFFF)
47
+ optional uint32 collision_mask = 9;
17
48
  }
18
49
 
19
50
  // RaycastQueryType indicates whether the ray should stop on the first collition, or continue.
20
51
  enum RaycastQueryType {
52
+ // Pick the first (not necessarily the closest) hit within the range
21
53
  RQT_HIT_FIRST = 0;
54
+ // Pick all hits within the range
22
55
  RQT_QUERY_ALL = 1;
56
+ // Do not perform the raycast, only set the raycast result with empty hits
57
+ RQT_NONE = 2;
23
58
  }
@@ -1,30 +1,20 @@
1
1
  syntax = "proto3";
2
2
  package decentraland.sdk.components;
3
3
 
4
- import "decentraland/sdk/components/common/id.proto";
5
4
  import "decentraland/common/vectors.proto";
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ import "decentraland/sdk/components/common/raycast_hit.proto";
6
7
 
7
8
  option (common.ecs_component_id) = 1068;
8
9
 
10
+ // The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
11
+ //
9
12
  // The RaycastResult component is added to an Entity when the results of a previously attached
10
- // Raycast component are available. It contains information about the ray and any objects it
13
+ // Raycast component are available. It contains information about the ray and any objects it
11
14
  // collided with.
12
15
  message PBRaycastResult {
13
- int32 timestamp = 1; // the timestamp of the Raycast component addition
14
- decentraland.common.Vector3 origin = 2; // the starting point of the ray
15
- decentraland.common.Vector3 direction = 3; // the direction vector of the ray
16
- repeated RaycastHit hits = 4; // zero or more hits
16
+ optional uint32 timestamp = 1; // timestamp is a correlation id, copied from the PBRaycast
17
+ decentraland.common.Vector3 global_origin = 2; // the starting point of the ray in global coordinates
18
+ decentraland.common.Vector3 direction = 3; // the direction vector of the ray in global coordinates
19
+ repeated decentraland.sdk.components.common.RaycastHit hits = 4; // zero or more hits
17
20
  }
18
-
19
- // RaycastHit contains information about the intersection of a ray with a mesh.
20
- message RaycastHit {
21
- // Position will be relative to the scene
22
- decentraland.common.Vector3 position = 1; // the intersection point
23
- decentraland.common.Vector3 origin = 2; // the starting point of the ray
24
- decentraland.common.Vector3 direction = 3; // the direction vector of the ray
25
- decentraland.common.Vector3 normal_hit = 4; // the entry vector of the ray into the collision mesh
26
-
27
- float length = 5; // the distance between the ray origin and the hit position
28
- optional string mesh_name = 6; // (unused) mesh ID if collision happened inside a GltfContainer
29
- optional int64 entity_id = 7; // the ID of the Entity that has the impacted mesh attached
30
- }
@@ -1,89 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { ContentMapping } from "./content_mapping.gen";
3
- export declare const protobufPackage = "decentraland.common";
4
- export interface Entity {
5
- id: string;
6
- pointers: string[];
7
- metadata: string;
8
- timestamp: number;
9
- content: ContentMapping[];
10
- }
11
- export declare const Entity: {
12
- encode(message: Entity, writer?: _m0.Writer): _m0.Writer;
13
- decode(input: _m0.Reader | Uint8Array, length?: number): Entity;
14
- fromJSON(object: any): Entity;
15
- toJSON(message: Entity): unknown;
16
- create<I extends {
17
- id?: string | undefined;
18
- pointers?: string[] | undefined;
19
- metadata?: string | undefined;
20
- timestamp?: number | undefined;
21
- content?: {
22
- file?: string | undefined;
23
- hash?: string | undefined;
24
- }[] | undefined;
25
- } & {
26
- id?: string | undefined;
27
- pointers?: (string[] & string[] & { [K in Exclude<keyof I["pointers"], keyof string[]>]: never; }) | undefined;
28
- metadata?: string | undefined;
29
- timestamp?: number | undefined;
30
- content?: ({
31
- file?: string | undefined;
32
- hash?: string | undefined;
33
- }[] & ({
34
- file?: string | undefined;
35
- hash?: string | undefined;
36
- } & {
37
- file?: string | undefined;
38
- hash?: string | undefined;
39
- } & { [K_1 in Exclude<keyof I["content"][number], keyof ContentMapping>]: never; })[] & { [K_2 in Exclude<keyof I["content"], keyof {
40
- file?: string | undefined;
41
- hash?: string | undefined;
42
- }[]>]: never; }) | undefined;
43
- } & { [K_3 in Exclude<keyof I, keyof Entity>]: never; }>(base?: I | undefined): Entity;
44
- fromPartial<I_1 extends {
45
- id?: string | undefined;
46
- pointers?: string[] | undefined;
47
- metadata?: string | undefined;
48
- timestamp?: number | undefined;
49
- content?: {
50
- file?: string | undefined;
51
- hash?: string | undefined;
52
- }[] | undefined;
53
- } & {
54
- id?: string | undefined;
55
- pointers?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["pointers"], keyof string[]>]: never; }) | undefined;
56
- metadata?: string | undefined;
57
- timestamp?: number | undefined;
58
- content?: ({
59
- file?: string | undefined;
60
- hash?: string | undefined;
61
- }[] & ({
62
- file?: string | undefined;
63
- hash?: string | undefined;
64
- } & {
65
- file?: string | undefined;
66
- hash?: string | undefined;
67
- } & { [K_5 in Exclude<keyof I_1["content"][number], keyof ContentMapping>]: never; })[] & { [K_6 in Exclude<keyof I_1["content"], keyof {
68
- file?: string | undefined;
69
- hash?: string | undefined;
70
- }[]>]: never; }) | undefined;
71
- } & { [K_7 in Exclude<keyof I_1, keyof Entity>]: never; }>(object: I_1): Entity;
72
- };
73
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
74
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
75
- $case: string;
76
- } ? {
77
- [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
78
- } & {
79
- $case: T["$case"];
80
- } : T extends {} ? {
81
- [K in keyof T]?: DeepPartial<T[K]>;
82
- } : Partial<T>;
83
- type KeysOfUnion<T> = T extends T ? keyof T : never;
84
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
85
- [K in keyof P]: Exact<P[K], I[K]>;
86
- } & {
87
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
88
- };
89
- export {};
@@ -1,107 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Entity = exports.protobufPackage = void 0;
7
- /* eslint-disable */
8
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
- const content_mapping_gen_1 = require("./content_mapping.gen");
10
- exports.protobufPackage = "decentraland.common";
11
- function createBaseEntity() {
12
- return { id: "", pointers: [], metadata: "", timestamp: 0, content: [] };
13
- }
14
- exports.Entity = {
15
- encode(message, writer = minimal_1.default.Writer.create()) {
16
- if (message.id !== "") {
17
- writer.uint32(10).string(message.id);
18
- }
19
- for (const v of message.pointers) {
20
- writer.uint32(18).string(v);
21
- }
22
- if (message.metadata !== "") {
23
- writer.uint32(26).string(message.metadata);
24
- }
25
- if (message.timestamp !== 0) {
26
- writer.uint32(32).uint32(message.timestamp);
27
- }
28
- for (const v of message.content) {
29
- content_mapping_gen_1.ContentMapping.encode(v, writer.uint32(42).fork()).ldelim();
30
- }
31
- return writer;
32
- },
33
- decode(input, length) {
34
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
35
- let end = length === undefined ? reader.len : reader.pos + length;
36
- const message = createBaseEntity();
37
- while (reader.pos < end) {
38
- const tag = reader.uint32();
39
- switch (tag >>> 3) {
40
- case 1:
41
- message.id = reader.string();
42
- break;
43
- case 2:
44
- message.pointers.push(reader.string());
45
- break;
46
- case 3:
47
- message.metadata = reader.string();
48
- break;
49
- case 4:
50
- message.timestamp = reader.uint32();
51
- break;
52
- case 5:
53
- message.content.push(content_mapping_gen_1.ContentMapping.decode(reader, reader.uint32()));
54
- break;
55
- default:
56
- reader.skipType(tag & 7);
57
- break;
58
- }
59
- }
60
- return message;
61
- },
62
- fromJSON(object) {
63
- return {
64
- id: isSet(object.id) ? String(object.id) : "",
65
- pointers: Array.isArray(object === null || object === void 0 ? void 0 : object.pointers) ? object.pointers.map((e) => String(e)) : [],
66
- metadata: isSet(object.metadata) ? String(object.metadata) : "",
67
- timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
68
- content: Array.isArray(object === null || object === void 0 ? void 0 : object.content) ? object.content.map((e) => content_mapping_gen_1.ContentMapping.fromJSON(e)) : [],
69
- };
70
- },
71
- toJSON(message) {
72
- const obj = {};
73
- message.id !== undefined && (obj.id = message.id);
74
- if (message.pointers) {
75
- obj.pointers = message.pointers.map((e) => e);
76
- }
77
- else {
78
- obj.pointers = [];
79
- }
80
- message.metadata !== undefined && (obj.metadata = message.metadata);
81
- message.timestamp !== undefined && (obj.timestamp = Math.round(message.timestamp));
82
- if (message.content) {
83
- obj.content = message.content.map((e) => e ? content_mapping_gen_1.ContentMapping.toJSON(e) : undefined);
84
- }
85
- else {
86
- obj.content = [];
87
- }
88
- return obj;
89
- },
90
- create(base) {
91
- return exports.Entity.fromPartial(base !== null && base !== void 0 ? base : {});
92
- },
93
- fromPartial(object) {
94
- var _a, _b, _c, _d, _e;
95
- const message = createBaseEntity();
96
- message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
97
- message.pointers = ((_b = object.pointers) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
98
- message.metadata = (_c = object.metadata) !== null && _c !== void 0 ? _c : "";
99
- message.timestamp = (_d = object.timestamp) !== null && _d !== void 0 ? _d : 0;
100
- message.content = ((_e = object.content) === null || _e === void 0 ? void 0 : _e.map((e) => content_mapping_gen_1.ContentMapping.fromPartial(e))) || [];
101
- return message;
102
- },
103
- };
104
- function isSet(value) {
105
- return value !== null && value !== undefined;
106
- }
107
- //# sourceMappingURL=entity.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/common/entity.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,+DAAuD;AAE1C,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAUrD,SAAS,gBAAgB;IACvB,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAC3E,CAAC;AAEY,QAAA,MAAM,GAAG;IACpB,MAAM,CAAC,OAAe,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC9D,IAAI,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE;YACrB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,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ACD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAA0C,IAAQ;QACtD,OAAO,cAAM,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IACxC,CAAC;IAED,WAAW,CAA0C,MAAS;;QAC5D,MAAM,OAAO,GAAG,gBAAgB,EAAE,CAAC;QACnC,OAAO,CAAC,EAAE,GAAG,MAAA,MAAM,CAAC,EAAE,mCAAI,EAAE,CAAC;QAC7B,OAAO,CAAC,QAAQ,GAAG,CAAA,MAAA,MAAM,CAAC,QAAQ,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QACxD,OAAO,CAAC,QAAQ,GAAG,MAAA,MAAM,CAAC,QAAQ,mCAAI,EAAE,CAAC;QACzC,OAAO,CAAC,SAAS,GAAG,MAAA,MAAM,CAAC,SAAS,mCAAI,CAAC,CAAC;QAC1C,OAAO,CAAC,OAAO,GAAG,CAAA,MAAA,MAAM,CAAC,OAAO,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAc,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAClF,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAcF,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -1,69 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "decentraland.renderer.common";
3
- export declare enum FriendshipErrorCode {
4
- FEC_TOO_MANY_REQUESTS_SENT = 0,
5
- FEC_NOT_ENOUGH_TIME_PASSED = 1,
6
- FEC_BLOCKED_USER = 2,
7
- FEC_NON_EXISTING_USER = 3,
8
- FEC_INVALID_REQUEST = 4,
9
- FEC_UNKNOWN = 5,
10
- UNRECOGNIZED = -1
11
- }
12
- export declare function friendshipErrorCodeFromJSON(object: any): FriendshipErrorCode;
13
- export declare function friendshipErrorCodeToJSON(object: FriendshipErrorCode): string;
14
- export interface FriendRequestInfo {
15
- friendRequestId: string;
16
- timestamp: number;
17
- from: string;
18
- to: string;
19
- messageBody?: string | undefined;
20
- }
21
- export declare const FriendRequestInfo: {
22
- encode(message: FriendRequestInfo, writer?: _m0.Writer): _m0.Writer;
23
- decode(input: _m0.Reader | Uint8Array, length?: number): FriendRequestInfo;
24
- fromJSON(object: any): FriendRequestInfo;
25
- toJSON(message: FriendRequestInfo): unknown;
26
- create<I extends {
27
- friendRequestId?: string | undefined;
28
- timestamp?: number | undefined;
29
- from?: string | undefined;
30
- to?: string | undefined;
31
- messageBody?: string | undefined;
32
- } & {
33
- friendRequestId?: string | undefined;
34
- timestamp?: number | undefined;
35
- from?: string | undefined;
36
- to?: string | undefined;
37
- messageBody?: string | undefined;
38
- } & { [K in Exclude<keyof I, keyof FriendRequestInfo>]: never; }>(base?: I | undefined): FriendRequestInfo;
39
- fromPartial<I_1 extends {
40
- friendRequestId?: string | undefined;
41
- timestamp?: number | undefined;
42
- from?: string | undefined;
43
- to?: string | undefined;
44
- messageBody?: string | undefined;
45
- } & {
46
- friendRequestId?: string | undefined;
47
- timestamp?: number | undefined;
48
- from?: string | undefined;
49
- to?: string | undefined;
50
- messageBody?: string | undefined;
51
- } & { [K_1 in Exclude<keyof I_1, keyof FriendRequestInfo>]: never; }>(object: I_1): FriendRequestInfo;
52
- };
53
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
54
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
55
- $case: string;
56
- } ? {
57
- [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
58
- } & {
59
- $case: T["$case"];
60
- } : T extends {} ? {
61
- [K in keyof T]?: DeepPartial<T[K]>;
62
- } : Partial<T>;
63
- type KeysOfUnion<T> = T extends T ? keyof T : never;
64
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
65
- [K in keyof P]: Exact<P[K], I[K]>;
66
- } & {
67
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
68
- };
69
- export {};