@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
|
@@ -31,15 +31,15 @@ function createBaseSubscriptionRequest(): SubscriptionRequest {
|
|
|
31
31
|
return { topic: "" };
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export
|
|
35
|
-
encode(message: SubscriptionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
34
|
+
export namespace SubscriptionRequest {
|
|
35
|
+
export function encode(message: SubscriptionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
36
36
|
if (message.topic !== "") {
|
|
37
37
|
writer.uint32(10).string(message.topic);
|
|
38
38
|
}
|
|
39
39
|
return writer;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
|
|
42
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SubscriptionRequest {
|
|
42
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SubscriptionRequest {
|
|
43
43
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
44
44
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
45
45
|
const message = createBaseSubscriptionRequest();
|
|
@@ -60,35 +60,38 @@ export const SubscriptionRequest = {
|
|
|
60
60
|
reader.skipType(tag & 7);
|
|
61
61
|
}
|
|
62
62
|
return message;
|
|
63
|
-
}
|
|
63
|
+
}
|
|
64
64
|
|
|
65
|
-
fromJSON(object: any): SubscriptionRequest {
|
|
65
|
+
export function fromJSON(object: any): SubscriptionRequest {
|
|
66
66
|
return { topic: isSet(object.topic) ? String(object.topic) : "" };
|
|
67
|
-
}
|
|
67
|
+
}
|
|
68
68
|
|
|
69
|
-
toJSON(message: SubscriptionRequest): unknown {
|
|
69
|
+
export function toJSON(message: SubscriptionRequest): unknown {
|
|
70
70
|
const obj: any = {};
|
|
71
71
|
message.topic !== undefined && (obj.topic = message.topic);
|
|
72
72
|
return obj;
|
|
73
|
-
}
|
|
73
|
+
}
|
|
74
74
|
|
|
75
|
-
create<I extends Exact<DeepPartial<SubscriptionRequest>, I>>(base?: I): SubscriptionRequest {
|
|
75
|
+
export function create<I extends Exact<DeepPartial<SubscriptionRequest>, I>>(base?: I): SubscriptionRequest {
|
|
76
76
|
return SubscriptionRequest.fromPartial(base ?? {});
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
78
|
|
|
79
|
-
fromPartial<I extends Exact<DeepPartial<SubscriptionRequest>, I>>(object: I): SubscriptionRequest {
|
|
79
|
+
export function fromPartial<I extends Exact<DeepPartial<SubscriptionRequest>, I>>(object: I): SubscriptionRequest {
|
|
80
80
|
const message = createBaseSubscriptionRequest();
|
|
81
81
|
message.topic = object.topic ?? "";
|
|
82
82
|
return message;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
85
|
|
|
86
86
|
function createBasePeerTopicSubscriptionResultElem(): PeerTopicSubscriptionResultElem {
|
|
87
87
|
return { payload: new Uint8Array(), topic: "", sender: "" };
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export
|
|
91
|
-
|
|
90
|
+
export namespace PeerTopicSubscriptionResultElem {
|
|
91
|
+
export function encode(
|
|
92
|
+
message: PeerTopicSubscriptionResultElem,
|
|
93
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
94
|
+
): _m0.Writer {
|
|
92
95
|
if (message.payload.length !== 0) {
|
|
93
96
|
writer.uint32(10).bytes(message.payload);
|
|
94
97
|
}
|
|
@@ -99,9 +102,9 @@ export const PeerTopicSubscriptionResultElem = {
|
|
|
99
102
|
writer.uint32(26).string(message.sender);
|
|
100
103
|
}
|
|
101
104
|
return writer;
|
|
102
|
-
}
|
|
105
|
+
}
|
|
103
106
|
|
|
104
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PeerTopicSubscriptionResultElem {
|
|
107
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PeerTopicSubscriptionResultElem {
|
|
105
108
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
106
109
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
107
110
|
const message = createBasePeerTopicSubscriptionResultElem();
|
|
@@ -136,30 +139,32 @@ export const PeerTopicSubscriptionResultElem = {
|
|
|
136
139
|
reader.skipType(tag & 7);
|
|
137
140
|
}
|
|
138
141
|
return message;
|
|
139
|
-
}
|
|
142
|
+
}
|
|
140
143
|
|
|
141
|
-
fromJSON(object: any): PeerTopicSubscriptionResultElem {
|
|
144
|
+
export function fromJSON(object: any): PeerTopicSubscriptionResultElem {
|
|
142
145
|
return {
|
|
143
146
|
payload: isSet(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array(),
|
|
144
147
|
topic: isSet(object.topic) ? String(object.topic) : "",
|
|
145
148
|
sender: isSet(object.sender) ? String(object.sender) : "",
|
|
146
149
|
};
|
|
147
|
-
}
|
|
150
|
+
}
|
|
148
151
|
|
|
149
|
-
toJSON(message: PeerTopicSubscriptionResultElem): unknown {
|
|
152
|
+
export function toJSON(message: PeerTopicSubscriptionResultElem): unknown {
|
|
150
153
|
const obj: any = {};
|
|
151
154
|
message.payload !== undefined &&
|
|
152
155
|
(obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : new Uint8Array()));
|
|
153
156
|
message.topic !== undefined && (obj.topic = message.topic);
|
|
154
157
|
message.sender !== undefined && (obj.sender = message.sender);
|
|
155
158
|
return obj;
|
|
156
|
-
}
|
|
159
|
+
}
|
|
157
160
|
|
|
158
|
-
create<I extends Exact<DeepPartial<PeerTopicSubscriptionResultElem>, I>>(
|
|
161
|
+
export function create<I extends Exact<DeepPartial<PeerTopicSubscriptionResultElem>, I>>(
|
|
162
|
+
base?: I,
|
|
163
|
+
): PeerTopicSubscriptionResultElem {
|
|
159
164
|
return PeerTopicSubscriptionResultElem.fromPartial(base ?? {});
|
|
160
|
-
}
|
|
165
|
+
}
|
|
161
166
|
|
|
162
|
-
fromPartial<I extends Exact<DeepPartial<PeerTopicSubscriptionResultElem>, I>>(
|
|
167
|
+
export function fromPartial<I extends Exact<DeepPartial<PeerTopicSubscriptionResultElem>, I>>(
|
|
163
168
|
object: I,
|
|
164
169
|
): PeerTopicSubscriptionResultElem {
|
|
165
170
|
const message = createBasePeerTopicSubscriptionResultElem();
|
|
@@ -167,15 +172,18 @@ export const PeerTopicSubscriptionResultElem = {
|
|
|
167
172
|
message.topic = object.topic ?? "";
|
|
168
173
|
message.sender = object.sender ?? "";
|
|
169
174
|
return message;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
172
177
|
|
|
173
178
|
function createBaseSystemTopicSubscriptionResultElem(): SystemTopicSubscriptionResultElem {
|
|
174
179
|
return { payload: new Uint8Array(), topic: "" };
|
|
175
180
|
}
|
|
176
181
|
|
|
177
|
-
export
|
|
178
|
-
|
|
182
|
+
export namespace SystemTopicSubscriptionResultElem {
|
|
183
|
+
export function encode(
|
|
184
|
+
message: SystemTopicSubscriptionResultElem,
|
|
185
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
186
|
+
): _m0.Writer {
|
|
179
187
|
if (message.payload.length !== 0) {
|
|
180
188
|
writer.uint32(10).bytes(message.payload);
|
|
181
189
|
}
|
|
@@ -183,9 +191,9 @@ export const SystemTopicSubscriptionResultElem = {
|
|
|
183
191
|
writer.uint32(18).string(message.topic);
|
|
184
192
|
}
|
|
185
193
|
return writer;
|
|
186
|
-
}
|
|
194
|
+
}
|
|
187
195
|
|
|
188
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SystemTopicSubscriptionResultElem {
|
|
196
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SystemTopicSubscriptionResultElem {
|
|
189
197
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
190
198
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
191
199
|
const message = createBaseSystemTopicSubscriptionResultElem();
|
|
@@ -213,45 +221,45 @@ export const SystemTopicSubscriptionResultElem = {
|
|
|
213
221
|
reader.skipType(tag & 7);
|
|
214
222
|
}
|
|
215
223
|
return message;
|
|
216
|
-
}
|
|
224
|
+
}
|
|
217
225
|
|
|
218
|
-
fromJSON(object: any): SystemTopicSubscriptionResultElem {
|
|
226
|
+
export function fromJSON(object: any): SystemTopicSubscriptionResultElem {
|
|
219
227
|
return {
|
|
220
228
|
payload: isSet(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array(),
|
|
221
229
|
topic: isSet(object.topic) ? String(object.topic) : "",
|
|
222
230
|
};
|
|
223
|
-
}
|
|
231
|
+
}
|
|
224
232
|
|
|
225
|
-
toJSON(message: SystemTopicSubscriptionResultElem): unknown {
|
|
233
|
+
export function toJSON(message: SystemTopicSubscriptionResultElem): unknown {
|
|
226
234
|
const obj: any = {};
|
|
227
235
|
message.payload !== undefined &&
|
|
228
236
|
(obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : new Uint8Array()));
|
|
229
237
|
message.topic !== undefined && (obj.topic = message.topic);
|
|
230
238
|
return obj;
|
|
231
|
-
}
|
|
239
|
+
}
|
|
232
240
|
|
|
233
|
-
create<I extends Exact<DeepPartial<SystemTopicSubscriptionResultElem>, I>>(
|
|
241
|
+
export function create<I extends Exact<DeepPartial<SystemTopicSubscriptionResultElem>, I>>(
|
|
234
242
|
base?: I,
|
|
235
243
|
): SystemTopicSubscriptionResultElem {
|
|
236
244
|
return SystemTopicSubscriptionResultElem.fromPartial(base ?? {});
|
|
237
|
-
}
|
|
245
|
+
}
|
|
238
246
|
|
|
239
|
-
fromPartial<I extends Exact<DeepPartial<SystemTopicSubscriptionResultElem>, I>>(
|
|
247
|
+
export function fromPartial<I extends Exact<DeepPartial<SystemTopicSubscriptionResultElem>, I>>(
|
|
240
248
|
object: I,
|
|
241
249
|
): SystemTopicSubscriptionResultElem {
|
|
242
250
|
const message = createBaseSystemTopicSubscriptionResultElem();
|
|
243
251
|
message.payload = object.payload ?? new Uint8Array();
|
|
244
252
|
message.topic = object.topic ?? "";
|
|
245
253
|
return message;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
248
256
|
|
|
249
257
|
function createBasePublishToTopicRequest(): PublishToTopicRequest {
|
|
250
258
|
return { topic: "", payload: new Uint8Array() };
|
|
251
259
|
}
|
|
252
260
|
|
|
253
|
-
export
|
|
254
|
-
encode(message: PublishToTopicRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
261
|
+
export namespace PublishToTopicRequest {
|
|
262
|
+
export function encode(message: PublishToTopicRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
255
263
|
if (message.topic !== "") {
|
|
256
264
|
writer.uint32(10).string(message.topic);
|
|
257
265
|
}
|
|
@@ -259,9 +267,9 @@ export const PublishToTopicRequest = {
|
|
|
259
267
|
writer.uint32(18).bytes(message.payload);
|
|
260
268
|
}
|
|
261
269
|
return writer;
|
|
262
|
-
}
|
|
270
|
+
}
|
|
263
271
|
|
|
264
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PublishToTopicRequest {
|
|
272
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PublishToTopicRequest {
|
|
265
273
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
266
274
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
267
275
|
const message = createBasePublishToTopicRequest();
|
|
@@ -289,48 +297,50 @@ export const PublishToTopicRequest = {
|
|
|
289
297
|
reader.skipType(tag & 7);
|
|
290
298
|
}
|
|
291
299
|
return message;
|
|
292
|
-
}
|
|
300
|
+
}
|
|
293
301
|
|
|
294
|
-
fromJSON(object: any): PublishToTopicRequest {
|
|
302
|
+
export function fromJSON(object: any): PublishToTopicRequest {
|
|
295
303
|
return {
|
|
296
304
|
topic: isSet(object.topic) ? String(object.topic) : "",
|
|
297
305
|
payload: isSet(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array(),
|
|
298
306
|
};
|
|
299
|
-
}
|
|
307
|
+
}
|
|
300
308
|
|
|
301
|
-
toJSON(message: PublishToTopicRequest): unknown {
|
|
309
|
+
export function toJSON(message: PublishToTopicRequest): unknown {
|
|
302
310
|
const obj: any = {};
|
|
303
311
|
message.topic !== undefined && (obj.topic = message.topic);
|
|
304
312
|
message.payload !== undefined &&
|
|
305
313
|
(obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : new Uint8Array()));
|
|
306
314
|
return obj;
|
|
307
|
-
}
|
|
315
|
+
}
|
|
308
316
|
|
|
309
|
-
create<I extends Exact<DeepPartial<PublishToTopicRequest>, I>>(base?: I): PublishToTopicRequest {
|
|
317
|
+
export function create<I extends Exact<DeepPartial<PublishToTopicRequest>, I>>(base?: I): PublishToTopicRequest {
|
|
310
318
|
return PublishToTopicRequest.fromPartial(base ?? {});
|
|
311
|
-
}
|
|
319
|
+
}
|
|
312
320
|
|
|
313
|
-
fromPartial<I extends Exact<DeepPartial<PublishToTopicRequest>, I>>(
|
|
321
|
+
export function fromPartial<I extends Exact<DeepPartial<PublishToTopicRequest>, I>>(
|
|
322
|
+
object: I,
|
|
323
|
+
): PublishToTopicRequest {
|
|
314
324
|
const message = createBasePublishToTopicRequest();
|
|
315
325
|
message.topic = object.topic ?? "";
|
|
316
326
|
message.payload = object.payload ?? new Uint8Array();
|
|
317
327
|
return message;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
320
330
|
|
|
321
331
|
function createBasePublishToTopicResult(): PublishToTopicResult {
|
|
322
332
|
return { ok: false };
|
|
323
333
|
}
|
|
324
334
|
|
|
325
|
-
export
|
|
326
|
-
encode(message: PublishToTopicResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
335
|
+
export namespace PublishToTopicResult {
|
|
336
|
+
export function encode(message: PublishToTopicResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
327
337
|
if (message.ok === true) {
|
|
328
338
|
writer.uint32(8).bool(message.ok);
|
|
329
339
|
}
|
|
330
340
|
return writer;
|
|
331
|
-
}
|
|
341
|
+
}
|
|
332
342
|
|
|
333
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PublishToTopicResult {
|
|
343
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PublishToTopicResult {
|
|
334
344
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
335
345
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
336
346
|
const message = createBasePublishToTopicResult();
|
|
@@ -351,28 +361,28 @@ export const PublishToTopicResult = {
|
|
|
351
361
|
reader.skipType(tag & 7);
|
|
352
362
|
}
|
|
353
363
|
return message;
|
|
354
|
-
}
|
|
364
|
+
}
|
|
355
365
|
|
|
356
|
-
fromJSON(object: any): PublishToTopicResult {
|
|
366
|
+
export function fromJSON(object: any): PublishToTopicResult {
|
|
357
367
|
return { ok: isSet(object.ok) ? Boolean(object.ok) : false };
|
|
358
|
-
}
|
|
368
|
+
}
|
|
359
369
|
|
|
360
|
-
toJSON(message: PublishToTopicResult): unknown {
|
|
370
|
+
export function toJSON(message: PublishToTopicResult): unknown {
|
|
361
371
|
const obj: any = {};
|
|
362
372
|
message.ok !== undefined && (obj.ok = message.ok);
|
|
363
373
|
return obj;
|
|
364
|
-
}
|
|
374
|
+
}
|
|
365
375
|
|
|
366
|
-
create<I extends Exact<DeepPartial<PublishToTopicResult>, I>>(base?: I): PublishToTopicResult {
|
|
376
|
+
export function create<I extends Exact<DeepPartial<PublishToTopicResult>, I>>(base?: I): PublishToTopicResult {
|
|
367
377
|
return PublishToTopicResult.fromPartial(base ?? {});
|
|
368
|
-
}
|
|
378
|
+
}
|
|
369
379
|
|
|
370
|
-
fromPartial<I extends Exact<DeepPartial<PublishToTopicResult>, I>>(object: I): PublishToTopicResult {
|
|
380
|
+
export function fromPartial<I extends Exact<DeepPartial<PublishToTopicResult>, I>>(object: I): PublishToTopicResult {
|
|
371
381
|
const message = createBasePublishToTopicResult();
|
|
372
382
|
message.ok = object.ok ?? false;
|
|
373
383
|
return message;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
376
386
|
|
|
377
387
|
export type TopicsServiceDefinition = typeof TopicsServiceDefinition;
|
|
378
388
|
export const TopicsServiceDefinition = {
|
|
@@ -23,8 +23,8 @@ function createBaseBorderRect(): BorderRect {
|
|
|
23
23
|
return { top: 0, left: 0, right: 0, bottom: 0 };
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
27
|
-
encode(message: BorderRect, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
26
|
+
export namespace BorderRect {
|
|
27
|
+
export function encode(message: BorderRect, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
28
28
|
if (message.top !== 0) {
|
|
29
29
|
writer.uint32(13).float(message.top);
|
|
30
30
|
}
|
|
@@ -38,9 +38,9 @@ export const BorderRect = {
|
|
|
38
38
|
writer.uint32(37).float(message.bottom);
|
|
39
39
|
}
|
|
40
40
|
return writer;
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
42
|
|
|
43
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BorderRect {
|
|
43
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): BorderRect {
|
|
44
44
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
45
45
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
46
46
|
const message = createBaseBorderRect();
|
|
@@ -82,46 +82,46 @@ export const BorderRect = {
|
|
|
82
82
|
reader.skipType(tag & 7);
|
|
83
83
|
}
|
|
84
84
|
return message;
|
|
85
|
-
}
|
|
85
|
+
}
|
|
86
86
|
|
|
87
|
-
fromJSON(object: any): BorderRect {
|
|
87
|
+
export function fromJSON(object: any): BorderRect {
|
|
88
88
|
return {
|
|
89
89
|
top: isSet(object.top) ? Number(object.top) : 0,
|
|
90
90
|
left: isSet(object.left) ? Number(object.left) : 0,
|
|
91
91
|
right: isSet(object.right) ? Number(object.right) : 0,
|
|
92
92
|
bottom: isSet(object.bottom) ? Number(object.bottom) : 0,
|
|
93
93
|
};
|
|
94
|
-
}
|
|
94
|
+
}
|
|
95
95
|
|
|
96
|
-
toJSON(message: BorderRect): unknown {
|
|
96
|
+
export function toJSON(message: BorderRect): unknown {
|
|
97
97
|
const obj: any = {};
|
|
98
98
|
message.top !== undefined && (obj.top = message.top);
|
|
99
99
|
message.left !== undefined && (obj.left = message.left);
|
|
100
100
|
message.right !== undefined && (obj.right = message.right);
|
|
101
101
|
message.bottom !== undefined && (obj.bottom = message.bottom);
|
|
102
102
|
return obj;
|
|
103
|
-
}
|
|
103
|
+
}
|
|
104
104
|
|
|
105
|
-
create<I extends Exact<DeepPartial<BorderRect>, I>>(base?: I): BorderRect {
|
|
105
|
+
export function create<I extends Exact<DeepPartial<BorderRect>, I>>(base?: I): BorderRect {
|
|
106
106
|
return BorderRect.fromPartial(base ?? {});
|
|
107
|
-
}
|
|
107
|
+
}
|
|
108
108
|
|
|
109
|
-
fromPartial<I extends Exact<DeepPartial<BorderRect>, I>>(object: I): BorderRect {
|
|
109
|
+
export function fromPartial<I extends Exact<DeepPartial<BorderRect>, I>>(object: I): BorderRect {
|
|
110
110
|
const message = createBaseBorderRect();
|
|
111
111
|
message.top = object.top ?? 0;
|
|
112
112
|
message.left = object.left ?? 0;
|
|
113
113
|
message.right = object.right ?? 0;
|
|
114
114
|
message.bottom = object.bottom ?? 0;
|
|
115
115
|
return message;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
118
|
|
|
119
119
|
function createBaseRect(): Rect {
|
|
120
120
|
return { x: 0, y: 0, width: 0, height: 0 };
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export
|
|
124
|
-
encode(message: Rect, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
123
|
+
export namespace Rect {
|
|
124
|
+
export function encode(message: Rect, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
125
125
|
if (message.x !== 0) {
|
|
126
126
|
writer.uint32(13).float(message.x);
|
|
127
127
|
}
|
|
@@ -135,9 +135,9 @@ export const Rect = {
|
|
|
135
135
|
writer.uint32(37).float(message.height);
|
|
136
136
|
}
|
|
137
137
|
return writer;
|
|
138
|
-
}
|
|
138
|
+
}
|
|
139
139
|
|
|
140
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Rect {
|
|
140
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Rect {
|
|
141
141
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
142
142
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
143
143
|
const message = createBaseRect();
|
|
@@ -179,39 +179,39 @@ export const Rect = {
|
|
|
179
179
|
reader.skipType(tag & 7);
|
|
180
180
|
}
|
|
181
181
|
return message;
|
|
182
|
-
}
|
|
182
|
+
}
|
|
183
183
|
|
|
184
|
-
fromJSON(object: any): Rect {
|
|
184
|
+
export function fromJSON(object: any): Rect {
|
|
185
185
|
return {
|
|
186
186
|
x: isSet(object.x) ? Number(object.x) : 0,
|
|
187
187
|
y: isSet(object.y) ? Number(object.y) : 0,
|
|
188
188
|
width: isSet(object.width) ? Number(object.width) : 0,
|
|
189
189
|
height: isSet(object.height) ? Number(object.height) : 0,
|
|
190
190
|
};
|
|
191
|
-
}
|
|
191
|
+
}
|
|
192
192
|
|
|
193
|
-
toJSON(message: Rect): unknown {
|
|
193
|
+
export function toJSON(message: Rect): unknown {
|
|
194
194
|
const obj: any = {};
|
|
195
195
|
message.x !== undefined && (obj.x = message.x);
|
|
196
196
|
message.y !== undefined && (obj.y = message.y);
|
|
197
197
|
message.width !== undefined && (obj.width = message.width);
|
|
198
198
|
message.height !== undefined && (obj.height = message.height);
|
|
199
199
|
return obj;
|
|
200
|
-
}
|
|
200
|
+
}
|
|
201
201
|
|
|
202
|
-
create<I extends Exact<DeepPartial<Rect>, I>>(base?: I): Rect {
|
|
202
|
+
export function create<I extends Exact<DeepPartial<Rect>, I>>(base?: I): Rect {
|
|
203
203
|
return Rect.fromPartial(base ?? {});
|
|
204
|
-
}
|
|
204
|
+
}
|
|
205
205
|
|
|
206
|
-
fromPartial<I extends Exact<DeepPartial<Rect>, I>>(object: I): Rect {
|
|
206
|
+
export function fromPartial<I extends Exact<DeepPartial<Rect>, I>>(object: I): Rect {
|
|
207
207
|
const message = createBaseRect();
|
|
208
208
|
message.x = object.x ?? 0;
|
|
209
209
|
message.y = object.y ?? 0;
|
|
210
210
|
message.width = object.width ?? 0;
|
|
211
211
|
message.height = object.height ?? 0;
|
|
212
212
|
return message;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
215
|
|
|
216
216
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
217
217
|
|
|
@@ -20,8 +20,8 @@ function createBaseColor3(): Color3 {
|
|
|
20
20
|
return { r: 0, g: 0, b: 0 };
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export
|
|
24
|
-
encode(message: Color3, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
23
|
+
export namespace Color3 {
|
|
24
|
+
export function encode(message: Color3, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
25
25
|
if (message.r !== 0) {
|
|
26
26
|
writer.uint32(13).float(message.r);
|
|
27
27
|
}
|
|
@@ -32,9 +32,9 @@ export const Color3 = {
|
|
|
32
32
|
writer.uint32(29).float(message.b);
|
|
33
33
|
}
|
|
34
34
|
return writer;
|
|
35
|
-
}
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Color3 {
|
|
37
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Color3 {
|
|
38
38
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
39
39
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
40
|
const message = createBaseColor3();
|
|
@@ -69,43 +69,43 @@ export const Color3 = {
|
|
|
69
69
|
reader.skipType(tag & 7);
|
|
70
70
|
}
|
|
71
71
|
return message;
|
|
72
|
-
}
|
|
72
|
+
}
|
|
73
73
|
|
|
74
|
-
fromJSON(object: any): Color3 {
|
|
74
|
+
export function fromJSON(object: any): Color3 {
|
|
75
75
|
return {
|
|
76
76
|
r: isSet(object.r) ? Number(object.r) : 0,
|
|
77
77
|
g: isSet(object.g) ? Number(object.g) : 0,
|
|
78
78
|
b: isSet(object.b) ? Number(object.b) : 0,
|
|
79
79
|
};
|
|
80
|
-
}
|
|
80
|
+
}
|
|
81
81
|
|
|
82
|
-
toJSON(message: Color3): unknown {
|
|
82
|
+
export function toJSON(message: Color3): unknown {
|
|
83
83
|
const obj: any = {};
|
|
84
84
|
message.r !== undefined && (obj.r = message.r);
|
|
85
85
|
message.g !== undefined && (obj.g = message.g);
|
|
86
86
|
message.b !== undefined && (obj.b = message.b);
|
|
87
87
|
return obj;
|
|
88
|
-
}
|
|
88
|
+
}
|
|
89
89
|
|
|
90
|
-
create<I extends Exact<DeepPartial<Color3>, I>>(base?: I): Color3 {
|
|
90
|
+
export function create<I extends Exact<DeepPartial<Color3>, I>>(base?: I): Color3 {
|
|
91
91
|
return Color3.fromPartial(base ?? {});
|
|
92
|
-
}
|
|
92
|
+
}
|
|
93
93
|
|
|
94
|
-
fromPartial<I extends Exact<DeepPartial<Color3>, I>>(object: I): Color3 {
|
|
94
|
+
export function fromPartial<I extends Exact<DeepPartial<Color3>, I>>(object: I): Color3 {
|
|
95
95
|
const message = createBaseColor3();
|
|
96
96
|
message.r = object.r ?? 0;
|
|
97
97
|
message.g = object.g ?? 0;
|
|
98
98
|
message.b = object.b ?? 0;
|
|
99
99
|
return message;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
102
|
|
|
103
103
|
function createBaseColor4(): Color4 {
|
|
104
104
|
return { r: 0, g: 0, b: 0, a: 0 };
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export
|
|
108
|
-
encode(message: Color4, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
107
|
+
export namespace Color4 {
|
|
108
|
+
export function encode(message: Color4, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
109
109
|
if (message.r !== 0) {
|
|
110
110
|
writer.uint32(13).float(message.r);
|
|
111
111
|
}
|
|
@@ -119,9 +119,9 @@ export const Color4 = {
|
|
|
119
119
|
writer.uint32(37).float(message.a);
|
|
120
120
|
}
|
|
121
121
|
return writer;
|
|
122
|
-
}
|
|
122
|
+
}
|
|
123
123
|
|
|
124
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Color4 {
|
|
124
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Color4 {
|
|
125
125
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
126
126
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
127
127
|
const message = createBaseColor4();
|
|
@@ -163,39 +163,39 @@ export const Color4 = {
|
|
|
163
163
|
reader.skipType(tag & 7);
|
|
164
164
|
}
|
|
165
165
|
return message;
|
|
166
|
-
}
|
|
166
|
+
}
|
|
167
167
|
|
|
168
|
-
fromJSON(object: any): Color4 {
|
|
168
|
+
export function fromJSON(object: any): Color4 {
|
|
169
169
|
return {
|
|
170
170
|
r: isSet(object.r) ? Number(object.r) : 0,
|
|
171
171
|
g: isSet(object.g) ? Number(object.g) : 0,
|
|
172
172
|
b: isSet(object.b) ? Number(object.b) : 0,
|
|
173
173
|
a: isSet(object.a) ? Number(object.a) : 0,
|
|
174
174
|
};
|
|
175
|
-
}
|
|
175
|
+
}
|
|
176
176
|
|
|
177
|
-
toJSON(message: Color4): unknown {
|
|
177
|
+
export function toJSON(message: Color4): unknown {
|
|
178
178
|
const obj: any = {};
|
|
179
179
|
message.r !== undefined && (obj.r = message.r);
|
|
180
180
|
message.g !== undefined && (obj.g = message.g);
|
|
181
181
|
message.b !== undefined && (obj.b = message.b);
|
|
182
182
|
message.a !== undefined && (obj.a = message.a);
|
|
183
183
|
return obj;
|
|
184
|
-
}
|
|
184
|
+
}
|
|
185
185
|
|
|
186
|
-
create<I extends Exact<DeepPartial<Color4>, I>>(base?: I): Color4 {
|
|
186
|
+
export function create<I extends Exact<DeepPartial<Color4>, I>>(base?: I): Color4 {
|
|
187
187
|
return Color4.fromPartial(base ?? {});
|
|
188
|
-
}
|
|
188
|
+
}
|
|
189
189
|
|
|
190
|
-
fromPartial<I extends Exact<DeepPartial<Color4>, I>>(object: I): Color4 {
|
|
190
|
+
export function fromPartial<I extends Exact<DeepPartial<Color4>, I>>(object: I): Color4 {
|
|
191
191
|
const message = createBaseColor4();
|
|
192
192
|
message.r = object.r ?? 0;
|
|
193
193
|
message.g = object.g ?? 0;
|
|
194
194
|
message.b = object.b ?? 0;
|
|
195
195
|
message.a = object.a ?? 0;
|
|
196
196
|
return message;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
199
|
|
|
200
200
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
201
201
|
|
|
@@ -12,8 +12,8 @@ function createBaseContentMapping(): ContentMapping {
|
|
|
12
12
|
return { file: "", hash: "" };
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export
|
|
16
|
-
encode(message: ContentMapping, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
15
|
+
export namespace ContentMapping {
|
|
16
|
+
export function encode(message: ContentMapping, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
17
17
|
if (message.file !== "") {
|
|
18
18
|
writer.uint32(10).string(message.file);
|
|
19
19
|
}
|
|
@@ -21,9 +21,9 @@ export const ContentMapping = {
|
|
|
21
21
|
writer.uint32(18).string(message.hash);
|
|
22
22
|
}
|
|
23
23
|
return writer;
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
|
|
26
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ContentMapping {
|
|
26
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ContentMapping {
|
|
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 = createBaseContentMapping();
|
|
@@ -51,30 +51,30 @@ export const ContentMapping = {
|
|
|
51
51
|
reader.skipType(tag & 7);
|
|
52
52
|
}
|
|
53
53
|
return message;
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
55
|
|
|
56
|
-
fromJSON(object: any): ContentMapping {
|
|
56
|
+
export function fromJSON(object: any): ContentMapping {
|
|
57
57
|
return { file: isSet(object.file) ? String(object.file) : "", hash: isSet(object.hash) ? String(object.hash) : "" };
|
|
58
|
-
}
|
|
58
|
+
}
|
|
59
59
|
|
|
60
|
-
toJSON(message: ContentMapping): unknown {
|
|
60
|
+
export function toJSON(message: ContentMapping): unknown {
|
|
61
61
|
const obj: any = {};
|
|
62
62
|
message.file !== undefined && (obj.file = message.file);
|
|
63
63
|
message.hash !== undefined && (obj.hash = message.hash);
|
|
64
64
|
return obj;
|
|
65
|
-
}
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
create<I extends Exact<DeepPartial<ContentMapping>, I>>(base?: I): ContentMapping {
|
|
67
|
+
export function create<I extends Exact<DeepPartial<ContentMapping>, I>>(base?: I): ContentMapping {
|
|
68
68
|
return ContentMapping.fromPartial(base ?? {});
|
|
69
|
-
}
|
|
69
|
+
}
|
|
70
70
|
|
|
71
|
-
fromPartial<I extends Exact<DeepPartial<ContentMapping>, I>>(object: I): ContentMapping {
|
|
71
|
+
export function fromPartial<I extends Exact<DeepPartial<ContentMapping>, I>>(object: I): ContentMapping {
|
|
72
72
|
const message = createBaseContentMapping();
|
|
73
73
|
message.file = object.file ?? "";
|
|
74
74
|
message.hash = object.hash ?? "";
|
|
75
75
|
return message;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
78
|
|
|
79
79
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
80
80
|
|