@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.
- package/README.md +6 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/experimental_api.gen.ts +4 -4
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +728 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +817 -0
- package/out-ts/decentraland/kernel/comms/v3/comms.gen.ts +771 -0
- package/package.json +2 -2
- package/proto/decentraland/kernel/apis/engine_api.proto +1 -1
- package/proto/decentraland/kernel/apis/environment_api.proto +28 -27
- package/proto/decentraland/kernel/apis/experimental_api.proto +1 -1
- package/proto/decentraland/renderer/engine_interface.proto +157 -164
- package/proto/decentraland/sdk/components/avatar_attach.proto +6 -6
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +4 -4
- package/proto/decentraland/sdk/components/camera_mode.proto +2 -2
- package/proto/decentraland/sdk/components/camera_mode_area.proto +5 -3
- package/proto/decentraland/sdk/components/common/camera_type.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +20 -0
- package/proto/decentraland/sdk/components/common/texts.proto +4 -4
- package/proto/decentraland/sdk/components/material.proto +12 -12
- package/proto/decentraland/sdk/components/nft_shape.proto +26 -26
- package/proto/decentraland/sdk/components/pointer_events.proto +4 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +6 -4
- package/proto/decentraland/sdk/components/text_shape.proto +4 -3
- package/proto/decentraland/sdk/components/ui_text.proto +7 -6
- package/proto/decentraland/sdk/components/ui_transform.proto +3 -3
- package/public/comms.proto +5 -0
- package/proto/decentraland/sdk/components/common/action_button.proto +0 -20
- 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.
|
|
@@ -2080,10 +2080,10 @@ export const EventData = {
|
|
|
2080
2080
|
},
|
|
2081
2081
|
};
|
|
2082
2082
|
|
|
2083
|
-
export type
|
|
2084
|
-
export const
|
|
2085
|
-
name: "
|
|
2086
|
-
fullName: "decentraland.kernel.apis.
|
|
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
|
|
970
|
-
export const
|
|
971
|
-
name: "
|
|
972
|
-
fullName: "decentraland.kernel.apis.
|
|
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
|
|
198
|
-
export const
|
|
199
|
-
name: "
|
|
200
|
-
fullName: "decentraland.kernel.apis.
|
|
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",
|