@dcl/protocol 1.0.0-4958447726.commit-3016853 → 1.0.0-4982121558.commit-4b98e1a
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 +3 -3
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +46 -184
- package/out-js/decentraland/bff/authentication_service.gen.js +115 -80
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +28 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js +76 -54
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +30 -272
- package/out-js/decentraland/bff/comms_service.gen.js +52 -38
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +66 -854
- package/out-js/decentraland/bff/http_endpoints.gen.js +215 -158
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +46 -208
- package/out-js/decentraland/bff/topics_service.gen.js +116 -81
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/common/border_rect.gen.d.ts +16 -56
- package/out-js/decentraland/common/border_rect.gen.js +44 -30
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +16 -52
- package/out-js/decentraland/common/colors.gen.js +44 -30
- 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 +22 -15
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +76 -55
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +32 -250
- package/out-js/decentraland/common/texture.gen.js +103 -75
- 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 +161 -46
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +46 -32
- 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 +46 -32
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +157 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +483 -1650
- 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 +400 -281
- 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 +278 -194
- 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 +192 -136
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +36 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +92 -64
- 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 +143 -101
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +80 -308
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +211 -148
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +102 -568
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +256 -179
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +80 -404
- package/out-js/decentraland/kernel/apis/runtime.gen.js +211 -148
- 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 +46 -32
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +42 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +121 -86
- 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 +73 -52
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +78 -408
- package/out-js/decentraland/kernel/apis/testing.gen.js +219 -156
- 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 +46 -32
- 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 +92 -64
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +64 -550
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +220 -161
- 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 +80 -560
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +280 -204
- 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 +112 -1002
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +372 -270
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.d.ts +64 -534
- package/out-js/decentraland/realm/about.gen.js +214 -157
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +16 -136
- package/out-js/decentraland/sdk/components/animator.gen.js +49 -35
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +8 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +8 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -128
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/billboard.gen.js +22 -15
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +22 -15
- 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 +8 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- 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 +22 -15
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/engine_info.gen.js +22 -15
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +22 -15
- 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 +8 -16
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +22 -15
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +24 -3368
- package/out-js/decentraland/sdk/components/material.gen.js +80 -58
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +40 -176
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +40 -220
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +24 -184
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +76 -55
- 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 +8 -212
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +22 -15
- 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 +22 -15
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +8 -248
- package/out-js/decentraland/sdk/components/raycast.gen.js +30 -21
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +8 -352
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +8 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +8 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +22 -15
- 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 +22 -15
- 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 +8 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +8 -62
- package/out-js/decentraland/sdk/components/ui_text.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +8 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +8 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +22 -15
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +22 -15
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1004 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7829 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +182 -7715
- package/out-js/decentraland/social/friendships/friendships.gen.js +684 -1370
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +720 -545
- 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 +22 -15
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +72 -70
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +46 -45
- package/out-ts/decentraland/bff/comms_service.gen.ts +28 -28
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +137 -115
- package/out-ts/decentraland/bff/topics_service.gen.ts +80 -70
- package/out-ts/decentraland/common/border_rect.gen.ts +28 -28
- package/out-ts/decentraland/common/colors.gen.ts +28 -28
- package/out-ts/decentraland/common/content_mapping.gen.ts +14 -14
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +42 -42
- package/out-ts/decentraland/common/texture.gen.ts +56 -56
- package/out-ts/decentraland/common/vectors.gen.ts +146 -42
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +291 -1786
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +271 -238
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +189 -168
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +112 -112
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +64 -56
- package/out-ts/decentraland/kernel/apis/players.gen.ts +96 -84
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +129 -126
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +156 -154
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +134 -126
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +79 -70
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +44 -42
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +139 -126
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +30 -28
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +60 -56
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +126 -121
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +166 -158
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +225 -208
- package/out-ts/decentraland/realm/about.gen.ts +137 -115
- package/out-ts/decentraland/sdk/components/animator.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +18 -14
- package/out-ts/decentraland/sdk/components/material.gen.ts +52 -45
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +82 -70
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +84 -70
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +44 -42
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +16 -14
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +22 -20
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +16 -14
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8942 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2884 -0
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +411 -1379
- package/out-ts/google/protobuf/descriptor.gen.ts +375 -350
- package/out-ts/google/protobuf/empty.gen.ts +14 -14
- package/package.json +3 -3
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +2 -110
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +677 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social/friendships/friendships.proto +21 -64
|
@@ -56,8 +56,8 @@ function createBaseRealmInfo(): RealmInfo {
|
|
|
56
56
|
return { baseUrl: "", realmName: "", networkId: 0, commsAdapter: "", isPreview: false };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export
|
|
60
|
-
encode(message: RealmInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
59
|
+
export namespace RealmInfo {
|
|
60
|
+
export function encode(message: RealmInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
61
61
|
if (message.baseUrl !== "") {
|
|
62
62
|
writer.uint32(10).string(message.baseUrl);
|
|
63
63
|
}
|
|
@@ -74,9 +74,9 @@ export const RealmInfo = {
|
|
|
74
74
|
writer.uint32(40).bool(message.isPreview);
|
|
75
75
|
}
|
|
76
76
|
return writer;
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
78
|
|
|
79
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RealmInfo {
|
|
79
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): RealmInfo {
|
|
80
80
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
81
81
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
82
|
const message = createBaseRealmInfo();
|
|
@@ -125,9 +125,9 @@ export const RealmInfo = {
|
|
|
125
125
|
reader.skipType(tag & 7);
|
|
126
126
|
}
|
|
127
127
|
return message;
|
|
128
|
-
}
|
|
128
|
+
}
|
|
129
129
|
|
|
130
|
-
fromJSON(object: any): RealmInfo {
|
|
130
|
+
export function fromJSON(object: any): RealmInfo {
|
|
131
131
|
return {
|
|
132
132
|
baseUrl: isSet(object.baseUrl) ? String(object.baseUrl) : "",
|
|
133
133
|
realmName: isSet(object.realmName) ? String(object.realmName) : "",
|
|
@@ -135,9 +135,9 @@ export const RealmInfo = {
|
|
|
135
135
|
commsAdapter: isSet(object.commsAdapter) ? String(object.commsAdapter) : "",
|
|
136
136
|
isPreview: isSet(object.isPreview) ? Boolean(object.isPreview) : false,
|
|
137
137
|
};
|
|
138
|
-
}
|
|
138
|
+
}
|
|
139
139
|
|
|
140
|
-
toJSON(message: RealmInfo): unknown {
|
|
140
|
+
export function toJSON(message: RealmInfo): unknown {
|
|
141
141
|
const obj: any = {};
|
|
142
142
|
message.baseUrl !== undefined && (obj.baseUrl = message.baseUrl);
|
|
143
143
|
message.realmName !== undefined && (obj.realmName = message.realmName);
|
|
@@ -145,13 +145,13 @@ export const RealmInfo = {
|
|
|
145
145
|
message.commsAdapter !== undefined && (obj.commsAdapter = message.commsAdapter);
|
|
146
146
|
message.isPreview !== undefined && (obj.isPreview = message.isPreview);
|
|
147
147
|
return obj;
|
|
148
|
-
}
|
|
148
|
+
}
|
|
149
149
|
|
|
150
|
-
create<I extends Exact<DeepPartial<RealmInfo>, I>>(base?: I): RealmInfo {
|
|
150
|
+
export function create<I extends Exact<DeepPartial<RealmInfo>, I>>(base?: I): RealmInfo {
|
|
151
151
|
return RealmInfo.fromPartial(base ?? {});
|
|
152
|
-
}
|
|
152
|
+
}
|
|
153
153
|
|
|
154
|
-
fromPartial<I extends Exact<DeepPartial<RealmInfo>, I>>(object: I): RealmInfo {
|
|
154
|
+
export function fromPartial<I extends Exact<DeepPartial<RealmInfo>, I>>(object: I): RealmInfo {
|
|
155
155
|
const message = createBaseRealmInfo();
|
|
156
156
|
message.baseUrl = object.baseUrl ?? "";
|
|
157
157
|
message.realmName = object.realmName ?? "";
|
|
@@ -159,22 +159,22 @@ export const RealmInfo = {
|
|
|
159
159
|
message.commsAdapter = object.commsAdapter ?? "";
|
|
160
160
|
message.isPreview = object.isPreview ?? false;
|
|
161
161
|
return message;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
164
|
|
|
165
165
|
function createBaseGetRealmResponse(): GetRealmResponse {
|
|
166
166
|
return { realmInfo: undefined };
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
export
|
|
170
|
-
encode(message: GetRealmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
169
|
+
export namespace GetRealmResponse {
|
|
170
|
+
export function encode(message: GetRealmResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
171
171
|
if (message.realmInfo !== undefined) {
|
|
172
172
|
RealmInfo.encode(message.realmInfo, writer.uint32(10).fork()).ldelim();
|
|
173
173
|
}
|
|
174
174
|
return writer;
|
|
175
|
-
}
|
|
175
|
+
}
|
|
176
176
|
|
|
177
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetRealmResponse {
|
|
177
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetRealmResponse {
|
|
178
178
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
179
179
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
180
180
|
const message = createBaseGetRealmResponse();
|
|
@@ -195,45 +195,45 @@ export const GetRealmResponse = {
|
|
|
195
195
|
reader.skipType(tag & 7);
|
|
196
196
|
}
|
|
197
197
|
return message;
|
|
198
|
-
}
|
|
198
|
+
}
|
|
199
199
|
|
|
200
|
-
fromJSON(object: any): GetRealmResponse {
|
|
200
|
+
export function fromJSON(object: any): GetRealmResponse {
|
|
201
201
|
return { realmInfo: isSet(object.realmInfo) ? RealmInfo.fromJSON(object.realmInfo) : undefined };
|
|
202
|
-
}
|
|
202
|
+
}
|
|
203
203
|
|
|
204
|
-
toJSON(message: GetRealmResponse): unknown {
|
|
204
|
+
export function toJSON(message: GetRealmResponse): unknown {
|
|
205
205
|
const obj: any = {};
|
|
206
206
|
message.realmInfo !== undefined &&
|
|
207
207
|
(obj.realmInfo = message.realmInfo ? RealmInfo.toJSON(message.realmInfo) : undefined);
|
|
208
208
|
return obj;
|
|
209
|
-
}
|
|
209
|
+
}
|
|
210
210
|
|
|
211
|
-
create<I extends Exact<DeepPartial<GetRealmResponse>, I>>(base?: I): GetRealmResponse {
|
|
211
|
+
export function create<I extends Exact<DeepPartial<GetRealmResponse>, I>>(base?: I): GetRealmResponse {
|
|
212
212
|
return GetRealmResponse.fromPartial(base ?? {});
|
|
213
|
-
}
|
|
213
|
+
}
|
|
214
214
|
|
|
215
|
-
fromPartial<I extends Exact<DeepPartial<GetRealmResponse>, I>>(object: I): GetRealmResponse {
|
|
215
|
+
export function fromPartial<I extends Exact<DeepPartial<GetRealmResponse>, I>>(object: I): GetRealmResponse {
|
|
216
216
|
const message = createBaseGetRealmResponse();
|
|
217
217
|
message.realmInfo = (object.realmInfo !== undefined && object.realmInfo !== null)
|
|
218
218
|
? RealmInfo.fromPartial(object.realmInfo)
|
|
219
219
|
: undefined;
|
|
220
220
|
return message;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
223
|
|
|
224
224
|
function createBaseGetWorldTimeResponse(): GetWorldTimeResponse {
|
|
225
225
|
return { seconds: 0 };
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
export
|
|
229
|
-
encode(message: GetWorldTimeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
228
|
+
export namespace GetWorldTimeResponse {
|
|
229
|
+
export function encode(message: GetWorldTimeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
230
230
|
if (message.seconds !== 0) {
|
|
231
231
|
writer.uint32(8).int32(message.seconds);
|
|
232
232
|
}
|
|
233
233
|
return writer;
|
|
234
|
-
}
|
|
234
|
+
}
|
|
235
235
|
|
|
236
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetWorldTimeResponse {
|
|
236
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetWorldTimeResponse {
|
|
237
237
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
238
238
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
239
239
|
const message = createBaseGetWorldTimeResponse();
|
|
@@ -254,39 +254,39 @@ export const GetWorldTimeResponse = {
|
|
|
254
254
|
reader.skipType(tag & 7);
|
|
255
255
|
}
|
|
256
256
|
return message;
|
|
257
|
-
}
|
|
257
|
+
}
|
|
258
258
|
|
|
259
|
-
fromJSON(object: any): GetWorldTimeResponse {
|
|
259
|
+
export function fromJSON(object: any): GetWorldTimeResponse {
|
|
260
260
|
return { seconds: isSet(object.seconds) ? Number(object.seconds) : 0 };
|
|
261
|
-
}
|
|
261
|
+
}
|
|
262
262
|
|
|
263
|
-
toJSON(message: GetWorldTimeResponse): unknown {
|
|
263
|
+
export function toJSON(message: GetWorldTimeResponse): unknown {
|
|
264
264
|
const obj: any = {};
|
|
265
265
|
message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
|
|
266
266
|
return obj;
|
|
267
|
-
}
|
|
267
|
+
}
|
|
268
268
|
|
|
269
|
-
create<I extends Exact<DeepPartial<GetWorldTimeResponse>, I>>(base?: I): GetWorldTimeResponse {
|
|
269
|
+
export function create<I extends Exact<DeepPartial<GetWorldTimeResponse>, I>>(base?: I): GetWorldTimeResponse {
|
|
270
270
|
return GetWorldTimeResponse.fromPartial(base ?? {});
|
|
271
|
-
}
|
|
271
|
+
}
|
|
272
272
|
|
|
273
|
-
fromPartial<I extends Exact<DeepPartial<GetWorldTimeResponse>, I>>(object: I): GetWorldTimeResponse {
|
|
273
|
+
export function fromPartial<I extends Exact<DeepPartial<GetWorldTimeResponse>, I>>(object: I): GetWorldTimeResponse {
|
|
274
274
|
const message = createBaseGetWorldTimeResponse();
|
|
275
275
|
message.seconds = object.seconds ?? 0;
|
|
276
276
|
return message;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
279
|
|
|
280
280
|
function createBaseGetRealmRequest(): GetRealmRequest {
|
|
281
281
|
return {};
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
export
|
|
285
|
-
encode(_: GetRealmRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
284
|
+
export namespace GetRealmRequest {
|
|
285
|
+
export function encode(_: GetRealmRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
286
286
|
return writer;
|
|
287
|
-
}
|
|
287
|
+
}
|
|
288
288
|
|
|
289
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetRealmRequest {
|
|
289
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetRealmRequest {
|
|
290
290
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
291
291
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
292
292
|
const message = createBaseGetRealmRequest();
|
|
@@ -300,37 +300,37 @@ export const GetRealmRequest = {
|
|
|
300
300
|
reader.skipType(tag & 7);
|
|
301
301
|
}
|
|
302
302
|
return message;
|
|
303
|
-
}
|
|
303
|
+
}
|
|
304
304
|
|
|
305
|
-
fromJSON(_: any): GetRealmRequest {
|
|
305
|
+
export function fromJSON(_: any): GetRealmRequest {
|
|
306
306
|
return {};
|
|
307
|
-
}
|
|
307
|
+
}
|
|
308
308
|
|
|
309
|
-
toJSON(_: GetRealmRequest): unknown {
|
|
309
|
+
export function toJSON(_: GetRealmRequest): unknown {
|
|
310
310
|
const obj: any = {};
|
|
311
311
|
return obj;
|
|
312
|
-
}
|
|
312
|
+
}
|
|
313
313
|
|
|
314
|
-
create<I extends Exact<DeepPartial<GetRealmRequest>, I>>(base?: I): GetRealmRequest {
|
|
314
|
+
export function create<I extends Exact<DeepPartial<GetRealmRequest>, I>>(base?: I): GetRealmRequest {
|
|
315
315
|
return GetRealmRequest.fromPartial(base ?? {});
|
|
316
|
-
}
|
|
316
|
+
}
|
|
317
317
|
|
|
318
|
-
fromPartial<I extends Exact<DeepPartial<GetRealmRequest>, I>>(_: I): GetRealmRequest {
|
|
318
|
+
export function fromPartial<I extends Exact<DeepPartial<GetRealmRequest>, I>>(_: I): GetRealmRequest {
|
|
319
319
|
const message = createBaseGetRealmRequest();
|
|
320
320
|
return message;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
323
|
|
|
324
324
|
function createBaseGetWorldTimeRequest(): GetWorldTimeRequest {
|
|
325
325
|
return {};
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export
|
|
329
|
-
encode(_: GetWorldTimeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
328
|
+
export namespace GetWorldTimeRequest {
|
|
329
|
+
export function encode(_: GetWorldTimeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
330
330
|
return writer;
|
|
331
|
-
}
|
|
331
|
+
}
|
|
332
332
|
|
|
333
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetWorldTimeRequest {
|
|
333
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetWorldTimeRequest {
|
|
334
334
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
335
335
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
336
336
|
const message = createBaseGetWorldTimeRequest();
|
|
@@ -344,40 +344,40 @@ export const GetWorldTimeRequest = {
|
|
|
344
344
|
reader.skipType(tag & 7);
|
|
345
345
|
}
|
|
346
346
|
return message;
|
|
347
|
-
}
|
|
347
|
+
}
|
|
348
348
|
|
|
349
|
-
fromJSON(_: any): GetWorldTimeRequest {
|
|
349
|
+
export function fromJSON(_: any): GetWorldTimeRequest {
|
|
350
350
|
return {};
|
|
351
|
-
}
|
|
351
|
+
}
|
|
352
352
|
|
|
353
|
-
toJSON(_: GetWorldTimeRequest): unknown {
|
|
353
|
+
export function toJSON(_: GetWorldTimeRequest): unknown {
|
|
354
354
|
const obj: any = {};
|
|
355
355
|
return obj;
|
|
356
|
-
}
|
|
356
|
+
}
|
|
357
357
|
|
|
358
|
-
create<I extends Exact<DeepPartial<GetWorldTimeRequest>, I>>(base?: I): GetWorldTimeRequest {
|
|
358
|
+
export function create<I extends Exact<DeepPartial<GetWorldTimeRequest>, I>>(base?: I): GetWorldTimeRequest {
|
|
359
359
|
return GetWorldTimeRequest.fromPartial(base ?? {});
|
|
360
|
-
}
|
|
360
|
+
}
|
|
361
361
|
|
|
362
|
-
fromPartial<I extends Exact<DeepPartial<GetWorldTimeRequest>, I>>(_: I): GetWorldTimeRequest {
|
|
362
|
+
export function fromPartial<I extends Exact<DeepPartial<GetWorldTimeRequest>, I>>(_: I): GetWorldTimeRequest {
|
|
363
363
|
const message = createBaseGetWorldTimeRequest();
|
|
364
364
|
return message;
|
|
365
|
-
}
|
|
366
|
-
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
367
|
|
|
368
368
|
function createBaseReadFileRequest(): ReadFileRequest {
|
|
369
369
|
return { fileName: "" };
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
export
|
|
373
|
-
encode(message: ReadFileRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
372
|
+
export namespace ReadFileRequest {
|
|
373
|
+
export function encode(message: ReadFileRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
374
374
|
if (message.fileName !== "") {
|
|
375
375
|
writer.uint32(10).string(message.fileName);
|
|
376
376
|
}
|
|
377
377
|
return writer;
|
|
378
|
-
}
|
|
378
|
+
}
|
|
379
379
|
|
|
380
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ReadFileRequest {
|
|
380
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ReadFileRequest {
|
|
381
381
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
382
382
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
383
383
|
const message = createBaseReadFileRequest();
|
|
@@ -398,35 +398,35 @@ export const ReadFileRequest = {
|
|
|
398
398
|
reader.skipType(tag & 7);
|
|
399
399
|
}
|
|
400
400
|
return message;
|
|
401
|
-
}
|
|
401
|
+
}
|
|
402
402
|
|
|
403
|
-
fromJSON(object: any): ReadFileRequest {
|
|
403
|
+
export function fromJSON(object: any): ReadFileRequest {
|
|
404
404
|
return { fileName: isSet(object.fileName) ? String(object.fileName) : "" };
|
|
405
|
-
}
|
|
405
|
+
}
|
|
406
406
|
|
|
407
|
-
toJSON(message: ReadFileRequest): unknown {
|
|
407
|
+
export function toJSON(message: ReadFileRequest): unknown {
|
|
408
408
|
const obj: any = {};
|
|
409
409
|
message.fileName !== undefined && (obj.fileName = message.fileName);
|
|
410
410
|
return obj;
|
|
411
|
-
}
|
|
411
|
+
}
|
|
412
412
|
|
|
413
|
-
create<I extends Exact<DeepPartial<ReadFileRequest>, I>>(base?: I): ReadFileRequest {
|
|
413
|
+
export function create<I extends Exact<DeepPartial<ReadFileRequest>, I>>(base?: I): ReadFileRequest {
|
|
414
414
|
return ReadFileRequest.fromPartial(base ?? {});
|
|
415
|
-
}
|
|
415
|
+
}
|
|
416
416
|
|
|
417
|
-
fromPartial<I extends Exact<DeepPartial<ReadFileRequest>, I>>(object: I): ReadFileRequest {
|
|
417
|
+
export function fromPartial<I extends Exact<DeepPartial<ReadFileRequest>, I>>(object: I): ReadFileRequest {
|
|
418
418
|
const message = createBaseReadFileRequest();
|
|
419
419
|
message.fileName = object.fileName ?? "";
|
|
420
420
|
return message;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
423
|
|
|
424
424
|
function createBaseReadFileResponse(): ReadFileResponse {
|
|
425
425
|
return { content: new Uint8Array(), hash: "" };
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
export
|
|
429
|
-
encode(message: ReadFileResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
428
|
+
export namespace ReadFileResponse {
|
|
429
|
+
export function encode(message: ReadFileResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
430
430
|
if (message.content.length !== 0) {
|
|
431
431
|
writer.uint32(10).bytes(message.content);
|
|
432
432
|
}
|
|
@@ -434,9 +434,9 @@ export const ReadFileResponse = {
|
|
|
434
434
|
writer.uint32(18).string(message.hash);
|
|
435
435
|
}
|
|
436
436
|
return writer;
|
|
437
|
-
}
|
|
437
|
+
}
|
|
438
438
|
|
|
439
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ReadFileResponse {
|
|
439
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ReadFileResponse {
|
|
440
440
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
441
441
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
442
442
|
const message = createBaseReadFileResponse();
|
|
@@ -464,45 +464,45 @@ export const ReadFileResponse = {
|
|
|
464
464
|
reader.skipType(tag & 7);
|
|
465
465
|
}
|
|
466
466
|
return message;
|
|
467
|
-
}
|
|
467
|
+
}
|
|
468
468
|
|
|
469
|
-
fromJSON(object: any): ReadFileResponse {
|
|
469
|
+
export function fromJSON(object: any): ReadFileResponse {
|
|
470
470
|
return {
|
|
471
471
|
content: isSet(object.content) ? bytesFromBase64(object.content) : new Uint8Array(),
|
|
472
472
|
hash: isSet(object.hash) ? String(object.hash) : "",
|
|
473
473
|
};
|
|
474
|
-
}
|
|
474
|
+
}
|
|
475
475
|
|
|
476
|
-
toJSON(message: ReadFileResponse): unknown {
|
|
476
|
+
export function toJSON(message: ReadFileResponse): unknown {
|
|
477
477
|
const obj: any = {};
|
|
478
478
|
message.content !== undefined &&
|
|
479
479
|
(obj.content = base64FromBytes(message.content !== undefined ? message.content : new Uint8Array()));
|
|
480
480
|
message.hash !== undefined && (obj.hash = message.hash);
|
|
481
481
|
return obj;
|
|
482
|
-
}
|
|
482
|
+
}
|
|
483
483
|
|
|
484
|
-
create<I extends Exact<DeepPartial<ReadFileResponse>, I>>(base?: I): ReadFileResponse {
|
|
484
|
+
export function create<I extends Exact<DeepPartial<ReadFileResponse>, I>>(base?: I): ReadFileResponse {
|
|
485
485
|
return ReadFileResponse.fromPartial(base ?? {});
|
|
486
|
-
}
|
|
486
|
+
}
|
|
487
487
|
|
|
488
|
-
fromPartial<I extends Exact<DeepPartial<ReadFileResponse>, I>>(object: I): ReadFileResponse {
|
|
488
|
+
export function fromPartial<I extends Exact<DeepPartial<ReadFileResponse>, I>>(object: I): ReadFileResponse {
|
|
489
489
|
const message = createBaseReadFileResponse();
|
|
490
490
|
message.content = object.content ?? new Uint8Array();
|
|
491
491
|
message.hash = object.hash ?? "";
|
|
492
492
|
return message;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
495
|
|
|
496
496
|
function createBaseCurrentSceneEntityRequest(): CurrentSceneEntityRequest {
|
|
497
497
|
return {};
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
export
|
|
501
|
-
encode(_: CurrentSceneEntityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
500
|
+
export namespace CurrentSceneEntityRequest {
|
|
501
|
+
export function encode(_: CurrentSceneEntityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
502
502
|
return writer;
|
|
503
|
-
}
|
|
503
|
+
}
|
|
504
504
|
|
|
505
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CurrentSceneEntityRequest {
|
|
505
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CurrentSceneEntityRequest {
|
|
506
506
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
507
507
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
508
508
|
const message = createBaseCurrentSceneEntityRequest();
|
|
@@ -516,33 +516,37 @@ export const CurrentSceneEntityRequest = {
|
|
|
516
516
|
reader.skipType(tag & 7);
|
|
517
517
|
}
|
|
518
518
|
return message;
|
|
519
|
-
}
|
|
519
|
+
}
|
|
520
520
|
|
|
521
|
-
fromJSON(_: any): CurrentSceneEntityRequest {
|
|
521
|
+
export function fromJSON(_: any): CurrentSceneEntityRequest {
|
|
522
522
|
return {};
|
|
523
|
-
}
|
|
523
|
+
}
|
|
524
524
|
|
|
525
|
-
toJSON(_: CurrentSceneEntityRequest): unknown {
|
|
525
|
+
export function toJSON(_: CurrentSceneEntityRequest): unknown {
|
|
526
526
|
const obj: any = {};
|
|
527
527
|
return obj;
|
|
528
|
-
}
|
|
528
|
+
}
|
|
529
529
|
|
|
530
|
-
create<I extends Exact<DeepPartial<CurrentSceneEntityRequest>, I>>(
|
|
530
|
+
export function create<I extends Exact<DeepPartial<CurrentSceneEntityRequest>, I>>(
|
|
531
|
+
base?: I,
|
|
532
|
+
): CurrentSceneEntityRequest {
|
|
531
533
|
return CurrentSceneEntityRequest.fromPartial(base ?? {});
|
|
532
|
-
}
|
|
534
|
+
}
|
|
533
535
|
|
|
534
|
-
fromPartial<I extends Exact<DeepPartial<CurrentSceneEntityRequest>, I>>(
|
|
536
|
+
export function fromPartial<I extends Exact<DeepPartial<CurrentSceneEntityRequest>, I>>(
|
|
537
|
+
_: I,
|
|
538
|
+
): CurrentSceneEntityRequest {
|
|
535
539
|
const message = createBaseCurrentSceneEntityRequest();
|
|
536
540
|
return message;
|
|
537
|
-
}
|
|
538
|
-
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
539
543
|
|
|
540
544
|
function createBaseCurrentSceneEntityResponse(): CurrentSceneEntityResponse {
|
|
541
545
|
return { urn: "", content: [], metadataJson: "", baseUrl: "" };
|
|
542
546
|
}
|
|
543
547
|
|
|
544
|
-
export
|
|
545
|
-
encode(message: CurrentSceneEntityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
548
|
+
export namespace CurrentSceneEntityResponse {
|
|
549
|
+
export function encode(message: CurrentSceneEntityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
546
550
|
if (message.urn !== "") {
|
|
547
551
|
writer.uint32(10).string(message.urn);
|
|
548
552
|
}
|
|
@@ -556,9 +560,9 @@ export const CurrentSceneEntityResponse = {
|
|
|
556
560
|
writer.uint32(34).string(message.baseUrl);
|
|
557
561
|
}
|
|
558
562
|
return writer;
|
|
559
|
-
}
|
|
563
|
+
}
|
|
560
564
|
|
|
561
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CurrentSceneEntityResponse {
|
|
565
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): CurrentSceneEntityResponse {
|
|
562
566
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
563
567
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
564
568
|
const message = createBaseCurrentSceneEntityResponse();
|
|
@@ -600,18 +604,18 @@ export const CurrentSceneEntityResponse = {
|
|
|
600
604
|
reader.skipType(tag & 7);
|
|
601
605
|
}
|
|
602
606
|
return message;
|
|
603
|
-
}
|
|
607
|
+
}
|
|
604
608
|
|
|
605
|
-
fromJSON(object: any): CurrentSceneEntityResponse {
|
|
609
|
+
export function fromJSON(object: any): CurrentSceneEntityResponse {
|
|
606
610
|
return {
|
|
607
611
|
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
608
612
|
content: Array.isArray(object?.content) ? object.content.map((e: any) => ContentMapping.fromJSON(e)) : [],
|
|
609
613
|
metadataJson: isSet(object.metadataJson) ? String(object.metadataJson) : "",
|
|
610
614
|
baseUrl: isSet(object.baseUrl) ? String(object.baseUrl) : "",
|
|
611
615
|
};
|
|
612
|
-
}
|
|
616
|
+
}
|
|
613
617
|
|
|
614
|
-
toJSON(message: CurrentSceneEntityResponse): unknown {
|
|
618
|
+
export function toJSON(message: CurrentSceneEntityResponse): unknown {
|
|
615
619
|
const obj: any = {};
|
|
616
620
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
617
621
|
if (message.content) {
|
|
@@ -622,21 +626,25 @@ export const CurrentSceneEntityResponse = {
|
|
|
622
626
|
message.metadataJson !== undefined && (obj.metadataJson = message.metadataJson);
|
|
623
627
|
message.baseUrl !== undefined && (obj.baseUrl = message.baseUrl);
|
|
624
628
|
return obj;
|
|
625
|
-
}
|
|
629
|
+
}
|
|
626
630
|
|
|
627
|
-
create<I extends Exact<DeepPartial<CurrentSceneEntityResponse>, I>>(
|
|
631
|
+
export function create<I extends Exact<DeepPartial<CurrentSceneEntityResponse>, I>>(
|
|
632
|
+
base?: I,
|
|
633
|
+
): CurrentSceneEntityResponse {
|
|
628
634
|
return CurrentSceneEntityResponse.fromPartial(base ?? {});
|
|
629
|
-
}
|
|
635
|
+
}
|
|
630
636
|
|
|
631
|
-
fromPartial<I extends Exact<DeepPartial<CurrentSceneEntityResponse>, I>>(
|
|
637
|
+
export function fromPartial<I extends Exact<DeepPartial<CurrentSceneEntityResponse>, I>>(
|
|
638
|
+
object: I,
|
|
639
|
+
): CurrentSceneEntityResponse {
|
|
632
640
|
const message = createBaseCurrentSceneEntityResponse();
|
|
633
641
|
message.urn = object.urn ?? "";
|
|
634
642
|
message.content = object.content?.map((e) => ContentMapping.fromPartial(e)) || [];
|
|
635
643
|
message.metadataJson = object.metadataJson ?? "";
|
|
636
644
|
message.baseUrl = object.baseUrl ?? "";
|
|
637
645
|
return message;
|
|
638
|
-
}
|
|
639
|
-
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
640
648
|
|
|
641
649
|
export type RuntimeServiceDefinition = typeof RuntimeServiceDefinition;
|
|
642
650
|
export const RuntimeServiceDefinition = {
|
|
@@ -18,12 +18,12 @@ function createBaseGetSceneRequest(): GetSceneRequest {
|
|
|
18
18
|
return {};
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export
|
|
22
|
-
encode(_: GetSceneRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
21
|
+
export namespace GetSceneRequest {
|
|
22
|
+
export function encode(_: GetSceneRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
23
23
|
return writer;
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
|
|
26
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetSceneRequest {
|
|
26
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetSceneRequest {
|
|
27
27
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
28
28
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
29
|
const message = createBaseGetSceneRequest();
|
|
@@ -37,33 +37,33 @@ export const GetSceneRequest = {
|
|
|
37
37
|
reader.skipType(tag & 7);
|
|
38
38
|
}
|
|
39
39
|
return message;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
|
|
42
|
-
fromJSON(_: any): GetSceneRequest {
|
|
42
|
+
export function fromJSON(_: any): GetSceneRequest {
|
|
43
43
|
return {};
|
|
44
|
-
}
|
|
44
|
+
}
|
|
45
45
|
|
|
46
|
-
toJSON(_: GetSceneRequest): unknown {
|
|
46
|
+
export function toJSON(_: GetSceneRequest): unknown {
|
|
47
47
|
const obj: any = {};
|
|
48
48
|
return obj;
|
|
49
|
-
}
|
|
49
|
+
}
|
|
50
50
|
|
|
51
|
-
create<I extends Exact<DeepPartial<GetSceneRequest>, I>>(base?: I): GetSceneRequest {
|
|
51
|
+
export function create<I extends Exact<DeepPartial<GetSceneRequest>, I>>(base?: I): GetSceneRequest {
|
|
52
52
|
return GetSceneRequest.fromPartial(base ?? {});
|
|
53
|
-
}
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
fromPartial<I extends Exact<DeepPartial<GetSceneRequest>, I>>(_: I): GetSceneRequest {
|
|
55
|
+
export function fromPartial<I extends Exact<DeepPartial<GetSceneRequest>, I>>(_: I): GetSceneRequest {
|
|
56
56
|
const message = createBaseGetSceneRequest();
|
|
57
57
|
return message;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
60
|
|
|
61
61
|
function createBaseGetSceneResponse(): GetSceneResponse {
|
|
62
62
|
return { cid: "", metadata: "", baseUrl: "", contents: [] };
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export
|
|
66
|
-
encode(message: GetSceneResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
65
|
+
export namespace GetSceneResponse {
|
|
66
|
+
export function encode(message: GetSceneResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
67
67
|
if (message.cid !== "") {
|
|
68
68
|
writer.uint32(10).string(message.cid);
|
|
69
69
|
}
|
|
@@ -77,9 +77,9 @@ export const GetSceneResponse = {
|
|
|
77
77
|
ContentMapping.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
78
78
|
}
|
|
79
79
|
return writer;
|
|
80
|
-
}
|
|
80
|
+
}
|
|
81
81
|
|
|
82
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetSceneResponse {
|
|
82
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetSceneResponse {
|
|
83
83
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
84
84
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
85
85
|
const message = createBaseGetSceneResponse();
|
|
@@ -121,18 +121,18 @@ export const GetSceneResponse = {
|
|
|
121
121
|
reader.skipType(tag & 7);
|
|
122
122
|
}
|
|
123
123
|
return message;
|
|
124
|
-
}
|
|
124
|
+
}
|
|
125
125
|
|
|
126
|
-
fromJSON(object: any): GetSceneResponse {
|
|
126
|
+
export function fromJSON(object: any): GetSceneResponse {
|
|
127
127
|
return {
|
|
128
128
|
cid: isSet(object.cid) ? String(object.cid) : "",
|
|
129
129
|
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
130
130
|
baseUrl: isSet(object.baseUrl) ? String(object.baseUrl) : "",
|
|
131
131
|
contents: Array.isArray(object?.contents) ? object.contents.map((e: any) => ContentMapping.fromJSON(e)) : [],
|
|
132
132
|
};
|
|
133
|
-
}
|
|
133
|
+
}
|
|
134
134
|
|
|
135
|
-
toJSON(message: GetSceneResponse): unknown {
|
|
135
|
+
export function toJSON(message: GetSceneResponse): unknown {
|
|
136
136
|
const obj: any = {};
|
|
137
137
|
message.cid !== undefined && (obj.cid = message.cid);
|
|
138
138
|
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
@@ -143,21 +143,21 @@ export const GetSceneResponse = {
|
|
|
143
143
|
obj.contents = [];
|
|
144
144
|
}
|
|
145
145
|
return obj;
|
|
146
|
-
}
|
|
146
|
+
}
|
|
147
147
|
|
|
148
|
-
create<I extends Exact<DeepPartial<GetSceneResponse>, I>>(base?: I): GetSceneResponse {
|
|
148
|
+
export function create<I extends Exact<DeepPartial<GetSceneResponse>, I>>(base?: I): GetSceneResponse {
|
|
149
149
|
return GetSceneResponse.fromPartial(base ?? {});
|
|
150
|
-
}
|
|
150
|
+
}
|
|
151
151
|
|
|
152
|
-
fromPartial<I extends Exact<DeepPartial<GetSceneResponse>, I>>(object: I): GetSceneResponse {
|
|
152
|
+
export function fromPartial<I extends Exact<DeepPartial<GetSceneResponse>, I>>(object: I): GetSceneResponse {
|
|
153
153
|
const message = createBaseGetSceneResponse();
|
|
154
154
|
message.cid = object.cid ?? "";
|
|
155
155
|
message.metadata = object.metadata ?? "";
|
|
156
156
|
message.baseUrl = object.baseUrl ?? "";
|
|
157
157
|
message.contents = object.contents?.map((e) => ContentMapping.fromPartial(e)) || [];
|
|
158
158
|
return message;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
161
|
|
|
162
162
|
export type SceneServiceDefinition = typeof SceneServiceDefinition;
|
|
163
163
|
export const SceneServiceDefinition = {
|