@dcl/protocol 1.0.0-3874595169.commit-f6a7e18 → 1.0.0-3939040004.commit-2c2721f
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-ts/decentraland/bff/authentication_service.gen.ts +16 -0
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +12 -0
- package/out-ts/decentraland/bff/comms_service.gen.ts +8 -0
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +38 -0
- package/out-ts/decentraland/bff/topics_service.gen.ts +22 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +4 -0
- package/out-ts/decentraland/common/entity.gen.ts +4 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +12 -0
- package/out-ts/decentraland/common/vectors.gen.ts +12 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +8 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +8 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +132 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +74 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +50 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +32 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +16 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +24 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +40 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +48 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +336 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +20 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +12 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +8 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +16 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +32 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +40 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +54 -0
- package/out-ts/decentraland/renderer/common/friend_request_common.gen.ts +4 -0
- package/out-ts/decentraland/renderer/engine_interface.gen.ts +264 -0
- package/out-ts/decentraland/renderer/kernel_services/analytics.gen.ts +42 -0
- package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +8 -0
- package/out-ts/decentraland/renderer/kernel_services/friend_request_kernel.gen.ts +60 -0
- package/out-ts/decentraland/renderer/kernel_services/friends_kernel.gen.ts +191 -0
- package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +12 -0
- package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +12 -0
- package/out-ts/decentraland/renderer/renderer_services/friend_request_renderer.gen.ts +32 -0
- package/out-ts/decentraland/renderer/renderer_services/scene_controller.gen.ts +28 -0
- package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +4 -0
- package/out-ts/google/protobuf/empty.gen.ts +4 -0
- package/package.json +2 -2
- package/proto/decentraland/kernel/apis/environment_api.proto +2 -0
- package/proto/decentraland/kernel/apis/runtime.proto +29 -0
- package/proto/decentraland/renderer/kernel_services/friends_kernel.proto +22 -0
- package/public/renderer-interface.proto +2 -1
- package/public/sdk-apis.proto +1 -0
|
@@ -155,6 +155,10 @@ export const LoadSceneMessage = {
|
|
|
155
155
|
return obj;
|
|
156
156
|
},
|
|
157
157
|
|
|
158
|
+
create<I extends Exact<DeepPartial<LoadSceneMessage>, I>>(base?: I): LoadSceneMessage {
|
|
159
|
+
return LoadSceneMessage.fromPartial(base ?? {});
|
|
160
|
+
},
|
|
161
|
+
|
|
158
162
|
fromPartial<I extends Exact<DeepPartial<LoadSceneMessage>, I>>(object: I): LoadSceneMessage {
|
|
159
163
|
const message = createBaseLoadSceneMessage();
|
|
160
164
|
message.entity = (object.entity !== undefined && object.entity !== null)
|
|
@@ -211,6 +215,10 @@ export const LoadSceneResult = {
|
|
|
211
215
|
return obj;
|
|
212
216
|
},
|
|
213
217
|
|
|
218
|
+
create<I extends Exact<DeepPartial<LoadSceneResult>, I>>(base?: I): LoadSceneResult {
|
|
219
|
+
return LoadSceneResult.fromPartial(base ?? {});
|
|
220
|
+
},
|
|
221
|
+
|
|
214
222
|
fromPartial<I extends Exact<DeepPartial<LoadSceneResult>, I>>(object: I): LoadSceneResult {
|
|
215
223
|
const message = createBaseLoadSceneResult();
|
|
216
224
|
message.success = object.success ?? false;
|
|
@@ -251,6 +259,10 @@ export const GetCurrentStateMessage = {
|
|
|
251
259
|
return obj;
|
|
252
260
|
},
|
|
253
261
|
|
|
262
|
+
create<I extends Exact<DeepPartial<GetCurrentStateMessage>, I>>(base?: I): GetCurrentStateMessage {
|
|
263
|
+
return GetCurrentStateMessage.fromPartial(base ?? {});
|
|
264
|
+
},
|
|
265
|
+
|
|
254
266
|
fromPartial<I extends Exact<DeepPartial<GetCurrentStateMessage>, I>>(_: I): GetCurrentStateMessage {
|
|
255
267
|
const message = createBaseGetCurrentStateMessage();
|
|
256
268
|
return message;
|
|
@@ -290,6 +302,10 @@ export const UnloadSceneMessage = {
|
|
|
290
302
|
return obj;
|
|
291
303
|
},
|
|
292
304
|
|
|
305
|
+
create<I extends Exact<DeepPartial<UnloadSceneMessage>, I>>(base?: I): UnloadSceneMessage {
|
|
306
|
+
return UnloadSceneMessage.fromPartial(base ?? {});
|
|
307
|
+
},
|
|
308
|
+
|
|
293
309
|
fromPartial<I extends Exact<DeepPartial<UnloadSceneMessage>, I>>(_: I): UnloadSceneMessage {
|
|
294
310
|
const message = createBaseUnloadSceneMessage();
|
|
295
311
|
return message;
|
|
@@ -329,6 +345,10 @@ export const UnloadSceneResult = {
|
|
|
329
345
|
return obj;
|
|
330
346
|
},
|
|
331
347
|
|
|
348
|
+
create<I extends Exact<DeepPartial<UnloadSceneResult>, I>>(base?: I): UnloadSceneResult {
|
|
349
|
+
return UnloadSceneResult.fromPartial(base ?? {});
|
|
350
|
+
},
|
|
351
|
+
|
|
332
352
|
fromPartial<I extends Exact<DeepPartial<UnloadSceneResult>, I>>(_: I): UnloadSceneResult {
|
|
333
353
|
const message = createBaseUnloadSceneResult();
|
|
334
354
|
return message;
|
|
@@ -376,6 +396,10 @@ export const CRDTSceneMessage = {
|
|
|
376
396
|
return obj;
|
|
377
397
|
},
|
|
378
398
|
|
|
399
|
+
create<I extends Exact<DeepPartial<CRDTSceneMessage>, I>>(base?: I): CRDTSceneMessage {
|
|
400
|
+
return CRDTSceneMessage.fromPartial(base ?? {});
|
|
401
|
+
},
|
|
402
|
+
|
|
379
403
|
fromPartial<I extends Exact<DeepPartial<CRDTSceneMessage>, I>>(object: I): CRDTSceneMessage {
|
|
380
404
|
const message = createBaseCRDTSceneMessage();
|
|
381
405
|
message.payload = object.payload ?? new Uint8Array();
|
|
@@ -434,6 +458,10 @@ export const CRDTSceneCurrentState = {
|
|
|
434
458
|
return obj;
|
|
435
459
|
},
|
|
436
460
|
|
|
461
|
+
create<I extends Exact<DeepPartial<CRDTSceneCurrentState>, I>>(base?: I): CRDTSceneCurrentState {
|
|
462
|
+
return CRDTSceneCurrentState.fromPartial(base ?? {});
|
|
463
|
+
},
|
|
464
|
+
|
|
437
465
|
fromPartial<I extends Exact<DeepPartial<CRDTSceneCurrentState>, I>>(object: I): CRDTSceneCurrentState {
|
|
438
466
|
const message = createBaseCRDTSceneCurrentState();
|
|
439
467
|
message.hasOwnEntities = object.hasOwnEntities ?? false;
|
|
@@ -48,6 +48,10 @@ export const Payload = {
|
|
|
48
48
|
return obj;
|
|
49
49
|
},
|
|
50
50
|
|
|
51
|
+
create<I extends Exact<DeepPartial<Payload>, I>>(base?: I): Payload {
|
|
52
|
+
return Payload.fromPartial(base ?? {});
|
|
53
|
+
},
|
|
54
|
+
|
|
51
55
|
fromPartial<I extends Exact<DeepPartial<Payload>, I>>(object: I): Payload {
|
|
52
56
|
const message = createBasePayload();
|
|
53
57
|
message.payload = object.payload ?? new Uint8Array();
|
|
@@ -48,6 +48,10 @@ export const Empty = {
|
|
|
48
48
|
return obj;
|
|
49
49
|
},
|
|
50
50
|
|
|
51
|
+
create<I extends Exact<DeepPartial<Empty>, I>>(base?: I): Empty {
|
|
52
|
+
return Empty.fromPartial(base ?? {});
|
|
53
|
+
},
|
|
54
|
+
|
|
51
55
|
fromPartial<I extends Exact<DeepPartial<Empty>, I>>(_: I): Empty {
|
|
52
56
|
const message = createBaseEmpty();
|
|
53
57
|
return message;
|
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-3939040004.commit-2c2721f",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"out-ts",
|
|
26
26
|
"public"
|
|
27
27
|
],
|
|
28
|
-
"commit": "
|
|
28
|
+
"commit": "2c2721f4d68da7be06b9a8064fd01a69ca0bf35b"
|
|
29
29
|
}
|
|
@@ -63,7 +63,9 @@ service EnvironmentApiService {
|
|
|
63
63
|
rpc IsPreviewMode(IsPreviewModeRequest) returns (PreviewModeResponse) {}
|
|
64
64
|
rpc GetPlatform(GetPlatformRequest) returns (GetPlatformResponse) {}
|
|
65
65
|
rpc AreUnsafeRequestAllowed(AreUnsafeRequestAllowedRequest) returns (AreUnsafeRequestAllowedResponse) {}
|
|
66
|
+
// @deprecated, use GetCurrentRealm from runtime_api instead
|
|
66
67
|
rpc GetCurrentRealm(GetCurrentRealmRequest) returns (GetCurrentRealmResponse) {}
|
|
67
68
|
rpc GetExplorerConfiguration(GetExplorerConfigurationRequest) returns (GetExplorerConfigurationResponse) {}
|
|
69
|
+
// @deprecated, use GetTime from runtime_api instead
|
|
68
70
|
rpc GetDecentralandTime(GetDecentralandTimeRequest) returns (GetDecentralandTimeResponse) {}
|
|
69
71
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.kernel.apis;
|
|
3
|
+
|
|
4
|
+
// This API will contain all the information related to the world runtime.
|
|
5
|
+
// Things related to the user, players or the scene itself has they own api, and
|
|
6
|
+
// won't live here. (UserIdentity, Players, ParcelIdentity)
|
|
7
|
+
|
|
8
|
+
message RealmInfo {
|
|
9
|
+
string base_url = 1;
|
|
10
|
+
string realm_name = 2;
|
|
11
|
+
int32 network_id = 3;
|
|
12
|
+
string comms_adapter = 4;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message GetRealmResponse {
|
|
16
|
+
optional RealmInfo realm_info = 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message GetWorldTimeResponse {
|
|
20
|
+
int32 seconds = 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message GetRealmRequest {}
|
|
24
|
+
message GetWorldTimeRequest {}
|
|
25
|
+
|
|
26
|
+
service RuntimeService {
|
|
27
|
+
rpc GetRealm(GetRealmRequest) returns (GetRealmResponse) {}
|
|
28
|
+
rpc GetWorldTime(GetWorldTimeRequest) returns (GetWorldTimeResponse) {}
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.renderer.kernel_services;
|
|
4
|
+
|
|
5
|
+
enum FriendshipStatus {
|
|
6
|
+
NONE = 0;
|
|
7
|
+
APPROVED = 1;
|
|
8
|
+
REQUESTED_FROM = 2;
|
|
9
|
+
REQUESTED_TO = 3;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message GetFriendshipStatusResponse {
|
|
13
|
+
FriendshipStatus status = 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message GetFriendshipStatusRequest {
|
|
17
|
+
string user_id = 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
service FriendsKernelService {
|
|
21
|
+
rpc GetFriendshipStatus(GetFriendshipStatusRequest) returns (GetFriendshipStatusResponse) {}
|
|
22
|
+
}
|
|
@@ -8,4 +8,5 @@ import public "decentraland/renderer/renderer_services/scene_controller.proto";
|
|
|
8
8
|
import public "decentraland/renderer/renderer_services/friend_request_renderer.proto";
|
|
9
9
|
import public "decentraland/renderer/kernel_services/emotes_kernel.proto";
|
|
10
10
|
import public "decentraland/renderer/kernel_services/analytics.proto";
|
|
11
|
-
import public "decentraland/renderer/kernel_services/friend_request_kernel.proto";
|
|
11
|
+
import public "decentraland/renderer/kernel_services/friend_request_kernel.proto";
|
|
12
|
+
import public "decentraland/renderer/kernel_services/friends_kernel.proto";
|
package/public/sdk-apis.proto
CHANGED
|
@@ -15,6 +15,7 @@ import public "decentraland/kernel/apis/permissions.proto";
|
|
|
15
15
|
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
|
+
import public "decentraland/kernel/apis/runtime.proto";
|
|
18
19
|
import public "decentraland/kernel/apis/signed_fetch.proto";
|
|
19
20
|
import public "decentraland/kernel/apis/social_controller.proto";
|
|
20
21
|
import public "decentraland/kernel/apis/user_action_module.proto";
|