@dcl/protocol 1.0.0-10043247792.commit-428d1eb
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/LICENSE +201 -0
- package/README.md +69 -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 +46 -0
- package/out-js/decentraland/common/colors.gen.js +189 -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 +100 -0
- package/out-js/decentraland/common/texture.gen.js +446 -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 +76 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -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 +89 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -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 +244 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -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 +213 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -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 +150 -0
- package/out-js/decentraland/realm/about.gen.js +914 -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 +40 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -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 +72 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -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 +30 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -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/material.gen.d.ts +106 -0
- package/out-js/decentraland/sdk/components/material.gen.js +515 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -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 +79 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -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 +35 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -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 +125 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +598 -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 +204 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -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 +41 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +138 -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 +31 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -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/friendships/friendships.gen.d.ts +500 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
- package/out-js/decentraland/social_service_v2/social_service.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-js/social_service_v2.gen.d.ts +1 -0
- package/out-js/social_service_v2.gen.js +6 -0
- package/out-js/social_service_v2.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 +214 -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 +500 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -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 +895 -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 +1440 -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 +1062 -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 +122 -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 +333 -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 +154 -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/material.gen.ts +629 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -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 +310 -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 +152 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -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 +1361 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -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/friendships/friendships.gen.ts +2798 -0
- package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -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/out-ts/social_service_v2.gen.ts +3 -0
- package/package.json +33 -0
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +15 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +40 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
- package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
- 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 +78 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -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 +73 -0
- package/proto/decentraland/sdk/components/README.md +32 -0
- package/proto/decentraland/sdk/components/Transform.md +25 -0
- package/proto/decentraland/sdk/components/animator.proto +31 -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 +14 -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_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +42 -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_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/id.md +2 -0
- package/proto/decentraland/sdk/components/common/id.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +28 -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/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/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +37 -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/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +14 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/tween.proto +74 -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 +24 -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 +148 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +9 -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/friendships/friendships.proto +162 -0
- package/proto/decentraland/social_service_v2/social_service.proto +111 -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 +42 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +4 -0
- package/public/social_service_v2.proto +4 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.kernel.apis";
|
|
3
|
+
export interface InitRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface SocialEvent {
|
|
6
|
+
event: string;
|
|
7
|
+
payload: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetAvatarEventsResponse {
|
|
10
|
+
events: SocialEvent[];
|
|
11
|
+
}
|
|
12
|
+
export declare namespace InitRequest {
|
|
13
|
+
function encode(_: InitRequest, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): InitRequest;
|
|
15
|
+
function fromJSON(_: any): InitRequest;
|
|
16
|
+
function toJSON(_: InitRequest): unknown;
|
|
17
|
+
function create<I extends Exact<DeepPartial<InitRequest>, I>>(base?: I): InitRequest;
|
|
18
|
+
function fromPartial<I extends Exact<DeepPartial<InitRequest>, I>>(_: I): InitRequest;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace SocialEvent {
|
|
21
|
+
function encode(message: SocialEvent, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SocialEvent;
|
|
23
|
+
function fromJSON(object: any): SocialEvent;
|
|
24
|
+
function toJSON(message: SocialEvent): unknown;
|
|
25
|
+
function create<I extends Exact<DeepPartial<SocialEvent>, I>>(base?: I): SocialEvent;
|
|
26
|
+
function fromPartial<I extends Exact<DeepPartial<SocialEvent>, I>>(object: I): SocialEvent;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace GetAvatarEventsResponse {
|
|
29
|
+
function encode(message: GetAvatarEventsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetAvatarEventsResponse;
|
|
31
|
+
function fromJSON(object: any): GetAvatarEventsResponse;
|
|
32
|
+
function toJSON(message: GetAvatarEventsResponse): unknown;
|
|
33
|
+
function create<I extends Exact<DeepPartial<GetAvatarEventsResponse>, I>>(base?: I): GetAvatarEventsResponse;
|
|
34
|
+
function fromPartial<I extends Exact<DeepPartial<GetAvatarEventsResponse>, I>>(object: I): GetAvatarEventsResponse;
|
|
35
|
+
}
|
|
36
|
+
export type SocialControllerServiceDefinition = typeof SocialControllerServiceDefinition;
|
|
37
|
+
export declare const SocialControllerServiceDefinition: {
|
|
38
|
+
readonly name: "SocialControllerService";
|
|
39
|
+
readonly fullName: "decentraland.kernel.apis.SocialControllerService";
|
|
40
|
+
readonly methods: {
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level
|
|
43
|
+
* API used for the AvatarScene, it will be replaced by Foreign Entities in
|
|
44
|
+
* SDK7
|
|
45
|
+
*/
|
|
46
|
+
readonly pullAvatarEvents: {
|
|
47
|
+
readonly name: "PullAvatarEvents";
|
|
48
|
+
readonly requestType: typeof InitRequest;
|
|
49
|
+
readonly requestStream: false;
|
|
50
|
+
readonly responseType: typeof GetAvatarEventsResponse;
|
|
51
|
+
readonly responseStream: false;
|
|
52
|
+
readonly options: {};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
57
|
+
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 {
|
|
58
|
+
$case: string;
|
|
59
|
+
} ? {
|
|
60
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
61
|
+
} & {
|
|
62
|
+
$case: T["$case"];
|
|
63
|
+
} : T extends {} ? {
|
|
64
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
65
|
+
} : Partial<T>;
|
|
66
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
67
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
68
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
69
|
+
} & {
|
|
70
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
71
|
+
};
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,207 @@
|
|
|
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.SocialControllerServiceDefinition = exports.GetAvatarEventsResponse = exports.SocialEvent = exports.InitRequest = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
10
|
+
function createBaseInitRequest() {
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
var InitRequest;
|
|
14
|
+
(function (InitRequest) {
|
|
15
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
return writer;
|
|
17
|
+
}
|
|
18
|
+
InitRequest.encode = encode;
|
|
19
|
+
function decode(input, length) {
|
|
20
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
21
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
22
|
+
const message = createBaseInitRequest();
|
|
23
|
+
while (reader.pos < end) {
|
|
24
|
+
const tag = reader.uint32();
|
|
25
|
+
switch (tag >>> 3) {
|
|
26
|
+
}
|
|
27
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
reader.skipType(tag & 7);
|
|
31
|
+
}
|
|
32
|
+
return message;
|
|
33
|
+
}
|
|
34
|
+
InitRequest.decode = decode;
|
|
35
|
+
function fromJSON(_) {
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
38
|
+
InitRequest.fromJSON = fromJSON;
|
|
39
|
+
function toJSON(_) {
|
|
40
|
+
const obj = {};
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
InitRequest.toJSON = toJSON;
|
|
44
|
+
function create(base) {
|
|
45
|
+
return InitRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
46
|
+
}
|
|
47
|
+
InitRequest.create = create;
|
|
48
|
+
function fromPartial(_) {
|
|
49
|
+
const message = createBaseInitRequest();
|
|
50
|
+
return message;
|
|
51
|
+
}
|
|
52
|
+
InitRequest.fromPartial = fromPartial;
|
|
53
|
+
})(InitRequest || (exports.InitRequest = InitRequest = {}));
|
|
54
|
+
function createBaseSocialEvent() {
|
|
55
|
+
return { event: "", payload: "" };
|
|
56
|
+
}
|
|
57
|
+
var SocialEvent;
|
|
58
|
+
(function (SocialEvent) {
|
|
59
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
60
|
+
if (message.event !== "") {
|
|
61
|
+
writer.uint32(10).string(message.event);
|
|
62
|
+
}
|
|
63
|
+
if (message.payload !== "") {
|
|
64
|
+
writer.uint32(18).string(message.payload);
|
|
65
|
+
}
|
|
66
|
+
return writer;
|
|
67
|
+
}
|
|
68
|
+
SocialEvent.encode = encode;
|
|
69
|
+
function decode(input, length) {
|
|
70
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
71
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
72
|
+
const message = createBaseSocialEvent();
|
|
73
|
+
while (reader.pos < end) {
|
|
74
|
+
const tag = reader.uint32();
|
|
75
|
+
switch (tag >>> 3) {
|
|
76
|
+
case 1:
|
|
77
|
+
if (tag !== 10) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
message.event = reader.string();
|
|
81
|
+
continue;
|
|
82
|
+
case 2:
|
|
83
|
+
if (tag !== 18) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.payload = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
}
|
|
96
|
+
SocialEvent.decode = decode;
|
|
97
|
+
function fromJSON(object) {
|
|
98
|
+
return {
|
|
99
|
+
event: isSet(object.event) ? String(object.event) : "",
|
|
100
|
+
payload: isSet(object.payload) ? String(object.payload) : "",
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
SocialEvent.fromJSON = fromJSON;
|
|
104
|
+
function toJSON(message) {
|
|
105
|
+
const obj = {};
|
|
106
|
+
message.event !== undefined && (obj.event = message.event);
|
|
107
|
+
message.payload !== undefined && (obj.payload = message.payload);
|
|
108
|
+
return obj;
|
|
109
|
+
}
|
|
110
|
+
SocialEvent.toJSON = toJSON;
|
|
111
|
+
function create(base) {
|
|
112
|
+
return SocialEvent.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
113
|
+
}
|
|
114
|
+
SocialEvent.create = create;
|
|
115
|
+
function fromPartial(object) {
|
|
116
|
+
var _a, _b;
|
|
117
|
+
const message = createBaseSocialEvent();
|
|
118
|
+
message.event = (_a = object.event) !== null && _a !== void 0 ? _a : "";
|
|
119
|
+
message.payload = (_b = object.payload) !== null && _b !== void 0 ? _b : "";
|
|
120
|
+
return message;
|
|
121
|
+
}
|
|
122
|
+
SocialEvent.fromPartial = fromPartial;
|
|
123
|
+
})(SocialEvent || (exports.SocialEvent = SocialEvent = {}));
|
|
124
|
+
function createBaseGetAvatarEventsResponse() {
|
|
125
|
+
return { events: [] };
|
|
126
|
+
}
|
|
127
|
+
var GetAvatarEventsResponse;
|
|
128
|
+
(function (GetAvatarEventsResponse) {
|
|
129
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
130
|
+
for (const v of message.events) {
|
|
131
|
+
SocialEvent.encode(v, writer.uint32(10).fork()).ldelim();
|
|
132
|
+
}
|
|
133
|
+
return writer;
|
|
134
|
+
}
|
|
135
|
+
GetAvatarEventsResponse.encode = encode;
|
|
136
|
+
function decode(input, length) {
|
|
137
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
138
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
139
|
+
const message = createBaseGetAvatarEventsResponse();
|
|
140
|
+
while (reader.pos < end) {
|
|
141
|
+
const tag = reader.uint32();
|
|
142
|
+
switch (tag >>> 3) {
|
|
143
|
+
case 1:
|
|
144
|
+
if (tag !== 10) {
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
message.events.push(SocialEvent.decode(reader, reader.uint32()));
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
reader.skipType(tag & 7);
|
|
154
|
+
}
|
|
155
|
+
return message;
|
|
156
|
+
}
|
|
157
|
+
GetAvatarEventsResponse.decode = decode;
|
|
158
|
+
function fromJSON(object) {
|
|
159
|
+
return { events: Array.isArray(object === null || object === void 0 ? void 0 : object.events) ? object.events.map((e) => SocialEvent.fromJSON(e)) : [] };
|
|
160
|
+
}
|
|
161
|
+
GetAvatarEventsResponse.fromJSON = fromJSON;
|
|
162
|
+
function toJSON(message) {
|
|
163
|
+
const obj = {};
|
|
164
|
+
if (message.events) {
|
|
165
|
+
obj.events = message.events.map((e) => e ? SocialEvent.toJSON(e) : undefined);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
obj.events = [];
|
|
169
|
+
}
|
|
170
|
+
return obj;
|
|
171
|
+
}
|
|
172
|
+
GetAvatarEventsResponse.toJSON = toJSON;
|
|
173
|
+
function create(base) {
|
|
174
|
+
return GetAvatarEventsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
175
|
+
}
|
|
176
|
+
GetAvatarEventsResponse.create = create;
|
|
177
|
+
function fromPartial(object) {
|
|
178
|
+
var _a;
|
|
179
|
+
const message = createBaseGetAvatarEventsResponse();
|
|
180
|
+
message.events = ((_a = object.events) === null || _a === void 0 ? void 0 : _a.map((e) => SocialEvent.fromPartial(e))) || [];
|
|
181
|
+
return message;
|
|
182
|
+
}
|
|
183
|
+
GetAvatarEventsResponse.fromPartial = fromPartial;
|
|
184
|
+
})(GetAvatarEventsResponse || (exports.GetAvatarEventsResponse = GetAvatarEventsResponse = {}));
|
|
185
|
+
exports.SocialControllerServiceDefinition = {
|
|
186
|
+
name: "SocialControllerService",
|
|
187
|
+
fullName: "decentraland.kernel.apis.SocialControllerService",
|
|
188
|
+
methods: {
|
|
189
|
+
/**
|
|
190
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level
|
|
191
|
+
* API used for the AvatarScene, it will be replaced by Foreign Entities in
|
|
192
|
+
* SDK7
|
|
193
|
+
*/
|
|
194
|
+
pullAvatarEvents: {
|
|
195
|
+
name: "PullAvatarEvents",
|
|
196
|
+
requestType: InitRequest,
|
|
197
|
+
requestStream: false,
|
|
198
|
+
responseType: GetAvatarEventsResponse,
|
|
199
|
+
responseStream: false,
|
|
200
|
+
options: {},
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
};
|
|
204
|
+
function isSet(value) {
|
|
205
|
+
return value !== null && value !== undefined;
|
|
206
|
+
}
|
|
207
|
+
//# sourceMappingURL=social_controller.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social_controller.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/kernel/apis/social_controller.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAc1D,SAAS,qBAAqB;IAC5B,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,IAAiB,WAAW,CAsC3B;AAtCD,WAAiB,WAAW;IAC1B,SAAgB,MAAM,CAAC,CAAc,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC7E,OAAO,MAAM,CAAC;IAChB,CAAC;IAFe,kBAAM,SAErB,CAAA;IAED,SAAgB,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpE,MAAM,MAAM,GAAG,KAAK,YAAY,iBAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE,CAAC;YACpB,CAAC;YACD,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE,CAAC;gBACjC,MAAM;YACR,CAAC;YACD,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;QAC3B,CAAC;QACD,OAAO,OAAO,CAAC;I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AAC,CAAC,KAAI,EAAE,CAAC;QAC7E,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,mCAAW,cAM1B,CAAA;AACH,CAAC,EAxDgB,uBAAuB,uCAAvB,uBAAuB,QAwDvC;AAGY,QAAA,iCAAiC,GAAG;IAC/C,IAAI,EAAE,yBAAyB;IAC/B,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,WAAW;YACxB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,uBAAuB;YACrC,cAAc,EAAE,KAAK;YACrB,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"}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Vector2, Vector3 } from "../../common/vectors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.kernel.apis";
|
|
4
|
+
export interface TakeAndCompareScreenshotRequest {
|
|
5
|
+
/**
|
|
6
|
+
* the source path in the scene where the screenshot is stored,
|
|
7
|
+
* the snapshot taken is compared with the stored one
|
|
8
|
+
*/
|
|
9
|
+
srcStoredSnapshot: string;
|
|
10
|
+
/** the camera position where is set before and while taking the screenshot, relative to base scene */
|
|
11
|
+
cameraPosition: Vector3 | undefined;
|
|
12
|
+
/** the camera position where is target to before and while taking the screenshot, relative to base scene */
|
|
13
|
+
cameraTarget: Vector3 | undefined;
|
|
14
|
+
/** width x height screenshot size */
|
|
15
|
+
screenshotSize: Vector2 | undefined;
|
|
16
|
+
comparisonMethod?: {
|
|
17
|
+
$case: "greyPixelDiff";
|
|
18
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
19
|
+
} | undefined;
|
|
20
|
+
snapshotMode: TakeAndCompareScreenshotRequest_SnapshotMode;
|
|
21
|
+
}
|
|
22
|
+
export declare enum TakeAndCompareScreenshotRequest_SnapshotMode {
|
|
23
|
+
/** SM_3D_AND_UI - only visible 3d scene and ui scene */
|
|
24
|
+
SM_3D_AND_UI = 0,
|
|
25
|
+
/** SM_3D_ONLY - only visible 3d scene */
|
|
26
|
+
SM_3D_ONLY = 1,
|
|
27
|
+
/** SM_UI_ONLY - only visible ui scene */
|
|
28
|
+
SM_UI_ONLY = 2,
|
|
29
|
+
UNRECOGNIZED = -1
|
|
30
|
+
}
|
|
31
|
+
export declare function takeAndCompareScreenshotRequest_SnapshotModeFromJSON(object: any): TakeAndCompareScreenshotRequest_SnapshotMode;
|
|
32
|
+
export declare function takeAndCompareScreenshotRequest_SnapshotModeToJSON(object: TakeAndCompareScreenshotRequest_SnapshotMode): string;
|
|
33
|
+
export interface TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
34
|
+
}
|
|
35
|
+
export interface TakeAndCompareScreenshotResponse {
|
|
36
|
+
storedSnapshotFound: boolean;
|
|
37
|
+
comparisonMethodResult?: {
|
|
38
|
+
$case: "greyPixelDiff";
|
|
39
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
40
|
+
} | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
43
|
+
similarity: number;
|
|
44
|
+
}
|
|
45
|
+
export interface TestResult {
|
|
46
|
+
name: string;
|
|
47
|
+
ok: boolean;
|
|
48
|
+
error?: string | undefined;
|
|
49
|
+
stack?: string | undefined;
|
|
50
|
+
/** how many ADR-148 ticks were spent running this test */
|
|
51
|
+
totalFrames: number;
|
|
52
|
+
/** total time in seconds spent running this test */
|
|
53
|
+
totalTime: number;
|
|
54
|
+
}
|
|
55
|
+
export interface TestResultResponse {
|
|
56
|
+
}
|
|
57
|
+
export interface TestPlan {
|
|
58
|
+
tests: TestPlan_TestPlanEntry[];
|
|
59
|
+
}
|
|
60
|
+
export interface TestPlan_TestPlanEntry {
|
|
61
|
+
name: string;
|
|
62
|
+
}
|
|
63
|
+
export interface TestPlanResponse {
|
|
64
|
+
}
|
|
65
|
+
export interface SetCameraTransformTestCommand {
|
|
66
|
+
position: SetCameraTransformTestCommand_Vector3 | undefined;
|
|
67
|
+
rotation: SetCameraTransformTestCommand_Quaternion | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface SetCameraTransformTestCommand_Vector3 {
|
|
70
|
+
x: number;
|
|
71
|
+
y: number;
|
|
72
|
+
z: number;
|
|
73
|
+
}
|
|
74
|
+
export interface SetCameraTransformTestCommand_Quaternion {
|
|
75
|
+
x: number;
|
|
76
|
+
y: number;
|
|
77
|
+
z: number;
|
|
78
|
+
w: number;
|
|
79
|
+
}
|
|
80
|
+
export interface SetCameraTransformTestCommandResponse {
|
|
81
|
+
}
|
|
82
|
+
export declare namespace TakeAndCompareScreenshotRequest {
|
|
83
|
+
function encode(message: TakeAndCompareScreenshotRequest, writer?: _m0.Writer): _m0.Writer;
|
|
84
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TakeAndCompareScreenshotRequest;
|
|
85
|
+
function fromJSON(object: any): TakeAndCompareScreenshotRequest;
|
|
86
|
+
function toJSON(message: TakeAndCompareScreenshotRequest): unknown;
|
|
87
|
+
function create<I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest>, I>>(base?: I): TakeAndCompareScreenshotRequest;
|
|
88
|
+
function fromPartial<I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest>, I>>(object: I): TakeAndCompareScreenshotRequest;
|
|
89
|
+
}
|
|
90
|
+
export declare namespace TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
91
|
+
function encode(_: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff, writer?: _m0.Writer): _m0.Writer;
|
|
92
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
93
|
+
function fromJSON(_: any): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
94
|
+
function toJSON(_: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff): unknown;
|
|
95
|
+
function create<I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff>, I>>(base?: I): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
96
|
+
function fromPartial<I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff>, I>>(_: I): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace TakeAndCompareScreenshotResponse {
|
|
99
|
+
function encode(message: TakeAndCompareScreenshotResponse, writer?: _m0.Writer): _m0.Writer;
|
|
100
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TakeAndCompareScreenshotResponse;
|
|
101
|
+
function fromJSON(object: any): TakeAndCompareScreenshotResponse;
|
|
102
|
+
function toJSON(message: TakeAndCompareScreenshotResponse): unknown;
|
|
103
|
+
function create<I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse>, I>>(base?: I): TakeAndCompareScreenshotResponse;
|
|
104
|
+
function fromPartial<I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse>, I>>(object: I): TakeAndCompareScreenshotResponse;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
107
|
+
function encode(message: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult, writer?: _m0.Writer): _m0.Writer;
|
|
108
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
109
|
+
function fromJSON(object: any): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
110
|
+
function toJSON(message: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult): unknown;
|
|
111
|
+
function create<I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult>, I>>(base?: I): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
112
|
+
function fromPartial<I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult>, I>>(object: I): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
113
|
+
}
|
|
114
|
+
export declare namespace TestResult {
|
|
115
|
+
function encode(message: TestResult, writer?: _m0.Writer): _m0.Writer;
|
|
116
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TestResult;
|
|
117
|
+
function fromJSON(object: any): TestResult;
|
|
118
|
+
function toJSON(message: TestResult): unknown;
|
|
119
|
+
function create<I extends Exact<DeepPartial<TestResult>, I>>(base?: I): TestResult;
|
|
120
|
+
function fromPartial<I extends Exact<DeepPartial<TestResult>, I>>(object: I): TestResult;
|
|
121
|
+
}
|
|
122
|
+
export declare namespace TestResultResponse {
|
|
123
|
+
function encode(_: TestResultResponse, writer?: _m0.Writer): _m0.Writer;
|
|
124
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TestResultResponse;
|
|
125
|
+
function fromJSON(_: any): TestResultResponse;
|
|
126
|
+
function toJSON(_: TestResultResponse): unknown;
|
|
127
|
+
function create<I extends Exact<DeepPartial<TestResultResponse>, I>>(base?: I): TestResultResponse;
|
|
128
|
+
function fromPartial<I extends Exact<DeepPartial<TestResultResponse>, I>>(_: I): TestResultResponse;
|
|
129
|
+
}
|
|
130
|
+
export declare namespace TestPlan {
|
|
131
|
+
function encode(message: TestPlan, writer?: _m0.Writer): _m0.Writer;
|
|
132
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TestPlan;
|
|
133
|
+
function fromJSON(object: any): TestPlan;
|
|
134
|
+
function toJSON(message: TestPlan): unknown;
|
|
135
|
+
function create<I extends Exact<DeepPartial<TestPlan>, I>>(base?: I): TestPlan;
|
|
136
|
+
function fromPartial<I extends Exact<DeepPartial<TestPlan>, I>>(object: I): TestPlan;
|
|
137
|
+
}
|
|
138
|
+
export declare namespace TestPlan_TestPlanEntry {
|
|
139
|
+
function encode(message: TestPlan_TestPlanEntry, writer?: _m0.Writer): _m0.Writer;
|
|
140
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TestPlan_TestPlanEntry;
|
|
141
|
+
function fromJSON(object: any): TestPlan_TestPlanEntry;
|
|
142
|
+
function toJSON(message: TestPlan_TestPlanEntry): unknown;
|
|
143
|
+
function create<I extends Exact<DeepPartial<TestPlan_TestPlanEntry>, I>>(base?: I): TestPlan_TestPlanEntry;
|
|
144
|
+
function fromPartial<I extends Exact<DeepPartial<TestPlan_TestPlanEntry>, I>>(object: I): TestPlan_TestPlanEntry;
|
|
145
|
+
}
|
|
146
|
+
export declare namespace TestPlanResponse {
|
|
147
|
+
function encode(_: TestPlanResponse, writer?: _m0.Writer): _m0.Writer;
|
|
148
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): TestPlanResponse;
|
|
149
|
+
function fromJSON(_: any): TestPlanResponse;
|
|
150
|
+
function toJSON(_: TestPlanResponse): unknown;
|
|
151
|
+
function create<I extends Exact<DeepPartial<TestPlanResponse>, I>>(base?: I): TestPlanResponse;
|
|
152
|
+
function fromPartial<I extends Exact<DeepPartial<TestPlanResponse>, I>>(_: I): TestPlanResponse;
|
|
153
|
+
}
|
|
154
|
+
export declare namespace SetCameraTransformTestCommand {
|
|
155
|
+
function encode(message: SetCameraTransformTestCommand, writer?: _m0.Writer): _m0.Writer;
|
|
156
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand;
|
|
157
|
+
function fromJSON(object: any): SetCameraTransformTestCommand;
|
|
158
|
+
function toJSON(message: SetCameraTransformTestCommand): unknown;
|
|
159
|
+
function create<I extends Exact<DeepPartial<SetCameraTransformTestCommand>, I>>(base?: I): SetCameraTransformTestCommand;
|
|
160
|
+
function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand>, I>>(object: I): SetCameraTransformTestCommand;
|
|
161
|
+
}
|
|
162
|
+
export declare namespace SetCameraTransformTestCommand_Vector3 {
|
|
163
|
+
function encode(message: SetCameraTransformTestCommand_Vector3, writer?: _m0.Writer): _m0.Writer;
|
|
164
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand_Vector3;
|
|
165
|
+
function fromJSON(object: any): SetCameraTransformTestCommand_Vector3;
|
|
166
|
+
function toJSON(message: SetCameraTransformTestCommand_Vector3): unknown;
|
|
167
|
+
function create<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Vector3>, I>>(base?: I): SetCameraTransformTestCommand_Vector3;
|
|
168
|
+
function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Vector3>, I>>(object: I): SetCameraTransformTestCommand_Vector3;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace SetCameraTransformTestCommand_Quaternion {
|
|
171
|
+
function encode(message: SetCameraTransformTestCommand_Quaternion, writer?: _m0.Writer): _m0.Writer;
|
|
172
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand_Quaternion;
|
|
173
|
+
function fromJSON(object: any): SetCameraTransformTestCommand_Quaternion;
|
|
174
|
+
function toJSON(message: SetCameraTransformTestCommand_Quaternion): unknown;
|
|
175
|
+
function create<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Quaternion>, I>>(base?: I): SetCameraTransformTestCommand_Quaternion;
|
|
176
|
+
function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Quaternion>, I>>(object: I): SetCameraTransformTestCommand_Quaternion;
|
|
177
|
+
}
|
|
178
|
+
export declare namespace SetCameraTransformTestCommandResponse {
|
|
179
|
+
function encode(_: SetCameraTransformTestCommandResponse, writer?: _m0.Writer): _m0.Writer;
|
|
180
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommandResponse;
|
|
181
|
+
function fromJSON(_: any): SetCameraTransformTestCommandResponse;
|
|
182
|
+
function toJSON(_: SetCameraTransformTestCommandResponse): unknown;
|
|
183
|
+
function create<I extends Exact<DeepPartial<SetCameraTransformTestCommandResponse>, I>>(base?: I): SetCameraTransformTestCommandResponse;
|
|
184
|
+
function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommandResponse>, I>>(_: I): SetCameraTransformTestCommandResponse;
|
|
185
|
+
}
|
|
186
|
+
export type TestingServiceDefinition = typeof TestingServiceDefinition;
|
|
187
|
+
export declare const TestingServiceDefinition: {
|
|
188
|
+
readonly name: "TestingService";
|
|
189
|
+
readonly fullName: "decentraland.kernel.apis.TestingService";
|
|
190
|
+
readonly methods: {
|
|
191
|
+
/** sends a test result to the test runner */
|
|
192
|
+
readonly logTestResult: {
|
|
193
|
+
readonly name: "LogTestResult";
|
|
194
|
+
readonly requestType: typeof TestResult;
|
|
195
|
+
readonly requestStream: false;
|
|
196
|
+
readonly responseType: typeof TestResultResponse;
|
|
197
|
+
readonly responseStream: false;
|
|
198
|
+
readonly options: {};
|
|
199
|
+
};
|
|
200
|
+
/** send a list of all planned tests to the test runner */
|
|
201
|
+
readonly plan: {
|
|
202
|
+
readonly name: "Plan";
|
|
203
|
+
readonly requestType: typeof TestPlan;
|
|
204
|
+
readonly requestStream: false;
|
|
205
|
+
readonly responseType: typeof TestPlanResponse;
|
|
206
|
+
readonly responseStream: false;
|
|
207
|
+
readonly options: {};
|
|
208
|
+
};
|
|
209
|
+
/** sets the camera position and rotation in the engine */
|
|
210
|
+
readonly setCameraTransform: {
|
|
211
|
+
readonly name: "SetCameraTransform";
|
|
212
|
+
readonly requestType: typeof SetCameraTransformTestCommand;
|
|
213
|
+
readonly requestStream: false;
|
|
214
|
+
readonly responseType: typeof SetCameraTransformTestCommandResponse;
|
|
215
|
+
readonly responseStream: false;
|
|
216
|
+
readonly options: {};
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
* take a screenshot and compare it with a stored one
|
|
221
|
+
* it hides the explorer hud and ui, primary player and players of avatar scenes
|
|
222
|
+
*/
|
|
223
|
+
readonly takeAndCompareScreenshot: {
|
|
224
|
+
readonly name: "TakeAndCompareScreenshot";
|
|
225
|
+
readonly requestType: typeof TakeAndCompareScreenshotRequest;
|
|
226
|
+
readonly requestStream: false;
|
|
227
|
+
readonly responseType: typeof TakeAndCompareScreenshotResponse;
|
|
228
|
+
readonly responseStream: false;
|
|
229
|
+
readonly options: {};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
234
|
+
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 {
|
|
235
|
+
$case: string;
|
|
236
|
+
} ? {
|
|
237
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
238
|
+
} & {
|
|
239
|
+
$case: T["$case"];
|
|
240
|
+
} : T extends {} ? {
|
|
241
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
242
|
+
} : Partial<T>;
|
|
243
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
244
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
245
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
246
|
+
} & {
|
|
247
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
248
|
+
};
|
|
249
|
+
export {};
|