@dcl/protocol 1.0.0-4543854409.commit-89f5875 → 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/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-ts/decentraland/kernel/apis/testing.gen.ts +746 -0
- package/package.json +2 -2
- package/proto/decentraland/kernel/apis/testing.proto +55 -0
- package/public/sdk-apis.proto +1 -0
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
|
+
|
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";
|