@dcl-regenesislabs/protocol 0.0.1 → 1.0.0-46016433981.commit-eaff08a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +335 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +147 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +331 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +123 -0
- package/out-js/decentraland/common/texture.gen.js +575 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +105 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1453 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1123 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +558 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +494 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1748 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +224 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +840 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +172 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- 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 +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1075 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +435 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +2415 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +188 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +924 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +343 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1993 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +153 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +676 -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 +2732 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1187 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +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 +199 -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 +103 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +399 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +304 -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 +91 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +283 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +142 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- 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 +80 -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 +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +228 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- 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.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +227 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +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 +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +158 -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 +164 -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 +128 -0
- package/out-js/decentraland/sdk/components/material.gen.js +620 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +148 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +558 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +120 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +468 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +115 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +319 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +92 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +337 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/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 +83 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +358 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- 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 +202 -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 +123 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +198 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- 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 +47 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +201 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +211 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_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 +59 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +219 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +271 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1720 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7845 -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 +2518 -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 +9519 -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 +1155 -0
- package/out-js/google/protobuf/descriptor.gen.js +3850 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +293 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +654 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1910 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +963 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2806 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1051 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +2198 -0
- 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 +1415 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +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 +486 -0
- 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 +386 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
- 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 +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +294 -0
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +224 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +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 +127 -0
- 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 +756 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +635 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +551 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +436 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +405 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/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 +488 -0
- 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 +223 -0
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +249 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +269 -0
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +279 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1968 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10939 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +4781 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/package.json +35 -4
- package/proto/decentraland/common/auth.proto +22 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +21 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/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/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +52 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
- package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +179 -0
- package/proto/decentraland/kernel/apis/runtime.proto +78 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +253 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +107 -0
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +159 -0
- package/proto/decentraland/kernel/comms/v3/comms.proto +64 -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 +138 -0
- package/proto/decentraland/sdk/components/README.md +32 -0
- package/proto/decentraland/sdk/components/Transform.md +25 -0
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +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 +54 -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 +60 -0
- package/proto/decentraland/sdk/components/billboard.proto +35 -0
- 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.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +42 -0
- 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/camera_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/id.md +2 -0
- package/proto/decentraland/sdk/components/common/id.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +40 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +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 +19 -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 +69 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +69 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +48 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +68 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +71 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.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 +46 -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 +34 -0
- 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 +23 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +23 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -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 +32 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +198 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +16 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +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/about.proto +5 -0
- package/public/comms.proto +6 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +26 -0
- package/public/sdk-components.proto +62 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SceneCreditsServiceDefinition = exports.GrantCreditsResponse = exports.GrantCreditsRequest = exports.GrantCreditsError = exports.protobufPackage = void 0;
|
|
7
|
+
exports.grantCreditsErrorFromJSON = grantCreditsErrorFromJSON;
|
|
8
|
+
exports.grantCreditsErrorToJSON = grantCreditsErrorToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
12
|
+
/**
|
|
13
|
+
* Why a response does not confirm a paid receipt. It does not always mean
|
|
14
|
+
* nothing was paid: after GCE_UNAVAILABLE the outcome is unknown. The numbers
|
|
15
|
+
* are stable, and values may be added later: treat a value you do not know as
|
|
16
|
+
* a refusal, and do not retry it on the same assumptions.
|
|
17
|
+
*/
|
|
18
|
+
var GrantCreditsError;
|
|
19
|
+
(function (GrantCreditsError) {
|
|
20
|
+
/**
|
|
21
|
+
* GCE_UNSPECIFIED - A refusal this version does not name, such as a code added later. Do
|
|
22
|
+
* not retry it with the same request.
|
|
23
|
+
*/
|
|
24
|
+
GrantCreditsError[GrantCreditsError["GCE_UNSPECIFIED"] = 0] = "GCE_UNSPECIFIED";
|
|
25
|
+
/**
|
|
26
|
+
* GCE_NOT_AVAILABLE - Paying Credits is not available here. An explorer always answers this,
|
|
27
|
+
* and so does an authoritative server while new payments are off or the
|
|
28
|
+
* pinned scene is no longer the one deployed.
|
|
29
|
+
*/
|
|
30
|
+
GrantCreditsError[GrantCreditsError["GCE_NOT_AVAILABLE"] = 1] = "GCE_NOT_AVAILABLE";
|
|
31
|
+
/** GCE_INVALID_REQUEST - The request is malformed: see the request's field formats. */
|
|
32
|
+
GrantCreditsError[GrantCreditsError["GCE_INVALID_REQUEST"] = 2] = "GCE_INVALID_REQUEST";
|
|
33
|
+
/**
|
|
34
|
+
* GCE_RATE_LIMITED - Too many requests for this scene or this program, or the server is
|
|
35
|
+
* momentarily busy. Retry shortly, with a short backoff, and the same
|
|
36
|
+
* outcome id.
|
|
37
|
+
*/
|
|
38
|
+
GrantCreditsError[GrantCreditsError["GCE_RATE_LIMITED"] = 3] = "GCE_RATE_LIMITED";
|
|
39
|
+
/**
|
|
40
|
+
* GCE_UNAVAILABLE - The outcome could not be decided, or its answer was lost: the Credits
|
|
41
|
+
* may have been paid. Retry later with the same program, recipient and
|
|
42
|
+
* outcome id; a paid outcome is then answered with its receipt.
|
|
43
|
+
*/
|
|
44
|
+
GrantCreditsError[GrantCreditsError["GCE_UNAVAILABLE"] = 4] = "GCE_UNAVAILABLE";
|
|
45
|
+
/**
|
|
46
|
+
* GCE_NOT_AUTHORIZED - This scene may not pay from this program: the server's credential was
|
|
47
|
+
* not accepted, the program is unknown or not pinned to this scene, or the
|
|
48
|
+
* outcome was paid in another location.
|
|
49
|
+
*/
|
|
50
|
+
GrantCreditsError[GrantCreditsError["GCE_NOT_AUTHORIZED"] = 5] = "GCE_NOT_AUTHORIZED";
|
|
51
|
+
/**
|
|
52
|
+
* GCE_RECIPIENT_NOT_CONNECTED - A new payment needs the recipient connected to this scene's
|
|
53
|
+
* authoritative server.
|
|
54
|
+
*/
|
|
55
|
+
GrantCreditsError[GrantCreditsError["GCE_RECIPIENT_NOT_CONNECTED"] = 6] = "GCE_RECIPIENT_NOT_CONNECTED";
|
|
56
|
+
/** GCE_PROGRAM_PAUSED - The program or its studio is paused. */
|
|
57
|
+
GrantCreditsError[GrantCreditsError["GCE_PROGRAM_PAUSED"] = 7] = "GCE_PROGRAM_PAUSED";
|
|
58
|
+
/** GCE_OUTSIDE_SCHEDULE - The program's schedule has no open slot for this outcome now. */
|
|
59
|
+
GrantCreditsError[GrantCreditsError["GCE_OUTSIDE_SCHEDULE"] = 8] = "GCE_OUTSIDE_SCHEDULE";
|
|
60
|
+
/** GCE_BUDGET_EXHAUSTED - The program's ceiling or the studio's budget cannot cover the payment. */
|
|
61
|
+
GrantCreditsError[GrantCreditsError["GCE_BUDGET_EXHAUSTED"] = 9] = "GCE_BUDGET_EXHAUSTED";
|
|
62
|
+
/** GCE_PROGRAM_CAP_REACHED - The program paid all it may pay today. */
|
|
63
|
+
GrantCreditsError[GrantCreditsError["GCE_PROGRAM_CAP_REACHED"] = 10] = "GCE_PROGRAM_CAP_REACHED";
|
|
64
|
+
/**
|
|
65
|
+
* GCE_PLAYER_CAP_REACHED - The recipient was paid as many times as this program pays a player,
|
|
66
|
+
* for the program's payment day or in total. For a program that requires
|
|
67
|
+
* a NAME, also when every eligible NAME this wallet holds was already paid
|
|
68
|
+
* for that day, even if other wallets received those payments.
|
|
69
|
+
*/
|
|
70
|
+
GrantCreditsError[GrantCreditsError["GCE_PLAYER_CAP_REACHED"] = 11] = "GCE_PLAYER_CAP_REACHED";
|
|
71
|
+
/**
|
|
72
|
+
* GCE_REQUIREMENT_NOT_MET - The recipient does not meet one of the program's public requirements,
|
|
73
|
+
* such as holding a NAME.
|
|
74
|
+
*/
|
|
75
|
+
GrantCreditsError[GrantCreditsError["GCE_REQUIREMENT_NOT_MET"] = 12] = "GCE_REQUIREMENT_NOT_MET";
|
|
76
|
+
/** GCE_RECIPIENT_NOT_ELIGIBLE - The recipient may not be paid by this program. */
|
|
77
|
+
GrantCreditsError[GrantCreditsError["GCE_RECIPIENT_NOT_ELIGIBLE"] = 13] = "GCE_RECIPIENT_NOT_ELIGIBLE";
|
|
78
|
+
GrantCreditsError[GrantCreditsError["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
79
|
+
})(GrantCreditsError || (exports.GrantCreditsError = GrantCreditsError = {}));
|
|
80
|
+
function grantCreditsErrorFromJSON(object) {
|
|
81
|
+
switch (object) {
|
|
82
|
+
case 0:
|
|
83
|
+
case "GCE_UNSPECIFIED":
|
|
84
|
+
return GrantCreditsError.GCE_UNSPECIFIED;
|
|
85
|
+
case 1:
|
|
86
|
+
case "GCE_NOT_AVAILABLE":
|
|
87
|
+
return GrantCreditsError.GCE_NOT_AVAILABLE;
|
|
88
|
+
case 2:
|
|
89
|
+
case "GCE_INVALID_REQUEST":
|
|
90
|
+
return GrantCreditsError.GCE_INVALID_REQUEST;
|
|
91
|
+
case 3:
|
|
92
|
+
case "GCE_RATE_LIMITED":
|
|
93
|
+
return GrantCreditsError.GCE_RATE_LIMITED;
|
|
94
|
+
case 4:
|
|
95
|
+
case "GCE_UNAVAILABLE":
|
|
96
|
+
return GrantCreditsError.GCE_UNAVAILABLE;
|
|
97
|
+
case 5:
|
|
98
|
+
case "GCE_NOT_AUTHORIZED":
|
|
99
|
+
return GrantCreditsError.GCE_NOT_AUTHORIZED;
|
|
100
|
+
case 6:
|
|
101
|
+
case "GCE_RECIPIENT_NOT_CONNECTED":
|
|
102
|
+
return GrantCreditsError.GCE_RECIPIENT_NOT_CONNECTED;
|
|
103
|
+
case 7:
|
|
104
|
+
case "GCE_PROGRAM_PAUSED":
|
|
105
|
+
return GrantCreditsError.GCE_PROGRAM_PAUSED;
|
|
106
|
+
case 8:
|
|
107
|
+
case "GCE_OUTSIDE_SCHEDULE":
|
|
108
|
+
return GrantCreditsError.GCE_OUTSIDE_SCHEDULE;
|
|
109
|
+
case 9:
|
|
110
|
+
case "GCE_BUDGET_EXHAUSTED":
|
|
111
|
+
return GrantCreditsError.GCE_BUDGET_EXHAUSTED;
|
|
112
|
+
case 10:
|
|
113
|
+
case "GCE_PROGRAM_CAP_REACHED":
|
|
114
|
+
return GrantCreditsError.GCE_PROGRAM_CAP_REACHED;
|
|
115
|
+
case 11:
|
|
116
|
+
case "GCE_PLAYER_CAP_REACHED":
|
|
117
|
+
return GrantCreditsError.GCE_PLAYER_CAP_REACHED;
|
|
118
|
+
case 12:
|
|
119
|
+
case "GCE_REQUIREMENT_NOT_MET":
|
|
120
|
+
return GrantCreditsError.GCE_REQUIREMENT_NOT_MET;
|
|
121
|
+
case 13:
|
|
122
|
+
case "GCE_RECIPIENT_NOT_ELIGIBLE":
|
|
123
|
+
return GrantCreditsError.GCE_RECIPIENT_NOT_ELIGIBLE;
|
|
124
|
+
case -1:
|
|
125
|
+
case "UNRECOGNIZED":
|
|
126
|
+
default:
|
|
127
|
+
return GrantCreditsError.UNRECOGNIZED;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
function grantCreditsErrorToJSON(object) {
|
|
131
|
+
switch (object) {
|
|
132
|
+
case GrantCreditsError.GCE_UNSPECIFIED:
|
|
133
|
+
return "GCE_UNSPECIFIED";
|
|
134
|
+
case GrantCreditsError.GCE_NOT_AVAILABLE:
|
|
135
|
+
return "GCE_NOT_AVAILABLE";
|
|
136
|
+
case GrantCreditsError.GCE_INVALID_REQUEST:
|
|
137
|
+
return "GCE_INVALID_REQUEST";
|
|
138
|
+
case GrantCreditsError.GCE_RATE_LIMITED:
|
|
139
|
+
return "GCE_RATE_LIMITED";
|
|
140
|
+
case GrantCreditsError.GCE_UNAVAILABLE:
|
|
141
|
+
return "GCE_UNAVAILABLE";
|
|
142
|
+
case GrantCreditsError.GCE_NOT_AUTHORIZED:
|
|
143
|
+
return "GCE_NOT_AUTHORIZED";
|
|
144
|
+
case GrantCreditsError.GCE_RECIPIENT_NOT_CONNECTED:
|
|
145
|
+
return "GCE_RECIPIENT_NOT_CONNECTED";
|
|
146
|
+
case GrantCreditsError.GCE_PROGRAM_PAUSED:
|
|
147
|
+
return "GCE_PROGRAM_PAUSED";
|
|
148
|
+
case GrantCreditsError.GCE_OUTSIDE_SCHEDULE:
|
|
149
|
+
return "GCE_OUTSIDE_SCHEDULE";
|
|
150
|
+
case GrantCreditsError.GCE_BUDGET_EXHAUSTED:
|
|
151
|
+
return "GCE_BUDGET_EXHAUSTED";
|
|
152
|
+
case GrantCreditsError.GCE_PROGRAM_CAP_REACHED:
|
|
153
|
+
return "GCE_PROGRAM_CAP_REACHED";
|
|
154
|
+
case GrantCreditsError.GCE_PLAYER_CAP_REACHED:
|
|
155
|
+
return "GCE_PLAYER_CAP_REACHED";
|
|
156
|
+
case GrantCreditsError.GCE_REQUIREMENT_NOT_MET:
|
|
157
|
+
return "GCE_REQUIREMENT_NOT_MET";
|
|
158
|
+
case GrantCreditsError.GCE_RECIPIENT_NOT_ELIGIBLE:
|
|
159
|
+
return "GCE_RECIPIENT_NOT_ELIGIBLE";
|
|
160
|
+
case GrantCreditsError.UNRECOGNIZED:
|
|
161
|
+
default:
|
|
162
|
+
return "UNRECOGNIZED";
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function createBaseGrantCreditsRequest() {
|
|
166
|
+
return { programId: "", recipient: "", outcomeId: "" };
|
|
167
|
+
}
|
|
168
|
+
var GrantCreditsRequest;
|
|
169
|
+
(function (GrantCreditsRequest) {
|
|
170
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
171
|
+
if (message.programId !== "") {
|
|
172
|
+
writer.uint32(10).string(message.programId);
|
|
173
|
+
}
|
|
174
|
+
if (message.recipient !== "") {
|
|
175
|
+
writer.uint32(18).string(message.recipient);
|
|
176
|
+
}
|
|
177
|
+
if (message.outcomeId !== "") {
|
|
178
|
+
writer.uint32(26).string(message.outcomeId);
|
|
179
|
+
}
|
|
180
|
+
return writer;
|
|
181
|
+
}
|
|
182
|
+
GrantCreditsRequest.encode = encode;
|
|
183
|
+
function decode(input, length) {
|
|
184
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
185
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
186
|
+
const message = createBaseGrantCreditsRequest();
|
|
187
|
+
while (reader.pos < end) {
|
|
188
|
+
const tag = reader.uint32();
|
|
189
|
+
switch (tag >>> 3) {
|
|
190
|
+
case 1:
|
|
191
|
+
if (tag !== 10) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.programId = reader.string();
|
|
195
|
+
continue;
|
|
196
|
+
case 2:
|
|
197
|
+
if (tag !== 18) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
message.recipient = reader.string();
|
|
201
|
+
continue;
|
|
202
|
+
case 3:
|
|
203
|
+
if (tag !== 26) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
message.outcomeId = reader.string();
|
|
207
|
+
continue;
|
|
208
|
+
}
|
|
209
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
reader.skipType(tag & 7);
|
|
213
|
+
}
|
|
214
|
+
return message;
|
|
215
|
+
}
|
|
216
|
+
GrantCreditsRequest.decode = decode;
|
|
217
|
+
function fromJSON(object) {
|
|
218
|
+
return {
|
|
219
|
+
programId: isSet(object.programId) ? String(object.programId) : "",
|
|
220
|
+
recipient: isSet(object.recipient) ? String(object.recipient) : "",
|
|
221
|
+
outcomeId: isSet(object.outcomeId) ? String(object.outcomeId) : "",
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
GrantCreditsRequest.fromJSON = fromJSON;
|
|
225
|
+
function toJSON(message) {
|
|
226
|
+
const obj = {};
|
|
227
|
+
message.programId !== undefined && (obj.programId = message.programId);
|
|
228
|
+
message.recipient !== undefined && (obj.recipient = message.recipient);
|
|
229
|
+
message.outcomeId !== undefined && (obj.outcomeId = message.outcomeId);
|
|
230
|
+
return obj;
|
|
231
|
+
}
|
|
232
|
+
GrantCreditsRequest.toJSON = toJSON;
|
|
233
|
+
function create(base) {
|
|
234
|
+
return GrantCreditsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
235
|
+
}
|
|
236
|
+
GrantCreditsRequest.create = create;
|
|
237
|
+
function fromPartial(object) {
|
|
238
|
+
var _a, _b, _c;
|
|
239
|
+
const message = createBaseGrantCreditsRequest();
|
|
240
|
+
message.programId = (_a = object.programId) !== null && _a !== void 0 ? _a : "";
|
|
241
|
+
message.recipient = (_b = object.recipient) !== null && _b !== void 0 ? _b : "";
|
|
242
|
+
message.outcomeId = (_c = object.outcomeId) !== null && _c !== void 0 ? _c : "";
|
|
243
|
+
return message;
|
|
244
|
+
}
|
|
245
|
+
GrantCreditsRequest.fromPartial = fromPartial;
|
|
246
|
+
})(GrantCreditsRequest || (exports.GrantCreditsRequest = GrantCreditsRequest = {}));
|
|
247
|
+
function createBaseGrantCreditsResponse() {
|
|
248
|
+
return { ok: false, replayed: undefined, receiptId: undefined, credits: undefined, error: undefined };
|
|
249
|
+
}
|
|
250
|
+
var GrantCreditsResponse;
|
|
251
|
+
(function (GrantCreditsResponse) {
|
|
252
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
253
|
+
if (message.ok === true) {
|
|
254
|
+
writer.uint32(8).bool(message.ok);
|
|
255
|
+
}
|
|
256
|
+
if (message.replayed !== undefined) {
|
|
257
|
+
writer.uint32(16).bool(message.replayed);
|
|
258
|
+
}
|
|
259
|
+
if (message.receiptId !== undefined) {
|
|
260
|
+
writer.uint32(26).string(message.receiptId);
|
|
261
|
+
}
|
|
262
|
+
if (message.credits !== undefined) {
|
|
263
|
+
writer.uint32(34).string(message.credits);
|
|
264
|
+
}
|
|
265
|
+
if (message.error !== undefined) {
|
|
266
|
+
writer.uint32(40).int32(message.error);
|
|
267
|
+
}
|
|
268
|
+
return writer;
|
|
269
|
+
}
|
|
270
|
+
GrantCreditsResponse.encode = encode;
|
|
271
|
+
function decode(input, length) {
|
|
272
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
273
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
274
|
+
const message = createBaseGrantCreditsResponse();
|
|
275
|
+
while (reader.pos < end) {
|
|
276
|
+
const tag = reader.uint32();
|
|
277
|
+
switch (tag >>> 3) {
|
|
278
|
+
case 1:
|
|
279
|
+
if (tag !== 8) {
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
message.ok = reader.bool();
|
|
283
|
+
continue;
|
|
284
|
+
case 2:
|
|
285
|
+
if (tag !== 16) {
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
288
|
+
message.replayed = reader.bool();
|
|
289
|
+
continue;
|
|
290
|
+
case 3:
|
|
291
|
+
if (tag !== 26) {
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
message.receiptId = reader.string();
|
|
295
|
+
continue;
|
|
296
|
+
case 4:
|
|
297
|
+
if (tag !== 34) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
message.credits = reader.string();
|
|
301
|
+
continue;
|
|
302
|
+
case 5:
|
|
303
|
+
if (tag !== 40) {
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
message.error = reader.int32();
|
|
307
|
+
continue;
|
|
308
|
+
}
|
|
309
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
310
|
+
break;
|
|
311
|
+
}
|
|
312
|
+
reader.skipType(tag & 7);
|
|
313
|
+
}
|
|
314
|
+
return message;
|
|
315
|
+
}
|
|
316
|
+
GrantCreditsResponse.decode = decode;
|
|
317
|
+
function fromJSON(object) {
|
|
318
|
+
return {
|
|
319
|
+
ok: isSet(object.ok) ? Boolean(object.ok) : false,
|
|
320
|
+
replayed: isSet(object.replayed) ? Boolean(object.replayed) : undefined,
|
|
321
|
+
receiptId: isSet(object.receiptId) ? String(object.receiptId) : undefined,
|
|
322
|
+
credits: isSet(object.credits) ? String(object.credits) : undefined,
|
|
323
|
+
error: isSet(object.error) ? grantCreditsErrorFromJSON(object.error) : undefined,
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
GrantCreditsResponse.fromJSON = fromJSON;
|
|
327
|
+
function toJSON(message) {
|
|
328
|
+
const obj = {};
|
|
329
|
+
message.ok !== undefined && (obj.ok = message.ok);
|
|
330
|
+
message.replayed !== undefined && (obj.replayed = message.replayed);
|
|
331
|
+
message.receiptId !== undefined && (obj.receiptId = message.receiptId);
|
|
332
|
+
message.credits !== undefined && (obj.credits = message.credits);
|
|
333
|
+
message.error !== undefined &&
|
|
334
|
+
(obj.error = message.error !== undefined ? grantCreditsErrorToJSON(message.error) : undefined);
|
|
335
|
+
return obj;
|
|
336
|
+
}
|
|
337
|
+
GrantCreditsResponse.toJSON = toJSON;
|
|
338
|
+
function create(base) {
|
|
339
|
+
return GrantCreditsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
340
|
+
}
|
|
341
|
+
GrantCreditsResponse.create = create;
|
|
342
|
+
function fromPartial(object) {
|
|
343
|
+
var _a, _b, _c, _d, _e;
|
|
344
|
+
const message = createBaseGrantCreditsResponse();
|
|
345
|
+
message.ok = (_a = object.ok) !== null && _a !== void 0 ? _a : false;
|
|
346
|
+
message.replayed = (_b = object.replayed) !== null && _b !== void 0 ? _b : undefined;
|
|
347
|
+
message.receiptId = (_c = object.receiptId) !== null && _c !== void 0 ? _c : undefined;
|
|
348
|
+
message.credits = (_d = object.credits) !== null && _d !== void 0 ? _d : undefined;
|
|
349
|
+
message.error = (_e = object.error) !== null && _e !== void 0 ? _e : undefined;
|
|
350
|
+
return message;
|
|
351
|
+
}
|
|
352
|
+
GrantCreditsResponse.fromPartial = fromPartial;
|
|
353
|
+
})(GrantCreditsResponse || (exports.GrantCreditsResponse = GrantCreditsResponse = {}));
|
|
354
|
+
exports.SceneCreditsServiceDefinition = {
|
|
355
|
+
name: "SceneCreditsService",
|
|
356
|
+
fullName: "decentraland.kernel.apis.SceneCreditsService",
|
|
357
|
+
methods: {
|
|
358
|
+
/**
|
|
359
|
+
* Pays the recipient the program's Credits for the outcome. The amount,
|
|
360
|
+
* the budget and the limits are the program's, never the scene's.
|
|
361
|
+
*
|
|
362
|
+
* Only a scene's authoritative server can pay. In an explorer the call
|
|
363
|
+
* always resolves with ok false and GCE_NOT_AVAILABLE, whatever the
|
|
364
|
+
* request: the formats and checks described here apply on the
|
|
365
|
+
* authoritative server.
|
|
366
|
+
*
|
|
367
|
+
* There, the scene's identity comes from the server's authenticated
|
|
368
|
+
* credential, never from the request. Basic validation and throttling can
|
|
369
|
+
* answer first. A new payment then checks that the program is pinned to
|
|
370
|
+
* this scene before anything about the program's state or the
|
|
371
|
+
* recipient's eligibility. A program pinned here can learn that a
|
|
372
|
+
* recipient does not meet one of its public requirements.
|
|
373
|
+
* Recovering a paid outcome checks the location it was paid in.
|
|
374
|
+
*/
|
|
375
|
+
grantCredits: {
|
|
376
|
+
name: "GrantCredits",
|
|
377
|
+
requestType: GrantCreditsRequest,
|
|
378
|
+
requestStream: false,
|
|
379
|
+
responseType: GrantCreditsResponse,
|
|
380
|
+
responseStream: false,
|
|
381
|
+
options: {},
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
};
|
|
385
|
+
function isSet(value) {
|
|
386
|
+
return value !== null && value !== undefined;
|
|
387
|
+
}
|
|
388
|
+
//# sourceMappingURL=scene_credits.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene_credits.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/kernel/apis/scene_credits.gen.ts"],"names":[],"mappings":";;;;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAE1D;;;;;GAKG;AACH,IAAY,iBA4DX;AA5DD,WAAY,iBAAiB;IAC3B;;;OAGG;IACH,+EAAmB,CAAA;IACnB;;;;OAIG;IACH,mFAAqB,CAAA;IACrB,uFAAuF;IACvF,uFAAuB,CAAA;IACvB;;;;OAIG;IACH,iFAAoB,CAAA;IACpB;;;;OAIG;IACH,+EAAmB,CAAA;IACnB;;;;OAIG;IACH,qFAAsB,CAAA;IACtB;;;OAGG;IACH,uGAA+B,CAAA;IAC/B,gEAAgE;IAChE,qFAAsB,CAAA;IACtB,2FAA2F;IAC3F,yFAAwB,CAAA;IACxB,oGAAoG;IACpG,yFAAwB,CAAA;IACxB,uEAAuE;IACvE,gGAA4B,CAAA;IAC5B;;;;;OAKG;IACH,8FAA2B,CAAA;IAC3B;;;OAGG;IACH,gGAA4B,CAAA;IAC5B,kFAAkF;IAClF,sGAA+B,CAAA;IAC/B,0EAAiB,CAAA;AACnB,CAAC,EA5DW,iBAAiB,aAAjB,iBAAiB,GAAjB,iBAAiB,QA4D5B;AAED,mCAA0C,MAAW;IACnD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,iBAAiB,CAAC,eAAe,CAAC;QAC3C,KAAK,CAAC,CAAC;QACP,KAAK,mBAAmB;YACtB,OAAO,iBAAiB,CAAC,iBAAiB,CAAC;QAC7C,KAAK,CAAC,CAAC;Q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,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.kernel.apis";
|
|
3
|
+
export interface FlatFetchInit {
|
|
4
|
+
method?: string | undefined;
|
|
5
|
+
body?: string | undefined;
|
|
6
|
+
headers: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface FlatFetchInit_HeadersEntry {
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
export interface FlatFetchResponse {
|
|
15
|
+
ok: boolean;
|
|
16
|
+
status: number;
|
|
17
|
+
statusText: string;
|
|
18
|
+
headers: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
body: string;
|
|
22
|
+
}
|
|
23
|
+
export interface FlatFetchResponse_HeadersEntry {
|
|
24
|
+
key: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}
|
|
27
|
+
export interface SignedFetchRequest {
|
|
28
|
+
url: string;
|
|
29
|
+
init?: FlatFetchInit | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface GetHeadersResponse {
|
|
32
|
+
headers: {
|
|
33
|
+
[key: string]: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface GetHeadersResponse_HeadersEntry {
|
|
37
|
+
key: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace FlatFetchInit {
|
|
41
|
+
function encode(message: FlatFetchInit, writer?: _m0.Writer): _m0.Writer;
|
|
42
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FlatFetchInit;
|
|
43
|
+
function fromJSON(object: any): FlatFetchInit;
|
|
44
|
+
function toJSON(message: FlatFetchInit): unknown;
|
|
45
|
+
function create<I extends Exact<DeepPartial<FlatFetchInit>, I>>(base?: I): FlatFetchInit;
|
|
46
|
+
function fromPartial<I extends Exact<DeepPartial<FlatFetchInit>, I>>(object: I): FlatFetchInit;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace FlatFetchInit_HeadersEntry {
|
|
49
|
+
function encode(message: FlatFetchInit_HeadersEntry, writer?: _m0.Writer): _m0.Writer;
|
|
50
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FlatFetchInit_HeadersEntry;
|
|
51
|
+
function fromJSON(object: any): FlatFetchInit_HeadersEntry;
|
|
52
|
+
function toJSON(message: FlatFetchInit_HeadersEntry): unknown;
|
|
53
|
+
function create<I extends Exact<DeepPartial<FlatFetchInit_HeadersEntry>, I>>(base?: I): FlatFetchInit_HeadersEntry;
|
|
54
|
+
function fromPartial<I extends Exact<DeepPartial<FlatFetchInit_HeadersEntry>, I>>(object: I): FlatFetchInit_HeadersEntry;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace FlatFetchResponse {
|
|
57
|
+
function encode(message: FlatFetchResponse, writer?: _m0.Writer): _m0.Writer;
|
|
58
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FlatFetchResponse;
|
|
59
|
+
function fromJSON(object: any): FlatFetchResponse;
|
|
60
|
+
function toJSON(message: FlatFetchResponse): unknown;
|
|
61
|
+
function create<I extends Exact<DeepPartial<FlatFetchResponse>, I>>(base?: I): FlatFetchResponse;
|
|
62
|
+
function fromPartial<I extends Exact<DeepPartial<FlatFetchResponse>, I>>(object: I): FlatFetchResponse;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace FlatFetchResponse_HeadersEntry {
|
|
65
|
+
function encode(message: FlatFetchResponse_HeadersEntry, writer?: _m0.Writer): _m0.Writer;
|
|
66
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FlatFetchResponse_HeadersEntry;
|
|
67
|
+
function fromJSON(object: any): FlatFetchResponse_HeadersEntry;
|
|
68
|
+
function toJSON(message: FlatFetchResponse_HeadersEntry): unknown;
|
|
69
|
+
function create<I extends Exact<DeepPartial<FlatFetchResponse_HeadersEntry>, I>>(base?: I): FlatFetchResponse_HeadersEntry;
|
|
70
|
+
function fromPartial<I extends Exact<DeepPartial<FlatFetchResponse_HeadersEntry>, I>>(object: I): FlatFetchResponse_HeadersEntry;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace SignedFetchRequest {
|
|
73
|
+
function encode(message: SignedFetchRequest, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SignedFetchRequest;
|
|
75
|
+
function fromJSON(object: any): SignedFetchRequest;
|
|
76
|
+
function toJSON(message: SignedFetchRequest): unknown;
|
|
77
|
+
function create<I extends Exact<DeepPartial<SignedFetchRequest>, I>>(base?: I): SignedFetchRequest;
|
|
78
|
+
function fromPartial<I extends Exact<DeepPartial<SignedFetchRequest>, I>>(object: I): SignedFetchRequest;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace GetHeadersResponse {
|
|
81
|
+
function encode(message: GetHeadersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
82
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetHeadersResponse;
|
|
83
|
+
function fromJSON(object: any): GetHeadersResponse;
|
|
84
|
+
function toJSON(message: GetHeadersResponse): unknown;
|
|
85
|
+
function create<I extends Exact<DeepPartial<GetHeadersResponse>, I>>(base?: I): GetHeadersResponse;
|
|
86
|
+
function fromPartial<I extends Exact<DeepPartial<GetHeadersResponse>, I>>(object: I): GetHeadersResponse;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace GetHeadersResponse_HeadersEntry {
|
|
89
|
+
function encode(message: GetHeadersResponse_HeadersEntry, writer?: _m0.Writer): _m0.Writer;
|
|
90
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetHeadersResponse_HeadersEntry;
|
|
91
|
+
function fromJSON(object: any): GetHeadersResponse_HeadersEntry;
|
|
92
|
+
function toJSON(message: GetHeadersResponse_HeadersEntry): unknown;
|
|
93
|
+
function create<I extends Exact<DeepPartial<GetHeadersResponse_HeadersEntry>, I>>(base?: I): GetHeadersResponse_HeadersEntry;
|
|
94
|
+
function fromPartial<I extends Exact<DeepPartial<GetHeadersResponse_HeadersEntry>, I>>(object: I): GetHeadersResponse_HeadersEntry;
|
|
95
|
+
}
|
|
96
|
+
export type SignedFetchServiceDefinition = typeof SignedFetchServiceDefinition;
|
|
97
|
+
export declare const SignedFetchServiceDefinition: {
|
|
98
|
+
readonly name: "SignedFetchService";
|
|
99
|
+
readonly fullName: "decentraland.kernel.apis.SignedFetchService";
|
|
100
|
+
readonly methods: {
|
|
101
|
+
/**
|
|
102
|
+
* SignedFetch is used to authenticate JSON requests in name of the users,
|
|
103
|
+
* a special scoped signature is generated following the https://adr.decentraland.org/adr/ADR-44
|
|
104
|
+
*/
|
|
105
|
+
readonly signedFetch: {
|
|
106
|
+
readonly name: "SignedFetch";
|
|
107
|
+
readonly requestType: typeof SignedFetchRequest;
|
|
108
|
+
readonly requestStream: false;
|
|
109
|
+
readonly responseType: typeof FlatFetchResponse;
|
|
110
|
+
readonly responseStream: false;
|
|
111
|
+
readonly options: {};
|
|
112
|
+
};
|
|
113
|
+
readonly getHeaders: {
|
|
114
|
+
readonly name: "GetHeaders";
|
|
115
|
+
readonly requestType: typeof SignedFetchRequest;
|
|
116
|
+
readonly requestStream: false;
|
|
117
|
+
readonly responseType: typeof GetHeadersResponse;
|
|
118
|
+
readonly responseStream: false;
|
|
119
|
+
readonly options: {};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
124
|
+
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 {
|
|
125
|
+
$case: string;
|
|
126
|
+
} ? {
|
|
127
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
128
|
+
} & {
|
|
129
|
+
$case: T["$case"];
|
|
130
|
+
} : T extends {} ? {
|
|
131
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
132
|
+
} : Partial<T>;
|
|
133
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
134
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
135
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
136
|
+
} & {
|
|
137
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
138
|
+
};
|
|
139
|
+
export {};
|