decentraland / decentraland/creator-hub

update pertinent components to be READONLY from scenes

Open
#172 0 comments 0 reactions 0 assignees View on GitHub
typescript
Dominant language
TypeScript
Stars
7
Forks
14
Avg merge
2d 8h
Merged PRs (30d)
44

Description

* There are several components whose design is to be used as "readonly" from the scenes sdk code (e.g. "result" components that are only updated by the engine/renderer/client).
* Now that there is a way to turn components into readonly from scenes we should update the existent "readonly" components.
* How to: in `packages/@dcl/ecs/src/components/generated/index.gen.ts` for example a GrowOnlyValueSet component could be changed from `/** @public */ export const PointerEventsResult: GSetComponentGetter> = ...` to `/** @public */ export const PointerEventsResult: GSetComponentGetter> = ...`

Current components that should be readonly:
- [ ] `EngineInfo`
- [ ] `GltfContainerLoadingState`
- [ ] `PointerEventsResult`
- [ ] `RaycastResult`
- [ ] `UiCanvasInformation`
- [ ] `UiDropdownResult`
- [ ] `UiInputResult`
- [ ] `VideoEvent`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.