@dcl/protocol 1.0.0-3239222053.commit-c9e426d → 1.0.0-3244237062.commit-99a88ae

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 (30) hide show
  1. package/README.md +6 -0
  2. package/out-ts/comms.gen.ts +3 -0
  3. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +4 -4
  4. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +4 -4
  5. package/out-ts/decentraland/kernel/apis/experimental_api.gen.ts +4 -4
  6. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +728 -0
  7. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +817 -0
  8. package/out-ts/decentraland/kernel/comms/v3/comms.gen.ts +771 -0
  9. package/package.json +2 -2
  10. package/proto/decentraland/kernel/apis/engine_api.proto +1 -1
  11. package/proto/decentraland/kernel/apis/environment_api.proto +28 -27
  12. package/proto/decentraland/kernel/apis/experimental_api.proto +1 -1
  13. package/proto/decentraland/renderer/engine_interface.proto +157 -164
  14. package/proto/decentraland/sdk/components/avatar_attach.proto +6 -6
  15. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +4 -4
  16. package/proto/decentraland/sdk/components/camera_mode.proto +2 -2
  17. package/proto/decentraland/sdk/components/camera_mode_area.proto +5 -3
  18. package/proto/decentraland/sdk/components/common/camera_type.proto +8 -0
  19. package/proto/decentraland/sdk/components/common/input_action.proto +20 -0
  20. package/proto/decentraland/sdk/components/common/texts.proto +4 -4
  21. package/proto/decentraland/sdk/components/material.proto +12 -12
  22. package/proto/decentraland/sdk/components/nft_shape.proto +26 -26
  23. package/proto/decentraland/sdk/components/pointer_events.proto +4 -2
  24. package/proto/decentraland/sdk/components/pointer_events_result.proto +6 -4
  25. package/proto/decentraland/sdk/components/text_shape.proto +4 -3
  26. package/proto/decentraland/sdk/components/ui_text.proto +7 -6
  27. package/proto/decentraland/sdk/components/ui_transform.proto +3 -3
  28. package/public/comms.proto +5 -0
  29. package/proto/decentraland/sdk/components/common/action_button.proto +0 -20
  30. package/proto/decentraland/sdk/components/common/camera_mode_value.proto +0 -8
package/README.md CHANGED
@@ -18,3 +18,9 @@ protoc \
18
18
  -I="$(pwd)/node_modules/@dcl/protocol/proto" \
19
19
  "$(pwd)/node_modules/@dcl/protocol/public/bff-services.proto"
20
20
  ```
21
+
22
+ # Style Guidelines
23
+ 1. All .proto files are snake_case.proto.
24
+ 2. For pascal or camel case usage, please make a deterministic one from the snake case. Example: nft_shape will transform to NftShape.
25
+ 3. See https://docs.buf.build/best-practices/style-guide. The most of other styles are taken from there, the Buf configuration is in proto/buf.yml.
26
+ 4. Use public/ folder only for .proto with protocol exposing, that is only for files with `import public`. This folder is not processed by the linter.
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+
3
+ export const protobufPackage = "";
@@ -2080,10 +2080,10 @@ export const EventData = {
2080
2080
  },
2081
2081
  };
2082
2082
 
2083
- export type EngineAPIServiceDefinition = typeof EngineAPIServiceDefinition;
2084
- export const EngineAPIServiceDefinition = {
2085
- name: "EngineAPIService",
2086
- fullName: "decentraland.kernel.apis.EngineAPIService",
2083
+ export type EngineApiServiceDefinition = typeof EngineApiServiceDefinition;
2084
+ export const EngineApiServiceDefinition = {
2085
+ name: "EngineApiService",
2086
+ fullName: "decentraland.kernel.apis.EngineApiService",
2087
2087
  methods: {
2088
2088
  sendBatch: {
2089
2089
  name: "SendBatch",
@@ -966,10 +966,10 @@ export const GetDecentralandTimeRequest = {
966
966
  },
967
967
  };
968
968
 
969
- export type EnvironmentAPIServiceDefinition = typeof EnvironmentAPIServiceDefinition;
970
- export const EnvironmentAPIServiceDefinition = {
971
- name: "EnvironmentAPIService",
972
- fullName: "decentraland.kernel.apis.EnvironmentAPIService",
969
+ export type EnvironmentApiServiceDefinition = typeof EnvironmentApiServiceDefinition;
970
+ export const EnvironmentApiServiceDefinition = {
971
+ name: "EnvironmentApiService",
972
+ fullName: "decentraland.kernel.apis.EnvironmentApiService",
973
973
  methods: {
974
974
  getBootstrapData: {
975
975
  name: "GetBootstrapData",
@@ -194,10 +194,10 @@ export const MessageFromRendererResponse = {
194
194
  },
195
195
  };
196
196
 
197
- export type ExperimentalAPIServiceDefinition = typeof ExperimentalAPIServiceDefinition;
198
- export const ExperimentalAPIServiceDefinition = {
199
- name: "ExperimentalAPIService",
200
- fullName: "decentraland.kernel.apis.ExperimentalAPIService",
197
+ export type ExperimentalApiServiceDefinition = typeof ExperimentalApiServiceDefinition;
198
+ export const ExperimentalApiServiceDefinition = {
199
+ name: "ExperimentalApiService",
200
+ fullName: "decentraland.kernel.apis.ExperimentalApiService",
201
201
  methods: {
202
202
  sendToRenderer: {
203
203
  name: "SendToRenderer",