@dcl/protocol 1.0.0-4722055345.commit-0633ea8 → 1.0.0-47381439163.commit-e9ef0da
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 +296 -13
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +126 -25
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +29 -52
- package/out-js/decentraland/common/colors.gen.js +132 -47
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +27 -20
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +148 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +111 -88
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +56 -252
- package/out-js/decentraland/common/texture.gen.js +262 -111
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +180 -65
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +794 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +323 -37
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +52 -38
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +680 -1733
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +458 -336
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +329 -243
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +227 -169
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +117 -81
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +157 -114
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +279 -177
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +391 -577
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1429 -322
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +130 -412
- package/out-js/decentraland/kernel/apis/runtime.gen.js +492 -269
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +63 -47
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +305 -116
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +83 -61
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +165 -408
- package/out-js/decentraland/kernel/apis/testing.gen.js +668 -195
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +50 -36
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +350 -551
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1905 -264
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +86 -561
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +354 -258
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +233 -1004
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1247 -353
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +153 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +678 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2739 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +147 -538
- package/out-js/decentraland/realm/about.gen.js +580 -248
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +69 -74
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +63 -24
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +72 -22
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +163 -23
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +200 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +51 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +281 -27
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +305 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +82 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +39 -140
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +80 -40
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +81 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +25 -18
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +38 -45
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +172 -22
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +94 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +14 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +77 -7
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +31 -24
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +119 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_configuration.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/explorer_configuration.gen.js +69 -0
- package/out-js/decentraland/sdk/components/explorer_configuration.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +309 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +232 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
- package/out-js/decentraland/sdk/components/global_light.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +60 -21
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +159 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
- package/out-js/decentraland/sdk/components/gltf_node.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 +165 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +50 -3374
- package/out-js/decentraland/sdk/components/material.gen.js +219 -105
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +65 -181
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +253 -129
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +239 -116
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +165 -71
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +45 -26
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +22 -249
- package/out-js/decentraland/sdk/components/raycast.gen.js +124 -52
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +46 -25
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
- package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
- package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +59 -39
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +297 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +203 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1214 -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 +124 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +40 -31
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +52 -30
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +25 -18
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +14 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +72 -26
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +82 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +42 -21
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +28 -64
- package/out-js/decentraland/sdk/components/ui_text.gen.js +127 -25
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +84 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +709 -143
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +70 -24
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7850 -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 +2521 -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 +1892 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9526 -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 +920 -87149
- package/out-js/google/protobuf/descriptor.gen.js +1719 -848
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +23 -16
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → quests.gen.js} +2 -2
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +128 -23
- package/out-ts/decentraland/common/colors.gen.ts +123 -44
- package/out-ts/decentraland/common/content_mapping.gen.ts +19 -19
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +69 -69
- package/out-ts/decentraland/common/texture.gen.ts +235 -87
- package/out-ts/decentraland/common/vectors.gen.ts +165 -61
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +319 -32
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +515 -1895
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +325 -292
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +238 -217
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +141 -141
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +85 -69
- package/out-ts/decentraland/kernel/apis/players.gen.ts +109 -97
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +201 -154
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1418 -284
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +479 -267
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +38 -38
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +276 -99
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +53 -51
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +686 -164
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +34 -32
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2120 -238
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +244 -213
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1205 -326
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +797 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +588 -213
- package/out-ts/decentraland/sdk/components/animator.gen.ts +43 -66
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +69 -22
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +80 -20
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +151 -18
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +237 -0
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +321 -22
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +435 -0
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +98 -45
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +17 -17
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +199 -20
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +91 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +70 -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 +23 -23
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
- package/out-ts/decentraland/sdk/components/explorer_configuration.gen.ts +87 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +59 -19
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +213 -94
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +213 -98
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +211 -96
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +188 -60
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +45 -26
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +110 -35
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +36 -21
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
- package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +56 -38
- package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +24 -23
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +44 -26
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +17 -17
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +79 -25
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +36 -19
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +143 -25
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +772 -113
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +81 -23
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10939 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +1959 -618
- package/out-ts/google/protobuf/empty.gen.ts +15 -15
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/package.json +23 -11
- package/proto/decentraland/common/auth.proto +22 -0
- package/proto/decentraland/common/border_rect.proto +9 -1
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/gradient.proto +16 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +21 -10
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
- package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
- package/proto/decentraland/kernel/apis/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +119 -9
- package/proto/decentraland/kernel/apis/runtime.proto +22 -9
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
- package/proto/decentraland/kernel/apis/testing.proto +45 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +180 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +3 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +73 -0
- package/proto/decentraland/pulse/pulse_client.proto +147 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +94 -0
- package/proto/decentraland/pulse/pulse_server.proto +217 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +69 -4
- package/proto/decentraland/sdk/components/animator.proto +9 -4
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +23 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_movement.proto +63 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +38 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +35 -17
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
- package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +18 -1
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +17 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +12 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/engine_info.proto +17 -0
- package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
- package/proto/decentraland/sdk/components/explorer_configuration.proto +11 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
- package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -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 +16 -4
- package/proto/decentraland/sdk/components/mesh_collider.proto +12 -5
- package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +13 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -0
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +2 -2
- package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +3 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_layout_feedback.proto +28 -0
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +15 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +57 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +8 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/{social/friendships/friendships.proto → social_service/v1/social_service_v1.proto} +73 -28
- package/proto/decentraland/social_service/v2/social_service_v2.proto +769 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/comms.proto +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +2 -0
- package/public/sdk-components.proto +48 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -253
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -351
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
- package/out-js/decentraland/bff/comms_service.gen.js +0 -175
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
- package/out-js/decentraland/bff/topics_service.gen.js +0 -386
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4893
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1399
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -419
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -1058
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1680
- package/proto/buf.yaml +0 -47
- package/proto/decentraland/bff/authentication_service.proto +0 -39
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -80
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
|
@@ -1,8 +1,93 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Vector2, Vector3 } from "../../common/vectors.gen";
|
|
3
4
|
|
|
4
5
|
export const protobufPackage = "decentraland.kernel.apis";
|
|
5
6
|
|
|
7
|
+
export interface TakeAndCompareScreenshotRequest {
|
|
8
|
+
/**
|
|
9
|
+
* the source path in the scene where the screenshot is stored,
|
|
10
|
+
* the snapshot taken is compared with the stored one
|
|
11
|
+
*/
|
|
12
|
+
srcStoredSnapshot: string;
|
|
13
|
+
/** the camera position where is set before and while taking the screenshot, relative to base scene */
|
|
14
|
+
cameraPosition:
|
|
15
|
+
| Vector3
|
|
16
|
+
| undefined;
|
|
17
|
+
/** the camera position where is target to before and while taking the screenshot, relative to base scene */
|
|
18
|
+
cameraTarget:
|
|
19
|
+
| Vector3
|
|
20
|
+
| undefined;
|
|
21
|
+
/** width x height screenshot size */
|
|
22
|
+
screenshotSize: Vector2 | undefined;
|
|
23
|
+
comparisonMethod?: {
|
|
24
|
+
$case: "greyPixelDiff";
|
|
25
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
26
|
+
} | undefined;
|
|
27
|
+
snapshotMode: TakeAndCompareScreenshotRequest_SnapshotMode;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export enum TakeAndCompareScreenshotRequest_SnapshotMode {
|
|
31
|
+
/** SM_3D_AND_UI - only visible 3d scene and ui scene */
|
|
32
|
+
SM_3D_AND_UI = 0,
|
|
33
|
+
/** SM_3D_ONLY - only visible 3d scene */
|
|
34
|
+
SM_3D_ONLY = 1,
|
|
35
|
+
/** SM_UI_ONLY - only visible ui scene */
|
|
36
|
+
SM_UI_ONLY = 2,
|
|
37
|
+
UNRECOGNIZED = -1,
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function takeAndCompareScreenshotRequest_SnapshotModeFromJSON(
|
|
41
|
+
object: any,
|
|
42
|
+
): TakeAndCompareScreenshotRequest_SnapshotMode {
|
|
43
|
+
switch (object) {
|
|
44
|
+
case 0:
|
|
45
|
+
case "SM_3D_AND_UI":
|
|
46
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_AND_UI;
|
|
47
|
+
case 1:
|
|
48
|
+
case "SM_3D_ONLY":
|
|
49
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_ONLY;
|
|
50
|
+
case 2:
|
|
51
|
+
case "SM_UI_ONLY":
|
|
52
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.SM_UI_ONLY;
|
|
53
|
+
case -1:
|
|
54
|
+
case "UNRECOGNIZED":
|
|
55
|
+
default:
|
|
56
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.UNRECOGNIZED;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function takeAndCompareScreenshotRequest_SnapshotModeToJSON(
|
|
61
|
+
object: TakeAndCompareScreenshotRequest_SnapshotMode,
|
|
62
|
+
): string {
|
|
63
|
+
switch (object) {
|
|
64
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_AND_UI:
|
|
65
|
+
return "SM_3D_AND_UI";
|
|
66
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_ONLY:
|
|
67
|
+
return "SM_3D_ONLY";
|
|
68
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.SM_UI_ONLY:
|
|
69
|
+
return "SM_UI_ONLY";
|
|
70
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.UNRECOGNIZED:
|
|
71
|
+
default:
|
|
72
|
+
return "UNRECOGNIZED";
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface TakeAndCompareScreenshotResponse {
|
|
80
|
+
storedSnapshotFound: boolean;
|
|
81
|
+
comparisonMethodResult?: {
|
|
82
|
+
$case: "greyPixelDiff";
|
|
83
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
84
|
+
} | undefined;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
88
|
+
similarity: number;
|
|
89
|
+
}
|
|
90
|
+
|
|
6
91
|
export interface TestResult {
|
|
7
92
|
name: string;
|
|
8
93
|
ok: boolean;
|
|
@@ -51,13 +136,424 @@ export interface SetCameraTransformTestCommand_Quaternion {
|
|
|
51
136
|
export interface SetCameraTransformTestCommandResponse {
|
|
52
137
|
}
|
|
53
138
|
|
|
139
|
+
function createBaseTakeAndCompareScreenshotRequest(): TakeAndCompareScreenshotRequest {
|
|
140
|
+
return {
|
|
141
|
+
srcStoredSnapshot: "",
|
|
142
|
+
cameraPosition: undefined,
|
|
143
|
+
cameraTarget: undefined,
|
|
144
|
+
screenshotSize: undefined,
|
|
145
|
+
comparisonMethod: undefined,
|
|
146
|
+
snapshotMode: 0,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export namespace TakeAndCompareScreenshotRequest {
|
|
151
|
+
export function encode(
|
|
152
|
+
message: TakeAndCompareScreenshotRequest,
|
|
153
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
154
|
+
): _m0.Writer {
|
|
155
|
+
if (message.srcStoredSnapshot !== undefined && message.srcStoredSnapshot !== "") {
|
|
156
|
+
writer.uint32(10).string(message.srcStoredSnapshot);
|
|
157
|
+
}
|
|
158
|
+
if (message.cameraPosition !== undefined) {
|
|
159
|
+
Vector3.encode(message.cameraPosition, writer.uint32(18).fork()).ldelim();
|
|
160
|
+
}
|
|
161
|
+
if (message.cameraTarget !== undefined) {
|
|
162
|
+
Vector3.encode(message.cameraTarget, writer.uint32(26).fork()).ldelim();
|
|
163
|
+
}
|
|
164
|
+
if (message.screenshotSize !== undefined) {
|
|
165
|
+
Vector2.encode(message.screenshotSize, writer.uint32(34).fork()).ldelim();
|
|
166
|
+
}
|
|
167
|
+
switch (message.comparisonMethod?.$case) {
|
|
168
|
+
case "greyPixelDiff":
|
|
169
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.encode(
|
|
170
|
+
message.comparisonMethod.greyPixelDiff,
|
|
171
|
+
writer.uint32(42).fork(),
|
|
172
|
+
).ldelim();
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
if (message.snapshotMode !== undefined && message.snapshotMode !== 0) {
|
|
176
|
+
writer.uint32(48).int32(message.snapshotMode);
|
|
177
|
+
}
|
|
178
|
+
return writer;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TakeAndCompareScreenshotRequest {
|
|
182
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
183
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
184
|
+
const message = createBaseTakeAndCompareScreenshotRequest();
|
|
185
|
+
while (reader.pos < end) {
|
|
186
|
+
const tag = reader.uint32();
|
|
187
|
+
switch (tag >>> 3) {
|
|
188
|
+
case 1:
|
|
189
|
+
if (tag !== 10) {
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
message.srcStoredSnapshot = reader.string();
|
|
194
|
+
continue;
|
|
195
|
+
case 2:
|
|
196
|
+
if (tag !== 18) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
message.cameraPosition = Vector3.decode(reader, reader.uint32());
|
|
201
|
+
continue;
|
|
202
|
+
case 3:
|
|
203
|
+
if (tag !== 26) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
message.cameraTarget = Vector3.decode(reader, reader.uint32());
|
|
208
|
+
continue;
|
|
209
|
+
case 4:
|
|
210
|
+
if (tag !== 34) {
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
message.screenshotSize = Vector2.decode(reader, reader.uint32());
|
|
215
|
+
continue;
|
|
216
|
+
case 5:
|
|
217
|
+
if (tag !== 42) {
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
message.comparisonMethod = {
|
|
222
|
+
$case: "greyPixelDiff",
|
|
223
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.decode(
|
|
224
|
+
reader,
|
|
225
|
+
reader.uint32(),
|
|
226
|
+
),
|
|
227
|
+
};
|
|
228
|
+
continue;
|
|
229
|
+
case 6:
|
|
230
|
+
if (tag !== 48) {
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
message.snapshotMode = reader.int32() as any;
|
|
235
|
+
continue;
|
|
236
|
+
}
|
|
237
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
238
|
+
break;
|
|
239
|
+
}
|
|
240
|
+
reader.skipType(tag & 7);
|
|
241
|
+
}
|
|
242
|
+
return message;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export function fromJSON(object: any): TakeAndCompareScreenshotRequest {
|
|
246
|
+
return {
|
|
247
|
+
srcStoredSnapshot: isSet(object.srcStoredSnapshot) ? String(object.srcStoredSnapshot) : "",
|
|
248
|
+
cameraPosition: isSet(object.cameraPosition) ? Vector3.fromJSON(object.cameraPosition) : undefined,
|
|
249
|
+
cameraTarget: isSet(object.cameraTarget) ? Vector3.fromJSON(object.cameraTarget) : undefined,
|
|
250
|
+
screenshotSize: isSet(object.screenshotSize) ? Vector2.fromJSON(object.screenshotSize) : undefined,
|
|
251
|
+
comparisonMethod: isSet(object.greyPixelDiff)
|
|
252
|
+
? {
|
|
253
|
+
$case: "greyPixelDiff",
|
|
254
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromJSON(object.greyPixelDiff),
|
|
255
|
+
}
|
|
256
|
+
: undefined,
|
|
257
|
+
snapshotMode: isSet(object.snapshotMode)
|
|
258
|
+
? takeAndCompareScreenshotRequest_SnapshotModeFromJSON(object.snapshotMode)
|
|
259
|
+
: 0,
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export function toJSON(message: TakeAndCompareScreenshotRequest): unknown {
|
|
264
|
+
const obj: any = {};
|
|
265
|
+
message.srcStoredSnapshot !== undefined && (obj.srcStoredSnapshot = message.srcStoredSnapshot);
|
|
266
|
+
message.cameraPosition !== undefined &&
|
|
267
|
+
(obj.cameraPosition = message.cameraPosition ? Vector3.toJSON(message.cameraPosition) : undefined);
|
|
268
|
+
message.cameraTarget !== undefined &&
|
|
269
|
+
(obj.cameraTarget = message.cameraTarget ? Vector3.toJSON(message.cameraTarget) : undefined);
|
|
270
|
+
message.screenshotSize !== undefined &&
|
|
271
|
+
(obj.screenshotSize = message.screenshotSize ? Vector2.toJSON(message.screenshotSize) : undefined);
|
|
272
|
+
message.comparisonMethod?.$case === "greyPixelDiff" &&
|
|
273
|
+
(obj.greyPixelDiff = message.comparisonMethod?.greyPixelDiff
|
|
274
|
+
? TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.toJSON(message.comparisonMethod?.greyPixelDiff)
|
|
275
|
+
: undefined);
|
|
276
|
+
message.snapshotMode !== undefined &&
|
|
277
|
+
(obj.snapshotMode = takeAndCompareScreenshotRequest_SnapshotModeToJSON(message.snapshotMode));
|
|
278
|
+
return obj;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export function create<I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest>, I>>(
|
|
282
|
+
base?: I,
|
|
283
|
+
): TakeAndCompareScreenshotRequest {
|
|
284
|
+
return TakeAndCompareScreenshotRequest.fromPartial(base ?? {});
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export function fromPartial<I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest>, I>>(
|
|
288
|
+
object: I,
|
|
289
|
+
): TakeAndCompareScreenshotRequest {
|
|
290
|
+
const message = createBaseTakeAndCompareScreenshotRequest();
|
|
291
|
+
message.srcStoredSnapshot = object.srcStoredSnapshot ?? "";
|
|
292
|
+
message.cameraPosition = (object.cameraPosition !== undefined && object.cameraPosition !== null)
|
|
293
|
+
? Vector3.fromPartial(object.cameraPosition)
|
|
294
|
+
: undefined;
|
|
295
|
+
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
296
|
+
? Vector3.fromPartial(object.cameraTarget)
|
|
297
|
+
: undefined;
|
|
298
|
+
message.screenshotSize = (object.screenshotSize !== undefined && object.screenshotSize !== null)
|
|
299
|
+
? Vector2.fromPartial(object.screenshotSize)
|
|
300
|
+
: undefined;
|
|
301
|
+
if (
|
|
302
|
+
object.comparisonMethod?.$case === "greyPixelDiff" &&
|
|
303
|
+
object.comparisonMethod?.greyPixelDiff !== undefined &&
|
|
304
|
+
object.comparisonMethod?.greyPixelDiff !== null
|
|
305
|
+
) {
|
|
306
|
+
message.comparisonMethod = {
|
|
307
|
+
$case: "greyPixelDiff",
|
|
308
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromPartial(
|
|
309
|
+
object.comparisonMethod.greyPixelDiff,
|
|
310
|
+
),
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
message.snapshotMode = object.snapshotMode ?? 0;
|
|
314
|
+
return message;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
function createBaseTakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff(): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
319
|
+
return {};
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export namespace TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
323
|
+
export function encode(
|
|
324
|
+
_: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff,
|
|
325
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
326
|
+
): _m0.Writer {
|
|
327
|
+
return writer;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export function decode(
|
|
331
|
+
input: _m0.Reader | Uint8Array,
|
|
332
|
+
length?: number,
|
|
333
|
+
): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
334
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
335
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
336
|
+
const message = createBaseTakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff();
|
|
337
|
+
while (reader.pos < end) {
|
|
338
|
+
const tag = reader.uint32();
|
|
339
|
+
switch (tag >>> 3) {
|
|
340
|
+
}
|
|
341
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
reader.skipType(tag & 7);
|
|
345
|
+
}
|
|
346
|
+
return message;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export function fromJSON(_: any): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
350
|
+
return {};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export function toJSON(_: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff): unknown {
|
|
354
|
+
const obj: any = {};
|
|
355
|
+
return obj;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export function create<
|
|
359
|
+
I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff>, I>,
|
|
360
|
+
>(base?: I): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
361
|
+
return TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromPartial(base ?? {});
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export function fromPartial<
|
|
365
|
+
I extends Exact<DeepPartial<TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff>, I>,
|
|
366
|
+
>(_: I): TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff {
|
|
367
|
+
const message = createBaseTakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff();
|
|
368
|
+
return message;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
function createBaseTakeAndCompareScreenshotResponse(): TakeAndCompareScreenshotResponse {
|
|
373
|
+
return { storedSnapshotFound: false, comparisonMethodResult: undefined };
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export namespace TakeAndCompareScreenshotResponse {
|
|
377
|
+
export function encode(
|
|
378
|
+
message: TakeAndCompareScreenshotResponse,
|
|
379
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
380
|
+
): _m0.Writer {
|
|
381
|
+
if (message.storedSnapshotFound === true) {
|
|
382
|
+
writer.uint32(8).bool(message.storedSnapshotFound);
|
|
383
|
+
}
|
|
384
|
+
switch (message.comparisonMethodResult?.$case) {
|
|
385
|
+
case "greyPixelDiff":
|
|
386
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.encode(
|
|
387
|
+
message.comparisonMethodResult.greyPixelDiff,
|
|
388
|
+
writer.uint32(18).fork(),
|
|
389
|
+
).ldelim();
|
|
390
|
+
break;
|
|
391
|
+
}
|
|
392
|
+
return writer;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TakeAndCompareScreenshotResponse {
|
|
396
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
397
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
398
|
+
const message = createBaseTakeAndCompareScreenshotResponse();
|
|
399
|
+
while (reader.pos < end) {
|
|
400
|
+
const tag = reader.uint32();
|
|
401
|
+
switch (tag >>> 3) {
|
|
402
|
+
case 1:
|
|
403
|
+
if (tag !== 8) {
|
|
404
|
+
break;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
message.storedSnapshotFound = reader.bool();
|
|
408
|
+
continue;
|
|
409
|
+
case 2:
|
|
410
|
+
if (tag !== 18) {
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
message.comparisonMethodResult = {
|
|
415
|
+
$case: "greyPixelDiff",
|
|
416
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.decode(
|
|
417
|
+
reader,
|
|
418
|
+
reader.uint32(),
|
|
419
|
+
),
|
|
420
|
+
};
|
|
421
|
+
continue;
|
|
422
|
+
}
|
|
423
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
424
|
+
break;
|
|
425
|
+
}
|
|
426
|
+
reader.skipType(tag & 7);
|
|
427
|
+
}
|
|
428
|
+
return message;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export function fromJSON(object: any): TakeAndCompareScreenshotResponse {
|
|
432
|
+
return {
|
|
433
|
+
storedSnapshotFound: isSet(object.storedSnapshotFound) ? Boolean(object.storedSnapshotFound) : false,
|
|
434
|
+
comparisonMethodResult: isSet(object.greyPixelDiff)
|
|
435
|
+
? {
|
|
436
|
+
$case: "greyPixelDiff",
|
|
437
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromJSON(
|
|
438
|
+
object.greyPixelDiff,
|
|
439
|
+
),
|
|
440
|
+
}
|
|
441
|
+
: undefined,
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export function toJSON(message: TakeAndCompareScreenshotResponse): unknown {
|
|
446
|
+
const obj: any = {};
|
|
447
|
+
message.storedSnapshotFound !== undefined && (obj.storedSnapshotFound = message.storedSnapshotFound);
|
|
448
|
+
message.comparisonMethodResult?.$case === "greyPixelDiff" &&
|
|
449
|
+
(obj.greyPixelDiff = message.comparisonMethodResult?.greyPixelDiff
|
|
450
|
+
? TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.toJSON(
|
|
451
|
+
message.comparisonMethodResult?.greyPixelDiff,
|
|
452
|
+
)
|
|
453
|
+
: undefined);
|
|
454
|
+
return obj;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export function create<I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse>, I>>(
|
|
458
|
+
base?: I,
|
|
459
|
+
): TakeAndCompareScreenshotResponse {
|
|
460
|
+
return TakeAndCompareScreenshotResponse.fromPartial(base ?? {});
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export function fromPartial<I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse>, I>>(
|
|
464
|
+
object: I,
|
|
465
|
+
): TakeAndCompareScreenshotResponse {
|
|
466
|
+
const message = createBaseTakeAndCompareScreenshotResponse();
|
|
467
|
+
message.storedSnapshotFound = object.storedSnapshotFound ?? false;
|
|
468
|
+
if (
|
|
469
|
+
object.comparisonMethodResult?.$case === "greyPixelDiff" &&
|
|
470
|
+
object.comparisonMethodResult?.greyPixelDiff !== undefined &&
|
|
471
|
+
object.comparisonMethodResult?.greyPixelDiff !== null
|
|
472
|
+
) {
|
|
473
|
+
message.comparisonMethodResult = {
|
|
474
|
+
$case: "greyPixelDiff",
|
|
475
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromPartial(
|
|
476
|
+
object.comparisonMethodResult.greyPixelDiff,
|
|
477
|
+
),
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
return message;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
function createBaseTakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult(): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
485
|
+
return { similarity: 0 };
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export namespace TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
489
|
+
export function encode(
|
|
490
|
+
message: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult,
|
|
491
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
492
|
+
): _m0.Writer {
|
|
493
|
+
if (message.similarity !== undefined && message.similarity !== 0) {
|
|
494
|
+
writer.uint32(13).float(message.similarity);
|
|
495
|
+
}
|
|
496
|
+
return writer;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export function decode(
|
|
500
|
+
input: _m0.Reader | Uint8Array,
|
|
501
|
+
length?: number,
|
|
502
|
+
): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
503
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
504
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
505
|
+
const message = createBaseTakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult();
|
|
506
|
+
while (reader.pos < end) {
|
|
507
|
+
const tag = reader.uint32();
|
|
508
|
+
switch (tag >>> 3) {
|
|
509
|
+
case 1:
|
|
510
|
+
if (tag !== 13) {
|
|
511
|
+
break;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
message.similarity = reader.float();
|
|
515
|
+
continue;
|
|
516
|
+
}
|
|
517
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
518
|
+
break;
|
|
519
|
+
}
|
|
520
|
+
reader.skipType(tag & 7);
|
|
521
|
+
}
|
|
522
|
+
return message;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export function fromJSON(object: any): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
526
|
+
return { similarity: isSet(object.similarity) ? Number(object.similarity) : 0 };
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export function toJSON(message: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult): unknown {
|
|
530
|
+
const obj: any = {};
|
|
531
|
+
message.similarity !== undefined && (obj.similarity = message.similarity);
|
|
532
|
+
return obj;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export function create<
|
|
536
|
+
I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult>, I>,
|
|
537
|
+
>(base?: I): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
538
|
+
return TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromPartial(base ?? {});
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export function fromPartial<
|
|
542
|
+
I extends Exact<DeepPartial<TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult>, I>,
|
|
543
|
+
>(object: I): TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult {
|
|
544
|
+
const message = createBaseTakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult();
|
|
545
|
+
message.similarity = object.similarity ?? 0;
|
|
546
|
+
return message;
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
54
550
|
function createBaseTestResult(): TestResult {
|
|
55
551
|
return { name: "", ok: false, error: undefined, stack: undefined, totalFrames: 0, totalTime: 0 };
|
|
56
552
|
}
|
|
57
553
|
|
|
58
|
-
export
|
|
59
|
-
encode(message: TestResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
60
|
-
if (message.name !== "") {
|
|
554
|
+
export namespace TestResult {
|
|
555
|
+
export function encode(message: TestResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
556
|
+
if (message.name !== undefined && message.name !== "") {
|
|
61
557
|
writer.uint32(10).string(message.name);
|
|
62
558
|
}
|
|
63
559
|
if (message.ok === true) {
|
|
@@ -69,16 +565,16 @@ export const TestResult = {
|
|
|
69
565
|
if (message.stack !== undefined) {
|
|
70
566
|
writer.uint32(34).string(message.stack);
|
|
71
567
|
}
|
|
72
|
-
if (message.totalFrames !== 0) {
|
|
568
|
+
if (message.totalFrames !== undefined && message.totalFrames !== 0) {
|
|
73
569
|
writer.uint32(40).uint32(message.totalFrames);
|
|
74
570
|
}
|
|
75
|
-
if (message.totalTime !== 0) {
|
|
571
|
+
if (message.totalTime !== undefined && message.totalTime !== 0) {
|
|
76
572
|
writer.uint32(53).float(message.totalTime);
|
|
77
573
|
}
|
|
78
574
|
return writer;
|
|
79
|
-
}
|
|
575
|
+
}
|
|
80
576
|
|
|
81
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TestResult {
|
|
577
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TestResult {
|
|
82
578
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
83
579
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
84
580
|
const message = createBaseTestResult();
|
|
@@ -86,57 +582,57 @@ export const TestResult = {
|
|
|
86
582
|
const tag = reader.uint32();
|
|
87
583
|
switch (tag >>> 3) {
|
|
88
584
|
case 1:
|
|
89
|
-
if (tag
|
|
585
|
+
if (tag !== 10) {
|
|
90
586
|
break;
|
|
91
587
|
}
|
|
92
588
|
|
|
93
589
|
message.name = reader.string();
|
|
94
590
|
continue;
|
|
95
591
|
case 2:
|
|
96
|
-
if (tag
|
|
592
|
+
if (tag !== 16) {
|
|
97
593
|
break;
|
|
98
594
|
}
|
|
99
595
|
|
|
100
596
|
message.ok = reader.bool();
|
|
101
597
|
continue;
|
|
102
598
|
case 3:
|
|
103
|
-
if (tag
|
|
599
|
+
if (tag !== 26) {
|
|
104
600
|
break;
|
|
105
601
|
}
|
|
106
602
|
|
|
107
603
|
message.error = reader.string();
|
|
108
604
|
continue;
|
|
109
605
|
case 4:
|
|
110
|
-
if (tag
|
|
606
|
+
if (tag !== 34) {
|
|
111
607
|
break;
|
|
112
608
|
}
|
|
113
609
|
|
|
114
610
|
message.stack = reader.string();
|
|
115
611
|
continue;
|
|
116
612
|
case 5:
|
|
117
|
-
if (tag
|
|
613
|
+
if (tag !== 40) {
|
|
118
614
|
break;
|
|
119
615
|
}
|
|
120
616
|
|
|
121
617
|
message.totalFrames = reader.uint32();
|
|
122
618
|
continue;
|
|
123
619
|
case 6:
|
|
124
|
-
if (tag
|
|
620
|
+
if (tag !== 53) {
|
|
125
621
|
break;
|
|
126
622
|
}
|
|
127
623
|
|
|
128
624
|
message.totalTime = reader.float();
|
|
129
625
|
continue;
|
|
130
626
|
}
|
|
131
|
-
if ((tag & 7)
|
|
627
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
132
628
|
break;
|
|
133
629
|
}
|
|
134
630
|
reader.skipType(tag & 7);
|
|
135
631
|
}
|
|
136
632
|
return message;
|
|
137
|
-
}
|
|
633
|
+
}
|
|
138
634
|
|
|
139
|
-
fromJSON(object: any): TestResult {
|
|
635
|
+
export function fromJSON(object: any): TestResult {
|
|
140
636
|
return {
|
|
141
637
|
name: isSet(object.name) ? String(object.name) : "",
|
|
142
638
|
ok: isSet(object.ok) ? Boolean(object.ok) : false,
|
|
@@ -145,9 +641,9 @@ export const TestResult = {
|
|
|
145
641
|
totalFrames: isSet(object.totalFrames) ? Number(object.totalFrames) : 0,
|
|
146
642
|
totalTime: isSet(object.totalTime) ? Number(object.totalTime) : 0,
|
|
147
643
|
};
|
|
148
|
-
}
|
|
644
|
+
}
|
|
149
645
|
|
|
150
|
-
toJSON(message: TestResult): unknown {
|
|
646
|
+
export function toJSON(message: TestResult): unknown {
|
|
151
647
|
const obj: any = {};
|
|
152
648
|
message.name !== undefined && (obj.name = message.name);
|
|
153
649
|
message.ok !== undefined && (obj.ok = message.ok);
|
|
@@ -156,13 +652,13 @@ export const TestResult = {
|
|
|
156
652
|
message.totalFrames !== undefined && (obj.totalFrames = Math.round(message.totalFrames));
|
|
157
653
|
message.totalTime !== undefined && (obj.totalTime = message.totalTime);
|
|
158
654
|
return obj;
|
|
159
|
-
}
|
|
655
|
+
}
|
|
160
656
|
|
|
161
|
-
create<I extends Exact<DeepPartial<TestResult>, I>>(base?: I): TestResult {
|
|
657
|
+
export function create<I extends Exact<DeepPartial<TestResult>, I>>(base?: I): TestResult {
|
|
162
658
|
return TestResult.fromPartial(base ?? {});
|
|
163
|
-
}
|
|
659
|
+
}
|
|
164
660
|
|
|
165
|
-
fromPartial<I extends Exact<DeepPartial<TestResult>, I>>(object: I): TestResult {
|
|
661
|
+
export function fromPartial<I extends Exact<DeepPartial<TestResult>, I>>(object: I): TestResult {
|
|
166
662
|
const message = createBaseTestResult();
|
|
167
663
|
message.name = object.name ?? "";
|
|
168
664
|
message.ok = object.ok ?? false;
|
|
@@ -171,19 +667,19 @@ export const TestResult = {
|
|
|
171
667
|
message.totalFrames = object.totalFrames ?? 0;
|
|
172
668
|
message.totalTime = object.totalTime ?? 0;
|
|
173
669
|
return message;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
176
672
|
|
|
177
673
|
function createBaseTestResultResponse(): TestResultResponse {
|
|
178
674
|
return {};
|
|
179
675
|
}
|
|
180
676
|
|
|
181
|
-
export
|
|
182
|
-
encode(_: TestResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
677
|
+
export namespace TestResultResponse {
|
|
678
|
+
export function encode(_: TestResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
183
679
|
return writer;
|
|
184
|
-
}
|
|
680
|
+
}
|
|
185
681
|
|
|
186
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TestResultResponse {
|
|
682
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TestResultResponse {
|
|
187
683
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
188
684
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
189
685
|
const message = createBaseTestResultResponse();
|
|
@@ -191,46 +687,46 @@ export const TestResultResponse = {
|
|
|
191
687
|
const tag = reader.uint32();
|
|
192
688
|
switch (tag >>> 3) {
|
|
193
689
|
}
|
|
194
|
-
if ((tag & 7)
|
|
690
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
195
691
|
break;
|
|
196
692
|
}
|
|
197
693
|
reader.skipType(tag & 7);
|
|
198
694
|
}
|
|
199
695
|
return message;
|
|
200
|
-
}
|
|
696
|
+
}
|
|
201
697
|
|
|
202
|
-
fromJSON(_: any): TestResultResponse {
|
|
698
|
+
export function fromJSON(_: any): TestResultResponse {
|
|
203
699
|
return {};
|
|
204
|
-
}
|
|
700
|
+
}
|
|
205
701
|
|
|
206
|
-
toJSON(_: TestResultResponse): unknown {
|
|
702
|
+
export function toJSON(_: TestResultResponse): unknown {
|
|
207
703
|
const obj: any = {};
|
|
208
704
|
return obj;
|
|
209
|
-
}
|
|
705
|
+
}
|
|
210
706
|
|
|
211
|
-
create<I extends Exact<DeepPartial<TestResultResponse>, I>>(base?: I): TestResultResponse {
|
|
707
|
+
export function create<I extends Exact<DeepPartial<TestResultResponse>, I>>(base?: I): TestResultResponse {
|
|
212
708
|
return TestResultResponse.fromPartial(base ?? {});
|
|
213
|
-
}
|
|
709
|
+
}
|
|
214
710
|
|
|
215
|
-
fromPartial<I extends Exact<DeepPartial<TestResultResponse>, I>>(_: I): TestResultResponse {
|
|
711
|
+
export function fromPartial<I extends Exact<DeepPartial<TestResultResponse>, I>>(_: I): TestResultResponse {
|
|
216
712
|
const message = createBaseTestResultResponse();
|
|
217
713
|
return message;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
220
716
|
|
|
221
717
|
function createBaseTestPlan(): TestPlan {
|
|
222
718
|
return { tests: [] };
|
|
223
719
|
}
|
|
224
720
|
|
|
225
|
-
export
|
|
226
|
-
encode(message: TestPlan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
227
|
-
for (const v of message.tests) {
|
|
721
|
+
export namespace TestPlan {
|
|
722
|
+
export function encode(message: TestPlan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
723
|
+
for (const v of message.tests ?? []) {
|
|
228
724
|
TestPlan_TestPlanEntry.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
229
725
|
}
|
|
230
726
|
return writer;
|
|
231
|
-
}
|
|
727
|
+
}
|
|
232
728
|
|
|
233
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TestPlan {
|
|
729
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TestPlan {
|
|
234
730
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
235
731
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
236
732
|
const message = createBaseTestPlan();
|
|
@@ -238,28 +734,28 @@ export const TestPlan = {
|
|
|
238
734
|
const tag = reader.uint32();
|
|
239
735
|
switch (tag >>> 3) {
|
|
240
736
|
case 1:
|
|
241
|
-
if (tag
|
|
737
|
+
if (tag !== 10) {
|
|
242
738
|
break;
|
|
243
739
|
}
|
|
244
740
|
|
|
245
741
|
message.tests.push(TestPlan_TestPlanEntry.decode(reader, reader.uint32()));
|
|
246
742
|
continue;
|
|
247
743
|
}
|
|
248
|
-
if ((tag & 7)
|
|
744
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
249
745
|
break;
|
|
250
746
|
}
|
|
251
747
|
reader.skipType(tag & 7);
|
|
252
748
|
}
|
|
253
749
|
return message;
|
|
254
|
-
}
|
|
750
|
+
}
|
|
255
751
|
|
|
256
|
-
fromJSON(object: any): TestPlan {
|
|
752
|
+
export function fromJSON(object: any): TestPlan {
|
|
257
753
|
return {
|
|
258
754
|
tests: Array.isArray(object?.tests) ? object.tests.map((e: any) => TestPlan_TestPlanEntry.fromJSON(e)) : [],
|
|
259
755
|
};
|
|
260
|
-
}
|
|
756
|
+
}
|
|
261
757
|
|
|
262
|
-
toJSON(message: TestPlan): unknown {
|
|
758
|
+
export function toJSON(message: TestPlan): unknown {
|
|
263
759
|
const obj: any = {};
|
|
264
760
|
if (message.tests) {
|
|
265
761
|
obj.tests = message.tests.map((e) => e ? TestPlan_TestPlanEntry.toJSON(e) : undefined);
|
|
@@ -267,32 +763,32 @@ export const TestPlan = {
|
|
|
267
763
|
obj.tests = [];
|
|
268
764
|
}
|
|
269
765
|
return obj;
|
|
270
|
-
}
|
|
766
|
+
}
|
|
271
767
|
|
|
272
|
-
create<I extends Exact<DeepPartial<TestPlan>, I>>(base?: I): TestPlan {
|
|
768
|
+
export function create<I extends Exact<DeepPartial<TestPlan>, I>>(base?: I): TestPlan {
|
|
273
769
|
return TestPlan.fromPartial(base ?? {});
|
|
274
|
-
}
|
|
770
|
+
}
|
|
275
771
|
|
|
276
|
-
fromPartial<I extends Exact<DeepPartial<TestPlan>, I>>(object: I): TestPlan {
|
|
772
|
+
export function fromPartial<I extends Exact<DeepPartial<TestPlan>, I>>(object: I): TestPlan {
|
|
277
773
|
const message = createBaseTestPlan();
|
|
278
774
|
message.tests = object.tests?.map((e) => TestPlan_TestPlanEntry.fromPartial(e)) || [];
|
|
279
775
|
return message;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
282
778
|
|
|
283
779
|
function createBaseTestPlan_TestPlanEntry(): TestPlan_TestPlanEntry {
|
|
284
780
|
return { name: "" };
|
|
285
781
|
}
|
|
286
782
|
|
|
287
|
-
export
|
|
288
|
-
encode(message: TestPlan_TestPlanEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
289
|
-
if (message.name !== "") {
|
|
783
|
+
export namespace TestPlan_TestPlanEntry {
|
|
784
|
+
export function encode(message: TestPlan_TestPlanEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
785
|
+
if (message.name !== undefined && message.name !== "") {
|
|
290
786
|
writer.uint32(10).string(message.name);
|
|
291
787
|
}
|
|
292
788
|
return writer;
|
|
293
|
-
}
|
|
789
|
+
}
|
|
294
790
|
|
|
295
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TestPlan_TestPlanEntry {
|
|
791
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TestPlan_TestPlanEntry {
|
|
296
792
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
297
793
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
298
794
|
const message = createBaseTestPlan_TestPlanEntry();
|
|
@@ -300,52 +796,54 @@ export const TestPlan_TestPlanEntry = {
|
|
|
300
796
|
const tag = reader.uint32();
|
|
301
797
|
switch (tag >>> 3) {
|
|
302
798
|
case 1:
|
|
303
|
-
if (tag
|
|
799
|
+
if (tag !== 10) {
|
|
304
800
|
break;
|
|
305
801
|
}
|
|
306
802
|
|
|
307
803
|
message.name = reader.string();
|
|
308
804
|
continue;
|
|
309
805
|
}
|
|
310
|
-
if ((tag & 7)
|
|
806
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
311
807
|
break;
|
|
312
808
|
}
|
|
313
809
|
reader.skipType(tag & 7);
|
|
314
810
|
}
|
|
315
811
|
return message;
|
|
316
|
-
}
|
|
812
|
+
}
|
|
317
813
|
|
|
318
|
-
fromJSON(object: any): TestPlan_TestPlanEntry {
|
|
814
|
+
export function fromJSON(object: any): TestPlan_TestPlanEntry {
|
|
319
815
|
return { name: isSet(object.name) ? String(object.name) : "" };
|
|
320
|
-
}
|
|
816
|
+
}
|
|
321
817
|
|
|
322
|
-
toJSON(message: TestPlan_TestPlanEntry): unknown {
|
|
818
|
+
export function toJSON(message: TestPlan_TestPlanEntry): unknown {
|
|
323
819
|
const obj: any = {};
|
|
324
820
|
message.name !== undefined && (obj.name = message.name);
|
|
325
821
|
return obj;
|
|
326
|
-
}
|
|
822
|
+
}
|
|
327
823
|
|
|
328
|
-
create<I extends Exact<DeepPartial<TestPlan_TestPlanEntry>, I>>(base?: I): TestPlan_TestPlanEntry {
|
|
824
|
+
export function create<I extends Exact<DeepPartial<TestPlan_TestPlanEntry>, I>>(base?: I): TestPlan_TestPlanEntry {
|
|
329
825
|
return TestPlan_TestPlanEntry.fromPartial(base ?? {});
|
|
330
|
-
}
|
|
826
|
+
}
|
|
331
827
|
|
|
332
|
-
fromPartial<I extends Exact<DeepPartial<TestPlan_TestPlanEntry>, I>>(
|
|
828
|
+
export function fromPartial<I extends Exact<DeepPartial<TestPlan_TestPlanEntry>, I>>(
|
|
829
|
+
object: I,
|
|
830
|
+
): TestPlan_TestPlanEntry {
|
|
333
831
|
const message = createBaseTestPlan_TestPlanEntry();
|
|
334
832
|
message.name = object.name ?? "";
|
|
335
833
|
return message;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
834
|
+
}
|
|
835
|
+
}
|
|
338
836
|
|
|
339
837
|
function createBaseTestPlanResponse(): TestPlanResponse {
|
|
340
838
|
return {};
|
|
341
839
|
}
|
|
342
840
|
|
|
343
|
-
export
|
|
344
|
-
encode(_: TestPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
841
|
+
export namespace TestPlanResponse {
|
|
842
|
+
export function encode(_: TestPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
345
843
|
return writer;
|
|
346
|
-
}
|
|
844
|
+
}
|
|
347
845
|
|
|
348
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TestPlanResponse {
|
|
846
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): TestPlanResponse {
|
|
349
847
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
350
848
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
351
849
|
const message = createBaseTestPlanResponse();
|
|
@@ -353,39 +851,39 @@ export const TestPlanResponse = {
|
|
|
353
851
|
const tag = reader.uint32();
|
|
354
852
|
switch (tag >>> 3) {
|
|
355
853
|
}
|
|
356
|
-
if ((tag & 7)
|
|
854
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
357
855
|
break;
|
|
358
856
|
}
|
|
359
857
|
reader.skipType(tag & 7);
|
|
360
858
|
}
|
|
361
859
|
return message;
|
|
362
|
-
}
|
|
860
|
+
}
|
|
363
861
|
|
|
364
|
-
fromJSON(_: any): TestPlanResponse {
|
|
862
|
+
export function fromJSON(_: any): TestPlanResponse {
|
|
365
863
|
return {};
|
|
366
|
-
}
|
|
864
|
+
}
|
|
367
865
|
|
|
368
|
-
toJSON(_: TestPlanResponse): unknown {
|
|
866
|
+
export function toJSON(_: TestPlanResponse): unknown {
|
|
369
867
|
const obj: any = {};
|
|
370
868
|
return obj;
|
|
371
|
-
}
|
|
869
|
+
}
|
|
372
870
|
|
|
373
|
-
create<I extends Exact<DeepPartial<TestPlanResponse>, I>>(base?: I): TestPlanResponse {
|
|
871
|
+
export function create<I extends Exact<DeepPartial<TestPlanResponse>, I>>(base?: I): TestPlanResponse {
|
|
374
872
|
return TestPlanResponse.fromPartial(base ?? {});
|
|
375
|
-
}
|
|
873
|
+
}
|
|
376
874
|
|
|
377
|
-
fromPartial<I extends Exact<DeepPartial<TestPlanResponse>, I>>(_: I): TestPlanResponse {
|
|
875
|
+
export function fromPartial<I extends Exact<DeepPartial<TestPlanResponse>, I>>(_: I): TestPlanResponse {
|
|
378
876
|
const message = createBaseTestPlanResponse();
|
|
379
877
|
return message;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
878
|
+
}
|
|
879
|
+
}
|
|
382
880
|
|
|
383
881
|
function createBaseSetCameraTransformTestCommand(): SetCameraTransformTestCommand {
|
|
384
882
|
return { position: undefined, rotation: undefined };
|
|
385
883
|
}
|
|
386
884
|
|
|
387
|
-
export
|
|
388
|
-
encode(message: SetCameraTransformTestCommand, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
885
|
+
export namespace SetCameraTransformTestCommand {
|
|
886
|
+
export function encode(message: SetCameraTransformTestCommand, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
389
887
|
if (message.position !== undefined) {
|
|
390
888
|
SetCameraTransformTestCommand_Vector3.encode(message.position, writer.uint32(10).fork()).ldelim();
|
|
391
889
|
}
|
|
@@ -393,9 +891,9 @@ export const SetCameraTransformTestCommand = {
|
|
|
393
891
|
SetCameraTransformTestCommand_Quaternion.encode(message.rotation, writer.uint32(18).fork()).ldelim();
|
|
394
892
|
}
|
|
395
893
|
return writer;
|
|
396
|
-
}
|
|
894
|
+
}
|
|
397
895
|
|
|
398
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand {
|
|
896
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand {
|
|
399
897
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
400
898
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
401
899
|
const message = createBaseSetCameraTransformTestCommand();
|
|
@@ -403,49 +901,51 @@ export const SetCameraTransformTestCommand = {
|
|
|
403
901
|
const tag = reader.uint32();
|
|
404
902
|
switch (tag >>> 3) {
|
|
405
903
|
case 1:
|
|
406
|
-
if (tag
|
|
904
|
+
if (tag !== 10) {
|
|
407
905
|
break;
|
|
408
906
|
}
|
|
409
907
|
|
|
410
908
|
message.position = SetCameraTransformTestCommand_Vector3.decode(reader, reader.uint32());
|
|
411
909
|
continue;
|
|
412
910
|
case 2:
|
|
413
|
-
if (tag
|
|
911
|
+
if (tag !== 18) {
|
|
414
912
|
break;
|
|
415
913
|
}
|
|
416
914
|
|
|
417
915
|
message.rotation = SetCameraTransformTestCommand_Quaternion.decode(reader, reader.uint32());
|
|
418
916
|
continue;
|
|
419
917
|
}
|
|
420
|
-
if ((tag & 7)
|
|
918
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
421
919
|
break;
|
|
422
920
|
}
|
|
423
921
|
reader.skipType(tag & 7);
|
|
424
922
|
}
|
|
425
923
|
return message;
|
|
426
|
-
}
|
|
924
|
+
}
|
|
427
925
|
|
|
428
|
-
fromJSON(object: any): SetCameraTransformTestCommand {
|
|
926
|
+
export function fromJSON(object: any): SetCameraTransformTestCommand {
|
|
429
927
|
return {
|
|
430
928
|
position: isSet(object.position) ? SetCameraTransformTestCommand_Vector3.fromJSON(object.position) : undefined,
|
|
431
929
|
rotation: isSet(object.rotation) ? SetCameraTransformTestCommand_Quaternion.fromJSON(object.rotation) : undefined,
|
|
432
930
|
};
|
|
433
|
-
}
|
|
931
|
+
}
|
|
434
932
|
|
|
435
|
-
toJSON(message: SetCameraTransformTestCommand): unknown {
|
|
933
|
+
export function toJSON(message: SetCameraTransformTestCommand): unknown {
|
|
436
934
|
const obj: any = {};
|
|
437
935
|
message.position !== undefined &&
|
|
438
936
|
(obj.position = message.position ? SetCameraTransformTestCommand_Vector3.toJSON(message.position) : undefined);
|
|
439
937
|
message.rotation !== undefined &&
|
|
440
938
|
(obj.rotation = message.rotation ? SetCameraTransformTestCommand_Quaternion.toJSON(message.rotation) : undefined);
|
|
441
939
|
return obj;
|
|
442
|
-
}
|
|
940
|
+
}
|
|
443
941
|
|
|
444
|
-
create<I extends Exact<DeepPartial<SetCameraTransformTestCommand>, I>>(
|
|
942
|
+
export function create<I extends Exact<DeepPartial<SetCameraTransformTestCommand>, I>>(
|
|
943
|
+
base?: I,
|
|
944
|
+
): SetCameraTransformTestCommand {
|
|
445
945
|
return SetCameraTransformTestCommand.fromPartial(base ?? {});
|
|
446
|
-
}
|
|
946
|
+
}
|
|
447
947
|
|
|
448
|
-
fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand>, I>>(
|
|
948
|
+
export function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand>, I>>(
|
|
449
949
|
object: I,
|
|
450
950
|
): SetCameraTransformTestCommand {
|
|
451
951
|
const message = createBaseSetCameraTransformTestCommand();
|
|
@@ -456,28 +956,31 @@ export const SetCameraTransformTestCommand = {
|
|
|
456
956
|
? SetCameraTransformTestCommand_Quaternion.fromPartial(object.rotation)
|
|
457
957
|
: undefined;
|
|
458
958
|
return message;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
959
|
+
}
|
|
960
|
+
}
|
|
461
961
|
|
|
462
962
|
function createBaseSetCameraTransformTestCommand_Vector3(): SetCameraTransformTestCommand_Vector3 {
|
|
463
963
|
return { x: 0, y: 0, z: 0 };
|
|
464
964
|
}
|
|
465
965
|
|
|
466
|
-
export
|
|
467
|
-
|
|
468
|
-
|
|
966
|
+
export namespace SetCameraTransformTestCommand_Vector3 {
|
|
967
|
+
export function encode(
|
|
968
|
+
message: SetCameraTransformTestCommand_Vector3,
|
|
969
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
970
|
+
): _m0.Writer {
|
|
971
|
+
if (message.x !== undefined && message.x !== 0) {
|
|
469
972
|
writer.uint32(13).float(message.x);
|
|
470
973
|
}
|
|
471
|
-
if (message.y !== 0) {
|
|
974
|
+
if (message.y !== undefined && message.y !== 0) {
|
|
472
975
|
writer.uint32(21).float(message.y);
|
|
473
976
|
}
|
|
474
|
-
if (message.z !== 0) {
|
|
977
|
+
if (message.z !== undefined && message.z !== 0) {
|
|
475
978
|
writer.uint32(29).float(message.z);
|
|
476
979
|
}
|
|
477
980
|
return writer;
|
|
478
|
-
}
|
|
981
|
+
}
|
|
479
982
|
|
|
480
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand_Vector3 {
|
|
983
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand_Vector3 {
|
|
481
984
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
482
985
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
483
986
|
const message = createBaseSetCameraTransformTestCommand_Vector3();
|
|
@@ -485,58 +988,58 @@ export const SetCameraTransformTestCommand_Vector3 = {
|
|
|
485
988
|
const tag = reader.uint32();
|
|
486
989
|
switch (tag >>> 3) {
|
|
487
990
|
case 1:
|
|
488
|
-
if (tag
|
|
991
|
+
if (tag !== 13) {
|
|
489
992
|
break;
|
|
490
993
|
}
|
|
491
994
|
|
|
492
995
|
message.x = reader.float();
|
|
493
996
|
continue;
|
|
494
997
|
case 2:
|
|
495
|
-
if (tag
|
|
998
|
+
if (tag !== 21) {
|
|
496
999
|
break;
|
|
497
1000
|
}
|
|
498
1001
|
|
|
499
1002
|
message.y = reader.float();
|
|
500
1003
|
continue;
|
|
501
1004
|
case 3:
|
|
502
|
-
if (tag
|
|
1005
|
+
if (tag !== 29) {
|
|
503
1006
|
break;
|
|
504
1007
|
}
|
|
505
1008
|
|
|
506
1009
|
message.z = reader.float();
|
|
507
1010
|
continue;
|
|
508
1011
|
}
|
|
509
|
-
if ((tag & 7)
|
|
1012
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
510
1013
|
break;
|
|
511
1014
|
}
|
|
512
1015
|
reader.skipType(tag & 7);
|
|
513
1016
|
}
|
|
514
1017
|
return message;
|
|
515
|
-
}
|
|
1018
|
+
}
|
|
516
1019
|
|
|
517
|
-
fromJSON(object: any): SetCameraTransformTestCommand_Vector3 {
|
|
1020
|
+
export function fromJSON(object: any): SetCameraTransformTestCommand_Vector3 {
|
|
518
1021
|
return {
|
|
519
1022
|
x: isSet(object.x) ? Number(object.x) : 0,
|
|
520
1023
|
y: isSet(object.y) ? Number(object.y) : 0,
|
|
521
1024
|
z: isSet(object.z) ? Number(object.z) : 0,
|
|
522
1025
|
};
|
|
523
|
-
}
|
|
1026
|
+
}
|
|
524
1027
|
|
|
525
|
-
toJSON(message: SetCameraTransformTestCommand_Vector3): unknown {
|
|
1028
|
+
export function toJSON(message: SetCameraTransformTestCommand_Vector3): unknown {
|
|
526
1029
|
const obj: any = {};
|
|
527
1030
|
message.x !== undefined && (obj.x = message.x);
|
|
528
1031
|
message.y !== undefined && (obj.y = message.y);
|
|
529
1032
|
message.z !== undefined && (obj.z = message.z);
|
|
530
1033
|
return obj;
|
|
531
|
-
}
|
|
1034
|
+
}
|
|
532
1035
|
|
|
533
|
-
create<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Vector3>, I>>(
|
|
1036
|
+
export function create<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Vector3>, I>>(
|
|
534
1037
|
base?: I,
|
|
535
1038
|
): SetCameraTransformTestCommand_Vector3 {
|
|
536
1039
|
return SetCameraTransformTestCommand_Vector3.fromPartial(base ?? {});
|
|
537
|
-
}
|
|
1040
|
+
}
|
|
538
1041
|
|
|
539
|
-
fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Vector3>, I>>(
|
|
1042
|
+
export function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Vector3>, I>>(
|
|
540
1043
|
object: I,
|
|
541
1044
|
): SetCameraTransformTestCommand_Vector3 {
|
|
542
1045
|
const message = createBaseSetCameraTransformTestCommand_Vector3();
|
|
@@ -544,31 +1047,34 @@ export const SetCameraTransformTestCommand_Vector3 = {
|
|
|
544
1047
|
message.y = object.y ?? 0;
|
|
545
1048
|
message.z = object.z ?? 0;
|
|
546
1049
|
return message;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
549
1052
|
|
|
550
1053
|
function createBaseSetCameraTransformTestCommand_Quaternion(): SetCameraTransformTestCommand_Quaternion {
|
|
551
1054
|
return { x: 0, y: 0, z: 0, w: 0 };
|
|
552
1055
|
}
|
|
553
1056
|
|
|
554
|
-
export
|
|
555
|
-
|
|
556
|
-
|
|
1057
|
+
export namespace SetCameraTransformTestCommand_Quaternion {
|
|
1058
|
+
export function encode(
|
|
1059
|
+
message: SetCameraTransformTestCommand_Quaternion,
|
|
1060
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
1061
|
+
): _m0.Writer {
|
|
1062
|
+
if (message.x !== undefined && message.x !== 0) {
|
|
557
1063
|
writer.uint32(13).float(message.x);
|
|
558
1064
|
}
|
|
559
|
-
if (message.y !== 0) {
|
|
1065
|
+
if (message.y !== undefined && message.y !== 0) {
|
|
560
1066
|
writer.uint32(21).float(message.y);
|
|
561
1067
|
}
|
|
562
|
-
if (message.z !== 0) {
|
|
1068
|
+
if (message.z !== undefined && message.z !== 0) {
|
|
563
1069
|
writer.uint32(29).float(message.z);
|
|
564
1070
|
}
|
|
565
|
-
if (message.w !== 0) {
|
|
1071
|
+
if (message.w !== undefined && message.w !== 0) {
|
|
566
1072
|
writer.uint32(37).float(message.w);
|
|
567
1073
|
}
|
|
568
1074
|
return writer;
|
|
569
|
-
}
|
|
1075
|
+
}
|
|
570
1076
|
|
|
571
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand_Quaternion {
|
|
1077
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommand_Quaternion {
|
|
572
1078
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
573
1079
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
574
1080
|
const message = createBaseSetCameraTransformTestCommand_Quaternion();
|
|
@@ -576,67 +1082,67 @@ export const SetCameraTransformTestCommand_Quaternion = {
|
|
|
576
1082
|
const tag = reader.uint32();
|
|
577
1083
|
switch (tag >>> 3) {
|
|
578
1084
|
case 1:
|
|
579
|
-
if (tag
|
|
1085
|
+
if (tag !== 13) {
|
|
580
1086
|
break;
|
|
581
1087
|
}
|
|
582
1088
|
|
|
583
1089
|
message.x = reader.float();
|
|
584
1090
|
continue;
|
|
585
1091
|
case 2:
|
|
586
|
-
if (tag
|
|
1092
|
+
if (tag !== 21) {
|
|
587
1093
|
break;
|
|
588
1094
|
}
|
|
589
1095
|
|
|
590
1096
|
message.y = reader.float();
|
|
591
1097
|
continue;
|
|
592
1098
|
case 3:
|
|
593
|
-
if (tag
|
|
1099
|
+
if (tag !== 29) {
|
|
594
1100
|
break;
|
|
595
1101
|
}
|
|
596
1102
|
|
|
597
1103
|
message.z = reader.float();
|
|
598
1104
|
continue;
|
|
599
1105
|
case 4:
|
|
600
|
-
if (tag
|
|
1106
|
+
if (tag !== 37) {
|
|
601
1107
|
break;
|
|
602
1108
|
}
|
|
603
1109
|
|
|
604
1110
|
message.w = reader.float();
|
|
605
1111
|
continue;
|
|
606
1112
|
}
|
|
607
|
-
if ((tag & 7)
|
|
1113
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
608
1114
|
break;
|
|
609
1115
|
}
|
|
610
1116
|
reader.skipType(tag & 7);
|
|
611
1117
|
}
|
|
612
1118
|
return message;
|
|
613
|
-
}
|
|
1119
|
+
}
|
|
614
1120
|
|
|
615
|
-
fromJSON(object: any): SetCameraTransformTestCommand_Quaternion {
|
|
1121
|
+
export function fromJSON(object: any): SetCameraTransformTestCommand_Quaternion {
|
|
616
1122
|
return {
|
|
617
1123
|
x: isSet(object.x) ? Number(object.x) : 0,
|
|
618
1124
|
y: isSet(object.y) ? Number(object.y) : 0,
|
|
619
1125
|
z: isSet(object.z) ? Number(object.z) : 0,
|
|
620
1126
|
w: isSet(object.w) ? Number(object.w) : 0,
|
|
621
1127
|
};
|
|
622
|
-
}
|
|
1128
|
+
}
|
|
623
1129
|
|
|
624
|
-
toJSON(message: SetCameraTransformTestCommand_Quaternion): unknown {
|
|
1130
|
+
export function toJSON(message: SetCameraTransformTestCommand_Quaternion): unknown {
|
|
625
1131
|
const obj: any = {};
|
|
626
1132
|
message.x !== undefined && (obj.x = message.x);
|
|
627
1133
|
message.y !== undefined && (obj.y = message.y);
|
|
628
1134
|
message.z !== undefined && (obj.z = message.z);
|
|
629
1135
|
message.w !== undefined && (obj.w = message.w);
|
|
630
1136
|
return obj;
|
|
631
|
-
}
|
|
1137
|
+
}
|
|
632
1138
|
|
|
633
|
-
create<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Quaternion>, I>>(
|
|
1139
|
+
export function create<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Quaternion>, I>>(
|
|
634
1140
|
base?: I,
|
|
635
1141
|
): SetCameraTransformTestCommand_Quaternion {
|
|
636
1142
|
return SetCameraTransformTestCommand_Quaternion.fromPartial(base ?? {});
|
|
637
|
-
}
|
|
1143
|
+
}
|
|
638
1144
|
|
|
639
|
-
fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Quaternion>, I>>(
|
|
1145
|
+
export function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommand_Quaternion>, I>>(
|
|
640
1146
|
object: I,
|
|
641
1147
|
): SetCameraTransformTestCommand_Quaternion {
|
|
642
1148
|
const message = createBaseSetCameraTransformTestCommand_Quaternion();
|
|
@@ -645,19 +1151,22 @@ export const SetCameraTransformTestCommand_Quaternion = {
|
|
|
645
1151
|
message.z = object.z ?? 0;
|
|
646
1152
|
message.w = object.w ?? 0;
|
|
647
1153
|
return message;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
650
1156
|
|
|
651
1157
|
function createBaseSetCameraTransformTestCommandResponse(): SetCameraTransformTestCommandResponse {
|
|
652
1158
|
return {};
|
|
653
1159
|
}
|
|
654
1160
|
|
|
655
|
-
export
|
|
656
|
-
|
|
1161
|
+
export namespace SetCameraTransformTestCommandResponse {
|
|
1162
|
+
export function encode(
|
|
1163
|
+
_: SetCameraTransformTestCommandResponse,
|
|
1164
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
1165
|
+
): _m0.Writer {
|
|
657
1166
|
return writer;
|
|
658
|
-
}
|
|
1167
|
+
}
|
|
659
1168
|
|
|
660
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommandResponse {
|
|
1169
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SetCameraTransformTestCommandResponse {
|
|
661
1170
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
662
1171
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
663
1172
|
const message = createBaseSetCameraTransformTestCommandResponse();
|
|
@@ -665,36 +1174,36 @@ export const SetCameraTransformTestCommandResponse = {
|
|
|
665
1174
|
const tag = reader.uint32();
|
|
666
1175
|
switch (tag >>> 3) {
|
|
667
1176
|
}
|
|
668
|
-
if ((tag & 7)
|
|
1177
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
669
1178
|
break;
|
|
670
1179
|
}
|
|
671
1180
|
reader.skipType(tag & 7);
|
|
672
1181
|
}
|
|
673
1182
|
return message;
|
|
674
|
-
}
|
|
1183
|
+
}
|
|
675
1184
|
|
|
676
|
-
fromJSON(_: any): SetCameraTransformTestCommandResponse {
|
|
1185
|
+
export function fromJSON(_: any): SetCameraTransformTestCommandResponse {
|
|
677
1186
|
return {};
|
|
678
|
-
}
|
|
1187
|
+
}
|
|
679
1188
|
|
|
680
|
-
toJSON(_: SetCameraTransformTestCommandResponse): unknown {
|
|
1189
|
+
export function toJSON(_: SetCameraTransformTestCommandResponse): unknown {
|
|
681
1190
|
const obj: any = {};
|
|
682
1191
|
return obj;
|
|
683
|
-
}
|
|
1192
|
+
}
|
|
684
1193
|
|
|
685
|
-
create<I extends Exact<DeepPartial<SetCameraTransformTestCommandResponse>, I>>(
|
|
1194
|
+
export function create<I extends Exact<DeepPartial<SetCameraTransformTestCommandResponse>, I>>(
|
|
686
1195
|
base?: I,
|
|
687
1196
|
): SetCameraTransformTestCommandResponse {
|
|
688
1197
|
return SetCameraTransformTestCommandResponse.fromPartial(base ?? {});
|
|
689
|
-
}
|
|
1198
|
+
}
|
|
690
1199
|
|
|
691
|
-
fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommandResponse>, I>>(
|
|
1200
|
+
export function fromPartial<I extends Exact<DeepPartial<SetCameraTransformTestCommandResponse>, I>>(
|
|
692
1201
|
_: I,
|
|
693
1202
|
): SetCameraTransformTestCommandResponse {
|
|
694
1203
|
const message = createBaseSetCameraTransformTestCommandResponse();
|
|
695
1204
|
return message;
|
|
696
|
-
}
|
|
697
|
-
}
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
698
1207
|
|
|
699
1208
|
export type TestingServiceDefinition = typeof TestingServiceDefinition;
|
|
700
1209
|
export const TestingServiceDefinition = {
|
|
@@ -728,6 +1237,19 @@ export const TestingServiceDefinition = {
|
|
|
728
1237
|
responseStream: false,
|
|
729
1238
|
options: {},
|
|
730
1239
|
},
|
|
1240
|
+
/**
|
|
1241
|
+
* @internal
|
|
1242
|
+
* take a screenshot and compare it with a stored one
|
|
1243
|
+
* it hides the explorer hud and ui, primary player and players of avatar scenes
|
|
1244
|
+
*/
|
|
1245
|
+
takeAndCompareScreenshot: {
|
|
1246
|
+
name: "TakeAndCompareScreenshot",
|
|
1247
|
+
requestType: TakeAndCompareScreenshotRequest,
|
|
1248
|
+
requestStream: false,
|
|
1249
|
+
responseType: TakeAndCompareScreenshotResponse,
|
|
1250
|
+
responseStream: false,
|
|
1251
|
+
options: {},
|
|
1252
|
+
},
|
|
731
1253
|
},
|
|
732
1254
|
} as const;
|
|
733
1255
|
|