@dcl/protocol 1.0.0-4543854409.commit-89f5875 → 1.0.0-45872166367.commit-57a13e1
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 +241 -12
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +122 -21
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +29 -52
- package/out-js/decentraland/common/colors.gen.js +125 -40
- 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 +25 -18
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +147 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +93 -72
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +38 -252
- package/out-js/decentraland/common/texture.gen.js +156 -105
- 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 +172 -57
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
- 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 +50 -36
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +650 -1709
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +439 -320
- 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 +309 -225
- 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 +212 -156
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
- 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 +153 -111
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +280 -605
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +998 -350
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +165 -208
- package/out-js/decentraland/kernel/apis/runtime.gen.js +660 -172
- 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 +52 -38
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
- 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 +79 -58
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- 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 +49 -35
- 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 +98 -70
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +237 -551
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1478 -244
- 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 +81 -561
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +318 -242
- 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 +194 -748
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +884 -557
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +105 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +336 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +55 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +182 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +10 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +38 -24
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +37 -140
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +49 -29
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- 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 +24 -17
- 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 +25 -18
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +59 -7
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- 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 +30 -23
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
- 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 +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +30 -3374
- package/out-js/decentraland/sdk/components/material.gen.js +134 -104
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +47 -181
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +160 -123
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +43 -223
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +145 -110
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
- 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 +11 -209
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
- 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 +24 -17
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +10 -250
- package/out-js/decentraland/sdk/components/raycast.gen.js +45 -36
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +41 -22
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
- package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
- package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +33 -26
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +46 -26
- 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 +24 -17
- 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 +10 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +45 -25
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
- 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 +20 -63
- package/out-js/decentraland/sdk/components/ui_text.gen.js +97 -24
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +51 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +489 -96
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -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_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +882 -707
- 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 +23 -16
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
- package/out-ts/decentraland/common/colors.gen.ts +116 -37
- package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
- package/out-ts/decentraland/common/texture.gen.ts +114 -81
- package/out-ts/decentraland/common/vectors.gen.ts +157 -53
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
- package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +988 -355
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +705 -178
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1576 -225
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +209 -200
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +872 -596
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +422 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
- package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +218 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +27 -19
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +73 -42
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +17 -17
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +52 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +22 -22
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +111 -93
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +116 -100
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +109 -91
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +36 -33
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
- package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +22 -21
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +42 -24
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +99 -23
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +532 -66
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +529 -499
- package/out-ts/google/protobuf/empty.gen.ts +15 -15
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/package.json +20 -11
- package/proto/decentraland/common/border_rect.proto +9 -1
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/gradient.proto +16 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +13 -9
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
- package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
- package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
- package/proto/decentraland/kernel/apis/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +84 -16
- package/proto/decentraland/kernel/apis/runtime.proto +47 -9
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +101 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
- package/proto/decentraland/pulse/pulse_client.proto +120 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +61 -0
- package/proto/decentraland/pulse/pulse_server.proto +144 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/proto/decentraland/sdk/components/animator.proto +9 -4
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +1 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +34 -17
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +9 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/engine_info.proto +16 -0
- package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +6 -6
- package/proto/decentraland/sdk/components/mesh_collider.proto +6 -6
- package/proto/decentraland/sdk/components/mesh_renderer.proto +2 -2
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +1 -1
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +2 -2
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_text.proto +8 -1
- package/proto/decentraland/sdk/components/ui_transform.proto +37 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +8 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +3 -0
- package/public/sdk-components.proto +37 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
- package/out-js/decentraland/bff/comms_service.gen.js +0 -175
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
- package/out-js/decentraland/bff/topics_service.gen.js +0 -386
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
- package/proto/buf.yaml +0 -47
- package/proto/decentraland/bff/authentication_service.proto +0 -27
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -80
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/social/friendships/friendships.proto +0 -106
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
|
@@ -1,228 +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.CommsDirectorServiceDefinition = exports.Heartbeat = exports.SetCommsAdapter = exports.WorldCommand = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
-
const empty_gen_1 = require("../../google/protobuf/empty.gen");
|
|
10
|
-
const vectors_gen_1 = require("../common/vectors.gen");
|
|
11
|
-
exports.protobufPackage = "decentraland.bff";
|
|
12
|
-
function createBaseWorldCommand() {
|
|
13
|
-
return { command: undefined };
|
|
14
|
-
}
|
|
15
|
-
exports.WorldCommand = {
|
|
16
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
17
|
-
var _a;
|
|
18
|
-
switch ((_a = message.command) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
19
|
-
case "setCommsAdapter":
|
|
20
|
-
exports.SetCommsAdapter.encode(message.command.setCommsAdapter, writer.uint32(10).fork()).ldelim();
|
|
21
|
-
break;
|
|
22
|
-
}
|
|
23
|
-
return writer;
|
|
24
|
-
},
|
|
25
|
-
decode(input, length) {
|
|
26
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message = createBaseWorldCommand();
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
const tag = reader.uint32();
|
|
31
|
-
switch (tag >>> 3) {
|
|
32
|
-
case 1:
|
|
33
|
-
if (tag != 10) {
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
message.command = {
|
|
37
|
-
$case: "setCommsAdapter",
|
|
38
|
-
setCommsAdapter: exports.SetCommsAdapter.decode(reader, reader.uint32()),
|
|
39
|
-
};
|
|
40
|
-
continue;
|
|
41
|
-
}
|
|
42
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
reader.skipType(tag & 7);
|
|
46
|
-
}
|
|
47
|
-
return message;
|
|
48
|
-
},
|
|
49
|
-
fromJSON(object) {
|
|
50
|
-
return {
|
|
51
|
-
command: isSet(object.setCommsAdapter)
|
|
52
|
-
? { $case: "setCommsAdapter", setCommsAdapter: exports.SetCommsAdapter.fromJSON(object.setCommsAdapter) }
|
|
53
|
-
: undefined,
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
|
-
toJSON(message) {
|
|
57
|
-
var _a, _b, _c;
|
|
58
|
-
const obj = {};
|
|
59
|
-
((_a = message.command) === null || _a === void 0 ? void 0 : _a.$case) === "setCommsAdapter" && (obj.setCommsAdapter = ((_b = message.command) === null || _b === void 0 ? void 0 : _b.setCommsAdapter)
|
|
60
|
-
? exports.SetCommsAdapter.toJSON((_c = message.command) === null || _c === void 0 ? void 0 : _c.setCommsAdapter)
|
|
61
|
-
: undefined);
|
|
62
|
-
return obj;
|
|
63
|
-
},
|
|
64
|
-
create(base) {
|
|
65
|
-
return exports.WorldCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
66
|
-
},
|
|
67
|
-
fromPartial(object) {
|
|
68
|
-
var _a, _b, _c;
|
|
69
|
-
const message = createBaseWorldCommand();
|
|
70
|
-
if (((_a = object.command) === null || _a === void 0 ? void 0 : _a.$case) === "setCommsAdapter" &&
|
|
71
|
-
((_b = object.command) === null || _b === void 0 ? void 0 : _b.setCommsAdapter) !== undefined &&
|
|
72
|
-
((_c = object.command) === null || _c === void 0 ? void 0 : _c.setCommsAdapter) !== null) {
|
|
73
|
-
message.command = {
|
|
74
|
-
$case: "setCommsAdapter",
|
|
75
|
-
setCommsAdapter: exports.SetCommsAdapter.fromPartial(object.command.setCommsAdapter),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
return message;
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
function createBaseSetCommsAdapter() {
|
|
82
|
-
return { connectionString: "" };
|
|
83
|
-
}
|
|
84
|
-
exports.SetCommsAdapter = {
|
|
85
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
-
if (message.connectionString !== "") {
|
|
87
|
-
writer.uint32(10).string(message.connectionString);
|
|
88
|
-
}
|
|
89
|
-
return writer;
|
|
90
|
-
},
|
|
91
|
-
decode(input, length) {
|
|
92
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
93
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
|
-
const message = createBaseSetCommsAdapter();
|
|
95
|
-
while (reader.pos < end) {
|
|
96
|
-
const tag = reader.uint32();
|
|
97
|
-
switch (tag >>> 3) {
|
|
98
|
-
case 1:
|
|
99
|
-
if (tag != 10) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
message.connectionString = reader.string();
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
reader.skipType(tag & 7);
|
|
109
|
-
}
|
|
110
|
-
return message;
|
|
111
|
-
},
|
|
112
|
-
fromJSON(object) {
|
|
113
|
-
return { connectionString: isSet(object.connectionString) ? String(object.connectionString) : "" };
|
|
114
|
-
},
|
|
115
|
-
toJSON(message) {
|
|
116
|
-
const obj = {};
|
|
117
|
-
message.connectionString !== undefined && (obj.connectionString = message.connectionString);
|
|
118
|
-
return obj;
|
|
119
|
-
},
|
|
120
|
-
create(base) {
|
|
121
|
-
return exports.SetCommsAdapter.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
122
|
-
},
|
|
123
|
-
fromPartial(object) {
|
|
124
|
-
var _a;
|
|
125
|
-
const message = createBaseSetCommsAdapter();
|
|
126
|
-
message.connectionString = (_a = object.connectionString) !== null && _a !== void 0 ? _a : "";
|
|
127
|
-
return message;
|
|
128
|
-
},
|
|
129
|
-
};
|
|
130
|
-
function createBaseHeartbeat() {
|
|
131
|
-
return { position: undefined, desiredRoom: undefined };
|
|
132
|
-
}
|
|
133
|
-
exports.Heartbeat = {
|
|
134
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
135
|
-
if (message.position !== undefined) {
|
|
136
|
-
vectors_gen_1.Position.encode(message.position, writer.uint32(10).fork()).ldelim();
|
|
137
|
-
}
|
|
138
|
-
if (message.desiredRoom !== undefined) {
|
|
139
|
-
writer.uint32(18).string(message.desiredRoom);
|
|
140
|
-
}
|
|
141
|
-
return writer;
|
|
142
|
-
},
|
|
143
|
-
decode(input, length) {
|
|
144
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
145
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
146
|
-
const message = createBaseHeartbeat();
|
|
147
|
-
while (reader.pos < end) {
|
|
148
|
-
const tag = reader.uint32();
|
|
149
|
-
switch (tag >>> 3) {
|
|
150
|
-
case 1:
|
|
151
|
-
if (tag != 10) {
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
message.position = vectors_gen_1.Position.decode(reader, reader.uint32());
|
|
155
|
-
continue;
|
|
156
|
-
case 2:
|
|
157
|
-
if (tag != 18) {
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
message.desiredRoom = reader.string();
|
|
161
|
-
continue;
|
|
162
|
-
}
|
|
163
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
reader.skipType(tag & 7);
|
|
167
|
-
}
|
|
168
|
-
return message;
|
|
169
|
-
},
|
|
170
|
-
fromJSON(object) {
|
|
171
|
-
return {
|
|
172
|
-
position: isSet(object.position) ? vectors_gen_1.Position.fromJSON(object.position) : undefined,
|
|
173
|
-
desiredRoom: isSet(object.desiredRoom) ? String(object.desiredRoom) : undefined,
|
|
174
|
-
};
|
|
175
|
-
},
|
|
176
|
-
toJSON(message) {
|
|
177
|
-
const obj = {};
|
|
178
|
-
message.position !== undefined && (obj.position = message.position ? vectors_gen_1.Position.toJSON(message.position) : undefined);
|
|
179
|
-
message.desiredRoom !== undefined && (obj.desiredRoom = message.desiredRoom);
|
|
180
|
-
return obj;
|
|
181
|
-
},
|
|
182
|
-
create(base) {
|
|
183
|
-
return exports.Heartbeat.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
184
|
-
},
|
|
185
|
-
fromPartial(object) {
|
|
186
|
-
var _a;
|
|
187
|
-
const message = createBaseHeartbeat();
|
|
188
|
-
message.position = (object.position !== undefined && object.position !== null)
|
|
189
|
-
? vectors_gen_1.Position.fromPartial(object.position)
|
|
190
|
-
: undefined;
|
|
191
|
-
message.desiredRoom = (_a = object.desiredRoom) !== null && _a !== void 0 ? _a : undefined;
|
|
192
|
-
return message;
|
|
193
|
-
},
|
|
194
|
-
};
|
|
195
|
-
exports.CommsDirectorServiceDefinition = {
|
|
196
|
-
name: "CommsDirectorService",
|
|
197
|
-
fullName: "decentraland.bff.CommsDirectorService",
|
|
198
|
-
methods: {
|
|
199
|
-
/**
|
|
200
|
-
* every couple seconds AND at the beginning, the explorers must send a heartbeat
|
|
201
|
-
* to make the comms director aware of their location
|
|
202
|
-
*/
|
|
203
|
-
sendHeartbeat: {
|
|
204
|
-
name: "SendHeartbeat",
|
|
205
|
-
requestType: exports.Heartbeat,
|
|
206
|
-
requestStream: false,
|
|
207
|
-
responseType: empty_gen_1.Empty,
|
|
208
|
-
responseStream: false,
|
|
209
|
-
options: {},
|
|
210
|
-
},
|
|
211
|
-
/**
|
|
212
|
-
* before sending the first heartbeat, it is required that the explorers subscribe
|
|
213
|
-
* to a list of comms commands
|
|
214
|
-
*/
|
|
215
|
-
getCommsCommands: {
|
|
216
|
-
name: "GetCommsCommands",
|
|
217
|
-
requestType: empty_gen_1.Empty,
|
|
218
|
-
requestStream: false,
|
|
219
|
-
responseType: exports.WorldCommand,
|
|
220
|
-
responseStream: true,
|
|
221
|
-
options: {},
|
|
222
|
-
},
|
|
223
|
-
},
|
|
224
|
-
};
|
|
225
|
-
function isSet(value) {
|
|
226
|
-
return value !== null && value !== undefined;
|
|
227
|
-
}
|
|
228
|
-
//# sourceMappingURL=comms_director_service.gen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comms_director_service.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/bff/comms_director_service.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,+DAAwD;AACxD,uDAAiD;AAEpC,QAAA,eAAe,GAAG,kBAAkB,CAAC;AAelD,SAAS,sBAAsB;IAC7B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AAChC,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,MAAM,CAAC,OAAqB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;;QACpE,QAAQ,MAAA,OAAO,CAAC,OAAO,0CAAE,KAAK,EAAE;YAC9B,KAAK,iBAAiB;gBACpB,uBAAe,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;gBAC3F,MAAM;SACT;QACD,OAAO,MAAM,CAAC;IAChB,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gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,iBAAK;YAClB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,oBAAY;YAC1B,cAAc,EAAE,IAAI;YACpB,OAAO,EAAE,EAAE;SACZ;KACF;CACO,CAAC;AAcX,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { PeerTopicSubscriptionResultElem, PublishToTopicRequest, PublishToTopicResult, SubscriptionRequest, SystemTopicSubscriptionResultElem } from "./topics_service.gen";
|
|
3
|
-
export declare const protobufPackage = "decentraland.bff";
|
|
4
|
-
export interface Subscription {
|
|
5
|
-
subscriptionId: number;
|
|
6
|
-
}
|
|
7
|
-
export interface UnsubscriptionResult {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const Subscription: {
|
|
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
|
-
subscriptionId?: number | undefined;
|
|
17
|
-
} & {
|
|
18
|
-
subscriptionId?: number | undefined;
|
|
19
|
-
} & { [K in Exclude<keyof I, "subscriptionId">]: never; }>(base?: I | undefined): Subscription;
|
|
20
|
-
fromPartial<I_1 extends {
|
|
21
|
-
subscriptionId?: number | undefined;
|
|
22
|
-
} & {
|
|
23
|
-
subscriptionId?: number | undefined;
|
|
24
|
-
} & { [K_1 in Exclude<keyof I_1, "subscriptionId">]: never; }>(object: I_1): Subscription;
|
|
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
|
-
};
|
|
42
|
-
export type CommsServiceDefinition = typeof CommsServiceDefinition;
|
|
43
|
-
export declare const CommsServiceDefinition: {
|
|
44
|
-
readonly name: "CommsService";
|
|
45
|
-
readonly fullName: "decentraland.bff.CommsService";
|
|
46
|
-
readonly methods: {
|
|
47
|
-
readonly subscribeToPeerMessages: {
|
|
48
|
-
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
|
-
};
|
|
65
|
-
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
|
-
};
|
|
82
|
-
readonly responseStream: false;
|
|
83
|
-
readonly options: {};
|
|
84
|
-
};
|
|
85
|
-
readonly getPeerMessages: {
|
|
86
|
-
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
|
-
};
|
|
103
|
-
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
|
-
};
|
|
128
|
-
readonly responseStream: true;
|
|
129
|
-
readonly options: {};
|
|
130
|
-
};
|
|
131
|
-
readonly unsubscribeToPeerMessages: {
|
|
132
|
-
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
|
-
};
|
|
149
|
-
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
|
-
};
|
|
166
|
-
readonly responseStream: false;
|
|
167
|
-
readonly options: {};
|
|
168
|
-
};
|
|
169
|
-
readonly subscribeToSystemMessages: {
|
|
170
|
-
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
|
-
};
|
|
187
|
-
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
|
-
};
|
|
204
|
-
readonly responseStream: false;
|
|
205
|
-
readonly options: {};
|
|
206
|
-
};
|
|
207
|
-
readonly getSystemMessages: {
|
|
208
|
-
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
|
-
};
|
|
225
|
-
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
|
-
};
|
|
246
|
-
readonly responseStream: true;
|
|
247
|
-
readonly options: {};
|
|
248
|
-
};
|
|
249
|
-
readonly unsubscribeToSystemMessages: {
|
|
250
|
-
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
|
-
};
|
|
267
|
-
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
|
-
};
|
|
284
|
-
readonly responseStream: false;
|
|
285
|
-
readonly options: {};
|
|
286
|
-
};
|
|
287
|
-
/** send a peer message to a topic */
|
|
288
|
-
readonly publishToTopic: {
|
|
289
|
-
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
|
-
};
|
|
310
|
-
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
|
-
};
|
|
327
|
-
readonly responseStream: false;
|
|
328
|
-
readonly options: {};
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
333
|
-
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 {
|
|
334
|
-
$case: string;
|
|
335
|
-
} ? {
|
|
336
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
337
|
-
} & {
|
|
338
|
-
$case: T["$case"];
|
|
339
|
-
} : T extends {} ? {
|
|
340
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
341
|
-
} : Partial<T>;
|
|
342
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
343
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
344
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
345
|
-
} & {
|
|
346
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
347
|
-
};
|
|
348
|
-
export {};
|