@dcl/protocol 1.0.0-4493564897.commit-c858f8a → 1.0.0-4596906552.commit-18a5668
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/out-js/decentraland/bff/authentication_service.gen.d.ts +2 -6
- package/out-js/decentraland/bff/authentication_service.gen.js +2 -2
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +2 -6
- package/out-js/decentraland/bff/comms_director_service.gen.js +2 -2
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +7 -21
- package/out-js/decentraland/bff/comms_service.gen.js +7 -7
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +1 -3
- package/out-js/decentraland/bff/http_endpoints.gen.js +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +3 -9
- package/out-js/decentraland/bff/topics_service.gen.js +3 -3
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +1 -3
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +1 -3
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +6 -18
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +6 -6
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +7 -21
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +7 -7
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +5 -15
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +5 -5
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +3 -9
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +2 -6
- package/out-js/decentraland/kernel/apis/permissions.gen.js +2 -2
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +3 -9
- package/out-js/decentraland/kernel/apis/players.gen.js +3 -3
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +4 -12
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +4 -4
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +7 -21
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +7 -7
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +2 -6
- package/out-js/decentraland/kernel/apis/runtime.gen.js +2 -2
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +1 -3
- package/out-js/decentraland/kernel/apis/scene.gen.js +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +1 -3
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +1 -3
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +426 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +603 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +1 -3
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +1 -1
- 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 +2 -6
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +2 -2
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +1 -2
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +5 -6
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +4 -12
- package/out-js/decentraland/social/friendships/friendships.gen.js +4 -4
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +2 -2
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +2 -2
- package/out-ts/decentraland/bff/comms_service.gen.ts +7 -7
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +1 -1
- package/out-ts/decentraland/bff/topics_service.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +6 -6
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +7 -7
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +5 -5
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +2 -2
- package/out-ts/decentraland/kernel/apis/players.gen.ts +3 -3
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +4 -4
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +7 -7
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +2 -2
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +746 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +1 -1
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +2 -2
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +5 -6
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +4 -4
- package/package.json +2 -2
- package/proto/decentraland/kernel/apis/testing.proto +55 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +1 -1
- package/public/sdk-apis.proto +1 -0
|
@@ -230,7 +230,7 @@ export const UserIdentityServiceDefinition = {
|
|
|
230
230
|
requestStream: false,
|
|
231
231
|
responseType: GetUserPublicKeyResponse,
|
|
232
232
|
responseStream: false,
|
|
233
|
-
options: {
|
|
233
|
+
options: {},
|
|
234
234
|
},
|
|
235
235
|
getUserData: {
|
|
236
236
|
name: "GetUserData",
|
|
@@ -238,7 +238,7 @@ export const UserIdentityServiceDefinition = {
|
|
|
238
238
|
requestStream: false,
|
|
239
239
|
responseType: GetUserDataResponse,
|
|
240
240
|
responseStream: false,
|
|
241
|
-
options: {
|
|
241
|
+
options: {},
|
|
242
242
|
},
|
|
243
243
|
},
|
|
244
244
|
} as const;
|
|
@@ -11,8 +11,7 @@ export enum ColliderLayer {
|
|
|
11
11
|
CL_POINTER = 1,
|
|
12
12
|
/** CL_PHYSICS - collision affecting your player's physics i.e. walls, floor, moving platfroms */
|
|
13
13
|
CL_PHYSICS = 2,
|
|
14
|
-
|
|
15
|
-
CL_VISIBLE_MESHES = 4,
|
|
14
|
+
CL_RESERVED1 = 4,
|
|
16
15
|
CL_RESERVED2 = 8,
|
|
17
16
|
CL_RESERVED3 = 16,
|
|
18
17
|
CL_RESERVED4 = 32,
|
|
@@ -41,8 +40,8 @@ export function colliderLayerFromJSON(object: any): ColliderLayer {
|
|
|
41
40
|
case "CL_PHYSICS":
|
|
42
41
|
return ColliderLayer.CL_PHYSICS;
|
|
43
42
|
case 4:
|
|
44
|
-
case "
|
|
45
|
-
return ColliderLayer.
|
|
43
|
+
case "CL_RESERVED1":
|
|
44
|
+
return ColliderLayer.CL_RESERVED1;
|
|
46
45
|
case 8:
|
|
47
46
|
case "CL_RESERVED2":
|
|
48
47
|
return ColliderLayer.CL_RESERVED2;
|
|
@@ -97,8 +96,8 @@ export function colliderLayerToJSON(object: ColliderLayer): string {
|
|
|
97
96
|
return "CL_POINTER";
|
|
98
97
|
case ColliderLayer.CL_PHYSICS:
|
|
99
98
|
return "CL_PHYSICS";
|
|
100
|
-
case ColliderLayer.
|
|
101
|
-
return "
|
|
99
|
+
case ColliderLayer.CL_RESERVED1:
|
|
100
|
+
return "CL_RESERVED1";
|
|
102
101
|
case ColliderLayer.CL_RESERVED2:
|
|
103
102
|
return "CL_RESERVED2";
|
|
104
103
|
case ColliderLayer.CL_RESERVED3:
|
|
@@ -1515,7 +1515,7 @@ export const FriendshipsServiceDefinition = {
|
|
|
1515
1515
|
requestStream: false,
|
|
1516
1516
|
responseType: Users,
|
|
1517
1517
|
responseStream: true,
|
|
1518
|
-
options: {
|
|
1518
|
+
options: {},
|
|
1519
1519
|
},
|
|
1520
1520
|
/** Get the list of request events for the authenticated user */
|
|
1521
1521
|
getRequestEvents: {
|
|
@@ -1524,7 +1524,7 @@ export const FriendshipsServiceDefinition = {
|
|
|
1524
1524
|
requestStream: false,
|
|
1525
1525
|
responseType: RequestEvents,
|
|
1526
1526
|
responseStream: false,
|
|
1527
|
-
options: {
|
|
1527
|
+
options: {},
|
|
1528
1528
|
},
|
|
1529
1529
|
/** Update friendship status: REQUEST, ACCEPT, REJECT, CANCEL, DELETE */
|
|
1530
1530
|
updateFriendshipEvent: {
|
|
@@ -1533,7 +1533,7 @@ export const FriendshipsServiceDefinition = {
|
|
|
1533
1533
|
requestStream: false,
|
|
1534
1534
|
responseType: UpdateFriendshipResponse,
|
|
1535
1535
|
responseStream: false,
|
|
1536
|
-
options: {
|
|
1536
|
+
options: {},
|
|
1537
1537
|
},
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Subscribe to updates of friendship status: REQUEST, ACCEPT, REJECT, CANCEL,
|
|
@@ -1545,7 +1545,7 @@ export const FriendshipsServiceDefinition = {
|
|
|
1545
1545
|
requestStream: false,
|
|
1546
1546
|
responseType: SubscribeFriendshipEventsUpdatesResponse,
|
|
1547
1547
|
responseStream: true,
|
|
1548
|
-
options: {
|
|
1548
|
+
options: {},
|
|
1549
1549
|
},
|
|
1550
1550
|
},
|
|
1551
1551
|
} as const;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-4596906552.commit-18a5668",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"out-js",
|
|
27
27
|
"public"
|
|
28
28
|
],
|
|
29
|
-
"commit": "
|
|
29
|
+
"commit": "18a56686fceb9d300bae963e9bc6afb676412e4b"
|
|
30
30
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.kernel.apis;
|
|
3
|
+
|
|
4
|
+
service TestingService {
|
|
5
|
+
// sends a test result to the test runner
|
|
6
|
+
rpc LogTestResult(TestResult) returns (TestResultResponse) {}
|
|
7
|
+
// send a list of all planned tests to the test runner
|
|
8
|
+
rpc Plan(TestPlan) returns (TestPlanResponse) {}
|
|
9
|
+
// sets the camera position and rotation in the engine
|
|
10
|
+
rpc SetCameraTransform (SetCameraTransformTestCommandResponse) returns (SetCameraTransformTestCommandResponse) {}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
message TestResult {
|
|
15
|
+
string name = 1;
|
|
16
|
+
bool ok = 2;
|
|
17
|
+
optional string error = 3;
|
|
18
|
+
optional string stack = 4;
|
|
19
|
+
|
|
20
|
+
// how many ADR-148 ticks were spent running this test
|
|
21
|
+
uint32 total_frames = 5;
|
|
22
|
+
|
|
23
|
+
// total time in seconds spent running this test
|
|
24
|
+
float total_time = 6;
|
|
25
|
+
}
|
|
26
|
+
message TestResultResponse {}
|
|
27
|
+
|
|
28
|
+
message TestPlan {
|
|
29
|
+
message TestPlanEntry {
|
|
30
|
+
string name = 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
repeated TestPlanEntry tests = 1;
|
|
34
|
+
}
|
|
35
|
+
message TestPlanResponse {}
|
|
36
|
+
|
|
37
|
+
message SetCameraPositionTestCommand {
|
|
38
|
+
Vector3 position = 1;
|
|
39
|
+
Quaternion rotation = 2;
|
|
40
|
+
|
|
41
|
+
message Vector3 {
|
|
42
|
+
float x = 1;
|
|
43
|
+
float y = 2;
|
|
44
|
+
float z = 3;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message Quaternion {
|
|
48
|
+
float x = 1;
|
|
49
|
+
float y = 2;
|
|
50
|
+
float z = 3;
|
|
51
|
+
float w = 4;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
message SetCameraTransformTestCommandResponse {}
|
|
55
|
+
|
|
@@ -45,7 +45,7 @@ enum ColliderLayer {
|
|
|
45
45
|
CL_NONE = 0; // no collisions
|
|
46
46
|
CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
|
|
47
47
|
CL_PHYSICS = 2; // collision affecting your player's physics i.e. walls, floor, moving platfroms
|
|
48
|
-
|
|
48
|
+
CL_RESERVED1 = 4;
|
|
49
49
|
CL_RESERVED2 = 8;
|
|
50
50
|
CL_RESERVED3 = 16;
|
|
51
51
|
CL_RESERVED4 = 32;
|
package/public/sdk-apis.proto
CHANGED
|
@@ -16,6 +16,7 @@ import public "decentraland/kernel/apis/players.proto";
|
|
|
16
16
|
import public "decentraland/kernel/apis/portable_experiences.proto";
|
|
17
17
|
import public "decentraland/kernel/apis/restricted_actions.proto";
|
|
18
18
|
import public "decentraland/kernel/apis/runtime.proto";
|
|
19
|
+
import public "decentraland/kernel/apis/testing.proto";
|
|
19
20
|
import public "decentraland/kernel/apis/signed_fetch.proto";
|
|
20
21
|
import public "decentraland/kernel/apis/social_controller.proto";
|
|
21
22
|
import public "decentraland/kernel/apis/user_action_module.proto";
|