@dcl/protocol 1.0.0-4427886959.commit-6b9dcb5 → 1.0.0-4468031496.commit-eace17b

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.
Files changed (336) hide show
  1. package/out-js/decentraland/bff/authentication_service.gen.d.ts +6 -2
  2. package/out-js/decentraland/bff/authentication_service.gen.js +46 -24
  3. package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
  4. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +6 -2
  5. package/out-js/decentraland/bff/comms_director_service.gen.js +33 -18
  6. package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
  7. package/out-js/decentraland/bff/comms_service.gen.d.ts +21 -7
  8. package/out-js/decentraland/bff/comms_service.gen.js +25 -17
  9. package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
  10. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +3 -1
  11. package/out-js/decentraland/bff/http_endpoints.gen.js +197 -72
  12. package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
  13. package/out-js/decentraland/bff/topics_service.gen.d.ts +9 -3
  14. package/out-js/decentraland/bff/topics_service.gen.js +64 -32
  15. package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
  16. package/out-js/decentraland/common/border_rect.gen.d.ts +54 -0
  17. package/out-js/decentraland/common/border_rect.gen.js +100 -0
  18. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  19. package/out-js/decentraland/common/colors.gen.d.ts +82 -0
  20. package/out-js/decentraland/common/colors.gen.js +175 -0
  21. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  22. package/out-js/decentraland/common/content_mapping.gen.js +13 -6
  23. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  24. package/out-js/decentraland/common/sdk/user_data.gen.js +71 -26
  25. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  26. package/out-js/decentraland/common/texture.gen.d.ts +319 -0
  27. package/out-js/decentraland/common/texture.gen.js +424 -0
  28. package/out-js/decentraland/common/texture.gen.js.map +1 -0
  29. package/out-js/decentraland/common/vectors.gen.js +47 -20
  30. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +3 -1
  32. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +15 -10
  33. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +3 -1
  35. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +19 -11
  36. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +18 -6
  38. package/out-js/decentraland/kernel/apis/engine_api.gen.js +443 -206
  39. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +21 -7
  41. package/out-js/decentraland/kernel/apis/environment_api.gen.js +176 -96
  42. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +15 -5
  44. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +141 -72
  45. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +9 -3
  47. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +91 -47
  48. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  49. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +6 -2
  50. package/out-js/decentraland/kernel/apis/permissions.gen.js +42 -28
  51. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  52. package/out-js/decentraland/kernel/apis/players.gen.d.ts +9 -3
  53. package/out-js/decentraland/kernel/apis/players.gen.js +49 -31
  54. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +12 -4
  56. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +81 -48
  57. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +21 -7
  59. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +123 -69
  60. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  61. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +6 -2
  62. package/out-js/decentraland/kernel/apis/runtime.gen.js +55 -29
  63. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  64. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +3 -1
  65. package/out-js/decentraland/kernel/apis/scene.gen.js +27 -13
  66. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +3 -1
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +82 -35
  69. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +3 -1
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.js +28 -16
  72. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  73. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +3 -1
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +15 -10
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  76. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +6 -2
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.js +30 -20
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  79. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +148 -59
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  81. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +142 -63
  82. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  83. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +201 -86
  84. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  85. package/out-js/decentraland/sdk/components/animator.gen.d.ts +184 -0
  86. package/out-js/decentraland/sdk/components/animator.gen.js +198 -0
  87. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  88. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +74 -0
  89. package/out-js/decentraland/sdk/components/audio_source.gen.js +112 -0
  90. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  91. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +56 -0
  92. package/out-js/decentraland/sdk/components/audio_stream.gen.js +88 -0
  93. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  94. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +65 -0
  95. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +122 -0
  96. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  97. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +100 -0
  98. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +146 -0
  99. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  100. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +192 -0
  101. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +244 -0
  102. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  103. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +59 -0
  104. package/out-js/decentraland/sdk/components/billboard.gen.js +118 -0
  105. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  106. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +44 -0
  107. package/out-js/decentraland/sdk/components/camera_mode.gen.js +63 -0
  108. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  109. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +84 -0
  110. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +78 -0
  111. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  112. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +8 -0
  113. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +39 -0
  114. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  115. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  116. package/out-js/{renderer-interface.gen.js → decentraland/sdk/components/common/id.gen.js} +2 -2
  117. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  118. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +20 -0
  119. package/out-js/decentraland/sdk/components/common/input_action.gen.js +111 -0
  120. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  121. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  122. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  123. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  124. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +45 -0
  125. package/out-js/decentraland/sdk/components/gltf_container.gen.js +62 -0
  126. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  127. package/out-js/decentraland/sdk/components/material.gen.d.ts +3452 -0
  128. package/out-js/decentraland/sdk/components/material.gen.js +506 -0
  129. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  130. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +250 -0
  131. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +350 -0
  132. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  133. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +284 -0
  134. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +347 -0
  135. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  136. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +114 -0
  137. package/out-js/decentraland/sdk/components/nft_shape.gen.js +252 -0
  138. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  139. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +249 -0
  140. package/out-js/decentraland/sdk/components/pointer_events.gen.js +272 -0
  141. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  142. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +241 -0
  143. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +115 -0
  144. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  145. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +43 -0
  146. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +62 -0
  147. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  148. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +118 -0
  149. package/out-js/decentraland/sdk/components/raycast.gen.js +140 -0
  150. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  151. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +536 -0
  152. package/out-js/decentraland/sdk/components/raycast_result.gen.js +278 -0
  153. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  154. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +247 -0
  155. package/out-js/decentraland/sdk/components/text_shape.gen.js +338 -0
  156. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  157. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +369 -0
  158. package/out-js/decentraland/sdk/components/ui_background.gen.js +190 -0
  159. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  160. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +115 -0
  161. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +180 -0
  162. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  163. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +38 -0
  164. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +62 -0
  165. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  166. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +140 -0
  167. package/out-js/decentraland/sdk/components/ui_input.gen.js +165 -0
  168. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  169. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +38 -0
  170. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +62 -0
  171. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  172. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +95 -0
  173. package/out-js/decentraland/sdk/components/ui_text.gen.js +117 -0
  174. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  175. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +403 -0
  176. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1154 -0
  177. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  178. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +69 -0
  179. package/out-js/decentraland/sdk/components/video_player.gen.js +131 -0
  180. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  181. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
  182. package/out-js/decentraland/sdk/components/visibility_component.gen.js +62 -0
  183. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  184. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +12 -4
  185. package/out-js/decentraland/social/friendships/friendships.gen.js +231 -113
  186. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
  187. package/out-js/google/protobuf/descriptor.gen.d.ts +87384 -0
  188. package/out-js/google/protobuf/descriptor.gen.js +2998 -0
  189. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  190. package/out-js/google/protobuf/empty.gen.js +5 -4
  191. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  192. package/out-js/sdk-components.gen.d.ts +1 -0
  193. package/out-js/sdk-components.gen.js +6 -0
  194. package/out-js/sdk-components.gen.js.map +1 -0
  195. package/out-ts/decentraland/bff/authentication_service.gen.ts +52 -24
  196. package/out-ts/decentraland/bff/comms_director_service.gen.ts +37 -18
  197. package/out-ts/decentraland/bff/comms_service.gen.ts +27 -17
  198. package/out-ts/decentraland/bff/http_endpoints.gen.ts +236 -72
  199. package/out-ts/decentraland/bff/topics_service.gen.ts +73 -32
  200. package/out-ts/decentraland/common/border_rect.gen.ts +125 -0
  201. package/out-ts/decentraland/common/colors.gen.ts +214 -0
  202. package/out-ts/decentraland/common/content_mapping.gen.ts +15 -6
  203. package/out-ts/decentraland/common/sdk/user_data.gen.ts +85 -26
  204. package/out-ts/decentraland/common/texture.gen.ts +506 -0
  205. package/out-ts/decentraland/common/vectors.gen.ts +55 -20
  206. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +16 -10
  207. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +21 -11
  208. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +511 -206
  209. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +197 -96
  210. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +160 -72
  211. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +103 -47
  212. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +50 -26
  213. package/out-ts/decentraland/kernel/apis/players.gen.ts +53 -31
  214. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +89 -48
  215. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +137 -69
  216. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +62 -29
  217. package/out-ts/decentraland/kernel/apis/scene.gen.ts +31 -13
  218. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +96 -35
  219. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +31 -16
  220. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +16 -10
  221. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +32 -20
  222. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +175 -59
  223. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +165 -63
  224. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +235 -86
  225. package/out-ts/decentraland/sdk/components/animator.gen.ts +263 -0
  226. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +162 -0
  227. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
  228. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +156 -0
  229. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +187 -0
  230. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
  231. package/out-ts/decentraland/sdk/components/billboard.gen.ts +145 -0
  232. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  233. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  234. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +36 -0
  235. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  236. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +108 -0
  237. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  238. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +87 -0
  239. package/out-ts/decentraland/sdk/components/material.gen.ts +637 -0
  240. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +436 -0
  241. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +436 -0
  242. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  243. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +347 -0
  244. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +145 -0
  245. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  246. package/out-ts/decentraland/sdk/components/raycast.gen.ts +176 -0
  247. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +361 -0
  248. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  249. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +222 -0
  250. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  251. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  252. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  253. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +80 -0
  254. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +161 -0
  255. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1309 -0
  256. package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
  257. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +81 -0
  258. package/out-ts/decentraland/social/friendships/friendships.gen.ts +264 -113
  259. package/out-ts/google/protobuf/descriptor.gen.ts +3440 -0
  260. package/out-ts/google/protobuf/empty.gen.ts +5 -4
  261. package/out-ts/sdk-components.gen.ts +3 -0
  262. package/package.json +2 -2
  263. package/public/sdk-components.proto +33 -0
  264. package/out-js/decentraland/common/entity.gen.d.ts +0 -89
  265. package/out-js/decentraland/common/entity.gen.js +0 -107
  266. package/out-js/decentraland/common/entity.gen.js.map +0 -1
  267. package/out-js/decentraland/renderer/common/friend_request_common.gen.d.ts +0 -69
  268. package/out-js/decentraland/renderer/common/friend_request_common.gen.js +0 -179
  269. package/out-js/decentraland/renderer/common/friend_request_common.gen.js.map +0 -1
  270. package/out-js/decentraland/renderer/engine_interface.gen.d.ts +0 -18476
  271. package/out-js/decentraland/renderer/engine_interface.gen.js +0 -7796
  272. package/out-js/decentraland/renderer/engine_interface.gen.js.map +0 -1
  273. package/out-js/decentraland/renderer/kernel_services/analytics.gen.d.ts +0 -670
  274. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js +0 -846
  275. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js.map +0 -1
  276. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.d.ts +0 -96
  277. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js +0 -120
  278. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js.map +0 -1
  279. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.d.ts +0 -2326
  280. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js +0 -968
  281. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js.map +0 -1
  282. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.d.ts +0 -111
  283. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js +0 -162
  284. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js.map +0 -1
  285. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.d.ts +0 -103
  286. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.js +0 -122
  287. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.js.map +0 -1
  288. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.d.ts +0 -148
  289. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.js +0 -239
  290. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.js.map +0 -1
  291. package/out-js/decentraland/renderer/renderer_services/crdt.gen.d.ts +0 -182
  292. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js +0 -235
  293. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js.map +0 -1
  294. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.d.ts +0 -87
  295. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js +0 -109
  296. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js.map +0 -1
  297. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.d.ts +0 -335
  298. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js +0 -380
  299. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js.map +0 -1
  300. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.d.ts +0 -494
  301. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js +0 -473
  302. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js.map +0 -1
  303. package/out-js/decentraland/renderer/renderer_services/transport.gen.d.ts +0 -88
  304. package/out-js/decentraland/renderer/renderer_services/transport.gen.js +0 -114
  305. package/out-js/decentraland/renderer/renderer_services/transport.gen.js.map +0 -1
  306. package/out-js/renderer-interface.gen.d.ts +0 -1
  307. package/out-js/renderer-interface.gen.js.map +0 -1
  308. package/out-ts/decentraland/common/entity.gen.ts +0 -126
  309. package/out-ts/decentraland/renderer/common/friend_request_common.gen.ts +0 -206
  310. package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8939
  311. package/out-ts/decentraland/renderer/kernel_services/analytics.gen.ts +0 -1004
  312. package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +0 -151
  313. package/out-ts/decentraland/renderer/kernel_services/friend_request_kernel.gen.ts +0 -1146
  314. package/out-ts/decentraland/renderer/kernel_services/friends_kernel.gen.ts +0 -191
  315. package/out-ts/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.ts +0 -151
  316. package/out-ts/decentraland/renderer/kernel_services/sign_request.gen.ts +0 -277
  317. package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +0 -284
  318. package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +0 -147
  319. package/out-ts/decentraland/renderer/renderer_services/friend_request_renderer.gen.ts +0 -470
  320. package/out-ts/decentraland/renderer/renderer_services/scene_controller.gen.ts +0 -579
  321. package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +0 -141
  322. package/out-ts/renderer-interface.gen.ts +0 -3
  323. package/proto/decentraland/renderer/common/friend_request_common.proto +0 -20
  324. package/proto/decentraland/renderer/engine_interface.proto +0 -709
  325. package/proto/decentraland/renderer/kernel_services/analytics.proto +0 -69
  326. package/proto/decentraland/renderer/kernel_services/emotes_kernel.proto +0 -16
  327. package/proto/decentraland/renderer/kernel_services/friend_request_kernel.proto +0 -100
  328. package/proto/decentraland/renderer/kernel_services/friends_kernel.proto +0 -22
  329. package/proto/decentraland/renderer/kernel_services/mutual_friends_kernel.proto +0 -15
  330. package/proto/decentraland/renderer/kernel_services/sign_request.proto +0 -27
  331. package/proto/decentraland/renderer/renderer_services/crdt.proto +0 -29
  332. package/proto/decentraland/renderer/renderer_services/emotes_renderer.proto +0 -15
  333. package/proto/decentraland/renderer/renderer_services/friend_request_renderer.proto +0 -36
  334. package/proto/decentraland/renderer/renderer_services/scene_controller.proto +0 -54
  335. package/proto/decentraland/renderer/renderer_services/transport.proto +0 -14
  336. package/public/renderer-interface.proto +0 -14
@@ -0,0 +1,1154 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBUiTransform = exports.yGEdgeToJSON = exports.yGEdgeFromJSON = exports.YGEdge = exports.yGDisplayToJSON = exports.yGDisplayFromJSON = exports.YGDisplay = exports.yGOverflowToJSON = exports.yGOverflowFromJSON = exports.YGOverflow = exports.yGJustifyToJSON = exports.yGJustifyFromJSON = exports.YGJustify = exports.yGWrapToJSON = exports.yGWrapFromJSON = exports.YGWrap = exports.yGFlexDirectionToJSON = exports.yGFlexDirectionFromJSON = exports.YGFlexDirection = exports.yGUnitToJSON = exports.yGUnitFromJSON = exports.YGUnit = exports.yGAlignToJSON = exports.yGAlignFromJSON = exports.YGAlign = exports.yGPositionTypeToJSON = exports.yGPositionTypeFromJSON = exports.YGPositionType = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ exports.protobufPackage = "decentraland.sdk.components";
10
+ var YGPositionType;
11
+ (function (YGPositionType) {
12
+ YGPositionType[YGPositionType["YGPT_RELATIVE"] = 0] = "YGPT_RELATIVE";
13
+ YGPositionType[YGPositionType["YGPT_ABSOLUTE"] = 1] = "YGPT_ABSOLUTE";
14
+ YGPositionType[YGPositionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
15
+ })(YGPositionType = exports.YGPositionType || (exports.YGPositionType = {}));
16
+ function yGPositionTypeFromJSON(object) {
17
+ switch (object) {
18
+ case 0:
19
+ case "YGPT_RELATIVE":
20
+ return YGPositionType.YGPT_RELATIVE;
21
+ case 1:
22
+ case "YGPT_ABSOLUTE":
23
+ return YGPositionType.YGPT_ABSOLUTE;
24
+ case -1:
25
+ case "UNRECOGNIZED":
26
+ default:
27
+ return YGPositionType.UNRECOGNIZED;
28
+ }
29
+ }
30
+ exports.yGPositionTypeFromJSON = yGPositionTypeFromJSON;
31
+ function yGPositionTypeToJSON(object) {
32
+ switch (object) {
33
+ case YGPositionType.YGPT_RELATIVE:
34
+ return "YGPT_RELATIVE";
35
+ case YGPositionType.YGPT_ABSOLUTE:
36
+ return "YGPT_ABSOLUTE";
37
+ case YGPositionType.UNRECOGNIZED:
38
+ default:
39
+ return "UNRECOGNIZED";
40
+ }
41
+ }
42
+ exports.yGPositionTypeToJSON = yGPositionTypeToJSON;
43
+ var YGAlign;
44
+ (function (YGAlign) {
45
+ YGAlign[YGAlign["YGA_AUTO"] = 0] = "YGA_AUTO";
46
+ YGAlign[YGAlign["YGA_FLEX_START"] = 1] = "YGA_FLEX_START";
47
+ YGAlign[YGAlign["YGA_CENTER"] = 2] = "YGA_CENTER";
48
+ YGAlign[YGAlign["YGA_FLEX_END"] = 3] = "YGA_FLEX_END";
49
+ YGAlign[YGAlign["YGA_STRETCH"] = 4] = "YGA_STRETCH";
50
+ YGAlign[YGAlign["YGA_BASELINE"] = 5] = "YGA_BASELINE";
51
+ YGAlign[YGAlign["YGA_SPACE_BETWEEN"] = 6] = "YGA_SPACE_BETWEEN";
52
+ YGAlign[YGAlign["YGA_SPACE_AROUND"] = 7] = "YGA_SPACE_AROUND";
53
+ YGAlign[YGAlign["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
54
+ })(YGAlign = exports.YGAlign || (exports.YGAlign = {}));
55
+ function yGAlignFromJSON(object) {
56
+ switch (object) {
57
+ case 0:
58
+ case "YGA_AUTO":
59
+ return YGAlign.YGA_AUTO;
60
+ case 1:
61
+ case "YGA_FLEX_START":
62
+ return YGAlign.YGA_FLEX_START;
63
+ case 2:
64
+ case "YGA_CENTER":
65
+ return YGAlign.YGA_CENTER;
66
+ case 3:
67
+ case "YGA_FLEX_END":
68
+ return YGAlign.YGA_FLEX_END;
69
+ case 4:
70
+ case "YGA_STRETCH":
71
+ return YGAlign.YGA_STRETCH;
72
+ case 5:
73
+ case "YGA_BASELINE":
74
+ return YGAlign.YGA_BASELINE;
75
+ case 6:
76
+ case "YGA_SPACE_BETWEEN":
77
+ return YGAlign.YGA_SPACE_BETWEEN;
78
+ case 7:
79
+ case "YGA_SPACE_AROUND":
80
+ return YGAlign.YGA_SPACE_AROUND;
81
+ case -1:
82
+ case "UNRECOGNIZED":
83
+ default:
84
+ return YGAlign.UNRECOGNIZED;
85
+ }
86
+ }
87
+ exports.yGAlignFromJSON = yGAlignFromJSON;
88
+ function yGAlignToJSON(object) {
89
+ switch (object) {
90
+ case YGAlign.YGA_AUTO:
91
+ return "YGA_AUTO";
92
+ case YGAlign.YGA_FLEX_START:
93
+ return "YGA_FLEX_START";
94
+ case YGAlign.YGA_CENTER:
95
+ return "YGA_CENTER";
96
+ case YGAlign.YGA_FLEX_END:
97
+ return "YGA_FLEX_END";
98
+ case YGAlign.YGA_STRETCH:
99
+ return "YGA_STRETCH";
100
+ case YGAlign.YGA_BASELINE:
101
+ return "YGA_BASELINE";
102
+ case YGAlign.YGA_SPACE_BETWEEN:
103
+ return "YGA_SPACE_BETWEEN";
104
+ case YGAlign.YGA_SPACE_AROUND:
105
+ return "YGA_SPACE_AROUND";
106
+ case YGAlign.UNRECOGNIZED:
107
+ default:
108
+ return "UNRECOGNIZED";
109
+ }
110
+ }
111
+ exports.yGAlignToJSON = yGAlignToJSON;
112
+ var YGUnit;
113
+ (function (YGUnit) {
114
+ YGUnit[YGUnit["YGU_UNDEFINED"] = 0] = "YGU_UNDEFINED";
115
+ YGUnit[YGUnit["YGU_POINT"] = 1] = "YGU_POINT";
116
+ YGUnit[YGUnit["YGU_PERCENT"] = 2] = "YGU_PERCENT";
117
+ YGUnit[YGUnit["YGU_AUTO"] = 3] = "YGU_AUTO";
118
+ YGUnit[YGUnit["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
119
+ })(YGUnit = exports.YGUnit || (exports.YGUnit = {}));
120
+ function yGUnitFromJSON(object) {
121
+ switch (object) {
122
+ case 0:
123
+ case "YGU_UNDEFINED":
124
+ return YGUnit.YGU_UNDEFINED;
125
+ case 1:
126
+ case "YGU_POINT":
127
+ return YGUnit.YGU_POINT;
128
+ case 2:
129
+ case "YGU_PERCENT":
130
+ return YGUnit.YGU_PERCENT;
131
+ case 3:
132
+ case "YGU_AUTO":
133
+ return YGUnit.YGU_AUTO;
134
+ case -1:
135
+ case "UNRECOGNIZED":
136
+ default:
137
+ return YGUnit.UNRECOGNIZED;
138
+ }
139
+ }
140
+ exports.yGUnitFromJSON = yGUnitFromJSON;
141
+ function yGUnitToJSON(object) {
142
+ switch (object) {
143
+ case YGUnit.YGU_UNDEFINED:
144
+ return "YGU_UNDEFINED";
145
+ case YGUnit.YGU_POINT:
146
+ return "YGU_POINT";
147
+ case YGUnit.YGU_PERCENT:
148
+ return "YGU_PERCENT";
149
+ case YGUnit.YGU_AUTO:
150
+ return "YGU_AUTO";
151
+ case YGUnit.UNRECOGNIZED:
152
+ default:
153
+ return "UNRECOGNIZED";
154
+ }
155
+ }
156
+ exports.yGUnitToJSON = yGUnitToJSON;
157
+ var YGFlexDirection;
158
+ (function (YGFlexDirection) {
159
+ YGFlexDirection[YGFlexDirection["YGFD_ROW"] = 0] = "YGFD_ROW";
160
+ YGFlexDirection[YGFlexDirection["YGFD_COLUMN"] = 1] = "YGFD_COLUMN";
161
+ YGFlexDirection[YGFlexDirection["YGFD_COLUMN_REVERSE"] = 2] = "YGFD_COLUMN_REVERSE";
162
+ YGFlexDirection[YGFlexDirection["YGFD_ROW_REVERSE"] = 3] = "YGFD_ROW_REVERSE";
163
+ YGFlexDirection[YGFlexDirection["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
164
+ })(YGFlexDirection = exports.YGFlexDirection || (exports.YGFlexDirection = {}));
165
+ function yGFlexDirectionFromJSON(object) {
166
+ switch (object) {
167
+ case 0:
168
+ case "YGFD_ROW":
169
+ return YGFlexDirection.YGFD_ROW;
170
+ case 1:
171
+ case "YGFD_COLUMN":
172
+ return YGFlexDirection.YGFD_COLUMN;
173
+ case 2:
174
+ case "YGFD_COLUMN_REVERSE":
175
+ return YGFlexDirection.YGFD_COLUMN_REVERSE;
176
+ case 3:
177
+ case "YGFD_ROW_REVERSE":
178
+ return YGFlexDirection.YGFD_ROW_REVERSE;
179
+ case -1:
180
+ case "UNRECOGNIZED":
181
+ default:
182
+ return YGFlexDirection.UNRECOGNIZED;
183
+ }
184
+ }
185
+ exports.yGFlexDirectionFromJSON = yGFlexDirectionFromJSON;
186
+ function yGFlexDirectionToJSON(object) {
187
+ switch (object) {
188
+ case YGFlexDirection.YGFD_ROW:
189
+ return "YGFD_ROW";
190
+ case YGFlexDirection.YGFD_COLUMN:
191
+ return "YGFD_COLUMN";
192
+ case YGFlexDirection.YGFD_COLUMN_REVERSE:
193
+ return "YGFD_COLUMN_REVERSE";
194
+ case YGFlexDirection.YGFD_ROW_REVERSE:
195
+ return "YGFD_ROW_REVERSE";
196
+ case YGFlexDirection.UNRECOGNIZED:
197
+ default:
198
+ return "UNRECOGNIZED";
199
+ }
200
+ }
201
+ exports.yGFlexDirectionToJSON = yGFlexDirectionToJSON;
202
+ var YGWrap;
203
+ (function (YGWrap) {
204
+ YGWrap[YGWrap["YGW_NO_WRAP"] = 0] = "YGW_NO_WRAP";
205
+ YGWrap[YGWrap["YGW_WRAP"] = 1] = "YGW_WRAP";
206
+ YGWrap[YGWrap["YGW_WRAP_REVERSE"] = 2] = "YGW_WRAP_REVERSE";
207
+ YGWrap[YGWrap["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
208
+ })(YGWrap = exports.YGWrap || (exports.YGWrap = {}));
209
+ function yGWrapFromJSON(object) {
210
+ switch (object) {
211
+ case 0:
212
+ case "YGW_NO_WRAP":
213
+ return YGWrap.YGW_NO_WRAP;
214
+ case 1:
215
+ case "YGW_WRAP":
216
+ return YGWrap.YGW_WRAP;
217
+ case 2:
218
+ case "YGW_WRAP_REVERSE":
219
+ return YGWrap.YGW_WRAP_REVERSE;
220
+ case -1:
221
+ case "UNRECOGNIZED":
222
+ default:
223
+ return YGWrap.UNRECOGNIZED;
224
+ }
225
+ }
226
+ exports.yGWrapFromJSON = yGWrapFromJSON;
227
+ function yGWrapToJSON(object) {
228
+ switch (object) {
229
+ case YGWrap.YGW_NO_WRAP:
230
+ return "YGW_NO_WRAP";
231
+ case YGWrap.YGW_WRAP:
232
+ return "YGW_WRAP";
233
+ case YGWrap.YGW_WRAP_REVERSE:
234
+ return "YGW_WRAP_REVERSE";
235
+ case YGWrap.UNRECOGNIZED:
236
+ default:
237
+ return "UNRECOGNIZED";
238
+ }
239
+ }
240
+ exports.yGWrapToJSON = yGWrapToJSON;
241
+ var YGJustify;
242
+ (function (YGJustify) {
243
+ YGJustify[YGJustify["YGJ_FLEX_START"] = 0] = "YGJ_FLEX_START";
244
+ YGJustify[YGJustify["YGJ_CENTER"] = 1] = "YGJ_CENTER";
245
+ YGJustify[YGJustify["YGJ_FLEX_END"] = 2] = "YGJ_FLEX_END";
246
+ YGJustify[YGJustify["YGJ_SPACE_BETWEEN"] = 3] = "YGJ_SPACE_BETWEEN";
247
+ YGJustify[YGJustify["YGJ_SPACE_AROUND"] = 4] = "YGJ_SPACE_AROUND";
248
+ YGJustify[YGJustify["YGJ_SPACE_EVENLY"] = 5] = "YGJ_SPACE_EVENLY";
249
+ YGJustify[YGJustify["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
250
+ })(YGJustify = exports.YGJustify || (exports.YGJustify = {}));
251
+ function yGJustifyFromJSON(object) {
252
+ switch (object) {
253
+ case 0:
254
+ case "YGJ_FLEX_START":
255
+ return YGJustify.YGJ_FLEX_START;
256
+ case 1:
257
+ case "YGJ_CENTER":
258
+ return YGJustify.YGJ_CENTER;
259
+ case 2:
260
+ case "YGJ_FLEX_END":
261
+ return YGJustify.YGJ_FLEX_END;
262
+ case 3:
263
+ case "YGJ_SPACE_BETWEEN":
264
+ return YGJustify.YGJ_SPACE_BETWEEN;
265
+ case 4:
266
+ case "YGJ_SPACE_AROUND":
267
+ return YGJustify.YGJ_SPACE_AROUND;
268
+ case 5:
269
+ case "YGJ_SPACE_EVENLY":
270
+ return YGJustify.YGJ_SPACE_EVENLY;
271
+ case -1:
272
+ case "UNRECOGNIZED":
273
+ default:
274
+ return YGJustify.UNRECOGNIZED;
275
+ }
276
+ }
277
+ exports.yGJustifyFromJSON = yGJustifyFromJSON;
278
+ function yGJustifyToJSON(object) {
279
+ switch (object) {
280
+ case YGJustify.YGJ_FLEX_START:
281
+ return "YGJ_FLEX_START";
282
+ case YGJustify.YGJ_CENTER:
283
+ return "YGJ_CENTER";
284
+ case YGJustify.YGJ_FLEX_END:
285
+ return "YGJ_FLEX_END";
286
+ case YGJustify.YGJ_SPACE_BETWEEN:
287
+ return "YGJ_SPACE_BETWEEN";
288
+ case YGJustify.YGJ_SPACE_AROUND:
289
+ return "YGJ_SPACE_AROUND";
290
+ case YGJustify.YGJ_SPACE_EVENLY:
291
+ return "YGJ_SPACE_EVENLY";
292
+ case YGJustify.UNRECOGNIZED:
293
+ default:
294
+ return "UNRECOGNIZED";
295
+ }
296
+ }
297
+ exports.yGJustifyToJSON = yGJustifyToJSON;
298
+ var YGOverflow;
299
+ (function (YGOverflow) {
300
+ YGOverflow[YGOverflow["YGO_VISIBLE"] = 0] = "YGO_VISIBLE";
301
+ YGOverflow[YGOverflow["YGO_HIDDEN"] = 1] = "YGO_HIDDEN";
302
+ YGOverflow[YGOverflow["YGO_SCROLL"] = 2] = "YGO_SCROLL";
303
+ YGOverflow[YGOverflow["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
304
+ })(YGOverflow = exports.YGOverflow || (exports.YGOverflow = {}));
305
+ function yGOverflowFromJSON(object) {
306
+ switch (object) {
307
+ case 0:
308
+ case "YGO_VISIBLE":
309
+ return YGOverflow.YGO_VISIBLE;
310
+ case 1:
311
+ case "YGO_HIDDEN":
312
+ return YGOverflow.YGO_HIDDEN;
313
+ case 2:
314
+ case "YGO_SCROLL":
315
+ return YGOverflow.YGO_SCROLL;
316
+ case -1:
317
+ case "UNRECOGNIZED":
318
+ default:
319
+ return YGOverflow.UNRECOGNIZED;
320
+ }
321
+ }
322
+ exports.yGOverflowFromJSON = yGOverflowFromJSON;
323
+ function yGOverflowToJSON(object) {
324
+ switch (object) {
325
+ case YGOverflow.YGO_VISIBLE:
326
+ return "YGO_VISIBLE";
327
+ case YGOverflow.YGO_HIDDEN:
328
+ return "YGO_HIDDEN";
329
+ case YGOverflow.YGO_SCROLL:
330
+ return "YGO_SCROLL";
331
+ case YGOverflow.UNRECOGNIZED:
332
+ default:
333
+ return "UNRECOGNIZED";
334
+ }
335
+ }
336
+ exports.yGOverflowToJSON = yGOverflowToJSON;
337
+ var YGDisplay;
338
+ (function (YGDisplay) {
339
+ YGDisplay[YGDisplay["YGD_FLEX"] = 0] = "YGD_FLEX";
340
+ YGDisplay[YGDisplay["YGD_NONE"] = 1] = "YGD_NONE";
341
+ YGDisplay[YGDisplay["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
342
+ })(YGDisplay = exports.YGDisplay || (exports.YGDisplay = {}));
343
+ function yGDisplayFromJSON(object) {
344
+ switch (object) {
345
+ case 0:
346
+ case "YGD_FLEX":
347
+ return YGDisplay.YGD_FLEX;
348
+ case 1:
349
+ case "YGD_NONE":
350
+ return YGDisplay.YGD_NONE;
351
+ case -1:
352
+ case "UNRECOGNIZED":
353
+ default:
354
+ return YGDisplay.UNRECOGNIZED;
355
+ }
356
+ }
357
+ exports.yGDisplayFromJSON = yGDisplayFromJSON;
358
+ function yGDisplayToJSON(object) {
359
+ switch (object) {
360
+ case YGDisplay.YGD_FLEX:
361
+ return "YGD_FLEX";
362
+ case YGDisplay.YGD_NONE:
363
+ return "YGD_NONE";
364
+ case YGDisplay.UNRECOGNIZED:
365
+ default:
366
+ return "UNRECOGNIZED";
367
+ }
368
+ }
369
+ exports.yGDisplayToJSON = yGDisplayToJSON;
370
+ var YGEdge;
371
+ (function (YGEdge) {
372
+ YGEdge[YGEdge["YGE_LEFT"] = 0] = "YGE_LEFT";
373
+ YGEdge[YGEdge["YGE_TOP"] = 1] = "YGE_TOP";
374
+ YGEdge[YGEdge["YGE_RIGHT"] = 2] = "YGE_RIGHT";
375
+ YGEdge[YGEdge["YGE_BOTTOM"] = 3] = "YGE_BOTTOM";
376
+ YGEdge[YGEdge["YGE_START"] = 4] = "YGE_START";
377
+ YGEdge[YGEdge["YGE_END"] = 5] = "YGE_END";
378
+ YGEdge[YGEdge["YGE_HORIZONTAL"] = 6] = "YGE_HORIZONTAL";
379
+ YGEdge[YGEdge["YGE_VERTICAL"] = 7] = "YGE_VERTICAL";
380
+ YGEdge[YGEdge["YGE_ALL"] = 8] = "YGE_ALL";
381
+ YGEdge[YGEdge["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
382
+ })(YGEdge = exports.YGEdge || (exports.YGEdge = {}));
383
+ function yGEdgeFromJSON(object) {
384
+ switch (object) {
385
+ case 0:
386
+ case "YGE_LEFT":
387
+ return YGEdge.YGE_LEFT;
388
+ case 1:
389
+ case "YGE_TOP":
390
+ return YGEdge.YGE_TOP;
391
+ case 2:
392
+ case "YGE_RIGHT":
393
+ return YGEdge.YGE_RIGHT;
394
+ case 3:
395
+ case "YGE_BOTTOM":
396
+ return YGEdge.YGE_BOTTOM;
397
+ case 4:
398
+ case "YGE_START":
399
+ return YGEdge.YGE_START;
400
+ case 5:
401
+ case "YGE_END":
402
+ return YGEdge.YGE_END;
403
+ case 6:
404
+ case "YGE_HORIZONTAL":
405
+ return YGEdge.YGE_HORIZONTAL;
406
+ case 7:
407
+ case "YGE_VERTICAL":
408
+ return YGEdge.YGE_VERTICAL;
409
+ case 8:
410
+ case "YGE_ALL":
411
+ return YGEdge.YGE_ALL;
412
+ case -1:
413
+ case "UNRECOGNIZED":
414
+ default:
415
+ return YGEdge.UNRECOGNIZED;
416
+ }
417
+ }
418
+ exports.yGEdgeFromJSON = yGEdgeFromJSON;
419
+ function yGEdgeToJSON(object) {
420
+ switch (object) {
421
+ case YGEdge.YGE_LEFT:
422
+ return "YGE_LEFT";
423
+ case YGEdge.YGE_TOP:
424
+ return "YGE_TOP";
425
+ case YGEdge.YGE_RIGHT:
426
+ return "YGE_RIGHT";
427
+ case YGEdge.YGE_BOTTOM:
428
+ return "YGE_BOTTOM";
429
+ case YGEdge.YGE_START:
430
+ return "YGE_START";
431
+ case YGEdge.YGE_END:
432
+ return "YGE_END";
433
+ case YGEdge.YGE_HORIZONTAL:
434
+ return "YGE_HORIZONTAL";
435
+ case YGEdge.YGE_VERTICAL:
436
+ return "YGE_VERTICAL";
437
+ case YGEdge.YGE_ALL:
438
+ return "YGE_ALL";
439
+ case YGEdge.UNRECOGNIZED:
440
+ default:
441
+ return "UNRECOGNIZED";
442
+ }
443
+ }
444
+ exports.yGEdgeToJSON = yGEdgeToJSON;
445
+ function createBasePBUiTransform() {
446
+ return {
447
+ parent: 0,
448
+ rightOf: 0,
449
+ alignContent: undefined,
450
+ alignItems: undefined,
451
+ flexWrap: undefined,
452
+ flexShrink: undefined,
453
+ positionType: 0,
454
+ alignSelf: 0,
455
+ flexDirection: 0,
456
+ justifyContent: 0,
457
+ overflow: 0,
458
+ display: 0,
459
+ flexBasisUnit: 0,
460
+ flexBasis: 0,
461
+ flexGrow: 0,
462
+ widthUnit: 0,
463
+ width: 0,
464
+ heightUnit: 0,
465
+ height: 0,
466
+ minWidthUnit: 0,
467
+ minWidth: 0,
468
+ minHeightUnit: 0,
469
+ minHeight: 0,
470
+ maxWidthUnit: 0,
471
+ maxWidth: 0,
472
+ maxHeightUnit: 0,
473
+ maxHeight: 0,
474
+ positionLeftUnit: 0,
475
+ positionLeft: 0,
476
+ positionTopUnit: 0,
477
+ positionTop: 0,
478
+ positionRightUnit: 0,
479
+ positionRight: 0,
480
+ positionBottomUnit: 0,
481
+ positionBottom: 0,
482
+ marginLeftUnit: 0,
483
+ marginLeft: 0,
484
+ marginTopUnit: 0,
485
+ marginTop: 0,
486
+ marginRightUnit: 0,
487
+ marginRight: 0,
488
+ marginBottomUnit: 0,
489
+ marginBottom: 0,
490
+ paddingLeftUnit: 0,
491
+ paddingLeft: 0,
492
+ paddingTopUnit: 0,
493
+ paddingTop: 0,
494
+ paddingRightUnit: 0,
495
+ paddingRight: 0,
496
+ paddingBottomUnit: 0,
497
+ paddingBottom: 0,
498
+ };
499
+ }
500
+ exports.PBUiTransform = {
501
+ encode(message, writer = minimal_1.default.Writer.create()) {
502
+ if (message.parent !== 0) {
503
+ writer.uint32(8).int32(message.parent);
504
+ }
505
+ if (message.rightOf !== 0) {
506
+ writer.uint32(16).int32(message.rightOf);
507
+ }
508
+ if (message.alignContent !== undefined) {
509
+ writer.uint32(24).int32(message.alignContent);
510
+ }
511
+ if (message.alignItems !== undefined) {
512
+ writer.uint32(32).int32(message.alignItems);
513
+ }
514
+ if (message.flexWrap !== undefined) {
515
+ writer.uint32(40).int32(message.flexWrap);
516
+ }
517
+ if (message.flexShrink !== undefined) {
518
+ writer.uint32(53).float(message.flexShrink);
519
+ }
520
+ if (message.positionType !== 0) {
521
+ writer.uint32(56).int32(message.positionType);
522
+ }
523
+ if (message.alignSelf !== 0) {
524
+ writer.uint32(64).int32(message.alignSelf);
525
+ }
526
+ if (message.flexDirection !== 0) {
527
+ writer.uint32(72).int32(message.flexDirection);
528
+ }
529
+ if (message.justifyContent !== 0) {
530
+ writer.uint32(80).int32(message.justifyContent);
531
+ }
532
+ if (message.overflow !== 0) {
533
+ writer.uint32(88).int32(message.overflow);
534
+ }
535
+ if (message.display !== 0) {
536
+ writer.uint32(96).int32(message.display);
537
+ }
538
+ if (message.flexBasisUnit !== 0) {
539
+ writer.uint32(104).int32(message.flexBasisUnit);
540
+ }
541
+ if (message.flexBasis !== 0) {
542
+ writer.uint32(117).float(message.flexBasis);
543
+ }
544
+ if (message.flexGrow !== 0) {
545
+ writer.uint32(125).float(message.flexGrow);
546
+ }
547
+ if (message.widthUnit !== 0) {
548
+ writer.uint32(128).int32(message.widthUnit);
549
+ }
550
+ if (message.width !== 0) {
551
+ writer.uint32(141).float(message.width);
552
+ }
553
+ if (message.heightUnit !== 0) {
554
+ writer.uint32(144).int32(message.heightUnit);
555
+ }
556
+ if (message.height !== 0) {
557
+ writer.uint32(157).float(message.height);
558
+ }
559
+ if (message.minWidthUnit !== 0) {
560
+ writer.uint32(160).int32(message.minWidthUnit);
561
+ }
562
+ if (message.minWidth !== 0) {
563
+ writer.uint32(173).float(message.minWidth);
564
+ }
565
+ if (message.minHeightUnit !== 0) {
566
+ writer.uint32(176).int32(message.minHeightUnit);
567
+ }
568
+ if (message.minHeight !== 0) {
569
+ writer.uint32(189).float(message.minHeight);
570
+ }
571
+ if (message.maxWidthUnit !== 0) {
572
+ writer.uint32(192).int32(message.maxWidthUnit);
573
+ }
574
+ if (message.maxWidth !== 0) {
575
+ writer.uint32(205).float(message.maxWidth);
576
+ }
577
+ if (message.maxHeightUnit !== 0) {
578
+ writer.uint32(208).int32(message.maxHeightUnit);
579
+ }
580
+ if (message.maxHeight !== 0) {
581
+ writer.uint32(221).float(message.maxHeight);
582
+ }
583
+ if (message.positionLeftUnit !== 0) {
584
+ writer.uint32(224).int32(message.positionLeftUnit);
585
+ }
586
+ if (message.positionLeft !== 0) {
587
+ writer.uint32(237).float(message.positionLeft);
588
+ }
589
+ if (message.positionTopUnit !== 0) {
590
+ writer.uint32(240).int32(message.positionTopUnit);
591
+ }
592
+ if (message.positionTop !== 0) {
593
+ writer.uint32(253).float(message.positionTop);
594
+ }
595
+ if (message.positionRightUnit !== 0) {
596
+ writer.uint32(256).int32(message.positionRightUnit);
597
+ }
598
+ if (message.positionRight !== 0) {
599
+ writer.uint32(269).float(message.positionRight);
600
+ }
601
+ if (message.positionBottomUnit !== 0) {
602
+ writer.uint32(272).int32(message.positionBottomUnit);
603
+ }
604
+ if (message.positionBottom !== 0) {
605
+ writer.uint32(285).float(message.positionBottom);
606
+ }
607
+ if (message.marginLeftUnit !== 0) {
608
+ writer.uint32(288).int32(message.marginLeftUnit);
609
+ }
610
+ if (message.marginLeft !== 0) {
611
+ writer.uint32(301).float(message.marginLeft);
612
+ }
613
+ if (message.marginTopUnit !== 0) {
614
+ writer.uint32(304).int32(message.marginTopUnit);
615
+ }
616
+ if (message.marginTop !== 0) {
617
+ writer.uint32(317).float(message.marginTop);
618
+ }
619
+ if (message.marginRightUnit !== 0) {
620
+ writer.uint32(320).int32(message.marginRightUnit);
621
+ }
622
+ if (message.marginRight !== 0) {
623
+ writer.uint32(333).float(message.marginRight);
624
+ }
625
+ if (message.marginBottomUnit !== 0) {
626
+ writer.uint32(336).int32(message.marginBottomUnit);
627
+ }
628
+ if (message.marginBottom !== 0) {
629
+ writer.uint32(349).float(message.marginBottom);
630
+ }
631
+ if (message.paddingLeftUnit !== 0) {
632
+ writer.uint32(352).int32(message.paddingLeftUnit);
633
+ }
634
+ if (message.paddingLeft !== 0) {
635
+ writer.uint32(365).float(message.paddingLeft);
636
+ }
637
+ if (message.paddingTopUnit !== 0) {
638
+ writer.uint32(368).int32(message.paddingTopUnit);
639
+ }
640
+ if (message.paddingTop !== 0) {
641
+ writer.uint32(381).float(message.paddingTop);
642
+ }
643
+ if (message.paddingRightUnit !== 0) {
644
+ writer.uint32(384).int32(message.paddingRightUnit);
645
+ }
646
+ if (message.paddingRight !== 0) {
647
+ writer.uint32(397).float(message.paddingRight);
648
+ }
649
+ if (message.paddingBottomUnit !== 0) {
650
+ writer.uint32(400).int32(message.paddingBottomUnit);
651
+ }
652
+ if (message.paddingBottom !== 0) {
653
+ writer.uint32(413).float(message.paddingBottom);
654
+ }
655
+ return writer;
656
+ },
657
+ decode(input, length) {
658
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
659
+ let end = length === undefined ? reader.len : reader.pos + length;
660
+ const message = createBasePBUiTransform();
661
+ while (reader.pos < end) {
662
+ const tag = reader.uint32();
663
+ switch (tag >>> 3) {
664
+ case 1:
665
+ if (tag != 8) {
666
+ break;
667
+ }
668
+ message.parent = reader.int32();
669
+ continue;
670
+ case 2:
671
+ if (tag != 16) {
672
+ break;
673
+ }
674
+ message.rightOf = reader.int32();
675
+ continue;
676
+ case 3:
677
+ if (tag != 24) {
678
+ break;
679
+ }
680
+ message.alignContent = reader.int32();
681
+ continue;
682
+ case 4:
683
+ if (tag != 32) {
684
+ break;
685
+ }
686
+ message.alignItems = reader.int32();
687
+ continue;
688
+ case 5:
689
+ if (tag != 40) {
690
+ break;
691
+ }
692
+ message.flexWrap = reader.int32();
693
+ continue;
694
+ case 6:
695
+ if (tag != 53) {
696
+ break;
697
+ }
698
+ message.flexShrink = reader.float();
699
+ continue;
700
+ case 7:
701
+ if (tag != 56) {
702
+ break;
703
+ }
704
+ message.positionType = reader.int32();
705
+ continue;
706
+ case 8:
707
+ if (tag != 64) {
708
+ break;
709
+ }
710
+ message.alignSelf = reader.int32();
711
+ continue;
712
+ case 9:
713
+ if (tag != 72) {
714
+ break;
715
+ }
716
+ message.flexDirection = reader.int32();
717
+ continue;
718
+ case 10:
719
+ if (tag != 80) {
720
+ break;
721
+ }
722
+ message.justifyContent = reader.int32();
723
+ continue;
724
+ case 11:
725
+ if (tag != 88) {
726
+ break;
727
+ }
728
+ message.overflow = reader.int32();
729
+ continue;
730
+ case 12:
731
+ if (tag != 96) {
732
+ break;
733
+ }
734
+ message.display = reader.int32();
735
+ continue;
736
+ case 13:
737
+ if (tag != 104) {
738
+ break;
739
+ }
740
+ message.flexBasisUnit = reader.int32();
741
+ continue;
742
+ case 14:
743
+ if (tag != 117) {
744
+ break;
745
+ }
746
+ message.flexBasis = reader.float();
747
+ continue;
748
+ case 15:
749
+ if (tag != 125) {
750
+ break;
751
+ }
752
+ message.flexGrow = reader.float();
753
+ continue;
754
+ case 16:
755
+ if (tag != 128) {
756
+ break;
757
+ }
758
+ message.widthUnit = reader.int32();
759
+ continue;
760
+ case 17:
761
+ if (tag != 141) {
762
+ break;
763
+ }
764
+ message.width = reader.float();
765
+ continue;
766
+ case 18:
767
+ if (tag != 144) {
768
+ break;
769
+ }
770
+ message.heightUnit = reader.int32();
771
+ continue;
772
+ case 19:
773
+ if (tag != 157) {
774
+ break;
775
+ }
776
+ message.height = reader.float();
777
+ continue;
778
+ case 20:
779
+ if (tag != 160) {
780
+ break;
781
+ }
782
+ message.minWidthUnit = reader.int32();
783
+ continue;
784
+ case 21:
785
+ if (tag != 173) {
786
+ break;
787
+ }
788
+ message.minWidth = reader.float();
789
+ continue;
790
+ case 22:
791
+ if (tag != 176) {
792
+ break;
793
+ }
794
+ message.minHeightUnit = reader.int32();
795
+ continue;
796
+ case 23:
797
+ if (tag != 189) {
798
+ break;
799
+ }
800
+ message.minHeight = reader.float();
801
+ continue;
802
+ case 24:
803
+ if (tag != 192) {
804
+ break;
805
+ }
806
+ message.maxWidthUnit = reader.int32();
807
+ continue;
808
+ case 25:
809
+ if (tag != 205) {
810
+ break;
811
+ }
812
+ message.maxWidth = reader.float();
813
+ continue;
814
+ case 26:
815
+ if (tag != 208) {
816
+ break;
817
+ }
818
+ message.maxHeightUnit = reader.int32();
819
+ continue;
820
+ case 27:
821
+ if (tag != 221) {
822
+ break;
823
+ }
824
+ message.maxHeight = reader.float();
825
+ continue;
826
+ case 28:
827
+ if (tag != 224) {
828
+ break;
829
+ }
830
+ message.positionLeftUnit = reader.int32();
831
+ continue;
832
+ case 29:
833
+ if (tag != 237) {
834
+ break;
835
+ }
836
+ message.positionLeft = reader.float();
837
+ continue;
838
+ case 30:
839
+ if (tag != 240) {
840
+ break;
841
+ }
842
+ message.positionTopUnit = reader.int32();
843
+ continue;
844
+ case 31:
845
+ if (tag != 253) {
846
+ break;
847
+ }
848
+ message.positionTop = reader.float();
849
+ continue;
850
+ case 32:
851
+ if (tag != 256) {
852
+ break;
853
+ }
854
+ message.positionRightUnit = reader.int32();
855
+ continue;
856
+ case 33:
857
+ if (tag != 269) {
858
+ break;
859
+ }
860
+ message.positionRight = reader.float();
861
+ continue;
862
+ case 34:
863
+ if (tag != 272) {
864
+ break;
865
+ }
866
+ message.positionBottomUnit = reader.int32();
867
+ continue;
868
+ case 35:
869
+ if (tag != 285) {
870
+ break;
871
+ }
872
+ message.positionBottom = reader.float();
873
+ continue;
874
+ case 36:
875
+ if (tag != 288) {
876
+ break;
877
+ }
878
+ message.marginLeftUnit = reader.int32();
879
+ continue;
880
+ case 37:
881
+ if (tag != 301) {
882
+ break;
883
+ }
884
+ message.marginLeft = reader.float();
885
+ continue;
886
+ case 38:
887
+ if (tag != 304) {
888
+ break;
889
+ }
890
+ message.marginTopUnit = reader.int32();
891
+ continue;
892
+ case 39:
893
+ if (tag != 317) {
894
+ break;
895
+ }
896
+ message.marginTop = reader.float();
897
+ continue;
898
+ case 40:
899
+ if (tag != 320) {
900
+ break;
901
+ }
902
+ message.marginRightUnit = reader.int32();
903
+ continue;
904
+ case 41:
905
+ if (tag != 333) {
906
+ break;
907
+ }
908
+ message.marginRight = reader.float();
909
+ continue;
910
+ case 42:
911
+ if (tag != 336) {
912
+ break;
913
+ }
914
+ message.marginBottomUnit = reader.int32();
915
+ continue;
916
+ case 43:
917
+ if (tag != 349) {
918
+ break;
919
+ }
920
+ message.marginBottom = reader.float();
921
+ continue;
922
+ case 44:
923
+ if (tag != 352) {
924
+ break;
925
+ }
926
+ message.paddingLeftUnit = reader.int32();
927
+ continue;
928
+ case 45:
929
+ if (tag != 365) {
930
+ break;
931
+ }
932
+ message.paddingLeft = reader.float();
933
+ continue;
934
+ case 46:
935
+ if (tag != 368) {
936
+ break;
937
+ }
938
+ message.paddingTopUnit = reader.int32();
939
+ continue;
940
+ case 47:
941
+ if (tag != 381) {
942
+ break;
943
+ }
944
+ message.paddingTop = reader.float();
945
+ continue;
946
+ case 48:
947
+ if (tag != 384) {
948
+ break;
949
+ }
950
+ message.paddingRightUnit = reader.int32();
951
+ continue;
952
+ case 49:
953
+ if (tag != 397) {
954
+ break;
955
+ }
956
+ message.paddingRight = reader.float();
957
+ continue;
958
+ case 50:
959
+ if (tag != 400) {
960
+ break;
961
+ }
962
+ message.paddingBottomUnit = reader.int32();
963
+ continue;
964
+ case 51:
965
+ if (tag != 413) {
966
+ break;
967
+ }
968
+ message.paddingBottom = reader.float();
969
+ continue;
970
+ }
971
+ if ((tag & 7) == 4 || tag == 0) {
972
+ break;
973
+ }
974
+ reader.skipType(tag & 7);
975
+ }
976
+ return message;
977
+ },
978
+ fromJSON(object) {
979
+ return {
980
+ parent: isSet(object.parent) ? Number(object.parent) : 0,
981
+ rightOf: isSet(object.rightOf) ? Number(object.rightOf) : 0,
982
+ alignContent: isSet(object.alignContent) ? yGAlignFromJSON(object.alignContent) : undefined,
983
+ alignItems: isSet(object.alignItems) ? yGAlignFromJSON(object.alignItems) : undefined,
984
+ flexWrap: isSet(object.flexWrap) ? yGWrapFromJSON(object.flexWrap) : undefined,
985
+ flexShrink: isSet(object.flexShrink) ? Number(object.flexShrink) : undefined,
986
+ positionType: isSet(object.positionType) ? yGPositionTypeFromJSON(object.positionType) : 0,
987
+ alignSelf: isSet(object.alignSelf) ? yGAlignFromJSON(object.alignSelf) : 0,
988
+ flexDirection: isSet(object.flexDirection) ? yGFlexDirectionFromJSON(object.flexDirection) : 0,
989
+ justifyContent: isSet(object.justifyContent) ? yGJustifyFromJSON(object.justifyContent) : 0,
990
+ overflow: isSet(object.overflow) ? yGOverflowFromJSON(object.overflow) : 0,
991
+ display: isSet(object.display) ? yGDisplayFromJSON(object.display) : 0,
992
+ flexBasisUnit: isSet(object.flexBasisUnit) ? yGUnitFromJSON(object.flexBasisUnit) : 0,
993
+ flexBasis: isSet(object.flexBasis) ? Number(object.flexBasis) : 0,
994
+ flexGrow: isSet(object.flexGrow) ? Number(object.flexGrow) : 0,
995
+ widthUnit: isSet(object.widthUnit) ? yGUnitFromJSON(object.widthUnit) : 0,
996
+ width: isSet(object.width) ? Number(object.width) : 0,
997
+ heightUnit: isSet(object.heightUnit) ? yGUnitFromJSON(object.heightUnit) : 0,
998
+ height: isSet(object.height) ? Number(object.height) : 0,
999
+ minWidthUnit: isSet(object.minWidthUnit) ? yGUnitFromJSON(object.minWidthUnit) : 0,
1000
+ minWidth: isSet(object.minWidth) ? Number(object.minWidth) : 0,
1001
+ minHeightUnit: isSet(object.minHeightUnit) ? yGUnitFromJSON(object.minHeightUnit) : 0,
1002
+ minHeight: isSet(object.minHeight) ? Number(object.minHeight) : 0,
1003
+ maxWidthUnit: isSet(object.maxWidthUnit) ? yGUnitFromJSON(object.maxWidthUnit) : 0,
1004
+ maxWidth: isSet(object.maxWidth) ? Number(object.maxWidth) : 0,
1005
+ maxHeightUnit: isSet(object.maxHeightUnit) ? yGUnitFromJSON(object.maxHeightUnit) : 0,
1006
+ maxHeight: isSet(object.maxHeight) ? Number(object.maxHeight) : 0,
1007
+ positionLeftUnit: isSet(object.positionLeftUnit) ? yGUnitFromJSON(object.positionLeftUnit) : 0,
1008
+ positionLeft: isSet(object.positionLeft) ? Number(object.positionLeft) : 0,
1009
+ positionTopUnit: isSet(object.positionTopUnit) ? yGUnitFromJSON(object.positionTopUnit) : 0,
1010
+ positionTop: isSet(object.positionTop) ? Number(object.positionTop) : 0,
1011
+ positionRightUnit: isSet(object.positionRightUnit) ? yGUnitFromJSON(object.positionRightUnit) : 0,
1012
+ positionRight: isSet(object.positionRight) ? Number(object.positionRight) : 0,
1013
+ positionBottomUnit: isSet(object.positionBottomUnit) ? yGUnitFromJSON(object.positionBottomUnit) : 0,
1014
+ positionBottom: isSet(object.positionBottom) ? Number(object.positionBottom) : 0,
1015
+ marginLeftUnit: isSet(object.marginLeftUnit) ? yGUnitFromJSON(object.marginLeftUnit) : 0,
1016
+ marginLeft: isSet(object.marginLeft) ? Number(object.marginLeft) : 0,
1017
+ marginTopUnit: isSet(object.marginTopUnit) ? yGUnitFromJSON(object.marginTopUnit) : 0,
1018
+ marginTop: isSet(object.marginTop) ? Number(object.marginTop) : 0,
1019
+ marginRightUnit: isSet(object.marginRightUnit) ? yGUnitFromJSON(object.marginRightUnit) : 0,
1020
+ marginRight: isSet(object.marginRight) ? Number(object.marginRight) : 0,
1021
+ marginBottomUnit: isSet(object.marginBottomUnit) ? yGUnitFromJSON(object.marginBottomUnit) : 0,
1022
+ marginBottom: isSet(object.marginBottom) ? Number(object.marginBottom) : 0,
1023
+ paddingLeftUnit: isSet(object.paddingLeftUnit) ? yGUnitFromJSON(object.paddingLeftUnit) : 0,
1024
+ paddingLeft: isSet(object.paddingLeft) ? Number(object.paddingLeft) : 0,
1025
+ paddingTopUnit: isSet(object.paddingTopUnit) ? yGUnitFromJSON(object.paddingTopUnit) : 0,
1026
+ paddingTop: isSet(object.paddingTop) ? Number(object.paddingTop) : 0,
1027
+ paddingRightUnit: isSet(object.paddingRightUnit) ? yGUnitFromJSON(object.paddingRightUnit) : 0,
1028
+ paddingRight: isSet(object.paddingRight) ? Number(object.paddingRight) : 0,
1029
+ paddingBottomUnit: isSet(object.paddingBottomUnit) ? yGUnitFromJSON(object.paddingBottomUnit) : 0,
1030
+ paddingBottom: isSet(object.paddingBottom) ? Number(object.paddingBottom) : 0,
1031
+ };
1032
+ },
1033
+ toJSON(message) {
1034
+ const obj = {};
1035
+ message.parent !== undefined && (obj.parent = Math.round(message.parent));
1036
+ message.rightOf !== undefined && (obj.rightOf = Math.round(message.rightOf));
1037
+ message.alignContent !== undefined &&
1038
+ (obj.alignContent = message.alignContent !== undefined ? yGAlignToJSON(message.alignContent) : undefined);
1039
+ message.alignItems !== undefined &&
1040
+ (obj.alignItems = message.alignItems !== undefined ? yGAlignToJSON(message.alignItems) : undefined);
1041
+ message.flexWrap !== undefined &&
1042
+ (obj.flexWrap = message.flexWrap !== undefined ? yGWrapToJSON(message.flexWrap) : undefined);
1043
+ message.flexShrink !== undefined && (obj.flexShrink = message.flexShrink);
1044
+ message.positionType !== undefined && (obj.positionType = yGPositionTypeToJSON(message.positionType));
1045
+ message.alignSelf !== undefined && (obj.alignSelf = yGAlignToJSON(message.alignSelf));
1046
+ message.flexDirection !== undefined && (obj.flexDirection = yGFlexDirectionToJSON(message.flexDirection));
1047
+ message.justifyContent !== undefined && (obj.justifyContent = yGJustifyToJSON(message.justifyContent));
1048
+ message.overflow !== undefined && (obj.overflow = yGOverflowToJSON(message.overflow));
1049
+ message.display !== undefined && (obj.display = yGDisplayToJSON(message.display));
1050
+ message.flexBasisUnit !== undefined && (obj.flexBasisUnit = yGUnitToJSON(message.flexBasisUnit));
1051
+ message.flexBasis !== undefined && (obj.flexBasis = message.flexBasis);
1052
+ message.flexGrow !== undefined && (obj.flexGrow = message.flexGrow);
1053
+ message.widthUnit !== undefined && (obj.widthUnit = yGUnitToJSON(message.widthUnit));
1054
+ message.width !== undefined && (obj.width = message.width);
1055
+ message.heightUnit !== undefined && (obj.heightUnit = yGUnitToJSON(message.heightUnit));
1056
+ message.height !== undefined && (obj.height = message.height);
1057
+ message.minWidthUnit !== undefined && (obj.minWidthUnit = yGUnitToJSON(message.minWidthUnit));
1058
+ message.minWidth !== undefined && (obj.minWidth = message.minWidth);
1059
+ message.minHeightUnit !== undefined && (obj.minHeightUnit = yGUnitToJSON(message.minHeightUnit));
1060
+ message.minHeight !== undefined && (obj.minHeight = message.minHeight);
1061
+ message.maxWidthUnit !== undefined && (obj.maxWidthUnit = yGUnitToJSON(message.maxWidthUnit));
1062
+ message.maxWidth !== undefined && (obj.maxWidth = message.maxWidth);
1063
+ message.maxHeightUnit !== undefined && (obj.maxHeightUnit = yGUnitToJSON(message.maxHeightUnit));
1064
+ message.maxHeight !== undefined && (obj.maxHeight = message.maxHeight);
1065
+ message.positionLeftUnit !== undefined && (obj.positionLeftUnit = yGUnitToJSON(message.positionLeftUnit));
1066
+ message.positionLeft !== undefined && (obj.positionLeft = message.positionLeft);
1067
+ message.positionTopUnit !== undefined && (obj.positionTopUnit = yGUnitToJSON(message.positionTopUnit));
1068
+ message.positionTop !== undefined && (obj.positionTop = message.positionTop);
1069
+ message.positionRightUnit !== undefined && (obj.positionRightUnit = yGUnitToJSON(message.positionRightUnit));
1070
+ message.positionRight !== undefined && (obj.positionRight = message.positionRight);
1071
+ message.positionBottomUnit !== undefined && (obj.positionBottomUnit = yGUnitToJSON(message.positionBottomUnit));
1072
+ message.positionBottom !== undefined && (obj.positionBottom = message.positionBottom);
1073
+ message.marginLeftUnit !== undefined && (obj.marginLeftUnit = yGUnitToJSON(message.marginLeftUnit));
1074
+ message.marginLeft !== undefined && (obj.marginLeft = message.marginLeft);
1075
+ message.marginTopUnit !== undefined && (obj.marginTopUnit = yGUnitToJSON(message.marginTopUnit));
1076
+ message.marginTop !== undefined && (obj.marginTop = message.marginTop);
1077
+ message.marginRightUnit !== undefined && (obj.marginRightUnit = yGUnitToJSON(message.marginRightUnit));
1078
+ message.marginRight !== undefined && (obj.marginRight = message.marginRight);
1079
+ message.marginBottomUnit !== undefined && (obj.marginBottomUnit = yGUnitToJSON(message.marginBottomUnit));
1080
+ message.marginBottom !== undefined && (obj.marginBottom = message.marginBottom);
1081
+ message.paddingLeftUnit !== undefined && (obj.paddingLeftUnit = yGUnitToJSON(message.paddingLeftUnit));
1082
+ message.paddingLeft !== undefined && (obj.paddingLeft = message.paddingLeft);
1083
+ message.paddingTopUnit !== undefined && (obj.paddingTopUnit = yGUnitToJSON(message.paddingTopUnit));
1084
+ message.paddingTop !== undefined && (obj.paddingTop = message.paddingTop);
1085
+ message.paddingRightUnit !== undefined && (obj.paddingRightUnit = yGUnitToJSON(message.paddingRightUnit));
1086
+ message.paddingRight !== undefined && (obj.paddingRight = message.paddingRight);
1087
+ message.paddingBottomUnit !== undefined && (obj.paddingBottomUnit = yGUnitToJSON(message.paddingBottomUnit));
1088
+ message.paddingBottom !== undefined && (obj.paddingBottom = message.paddingBottom);
1089
+ return obj;
1090
+ },
1091
+ create(base) {
1092
+ return exports.PBUiTransform.fromPartial(base !== null && base !== void 0 ? base : {});
1093
+ },
1094
+ fromPartial(object) {
1095
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26;
1096
+ const message = createBasePBUiTransform();
1097
+ message.parent = (_a = object.parent) !== null && _a !== void 0 ? _a : 0;
1098
+ message.rightOf = (_b = object.rightOf) !== null && _b !== void 0 ? _b : 0;
1099
+ message.alignContent = (_c = object.alignContent) !== null && _c !== void 0 ? _c : undefined;
1100
+ message.alignItems = (_d = object.alignItems) !== null && _d !== void 0 ? _d : undefined;
1101
+ message.flexWrap = (_e = object.flexWrap) !== null && _e !== void 0 ? _e : undefined;
1102
+ message.flexShrink = (_f = object.flexShrink) !== null && _f !== void 0 ? _f : undefined;
1103
+ message.positionType = (_g = object.positionType) !== null && _g !== void 0 ? _g : 0;
1104
+ message.alignSelf = (_h = object.alignSelf) !== null && _h !== void 0 ? _h : 0;
1105
+ message.flexDirection = (_j = object.flexDirection) !== null && _j !== void 0 ? _j : 0;
1106
+ message.justifyContent = (_k = object.justifyContent) !== null && _k !== void 0 ? _k : 0;
1107
+ message.overflow = (_l = object.overflow) !== null && _l !== void 0 ? _l : 0;
1108
+ message.display = (_m = object.display) !== null && _m !== void 0 ? _m : 0;
1109
+ message.flexBasisUnit = (_o = object.flexBasisUnit) !== null && _o !== void 0 ? _o : 0;
1110
+ message.flexBasis = (_p = object.flexBasis) !== null && _p !== void 0 ? _p : 0;
1111
+ message.flexGrow = (_q = object.flexGrow) !== null && _q !== void 0 ? _q : 0;
1112
+ message.widthUnit = (_r = object.widthUnit) !== null && _r !== void 0 ? _r : 0;
1113
+ message.width = (_s = object.width) !== null && _s !== void 0 ? _s : 0;
1114
+ message.heightUnit = (_t = object.heightUnit) !== null && _t !== void 0 ? _t : 0;
1115
+ message.height = (_u = object.height) !== null && _u !== void 0 ? _u : 0;
1116
+ message.minWidthUnit = (_v = object.minWidthUnit) !== null && _v !== void 0 ? _v : 0;
1117
+ message.minWidth = (_w = object.minWidth) !== null && _w !== void 0 ? _w : 0;
1118
+ message.minHeightUnit = (_x = object.minHeightUnit) !== null && _x !== void 0 ? _x : 0;
1119
+ message.minHeight = (_y = object.minHeight) !== null && _y !== void 0 ? _y : 0;
1120
+ message.maxWidthUnit = (_z = object.maxWidthUnit) !== null && _z !== void 0 ? _z : 0;
1121
+ message.maxWidth = (_0 = object.maxWidth) !== null && _0 !== void 0 ? _0 : 0;
1122
+ message.maxHeightUnit = (_1 = object.maxHeightUnit) !== null && _1 !== void 0 ? _1 : 0;
1123
+ message.maxHeight = (_2 = object.maxHeight) !== null && _2 !== void 0 ? _2 : 0;
1124
+ message.positionLeftUnit = (_3 = object.positionLeftUnit) !== null && _3 !== void 0 ? _3 : 0;
1125
+ message.positionLeft = (_4 = object.positionLeft) !== null && _4 !== void 0 ? _4 : 0;
1126
+ message.positionTopUnit = (_5 = object.positionTopUnit) !== null && _5 !== void 0 ? _5 : 0;
1127
+ message.positionTop = (_6 = object.positionTop) !== null && _6 !== void 0 ? _6 : 0;
1128
+ message.positionRightUnit = (_7 = object.positionRightUnit) !== null && _7 !== void 0 ? _7 : 0;
1129
+ message.positionRight = (_8 = object.positionRight) !== null && _8 !== void 0 ? _8 : 0;
1130
+ message.positionBottomUnit = (_9 = object.positionBottomUnit) !== null && _9 !== void 0 ? _9 : 0;
1131
+ message.positionBottom = (_10 = object.positionBottom) !== null && _10 !== void 0 ? _10 : 0;
1132
+ message.marginLeftUnit = (_11 = object.marginLeftUnit) !== null && _11 !== void 0 ? _11 : 0;
1133
+ message.marginLeft = (_12 = object.marginLeft) !== null && _12 !== void 0 ? _12 : 0;
1134
+ message.marginTopUnit = (_13 = object.marginTopUnit) !== null && _13 !== void 0 ? _13 : 0;
1135
+ message.marginTop = (_14 = object.marginTop) !== null && _14 !== void 0 ? _14 : 0;
1136
+ message.marginRightUnit = (_15 = object.marginRightUnit) !== null && _15 !== void 0 ? _15 : 0;
1137
+ message.marginRight = (_16 = object.marginRight) !== null && _16 !== void 0 ? _16 : 0;
1138
+ message.marginBottomUnit = (_17 = object.marginBottomUnit) !== null && _17 !== void 0 ? _17 : 0;
1139
+ message.marginBottom = (_18 = object.marginBottom) !== null && _18 !== void 0 ? _18 : 0;
1140
+ message.paddingLeftUnit = (_19 = object.paddingLeftUnit) !== null && _19 !== void 0 ? _19 : 0;
1141
+ message.paddingLeft = (_20 = object.paddingLeft) !== null && _20 !== void 0 ? _20 : 0;
1142
+ message.paddingTopUnit = (_21 = object.paddingTopUnit) !== null && _21 !== void 0 ? _21 : 0;
1143
+ message.paddingTop = (_22 = object.paddingTop) !== null && _22 !== void 0 ? _22 : 0;
1144
+ message.paddingRightUnit = (_23 = object.paddingRightUnit) !== null && _23 !== void 0 ? _23 : 0;
1145
+ message.paddingRight = (_24 = object.paddingRight) !== null && _24 !== void 0 ? _24 : 0;
1146
+ message.paddingBottomUnit = (_25 = object.paddingBottomUnit) !== null && _25 !== void 0 ? _25 : 0;
1147
+ message.paddingBottom = (_26 = object.paddingBottom) !== null && _26 !== void 0 ? _26 : 0;
1148
+ return message;
1149
+ },
1150
+ };
1151
+ function isSet(value) {
1152
+ return value !== null && value !== undefined;
1153
+ }
1154
+ //# sourceMappingURL=ui_transform.gen.js.map