@dcl/protocol 1.0.0-4958447726.commit-3016853 → 1.0.0-4982121558.commit-4b98e1a
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.
- package/README.md +3 -3
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +46 -184
- package/out-js/decentraland/bff/authentication_service.gen.js +115 -80
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +28 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js +76 -54
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +30 -272
- package/out-js/decentraland/bff/comms_service.gen.js +52 -38
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +66 -854
- package/out-js/decentraland/bff/http_endpoints.gen.js +215 -158
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +46 -208
- package/out-js/decentraland/bff/topics_service.gen.js +116 -81
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/common/border_rect.gen.d.ts +16 -56
- package/out-js/decentraland/common/border_rect.gen.js +44 -30
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +16 -52
- package/out-js/decentraland/common/colors.gen.js +44 -30
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +22 -15
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +76 -55
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +32 -250
- package/out-js/decentraland/common/texture.gen.js +103 -75
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +161 -46
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +157 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +483 -1650
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +400 -281
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +278 -194
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +192 -136
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +36 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +92 -64
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +143 -101
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +80 -308
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +211 -148
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +102 -568
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +256 -179
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +80 -404
- package/out-js/decentraland/kernel/apis/runtime.gen.js +211 -148
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +42 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +121 -86
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +73 -52
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +78 -408
- package/out-js/decentraland/kernel/apis/testing.gen.js +219 -156
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +92 -64
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +64 -550
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +220 -161
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +80 -560
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +280 -204
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +112 -1002
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +372 -270
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.d.ts +64 -534
- package/out-js/decentraland/realm/about.gen.js +214 -157
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +16 -136
- package/out-js/decentraland/sdk/components/animator.gen.js +49 -35
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +8 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +8 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -128
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/billboard.gen.js +22 -15
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +22 -15
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +8 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +22 -15
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/engine_info.gen.js +22 -15
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +22 -15
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +22 -15
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +24 -3368
- package/out-js/decentraland/sdk/components/material.gen.js +80 -58
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +40 -176
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +40 -220
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +24 -184
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +76 -55
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +8 -212
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +22 -15
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +8 -248
- package/out-js/decentraland/sdk/components/raycast.gen.js +30 -21
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +8 -352
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +8 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +8 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +8 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +8 -62
- package/out-js/decentraland/sdk/components/ui_text.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +8 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +8 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +22 -15
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +22 -15
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1004 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7829 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +182 -7715
- package/out-js/decentraland/social/friendships/friendships.gen.js +684 -1370
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +720 -545
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +22 -15
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +72 -70
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +46 -45
- package/out-ts/decentraland/bff/comms_service.gen.ts +28 -28
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +137 -115
- package/out-ts/decentraland/bff/topics_service.gen.ts +80 -70
- package/out-ts/decentraland/common/border_rect.gen.ts +28 -28
- package/out-ts/decentraland/common/colors.gen.ts +28 -28
- package/out-ts/decentraland/common/content_mapping.gen.ts +14 -14
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +42 -42
- package/out-ts/decentraland/common/texture.gen.ts +56 -56
- package/out-ts/decentraland/common/vectors.gen.ts +146 -42
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +291 -1786
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +271 -238
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +189 -168
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +112 -112
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +64 -56
- package/out-ts/decentraland/kernel/apis/players.gen.ts +96 -84
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +129 -126
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +156 -154
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +134 -126
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +79 -70
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +44 -42
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +139 -126
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +30 -28
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +60 -56
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +126 -121
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +166 -158
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +225 -208
- package/out-ts/decentraland/realm/about.gen.ts +137 -115
- package/out-ts/decentraland/sdk/components/animator.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +18 -14
- package/out-ts/decentraland/sdk/components/material.gen.ts +52 -45
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +82 -70
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +84 -70
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +44 -42
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +16 -14
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +22 -20
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +16 -14
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8942 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2884 -0
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +411 -1379
- package/out-ts/google/protobuf/descriptor.gen.ts +375 -350
- package/out-ts/google/protobuf/empty.gen.ts +14 -14
- package/package.json +3 -3
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +2 -110
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +677 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social/friendships/friendships.proto +21 -64
|
@@ -7,38 +7,22 @@ export interface Subscription {
|
|
|
7
7
|
export interface UnsubscriptionResult {
|
|
8
8
|
ok: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
11
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
13
|
-
fromJSON(object: any): Subscription;
|
|
14
|
-
toJSON(message: Subscription): unknown;
|
|
15
|
-
create<I extends
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
export declare const UnsubscriptionResult: {
|
|
27
|
-
encode(message: UnsubscriptionResult, writer?: _m0.Writer): _m0.Writer;
|
|
28
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UnsubscriptionResult;
|
|
29
|
-
fromJSON(object: any): UnsubscriptionResult;
|
|
30
|
-
toJSON(message: UnsubscriptionResult): unknown;
|
|
31
|
-
create<I extends {
|
|
32
|
-
ok?: boolean | undefined;
|
|
33
|
-
} & {
|
|
34
|
-
ok?: boolean | undefined;
|
|
35
|
-
} & { [K in Exclude<keyof I, "ok">]: never; }>(base?: I | undefined): UnsubscriptionResult;
|
|
36
|
-
fromPartial<I_1 extends {
|
|
37
|
-
ok?: boolean | undefined;
|
|
38
|
-
} & {
|
|
39
|
-
ok?: boolean | undefined;
|
|
40
|
-
} & { [K_1 in Exclude<keyof I_1, "ok">]: never; }>(object: I_1): UnsubscriptionResult;
|
|
41
|
-
};
|
|
10
|
+
export declare namespace Subscription {
|
|
11
|
+
function encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
13
|
+
function fromJSON(object: any): Subscription;
|
|
14
|
+
function toJSON(message: Subscription): unknown;
|
|
15
|
+
function create<I extends Exact<DeepPartial<Subscription>, I>>(base?: I): Subscription;
|
|
16
|
+
function fromPartial<I extends Exact<DeepPartial<Subscription>, I>>(object: I): Subscription;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace UnsubscriptionResult {
|
|
19
|
+
function encode(message: UnsubscriptionResult, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): UnsubscriptionResult;
|
|
21
|
+
function fromJSON(object: any): UnsubscriptionResult;
|
|
22
|
+
function toJSON(message: UnsubscriptionResult): unknown;
|
|
23
|
+
function create<I extends Exact<DeepPartial<UnsubscriptionResult>, I>>(base?: I): UnsubscriptionResult;
|
|
24
|
+
function fromPartial<I extends Exact<DeepPartial<UnsubscriptionResult>, I>>(object: I): UnsubscriptionResult;
|
|
25
|
+
}
|
|
42
26
|
export type CommsServiceDefinition = typeof CommsServiceDefinition;
|
|
43
27
|
export declare const CommsServiceDefinition: {
|
|
44
28
|
readonly name: "CommsService";
|
|
@@ -46,284 +30,58 @@ export declare const CommsServiceDefinition: {
|
|
|
46
30
|
readonly methods: {
|
|
47
31
|
readonly subscribeToPeerMessages: {
|
|
48
32
|
readonly name: "SubscribeToPeerMessages";
|
|
49
|
-
readonly requestType:
|
|
50
|
-
encode(message: SubscriptionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
51
|
-
decode(input: Uint8Array | _m0.Reader, length?: number | undefined): SubscriptionRequest;
|
|
52
|
-
fromJSON(object: any): SubscriptionRequest;
|
|
53
|
-
toJSON(message: SubscriptionRequest): unknown;
|
|
54
|
-
create<I extends {
|
|
55
|
-
topic?: string | undefined;
|
|
56
|
-
} & {
|
|
57
|
-
topic?: string | undefined;
|
|
58
|
-
} & { [K in Exclude<keyof I, "topic">]: never; }>(base?: I | undefined): SubscriptionRequest;
|
|
59
|
-
fromPartial<I_1 extends {
|
|
60
|
-
topic?: string | undefined;
|
|
61
|
-
} & {
|
|
62
|
-
topic?: string | undefined;
|
|
63
|
-
} & { [K_1 in Exclude<keyof I_1, "topic">]: never; }>(object: I_1): SubscriptionRequest;
|
|
64
|
-
};
|
|
33
|
+
readonly requestType: typeof SubscriptionRequest;
|
|
65
34
|
readonly requestStream: false;
|
|
66
|
-
readonly responseType:
|
|
67
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
68
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
69
|
-
fromJSON(object: any): Subscription;
|
|
70
|
-
toJSON(message: Subscription): unknown;
|
|
71
|
-
create<I_2 extends {
|
|
72
|
-
subscriptionId?: number | undefined;
|
|
73
|
-
} & {
|
|
74
|
-
subscriptionId?: number | undefined;
|
|
75
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I_2 | undefined): Subscription;
|
|
76
|
-
fromPartial<I_3 extends {
|
|
77
|
-
subscriptionId?: number | undefined;
|
|
78
|
-
} & {
|
|
79
|
-
subscriptionId?: number | undefined;
|
|
80
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_3): Subscription;
|
|
81
|
-
};
|
|
35
|
+
readonly responseType: typeof Subscription;
|
|
82
36
|
readonly responseStream: false;
|
|
83
37
|
readonly options: {};
|
|
84
38
|
};
|
|
85
39
|
readonly getPeerMessages: {
|
|
86
40
|
readonly name: "GetPeerMessages";
|
|
87
|
-
readonly requestType:
|
|
88
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
89
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
90
|
-
fromJSON(object: any): Subscription;
|
|
91
|
-
toJSON(message: Subscription): unknown;
|
|
92
|
-
create<I_2 extends {
|
|
93
|
-
subscriptionId?: number | undefined;
|
|
94
|
-
} & {
|
|
95
|
-
subscriptionId?: number | undefined;
|
|
96
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I_2 | undefined): Subscription;
|
|
97
|
-
fromPartial<I_3 extends {
|
|
98
|
-
subscriptionId?: number | undefined;
|
|
99
|
-
} & {
|
|
100
|
-
subscriptionId?: number | undefined;
|
|
101
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_3): Subscription;
|
|
102
|
-
};
|
|
41
|
+
readonly requestType: typeof Subscription;
|
|
103
42
|
readonly requestStream: false;
|
|
104
|
-
readonly responseType:
|
|
105
|
-
encode(message: PeerTopicSubscriptionResultElem, writer?: _m0.Writer): _m0.Writer;
|
|
106
|
-
decode(input: Uint8Array | _m0.Reader, length?: number | undefined): PeerTopicSubscriptionResultElem;
|
|
107
|
-
fromJSON(object: any): PeerTopicSubscriptionResultElem;
|
|
108
|
-
toJSON(message: PeerTopicSubscriptionResultElem): unknown;
|
|
109
|
-
create<I_4 extends {
|
|
110
|
-
payload?: Uint8Array | undefined;
|
|
111
|
-
topic?: string | undefined;
|
|
112
|
-
sender?: string | undefined;
|
|
113
|
-
} & {
|
|
114
|
-
payload?: Uint8Array | undefined;
|
|
115
|
-
topic?: string | undefined;
|
|
116
|
-
sender?: string | undefined;
|
|
117
|
-
} & { [K_2 in Exclude<keyof I_4, keyof PeerTopicSubscriptionResultElem>]: never; }>(base?: I_4 | undefined): PeerTopicSubscriptionResultElem;
|
|
118
|
-
fromPartial<I_5 extends {
|
|
119
|
-
payload?: Uint8Array | undefined;
|
|
120
|
-
topic?: string | undefined;
|
|
121
|
-
sender?: string | undefined;
|
|
122
|
-
} & {
|
|
123
|
-
payload?: Uint8Array | undefined;
|
|
124
|
-
topic?: string | undefined;
|
|
125
|
-
sender?: string | undefined;
|
|
126
|
-
} & { [K_3 in Exclude<keyof I_5, keyof PeerTopicSubscriptionResultElem>]: never; }>(object: I_5): PeerTopicSubscriptionResultElem;
|
|
127
|
-
};
|
|
43
|
+
readonly responseType: typeof PeerTopicSubscriptionResultElem;
|
|
128
44
|
readonly responseStream: true;
|
|
129
45
|
readonly options: {};
|
|
130
46
|
};
|
|
131
47
|
readonly unsubscribeToPeerMessages: {
|
|
132
48
|
readonly name: "UnsubscribeToPeerMessages";
|
|
133
|
-
readonly requestType:
|
|
134
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
135
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
136
|
-
fromJSON(object: any): Subscription;
|
|
137
|
-
toJSON(message: Subscription): unknown;
|
|
138
|
-
create<I_2 extends {
|
|
139
|
-
subscriptionId?: number | undefined;
|
|
140
|
-
} & {
|
|
141
|
-
subscriptionId?: number | undefined;
|
|
142
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I_2 | undefined): Subscription;
|
|
143
|
-
fromPartial<I_3 extends {
|
|
144
|
-
subscriptionId?: number | undefined;
|
|
145
|
-
} & {
|
|
146
|
-
subscriptionId?: number | undefined;
|
|
147
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_3): Subscription;
|
|
148
|
-
};
|
|
49
|
+
readonly requestType: typeof Subscription;
|
|
149
50
|
readonly requestStream: false;
|
|
150
|
-
readonly responseType:
|
|
151
|
-
encode(message: UnsubscriptionResult, writer?: _m0.Writer): _m0.Writer;
|
|
152
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UnsubscriptionResult;
|
|
153
|
-
fromJSON(object: any): UnsubscriptionResult;
|
|
154
|
-
toJSON(message: UnsubscriptionResult): unknown;
|
|
155
|
-
create<I_6 extends {
|
|
156
|
-
ok?: boolean | undefined;
|
|
157
|
-
} & {
|
|
158
|
-
ok?: boolean | undefined;
|
|
159
|
-
} & { [K in Exclude<keyof I, "ok">]: never; }>(base?: I_6 | undefined): UnsubscriptionResult;
|
|
160
|
-
fromPartial<I_7 extends {
|
|
161
|
-
ok?: boolean | undefined;
|
|
162
|
-
} & {
|
|
163
|
-
ok?: boolean | undefined;
|
|
164
|
-
} & { [K_1 in Exclude<keyof I_1, "ok">]: never; }>(object: I_7): UnsubscriptionResult;
|
|
165
|
-
};
|
|
51
|
+
readonly responseType: typeof UnsubscriptionResult;
|
|
166
52
|
readonly responseStream: false;
|
|
167
53
|
readonly options: {};
|
|
168
54
|
};
|
|
169
55
|
readonly subscribeToSystemMessages: {
|
|
170
56
|
readonly name: "SubscribeToSystemMessages";
|
|
171
|
-
readonly requestType:
|
|
172
|
-
encode(message: SubscriptionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
173
|
-
decode(input: Uint8Array | _m0.Reader, length?: number | undefined): SubscriptionRequest;
|
|
174
|
-
fromJSON(object: any): SubscriptionRequest;
|
|
175
|
-
toJSON(message: SubscriptionRequest): unknown;
|
|
176
|
-
create<I extends {
|
|
177
|
-
topic?: string | undefined;
|
|
178
|
-
} & {
|
|
179
|
-
topic?: string | undefined;
|
|
180
|
-
} & { [K in Exclude<keyof I, "topic">]: never; }>(base?: I | undefined): SubscriptionRequest;
|
|
181
|
-
fromPartial<I_1 extends {
|
|
182
|
-
topic?: string | undefined;
|
|
183
|
-
} & {
|
|
184
|
-
topic?: string | undefined;
|
|
185
|
-
} & { [K_1 in Exclude<keyof I_1, "topic">]: never; }>(object: I_1): SubscriptionRequest;
|
|
186
|
-
};
|
|
57
|
+
readonly requestType: typeof SubscriptionRequest;
|
|
187
58
|
readonly requestStream: false;
|
|
188
|
-
readonly responseType:
|
|
189
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
190
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
191
|
-
fromJSON(object: any): Subscription;
|
|
192
|
-
toJSON(message: Subscription): unknown;
|
|
193
|
-
create<I_2 extends {
|
|
194
|
-
subscriptionId?: number | undefined;
|
|
195
|
-
} & {
|
|
196
|
-
subscriptionId?: number | undefined;
|
|
197
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I_2 | undefined): Subscription;
|
|
198
|
-
fromPartial<I_3 extends {
|
|
199
|
-
subscriptionId?: number | undefined;
|
|
200
|
-
} & {
|
|
201
|
-
subscriptionId?: number | undefined;
|
|
202
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_3): Subscription;
|
|
203
|
-
};
|
|
59
|
+
readonly responseType: typeof Subscription;
|
|
204
60
|
readonly responseStream: false;
|
|
205
61
|
readonly options: {};
|
|
206
62
|
};
|
|
207
63
|
readonly getSystemMessages: {
|
|
208
64
|
readonly name: "GetSystemMessages";
|
|
209
|
-
readonly requestType:
|
|
210
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
211
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
212
|
-
fromJSON(object: any): Subscription;
|
|
213
|
-
toJSON(message: Subscription): unknown;
|
|
214
|
-
create<I_2 extends {
|
|
215
|
-
subscriptionId?: number | undefined;
|
|
216
|
-
} & {
|
|
217
|
-
subscriptionId?: number | undefined;
|
|
218
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I_2 | undefined): Subscription;
|
|
219
|
-
fromPartial<I_3 extends {
|
|
220
|
-
subscriptionId?: number | undefined;
|
|
221
|
-
} & {
|
|
222
|
-
subscriptionId?: number | undefined;
|
|
223
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_3): Subscription;
|
|
224
|
-
};
|
|
65
|
+
readonly requestType: typeof Subscription;
|
|
225
66
|
readonly requestStream: false;
|
|
226
|
-
readonly responseType:
|
|
227
|
-
encode(message: SystemTopicSubscriptionResultElem, writer?: _m0.Writer): _m0.Writer;
|
|
228
|
-
decode(input: Uint8Array | _m0.Reader, length?: number | undefined): SystemTopicSubscriptionResultElem;
|
|
229
|
-
fromJSON(object: any): SystemTopicSubscriptionResultElem;
|
|
230
|
-
toJSON(message: SystemTopicSubscriptionResultElem): unknown;
|
|
231
|
-
create<I_8 extends {
|
|
232
|
-
payload?: Uint8Array | undefined;
|
|
233
|
-
topic?: string | undefined;
|
|
234
|
-
} & {
|
|
235
|
-
payload?: Uint8Array | undefined;
|
|
236
|
-
topic?: string | undefined;
|
|
237
|
-
} & { [K_4 in Exclude<keyof I_8, keyof SystemTopicSubscriptionResultElem>]: never; }>(base?: I_8 | undefined): SystemTopicSubscriptionResultElem;
|
|
238
|
-
fromPartial<I_9 extends {
|
|
239
|
-
payload?: Uint8Array | undefined;
|
|
240
|
-
topic?: string | undefined;
|
|
241
|
-
} & {
|
|
242
|
-
payload?: Uint8Array | undefined;
|
|
243
|
-
topic?: string | undefined;
|
|
244
|
-
} & { [K_5 in Exclude<keyof I_9, keyof SystemTopicSubscriptionResultElem>]: never; }>(object: I_9): SystemTopicSubscriptionResultElem;
|
|
245
|
-
};
|
|
67
|
+
readonly responseType: typeof SystemTopicSubscriptionResultElem;
|
|
246
68
|
readonly responseStream: true;
|
|
247
69
|
readonly options: {};
|
|
248
70
|
};
|
|
249
71
|
readonly unsubscribeToSystemMessages: {
|
|
250
72
|
readonly name: "UnsubscribeToSystemMessages";
|
|
251
|
-
readonly requestType:
|
|
252
|
-
encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
|
|
253
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
|
|
254
|
-
fromJSON(object: any): Subscription;
|
|
255
|
-
toJSON(message: Subscription): unknown;
|
|
256
|
-
create<I_2 extends {
|
|
257
|
-
subscriptionId?: number | undefined;
|
|
258
|
-
} & {
|
|
259
|
-
subscriptionId?: number | undefined;
|
|
260
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I_2 | undefined): Subscription;
|
|
261
|
-
fromPartial<I_3 extends {
|
|
262
|
-
subscriptionId?: number | undefined;
|
|
263
|
-
} & {
|
|
264
|
-
subscriptionId?: number | undefined;
|
|
265
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_3): Subscription;
|
|
266
|
-
};
|
|
73
|
+
readonly requestType: typeof Subscription;
|
|
267
74
|
readonly requestStream: false;
|
|
268
|
-
readonly responseType:
|
|
269
|
-
encode(message: UnsubscriptionResult, writer?: _m0.Writer): _m0.Writer;
|
|
270
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UnsubscriptionResult;
|
|
271
|
-
fromJSON(object: any): UnsubscriptionResult;
|
|
272
|
-
toJSON(message: UnsubscriptionResult): unknown;
|
|
273
|
-
create<I_6 extends {
|
|
274
|
-
ok?: boolean | undefined;
|
|
275
|
-
} & {
|
|
276
|
-
ok?: boolean | undefined;
|
|
277
|
-
} & { [K in Exclude<keyof I, "ok">]: never; }>(base?: I_6 | undefined): UnsubscriptionResult;
|
|
278
|
-
fromPartial<I_7 extends {
|
|
279
|
-
ok?: boolean | undefined;
|
|
280
|
-
} & {
|
|
281
|
-
ok?: boolean | undefined;
|
|
282
|
-
} & { [K_1 in Exclude<keyof I_1, "ok">]: never; }>(object: I_7): UnsubscriptionResult;
|
|
283
|
-
};
|
|
75
|
+
readonly responseType: typeof UnsubscriptionResult;
|
|
284
76
|
readonly responseStream: false;
|
|
285
77
|
readonly options: {};
|
|
286
78
|
};
|
|
287
79
|
/** send a peer message to a topic */
|
|
288
80
|
readonly publishToTopic: {
|
|
289
81
|
readonly name: "PublishToTopic";
|
|
290
|
-
readonly requestType:
|
|
291
|
-
encode(message: PublishToTopicRequest, writer?: _m0.Writer): _m0.Writer;
|
|
292
|
-
decode(input: Uint8Array | _m0.Reader, length?: number | undefined): PublishToTopicRequest;
|
|
293
|
-
fromJSON(object: any): PublishToTopicRequest;
|
|
294
|
-
toJSON(message: PublishToTopicRequest): unknown;
|
|
295
|
-
create<I_10 extends {
|
|
296
|
-
topic?: string | undefined;
|
|
297
|
-
payload?: Uint8Array | undefined;
|
|
298
|
-
} & {
|
|
299
|
-
topic?: string | undefined;
|
|
300
|
-
payload?: Uint8Array | undefined;
|
|
301
|
-
} & { [K_6 in Exclude<keyof I_10, keyof PublishToTopicRequest>]: never; }>(base?: I_10 | undefined): PublishToTopicRequest;
|
|
302
|
-
fromPartial<I_11 extends {
|
|
303
|
-
topic?: string | undefined;
|
|
304
|
-
payload?: Uint8Array | undefined;
|
|
305
|
-
} & {
|
|
306
|
-
topic?: string | undefined;
|
|
307
|
-
payload?: Uint8Array | undefined;
|
|
308
|
-
} & { [K_7 in Exclude<keyof I_11, keyof PublishToTopicRequest>]: never; }>(object: I_11): PublishToTopicRequest;
|
|
309
|
-
};
|
|
82
|
+
readonly requestType: typeof PublishToTopicRequest;
|
|
310
83
|
readonly requestStream: false;
|
|
311
|
-
readonly responseType:
|
|
312
|
-
encode(message: PublishToTopicResult, writer?: _m0.Writer): _m0.Writer;
|
|
313
|
-
decode(input: Uint8Array | _m0.Reader, length?: number | undefined): PublishToTopicResult;
|
|
314
|
-
fromJSON(object: any): PublishToTopicResult;
|
|
315
|
-
toJSON(message: PublishToTopicResult): unknown;
|
|
316
|
-
create<I_12 extends {
|
|
317
|
-
ok?: boolean | undefined;
|
|
318
|
-
} & {
|
|
319
|
-
ok?: boolean | undefined;
|
|
320
|
-
} & { [K_8 in Exclude<keyof I_12, "ok">]: never; }>(base?: I_12 | undefined): PublishToTopicResult;
|
|
321
|
-
fromPartial<I_13 extends {
|
|
322
|
-
ok?: boolean | undefined;
|
|
323
|
-
} & {
|
|
324
|
-
ok?: boolean | undefined;
|
|
325
|
-
} & { [K_9 in Exclude<keyof I_13, "ok">]: never; }>(object: I_13): PublishToTopicResult;
|
|
326
|
-
};
|
|
84
|
+
readonly responseType: typeof PublishToTopicResult;
|
|
327
85
|
readonly responseStream: false;
|
|
328
86
|
readonly options: {};
|
|
329
87
|
};
|
|
@@ -11,14 +11,16 @@ exports.protobufPackage = "decentraland.bff";
|
|
|
11
11
|
function createBaseSubscription() {
|
|
12
12
|
return { subscriptionId: 0 };
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
var Subscription;
|
|
15
|
+
(function (Subscription) {
|
|
16
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
17
|
if (message.subscriptionId !== 0) {
|
|
17
18
|
writer.uint32(8).uint32(message.subscriptionId);
|
|
18
19
|
}
|
|
19
20
|
return writer;
|
|
20
|
-
}
|
|
21
|
-
|
|
21
|
+
}
|
|
22
|
+
Subscription.encode = encode;
|
|
23
|
+
function decode(input, length) {
|
|
22
24
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
23
25
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
24
26
|
const message = createBaseSubscription();
|
|
@@ -38,36 +40,43 @@ exports.Subscription = {
|
|
|
38
40
|
reader.skipType(tag & 7);
|
|
39
41
|
}
|
|
40
42
|
return message;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
+
}
|
|
44
|
+
Subscription.decode = decode;
|
|
45
|
+
function fromJSON(object) {
|
|
43
46
|
return { subscriptionId: isSet(object.subscriptionId) ? Number(object.subscriptionId) : 0 };
|
|
44
|
-
}
|
|
45
|
-
|
|
47
|
+
}
|
|
48
|
+
Subscription.fromJSON = fromJSON;
|
|
49
|
+
function toJSON(message) {
|
|
46
50
|
const obj = {};
|
|
47
51
|
message.subscriptionId !== undefined && (obj.subscriptionId = Math.round(message.subscriptionId));
|
|
48
52
|
return obj;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
}
|
|
54
|
+
Subscription.toJSON = toJSON;
|
|
55
|
+
function create(base) {
|
|
56
|
+
return Subscription.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
57
|
+
}
|
|
58
|
+
Subscription.create = create;
|
|
59
|
+
function fromPartial(object) {
|
|
54
60
|
var _a;
|
|
55
61
|
const message = createBaseSubscription();
|
|
56
62
|
message.subscriptionId = (_a = object.subscriptionId) !== null && _a !== void 0 ? _a : 0;
|
|
57
63
|
return message;
|
|
58
|
-
}
|
|
59
|
-
|
|
64
|
+
}
|
|
65
|
+
Subscription.fromPartial = fromPartial;
|
|
66
|
+
})(Subscription = exports.Subscription || (exports.Subscription = {}));
|
|
60
67
|
function createBaseUnsubscriptionResult() {
|
|
61
68
|
return { ok: false };
|
|
62
69
|
}
|
|
63
|
-
|
|
64
|
-
|
|
70
|
+
var UnsubscriptionResult;
|
|
71
|
+
(function (UnsubscriptionResult) {
|
|
72
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
65
73
|
if (message.ok === true) {
|
|
66
74
|
writer.uint32(8).bool(message.ok);
|
|
67
75
|
}
|
|
68
76
|
return writer;
|
|
69
|
-
}
|
|
70
|
-
|
|
77
|
+
}
|
|
78
|
+
UnsubscriptionResult.encode = encode;
|
|
79
|
+
function decode(input, length) {
|
|
71
80
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
72
81
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
73
82
|
const message = createBaseUnsubscriptionResult();
|
|
@@ -87,25 +96,30 @@ exports.UnsubscriptionResult = {
|
|
|
87
96
|
reader.skipType(tag & 7);
|
|
88
97
|
}
|
|
89
98
|
return message;
|
|
90
|
-
}
|
|
91
|
-
|
|
99
|
+
}
|
|
100
|
+
UnsubscriptionResult.decode = decode;
|
|
101
|
+
function fromJSON(object) {
|
|
92
102
|
return { ok: isSet(object.ok) ? Boolean(object.ok) : false };
|
|
93
|
-
}
|
|
94
|
-
|
|
103
|
+
}
|
|
104
|
+
UnsubscriptionResult.fromJSON = fromJSON;
|
|
105
|
+
function toJSON(message) {
|
|
95
106
|
const obj = {};
|
|
96
107
|
message.ok !== undefined && (obj.ok = message.ok);
|
|
97
108
|
return obj;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
109
|
+
}
|
|
110
|
+
UnsubscriptionResult.toJSON = toJSON;
|
|
111
|
+
function create(base) {
|
|
112
|
+
return UnsubscriptionResult.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
113
|
+
}
|
|
114
|
+
UnsubscriptionResult.create = create;
|
|
115
|
+
function fromPartial(object) {
|
|
103
116
|
var _a;
|
|
104
117
|
const message = createBaseUnsubscriptionResult();
|
|
105
118
|
message.ok = (_a = object.ok) !== null && _a !== void 0 ? _a : false;
|
|
106
119
|
return message;
|
|
107
|
-
}
|
|
108
|
-
|
|
120
|
+
}
|
|
121
|
+
UnsubscriptionResult.fromPartial = fromPartial;
|
|
122
|
+
})(UnsubscriptionResult = exports.UnsubscriptionResult || (exports.UnsubscriptionResult = {}));
|
|
109
123
|
exports.CommsServiceDefinition = {
|
|
110
124
|
name: "CommsService",
|
|
111
125
|
fullName: "decentraland.bff.CommsService",
|
|
@@ -114,13 +128,13 @@ exports.CommsServiceDefinition = {
|
|
|
114
128
|
name: "SubscribeToPeerMessages",
|
|
115
129
|
requestType: topics_service_gen_1.SubscriptionRequest,
|
|
116
130
|
requestStream: false,
|
|
117
|
-
responseType:
|
|
131
|
+
responseType: Subscription,
|
|
118
132
|
responseStream: false,
|
|
119
133
|
options: {},
|
|
120
134
|
},
|
|
121
135
|
getPeerMessages: {
|
|
122
136
|
name: "GetPeerMessages",
|
|
123
|
-
requestType:
|
|
137
|
+
requestType: Subscription,
|
|
124
138
|
requestStream: false,
|
|
125
139
|
responseType: topics_service_gen_1.PeerTopicSubscriptionResultElem,
|
|
126
140
|
responseStream: true,
|
|
@@ -128,9 +142,9 @@ exports.CommsServiceDefinition = {
|
|
|
128
142
|
},
|
|
129
143
|
unsubscribeToPeerMessages: {
|
|
130
144
|
name: "UnsubscribeToPeerMessages",
|
|
131
|
-
requestType:
|
|
145
|
+
requestType: Subscription,
|
|
132
146
|
requestStream: false,
|
|
133
|
-
responseType:
|
|
147
|
+
responseType: UnsubscriptionResult,
|
|
134
148
|
responseStream: false,
|
|
135
149
|
options: {},
|
|
136
150
|
},
|
|
@@ -138,13 +152,13 @@ exports.CommsServiceDefinition = {
|
|
|
138
152
|
name: "SubscribeToSystemMessages",
|
|
139
153
|
requestType: topics_service_gen_1.SubscriptionRequest,
|
|
140
154
|
requestStream: false,
|
|
141
|
-
responseType:
|
|
155
|
+
responseType: Subscription,
|
|
142
156
|
responseStream: false,
|
|
143
157
|
options: {},
|
|
144
158
|
},
|
|
145
159
|
getSystemMessages: {
|
|
146
160
|
name: "GetSystemMessages",
|
|
147
|
-
requestType:
|
|
161
|
+
requestType: Subscription,
|
|
148
162
|
requestStream: false,
|
|
149
163
|
responseType: topics_service_gen_1.SystemTopicSubscriptionResultElem,
|
|
150
164
|
responseStream: true,
|
|
@@ -152,9 +166,9 @@ exports.CommsServiceDefinition = {
|
|
|
152
166
|
},
|
|
153
167
|
unsubscribeToSystemMessages: {
|
|
154
168
|
name: "UnsubscribeToSystemMessages",
|
|
155
|
-
requestType:
|
|
169
|
+
requestType: Subscription,
|
|
156
170
|
requestStream: false,
|
|
157
|
-
responseType:
|
|
171
|
+
responseType: UnsubscriptionResult,
|
|
158
172
|
responseStream: false,
|
|
159
173
|
options: {},
|
|
160
174
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comms_service.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/bff/comms_service.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,6DAM8B;AAEjB,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAUlD,SAAS,sBAAsB;IAC7B,OAAO,EAAE,cAAc,EAAE,CAAC,EAAE,CAAC;AAC/B,CAAC;
|
|
1
|
+
{"version":3,"file":"comms_service.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/bff/comms_service.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,6DAM8B;AAEjB,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAUlD,SAAS,sBAAsB;IAC7B,OAAO,EAAE,cAAc,EAAE,CAAC,EAAE,CAAC;AAC/B,CAAC;AAED,IAAiB,YAAY,CAkD5B;AAlDD,WAAiB,YAAY;IAC3B,SAAgB,MAAM,CAAC,OAAqB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACpF,IAAI,OAAO,CAAC,cAAc,KAAK,CAAC,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;SACjD;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IALe,mBAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpE,MAAM,MAAM,GAAG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