@dcl/protocol 1.0.0-22576259823.commit-260e173 → 1.0.0-22578236808.commit-b829b38
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/social_service/v2/social_service_v2.gen.d.ts +0 -3
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +2 -40
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +2 -44
- package/package.json +2 -2
- package/proto/decentraland/sdk/components/camera_layer.proto +1 -1
- package/proto/decentraland/social_service/v2/social_service_v2.proto +0 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Empty } from "../../../google/protobuf/empty.gen";
|
|
3
|
-
import { Color3 } from "../../common/colors.gen";
|
|
4
3
|
import { ConflictingError, ForbiddenError, InternalServerError, InvalidFriendshipAction, InvalidRequest, NotFoundError, ProfileNotFound } from "../errors.gen";
|
|
5
4
|
export declare const protobufPackage = "decentraland.social_service.v2";
|
|
6
5
|
export declare enum ConnectivityStatus {
|
|
@@ -65,7 +64,6 @@ export interface FriendProfile {
|
|
|
65
64
|
name: string;
|
|
66
65
|
hasClaimedName: boolean;
|
|
67
66
|
profilePictureUrl: string;
|
|
68
|
-
nameColor?: Color3 | undefined;
|
|
69
67
|
}
|
|
70
68
|
export interface BlockedUserProfile {
|
|
71
69
|
address: string;
|
|
@@ -73,7 +71,6 @@ export interface BlockedUserProfile {
|
|
|
73
71
|
hasClaimedName: boolean;
|
|
74
72
|
profilePictureUrl: string;
|
|
75
73
|
blockedAt?: number | undefined;
|
|
76
|
-
nameColor?: Color3 | undefined;
|
|
77
74
|
}
|
|
78
75
|
export interface Pagination {
|
|
79
76
|
limit: number;
|
|
@@ -22,7 +22,6 @@ exports.communityVoiceChatStatusToJSON = communityVoiceChatStatusToJSON;
|
|
|
22
22
|
const long_1 = __importDefault(require("long"));
|
|
23
23
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
24
24
|
const empty_gen_1 = require("../../../google/protobuf/empty.gen");
|
|
25
|
-
const colors_gen_1 = require("../../common/colors.gen");
|
|
26
25
|
const errors_gen_1 = require("../errors.gen");
|
|
27
26
|
exports.protobufPackage = "decentraland.social_service.v2";
|
|
28
27
|
var ConnectivityStatus;
|
|
@@ -334,7 +333,7 @@ var User;
|
|
|
334
333
|
User.fromPartial = fromPartial;
|
|
335
334
|
})(User || (exports.User = User = {}));
|
|
336
335
|
function createBaseFriendProfile() {
|
|
337
|
-
return { address: "", name: "", hasClaimedName: false, profilePictureUrl: ""
|
|
336
|
+
return { address: "", name: "", hasClaimedName: false, profilePictureUrl: "" };
|
|
338
337
|
}
|
|
339
338
|
var FriendProfile;
|
|
340
339
|
(function (FriendProfile) {
|
|
@@ -351,9 +350,6 @@ var FriendProfile;
|
|
|
351
350
|
if (message.profilePictureUrl !== "") {
|
|
352
351
|
writer.uint32(34).string(message.profilePictureUrl);
|
|
353
352
|
}
|
|
354
|
-
if (message.nameColor !== undefined) {
|
|
355
|
-
colors_gen_1.Color3.encode(message.nameColor, writer.uint32(42).fork()).ldelim();
|
|
356
|
-
}
|
|
357
353
|
return writer;
|
|
358
354
|
}
|
|
359
355
|
FriendProfile.encode = encode;
|
|
@@ -388,12 +384,6 @@ var FriendProfile;
|
|
|
388
384
|
}
|
|
389
385
|
message.profilePictureUrl = reader.string();
|
|
390
386
|
continue;
|
|
391
|
-
case 5:
|
|
392
|
-
if (tag !== 42) {
|
|
393
|
-
break;
|
|
394
|
-
}
|
|
395
|
-
message.nameColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
396
|
-
continue;
|
|
397
387
|
}
|
|
398
388
|
if ((tag & 7) === 4 || tag === 0) {
|
|
399
389
|
break;
|
|
@@ -409,7 +399,6 @@ var FriendProfile;
|
|
|
409
399
|
name: isSet(object.name) ? String(object.name) : "",
|
|
410
400
|
hasClaimedName: isSet(object.hasClaimedName) ? Boolean(object.hasClaimedName) : false,
|
|
411
401
|
profilePictureUrl: isSet(object.profilePictureUrl) ? String(object.profilePictureUrl) : "",
|
|
412
|
-
nameColor: isSet(object.nameColor) ? colors_gen_1.Color3.fromJSON(object.nameColor) : undefined,
|
|
413
402
|
};
|
|
414
403
|
}
|
|
415
404
|
FriendProfile.fromJSON = fromJSON;
|
|
@@ -419,8 +408,6 @@ var FriendProfile;
|
|
|
419
408
|
message.name !== undefined && (obj.name = message.name);
|
|
420
409
|
message.hasClaimedName !== undefined && (obj.hasClaimedName = message.hasClaimedName);
|
|
421
410
|
message.profilePictureUrl !== undefined && (obj.profilePictureUrl = message.profilePictureUrl);
|
|
422
|
-
message.nameColor !== undefined &&
|
|
423
|
-
(obj.nameColor = message.nameColor ? colors_gen_1.Color3.toJSON(message.nameColor) : undefined);
|
|
424
411
|
return obj;
|
|
425
412
|
}
|
|
426
413
|
FriendProfile.toJSON = toJSON;
|
|
@@ -435,22 +422,12 @@ var FriendProfile;
|
|
|
435
422
|
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
436
423
|
message.hasClaimedName = (_c = object.hasClaimedName) !== null && _c !== void 0 ? _c : false;
|
|
437
424
|
message.profilePictureUrl = (_d = object.profilePictureUrl) !== null && _d !== void 0 ? _d : "";
|
|
438
|
-
message.nameColor = (object.nameColor !== undefined && object.nameColor !== null)
|
|
439
|
-
? colors_gen_1.Color3.fromPartial(object.nameColor)
|
|
440
|
-
: undefined;
|
|
441
425
|
return message;
|
|
442
426
|
}
|
|
443
427
|
FriendProfile.fromPartial = fromPartial;
|
|
444
428
|
})(FriendProfile || (exports.FriendProfile = FriendProfile = {}));
|
|
445
429
|
function createBaseBlockedUserProfile() {
|
|
446
|
-
return {
|
|
447
|
-
address: "",
|
|
448
|
-
name: "",
|
|
449
|
-
hasClaimedName: false,
|
|
450
|
-
profilePictureUrl: "",
|
|
451
|
-
blockedAt: undefined,
|
|
452
|
-
nameColor: undefined,
|
|
453
|
-
};
|
|
430
|
+
return { address: "", name: "", hasClaimedName: false, profilePictureUrl: "", blockedAt: undefined };
|
|
454
431
|
}
|
|
455
432
|
var BlockedUserProfile;
|
|
456
433
|
(function (BlockedUserProfile) {
|
|
@@ -470,9 +447,6 @@ var BlockedUserProfile;
|
|
|
470
447
|
if (message.blockedAt !== undefined) {
|
|
471
448
|
writer.uint32(40).int64(message.blockedAt);
|
|
472
449
|
}
|
|
473
|
-
if (message.nameColor !== undefined) {
|
|
474
|
-
colors_gen_1.Color3.encode(message.nameColor, writer.uint32(50).fork()).ldelim();
|
|
475
|
-
}
|
|
476
450
|
return writer;
|
|
477
451
|
}
|
|
478
452
|
BlockedUserProfile.encode = encode;
|
|
@@ -513,12 +487,6 @@ var BlockedUserProfile;
|
|
|
513
487
|
}
|
|
514
488
|
message.blockedAt = longToNumber(reader.int64());
|
|
515
489
|
continue;
|
|
516
|
-
case 6:
|
|
517
|
-
if (tag !== 50) {
|
|
518
|
-
break;
|
|
519
|
-
}
|
|
520
|
-
message.nameColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
521
|
-
continue;
|
|
522
490
|
}
|
|
523
491
|
if ((tag & 7) === 4 || tag === 0) {
|
|
524
492
|
break;
|
|
@@ -535,7 +503,6 @@ var BlockedUserProfile;
|
|
|
535
503
|
hasClaimedName: isSet(object.hasClaimedName) ? Boolean(object.hasClaimedName) : false,
|
|
536
504
|
profilePictureUrl: isSet(object.profilePictureUrl) ? String(object.profilePictureUrl) : "",
|
|
537
505
|
blockedAt: isSet(object.blockedAt) ? Number(object.blockedAt) : undefined,
|
|
538
|
-
nameColor: isSet(object.nameColor) ? colors_gen_1.Color3.fromJSON(object.nameColor) : undefined,
|
|
539
506
|
};
|
|
540
507
|
}
|
|
541
508
|
BlockedUserProfile.fromJSON = fromJSON;
|
|
@@ -546,8 +513,6 @@ var BlockedUserProfile;
|
|
|
546
513
|
message.hasClaimedName !== undefined && (obj.hasClaimedName = message.hasClaimedName);
|
|
547
514
|
message.profilePictureUrl !== undefined && (obj.profilePictureUrl = message.profilePictureUrl);
|
|
548
515
|
message.blockedAt !== undefined && (obj.blockedAt = Math.round(message.blockedAt));
|
|
549
|
-
message.nameColor !== undefined &&
|
|
550
|
-
(obj.nameColor = message.nameColor ? colors_gen_1.Color3.toJSON(message.nameColor) : undefined);
|
|
551
516
|
return obj;
|
|
552
517
|
}
|
|
553
518
|
BlockedUserProfile.toJSON = toJSON;
|
|
@@ -563,9 +528,6 @@ var BlockedUserProfile;
|
|
|
563
528
|
message.hasClaimedName = (_c = object.hasClaimedName) !== null && _c !== void 0 ? _c : false;
|
|
564
529
|
message.profilePictureUrl = (_d = object.profilePictureUrl) !== null && _d !== void 0 ? _d : "";
|
|
565
530
|
message.blockedAt = (_e = object.blockedAt) !== null && _e !== void 0 ? _e : undefined;
|
|
566
|
-
message.nameColor = (object.nameColor !== undefined && object.nameColor !== null)
|
|
567
|
-
? colors_gen_1.Color3.fromPartial(object.nameColor)
|
|
568
|
-
: undefined;
|
|
569
531
|
return message;
|
|
570
532
|
}
|
|
571
533
|
BlockedUserProfile.fromPartial = fromPartial;
|