theragist-ts 1.0.88 → 1.0.90
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/dist/home/message.d.ts +1 -0
- package/dist/home/message.js +17 -1
- package/dist/post/message.d.ts +2 -0
- package/dist/post/message.js +34 -3
- package/dist/search/message.d.ts +1 -0
- package/dist/search/message.js +17 -1
- package/dist/session/message.d.ts +1 -0
- package/dist/session/message.js +19 -1
- package/package.json +1 -1
package/dist/home/message.d.ts
CHANGED
package/dist/home/message.js
CHANGED
|
@@ -805,6 +805,7 @@ function createBaseCommunityPost() {
|
|
|
805
805
|
commentCount: 0,
|
|
806
806
|
createdAt: "",
|
|
807
807
|
authorUsername: "",
|
|
808
|
+
deepLink: "",
|
|
808
809
|
};
|
|
809
810
|
}
|
|
810
811
|
exports.CommunityPost = {
|
|
@@ -845,6 +846,9 @@ exports.CommunityPost = {
|
|
|
845
846
|
if (message.authorUsername !== "") {
|
|
846
847
|
writer.uint32(98).string(message.authorUsername);
|
|
847
848
|
}
|
|
849
|
+
if (message.deepLink !== "") {
|
|
850
|
+
writer.uint32(106).string(message.deepLink);
|
|
851
|
+
}
|
|
848
852
|
return writer;
|
|
849
853
|
},
|
|
850
854
|
decode(input, length) {
|
|
@@ -938,6 +942,13 @@ exports.CommunityPost = {
|
|
|
938
942
|
message.authorUsername = reader.string();
|
|
939
943
|
continue;
|
|
940
944
|
}
|
|
945
|
+
case 13: {
|
|
946
|
+
if (tag !== 106) {
|
|
947
|
+
break;
|
|
948
|
+
}
|
|
949
|
+
message.deepLink = reader.string();
|
|
950
|
+
continue;
|
|
951
|
+
}
|
|
941
952
|
}
|
|
942
953
|
if ((tag & 7) === 4 || tag === 0) {
|
|
943
954
|
break;
|
|
@@ -960,6 +971,7 @@ exports.CommunityPost = {
|
|
|
960
971
|
commentCount: isSet(object.commentCount) ? globalThis.Number(object.commentCount) : 0,
|
|
961
972
|
createdAt: isSet(object.createdAt) ? globalThis.String(object.createdAt) : "",
|
|
962
973
|
authorUsername: isSet(object.authorUsername) ? globalThis.String(object.authorUsername) : "",
|
|
974
|
+
deepLink: isSet(object.deepLink) ? globalThis.String(object.deepLink) : "",
|
|
963
975
|
};
|
|
964
976
|
},
|
|
965
977
|
toJSON(message) {
|
|
@@ -1000,13 +1012,16 @@ exports.CommunityPost = {
|
|
|
1000
1012
|
if (message.authorUsername !== "") {
|
|
1001
1013
|
obj.authorUsername = message.authorUsername;
|
|
1002
1014
|
}
|
|
1015
|
+
if (message.deepLink !== "") {
|
|
1016
|
+
obj.deepLink = message.deepLink;
|
|
1017
|
+
}
|
|
1003
1018
|
return obj;
|
|
1004
1019
|
},
|
|
1005
1020
|
create(base) {
|
|
1006
1021
|
return exports.CommunityPost.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1007
1022
|
},
|
|
1008
1023
|
fromPartial(object) {
|
|
1009
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1024
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1010
1025
|
const message = createBaseCommunityPost();
|
|
1011
1026
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
1012
1027
|
message.communityId = (_b = object.communityId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -1020,6 +1035,7 @@ exports.CommunityPost = {
|
|
|
1020
1035
|
message.commentCount = (_k = object.commentCount) !== null && _k !== void 0 ? _k : 0;
|
|
1021
1036
|
message.createdAt = (_l = object.createdAt) !== null && _l !== void 0 ? _l : "";
|
|
1022
1037
|
message.authorUsername = (_m = object.authorUsername) !== null && _m !== void 0 ? _m : "";
|
|
1038
|
+
message.deepLink = (_o = object.deepLink) !== null && _o !== void 0 ? _o : "";
|
|
1023
1039
|
return message;
|
|
1024
1040
|
},
|
|
1025
1041
|
};
|
package/dist/post/message.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export interface Post {
|
|
|
41
41
|
reactionCounts: ReactionCounts | undefined;
|
|
42
42
|
myReactions: PostReactionType_Value[];
|
|
43
43
|
myReactionState: MyReactionState | undefined;
|
|
44
|
+
deepLink: string;
|
|
44
45
|
}
|
|
45
46
|
export interface MentionedUser {
|
|
46
47
|
userId: string;
|
|
@@ -155,6 +156,7 @@ export interface SharePostRequest {
|
|
|
155
156
|
export interface SharePostResponse {
|
|
156
157
|
postId: string;
|
|
157
158
|
shareCount: number;
|
|
159
|
+
deepLink: string;
|
|
158
160
|
}
|
|
159
161
|
export interface ListCommentsRequest {
|
|
160
162
|
postId: string;
|
package/dist/post/message.js
CHANGED
|
@@ -331,6 +331,7 @@ function createBasePost() {
|
|
|
331
331
|
reactionCounts: undefined,
|
|
332
332
|
myReactions: [],
|
|
333
333
|
myReactionState: undefined,
|
|
334
|
+
deepLink: "",
|
|
334
335
|
};
|
|
335
336
|
}
|
|
336
337
|
exports.Post = {
|
|
@@ -397,6 +398,9 @@ exports.Post = {
|
|
|
397
398
|
if (message.myReactionState !== undefined) {
|
|
398
399
|
exports.MyReactionState.encode(message.myReactionState, writer.uint32(162).fork()).join();
|
|
399
400
|
}
|
|
401
|
+
if (message.deepLink !== "") {
|
|
402
|
+
writer.uint32(170).string(message.deepLink);
|
|
403
|
+
}
|
|
400
404
|
return writer;
|
|
401
405
|
},
|
|
402
406
|
decode(input, length) {
|
|
@@ -553,6 +557,13 @@ exports.Post = {
|
|
|
553
557
|
message.myReactionState = exports.MyReactionState.decode(reader, reader.uint32());
|
|
554
558
|
continue;
|
|
555
559
|
}
|
|
560
|
+
case 21: {
|
|
561
|
+
if (tag !== 170) {
|
|
562
|
+
break;
|
|
563
|
+
}
|
|
564
|
+
message.deepLink = reader.string();
|
|
565
|
+
continue;
|
|
566
|
+
}
|
|
556
567
|
}
|
|
557
568
|
if ((tag & 7) === 4 || tag === 0) {
|
|
558
569
|
break;
|
|
@@ -587,6 +598,7 @@ exports.Post = {
|
|
|
587
598
|
? object.myReactions.map((e) => (0, enum_1.postReactionType_ValueFromJSON)(e))
|
|
588
599
|
: [],
|
|
589
600
|
myReactionState: isSet(object.myReactionState) ? exports.MyReactionState.fromJSON(object.myReactionState) : undefined,
|
|
601
|
+
deepLink: isSet(object.deepLink) ? globalThis.String(object.deepLink) : "",
|
|
590
602
|
};
|
|
591
603
|
},
|
|
592
604
|
toJSON(message) {
|
|
@@ -652,13 +664,16 @@ exports.Post = {
|
|
|
652
664
|
if (message.myReactionState !== undefined) {
|
|
653
665
|
obj.myReactionState = exports.MyReactionState.toJSON(message.myReactionState);
|
|
654
666
|
}
|
|
667
|
+
if (message.deepLink !== "") {
|
|
668
|
+
obj.deepLink = message.deepLink;
|
|
669
|
+
}
|
|
655
670
|
return obj;
|
|
656
671
|
},
|
|
657
672
|
create(base) {
|
|
658
673
|
return exports.Post.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
659
674
|
},
|
|
660
675
|
fromPartial(object) {
|
|
661
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
676
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
662
677
|
const message = createBasePost();
|
|
663
678
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
664
679
|
message.communityId = (_b = object.communityId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -686,6 +701,7 @@ exports.Post = {
|
|
|
686
701
|
message.myReactionState = (object.myReactionState !== undefined && object.myReactionState !== null)
|
|
687
702
|
? exports.MyReactionState.fromPartial(object.myReactionState)
|
|
688
703
|
: undefined;
|
|
704
|
+
message.deepLink = (_t = object.deepLink) !== null && _t !== void 0 ? _t : "";
|
|
689
705
|
return message;
|
|
690
706
|
},
|
|
691
707
|
};
|
|
@@ -2582,7 +2598,7 @@ exports.SharePostRequest = {
|
|
|
2582
2598
|
},
|
|
2583
2599
|
};
|
|
2584
2600
|
function createBaseSharePostResponse() {
|
|
2585
|
-
return { postId: "", shareCount: 0 };
|
|
2601
|
+
return { postId: "", shareCount: 0, deepLink: "" };
|
|
2586
2602
|
}
|
|
2587
2603
|
exports.SharePostResponse = {
|
|
2588
2604
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -2592,6 +2608,9 @@ exports.SharePostResponse = {
|
|
|
2592
2608
|
if (message.shareCount !== 0) {
|
|
2593
2609
|
writer.uint32(16).int32(message.shareCount);
|
|
2594
2610
|
}
|
|
2611
|
+
if (message.deepLink !== "") {
|
|
2612
|
+
writer.uint32(26).string(message.deepLink);
|
|
2613
|
+
}
|
|
2595
2614
|
return writer;
|
|
2596
2615
|
},
|
|
2597
2616
|
decode(input, length) {
|
|
@@ -2615,6 +2634,13 @@ exports.SharePostResponse = {
|
|
|
2615
2634
|
message.shareCount = reader.int32();
|
|
2616
2635
|
continue;
|
|
2617
2636
|
}
|
|
2637
|
+
case 3: {
|
|
2638
|
+
if (tag !== 26) {
|
|
2639
|
+
break;
|
|
2640
|
+
}
|
|
2641
|
+
message.deepLink = reader.string();
|
|
2642
|
+
continue;
|
|
2643
|
+
}
|
|
2618
2644
|
}
|
|
2619
2645
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2620
2646
|
break;
|
|
@@ -2627,6 +2653,7 @@ exports.SharePostResponse = {
|
|
|
2627
2653
|
return {
|
|
2628
2654
|
postId: isSet(object.postId) ? globalThis.String(object.postId) : "",
|
|
2629
2655
|
shareCount: isSet(object.shareCount) ? globalThis.Number(object.shareCount) : 0,
|
|
2656
|
+
deepLink: isSet(object.deepLink) ? globalThis.String(object.deepLink) : "",
|
|
2630
2657
|
};
|
|
2631
2658
|
},
|
|
2632
2659
|
toJSON(message) {
|
|
@@ -2637,16 +2664,20 @@ exports.SharePostResponse = {
|
|
|
2637
2664
|
if (message.shareCount !== 0) {
|
|
2638
2665
|
obj.shareCount = Math.round(message.shareCount);
|
|
2639
2666
|
}
|
|
2667
|
+
if (message.deepLink !== "") {
|
|
2668
|
+
obj.deepLink = message.deepLink;
|
|
2669
|
+
}
|
|
2640
2670
|
return obj;
|
|
2641
2671
|
},
|
|
2642
2672
|
create(base) {
|
|
2643
2673
|
return exports.SharePostResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2644
2674
|
},
|
|
2645
2675
|
fromPartial(object) {
|
|
2646
|
-
var _a, _b;
|
|
2676
|
+
var _a, _b, _c;
|
|
2647
2677
|
const message = createBaseSharePostResponse();
|
|
2648
2678
|
message.postId = (_a = object.postId) !== null && _a !== void 0 ? _a : "";
|
|
2649
2679
|
message.shareCount = (_b = object.shareCount) !== null && _b !== void 0 ? _b : 0;
|
|
2680
|
+
message.deepLink = (_c = object.deepLink) !== null && _c !== void 0 ? _c : "";
|
|
2650
2681
|
return message;
|
|
2651
2682
|
},
|
|
2652
2683
|
};
|
package/dist/search/message.d.ts
CHANGED
package/dist/search/message.js
CHANGED
|
@@ -820,6 +820,7 @@ function createBaseGlobalSearchPostItem() {
|
|
|
820
820
|
commentCount: 0,
|
|
821
821
|
createdAt: "",
|
|
822
822
|
authorUsername: "",
|
|
823
|
+
deepLink: "",
|
|
823
824
|
};
|
|
824
825
|
}
|
|
825
826
|
exports.GlobalSearchPostItem = {
|
|
@@ -851,6 +852,9 @@ exports.GlobalSearchPostItem = {
|
|
|
851
852
|
if (message.authorUsername !== "") {
|
|
852
853
|
writer.uint32(74).string(message.authorUsername);
|
|
853
854
|
}
|
|
855
|
+
if (message.deepLink !== "") {
|
|
856
|
+
writer.uint32(82).string(message.deepLink);
|
|
857
|
+
}
|
|
854
858
|
return writer;
|
|
855
859
|
},
|
|
856
860
|
decode(input, length) {
|
|
@@ -923,6 +927,13 @@ exports.GlobalSearchPostItem = {
|
|
|
923
927
|
message.authorUsername = reader.string();
|
|
924
928
|
continue;
|
|
925
929
|
}
|
|
930
|
+
case 10: {
|
|
931
|
+
if (tag !== 82) {
|
|
932
|
+
break;
|
|
933
|
+
}
|
|
934
|
+
message.deepLink = reader.string();
|
|
935
|
+
continue;
|
|
936
|
+
}
|
|
926
937
|
}
|
|
927
938
|
if ((tag & 7) === 4 || tag === 0) {
|
|
928
939
|
break;
|
|
@@ -942,6 +953,7 @@ exports.GlobalSearchPostItem = {
|
|
|
942
953
|
commentCount: isSet(object.commentCount) ? globalThis.Number(object.commentCount) : 0,
|
|
943
954
|
createdAt: isSet(object.createdAt) ? globalThis.String(object.createdAt) : "",
|
|
944
955
|
authorUsername: isSet(object.authorUsername) ? globalThis.String(object.authorUsername) : "",
|
|
956
|
+
deepLink: isSet(object.deepLink) ? globalThis.String(object.deepLink) : "",
|
|
945
957
|
};
|
|
946
958
|
},
|
|
947
959
|
toJSON(message) {
|
|
@@ -973,13 +985,16 @@ exports.GlobalSearchPostItem = {
|
|
|
973
985
|
if (message.authorUsername !== "") {
|
|
974
986
|
obj.authorUsername = message.authorUsername;
|
|
975
987
|
}
|
|
988
|
+
if (message.deepLink !== "") {
|
|
989
|
+
obj.deepLink = message.deepLink;
|
|
990
|
+
}
|
|
976
991
|
return obj;
|
|
977
992
|
},
|
|
978
993
|
create(base) {
|
|
979
994
|
return exports.GlobalSearchPostItem.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
980
995
|
},
|
|
981
996
|
fromPartial(object) {
|
|
982
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
997
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
983
998
|
const message = createBaseGlobalSearchPostItem();
|
|
984
999
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
985
1000
|
message.content = (_b = object.content) !== null && _b !== void 0 ? _b : "";
|
|
@@ -990,6 +1005,7 @@ exports.GlobalSearchPostItem = {
|
|
|
990
1005
|
message.commentCount = (_g = object.commentCount) !== null && _g !== void 0 ? _g : 0;
|
|
991
1006
|
message.createdAt = (_h = object.createdAt) !== null && _h !== void 0 ? _h : "";
|
|
992
1007
|
message.authorUsername = (_j = object.authorUsername) !== null && _j !== void 0 ? _j : "";
|
|
1008
|
+
message.deepLink = (_k = object.deepLink) !== null && _k !== void 0 ? _k : "";
|
|
993
1009
|
return message;
|
|
994
1010
|
},
|
|
995
1011
|
};
|
package/dist/session/message.js
CHANGED
|
@@ -1043,6 +1043,7 @@ function createBaseSessionItem() {
|
|
|
1043
1043
|
participantCount: 0,
|
|
1044
1044
|
intake: undefined,
|
|
1045
1045
|
clientUsername: "",
|
|
1046
|
+
allowUnscheduledSessionCall: false,
|
|
1046
1047
|
};
|
|
1047
1048
|
}
|
|
1048
1049
|
exports.SessionItem = {
|
|
@@ -1179,6 +1180,9 @@ exports.SessionItem = {
|
|
|
1179
1180
|
if (message.clientUsername !== "") {
|
|
1180
1181
|
writer.uint32(354).string(message.clientUsername);
|
|
1181
1182
|
}
|
|
1183
|
+
if (message.allowUnscheduledSessionCall !== false) {
|
|
1184
|
+
writer.uint32(360).bool(message.allowUnscheduledSessionCall);
|
|
1185
|
+
}
|
|
1182
1186
|
return writer;
|
|
1183
1187
|
},
|
|
1184
1188
|
decode(input, length) {
|
|
@@ -1496,6 +1500,13 @@ exports.SessionItem = {
|
|
|
1496
1500
|
message.clientUsername = reader.string();
|
|
1497
1501
|
continue;
|
|
1498
1502
|
}
|
|
1503
|
+
case 45: {
|
|
1504
|
+
if (tag !== 360) {
|
|
1505
|
+
break;
|
|
1506
|
+
}
|
|
1507
|
+
message.allowUnscheduledSessionCall = reader.bool();
|
|
1508
|
+
continue;
|
|
1509
|
+
}
|
|
1499
1510
|
}
|
|
1500
1511
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1501
1512
|
break;
|
|
@@ -1560,6 +1571,9 @@ exports.SessionItem = {
|
|
|
1560
1571
|
participantCount: isSet(object.participantCount) ? globalThis.Number(object.participantCount) : 0,
|
|
1561
1572
|
intake: isSet(object.intake) ? exports.SessionIntakeDetails.fromJSON(object.intake) : undefined,
|
|
1562
1573
|
clientUsername: isSet(object.clientUsername) ? globalThis.String(object.clientUsername) : "",
|
|
1574
|
+
allowUnscheduledSessionCall: isSet(object.allowUnscheduledSessionCall)
|
|
1575
|
+
? globalThis.Boolean(object.allowUnscheduledSessionCall)
|
|
1576
|
+
: false,
|
|
1563
1577
|
};
|
|
1564
1578
|
},
|
|
1565
1579
|
toJSON(message) {
|
|
@@ -1697,13 +1711,16 @@ exports.SessionItem = {
|
|
|
1697
1711
|
if (message.clientUsername !== "") {
|
|
1698
1712
|
obj.clientUsername = message.clientUsername;
|
|
1699
1713
|
}
|
|
1714
|
+
if (message.allowUnscheduledSessionCall !== false) {
|
|
1715
|
+
obj.allowUnscheduledSessionCall = message.allowUnscheduledSessionCall;
|
|
1716
|
+
}
|
|
1700
1717
|
return obj;
|
|
1701
1718
|
},
|
|
1702
1719
|
create(base) {
|
|
1703
1720
|
return exports.SessionItem.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1704
1721
|
},
|
|
1705
1722
|
fromPartial(object) {
|
|
1706
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18;
|
|
1723
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19;
|
|
1707
1724
|
const message = createBaseSessionItem();
|
|
1708
1725
|
message.sessionId = (_a = object.sessionId) !== null && _a !== void 0 ? _a : "";
|
|
1709
1726
|
message.clientId = (_b = object.clientId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -1751,6 +1768,7 @@ exports.SessionItem = {
|
|
|
1751
1768
|
? exports.SessionIntakeDetails.fromPartial(object.intake)
|
|
1752
1769
|
: undefined;
|
|
1753
1770
|
message.clientUsername = (_18 = object.clientUsername) !== null && _18 !== void 0 ? _18 : "";
|
|
1771
|
+
message.allowUnscheduledSessionCall = (_19 = object.allowUnscheduledSessionCall) !== null && _19 !== void 0 ? _19 : false;
|
|
1754
1772
|
return message;
|
|
1755
1773
|
},
|
|
1756
1774
|
};
|