@dcl/protocol 1.0.0-4732850725.commit-c48ea0a → 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 +17 -18
- package/out-js/decentraland/sdk/components/billboard.gen.js +45 -24
- 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 +45 -21
- 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 +9 -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
|
@@ -11,58 +11,35 @@ export interface Color4 {
|
|
|
11
11
|
b: number;
|
|
12
12
|
a: number;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
create<I extends {
|
|
44
|
-
r?: number | undefined;
|
|
45
|
-
g?: number | undefined;
|
|
46
|
-
b?: number | undefined;
|
|
47
|
-
a?: number | undefined;
|
|
48
|
-
} & {
|
|
49
|
-
r?: number | undefined;
|
|
50
|
-
g?: number | undefined;
|
|
51
|
-
b?: number | undefined;
|
|
52
|
-
a?: number | undefined;
|
|
53
|
-
} & { [K in Exclude<keyof I, keyof Color4>]: never; }>(base?: I | undefined): Color4;
|
|
54
|
-
fromPartial<I_1 extends {
|
|
55
|
-
r?: number | undefined;
|
|
56
|
-
g?: number | undefined;
|
|
57
|
-
b?: number | undefined;
|
|
58
|
-
a?: number | undefined;
|
|
59
|
-
} & {
|
|
60
|
-
r?: number | undefined;
|
|
61
|
-
g?: number | undefined;
|
|
62
|
-
b?: number | undefined;
|
|
63
|
-
a?: number | undefined;
|
|
64
|
-
} & { [K_1 in Exclude<keyof I_1, keyof Color4>]: never; }>(object: I_1): Color4;
|
|
65
|
-
};
|
|
14
|
+
/** A range of Color4 values. Randomized or lerped between start and end. */
|
|
15
|
+
export interface ColorRange {
|
|
16
|
+
start: Color4 | undefined;
|
|
17
|
+
end: Color4 | undefined;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace Color3 {
|
|
20
|
+
function encode(message: Color3, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Color3;
|
|
22
|
+
function fromJSON(object: any): Color3;
|
|
23
|
+
function toJSON(message: Color3): unknown;
|
|
24
|
+
function create<I extends Exact<DeepPartial<Color3>, I>>(base?: I): Color3;
|
|
25
|
+
function fromPartial<I extends Exact<DeepPartial<Color3>, I>>(object: I): Color3;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace Color4 {
|
|
28
|
+
function encode(message: Color4, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Color4;
|
|
30
|
+
function fromJSON(object: any): Color4;
|
|
31
|
+
function toJSON(message: Color4): unknown;
|
|
32
|
+
function create<I extends Exact<DeepPartial<Color4>, I>>(base?: I): Color4;
|
|
33
|
+
function fromPartial<I extends Exact<DeepPartial<Color4>, I>>(object: I): Color4;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace ColorRange {
|
|
36
|
+
function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
|
|
37
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
|
|
38
|
+
function fromJSON(object: any): ColorRange;
|
|
39
|
+
function toJSON(message: ColorRange): unknown;
|
|
40
|
+
function create<I extends Exact<DeepPartial<ColorRange>, I>>(base?: I): ColorRange;
|
|
41
|
+
function fromPartial<I extends Exact<DeepPartial<ColorRange>, I>>(object: I): ColorRange;
|
|
42
|
+
}
|
|
66
43
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
67
44
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
68
45
|
$case: string;
|
|
@@ -3,27 +3,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Color4 = exports.Color3 = exports.protobufPackage = void 0;
|
|
6
|
+
exports.ColorRange = exports.Color4 = exports.Color3 = exports.protobufPackage = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
9
|
exports.protobufPackage = "decentraland.common";
|
|
10
10
|
function createBaseColor3() {
|
|
11
11
|
return { r: 0, g: 0, b: 0 };
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
var Color3;
|
|
14
|
+
(function (Color3) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.r !== undefined && message.r !== 0) {
|
|
16
17
|
writer.uint32(13).float(message.r);
|
|
17
18
|
}
|
|
18
|
-
if (message.g !== 0) {
|
|
19
|
+
if (message.g !== undefined && message.g !== 0) {
|
|
19
20
|
writer.uint32(21).float(message.g);
|
|
20
21
|
}
|
|
21
|
-
if (message.b !== 0) {
|
|
22
|
+
if (message.b !== undefined && message.b !== 0) {
|
|
22
23
|
writer.uint32(29).float(message.b);
|
|
23
24
|
}
|
|
24
25
|
return writer;
|
|
25
|
-
}
|
|
26
|
-
|
|
26
|
+
}
|
|
27
|
+
Color3.encode = encode;
|
|
28
|
+
function decode(input, length) {
|
|
27
29
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
30
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
31
|
const message = createBaseColor3();
|
|
@@ -31,77 +33,84 @@ exports.Color3 = {
|
|
|
31
33
|
const tag = reader.uint32();
|
|
32
34
|
switch (tag >>> 3) {
|
|
33
35
|
case 1:
|
|
34
|
-
if (tag
|
|
36
|
+
if (tag !== 13) {
|
|
35
37
|
break;
|
|
36
38
|
}
|
|
37
39
|
message.r = reader.float();
|
|
38
40
|
continue;
|
|
39
41
|
case 2:
|
|
40
|
-
if (tag
|
|
42
|
+
if (tag !== 21) {
|
|
41
43
|
break;
|
|
42
44
|
}
|
|
43
45
|
message.g = reader.float();
|
|
44
46
|
continue;
|
|
45
47
|
case 3:
|
|
46
|
-
if (tag
|
|
48
|
+
if (tag !== 29) {
|
|
47
49
|
break;
|
|
48
50
|
}
|
|
49
51
|
message.b = reader.float();
|
|
50
52
|
continue;
|
|
51
53
|
}
|
|
52
|
-
if ((tag & 7)
|
|
54
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
53
55
|
break;
|
|
54
56
|
}
|
|
55
57
|
reader.skipType(tag & 7);
|
|
56
58
|
}
|
|
57
59
|
return message;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
+
}
|
|
61
|
+
Color3.decode = decode;
|
|
62
|
+
function fromJSON(object) {
|
|
60
63
|
return {
|
|
61
64
|
r: isSet(object.r) ? Number(object.r) : 0,
|
|
62
65
|
g: isSet(object.g) ? Number(object.g) : 0,
|
|
63
66
|
b: isSet(object.b) ? Number(object.b) : 0,
|
|
64
67
|
};
|
|
65
|
-
}
|
|
66
|
-
|
|
68
|
+
}
|
|
69
|
+
Color3.fromJSON = fromJSON;
|
|
70
|
+
function toJSON(message) {
|
|
67
71
|
const obj = {};
|
|
68
72
|
message.r !== undefined && (obj.r = message.r);
|
|
69
73
|
message.g !== undefined && (obj.g = message.g);
|
|
70
74
|
message.b !== undefined && (obj.b = message.b);
|
|
71
75
|
return obj;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
}
|
|
77
|
+
Color3.toJSON = toJSON;
|
|
78
|
+
function create(base) {
|
|
79
|
+
return Color3.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
80
|
+
}
|
|
81
|
+
Color3.create = create;
|
|
82
|
+
function fromPartial(object) {
|
|
77
83
|
var _a, _b, _c;
|
|
78
84
|
const message = createBaseColor3();
|
|
79
85
|
message.r = (_a = object.r) !== null && _a !== void 0 ? _a : 0;
|
|
80
86
|
message.g = (_b = object.g) !== null && _b !== void 0 ? _b : 0;
|
|
81
87
|
message.b = (_c = object.b) !== null && _c !== void 0 ? _c : 0;
|
|
82
88
|
return message;
|
|
83
|
-
}
|
|
84
|
-
|
|
89
|
+
}
|
|
90
|
+
Color3.fromPartial = fromPartial;
|
|
91
|
+
})(Color3 || (exports.Color3 = Color3 = {}));
|
|
85
92
|
function createBaseColor4() {
|
|
86
93
|
return { r: 0, g: 0, b: 0, a: 0 };
|
|
87
94
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
var Color4;
|
|
96
|
+
(function (Color4) {
|
|
97
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
98
|
+
if (message.r !== undefined && message.r !== 0) {
|
|
91
99
|
writer.uint32(13).float(message.r);
|
|
92
100
|
}
|
|
93
|
-
if (message.g !== 0) {
|
|
101
|
+
if (message.g !== undefined && message.g !== 0) {
|
|
94
102
|
writer.uint32(21).float(message.g);
|
|
95
103
|
}
|
|
96
|
-
if (message.b !== 0) {
|
|
104
|
+
if (message.b !== undefined && message.b !== 0) {
|
|
97
105
|
writer.uint32(29).float(message.b);
|
|
98
106
|
}
|
|
99
|
-
if (message.a !== 0) {
|
|
107
|
+
if (message.a !== undefined && message.a !== 0) {
|
|
100
108
|
writer.uint32(37).float(message.a);
|
|
101
109
|
}
|
|
102
110
|
return writer;
|
|
103
|
-
}
|
|
104
|
-
|
|
111
|
+
}
|
|
112
|
+
Color4.encode = encode;
|
|
113
|
+
function decode(input, length) {
|
|
105
114
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
106
115
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
107
116
|
const message = createBaseColor4();
|
|
@@ -109,57 +118,61 @@ exports.Color4 = {
|
|
|
109
118
|
const tag = reader.uint32();
|
|
110
119
|
switch (tag >>> 3) {
|
|
111
120
|
case 1:
|
|
112
|
-
if (tag
|
|
121
|
+
if (tag !== 13) {
|
|
113
122
|
break;
|
|
114
123
|
}
|
|
115
124
|
message.r = reader.float();
|
|
116
125
|
continue;
|
|
117
126
|
case 2:
|
|
118
|
-
if (tag
|
|
127
|
+
if (tag !== 21) {
|
|
119
128
|
break;
|
|
120
129
|
}
|
|
121
130
|
message.g = reader.float();
|
|
122
131
|
continue;
|
|
123
132
|
case 3:
|
|
124
|
-
if (tag
|
|
133
|
+
if (tag !== 29) {
|
|
125
134
|
break;
|
|
126
135
|
}
|
|
127
136
|
message.b = reader.float();
|
|
128
137
|
continue;
|
|
129
138
|
case 4:
|
|
130
|
-
if (tag
|
|
139
|
+
if (tag !== 37) {
|
|
131
140
|
break;
|
|
132
141
|
}
|
|
133
142
|
message.a = reader.float();
|
|
134
143
|
continue;
|
|
135
144
|
}
|
|
136
|
-
if ((tag & 7)
|
|
145
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
137
146
|
break;
|
|
138
147
|
}
|
|
139
148
|
reader.skipType(tag & 7);
|
|
140
149
|
}
|
|
141
150
|
return message;
|
|
142
|
-
}
|
|
143
|
-
|
|
151
|
+
}
|
|
152
|
+
Color4.decode = decode;
|
|
153
|
+
function fromJSON(object) {
|
|
144
154
|
return {
|
|
145
155
|
r: isSet(object.r) ? Number(object.r) : 0,
|
|
146
156
|
g: isSet(object.g) ? Number(object.g) : 0,
|
|
147
157
|
b: isSet(object.b) ? Number(object.b) : 0,
|
|
148
158
|
a: isSet(object.a) ? Number(object.a) : 0,
|
|
149
159
|
};
|
|
150
|
-
}
|
|
151
|
-
|
|
160
|
+
}
|
|
161
|
+
Color4.fromJSON = fromJSON;
|
|
162
|
+
function toJSON(message) {
|
|
152
163
|
const obj = {};
|
|
153
164
|
message.r !== undefined && (obj.r = message.r);
|
|
154
165
|
message.g !== undefined && (obj.g = message.g);
|
|
155
166
|
message.b !== undefined && (obj.b = message.b);
|
|
156
167
|
message.a !== undefined && (obj.a = message.a);
|
|
157
168
|
return obj;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
169
|
+
}
|
|
170
|
+
Color4.toJSON = toJSON;
|
|
171
|
+
function create(base) {
|
|
172
|
+
return Color4.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
173
|
+
}
|
|
174
|
+
Color4.create = create;
|
|
175
|
+
function fromPartial(object) {
|
|
163
176
|
var _a, _b, _c, _d;
|
|
164
177
|
const message = createBaseColor4();
|
|
165
178
|
message.r = (_a = object.r) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -167,8 +180,80 @@ exports.Color4 = {
|
|
|
167
180
|
message.b = (_c = object.b) !== null && _c !== void 0 ? _c : 0;
|
|
168
181
|
message.a = (_d = object.a) !== null && _d !== void 0 ? _d : 0;
|
|
169
182
|
return message;
|
|
170
|
-
}
|
|
171
|
-
|
|
183
|
+
}
|
|
184
|
+
Color4.fromPartial = fromPartial;
|
|
185
|
+
})(Color4 || (exports.Color4 = Color4 = {}));
|
|
186
|
+
function createBaseColorRange() {
|
|
187
|
+
return { start: undefined, end: undefined };
|
|
188
|
+
}
|
|
189
|
+
var ColorRange;
|
|
190
|
+
(function (ColorRange) {
|
|
191
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
192
|
+
if (message.start !== undefined) {
|
|
193
|
+
Color4.encode(message.start, writer.uint32(10).fork()).ldelim();
|
|
194
|
+
}
|
|
195
|
+
if (message.end !== undefined) {
|
|
196
|
+
Color4.encode(message.end, writer.uint32(18).fork()).ldelim();
|
|
197
|
+
}
|
|
198
|
+
return writer;
|
|
199
|
+
}
|
|
200
|
+
ColorRange.encode = encode;
|
|
201
|
+
function decode(input, length) {
|
|
202
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
203
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
204
|
+
const message = createBaseColorRange();
|
|
205
|
+
while (reader.pos < end) {
|
|
206
|
+
const tag = reader.uint32();
|
|
207
|
+
switch (tag >>> 3) {
|
|
208
|
+
case 1:
|
|
209
|
+
if (tag !== 10) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
message.start = Color4.decode(reader, reader.uint32());
|
|
213
|
+
continue;
|
|
214
|
+
case 2:
|
|
215
|
+
if (tag !== 18) {
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
message.end = Color4.decode(reader, reader.uint32());
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
reader.skipType(tag & 7);
|
|
225
|
+
}
|
|
226
|
+
return message;
|
|
227
|
+
}
|
|
228
|
+
ColorRange.decode = decode;
|
|
229
|
+
function fromJSON(object) {
|
|
230
|
+
return {
|
|
231
|
+
start: isSet(object.start) ? Color4.fromJSON(object.start) : undefined,
|
|
232
|
+
end: isSet(object.end) ? Color4.fromJSON(object.end) : undefined,
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
ColorRange.fromJSON = fromJSON;
|
|
236
|
+
function toJSON(message) {
|
|
237
|
+
const obj = {};
|
|
238
|
+
message.start !== undefined && (obj.start = message.start ? Color4.toJSON(message.start) : undefined);
|
|
239
|
+
message.end !== undefined && (obj.end = message.end ? Color4.toJSON(message.end) : undefined);
|
|
240
|
+
return obj;
|
|
241
|
+
}
|
|
242
|
+
ColorRange.toJSON = toJSON;
|
|
243
|
+
function create(base) {
|
|
244
|
+
return ColorRange.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
245
|
+
}
|
|
246
|
+
ColorRange.create = create;
|
|
247
|
+
function fromPartial(object) {
|
|
248
|
+
const message = createBaseColorRange();
|
|
249
|
+
message.start = (object.start !== undefined && object.start !== null)
|
|
250
|
+
? Color4.fromPartial(object.start)
|
|
251
|
+
: undefined;
|
|
252
|
+
message.end = (object.end !== undefined && object.end !== null) ? Color4.fromPartial(object.end) : undefined;
|
|
253
|
+
return message;
|
|
254
|
+
}
|
|
255
|
+
ColorRange.fromPartial = fromPartial;
|
|
256
|
+
})(ColorRange || (exports.ColorRange = ColorRange = {}));
|
|
172
257
|
function isSet(value) {
|
|
173
258
|
return value !== null && value !== undefined;
|
|
174
259
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/common/colors.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAerD,SAAS,gBAAgB;IACvB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AAC9B,CAAC;AAEY,QAAA,MAAM,GAAG;IACpB,MAAM,CAAC,OAAe,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC9D,IAAI,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE;YACnB,MAAM,CAAC,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C,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC7G,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,WAAA,WAAW,cAO1B,CAAA;AACH,CAAC,EAnEgB,UAAU,aAAV,UAAU,GAAV,UAAU,QAmE1B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -4,26 +4,14 @@ export interface ContentMapping {
|
|
|
4
4
|
file: string;
|
|
5
5
|
hash: string;
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
8
|
-
encode(message: ContentMapping, writer?: _m0.Writer): _m0.Writer;
|
|
9
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ContentMapping;
|
|
10
|
-
fromJSON(object: any): ContentMapping;
|
|
11
|
-
toJSON(message: ContentMapping): unknown;
|
|
12
|
-
create<I extends
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} & {
|
|
16
|
-
file?: string | undefined;
|
|
17
|
-
hash?: string | undefined;
|
|
18
|
-
} & { [K in Exclude<keyof I, keyof ContentMapping>]: never; }>(base?: I | undefined): ContentMapping;
|
|
19
|
-
fromPartial<I_1 extends {
|
|
20
|
-
file?: string | undefined;
|
|
21
|
-
hash?: string | undefined;
|
|
22
|
-
} & {
|
|
23
|
-
file?: string | undefined;
|
|
24
|
-
hash?: string | undefined;
|
|
25
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ContentMapping>]: never; }>(object: I_1): ContentMapping;
|
|
26
|
-
};
|
|
7
|
+
export declare namespace ContentMapping {
|
|
8
|
+
function encode(message: ContentMapping, writer?: _m0.Writer): _m0.Writer;
|
|
9
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): ContentMapping;
|
|
10
|
+
function fromJSON(object: any): ContentMapping;
|
|
11
|
+
function toJSON(message: ContentMapping): unknown;
|
|
12
|
+
function create<I extends Exact<DeepPartial<ContentMapping>, I>>(base?: I): ContentMapping;
|
|
13
|
+
function fromPartial<I extends Exact<DeepPartial<ContentMapping>, I>>(object: I): ContentMapping;
|
|
14
|
+
}
|
|
27
15
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
16
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
29
17
|
$case: string;
|
|
@@ -10,17 +10,19 @@ exports.protobufPackage = "decentraland.common";
|
|
|
10
10
|
function createBaseContentMapping() {
|
|
11
11
|
return { file: "", hash: "" };
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
var ContentMapping;
|
|
14
|
+
(function (ContentMapping) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.file !== undefined && message.file !== "") {
|
|
16
17
|
writer.uint32(10).string(message.file);
|
|
17
18
|
}
|
|
18
|
-
if (message.hash !== "") {
|
|
19
|
+
if (message.hash !== undefined && message.hash !== "") {
|
|
19
20
|
writer.uint32(18).string(message.hash);
|
|
20
21
|
}
|
|
21
22
|
return writer;
|
|
22
|
-
}
|
|
23
|
-
|
|
23
|
+
}
|
|
24
|
+
ContentMapping.encode = encode;
|
|
25
|
+
function decode(input, length) {
|
|
24
26
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
25
27
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
28
|
const message = createBaseContentMapping();
|
|
@@ -28,45 +30,50 @@ exports.ContentMapping = {
|
|
|
28
30
|
const tag = reader.uint32();
|
|
29
31
|
switch (tag >>> 3) {
|
|
30
32
|
case 1:
|
|
31
|
-
if (tag
|
|
33
|
+
if (tag !== 10) {
|
|
32
34
|
break;
|
|
33
35
|
}
|
|
34
36
|
message.file = reader.string();
|
|
35
37
|
continue;
|
|
36
38
|
case 2:
|
|
37
|
-
if (tag
|
|
39
|
+
if (tag !== 18) {
|
|
38
40
|
break;
|
|
39
41
|
}
|
|
40
42
|
message.hash = reader.string();
|
|
41
43
|
continue;
|
|
42
44
|
}
|
|
43
|
-
if ((tag & 7)
|
|
45
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
44
46
|
break;
|
|
45
47
|
}
|
|
46
48
|
reader.skipType(tag & 7);
|
|
47
49
|
}
|
|
48
50
|
return message;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
+
}
|
|
52
|
+
ContentMapping.decode = decode;
|
|
53
|
+
function fromJSON(object) {
|
|
51
54
|
return { file: isSet(object.file) ? String(object.file) : "", hash: isSet(object.hash) ? String(object.hash) : "" };
|
|
52
|
-
}
|
|
53
|
-
|
|
55
|
+
}
|
|
56
|
+
ContentMapping.fromJSON = fromJSON;
|
|
57
|
+
function toJSON(message) {
|
|
54
58
|
const obj = {};
|
|
55
59
|
message.file !== undefined && (obj.file = message.file);
|
|
56
60
|
message.hash !== undefined && (obj.hash = message.hash);
|
|
57
61
|
return obj;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
}
|
|
63
|
+
ContentMapping.toJSON = toJSON;
|
|
64
|
+
function create(base) {
|
|
65
|
+
return ContentMapping.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
66
|
+
}
|
|
67
|
+
ContentMapping.create = create;
|
|
68
|
+
function fromPartial(object) {
|
|
63
69
|
var _a, _b;
|
|
64
70
|
const message = createBaseContentMapping();
|
|
65
71
|
message.file = (_a = object.file) !== null && _a !== void 0 ? _a : "";
|
|
66
72
|
message.hash = (_b = object.hash) !== null && _b !== void 0 ? _b : "";
|
|
67
73
|
return message;
|
|
68
|
-
}
|
|
69
|
-
|
|
74
|
+
}
|
|
75
|
+
ContentMapping.fromPartial = fromPartial;
|
|
76
|
+
})(ContentMapping || (exports.ContentMapping = ContentMapping = {}));
|
|
70
77
|
function isSet(value) {
|
|
71
78
|
return value !== null && value !== undefined;
|
|
72
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content_mapping.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/common/content_mapping.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAOrD,SAAS,wBAAwB;IAC/B,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AAChC,CAAC;
|
|
1
|
+
{"version":3,"file":"content_mapping.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/common/content_mapping.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAOrD,SAAS,wBAAwB;IAC/B,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AAChC,CAAC;AAED,IAAiB,cAAc,CA8D9B;AA9DD,WAAiB,cAAc;IAC7B,SAAgB,MAAM,CAAC,OAAuB,EAAE,MAAM,GAAe,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACtF,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE,CAAC;YACtD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,CAAC;QACD,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE,CAAC;YACtD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IARe,eAAA,MAAM,SAQrB,CAAA;IAED,SAAgB,MAAM,CAAC,KAA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
|
2
|
+
import { Color4 } from "./colors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.common";
|
|
4
|
+
export interface ColorKey {
|
|
5
|
+
/** position along the gradient, from 0 to 1. Values outside that range clamp to it */
|
|
6
|
+
time: number;
|
|
7
|
+
/** linear color. Values above 1 are allowed (HDR) */
|
|
8
|
+
color: Color4 | undefined;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Piecewise-linear, with keys interpolated in ascending order of `time`. Positions before the first key
|
|
12
|
+
* or after the last key take that key's color. No keys means the gradient is unset.
|
|
13
|
+
* If two keys have the same `time`, then the gradient keeps the key that comes later in `keys`.
|
|
14
|
+
*/
|
|
15
|
+
export interface ColorGradient {
|
|
16
|
+
keys: ColorKey[];
|
|
17
|
+
}
|
|
18
|
+
export declare namespace ColorKey {
|
|
19
|
+
function encode(message: ColorKey, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): ColorKey;
|
|
21
|
+
function fromJSON(object: any): ColorKey;
|
|
22
|
+
function toJSON(message: ColorKey): unknown;
|
|
23
|
+
function create<I extends Exact<DeepPartial<ColorKey>, I>>(base?: I): ColorKey;
|
|
24
|
+
function fromPartial<I extends Exact<DeepPartial<ColorKey>, I>>(object: I): ColorKey;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace ColorGradient {
|
|
27
|
+
function encode(message: ColorGradient, writer?: _m0.Writer): _m0.Writer;
|
|
28
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): ColorGradient;
|
|
29
|
+
function fromJSON(object: any): ColorGradient;
|
|
30
|
+
function toJSON(message: ColorGradient): unknown;
|
|
31
|
+
function create<I extends Exact<DeepPartial<ColorGradient>, I>>(base?: I): ColorGradient;
|
|
32
|
+
function fromPartial<I extends Exact<DeepPartial<ColorGradient>, I>>(object: I): ColorGradient;
|
|
33
|
+
}
|
|
34
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
35
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
36
|
+
$case: string;
|
|
37
|
+
} ? {
|
|
38
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
39
|
+
} & {
|
|
40
|
+
$case: T["$case"];
|
|
41
|
+
} : T extends {} ? {
|
|
42
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
+
} : Partial<T>;
|
|
44
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
+
} & {
|
|
48
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
+
};
|
|
50
|
+
export {};
|