@dcl/protocol 1.0.0-2611981047.commit-6f422a3 → 1.0.0-26120507017.commit-56ef588
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 +68 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +105 -0
- package/out-js/decentraland/common/texture.gen.js +475 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- 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 +105 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +282 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +977 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- 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 +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +313 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1973 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.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 +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -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 +37 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -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 +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -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 +60 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +264 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- 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 +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- 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 +108 -0
- package/out-js/decentraland/sdk/components/material.gen.js +536 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +129 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +470 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- 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 +110 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- 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/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.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 +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +238 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- 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 +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- 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-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.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-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +293 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +539 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1064 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2225 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1415 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +349 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -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 +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- 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 +655 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +535 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -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 +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
- 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 +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/package.json +23 -10
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +21 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/{kernel/apis/UserIdentity.proto → proto/decentraland/common/sdk/user_data.proto} +1 -17
- package/proto/decentraland/common/texture.proto +45 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
- package/{kernel/apis/DevTools.proto → proto/decentraland/kernel/apis/dev_tools.proto} +3 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/{kernel/apis/EthereumController.proto → proto/decentraland/kernel/apis/ethereum_controller.proto} +12 -1
- package/{kernel/apis/ParcelIdentity.proto → proto/decentraland/kernel/apis/parcel_identity.proto} +6 -5
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +93 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/{kernel/apis/SignedFetch.proto → proto/decentraland/kernel/apis/signed_fetch.proto} +9 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/{kernel/apis/UserActionModule.proto → proto/decentraland/kernel/apis/user_action_module.proto} +2 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +165 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
- package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/{ecs → proto/decentraland/sdk}/components/README.md +3 -3
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- 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 +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +18 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +44 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/{ecs → proto/decentraland/sdk}/components/common/id.proto +1 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +37 -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/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -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 +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- 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 +64 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -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 +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +178 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +16 -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/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +43 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/ecs/components/Animator.proto +0 -18
- package/ecs/components/AudioSource.proto +0 -13
- package/ecs/components/AudioStream.proto +0 -10
- package/ecs/components/BoxShape.proto +0 -11
- package/ecs/components/CylinderShape.proto +0 -12
- package/ecs/components/GLTFShape.proto +0 -11
- package/ecs/components/NFTShape.proto +0 -16
- package/ecs/components/OnPointerDown.proto +0 -11
- package/ecs/components/OnPointerDownResult.proto +0 -16
- package/ecs/components/OnPointerUp.proto +0 -11
- package/ecs/components/OnPointerUpResult.proto +0 -16
- package/ecs/components/PlaneShape.proto +0 -11
- package/ecs/components/SphereShape.proto +0 -10
- package/ecs/components/TextShape.proto +0 -33
- package/ecs/components/UiTransform.proto +0 -159
- package/ecs/components/common/Color3.proto +0 -8
- package/ecs/components/common/Vector3.proto +0 -7
- package/kernel/apis/CommunicationsController.proto +0 -11
- package/kernel/apis/EngineAPI.proto +0 -184
- package/kernel/apis/EnvironmentAPI.proto +0 -68
- package/kernel/apis/ExperimentalAPI.proto +0 -16
- package/kernel/apis/Permissions.proto +0 -30
- package/kernel/apis/Players.proto +0 -28
- package/kernel/apis/PortableExperiences.proto +0 -40
- package/kernel/apis/RestrictedActions.proto +0 -25
- package/kernel/apis/SceneStateStorageController.proto +0 -114
- package/kernel/apis/SocialController.proto +0 -15
- package/kernel/comms/v1/broker.proto +0 -114
- package/kernel/comms/v1/comms.proto +0 -68
- package/kernel/comms/v2/comms.proto +0 -59
- package/renderer-protocol/RendererProtocol.proto +0 -15
- /package/{ecs → proto/decentraland/sdk}/components/Transform.md +0 -0
- /package/{ecs → proto/decentraland/sdk}/components/common/id.md +0 -0
|
@@ -0,0 +1,884 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
|
|
4
|
+
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
|
+
|
|
6
|
+
export enum VideoTrackSourceType {
|
|
7
|
+
VTST_UNKNOWN = 0,
|
|
8
|
+
VTST_CAMERA = 1,
|
|
9
|
+
VTST_SCREEN_SHARE = 2,
|
|
10
|
+
UNRECOGNIZED = -1,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function videoTrackSourceTypeFromJSON(object: any): VideoTrackSourceType {
|
|
14
|
+
switch (object) {
|
|
15
|
+
case 0:
|
|
16
|
+
case "VTST_UNKNOWN":
|
|
17
|
+
return VideoTrackSourceType.VTST_UNKNOWN;
|
|
18
|
+
case 1:
|
|
19
|
+
case "VTST_CAMERA":
|
|
20
|
+
return VideoTrackSourceType.VTST_CAMERA;
|
|
21
|
+
case 2:
|
|
22
|
+
case "VTST_SCREEN_SHARE":
|
|
23
|
+
return VideoTrackSourceType.VTST_SCREEN_SHARE;
|
|
24
|
+
case -1:
|
|
25
|
+
case "UNRECOGNIZED":
|
|
26
|
+
default:
|
|
27
|
+
return VideoTrackSourceType.UNRECOGNIZED;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function videoTrackSourceTypeToJSON(object: VideoTrackSourceType): string {
|
|
32
|
+
switch (object) {
|
|
33
|
+
case VideoTrackSourceType.VTST_UNKNOWN:
|
|
34
|
+
return "VTST_UNKNOWN";
|
|
35
|
+
case VideoTrackSourceType.VTST_CAMERA:
|
|
36
|
+
return "VTST_CAMERA";
|
|
37
|
+
case VideoTrackSourceType.VTST_SCREEN_SHARE:
|
|
38
|
+
return "VTST_SCREEN_SHARE";
|
|
39
|
+
case VideoTrackSourceType.UNRECOGNIZED:
|
|
40
|
+
default:
|
|
41
|
+
return "UNRECOGNIZED";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface VideoTracksActiveStreamsRequest {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface VideoTracksActiveStreamsResponse {
|
|
49
|
+
streams: VideoTracksActiveStreamsData[];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface VideoTracksActiveStreamsData {
|
|
53
|
+
identity: string;
|
|
54
|
+
trackSid: string;
|
|
55
|
+
sourceType: VideoTrackSourceType;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface SubscribeToTopicRequest {
|
|
59
|
+
topic: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface SubscribeToTopicResponse {
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface UnsubscribeFromTopicRequest {
|
|
66
|
+
topic: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface UnsubscribeFromTopicResponse {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface PublishDataRequest {
|
|
73
|
+
topic: string;
|
|
74
|
+
data: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface PublishDataResponse {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface ConsumeMessagesRequest {
|
|
81
|
+
topic: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface ConsumeMessages {
|
|
85
|
+
sender: string;
|
|
86
|
+
data: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface ConsumeMessagesResponse {
|
|
90
|
+
messages: ConsumeMessages[];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function createBaseVideoTracksActiveStreamsRequest(): VideoTracksActiveStreamsRequest {
|
|
94
|
+
return {};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export namespace VideoTracksActiveStreamsRequest {
|
|
98
|
+
export function encode(_: VideoTracksActiveStreamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
99
|
+
return writer;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): VideoTracksActiveStreamsRequest {
|
|
103
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
104
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
105
|
+
const message = createBaseVideoTracksActiveStreamsRequest();
|
|
106
|
+
while (reader.pos < end) {
|
|
107
|
+
const tag = reader.uint32();
|
|
108
|
+
switch (tag >>> 3) {
|
|
109
|
+
}
|
|
110
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
reader.skipType(tag & 7);
|
|
114
|
+
}
|
|
115
|
+
return message;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function fromJSON(_: any): VideoTracksActiveStreamsRequest {
|
|
119
|
+
return {};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function toJSON(_: VideoTracksActiveStreamsRequest): unknown {
|
|
123
|
+
const obj: any = {};
|
|
124
|
+
return obj;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function create<I extends Exact<DeepPartial<VideoTracksActiveStreamsRequest>, I>>(
|
|
128
|
+
base?: I,
|
|
129
|
+
): VideoTracksActiveStreamsRequest {
|
|
130
|
+
return VideoTracksActiveStreamsRequest.fromPartial(base ?? {});
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function fromPartial<I extends Exact<DeepPartial<VideoTracksActiveStreamsRequest>, I>>(
|
|
134
|
+
_: I,
|
|
135
|
+
): VideoTracksActiveStreamsRequest {
|
|
136
|
+
const message = createBaseVideoTracksActiveStreamsRequest();
|
|
137
|
+
return message;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function createBaseVideoTracksActiveStreamsResponse(): VideoTracksActiveStreamsResponse {
|
|
142
|
+
return { streams: [] };
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export namespace VideoTracksActiveStreamsResponse {
|
|
146
|
+
export function encode(
|
|
147
|
+
message: VideoTracksActiveStreamsResponse,
|
|
148
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
149
|
+
): _m0.Writer {
|
|
150
|
+
for (const v of message.streams) {
|
|
151
|
+
VideoTracksActiveStreamsData.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
152
|
+
}
|
|
153
|
+
return writer;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): VideoTracksActiveStreamsResponse {
|
|
157
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
158
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
159
|
+
const message = createBaseVideoTracksActiveStreamsResponse();
|
|
160
|
+
while (reader.pos < end) {
|
|
161
|
+
const tag = reader.uint32();
|
|
162
|
+
switch (tag >>> 3) {
|
|
163
|
+
case 1:
|
|
164
|
+
if (tag !== 10) {
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
message.streams.push(VideoTracksActiveStreamsData.decode(reader, reader.uint32()));
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
reader.skipType(tag & 7);
|
|
175
|
+
}
|
|
176
|
+
return message;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export function fromJSON(object: any): VideoTracksActiveStreamsResponse {
|
|
180
|
+
return {
|
|
181
|
+
streams: Array.isArray(object?.streams)
|
|
182
|
+
? object.streams.map((e: any) => VideoTracksActiveStreamsData.fromJSON(e))
|
|
183
|
+
: [],
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function toJSON(message: VideoTracksActiveStreamsResponse): unknown {
|
|
188
|
+
const obj: any = {};
|
|
189
|
+
if (message.streams) {
|
|
190
|
+
obj.streams = message.streams.map((e) => e ? VideoTracksActiveStreamsData.toJSON(e) : undefined);
|
|
191
|
+
} else {
|
|
192
|
+
obj.streams = [];
|
|
193
|
+
}
|
|
194
|
+
return obj;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export function create<I extends Exact<DeepPartial<VideoTracksActiveStreamsResponse>, I>>(
|
|
198
|
+
base?: I,
|
|
199
|
+
): VideoTracksActiveStreamsResponse {
|
|
200
|
+
return VideoTracksActiveStreamsResponse.fromPartial(base ?? {});
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export function fromPartial<I extends Exact<DeepPartial<VideoTracksActiveStreamsResponse>, I>>(
|
|
204
|
+
object: I,
|
|
205
|
+
): VideoTracksActiveStreamsResponse {
|
|
206
|
+
const message = createBaseVideoTracksActiveStreamsResponse();
|
|
207
|
+
message.streams = object.streams?.map((e) => VideoTracksActiveStreamsData.fromPartial(e)) || [];
|
|
208
|
+
return message;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function createBaseVideoTracksActiveStreamsData(): VideoTracksActiveStreamsData {
|
|
213
|
+
return { identity: "", trackSid: "", sourceType: 0 };
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export namespace VideoTracksActiveStreamsData {
|
|
217
|
+
export function encode(message: VideoTracksActiveStreamsData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
218
|
+
if (message.identity !== "") {
|
|
219
|
+
writer.uint32(10).string(message.identity);
|
|
220
|
+
}
|
|
221
|
+
if (message.trackSid !== "") {
|
|
222
|
+
writer.uint32(18).string(message.trackSid);
|
|
223
|
+
}
|
|
224
|
+
if (message.sourceType !== 0) {
|
|
225
|
+
writer.uint32(24).int32(message.sourceType);
|
|
226
|
+
}
|
|
227
|
+
return writer;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): VideoTracksActiveStreamsData {
|
|
231
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
232
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
233
|
+
const message = createBaseVideoTracksActiveStreamsData();
|
|
234
|
+
while (reader.pos < end) {
|
|
235
|
+
const tag = reader.uint32();
|
|
236
|
+
switch (tag >>> 3) {
|
|
237
|
+
case 1:
|
|
238
|
+
if (tag !== 10) {
|
|
239
|
+
break;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
message.identity = reader.string();
|
|
243
|
+
continue;
|
|
244
|
+
case 2:
|
|
245
|
+
if (tag !== 18) {
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
message.trackSid = reader.string();
|
|
250
|
+
continue;
|
|
251
|
+
case 3:
|
|
252
|
+
if (tag !== 24) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
message.sourceType = reader.int32() as any;
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
reader.skipType(tag & 7);
|
|
263
|
+
}
|
|
264
|
+
return message;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export function fromJSON(object: any): VideoTracksActiveStreamsData {
|
|
268
|
+
return {
|
|
269
|
+
identity: isSet(object.identity) ? String(object.identity) : "",
|
|
270
|
+
trackSid: isSet(object.trackSid) ? String(object.trackSid) : "",
|
|
271
|
+
sourceType: isSet(object.sourceType) ? videoTrackSourceTypeFromJSON(object.sourceType) : 0,
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export function toJSON(message: VideoTracksActiveStreamsData): unknown {
|
|
276
|
+
const obj: any = {};
|
|
277
|
+
message.identity !== undefined && (obj.identity = message.identity);
|
|
278
|
+
message.trackSid !== undefined && (obj.trackSid = message.trackSid);
|
|
279
|
+
message.sourceType !== undefined && (obj.sourceType = videoTrackSourceTypeToJSON(message.sourceType));
|
|
280
|
+
return obj;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export function create<I extends Exact<DeepPartial<VideoTracksActiveStreamsData>, I>>(
|
|
284
|
+
base?: I,
|
|
285
|
+
): VideoTracksActiveStreamsData {
|
|
286
|
+
return VideoTracksActiveStreamsData.fromPartial(base ?? {});
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export function fromPartial<I extends Exact<DeepPartial<VideoTracksActiveStreamsData>, I>>(
|
|
290
|
+
object: I,
|
|
291
|
+
): VideoTracksActiveStreamsData {
|
|
292
|
+
const message = createBaseVideoTracksActiveStreamsData();
|
|
293
|
+
message.identity = object.identity ?? "";
|
|
294
|
+
message.trackSid = object.trackSid ?? "";
|
|
295
|
+
message.sourceType = object.sourceType ?? 0;
|
|
296
|
+
return message;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
function createBaseSubscribeToTopicRequest(): SubscribeToTopicRequest {
|
|
301
|
+
return { topic: "" };
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export namespace SubscribeToTopicRequest {
|
|
305
|
+
export function encode(message: SubscribeToTopicRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
306
|
+
if (message.topic !== "") {
|
|
307
|
+
writer.uint32(10).string(message.topic);
|
|
308
|
+
}
|
|
309
|
+
return writer;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeToTopicRequest {
|
|
313
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
314
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
315
|
+
const message = createBaseSubscribeToTopicRequest();
|
|
316
|
+
while (reader.pos < end) {
|
|
317
|
+
const tag = reader.uint32();
|
|
318
|
+
switch (tag >>> 3) {
|
|
319
|
+
case 1:
|
|
320
|
+
if (tag !== 10) {
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
message.topic = reader.string();
|
|
325
|
+
continue;
|
|
326
|
+
}
|
|
327
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
reader.skipType(tag & 7);
|
|
331
|
+
}
|
|
332
|
+
return message;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export function fromJSON(object: any): SubscribeToTopicRequest {
|
|
336
|
+
return { topic: isSet(object.topic) ? String(object.topic) : "" };
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export function toJSON(message: SubscribeToTopicRequest): unknown {
|
|
340
|
+
const obj: any = {};
|
|
341
|
+
message.topic !== undefined && (obj.topic = message.topic);
|
|
342
|
+
return obj;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export function create<I extends Exact<DeepPartial<SubscribeToTopicRequest>, I>>(base?: I): SubscribeToTopicRequest {
|
|
346
|
+
return SubscribeToTopicRequest.fromPartial(base ?? {});
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export function fromPartial<I extends Exact<DeepPartial<SubscribeToTopicRequest>, I>>(
|
|
350
|
+
object: I,
|
|
351
|
+
): SubscribeToTopicRequest {
|
|
352
|
+
const message = createBaseSubscribeToTopicRequest();
|
|
353
|
+
message.topic = object.topic ?? "";
|
|
354
|
+
return message;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
function createBaseSubscribeToTopicResponse(): SubscribeToTopicResponse {
|
|
359
|
+
return {};
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export namespace SubscribeToTopicResponse {
|
|
363
|
+
export function encode(_: SubscribeToTopicResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
364
|
+
return writer;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeToTopicResponse {
|
|
368
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
369
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
370
|
+
const message = createBaseSubscribeToTopicResponse();
|
|
371
|
+
while (reader.pos < end) {
|
|
372
|
+
const tag = reader.uint32();
|
|
373
|
+
switch (tag >>> 3) {
|
|
374
|
+
}
|
|
375
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
reader.skipType(tag & 7);
|
|
379
|
+
}
|
|
380
|
+
return message;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export function fromJSON(_: any): SubscribeToTopicResponse {
|
|
384
|
+
return {};
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export function toJSON(_: SubscribeToTopicResponse): unknown {
|
|
388
|
+
const obj: any = {};
|
|
389
|
+
return obj;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export function create<I extends Exact<DeepPartial<SubscribeToTopicResponse>, I>>(
|
|
393
|
+
base?: I,
|
|
394
|
+
): SubscribeToTopicResponse {
|
|
395
|
+
return SubscribeToTopicResponse.fromPartial(base ?? {});
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export function fromPartial<I extends Exact<DeepPartial<SubscribeToTopicResponse>, I>>(
|
|
399
|
+
_: I,
|
|
400
|
+
): SubscribeToTopicResponse {
|
|
401
|
+
const message = createBaseSubscribeToTopicResponse();
|
|
402
|
+
return message;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
function createBaseUnsubscribeFromTopicRequest(): UnsubscribeFromTopicRequest {
|
|
407
|
+
return { topic: "" };
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export namespace UnsubscribeFromTopicRequest {
|
|
411
|
+
export function encode(message: UnsubscribeFromTopicRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
412
|
+
if (message.topic !== "") {
|
|
413
|
+
writer.uint32(10).string(message.topic);
|
|
414
|
+
}
|
|
415
|
+
return writer;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UnsubscribeFromTopicRequest {
|
|
419
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
420
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
421
|
+
const message = createBaseUnsubscribeFromTopicRequest();
|
|
422
|
+
while (reader.pos < end) {
|
|
423
|
+
const tag = reader.uint32();
|
|
424
|
+
switch (tag >>> 3) {
|
|
425
|
+
case 1:
|
|
426
|
+
if (tag !== 10) {
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
message.topic = reader.string();
|
|
431
|
+
continue;
|
|
432
|
+
}
|
|
433
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
434
|
+
break;
|
|
435
|
+
}
|
|
436
|
+
reader.skipType(tag & 7);
|
|
437
|
+
}
|
|
438
|
+
return message;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export function fromJSON(object: any): UnsubscribeFromTopicRequest {
|
|
442
|
+
return { topic: isSet(object.topic) ? String(object.topic) : "" };
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export function toJSON(message: UnsubscribeFromTopicRequest): unknown {
|
|
446
|
+
const obj: any = {};
|
|
447
|
+
message.topic !== undefined && (obj.topic = message.topic);
|
|
448
|
+
return obj;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export function create<I extends Exact<DeepPartial<UnsubscribeFromTopicRequest>, I>>(
|
|
452
|
+
base?: I,
|
|
453
|
+
): UnsubscribeFromTopicRequest {
|
|
454
|
+
return UnsubscribeFromTopicRequest.fromPartial(base ?? {});
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export function fromPartial<I extends Exact<DeepPartial<UnsubscribeFromTopicRequest>, I>>(
|
|
458
|
+
object: I,
|
|
459
|
+
): UnsubscribeFromTopicRequest {
|
|
460
|
+
const message = createBaseUnsubscribeFromTopicRequest();
|
|
461
|
+
message.topic = object.topic ?? "";
|
|
462
|
+
return message;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
function createBaseUnsubscribeFromTopicResponse(): UnsubscribeFromTopicResponse {
|
|
467
|
+
return {};
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export namespace UnsubscribeFromTopicResponse {
|
|
471
|
+
export function encode(_: UnsubscribeFromTopicResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
472
|
+
return writer;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UnsubscribeFromTopicResponse {
|
|
476
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
477
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
478
|
+
const message = createBaseUnsubscribeFromTopicResponse();
|
|
479
|
+
while (reader.pos < end) {
|
|
480
|
+
const tag = reader.uint32();
|
|
481
|
+
switch (tag >>> 3) {
|
|
482
|
+
}
|
|
483
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
reader.skipType(tag & 7);
|
|
487
|
+
}
|
|
488
|
+
return message;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export function fromJSON(_: any): UnsubscribeFromTopicResponse {
|
|
492
|
+
return {};
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export function toJSON(_: UnsubscribeFromTopicResponse): unknown {
|
|
496
|
+
const obj: any = {};
|
|
497
|
+
return obj;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export function create<I extends Exact<DeepPartial<UnsubscribeFromTopicResponse>, I>>(
|
|
501
|
+
base?: I,
|
|
502
|
+
): UnsubscribeFromTopicResponse {
|
|
503
|
+
return UnsubscribeFromTopicResponse.fromPartial(base ?? {});
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export function fromPartial<I extends Exact<DeepPartial<UnsubscribeFromTopicResponse>, I>>(
|
|
507
|
+
_: I,
|
|
508
|
+
): UnsubscribeFromTopicResponse {
|
|
509
|
+
const message = createBaseUnsubscribeFromTopicResponse();
|
|
510
|
+
return message;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
function createBasePublishDataRequest(): PublishDataRequest {
|
|
515
|
+
return { topic: "", data: "" };
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export namespace PublishDataRequest {
|
|
519
|
+
export function encode(message: PublishDataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
520
|
+
if (message.topic !== "") {
|
|
521
|
+
writer.uint32(10).string(message.topic);
|
|
522
|
+
}
|
|
523
|
+
if (message.data !== "") {
|
|
524
|
+
writer.uint32(18).string(message.data);
|
|
525
|
+
}
|
|
526
|
+
return writer;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PublishDataRequest {
|
|
530
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
531
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
532
|
+
const message = createBasePublishDataRequest();
|
|
533
|
+
while (reader.pos < end) {
|
|
534
|
+
const tag = reader.uint32();
|
|
535
|
+
switch (tag >>> 3) {
|
|
536
|
+
case 1:
|
|
537
|
+
if (tag !== 10) {
|
|
538
|
+
break;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
message.topic = reader.string();
|
|
542
|
+
continue;
|
|
543
|
+
case 2:
|
|
544
|
+
if (tag !== 18) {
|
|
545
|
+
break;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
message.data = reader.string();
|
|
549
|
+
continue;
|
|
550
|
+
}
|
|
551
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
554
|
+
reader.skipType(tag & 7);
|
|
555
|
+
}
|
|
556
|
+
return message;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export function fromJSON(object: any): PublishDataRequest {
|
|
560
|
+
return {
|
|
561
|
+
topic: isSet(object.topic) ? String(object.topic) : "",
|
|
562
|
+
data: isSet(object.data) ? String(object.data) : "",
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export function toJSON(message: PublishDataRequest): unknown {
|
|
567
|
+
const obj: any = {};
|
|
568
|
+
message.topic !== undefined && (obj.topic = message.topic);
|
|
569
|
+
message.data !== undefined && (obj.data = message.data);
|
|
570
|
+
return obj;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export function create<I extends Exact<DeepPartial<PublishDataRequest>, I>>(base?: I): PublishDataRequest {
|
|
574
|
+
return PublishDataRequest.fromPartial(base ?? {});
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export function fromPartial<I extends Exact<DeepPartial<PublishDataRequest>, I>>(object: I): PublishDataRequest {
|
|
578
|
+
const message = createBasePublishDataRequest();
|
|
579
|
+
message.topic = object.topic ?? "";
|
|
580
|
+
message.data = object.data ?? "";
|
|
581
|
+
return message;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
function createBasePublishDataResponse(): PublishDataResponse {
|
|
586
|
+
return {};
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export namespace PublishDataResponse {
|
|
590
|
+
export function encode(_: PublishDataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
591
|
+
return writer;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PublishDataResponse {
|
|
595
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
596
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
597
|
+
const message = createBasePublishDataResponse();
|
|
598
|
+
while (reader.pos < end) {
|
|
599
|
+
const tag = reader.uint32();
|
|
600
|
+
switch (tag >>> 3) {
|
|
601
|
+
}
|
|
602
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
603
|
+
break;
|
|
604
|
+
}
|
|
605
|
+
reader.skipType(tag & 7);
|
|
606
|
+
}
|
|
607
|
+
return message;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export function fromJSON(_: any): PublishDataResponse {
|
|
611
|
+
return {};
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export function toJSON(_: PublishDataResponse): unknown {
|
|
615
|
+
const obj: any = {};
|
|
616
|
+
return obj;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export function create<I extends Exact<DeepPartial<PublishDataResponse>, I>>(base?: I): PublishDataResponse {
|
|
620
|
+
return PublishDataResponse.fromPartial(base ?? {});
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export function fromPartial<I extends Exact<DeepPartial<PublishDataResponse>, I>>(_: I): PublishDataResponse {
|
|
624
|
+
const message = createBasePublishDataResponse();
|
|
625
|
+
return message;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
function createBaseConsumeMessagesRequest(): ConsumeMessagesRequest {
|
|
630
|
+
return { topic: "" };
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export namespace ConsumeMessagesRequest {
|
|
634
|
+
export function encode(message: ConsumeMessagesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
635
|
+
if (message.topic !== "") {
|
|
636
|
+
writer.uint32(10).string(message.topic);
|
|
637
|
+
}
|
|
638
|
+
return writer;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ConsumeMessagesRequest {
|
|
642
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
643
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
644
|
+
const message = createBaseConsumeMessagesRequest();
|
|
645
|
+
while (reader.pos < end) {
|
|
646
|
+
const tag = reader.uint32();
|
|
647
|
+
switch (tag >>> 3) {
|
|
648
|
+
case 1:
|
|
649
|
+
if (tag !== 10) {
|
|
650
|
+
break;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
message.topic = reader.string();
|
|
654
|
+
continue;
|
|
655
|
+
}
|
|
656
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
657
|
+
break;
|
|
658
|
+
}
|
|
659
|
+
reader.skipType(tag & 7);
|
|
660
|
+
}
|
|
661
|
+
return message;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export function fromJSON(object: any): ConsumeMessagesRequest {
|
|
665
|
+
return { topic: isSet(object.topic) ? String(object.topic) : "" };
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export function toJSON(message: ConsumeMessagesRequest): unknown {
|
|
669
|
+
const obj: any = {};
|
|
670
|
+
message.topic !== undefined && (obj.topic = message.topic);
|
|
671
|
+
return obj;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export function create<I extends Exact<DeepPartial<ConsumeMessagesRequest>, I>>(base?: I): ConsumeMessagesRequest {
|
|
675
|
+
return ConsumeMessagesRequest.fromPartial(base ?? {});
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export function fromPartial<I extends Exact<DeepPartial<ConsumeMessagesRequest>, I>>(
|
|
679
|
+
object: I,
|
|
680
|
+
): ConsumeMessagesRequest {
|
|
681
|
+
const message = createBaseConsumeMessagesRequest();
|
|
682
|
+
message.topic = object.topic ?? "";
|
|
683
|
+
return message;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
function createBaseConsumeMessages(): ConsumeMessages {
|
|
688
|
+
return { sender: "", data: "" };
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export namespace ConsumeMessages {
|
|
692
|
+
export function encode(message: ConsumeMessages, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
693
|
+
if (message.sender !== "") {
|
|
694
|
+
writer.uint32(10).string(message.sender);
|
|
695
|
+
}
|
|
696
|
+
if (message.data !== "") {
|
|
697
|
+
writer.uint32(18).string(message.data);
|
|
698
|
+
}
|
|
699
|
+
return writer;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ConsumeMessages {
|
|
703
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
704
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
705
|
+
const message = createBaseConsumeMessages();
|
|
706
|
+
while (reader.pos < end) {
|
|
707
|
+
const tag = reader.uint32();
|
|
708
|
+
switch (tag >>> 3) {
|
|
709
|
+
case 1:
|
|
710
|
+
if (tag !== 10) {
|
|
711
|
+
break;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
message.sender = reader.string();
|
|
715
|
+
continue;
|
|
716
|
+
case 2:
|
|
717
|
+
if (tag !== 18) {
|
|
718
|
+
break;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
message.data = reader.string();
|
|
722
|
+
continue;
|
|
723
|
+
}
|
|
724
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
725
|
+
break;
|
|
726
|
+
}
|
|
727
|
+
reader.skipType(tag & 7);
|
|
728
|
+
}
|
|
729
|
+
return message;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
export function fromJSON(object: any): ConsumeMessages {
|
|
733
|
+
return {
|
|
734
|
+
sender: isSet(object.sender) ? String(object.sender) : "",
|
|
735
|
+
data: isSet(object.data) ? String(object.data) : "",
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export function toJSON(message: ConsumeMessages): unknown {
|
|
740
|
+
const obj: any = {};
|
|
741
|
+
message.sender !== undefined && (obj.sender = message.sender);
|
|
742
|
+
message.data !== undefined && (obj.data = message.data);
|
|
743
|
+
return obj;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export function create<I extends Exact<DeepPartial<ConsumeMessages>, I>>(base?: I): ConsumeMessages {
|
|
747
|
+
return ConsumeMessages.fromPartial(base ?? {});
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export function fromPartial<I extends Exact<DeepPartial<ConsumeMessages>, I>>(object: I): ConsumeMessages {
|
|
751
|
+
const message = createBaseConsumeMessages();
|
|
752
|
+
message.sender = object.sender ?? "";
|
|
753
|
+
message.data = object.data ?? "";
|
|
754
|
+
return message;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
function createBaseConsumeMessagesResponse(): ConsumeMessagesResponse {
|
|
759
|
+
return { messages: [] };
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export namespace ConsumeMessagesResponse {
|
|
763
|
+
export function encode(message: ConsumeMessagesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
764
|
+
for (const v of message.messages) {
|
|
765
|
+
ConsumeMessages.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
766
|
+
}
|
|
767
|
+
return writer;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ConsumeMessagesResponse {
|
|
771
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
772
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
773
|
+
const message = createBaseConsumeMessagesResponse();
|
|
774
|
+
while (reader.pos < end) {
|
|
775
|
+
const tag = reader.uint32();
|
|
776
|
+
switch (tag >>> 3) {
|
|
777
|
+
case 1:
|
|
778
|
+
if (tag !== 10) {
|
|
779
|
+
break;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
message.messages.push(ConsumeMessages.decode(reader, reader.uint32()));
|
|
783
|
+
continue;
|
|
784
|
+
}
|
|
785
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
786
|
+
break;
|
|
787
|
+
}
|
|
788
|
+
reader.skipType(tag & 7);
|
|
789
|
+
}
|
|
790
|
+
return message;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export function fromJSON(object: any): ConsumeMessagesResponse {
|
|
794
|
+
return {
|
|
795
|
+
messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => ConsumeMessages.fromJSON(e)) : [],
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export function toJSON(message: ConsumeMessagesResponse): unknown {
|
|
800
|
+
const obj: any = {};
|
|
801
|
+
if (message.messages) {
|
|
802
|
+
obj.messages = message.messages.map((e) => e ? ConsumeMessages.toJSON(e) : undefined);
|
|
803
|
+
} else {
|
|
804
|
+
obj.messages = [];
|
|
805
|
+
}
|
|
806
|
+
return obj;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
export function create<I extends Exact<DeepPartial<ConsumeMessagesResponse>, I>>(base?: I): ConsumeMessagesResponse {
|
|
810
|
+
return ConsumeMessagesResponse.fromPartial(base ?? {});
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export function fromPartial<I extends Exact<DeepPartial<ConsumeMessagesResponse>, I>>(
|
|
814
|
+
object: I,
|
|
815
|
+
): ConsumeMessagesResponse {
|
|
816
|
+
const message = createBaseConsumeMessagesResponse();
|
|
817
|
+
message.messages = object.messages?.map((e) => ConsumeMessages.fromPartial(e)) || [];
|
|
818
|
+
return message;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
export type CommsApiServiceDefinition = typeof CommsApiServiceDefinition;
|
|
823
|
+
export const CommsApiServiceDefinition = {
|
|
824
|
+
name: "CommsApiService",
|
|
825
|
+
fullName: "decentraland.kernel.apis.CommsApiService",
|
|
826
|
+
methods: {
|
|
827
|
+
getActiveVideoStreams: {
|
|
828
|
+
name: "GetActiveVideoStreams",
|
|
829
|
+
requestType: VideoTracksActiveStreamsRequest,
|
|
830
|
+
requestStream: false,
|
|
831
|
+
responseType: VideoTracksActiveStreamsResponse,
|
|
832
|
+
responseStream: false,
|
|
833
|
+
options: {},
|
|
834
|
+
},
|
|
835
|
+
subscribeToTopic: {
|
|
836
|
+
name: "SubscribeToTopic",
|
|
837
|
+
requestType: SubscribeToTopicRequest,
|
|
838
|
+
requestStream: false,
|
|
839
|
+
responseType: SubscribeToTopicResponse,
|
|
840
|
+
responseStream: false,
|
|
841
|
+
options: {},
|
|
842
|
+
},
|
|
843
|
+
unsubscribeFromTopic: {
|
|
844
|
+
name: "UnsubscribeFromTopic",
|
|
845
|
+
requestType: UnsubscribeFromTopicRequest,
|
|
846
|
+
requestStream: false,
|
|
847
|
+
responseType: UnsubscribeFromTopicResponse,
|
|
848
|
+
responseStream: false,
|
|
849
|
+
options: {},
|
|
850
|
+
},
|
|
851
|
+
publishData: {
|
|
852
|
+
name: "PublishData",
|
|
853
|
+
requestType: PublishDataRequest,
|
|
854
|
+
requestStream: false,
|
|
855
|
+
responseType: PublishDataResponse,
|
|
856
|
+
responseStream: false,
|
|
857
|
+
options: {},
|
|
858
|
+
},
|
|
859
|
+
consumeMessages: {
|
|
860
|
+
name: "ConsumeMessages",
|
|
861
|
+
requestType: ConsumeMessagesRequest,
|
|
862
|
+
requestStream: false,
|
|
863
|
+
responseType: ConsumeMessagesResponse,
|
|
864
|
+
responseStream: false,
|
|
865
|
+
options: {},
|
|
866
|
+
},
|
|
867
|
+
},
|
|
868
|
+
} as const;
|
|
869
|
+
|
|
870
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
871
|
+
|
|
872
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
873
|
+
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
874
|
+
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
875
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
876
|
+
: Partial<T>;
|
|
877
|
+
|
|
878
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
879
|
+
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
880
|
+
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
|
881
|
+
|
|
882
|
+
function isSet(value: any): boolean {
|
|
883
|
+
return value !== null && value !== undefined;
|
|
884
|
+
}
|