@nadohq/mobile-client 0.65.0 → 0.66.0
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/README.md +107 -8
- package/dist/{MobileClient-CfVZXTcz.cjs → MobileClient-M4oC4lrX.cjs} +258 -16
- package/dist/MobileClient-M4oC4lrX.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +146 -16
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +146 -16
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +258 -16
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-BZVwlsMg.d.ts → MobileServerFailureError-C9iqNsxI.d.ts} +2 -3
- package/dist/MobileServerFailureError-C9iqNsxI.d.ts.map +1 -0
- package/dist/{MobileServerFailureError-CbtK8kD4.d.cts → MobileServerFailureError-MtS2reel.d.cts} +2 -3
- package/dist/MobileServerFailureError-MtS2reel.d.cts.map +1 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts +15 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.cts.map +1 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts +15 -0
- package/dist/MobileUnsupportedNotificationRouteError-DpiNBvvY.d.ts.map +1 -0
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts → buildSignedMobileRequest-BR-KJhIF.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-UeeWdYGU.d.ts.map → buildSignedMobileRequest-BR-KJhIF.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts → buildSignedMobileRequest-DyKCK34Y.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-C1v0flCR.d.cts.map → buildSignedMobileRequest-DyKCK34Y.d.cts.map} +1 -1
- package/dist/{canonicalize-5eeZrkzQ.d.ts → canonicalize-Bv6UIAbR.d.ts} +2 -2
- package/dist/canonicalize-Bv6UIAbR.d.ts.map +1 -0
- package/dist/{canonicalize-CBaZprTo.d.cts → canonicalize-CWh3XZzj.d.cts} +2 -2
- package/dist/canonicalize-CWh3XZzj.d.cts.map +1 -0
- package/dist/{clientTypes-C9dJufxk.d.ts → clientTypes-BUn5_OzK.d.ts} +297 -20
- package/dist/clientTypes-BUn5_OzK.d.ts.map +1 -0
- package/dist/{clientTypes-_mEgzmNs.d.cts → clientTypes-DOpUcu80.d.cts} +297 -20
- package/dist/clientTypes-DOpUcu80.d.cts.map +1 -0
- package/dist/dataMappers.cjs +203 -5
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +70 -7
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +70 -7
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +192 -6
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-D8jLoxDu.d.cts → eip712MethodByType-CJ6BoayT.d.cts} +2 -2
- package/dist/eip712MethodByType-CJ6BoayT.d.cts.map +1 -0
- package/dist/{eip712MethodByType-DcUh8h-l.d.ts → eip712MethodByType-Dx4mvgni.d.ts} +2 -2
- package/dist/eip712MethodByType-Dx4mvgni.d.ts.map +1 -0
- package/dist/{feed-DTJlsg8W.d.ts → feed-DErOLaoY.d.cts} +4 -2
- package/dist/feed-DErOLaoY.d.cts.map +1 -0
- package/dist/{feed-DTJlsg8W.d.cts → feed-DErOLaoY.d.ts} +4 -2
- package/dist/feed-DErOLaoY.d.ts.map +1 -0
- package/dist/index.cjs +7 -2
- package/dist/index.d.cts +14 -16
- package/dist/index.d.ts +14 -16
- package/dist/index.js +4 -3
- package/dist/{mobileErrorCodes-CmjYEIYm.d.ts → mobileErrorCodes-vD6rbFuF.d.cts} +8 -3
- package/dist/mobileErrorCodes-vD6rbFuF.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-CmjYEIYm.d.cts → mobileErrorCodes-vD6rbFuF.d.ts} +8 -3
- package/dist/mobileErrorCodes-vD6rbFuF.d.ts.map +1 -0
- package/dist/{payloadHash-DhHmgRqL.d.cts → payloadHash-CdkF2Ocr.d.cts} +2 -2
- package/dist/payloadHash-CdkF2Ocr.d.cts.map +1 -0
- package/dist/{payloadHash-E1_8fpLW.d.ts → payloadHash-HD29K77M.d.ts} +2 -2
- package/dist/payloadHash-HD29K77M.d.ts.map +1 -0
- package/dist/{serverExecuteTypes-B-OJok19.d.cts → serverExecuteTypes-5JyyIXRK.d.ts} +21 -5
- package/dist/serverExecuteTypes-5JyyIXRK.d.ts.map +1 -0
- package/dist/{serverExecuteTypes-BwWGspOg.d.ts → serverExecuteTypes-CHrQ9Rtq.d.cts} +21 -5
- package/dist/serverExecuteTypes-CHrQ9Rtq.d.cts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.ts → serverModelTypes-CGUZCi0y.d.cts} +163 -8
- package/dist/serverModelTypes-CGUZCi0y.d.cts.map +1 -0
- package/dist/{serverModelTypes-CiA-dy1R.d.cts → serverModelTypes-CGUZCi0y.d.ts} +163 -8
- package/dist/serverModelTypes-CGUZCi0y.d.ts.map +1 -0
- package/dist/{serverResponseGuards-CShiXpHT.d.ts → serverResponseGuards-Bvw8ltYJ.d.ts} +2 -2
- package/dist/{serverResponseGuards-CShiXpHT.d.ts.map → serverResponseGuards-Bvw8ltYJ.d.ts.map} +1 -1
- package/dist/{serverResponseGuards-BW69PS7O.d.cts → serverResponseGuards-i1njcYKN.d.cts} +2 -2
- package/dist/{serverResponseGuards-BW69PS7O.d.cts.map → serverResponseGuards-i1njcYKN.d.cts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
- package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
- package/dist/signing/canonicalize.cjs +51 -2
- package/dist/signing/canonicalize.cjs.map +1 -1
- package/dist/signing/canonicalize.d.cts +1 -1
- package/dist/signing/canonicalize.d.ts +1 -1
- package/dist/signing/canonicalize.js +51 -2
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +7 -0
- package/dist/signing/eip712MethodByType.cjs.map +1 -1
- package/dist/signing/eip712MethodByType.d.cts +1 -1
- package/dist/signing/eip712MethodByType.d.ts +1 -1
- package/dist/signing/eip712MethodByType.js +7 -0
- package/dist/signing/eip712MethodByType.js.map +1 -1
- package/dist/signing/index.d.cts +5 -5
- package/dist/signing/index.d.ts +5 -5
- package/dist/signing/payloadHash.cjs +1 -1
- package/dist/signing/payloadHash.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +1 -1
- package/dist/signing/payloadHash.js +1 -1
- package/dist/signing/types.d.cts +1 -1
- package/dist/signing/types.d.ts +1 -1
- package/dist/types/MobileServerFailureError.d.cts +1 -1
- package/dist/types/MobileServerFailureError.d.ts +1 -1
- package/dist/types/MobileUnsupportedNotificationRouteError.cjs +19 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.cjs.map +1 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.d.cts +2 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.d.ts +2 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.js +18 -0
- package/dist/types/MobileUnsupportedNotificationRouteError.js.map +1 -0
- package/dist/types/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.cjs +4 -0
- package/dist/types/index.d.cts +8 -9
- package/dist/types/index.d.ts +8 -9
- package/dist/types/index.js +3 -2
- package/dist/types/mobileErrorCodes.cjs +11 -1
- package/dist/types/mobileErrorCodes.cjs.map +1 -1
- package/dist/types/mobileErrorCodes.d.cts +1 -1
- package/dist/types/mobileErrorCodes.d.ts +1 -1
- package/dist/types/mobileErrorCodes.js +11 -1
- package/dist/types/mobileErrorCodes.js.map +1 -1
- package/dist/types/serverBaseTypes.d.cts +1 -1
- package/dist/types/serverBaseTypes.d.ts +1 -1
- package/dist/types/serverExecuteTypes.d.cts +2 -2
- package/dist/types/serverExecuteTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.cjs +15 -0
- package/dist/types/serverModelTypes.cjs.map +1 -1
- package/dist/types/serverModelTypes.d.cts +2 -2
- package/dist/types/serverModelTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.js +14 -1
- package/dist/types/serverModelTypes.js.map +1 -1
- package/dist/types/serverQueryTypes.d.cts +2 -2
- package/dist/types/serverQueryTypes.d.ts +2 -2
- package/dist/types/serverRequestTypes.d.cts +2 -2
- package/dist/types/serverRequestTypes.d.ts +2 -2
- package/dist/types-C9YE4EIt.d.cts +794 -0
- package/dist/types-C9YE4EIt.d.cts.map +1 -0
- package/dist/types-Cwy1y_9x.d.ts +794 -0
- package/dist/types-Cwy1y_9x.d.ts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.cjs +31 -0
- package/dist/utils/buildMobileFeedImageMultipart.cjs.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.cts +15 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.cts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.ts +15 -0
- package/dist/utils/buildMobileFeedImageMultipart.d.ts.map +1 -0
- package/dist/utils/buildMobileFeedImageMultipart.js +30 -0
- package/dist/utils/buildMobileFeedImageMultipart.js.map +1 -0
- package/dist/utils/feed.cjs +3 -0
- package/dist/utils/feed.cjs.map +1 -1
- package/dist/utils/feed.d.cts +2 -2
- package/dist/utils/feed.d.ts +2 -2
- package/dist/utils/feed.js +3 -1
- package/dist/utils/feed.js.map +1 -1
- package/dist/utils/index.cjs +2 -1
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -2
- package/dist/utils/serverResponseGuards.d.cts +1 -1
- package/dist/utils/serverResponseGuards.d.ts +1 -1
- package/package.json +3 -3
- package/src/MobileClient.ts +388 -11
- package/src/dataMappers.test.ts +108 -2
- package/src/dataMappers.ts +253 -5
- package/src/feedImages.test.ts +309 -0
- package/src/notifications.test.ts +950 -0
- package/src/signing/canonicalize.ts +66 -0
- package/src/signing/eip712MethodByType.ts +10 -0
- package/src/signing/signing.test.ts +16 -1
- package/src/signing/types.ts +51 -9
- package/src/socialFeed.test.ts +38 -2
- package/src/types/MobileUnsupportedNotificationRouteError.ts +16 -0
- package/src/types/clientTypes.ts +372 -16
- package/src/types/index.ts +1 -0
- package/src/types/mobileErrorCodes.ts +10 -0
- package/src/types/serverExecuteTypes.ts +20 -0
- package/src/types/serverModelTypes.ts +205 -6
- package/src/types/serverQueryTypes.ts +74 -5
- package/src/types/serverRequestTypes.ts +101 -12
- package/src/utils/buildMobileFeedImageMultipart.test.ts +45 -0
- package/src/utils/buildMobileFeedImageMultipart.ts +36 -0
- package/src/utils/feed.ts +3 -0
- package/dist/MobileClient-CfVZXTcz.cjs.map +0 -1
- package/dist/MobileServerFailureError-BZVwlsMg.d.ts.map +0 -1
- package/dist/MobileServerFailureError-CbtK8kD4.d.cts.map +0 -1
- package/dist/canonicalize-5eeZrkzQ.d.ts.map +0 -1
- package/dist/canonicalize-CBaZprTo.d.cts.map +0 -1
- package/dist/clientTypes-C9dJufxk.d.ts.map +0 -1
- package/dist/clientTypes-_mEgzmNs.d.cts.map +0 -1
- package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +0 -1
- package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +0 -1
- package/dist/feed-DTJlsg8W.d.cts.map +0 -1
- package/dist/feed-DTJlsg8W.d.ts.map +0 -1
- package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +0 -1
- package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +0 -1
- package/dist/payloadHash-DhHmgRqL.d.cts.map +0 -1
- package/dist/payloadHash-E1_8fpLW.d.ts.map +0 -1
- package/dist/serverBaseTypes-B5J1_TyC.d.cts +0 -25
- package/dist/serverBaseTypes-B5J1_TyC.d.cts.map +0 -1
- package/dist/serverBaseTypes-DnLzsdm-.d.ts +0 -25
- package/dist/serverBaseTypes-DnLzsdm-.d.ts.map +0 -1
- package/dist/serverExecuteTypes-B-OJok19.d.cts.map +0 -1
- package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +0 -1
- package/dist/serverModelTypes-CiA-dy1R.d.cts.map +0 -1
- package/dist/serverModelTypes-CiA-dy1R.d.ts.map +0 -1
- package/dist/serverQueryTypes-CJcjLB7n.d.ts +0 -283
- package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +0 -1
- package/dist/serverQueryTypes-V1f9yE7L.d.cts +0 -283
- package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +0 -1
- package/dist/serverRequestTypes-CRlkNSu5.d.cts +0 -270
- package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +0 -1
- package/dist/serverRequestTypes-DZoOhV2o.d.ts +0 -270
- package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +0 -1
- package/dist/types-BiRmH5Iv.d.cts +0 -108
- package/dist/types-BiRmH5Iv.d.cts.map +0 -1
- package/dist/types-DoJuq0Ij.d.ts +0 -108
- package/dist/types-DoJuq0Ij.d.ts.map +0 -1
package/dist/dataMappers.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { C as MobileServerSocialFeedWatchersResponse, S as MobileServerSocialFeedUpdatesResponse, _ as MobileServerSocialFeedPositionResolutionResponse, b as MobileServerSocialFeedResponse, d as MobileServerSocialFeedActionResolutionResponse, f as MobileServerSocialFeedCommentsResponse, g as MobileServerSocialFeedPositionHistoryResponse, h as MobileServerSocialFeedPositionChartResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedItemResponse, n as MobileServerFeedResponse, p as MobileServerSocialFeedDrawingResponse, r as MobileServerFollowListResponse, u as MobileServerSearchProfilesResponse, v as MobileServerSocialFeedPositionsResponse, x as MobileServerSocialFeedTopTradersResponse, y as MobileServerSocialFeedRankedResponse } from "./serverQueryTypes-V1f9yE7L.cjs";
|
|
1
|
+
import { $ as MobileServerSocialFeedInteraction, A as MobileServerNotificationPreferences, F as MobileServerSocialFeedActionCandidate, G as MobileServerSocialFeedContentBase, I as MobileServerSocialFeedActionMarker, J as MobileServerSocialFeedHistoryMetrics, K as MobileServerSocialFeedDrawing, L as MobileServerSocialFeedAuthor, M as MobileServerNotificationSettings, N as MobileServerProductEvent, Nt as MobileSocialFeedMention, O as MobileServerNotificationPayloadV2, P as MobileServerProfile, R as MobileServerSocialFeedCandle, W as MobileServerSocialFeedCompactCard, X as MobileServerSocialFeedHistoryTake, Z as MobileServerSocialFeedImage, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTraderBadge, at as MobileServerSocialFeedPositionAction, ct as MobileServerSocialFeedPositionPatch, dt as MobileServerSocialFeedReadSession, et as MobileServerSocialFeedItem, ft as MobileServerSocialFeedReply, gt as MobileServerSocialFeedTradeRowBase, ht as MobileServerSocialFeedTradeRow, it as MobileServerSocialFeedPnl, j as MobileServerNotificationRoute, lt as MobileServerSocialFeedPost, mt as MobileServerSocialFeedTradeCard, nt as MobileServerSocialFeedItemPatch, ot as MobileServerSocialFeedPositionCard, pt as MobileServerSocialFeedTimelineEntry, rt as MobileServerSocialFeedMarket, tt as MobileServerSocialFeedItemBase, ut as MobileServerSocialFeedPublishablePosition, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradingContext, yt as MobileServerSocialFeedTradingTarget } from "./serverModelTypes-CGUZCi0y.cjs";
|
|
2
|
+
import { $ as MobileNotificationPreferences, $t as MobileSocialFeedLikeResult, A as MobileAvatarSelection, An as MobileSocialFeedViewsResult, Bn as SearchMobileProfilesParams, Bt as MobileSocialFeedDrawingMutationResult, Cn as MobileSocialFeedTradeRow, Dn as MobileSocialFeedTradingTarget, Dt as MobileSocialFeedAuthor, En as MobileSocialFeedTradingContext, Et as MobileSocialFeedActionResolutionResult, Ft as MobileSocialFeedCommentResult, Gt as MobileSocialFeedHistoryTake, It as MobileSocialFeedCommentsPage, Jt as MobileSocialFeedInteraction, Kt as MobileSocialFeedImage, Lt as MobileSocialFeedCompactCard, On as MobileSocialFeedUpdates, Ot as MobileSocialFeedCandle, Qt as MobileSocialFeedItemResponse, Rt as MobileSocialFeedContentBase, Sn as MobileSocialFeedTradeCard, Tn as MobileSocialFeedTraderBadge, Tt as MobileSocialFeedActionMarker, U as MobileFollowListPage, Ut as MobileSocialFeedHistoryMetrics, V as MobileFollowBatchResultItem, Vt as MobileSocialFeedDrawingResult, W as MobileFollowMutationResult, X as MobileNotificationInboxV2, Xt as MobileSocialFeedItemBase, Yt as MobileSocialFeedItem, Z as MobileNotificationPayloadV2, Zt as MobileSocialFeedItemPatch, _n as MobileSocialFeedReadParams, an as MobileSocialFeedPositionAction, at as MobileNotificationSubscriptionsUpdate, bn as MobileSocialFeedTimelineEntry, c as GetMobileFollowListParams, cn as MobileSocialFeedPositionHistory, ct as MobileProfileSearchPage, dn as MobileSocialFeedPositionResolutionResult, en as MobileSocialFeedListParams, et as MobileNotificationRegistrationV2, fn as MobileSocialFeedPositionsPage, gn as MobileSocialFeedRankedPage, hn as MobileSocialFeedPublishablePosition, ht as MobileRegisteredWallet, in as MobileSocialFeedPnl, it as MobileNotificationSubscriptions, j as MobileAvatarUpload, jn as MobileSocialFeedWatchers, k as MobileAvatarPreset, lt as MobileProfilesInclude, mn as MobileSocialFeedPresence, nn as MobileSocialFeedMentionParams, nt as MobileNotificationSettings, on as MobileSocialFeedPositionCard, pn as MobileSocialFeedPost, q as MobileNotificationCapabilities, rn as MobileSocialFeedPage, rt as MobileNotificationSettingsV2, sn as MobileSocialFeedPositionChart, st as MobileProductEvent, tn as MobileSocialFeedMarket, tt as MobileNotificationRoute, un as MobileSocialFeedPositionPatch, ut as MobilePublicProfile, vn as MobileSocialFeedReadSession, wn as MobileSocialFeedTradeRowBase, wt as MobileSocialFeedActionCandidate, xn as MobileSocialFeedTopTradersPage, yn as MobileSocialFeedReply, z as MobileFeedPage, zt as MobileSocialFeedDrawing } from "./clientTypes-DOpUcu80.cjs";
|
|
3
|
+
import { A as MobileServerNotificationSubscriptionsResponse, B as MobileServerSocialFeedCommentsResponse, E as MobileServerNotificationInboxV2Response, F as MobileServerRegisteredWalletResponse, G as MobileServerSocialFeedPositionResolutionResponse, H as MobileServerSocialFeedItemResponse, I as MobileServerSearchProfilesResponse, J as MobileServerSocialFeedResponse, K as MobileServerSocialFeedPositionsResponse, O as MobileServerNotificationRegistrationV2Response, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedUpdatesResponse, Y as MobileServerSocialFeedTopTradersResponse, Z as MobileServerSocialFeedWatchersResponse, _ as MobileServerSearchProfilesRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, h as MobileServerRegisterExpoTokenV2Params, k as MobileServerNotificationSettingsV2Response, l as MobileServerProfilesInclude, q as MobileServerSocialFeedRankedResponse, s as MobileServerFollowListRequest, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, z as MobileServerSocialFeedActionResolutionResponse } from "./types-C9YE4EIt.cjs";
|
|
4
|
+
import { _ as MobileServerSocialFeedPresenceResponse, c as MobileServerFollowMutationResponse, f as MobileServerSocialFeedCommentResponse, h as MobileServerSocialFeedLikeResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, t as MobileServerAvatarUploadResponse, v as MobileServerSocialFeedViewsResponse } from "./serverExecuteTypes-CHrQ9Rtq.cjs";
|
|
6
5
|
|
|
7
6
|
//#region src/dataMappers.d.ts
|
|
8
7
|
/**
|
|
@@ -13,6 +12,64 @@ declare function mapMobileAvatarPreset(server: MobileServerAvatarPreset): Mobile
|
|
|
13
12
|
* Maps an upload grant, preserving the signed PUT headers and server-provided lifetime.
|
|
14
13
|
*/
|
|
15
14
|
declare function mapMobileAvatarUpload(server: MobileServerAvatarUploadResponse): MobileAvatarUpload;
|
|
15
|
+
/** Maps a saved notification registration to the client model without the response envelope.
|
|
16
|
+
* @param server - Registration payload.
|
|
17
|
+
* @returns Saved generation and capabilities.
|
|
18
|
+
*/
|
|
19
|
+
declare function mapMobileNotificationRegistrationV2(server: MobileServerNotificationRegistrationV2Response): MobileNotificationRegistrationV2;
|
|
20
|
+
/** Maps a v2 capability declaration to the registration wire format.
|
|
21
|
+
* @param capabilities - Device-supported features.
|
|
22
|
+
* @returns V2-only registration capabilities.
|
|
23
|
+
*/
|
|
24
|
+
declare function mapMobileNotificationCapabilitiesToServer(capabilities: MobileNotificationCapabilities): MobileServerRegisterExpoTokenV2Params['capabilities'];
|
|
25
|
+
/** Maps complete notification settings to the client model.
|
|
26
|
+
* @param server - Saved settings.
|
|
27
|
+
* @returns CamelCase settings.
|
|
28
|
+
*/
|
|
29
|
+
declare function mapMobileNotificationSettings(server: MobileServerNotificationSettings): MobileNotificationSettings;
|
|
30
|
+
/** Maps a complete replacement settings document to wire format.
|
|
31
|
+
* @param settings - Complete client settings.
|
|
32
|
+
* @returns Settings accepted by the service.
|
|
33
|
+
*/
|
|
34
|
+
declare function mapMobileNotificationSettingsToServer(settings: MobileNotificationSettings): MobileServerNotificationSettings;
|
|
35
|
+
/** Maps a revisioned settings response without the response envelope.
|
|
36
|
+
* @param server - Versioned settings payload.
|
|
37
|
+
* @returns Client settings and their revision.
|
|
38
|
+
*/
|
|
39
|
+
declare function mapMobileNotificationSettingsV2(server: MobileServerNotificationSettingsV2Response): MobileNotificationSettingsV2;
|
|
40
|
+
/** Maps wallet market subscriptions and Identity bells.
|
|
41
|
+
* @param server - Subscription payload.
|
|
42
|
+
* @returns Client subscription state without the response envelope.
|
|
43
|
+
*/
|
|
44
|
+
declare function mapMobileNotificationSubscriptions(server: MobileServerNotificationSubscriptionsResponse): MobileNotificationSubscriptions;
|
|
45
|
+
/** Maps one subscription operation, explicitly nulling unused wire operations.
|
|
46
|
+
* @param update - Exactly one revision-guarded operation.
|
|
47
|
+
* @returns The complete signed inner operation fields.
|
|
48
|
+
*/
|
|
49
|
+
declare function mapMobileNotificationSubscriptionsUpdateToServer(update: MobileNotificationSubscriptionsUpdate): MobileServerNotificationSubscriptionsUpdate;
|
|
50
|
+
/** Maps an allowlisted notification destination.
|
|
51
|
+
* @param server - Named backend destination.
|
|
52
|
+
* @returns Client navigation data, never an arbitrary URL.
|
|
53
|
+
* @throws {MobileUnsupportedNotificationRouteError} If the service returns an unsupported route name.
|
|
54
|
+
*/
|
|
55
|
+
declare function mapMobileNotificationRoute(server: MobileServerNotificationRoute): MobileNotificationRoute;
|
|
56
|
+
/** Maps v2 push or inbox navigation data.
|
|
57
|
+
* @param server - Wire-format notification payload.
|
|
58
|
+
* @returns Client notification data.
|
|
59
|
+
* @throws {MobileUnsupportedNotificationRouteError} If the service returns an unsupported route name.
|
|
60
|
+
*/
|
|
61
|
+
declare function mapMobileNotificationPayloadV2(server: MobileServerNotificationPayloadV2): MobileNotificationPayloadV2;
|
|
62
|
+
/** Maps a private notification page without the response envelope.
|
|
63
|
+
* @param server - Newest-first inbox payload.
|
|
64
|
+
* @returns Client items, attribution flags, and the next cursor.
|
|
65
|
+
* @throws {MobileUnsupportedNotificationRouteError} If a notification has an unsupported route name.
|
|
66
|
+
*/
|
|
67
|
+
declare function mapMobileNotificationInboxV2(server: MobileServerNotificationInboxV2Response): MobileNotificationInboxV2;
|
|
68
|
+
/** Maps a typed analytics interaction, nulling unused wire fields.
|
|
69
|
+
* @param event - Event-specific client data.
|
|
70
|
+
* @returns Complete signed wire event.
|
|
71
|
+
*/
|
|
72
|
+
declare function mapMobileProductEventToServer(event: MobileProductEvent): MobileServerProductEvent;
|
|
16
73
|
/**
|
|
17
74
|
* Maps a client-side avatar selection to the signed wire payload; null clears the saved avatar.
|
|
18
75
|
*/
|
|
@@ -112,6 +169,12 @@ declare function mapMobileSocialFeedPositionCard(server: MobileServerSocialFeedP
|
|
|
112
169
|
* @returns The mapped feed interaction.
|
|
113
170
|
*/
|
|
114
171
|
declare function mapMobileSocialFeedInteraction(server: MobileServerSocialFeedInteraction): MobileSocialFeedInteraction;
|
|
172
|
+
/**
|
|
173
|
+
* Maps uploaded image metadata; bytes remain behind a protected GET.
|
|
174
|
+
* @param server - The service response.
|
|
175
|
+
* @returns The mapped feed image.
|
|
176
|
+
*/
|
|
177
|
+
declare function mapMobileSocialFeedImage(server: MobileServerSocialFeedImage): MobileSocialFeedImage;
|
|
115
178
|
/**
|
|
116
179
|
* Maps common item metadata and server capabilities.
|
|
117
180
|
* @param server - The service response.
|
|
@@ -150,7 +213,7 @@ declare function mapMobileSocialFeedTradeRow(server: MobileServerSocialFeedTrade
|
|
|
150
213
|
*/
|
|
151
214
|
declare function mapMobileSocialFeedItem(server: MobileServerSocialFeedItem): MobileSocialFeedItem;
|
|
152
215
|
/**
|
|
153
|
-
* Maps a
|
|
216
|
+
* Maps a reading session and its current idle expiration, preserving opaque credentials and cursors.
|
|
154
217
|
* @param server - The service response.
|
|
155
218
|
* @returns The mapped feed read session.
|
|
156
219
|
*/
|
|
@@ -380,5 +443,5 @@ declare function mapMobileSocialFeedWatchers(server: MobileServerSocialFeedWatch
|
|
|
380
443
|
*/
|
|
381
444
|
declare function mapMobileSocialFeedPresence(server: MobileServerSocialFeedPresenceResponse): MobileSocialFeedPresence;
|
|
382
445
|
//#endregion
|
|
383
|
-
export { mapMobileAvatarPreset, mapMobileAvatarSelectionToServer, mapMobileAvatarUpload, mapMobileFeedPage, mapMobileFollowBatchResult, mapMobileFollowListPage, mapMobileFollowListParamsToServer, mapMobileFollowMutationResult, mapMobileNotificationPreferences, mapMobileNotificationPreferencesToServer, mapMobileProfileSearchPage, mapMobileProfileSearchParamsToServer, mapMobileProfilesIncludeToServer, mapMobilePublicProfile, mapMobileRegisteredWallet, mapMobileSocialFeedActionCandidate, mapMobileSocialFeedActionMarker, mapMobileSocialFeedActionResolutionResult, mapMobileSocialFeedAuthor, mapMobileSocialFeedCandle, mapMobileSocialFeedCommentResult, mapMobileSocialFeedCommentsPage, mapMobileSocialFeedCompactCard, mapMobileSocialFeedContentBase, mapMobileSocialFeedDrawing, mapMobileSocialFeedDrawingMutationResult, mapMobileSocialFeedDrawingResult, mapMobileSocialFeedHistoryMetrics, mapMobileSocialFeedHistoryTake, mapMobileSocialFeedInteraction, mapMobileSocialFeedItem, mapMobileSocialFeedItemBase, mapMobileSocialFeedItemPatch, mapMobileSocialFeedItemResponse, mapMobileSocialFeedLikeResult, mapMobileSocialFeedListParamsToServer, mapMobileSocialFeedMarket, mapMobileSocialFeedMentionToServer, mapMobileSocialFeedPage, mapMobileSocialFeedPnl, mapMobileSocialFeedPositionAction, mapMobileSocialFeedPositionCard, mapMobileSocialFeedPositionChart, mapMobileSocialFeedPositionHistory, mapMobileSocialFeedPositionPatch, mapMobileSocialFeedPositionResolutionResult, mapMobileSocialFeedPositionsPage, mapMobileSocialFeedPost, mapMobileSocialFeedPresence, mapMobileSocialFeedPublishablePosition, mapMobileSocialFeedRankedPage, mapMobileSocialFeedReadParamsToServer, mapMobileSocialFeedReadSession, mapMobileSocialFeedReply, mapMobileSocialFeedTimelineEntry, mapMobileSocialFeedTopTradersPage, mapMobileSocialFeedTradeCard, mapMobileSocialFeedTradeRow, mapMobileSocialFeedTradeRowBase, mapMobileSocialFeedTraderBadge, mapMobileSocialFeedTradingContext, mapMobileSocialFeedTradingTarget, mapMobileSocialFeedUpdates, mapMobileSocialFeedViewsResult, mapMobileSocialFeedWatchers };
|
|
446
|
+
export { mapMobileAvatarPreset, mapMobileAvatarSelectionToServer, mapMobileAvatarUpload, mapMobileFeedPage, mapMobileFollowBatchResult, mapMobileFollowListPage, mapMobileFollowListParamsToServer, mapMobileFollowMutationResult, mapMobileNotificationCapabilitiesToServer, mapMobileNotificationInboxV2, mapMobileNotificationPayloadV2, mapMobileNotificationPreferences, mapMobileNotificationPreferencesToServer, mapMobileNotificationRegistrationV2, mapMobileNotificationRoute, mapMobileNotificationSettings, mapMobileNotificationSettingsToServer, mapMobileNotificationSettingsV2, mapMobileNotificationSubscriptions, mapMobileNotificationSubscriptionsUpdateToServer, mapMobileProductEventToServer, mapMobileProfileSearchPage, mapMobileProfileSearchParamsToServer, mapMobileProfilesIncludeToServer, mapMobilePublicProfile, mapMobileRegisteredWallet, mapMobileSocialFeedActionCandidate, mapMobileSocialFeedActionMarker, mapMobileSocialFeedActionResolutionResult, mapMobileSocialFeedAuthor, mapMobileSocialFeedCandle, mapMobileSocialFeedCommentResult, mapMobileSocialFeedCommentsPage, mapMobileSocialFeedCompactCard, mapMobileSocialFeedContentBase, mapMobileSocialFeedDrawing, mapMobileSocialFeedDrawingMutationResult, mapMobileSocialFeedDrawingResult, mapMobileSocialFeedHistoryMetrics, mapMobileSocialFeedHistoryTake, mapMobileSocialFeedImage, mapMobileSocialFeedInteraction, mapMobileSocialFeedItem, mapMobileSocialFeedItemBase, mapMobileSocialFeedItemPatch, mapMobileSocialFeedItemResponse, mapMobileSocialFeedLikeResult, mapMobileSocialFeedListParamsToServer, mapMobileSocialFeedMarket, mapMobileSocialFeedMentionToServer, mapMobileSocialFeedPage, mapMobileSocialFeedPnl, mapMobileSocialFeedPositionAction, mapMobileSocialFeedPositionCard, mapMobileSocialFeedPositionChart, mapMobileSocialFeedPositionHistory, mapMobileSocialFeedPositionPatch, mapMobileSocialFeedPositionResolutionResult, mapMobileSocialFeedPositionsPage, mapMobileSocialFeedPost, mapMobileSocialFeedPresence, mapMobileSocialFeedPublishablePosition, mapMobileSocialFeedRankedPage, mapMobileSocialFeedReadParamsToServer, mapMobileSocialFeedReadSession, mapMobileSocialFeedReply, mapMobileSocialFeedTimelineEntry, mapMobileSocialFeedTopTradersPage, mapMobileSocialFeedTradeCard, mapMobileSocialFeedTradeRow, mapMobileSocialFeedTradeRowBase, mapMobileSocialFeedTraderBadge, mapMobileSocialFeedTradingContext, mapMobileSocialFeedTradingTarget, mapMobileSocialFeedUpdates, mapMobileSocialFeedViewsResult, mapMobileSocialFeedWatchers };
|
|
384
447
|
//# sourceMappingURL=dataMappers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataMappers.d.cts","names":[],"sources":["../src/src/dataMappers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataMappers.d.cts","names":[],"sources":["../src/src/dataMappers.ts"],"mappings":";;;;;;;AA+KA;;iBAAgB,qBAAA,CACd,MAAA,EAAQ,wBAAA,GACP,kBAAkB;;;;iBAOL,qBAAA,CACd,MAAA,EAAQ,gCAAA,GACP,kBAAkB;;AATA;AAOrB;;iBAegB,mCAAA,CACd,MAAA,EAAQ,8CAAA,GACP,gCAAgC;;;;;iBAenB,yCAAA,CACd,YAAA,EAAc,8BAAA,GACb,qCAAqC;AAhCnB;AAarB;;;AAbqB,iBA4CL,6BAAA,CACd,MAAA,EAAQ,gCAAA,GACP,0BAA0B;;;;;iBAkBb,qCAAA,CACd,QAAA,EAAU,0BAAA,GACT,gCAAgC;AApCnC;;;;AAAA,iBAsDgB,+BAAA,CACd,MAAA,EAAQ,0CAAA,GACP,4BAA4B;;;;AAtDS;iBAkExB,kCAAA,CACd,MAAA,EAAQ,6CAAA,GACP,+BAA+B;;;;;iBAalB,gDAAA,CACd,MAAA,EAAQ,qCAAA,GACP,2CAA2C;;;AArEjB;AAkB7B;;iBA6EgB,0BAAA,CACd,MAAA,EAAQ,6BAAA,GACP,uBAAuB;;;;;;iBAmBV,8BAAA,CACd,MAAA,EAAQ,iCAAA,GACP,2BAA2B;AAhF9B;;;;;AAAA,iBAgGgB,4BAAA,CACd,MAAA,EAAQ,uCAAA,GACP,yBAAyB;;;AAhGG;AAY/B;iBAqGgB,6BAAA,CACd,KAAA,EAAO,kBAAA,GACN,wBAAwB;;;;iBAcX,gCAAA,CACd,MAAA,EAAQ,qBAAA,UACP,2BAA2B;;;AArHI;AAalC;;iBAuHgB,sBAAA,CACd,MAAA,EAAQ,mBAAA,GACP,mBAAmB;;;;;iBA4CN,uBAAA,CACd,MAAA,EAAQ,8B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,qCAAA,GACP,6BAA6B;AAnjBH;AAa7B;;;;AAb6B,iBA+jBb,6BAAA,CACd,MAAA,EAAQ,kCAAA,GACP,0BAA0B;;;;AAljBI;AAsBjC;iBA0iBgB,8BAAA,CACd,MAAA,EAAQ,mCAAA,GACP,2BAA2B;;;;;;;iBAad,8BAAA,CACd,MAAA,EAAQ,iCAAA,GACP,2BAA2B;AA7iB9B;;;;;;AAAA,iBA+jBgB,gCAAA,CACd,MAAA,EAAQ,mCAAA,GACP,6BAA6B;;AA/jBJ;AA8E5B;;;;iBA8gBgB,kCAAA,CACd,MAAA,EAAQ,6CAAA,GACP,+BAA+B;;;;AA9gBR;AAoB1B;iBAihBgB,gCAAA,CACd,MAAA,EAAQ,2CAAA,GACP,6BAA6B;;;;;;iBAsBhB,2BAAA,CACd,MAAA,EAAQ,sCAAA,GACP,wBAAwB;AAziBQ;AAenC;;;;AAfmC,iBAsjBnB,2BAAA,CACd,MAAA,EAAQ,sCAAA,GACP,wBAAwB"}
|
package/dist/dataMappers.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { C as MobileServerSocialFeedWatchersResponse, S as MobileServerSocialFeedUpdatesResponse, _ as MobileServerSocialFeedPositionResolutionResponse, b as MobileServerSocialFeedResponse, d as MobileServerSocialFeedActionResolutionResponse, f as MobileServerSocialFeedCommentsResponse, g as MobileServerSocialFeedPositionHistoryResponse, h as MobileServerSocialFeedPositionChartResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedItemResponse, n as MobileServerFeedResponse, p as MobileServerSocialFeedDrawingResponse, r as MobileServerFollowListResponse, u as MobileServerSearchProfilesResponse, v as MobileServerSocialFeedPositionsResponse, x as MobileServerSocialFeedTopTradersResponse, y as MobileServerSocialFeedRankedResponse } from "./serverQueryTypes-CJcjLB7n.js";
|
|
1
|
+
import { $ as MobileServerSocialFeedInteraction, A as MobileServerNotificationPreferences, F as MobileServerSocialFeedActionCandidate, G as MobileServerSocialFeedContentBase, I as MobileServerSocialFeedActionMarker, J as MobileServerSocialFeedHistoryMetrics, K as MobileServerSocialFeedDrawing, L as MobileServerSocialFeedAuthor, M as MobileServerNotificationSettings, N as MobileServerProductEvent, Nt as MobileSocialFeedMention, O as MobileServerNotificationPayloadV2, P as MobileServerProfile, R as MobileServerSocialFeedCandle, W as MobileServerSocialFeedCompactCard, X as MobileServerSocialFeedHistoryTake, Z as MobileServerSocialFeedImage, _ as MobileServerAvatarPreset, _t as MobileServerSocialFeedTraderBadge, at as MobileServerSocialFeedPositionAction, ct as MobileServerSocialFeedPositionPatch, dt as MobileServerSocialFeedReadSession, et as MobileServerSocialFeedItem, ft as MobileServerSocialFeedReply, gt as MobileServerSocialFeedTradeRowBase, ht as MobileServerSocialFeedTradeRow, it as MobileServerSocialFeedPnl, j as MobileServerNotificationRoute, lt as MobileServerSocialFeedPost, mt as MobileServerSocialFeedTradeCard, nt as MobileServerSocialFeedItemPatch, ot as MobileServerSocialFeedPositionCard, pt as MobileServerSocialFeedTimelineEntry, rt as MobileServerSocialFeedMarket, tt as MobileServerSocialFeedItemBase, ut as MobileServerSocialFeedPublishablePosition, v as MobileServerAvatarSelection, vt as MobileServerSocialFeedTradingContext, yt as MobileServerSocialFeedTradingTarget } from "./serverModelTypes-CGUZCi0y.js";
|
|
2
|
+
import { $ as MobileNotificationPreferences, $t as MobileSocialFeedLikeResult, A as MobileAvatarSelection, An as MobileSocialFeedViewsResult, Bn as SearchMobileProfilesParams, Bt as MobileSocialFeedDrawingMutationResult, Cn as MobileSocialFeedTradeRow, Dn as MobileSocialFeedTradingTarget, Dt as MobileSocialFeedAuthor, En as MobileSocialFeedTradingContext, Et as MobileSocialFeedActionResolutionResult, Ft as MobileSocialFeedCommentResult, Gt as MobileSocialFeedHistoryTake, It as MobileSocialFeedCommentsPage, Jt as MobileSocialFeedInteraction, Kt as MobileSocialFeedImage, Lt as MobileSocialFeedCompactCard, On as MobileSocialFeedUpdates, Ot as MobileSocialFeedCandle, Qt as MobileSocialFeedItemResponse, Rt as MobileSocialFeedContentBase, Sn as MobileSocialFeedTradeCard, Tn as MobileSocialFeedTraderBadge, Tt as MobileSocialFeedActionMarker, U as MobileFollowListPage, Ut as MobileSocialFeedHistoryMetrics, V as MobileFollowBatchResultItem, Vt as MobileSocialFeedDrawingResult, W as MobileFollowMutationResult, X as MobileNotificationInboxV2, Xt as MobileSocialFeedItemBase, Yt as MobileSocialFeedItem, Z as MobileNotificationPayloadV2, Zt as MobileSocialFeedItemPatch, _n as MobileSocialFeedReadParams, an as MobileSocialFeedPositionAction, at as MobileNotificationSubscriptionsUpdate, bn as MobileSocialFeedTimelineEntry, c as GetMobileFollowListParams, cn as MobileSocialFeedPositionHistory, ct as MobileProfileSearchPage, dn as MobileSocialFeedPositionResolutionResult, en as MobileSocialFeedListParams, et as MobileNotificationRegistrationV2, fn as MobileSocialFeedPositionsPage, gn as MobileSocialFeedRankedPage, hn as MobileSocialFeedPublishablePosition, ht as MobileRegisteredWallet, in as MobileSocialFeedPnl, it as MobileNotificationSubscriptions, j as MobileAvatarUpload, jn as MobileSocialFeedWatchers, k as MobileAvatarPreset, lt as MobileProfilesInclude, mn as MobileSocialFeedPresence, nn as MobileSocialFeedMentionParams, nt as MobileNotificationSettings, on as MobileSocialFeedPositionCard, pn as MobileSocialFeedPost, q as MobileNotificationCapabilities, rn as MobileSocialFeedPage, rt as MobileNotificationSettingsV2, sn as MobileSocialFeedPositionChart, st as MobileProductEvent, tn as MobileSocialFeedMarket, tt as MobileNotificationRoute, un as MobileSocialFeedPositionPatch, ut as MobilePublicProfile, vn as MobileSocialFeedReadSession, wn as MobileSocialFeedTradeRowBase, wt as MobileSocialFeedActionCandidate, xn as MobileSocialFeedTopTradersPage, yn as MobileSocialFeedReply, z as MobileFeedPage, zt as MobileSocialFeedDrawing } from "./clientTypes-BUn5_OzK.js";
|
|
3
|
+
import { A as MobileServerNotificationSubscriptionsResponse, B as MobileServerSocialFeedCommentsResponse, E as MobileServerNotificationInboxV2Response, F as MobileServerRegisteredWalletResponse, G as MobileServerSocialFeedPositionResolutionResponse, H as MobileServerSocialFeedItemResponse, I as MobileServerSearchProfilesResponse, J as MobileServerSocialFeedResponse, K as MobileServerSocialFeedPositionsResponse, O as MobileServerNotificationRegistrationV2Response, T as MobileServerFollowListResponse, U as MobileServerSocialFeedPositionChartResponse, V as MobileServerSocialFeedDrawingResponse, W as MobileServerSocialFeedPositionHistoryResponse, X as MobileServerSocialFeedUpdatesResponse, Y as MobileServerSocialFeedTopTradersResponse, Z as MobileServerSocialFeedWatchersResponse, _ as MobileServerSearchProfilesRequest, b as MobileServerSocialFeedListParams, c as MobileServerNotificationSubscriptionsUpdate, h as MobileServerRegisterExpoTokenV2Params, k as MobileServerNotificationSettingsV2Response, l as MobileServerProfilesInclude, q as MobileServerSocialFeedRankedResponse, s as MobileServerFollowListRequest, w as MobileServerFeedResponse, x as MobileServerSocialFeedReadParams, z as MobileServerSocialFeedActionResolutionResponse } from "./types-Cwy1y_9x.js";
|
|
4
|
+
import { _ as MobileServerSocialFeedPresenceResponse, c as MobileServerFollowMutationResponse, f as MobileServerSocialFeedCommentResponse, h as MobileServerSocialFeedLikeResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, t as MobileServerAvatarUploadResponse, v as MobileServerSocialFeedViewsResponse } from "./serverExecuteTypes-5JyyIXRK.js";
|
|
6
5
|
|
|
7
6
|
//#region src/dataMappers.d.ts
|
|
8
7
|
/**
|
|
@@ -13,6 +12,64 @@ declare function mapMobileAvatarPreset(server: MobileServerAvatarPreset): Mobile
|
|
|
13
12
|
* Maps an upload grant, preserving the signed PUT headers and server-provided lifetime.
|
|
14
13
|
*/
|
|
15
14
|
declare function mapMobileAvatarUpload(server: MobileServerAvatarUploadResponse): MobileAvatarUpload;
|
|
15
|
+
/** Maps a saved notification registration to the client model without the response envelope.
|
|
16
|
+
* @param server - Registration payload.
|
|
17
|
+
* @returns Saved generation and capabilities.
|
|
18
|
+
*/
|
|
19
|
+
declare function mapMobileNotificationRegistrationV2(server: MobileServerNotificationRegistrationV2Response): MobileNotificationRegistrationV2;
|
|
20
|
+
/** Maps a v2 capability declaration to the registration wire format.
|
|
21
|
+
* @param capabilities - Device-supported features.
|
|
22
|
+
* @returns V2-only registration capabilities.
|
|
23
|
+
*/
|
|
24
|
+
declare function mapMobileNotificationCapabilitiesToServer(capabilities: MobileNotificationCapabilities): MobileServerRegisterExpoTokenV2Params['capabilities'];
|
|
25
|
+
/** Maps complete notification settings to the client model.
|
|
26
|
+
* @param server - Saved settings.
|
|
27
|
+
* @returns CamelCase settings.
|
|
28
|
+
*/
|
|
29
|
+
declare function mapMobileNotificationSettings(server: MobileServerNotificationSettings): MobileNotificationSettings;
|
|
30
|
+
/** Maps a complete replacement settings document to wire format.
|
|
31
|
+
* @param settings - Complete client settings.
|
|
32
|
+
* @returns Settings accepted by the service.
|
|
33
|
+
*/
|
|
34
|
+
declare function mapMobileNotificationSettingsToServer(settings: MobileNotificationSettings): MobileServerNotificationSettings;
|
|
35
|
+
/** Maps a revisioned settings response without the response envelope.
|
|
36
|
+
* @param server - Versioned settings payload.
|
|
37
|
+
* @returns Client settings and their revision.
|
|
38
|
+
*/
|
|
39
|
+
declare function mapMobileNotificationSettingsV2(server: MobileServerNotificationSettingsV2Response): MobileNotificationSettingsV2;
|
|
40
|
+
/** Maps wallet market subscriptions and Identity bells.
|
|
41
|
+
* @param server - Subscription payload.
|
|
42
|
+
* @returns Client subscription state without the response envelope.
|
|
43
|
+
*/
|
|
44
|
+
declare function mapMobileNotificationSubscriptions(server: MobileServerNotificationSubscriptionsResponse): MobileNotificationSubscriptions;
|
|
45
|
+
/** Maps one subscription operation, explicitly nulling unused wire operations.
|
|
46
|
+
* @param update - Exactly one revision-guarded operation.
|
|
47
|
+
* @returns The complete signed inner operation fields.
|
|
48
|
+
*/
|
|
49
|
+
declare function mapMobileNotificationSubscriptionsUpdateToServer(update: MobileNotificationSubscriptionsUpdate): MobileServerNotificationSubscriptionsUpdate;
|
|
50
|
+
/** Maps an allowlisted notification destination.
|
|
51
|
+
* @param server - Named backend destination.
|
|
52
|
+
* @returns Client navigation data, never an arbitrary URL.
|
|
53
|
+
* @throws {MobileUnsupportedNotificationRouteError} If the service returns an unsupported route name.
|
|
54
|
+
*/
|
|
55
|
+
declare function mapMobileNotificationRoute(server: MobileServerNotificationRoute): MobileNotificationRoute;
|
|
56
|
+
/** Maps v2 push or inbox navigation data.
|
|
57
|
+
* @param server - Wire-format notification payload.
|
|
58
|
+
* @returns Client notification data.
|
|
59
|
+
* @throws {MobileUnsupportedNotificationRouteError} If the service returns an unsupported route name.
|
|
60
|
+
*/
|
|
61
|
+
declare function mapMobileNotificationPayloadV2(server: MobileServerNotificationPayloadV2): MobileNotificationPayloadV2;
|
|
62
|
+
/** Maps a private notification page without the response envelope.
|
|
63
|
+
* @param server - Newest-first inbox payload.
|
|
64
|
+
* @returns Client items, attribution flags, and the next cursor.
|
|
65
|
+
* @throws {MobileUnsupportedNotificationRouteError} If a notification has an unsupported route name.
|
|
66
|
+
*/
|
|
67
|
+
declare function mapMobileNotificationInboxV2(server: MobileServerNotificationInboxV2Response): MobileNotificationInboxV2;
|
|
68
|
+
/** Maps a typed analytics interaction, nulling unused wire fields.
|
|
69
|
+
* @param event - Event-specific client data.
|
|
70
|
+
* @returns Complete signed wire event.
|
|
71
|
+
*/
|
|
72
|
+
declare function mapMobileProductEventToServer(event: MobileProductEvent): MobileServerProductEvent;
|
|
16
73
|
/**
|
|
17
74
|
* Maps a client-side avatar selection to the signed wire payload; null clears the saved avatar.
|
|
18
75
|
*/
|
|
@@ -112,6 +169,12 @@ declare function mapMobileSocialFeedPositionCard(server: MobileServerSocialFeedP
|
|
|
112
169
|
* @returns The mapped feed interaction.
|
|
113
170
|
*/
|
|
114
171
|
declare function mapMobileSocialFeedInteraction(server: MobileServerSocialFeedInteraction): MobileSocialFeedInteraction;
|
|
172
|
+
/**
|
|
173
|
+
* Maps uploaded image metadata; bytes remain behind a protected GET.
|
|
174
|
+
* @param server - The service response.
|
|
175
|
+
* @returns The mapped feed image.
|
|
176
|
+
*/
|
|
177
|
+
declare function mapMobileSocialFeedImage(server: MobileServerSocialFeedImage): MobileSocialFeedImage;
|
|
115
178
|
/**
|
|
116
179
|
* Maps common item metadata and server capabilities.
|
|
117
180
|
* @param server - The service response.
|
|
@@ -150,7 +213,7 @@ declare function mapMobileSocialFeedTradeRow(server: MobileServerSocialFeedTrade
|
|
|
150
213
|
*/
|
|
151
214
|
declare function mapMobileSocialFeedItem(server: MobileServerSocialFeedItem): MobileSocialFeedItem;
|
|
152
215
|
/**
|
|
153
|
-
* Maps a
|
|
216
|
+
* Maps a reading session and its current idle expiration, preserving opaque credentials and cursors.
|
|
154
217
|
* @param server - The service response.
|
|
155
218
|
* @returns The mapped feed read session.
|
|
156
219
|
*/
|
|
@@ -380,5 +443,5 @@ declare function mapMobileSocialFeedWatchers(server: MobileServerSocialFeedWatch
|
|
|
380
443
|
*/
|
|
381
444
|
declare function mapMobileSocialFeedPresence(server: MobileServerSocialFeedPresenceResponse): MobileSocialFeedPresence;
|
|
382
445
|
//#endregion
|
|
383
|
-
export { mapMobileAvatarPreset, mapMobileAvatarSelectionToServer, mapMobileAvatarUpload, mapMobileFeedPage, mapMobileFollowBatchResult, mapMobileFollowListPage, mapMobileFollowListParamsToServer, mapMobileFollowMutationResult, mapMobileNotificationPreferences, mapMobileNotificationPreferencesToServer, mapMobileProfileSearchPage, mapMobileProfileSearchParamsToServer, mapMobileProfilesIncludeToServer, mapMobilePublicProfile, mapMobileRegisteredWallet, mapMobileSocialFeedActionCandidate, mapMobileSocialFeedActionMarker, mapMobileSocialFeedActionResolutionResult, mapMobileSocialFeedAuthor, mapMobileSocialFeedCandle, mapMobileSocialFeedCommentResult, mapMobileSocialFeedCommentsPage, mapMobileSocialFeedCompactCard, mapMobileSocialFeedContentBase, mapMobileSocialFeedDrawing, mapMobileSocialFeedDrawingMutationResult, mapMobileSocialFeedDrawingResult, mapMobileSocialFeedHistoryMetrics, mapMobileSocialFeedHistoryTake, mapMobileSocialFeedInteraction, mapMobileSocialFeedItem, mapMobileSocialFeedItemBase, mapMobileSocialFeedItemPatch, mapMobileSocialFeedItemResponse, mapMobileSocialFeedLikeResult, mapMobileSocialFeedListParamsToServer, mapMobileSocialFeedMarket, mapMobileSocialFeedMentionToServer, mapMobileSocialFeedPage, mapMobileSocialFeedPnl, mapMobileSocialFeedPositionAction, mapMobileSocialFeedPositionCard, mapMobileSocialFeedPositionChart, mapMobileSocialFeedPositionHistory, mapMobileSocialFeedPositionPatch, mapMobileSocialFeedPositionResolutionResult, mapMobileSocialFeedPositionsPage, mapMobileSocialFeedPost, mapMobileSocialFeedPresence, mapMobileSocialFeedPublishablePosition, mapMobileSocialFeedRankedPage, mapMobileSocialFeedReadParamsToServer, mapMobileSocialFeedReadSession, mapMobileSocialFeedReply, mapMobileSocialFeedTimelineEntry, mapMobileSocialFeedTopTradersPage, mapMobileSocialFeedTradeCard, mapMobileSocialFeedTradeRow, mapMobileSocialFeedTradeRowBase, mapMobileSocialFeedTraderBadge, mapMobileSocialFeedTradingContext, mapMobileSocialFeedTradingTarget, mapMobileSocialFeedUpdates, mapMobileSocialFeedViewsResult, mapMobileSocialFeedWatchers };
|
|
446
|
+
export { mapMobileAvatarPreset, mapMobileAvatarSelectionToServer, mapMobileAvatarUpload, mapMobileFeedPage, mapMobileFollowBatchResult, mapMobileFollowListPage, mapMobileFollowListParamsToServer, mapMobileFollowMutationResult, mapMobileNotificationCapabilitiesToServer, mapMobileNotificationInboxV2, mapMobileNotificationPayloadV2, mapMobileNotificationPreferences, mapMobileNotificationPreferencesToServer, mapMobileNotificationRegistrationV2, mapMobileNotificationRoute, mapMobileNotificationSettings, mapMobileNotificationSettingsToServer, mapMobileNotificationSettingsV2, mapMobileNotificationSubscriptions, mapMobileNotificationSubscriptionsUpdateToServer, mapMobileProductEventToServer, mapMobileProfileSearchPage, mapMobileProfileSearchParamsToServer, mapMobileProfilesIncludeToServer, mapMobilePublicProfile, mapMobileRegisteredWallet, mapMobileSocialFeedActionCandidate, mapMobileSocialFeedActionMarker, mapMobileSocialFeedActionResolutionResult, mapMobileSocialFeedAuthor, mapMobileSocialFeedCandle, mapMobileSocialFeedCommentResult, mapMobileSocialFeedCommentsPage, mapMobileSocialFeedCompactCard, mapMobileSocialFeedContentBase, mapMobileSocialFeedDrawing, mapMobileSocialFeedDrawingMutationResult, mapMobileSocialFeedDrawingResult, mapMobileSocialFeedHistoryMetrics, mapMobileSocialFeedHistoryTake, mapMobileSocialFeedImage, mapMobileSocialFeedInteraction, mapMobileSocialFeedItem, mapMobileSocialFeedItemBase, mapMobileSocialFeedItemPatch, mapMobileSocialFeedItemResponse, mapMobileSocialFeedLikeResult, mapMobileSocialFeedListParamsToServer, mapMobileSocialFeedMarket, mapMobileSocialFeedMentionToServer, mapMobileSocialFeedPage, mapMobileSocialFeedPnl, mapMobileSocialFeedPositionAction, mapMobileSocialFeedPositionCard, mapMobileSocialFeedPositionChart, mapMobileSocialFeedPositionHistory, mapMobileSocialFeedPositionPatch, mapMobileSocialFeedPositionResolutionResult, mapMobileSocialFeedPositionsPage, mapMobileSocialFeedPost, mapMobileSocialFeedPresence, mapMobileSocialFeedPublishablePosition, mapMobileSocialFeedRankedPage, mapMobileSocialFeedReadParamsToServer, mapMobileSocialFeedReadSession, mapMobileSocialFeedReply, mapMobileSocialFeedTimelineEntry, mapMobileSocialFeedTopTradersPage, mapMobileSocialFeedTradeCard, mapMobileSocialFeedTradeRow, mapMobileSocialFeedTradeRowBase, mapMobileSocialFeedTraderBadge, mapMobileSocialFeedTradingContext, mapMobileSocialFeedTradingTarget, mapMobileSocialFeedUpdates, mapMobileSocialFeedViewsResult, mapMobileSocialFeedWatchers };
|
|
384
447
|
//# sourceMappingURL=dataMappers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataMappers.d.ts","names":[],"sources":["../src/src/dataMappers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataMappers.d.ts","names":[],"sources":["../src/src/dataMappers.ts"],"mappings":";;;;;;;AA+KA;;iBAAgB,qBAAA,CACd,MAAA,EAAQ,wBAAA,GACP,kBAAkB;;;;iBAOL,qBAAA,CACd,MAAA,EAAQ,gCAAA,GACP,kBAAkB;;AATA;AAOrB;;iBAegB,mCAAA,CACd,MAAA,EAAQ,8CAAA,GACP,gCAAgC;;;;;iBAenB,yCAAA,CACd,YAAA,EAAc,8BAAA,GACb,qCAAqC;AAhCnB;AAarB;;;AAbqB,iBA4CL,6BAAA,CACd,MAAA,EAAQ,gCAAA,GACP,0BAA0B;;;;;iBAkBb,qCAAA,CACd,QAAA,EAAU,0BAAA,GACT,gCAAgC;AApCnC;;;;AAAA,iBAsDgB,+BAAA,CACd,MAAA,EAAQ,0CAAA,GACP,4BAA4B;;;;AAtDS;iBAkExB,kCAAA,CACd,MAAA,EAAQ,6CAAA,GACP,+BAA+B;;;;;iBAalB,gDAAA,CACd,MAAA,EAAQ,qCAAA,GACP,2CAA2C;;;AArEjB;AAkB7B;;iBA6EgB,0BAAA,CACd,MAAA,EAAQ,6BAAA,GACP,uBAAuB;;;;;;iBAmBV,8BAAA,CACd,MAAA,EAAQ,iCAAA,GACP,2BAA2B;AAhF9B;;;;;AAAA,iBAgGgB,4BAAA,CACd,MAAA,EAAQ,uCAAA,GACP,yBAAyB;;;AAhGG;AAY/B;iBAqGgB,6BAAA,CACd,KAAA,EAAO,kBAAA,GACN,wBAAwB;;;;iBAcX,gCAAA,CACd,MAAA,EAAQ,qBAAA,UACP,2BAA2B;;;AArHI;AAalC;;iBAuHgB,sBAAA,CACd,MAAA,EAAQ,mBAAA,GACP,mBAAmB;;;;;iBA4CN,uBAAA,CACd,MAAA,EAAQ,8BAAA,GACP,oBAAoB;AArKuB;AA0B9C;;;AA1B8C,iBAoL9B,0BAA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6BAAA,CACd,MAAA,EAAQ,kCAAA,GACP,0BAA0B;;;;AAljBI;AAsBjC;iBA0iBgB,8BAAA,CACd,MAAA,EAAQ,mCAAA,GACP,2BAA2B;;;;;;;iBAad,8BAAA,CACd,MAAA,EAAQ,iCAAA,GACP,2BAA2B;AA7iB9B;;;;;;AAAA,iBA+jBgB,gCAAA,CACd,MAAA,EAAQ,mCAAA,GACP,6BAA6B;;AA/jBJ;AA8E5B;;;;iBA8gBgB,kCAAA,CACd,MAAA,EAAQ,6CAAA,GACP,+BAA+B;;;;AA9gBR;AAoB1B;iBAihBgB,gCAAA,CACd,MAAA,EAAQ,2CAAA,GACP,6BAA6B;;;;;;iBAsBhB,2BAAA,CACd,MAAA,EAAQ,sCAAA,GACP,wBAAwB;AAziBQ;AAenC;;;;AAfmC,iBAsjBnB,2BAAA,CACd,MAAA,EAAQ,sCAAA,GACP,wBAAwB"}
|
package/dist/dataMappers.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MobileUnsupportedFeedItemError } from "./types/MobileUnsupportedFeedItemError.js";
|
|
2
|
+
import { MobileUnsupportedNotificationRouteError } from "./types/MobileUnsupportedNotificationRouteError.js";
|
|
2
3
|
import { removeDecimals, subaccountToHex, toBigNumber } from "@nadohq/shared";
|
|
3
4
|
//#region src/dataMappers.ts
|
|
4
5
|
/**
|
|
@@ -21,6 +22,172 @@ function mapMobileAvatarUpload(server) {
|
|
|
21
22
|
expiresInSeconds: server.expires_in_seconds
|
|
22
23
|
};
|
|
23
24
|
}
|
|
25
|
+
/** Maps a saved notification registration to the client model without the response envelope.
|
|
26
|
+
* @param server - Registration payload.
|
|
27
|
+
* @returns Saved generation and capabilities.
|
|
28
|
+
*/
|
|
29
|
+
function mapMobileNotificationRegistrationV2(server) {
|
|
30
|
+
return {
|
|
31
|
+
registrationGeneration: server.registration_generation,
|
|
32
|
+
capabilities: {
|
|
33
|
+
payloadVersions: server.capabilities.payload_versions,
|
|
34
|
+
typeIds: server.capabilities.type_ids,
|
|
35
|
+
routes: server.capabilities.routes
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/** Maps a v2 capability declaration to the registration wire format.
|
|
40
|
+
* @param capabilities - Device-supported features.
|
|
41
|
+
* @returns V2-only registration capabilities.
|
|
42
|
+
*/
|
|
43
|
+
function mapMobileNotificationCapabilitiesToServer(capabilities) {
|
|
44
|
+
return {
|
|
45
|
+
payload_versions: capabilities.payloadVersions,
|
|
46
|
+
type_ids: capabilities.typeIds,
|
|
47
|
+
routes: capabilities.routes
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/** Maps complete notification settings to the client model.
|
|
51
|
+
* @param server - Saved settings.
|
|
52
|
+
* @returns CamelCase settings.
|
|
53
|
+
*/
|
|
54
|
+
function mapMobileNotificationSettings(server) {
|
|
55
|
+
return {
|
|
56
|
+
myPositions: server.my_positions,
|
|
57
|
+
positionThresholds: server.position_thresholds,
|
|
58
|
+
myOrders: server.my_orders,
|
|
59
|
+
followingTrades: server.following_trades,
|
|
60
|
+
followingPosts: server.following_posts,
|
|
61
|
+
minTradeSizeUsd: server.min_trade_size_usd,
|
|
62
|
+
newFollowers: server.new_followers,
|
|
63
|
+
announcements: server.announcements,
|
|
64
|
+
discovery: server.discovery
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/** Maps a complete replacement settings document to wire format.
|
|
68
|
+
* @param settings - Complete client settings.
|
|
69
|
+
* @returns Settings accepted by the service.
|
|
70
|
+
*/
|
|
71
|
+
function mapMobileNotificationSettingsToServer(settings) {
|
|
72
|
+
return {
|
|
73
|
+
my_positions: settings.myPositions,
|
|
74
|
+
position_thresholds: settings.positionThresholds,
|
|
75
|
+
my_orders: settings.myOrders,
|
|
76
|
+
following_trades: settings.followingTrades,
|
|
77
|
+
following_posts: settings.followingPosts,
|
|
78
|
+
min_trade_size_usd: settings.minTradeSizeUsd,
|
|
79
|
+
new_followers: settings.newFollowers,
|
|
80
|
+
announcements: settings.announcements,
|
|
81
|
+
discovery: settings.discovery
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/** Maps a revisioned settings response without the response envelope.
|
|
85
|
+
* @param server - Versioned settings payload.
|
|
86
|
+
* @returns Client settings and their revision.
|
|
87
|
+
*/
|
|
88
|
+
function mapMobileNotificationSettingsV2(server) {
|
|
89
|
+
return {
|
|
90
|
+
schemaVersion: server.schema_version,
|
|
91
|
+
revision: server.revision,
|
|
92
|
+
settings: mapMobileNotificationSettings(server.settings)
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/** Maps wallet market subscriptions and Identity bells.
|
|
96
|
+
* @param server - Subscription payload.
|
|
97
|
+
* @returns Client subscription state without the response envelope.
|
|
98
|
+
*/
|
|
99
|
+
function mapMobileNotificationSubscriptions(server) {
|
|
100
|
+
return {
|
|
101
|
+
revision: server.revision,
|
|
102
|
+
favoritesImported: server.favorites_imported,
|
|
103
|
+
marketIds: server.market_ids,
|
|
104
|
+
traderBells: server.trader_bells
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
/** Maps one subscription operation, explicitly nulling unused wire operations.
|
|
108
|
+
* @param update - Exactly one revision-guarded operation.
|
|
109
|
+
* @returns The complete signed inner operation fields.
|
|
110
|
+
*/
|
|
111
|
+
function mapMobileNotificationSubscriptionsUpdateToServer(update) {
|
|
112
|
+
return {
|
|
113
|
+
expected_revision: update.expectedRevision,
|
|
114
|
+
trader_bell: update.traderBell == null ? null : {
|
|
115
|
+
subaccount: subaccountToHex(update.traderBell.subaccount),
|
|
116
|
+
enabled: update.traderBell.enabled
|
|
117
|
+
},
|
|
118
|
+
market: update.market == null ? null : {
|
|
119
|
+
product_id: update.market.productId,
|
|
120
|
+
subscribed: update.market.subscribed
|
|
121
|
+
},
|
|
122
|
+
import_markets: update.importMarkets ?? null
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
/** Maps an allowlisted notification destination.
|
|
126
|
+
* @param server - Named backend destination.
|
|
127
|
+
* @returns Client navigation data, never an arbitrary URL.
|
|
128
|
+
* @throws {MobileUnsupportedNotificationRouteError} If the service returns an unsupported route name.
|
|
129
|
+
*/
|
|
130
|
+
function mapMobileNotificationRoute(server) {
|
|
131
|
+
const name = server.name;
|
|
132
|
+
switch (name) {
|
|
133
|
+
case "market": return {
|
|
134
|
+
name: server.name,
|
|
135
|
+
productId: server.product_id
|
|
136
|
+
};
|
|
137
|
+
case "profile": return {
|
|
138
|
+
name: server.name,
|
|
139
|
+
subaccount: server.subaccount
|
|
140
|
+
};
|
|
141
|
+
case "portfolio": return { name: server.name };
|
|
142
|
+
default: throw new MobileUnsupportedNotificationRouteError(name);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
/** Maps v2 push or inbox navigation data.
|
|
146
|
+
* @param server - Wire-format notification payload.
|
|
147
|
+
* @returns Client notification data.
|
|
148
|
+
* @throws {MobileUnsupportedNotificationRouteError} If the service returns an unsupported route name.
|
|
149
|
+
*/
|
|
150
|
+
function mapMobileNotificationPayloadV2(server) {
|
|
151
|
+
return {
|
|
152
|
+
payloadVersion: server.payload_version,
|
|
153
|
+
notificationId: server.notification_id,
|
|
154
|
+
recipientWallet: server.recipient_wallet,
|
|
155
|
+
typeId: server.type_id,
|
|
156
|
+
templateVersion: server.template_version,
|
|
157
|
+
route: mapMobileNotificationRoute(server.route)
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
/** Maps a private notification page without the response envelope.
|
|
161
|
+
* @param server - Newest-first inbox payload.
|
|
162
|
+
* @returns Client items, attribution flags, and the next cursor.
|
|
163
|
+
* @throws {MobileUnsupportedNotificationRouteError} If a notification has an unsupported route name.
|
|
164
|
+
*/
|
|
165
|
+
function mapMobileNotificationInboxV2(server) {
|
|
166
|
+
return {
|
|
167
|
+
notifications: server.notifications.map((item) => ({
|
|
168
|
+
notificationId: item.notification_id,
|
|
169
|
+
typeId: item.type_id,
|
|
170
|
+
data: mapMobileNotificationPayloadV2(item.data),
|
|
171
|
+
createdAt: item.created_at,
|
|
172
|
+
tradeWithin24h: item.trade_within_24h
|
|
173
|
+
})),
|
|
174
|
+
nextCursor: server.next_cursor
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
/** Maps a typed analytics interaction, nulling unused wire fields.
|
|
178
|
+
* @param event - Event-specific client data.
|
|
179
|
+
* @returns Complete signed wire event.
|
|
180
|
+
*/
|
|
181
|
+
function mapMobileProductEventToServer(event) {
|
|
182
|
+
return {
|
|
183
|
+
client_event_id: event.clientEventId,
|
|
184
|
+
event_name: event.eventName,
|
|
185
|
+
notification_id: event.notificationId ?? null,
|
|
186
|
+
occurred_at: event.occurredAt,
|
|
187
|
+
product_id: event.productId ?? null,
|
|
188
|
+
query: event.query ?? null
|
|
189
|
+
};
|
|
190
|
+
}
|
|
24
191
|
/**
|
|
25
192
|
* Maps a client-side avatar selection to the signed wire payload; null clears the saved avatar.
|
|
26
193
|
*/
|
|
@@ -342,6 +509,26 @@ function mapMobileSocialFeedInteraction(server) {
|
|
|
342
509
|
};
|
|
343
510
|
}
|
|
344
511
|
/**
|
|
512
|
+
* Maps uploaded image metadata; bytes remain behind a protected GET.
|
|
513
|
+
* @param server - The service response.
|
|
514
|
+
* @returns The mapped feed image.
|
|
515
|
+
*/
|
|
516
|
+
function mapMobileSocialFeedImage(server) {
|
|
517
|
+
return {
|
|
518
|
+
imageId: server.image_id,
|
|
519
|
+
url: server.url,
|
|
520
|
+
width: server.width,
|
|
521
|
+
height: server.height,
|
|
522
|
+
contentType: server.content_type,
|
|
523
|
+
byteSize: server.byte_size,
|
|
524
|
+
thumbnail: {
|
|
525
|
+
url: server.thumbnail.url,
|
|
526
|
+
width: server.thumbnail.width,
|
|
527
|
+
height: server.thumbnail.height
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
345
532
|
* Maps common item metadata and server capabilities.
|
|
346
533
|
* @param server - The service response.
|
|
347
534
|
* @returns The mapped social feed item base.
|
|
@@ -371,6 +558,7 @@ function mapMobileSocialFeedItemBase(server) {
|
|
|
371
558
|
function mapMobileSocialFeedContentBase(server) {
|
|
372
559
|
return {
|
|
373
560
|
...mapMobileSocialFeedItemBase(server),
|
|
561
|
+
images: server.images.map(mapMobileSocialFeedImage),
|
|
374
562
|
text: server.text,
|
|
375
563
|
mentions: server.mentions,
|
|
376
564
|
position: mapMobileSocialFeedPositionCard(server.position),
|
|
@@ -452,7 +640,7 @@ function mapMobileSocialFeedItem(server) {
|
|
|
452
640
|
}
|
|
453
641
|
}
|
|
454
642
|
/**
|
|
455
|
-
* Maps a
|
|
643
|
+
* Maps a reading session and its current idle expiration, preserving opaque credentials and cursors.
|
|
456
644
|
* @param server - The service response.
|
|
457
645
|
* @returns The mapped feed read session.
|
|
458
646
|
*/
|
|
@@ -461,10 +649,7 @@ function mapMobileSocialFeedReadSession(server) {
|
|
|
461
649
|
sessionId: server.session_id,
|
|
462
650
|
mode: server.mode,
|
|
463
651
|
expiresAtMs: server.expires_at_ms,
|
|
464
|
-
viewTracking: {
|
|
465
|
-
minVisibleRatio: server.view_tracking.min_visible_ratio,
|
|
466
|
-
minDurationMs: server.view_tracking.min_duration_ms
|
|
467
|
-
},
|
|
652
|
+
viewTracking: { mode: server.view_tracking.mode },
|
|
468
653
|
updateCursor: server.update_cursor,
|
|
469
654
|
viewerToken: server.viewer_token
|
|
470
655
|
};
|
|
@@ -662,6 +847,7 @@ function mapMobileSocialFeedReply(server) {
|
|
|
662
847
|
return {
|
|
663
848
|
...mapMobileSocialFeedItemBase(server),
|
|
664
849
|
kind: server.kind,
|
|
850
|
+
images: server.images.map(mapMobileSocialFeedImage),
|
|
665
851
|
text: server.text,
|
|
666
852
|
mentions: server.mentions,
|
|
667
853
|
rootItemId: server.root_item_id,
|
|
@@ -1021,6 +1207,6 @@ function mapMobileSocialFeedPresence(server) {
|
|
|
1021
1207
|
};
|
|
1022
1208
|
}
|
|
1023
1209
|
//#endregion
|
|
1024
|
-
export { mapMobileAvatarPreset, mapMobileAvatarSelectionToServer, mapMobileAvatarUpload, mapMobileFeedPage, mapMobileFollowBatchResult, mapMobileFollowListPage, mapMobileFollowListParamsToServer, mapMobileFollowMutationResult, mapMobileNotificationPreferences, mapMobileNotificationPreferencesToServer, mapMobileProfileSearchPage, mapMobileProfileSearchParamsToServer, mapMobileProfilesIncludeToServer, mapMobilePublicProfile, mapMobileRegisteredWallet, mapMobileSocialFeedActionCandidate, mapMobileSocialFeedActionMarker, mapMobileSocialFeedActionResolutionResult, mapMobileSocialFeedAuthor, mapMobileSocialFeedCandle, mapMobileSocialFeedCommentResult, mapMobileSocialFeedCommentsPage, mapMobileSocialFeedCompactCard, mapMobileSocialFeedContentBase, mapMobileSocialFeedDrawing, mapMobileSocialFeedDrawingMutationResult, mapMobileSocialFeedDrawingResult, mapMobileSocialFeedHistoryMetrics, mapMobileSocialFeedHistoryTake, mapMobileSocialFeedInteraction, mapMobileSocialFeedItem, mapMobileSocialFeedItemBase, mapMobileSocialFeedItemPatch, mapMobileSocialFeedItemResponse, mapMobileSocialFeedLikeResult, mapMobileSocialFeedListParamsToServer, mapMobileSocialFeedMarket, mapMobileSocialFeedMentionToServer, mapMobileSocialFeedPage, mapMobileSocialFeedPnl, mapMobileSocialFeedPositionAction, mapMobileSocialFeedPositionCard, mapMobileSocialFeedPositionChart, mapMobileSocialFeedPositionHistory, mapMobileSocialFeedPositionPatch, mapMobileSocialFeedPositionResolutionResult, mapMobileSocialFeedPositionsPage, mapMobileSocialFeedPost, mapMobileSocialFeedPresence, mapMobileSocialFeedPublishablePosition, mapMobileSocialFeedRankedPage, mapMobileSocialFeedReadParamsToServer, mapMobileSocialFeedReadSession, mapMobileSocialFeedReply, mapMobileSocialFeedTimelineEntry, mapMobileSocialFeedTopTradersPage, mapMobileSocialFeedTradeCard, mapMobileSocialFeedTradeRow, mapMobileSocialFeedTradeRowBase, mapMobileSocialFeedTraderBadge, mapMobileSocialFeedTradingContext, mapMobileSocialFeedTradingTarget, mapMobileSocialFeedUpdates, mapMobileSocialFeedViewsResult, mapMobileSocialFeedWatchers };
|
|
1210
|
+
export { mapMobileAvatarPreset, mapMobileAvatarSelectionToServer, mapMobileAvatarUpload, mapMobileFeedPage, mapMobileFollowBatchResult, mapMobileFollowListPage, mapMobileFollowListParamsToServer, mapMobileFollowMutationResult, mapMobileNotificationCapabilitiesToServer, mapMobileNotificationInboxV2, mapMobileNotificationPayloadV2, mapMobileNotificationPreferences, mapMobileNotificationPreferencesToServer, mapMobileNotificationRegistrationV2, mapMobileNotificationRoute, mapMobileNotificationSettings, mapMobileNotificationSettingsToServer, mapMobileNotificationSettingsV2, mapMobileNotificationSubscriptions, mapMobileNotificationSubscriptionsUpdateToServer, mapMobileProductEventToServer, mapMobileProfileSearchPage, mapMobileProfileSearchParamsToServer, mapMobileProfilesIncludeToServer, mapMobilePublicProfile, mapMobileRegisteredWallet, mapMobileSocialFeedActionCandidate, mapMobileSocialFeedActionMarker, mapMobileSocialFeedActionResolutionResult, mapMobileSocialFeedAuthor, mapMobileSocialFeedCandle, mapMobileSocialFeedCommentResult, mapMobileSocialFeedCommentsPage, mapMobileSocialFeedCompactCard, mapMobileSocialFeedContentBase, mapMobileSocialFeedDrawing, mapMobileSocialFeedDrawingMutationResult, mapMobileSocialFeedDrawingResult, mapMobileSocialFeedHistoryMetrics, mapMobileSocialFeedHistoryTake, mapMobileSocialFeedImage, mapMobileSocialFeedInteraction, mapMobileSocialFeedItem, mapMobileSocialFeedItemBase, mapMobileSocialFeedItemPatch, mapMobileSocialFeedItemResponse, mapMobileSocialFeedLikeResult, mapMobileSocialFeedListParamsToServer, mapMobileSocialFeedMarket, mapMobileSocialFeedMentionToServer, mapMobileSocialFeedPage, mapMobileSocialFeedPnl, mapMobileSocialFeedPositionAction, mapMobileSocialFeedPositionCard, mapMobileSocialFeedPositionChart, mapMobileSocialFeedPositionHistory, mapMobileSocialFeedPositionPatch, mapMobileSocialFeedPositionResolutionResult, mapMobileSocialFeedPositionsPage, mapMobileSocialFeedPost, mapMobileSocialFeedPresence, mapMobileSocialFeedPublishablePosition, mapMobileSocialFeedRankedPage, mapMobileSocialFeedReadParamsToServer, mapMobileSocialFeedReadSession, mapMobileSocialFeedReply, mapMobileSocialFeedTimelineEntry, mapMobileSocialFeedTopTradersPage, mapMobileSocialFeedTradeCard, mapMobileSocialFeedTradeRow, mapMobileSocialFeedTradeRowBase, mapMobileSocialFeedTraderBadge, mapMobileSocialFeedTradingContext, mapMobileSocialFeedTradingTarget, mapMobileSocialFeedUpdates, mapMobileSocialFeedViewsResult, mapMobileSocialFeedWatchers };
|
|
1025
1211
|
|
|
1026
1212
|
//# sourceMappingURL=dataMappers.js.map
|