@nadohq/mobile-client 0.57.0 → 0.59.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 +6 -1
- package/dist/{MobileClient-DjNpN7Dw.cjs → MobileClient-aDxiM_Kf.cjs} +47 -1
- package/dist/MobileClient-aDxiM_Kf.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +40 -6
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +40 -6
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +47 -1
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-kbMi1Ntc.d.cts → MobileServerFailureError-Bpa_WA9f.d.cts} +3 -3
- package/dist/{MobileServerFailureError-kbMi1Ntc.d.cts.map → MobileServerFailureError-Bpa_WA9f.d.cts.map} +1 -1
- package/dist/{MobileServerFailureError-DvtkMAVX.d.ts → MobileServerFailureError-Dd3c6P_Z.d.ts} +3 -3
- package/dist/{MobileServerFailureError-DvtkMAVX.d.ts.map → MobileServerFailureError-Dd3c6P_Z.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-lSIJmG6D.d.ts → buildSignedMobileRequest-Cb1T74xV.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-lSIJmG6D.d.ts.map → buildSignedMobileRequest-Cb1T74xV.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-DBWN0z0u.d.cts → buildSignedMobileRequest-NHbMAPzd.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-DBWN0z0u.d.cts.map → buildSignedMobileRequest-NHbMAPzd.d.cts.map} +1 -1
- package/dist/{canonicalize-Cx3lCVpm.d.ts → canonicalize-BBYGh17w.d.ts} +2 -2
- package/dist/canonicalize-BBYGh17w.d.ts.map +1 -0
- package/dist/{canonicalize-DNgB8Jsm.d.cts → canonicalize-BF_SiNvO.d.cts} +2 -2
- package/dist/canonicalize-BF_SiNvO.d.cts.map +1 -0
- package/dist/{clientTypes-DnPE1zZO.d.cts → clientTypes-BWFKo9oE.d.cts} +63 -2
- package/dist/clientTypes-BWFKo9oE.d.cts.map +1 -0
- package/dist/{clientTypes-ws9CDHw4.d.ts → clientTypes-DCTiUV0H.d.ts} +63 -2
- package/dist/clientTypes-DCTiUV0H.d.ts.map +1 -0
- package/dist/dataMappers.cjs +34 -0
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +18 -5
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +18 -5
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +32 -1
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-T7dfjmC_.d.cts → eip712MethodByType-BSx11xG-.d.cts} +2 -2
- package/dist/eip712MethodByType-BSx11xG-.d.cts.map +1 -0
- package/dist/{eip712MethodByType-Bmu9PYx6.d.ts → eip712MethodByType-DkiAjCLs.d.ts} +2 -2
- package/dist/eip712MethodByType-DkiAjCLs.d.ts.map +1 -0
- package/dist/{follow-D6Mg8GHx.d.ts → follow-B3CZ04c0.d.cts} +7 -2
- package/dist/{follow-D6Mg8GHx.d.cts.map → follow-B3CZ04c0.d.cts.map} +1 -1
- package/dist/{follow-D6Mg8GHx.d.cts → follow-B3CZ04c0.d.ts} +7 -2
- package/dist/{follow-D6Mg8GHx.d.ts.map → follow-B3CZ04c0.d.ts.map} +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.d.cts +17 -16
- package/dist/index.d.ts +17 -16
- package/dist/index.js +4 -3
- package/dist/{mobileErrorCodes-B3kTLit_.d.ts → mobileErrorCodes-3LtreeZM.d.cts} +14 -3
- package/dist/mobileErrorCodes-3LtreeZM.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-B3kTLit_.d.cts → mobileErrorCodes-3LtreeZM.d.ts} +14 -3
- package/dist/mobileErrorCodes-3LtreeZM.d.ts.map +1 -0
- package/dist/patterns-3UKIG5IS.d.cts +13 -0
- package/dist/patterns-3UKIG5IS.d.cts.map +1 -0
- package/dist/patterns-3UKIG5IS.d.ts +13 -0
- package/dist/patterns-3UKIG5IS.d.ts.map +1 -0
- package/dist/{payloadHash-Brc5ceFq.d.cts → payloadHash-BOWGjqdb.d.cts} +2 -2
- package/dist/payloadHash-BOWGjqdb.d.cts.map +1 -0
- package/dist/{payloadHash-cZgv7NSo.d.ts → payloadHash-Bzf4CtjV.d.ts} +2 -2
- package/dist/payloadHash-Bzf4CtjV.d.ts.map +1 -0
- package/dist/profileSearch-DCuB-IKD.d.cts +14 -0
- package/dist/profileSearch-DCuB-IKD.d.cts.map +1 -0
- package/dist/profileSearch-DCuB-IKD.d.ts +14 -0
- package/dist/profileSearch-DCuB-IKD.d.ts.map +1 -0
- package/dist/{serverBaseTypes-CWBdZomv.d.ts → serverBaseTypes-DWf3iGWy.d.ts} +2 -2
- package/dist/{serverBaseTypes-CWBdZomv.d.ts.map → serverBaseTypes-DWf3iGWy.d.ts.map} +1 -1
- package/dist/{serverBaseTypes-CcWT_ZBe.d.cts → serverBaseTypes-KREDe2M9.d.cts} +2 -2
- package/dist/{serverBaseTypes-CcWT_ZBe.d.cts.map → serverBaseTypes-KREDe2M9.d.cts.map} +1 -1
- package/dist/{serverExecuteTypes-CgjzwBaA.d.cts → serverExecuteTypes-DVRa6ifu.d.cts} +26 -6
- package/dist/serverExecuteTypes-DVRa6ifu.d.cts.map +1 -0
- package/dist/{serverExecuteTypes-jyr5aO5q.d.ts → serverExecuteTypes-DlYZCp1f.d.ts} +26 -6
- package/dist/serverExecuteTypes-DlYZCp1f.d.ts.map +1 -0
- package/dist/{serverQueryTypes-DPRP61yA.d.ts → serverQueryTypes-BFdwq0Z2.d.ts} +14 -4
- package/dist/serverQueryTypes-BFdwq0Z2.d.ts.map +1 -0
- package/dist/{serverQueryTypes-H_mI6fPl.d.cts → serverQueryTypes-DNdMpmDr.d.cts} +14 -4
- package/dist/serverQueryTypes-DNdMpmDr.d.cts.map +1 -0
- package/dist/{serverRequestTypes-BY0f5woc.d.ts → serverRequestTypes-BNA7FCY6.d.ts} +20 -3
- package/dist/serverRequestTypes-BNA7FCY6.d.ts.map +1 -0
- package/dist/{serverRequestTypes-DGGqQMK3.d.cts → serverRequestTypes-CxDRFKfv.d.cts} +20 -3
- package/dist/serverRequestTypes-CxDRFKfv.d.cts.map +1 -0
- package/dist/{serverResponseGuards-BGHTBbtz.d.ts → serverResponseGuards-BU1Xv_tG.d.ts} +2 -2
- package/dist/{serverResponseGuards-BGHTBbtz.d.ts.map → serverResponseGuards-BU1Xv_tG.d.ts.map} +1 -1
- package/dist/{serverResponseGuards-DGhrUL_c.d.cts → serverResponseGuards-Dkdok0Sm.d.cts} +2 -2
- package/dist/{serverResponseGuards-DGhrUL_c.d.cts.map → serverResponseGuards-Dkdok0Sm.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 +5 -0
- 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 +5 -0
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +2 -1
- 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 +2 -1
- 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.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +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/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.d.cts +8 -8
- package/dist/types/index.d.ts +8 -8
- package/dist/types/mobileErrorCodes.cjs +12 -0
- 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 +12 -0
- 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/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-l47aSWtA.d.cts → types-BCr2G5gS.d.cts} +6 -2
- package/dist/types-BCr2G5gS.d.cts.map +1 -0
- package/dist/{types-B021odcS.d.ts → types-C18k-9Vy.d.ts} +6 -2
- package/dist/types-C18k-9Vy.d.ts.map +1 -0
- package/dist/utils/follow.cjs +6 -0
- package/dist/utils/follow.cjs.map +1 -1
- package/dist/utils/follow.d.cts +2 -2
- package/dist/utils/follow.d.ts +2 -2
- package/dist/utils/follow.js +6 -1
- package/dist/utils/follow.js.map +1 -1
- package/dist/utils/index.cjs +5 -0
- package/dist/utils/index.d.cts +5 -4
- package/dist/utils/index.d.ts +5 -4
- package/dist/utils/index.js +4 -3
- package/dist/utils/patterns.cjs +6 -0
- package/dist/utils/patterns.cjs.map +1 -1
- package/dist/utils/patterns.d.cts +2 -2
- package/dist/utils/patterns.d.ts +2 -2
- package/dist/utils/patterns.js +6 -1
- package/dist/utils/patterns.js.map +1 -1
- package/dist/utils/profileSearch.cjs +17 -0
- package/dist/utils/profileSearch.cjs.map +1 -0
- package/dist/utils/profileSearch.d.cts +2 -0
- package/dist/utils/profileSearch.d.ts +2 -0
- package/dist/utils/profileSearch.js +15 -0
- package/dist/utils/profileSearch.js.map +1 -0
- 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 +65 -0
- package/src/dataMappers.ts +48 -0
- package/src/signing/canonicalize.ts +6 -0
- package/src/signing/eip712MethodByType.ts +1 -0
- package/src/signing/signing.test.ts +34 -0
- package/src/signing/types.ts +7 -0
- package/src/types/clientTypes.ts +65 -0
- package/src/types/mobileErrorCodes.ts +12 -0
- package/src/types/serverExecuteTypes.ts +24 -2
- package/src/types/serverQueryTypes.ts +11 -0
- package/src/types/serverRequestTypes.ts +18 -0
- package/src/utils/follow.ts +6 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/patterns.ts +7 -0
- package/src/utils/profileSearch.ts +11 -0
- package/dist/MobileClient-DjNpN7Dw.cjs.map +0 -1
- package/dist/canonicalize-Cx3lCVpm.d.ts.map +0 -1
- package/dist/canonicalize-DNgB8Jsm.d.cts.map +0 -1
- package/dist/clientTypes-DnPE1zZO.d.cts.map +0 -1
- package/dist/clientTypes-ws9CDHw4.d.ts.map +0 -1
- package/dist/eip712MethodByType-Bmu9PYx6.d.ts.map +0 -1
- package/dist/eip712MethodByType-T7dfjmC_.d.cts.map +0 -1
- package/dist/mobileErrorCodes-B3kTLit_.d.cts.map +0 -1
- package/dist/mobileErrorCodes-B3kTLit_.d.ts.map +0 -1
- package/dist/patterns-BE0Audp5.d.cts +0 -8
- package/dist/patterns-BE0Audp5.d.cts.map +0 -1
- package/dist/patterns-BE0Audp5.d.ts +0 -8
- package/dist/patterns-BE0Audp5.d.ts.map +0 -1
- package/dist/payloadHash-Brc5ceFq.d.cts.map +0 -1
- package/dist/payloadHash-cZgv7NSo.d.ts.map +0 -1
- package/dist/serverExecuteTypes-CgjzwBaA.d.cts.map +0 -1
- package/dist/serverExecuteTypes-jyr5aO5q.d.ts.map +0 -1
- package/dist/serverQueryTypes-DPRP61yA.d.ts.map +0 -1
- package/dist/serverQueryTypes-H_mI6fPl.d.cts.map +0 -1
- package/dist/serverRequestTypes-BY0f5woc.d.ts.map +0 -1
- package/dist/serverRequestTypes-DGGqQMK3.d.cts.map +0 -1
- package/dist/types-B021odcS.d.ts.map +0 -1
- package/dist/types-l47aSWtA.d.cts.map +0 -1
package/dist/types/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { $ as MobileSocialFeedTradeSizeChangeAction, A as MobileServerSocialFeedMarket, B as MobileSocialFeedCohortStatus, C as MobileServerSocialFeedCohort, D as MobileServerSocialFeedItem, E as MobileServerSocialFeedInteraction, F as MobileServerSocialFeedTradeCard, G as MobileSocialFeedPnlMode, H as MobileSocialFeedLeverage, I as MobileServerSocialFeedTradeRow, J as MobileSocialFeedPositionState, K as MobileSocialFeedPnlQuality, L as MobileServerSocialFeedTradeRowBase, M as MobileServerSocialFeedPositionCard, N as MobileServerSocialFeedPositionPatch, O as MobileServerSocialFeedItemBase, P as MobileServerSocialFeedReadSession, Q as MobileSocialFeedTradeCardAction, R as MobileServerSocialFeedTraderBadge, S as MobileServerSocialFeedCapabilities, T as MobileServerSocialFeedCommentPreview, U as MobileSocialFeedMarketCategory, V as MobileSocialFeedHistoryQuality, W as MobileSocialFeedPnlBasis, X as MobileSocialFeedSourceCategory, Y as MobileSocialFeedReadSessionMode, Z as MobileSocialFeedTargetType, _ as MobileServerNotificationCategoryPreference, a as MobileFeedTradePosition, b as MobileServerProfile, c as MobileNotificationCategory, d as MobileServerAvatarSelection, et as MobileSocialFeedTraderBadgeCode, f as MobileServerFeedMargin, g as MobileServerIdentitySummary, h as MobileServerFollowSummary, i as MobileFeedMarginMode, j as MobileServerSocialFeedPnl, k as MobileServerSocialFeedItemPatch, l as MobileNotificationPlatform, m as MobileServerFollowListAccount, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileSocialFeedType, o as MobileFeedTradePositionDirection, p as MobileServerFeedTrade, q as MobileSocialFeedPositionDisplayBasis, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileSocialFeedUnavailableTarget, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, tt as MobileSocialFeedTraderDataStatus, u as MobileServerAvatarPreset, v as MobileServerNotificationPreferenceScope, w as MobileServerSocialFeedCohortCoverage, x as MobileServerSocialFeedAuthor, y as MobileServerNotificationPreferences, z as MobileServerSocialFeedViewTracking } from "../serverModelTypes-DAqEyYtB.cjs";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as
|
|
4
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
5
|
-
import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as
|
|
6
|
-
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as
|
|
7
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-
|
|
8
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
9
|
-
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
2
|
+
import { $ as MobileSocialFeedItemBase, A as MobileNotificationCategoryPreference, B as MobileSetFollowBatchParams, C as MobileFeedTrade, D as MobileFollowMutationResult, E as MobileFollowListPage, F as MobilePublicProfile, G as MobileSocialFeedAuthor, H as MobileSetPrivateModeParams, I as MobileRegisterExpoTokenParams, J as MobileSocialFeedCohort, K as MobileSocialFeedCapabilities, L as MobileRegisteredWallet, M as MobileNotificationPreferences, N as MobileProfileSearchPage, O as MobileFollowSummary, P as MobileProfilesInclude, Q as MobileSocialFeedItem, R as MobileSetAvatarParams, S as MobileFeedPage, St as SearchMobileProfilesParams, T as MobileFollowListAccount, U as MobileSetUsernameParams, V as MobileSetFollowParams, W as MobileSignedRequestParams, X as MobileSocialFeedCommentPreview, Y as MobileSocialFeedCohortCoverage, Z as MobileSocialFeedInteraction, _ as MobileAvatarPreset, _t as MobileSocialFeedViewTracking, a as GetMobileFollowersParams, at as MobileSocialFeedPnl, b as MobileCreateAvatarUploadParams, bt as MobileUsernameAvailability, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedRankedPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTopTradersPage, et as MobileSocialFeedItemPatch, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTradeCard, g as GetMobileUsernameAvailabilityParams, gt as MobileSocialFeedUpdates, h as GetMobileTopTradersFeedParams, ht as MobileSocialFeedTraderBadge, i as GetMobileFollowListParams, it as MobileSocialFeedPage, j as MobileNotificationPreferenceScope, k as MobileIdentitySummary, l as GetMobileMarketFeedParams, lt as MobileSocialFeedReadParams, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedTradeRowBase, n as GetMobileFeedParams, nt as MobileSocialFeedListParams, o as GetMobileFollowingParams, ot as MobileSocialFeedPositionCard, p as GetMobileProfilesParams, pt as MobileSocialFeedTradeRow, q as MobileSocialFeedCategorizedParams, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedMarket, s as GetMobileForYouFeedParams, st as MobileSocialFeedPositionPatch, t as GetMobileFeedItemParams, tt as MobileSocialFeedItemResponse, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedReadSession, v as MobileAvatarSelection, vt as MobileUnregisterExpoTokenParams, w as MobileFollowBatchResultItem, x as MobileFeedMargin, xt as MobileWithExpoTokenParams, y as MobileAvatarUpload, yt as MobileUpdateNotificationPreferencesParams, z as MobileSetBioParams } from "../clientTypes-BWFKo9oE.cjs";
|
|
3
|
+
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-CxDRFKfv.cjs";
|
|
4
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-KREDe2M9.cjs";
|
|
5
|
+
import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DVRa6ifu.cjs";
|
|
6
|
+
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-DNdMpmDr.cjs";
|
|
7
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.cjs";
|
|
8
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-Bpa_WA9f.cjs";
|
|
9
|
+
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { $ as MobileSocialFeedTradeSizeChangeAction, A as MobileServerSocialFeedMarket, B as MobileSocialFeedCohortStatus, C as MobileServerSocialFeedCohort, D as MobileServerSocialFeedItem, E as MobileServerSocialFeedInteraction, F as MobileServerSocialFeedTradeCard, G as MobileSocialFeedPnlMode, H as MobileSocialFeedLeverage, I as MobileServerSocialFeedTradeRow, J as MobileSocialFeedPositionState, K as MobileSocialFeedPnlQuality, L as MobileServerSocialFeedTradeRowBase, M as MobileServerSocialFeedPositionCard, N as MobileServerSocialFeedPositionPatch, O as MobileServerSocialFeedItemBase, P as MobileServerSocialFeedReadSession, Q as MobileSocialFeedTradeCardAction, R as MobileServerSocialFeedTraderBadge, S as MobileServerSocialFeedCapabilities, T as MobileServerSocialFeedCommentPreview, U as MobileSocialFeedMarketCategory, V as MobileSocialFeedHistoryQuality, W as MobileSocialFeedPnlBasis, X as MobileSocialFeedSourceCategory, Y as MobileSocialFeedReadSessionMode, Z as MobileSocialFeedTargetType, _ as MobileServerNotificationCategoryPreference, a as MobileFeedTradePosition, b as MobileServerProfile, c as MobileNotificationCategory, d as MobileServerAvatarSelection, et as MobileSocialFeedTraderBadgeCode, f as MobileServerFeedMargin, g as MobileServerIdentitySummary, h as MobileServerFollowSummary, i as MobileFeedMarginMode, j as MobileServerSocialFeedPnl, k as MobileServerSocialFeedItemPatch, l as MobileNotificationPlatform, m as MobileServerFollowListAccount, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileSocialFeedType, o as MobileFeedTradePositionDirection, p as MobileServerFeedTrade, q as MobileSocialFeedPositionDisplayBasis, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileSocialFeedUnavailableTarget, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, tt as MobileSocialFeedTraderDataStatus, u as MobileServerAvatarPreset, v as MobileServerNotificationPreferenceScope, w as MobileServerSocialFeedCohortCoverage, x as MobileServerSocialFeedAuthor, y as MobileServerNotificationPreferences, z as MobileServerSocialFeedViewTracking } from "../serverModelTypes-DAqEyYtB.js";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as
|
|
4
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
5
|
-
import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as
|
|
6
|
-
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as
|
|
7
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-
|
|
8
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
9
|
-
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams };
|
|
2
|
+
import { $ as MobileSocialFeedItemBase, A as MobileNotificationCategoryPreference, B as MobileSetFollowBatchParams, C as MobileFeedTrade, D as MobileFollowMutationResult, E as MobileFollowListPage, F as MobilePublicProfile, G as MobileSocialFeedAuthor, H as MobileSetPrivateModeParams, I as MobileRegisterExpoTokenParams, J as MobileSocialFeedCohort, K as MobileSocialFeedCapabilities, L as MobileRegisteredWallet, M as MobileNotificationPreferences, N as MobileProfileSearchPage, O as MobileFollowSummary, P as MobileProfilesInclude, Q as MobileSocialFeedItem, R as MobileSetAvatarParams, S as MobileFeedPage, St as SearchMobileProfilesParams, T as MobileFollowListAccount, U as MobileSetUsernameParams, V as MobileSetFollowParams, W as MobileSignedRequestParams, X as MobileSocialFeedCommentPreview, Y as MobileSocialFeedCohortCoverage, Z as MobileSocialFeedInteraction, _ as MobileAvatarPreset, _t as MobileSocialFeedViewTracking, a as GetMobileFollowersParams, at as MobileSocialFeedPnl, b as MobileCreateAvatarUploadParams, bt as MobileUsernameAvailability, c as GetMobileFriendsFeedParams, ct as MobileSocialFeedRankedPage, d as GetMobilePositionFeedParams, dt as MobileSocialFeedTopTradersPage, et as MobileSocialFeedItemPatch, f as GetMobileProfileFeedParams, ft as MobileSocialFeedTradeCard, g as GetMobileUsernameAvailabilityParams, gt as MobileSocialFeedUpdates, h as GetMobileTopTradersFeedParams, ht as MobileSocialFeedTraderBadge, i as GetMobileFollowListParams, it as MobileSocialFeedPage, j as MobileNotificationPreferenceScope, k as MobileIdentitySummary, l as GetMobileMarketFeedParams, lt as MobileSocialFeedReadParams, m as GetMobileRegisteredWalletParams, mt as MobileSocialFeedTradeRowBase, n as GetMobileFeedParams, nt as MobileSocialFeedListParams, o as GetMobileFollowingParams, ot as MobileSocialFeedPositionCard, p as GetMobileProfilesParams, pt as MobileSocialFeedTradeRow, q as MobileSocialFeedCategorizedParams, r as GetMobileFeedUpdatesParams, rt as MobileSocialFeedMarket, s as GetMobileForYouFeedParams, st as MobileSocialFeedPositionPatch, t as GetMobileFeedItemParams, tt as MobileSocialFeedItemResponse, u as GetMobileNotificationPreferencesParams, ut as MobileSocialFeedReadSession, v as MobileAvatarSelection, vt as MobileUnregisterExpoTokenParams, w as MobileFollowBatchResultItem, x as MobileFeedMargin, xt as MobileWithExpoTokenParams, y as MobileAvatarUpload, yt as MobileUpdateNotificationPreferencesParams, z as MobileSetBioParams } from "../clientTypes-DCTiUV0H.js";
|
|
3
|
+
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-BNA7FCY6.js";
|
|
4
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-DWf3iGWy.js";
|
|
5
|
+
import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DlYZCp1f.js";
|
|
6
|
+
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-BFdwq0Z2.js";
|
|
7
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.js";
|
|
8
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-Dd3c6P_Z.js";
|
|
9
|
+
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileServerAvatarPreset, MobileServerAvatarPresetsResponse, MobileServerAvatarSelection, MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteRequestType, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFailureError, MobileServerFailureResponse, MobileServerFeedMargin, MobileServerFeedResponse, MobileServerFeedTrade, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowListAccount, MobileServerFollowListRequest, MobileServerFollowListResponse, MobileServerFollowMutationResponse, MobileServerFollowSummary, MobileServerIdentitySummary, MobileServerNotificationCategoryPreference, MobileServerNotificationPreferenceScope, MobileServerNotificationPreferences, MobileServerNotificationPreferencesResponse, MobileServerProfile, MobileServerProfilesInclude, MobileServerProfilesResponse, MobileServerPublicExecuteRequest, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedHistoryQuality, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionCard, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionPatch, MobileSocialFeedPositionState, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
|
|
@@ -15,6 +15,16 @@ const MOBILE_ERROR_CODES = {
|
|
|
15
15
|
PROFILE_NOT_FOUND: 6106,
|
|
16
16
|
/** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
|
|
17
17
|
INVALID_PROFILES_REQUEST: 6107,
|
|
18
|
+
/**
|
|
19
|
+
* Profile search query is outside the username alphabet or length, or its limit is out of range. Do not
|
|
20
|
+
* retry unchanged.
|
|
21
|
+
*/
|
|
22
|
+
INVALID_PROFILE_SEARCH_REQUEST: 6108,
|
|
23
|
+
/**
|
|
24
|
+
* Profile search cursor is malformed, oversized, or was issued for a different query. Restart from
|
|
25
|
+
* `cursor: undefined`.
|
|
26
|
+
*/
|
|
27
|
+
INVALID_PROFILE_SEARCH_CURSOR: 6109,
|
|
18
28
|
/** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
|
|
19
29
|
INVALID_FOLLOW_TARGET: 6110,
|
|
20
30
|
/** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
|
|
@@ -29,6 +39,8 @@ const MOBILE_ERROR_CODES = {
|
|
|
29
39
|
INVALID_BIO: 6115,
|
|
30
40
|
/** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */
|
|
31
41
|
INVALID_AVATAR: 6116,
|
|
42
|
+
/** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
|
|
43
|
+
INVALID_FOLLOW_BATCH: 6117,
|
|
32
44
|
INVALID_EXPO_TOKEN: 6200,
|
|
33
45
|
INVALID_DEVICE_METADATA: 6201,
|
|
34
46
|
INVALID_PREFERENCES: 6202,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobileErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes.cjs","names":["NADO_ERROR_CODES"],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,2BAAGA,EAAAA;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,8BAA8B;;CAE9B,2BAA2B;AAC7B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-
|
|
1
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.cjs";
|
|
2
2
|
export { MOBILE_ERROR_CODES, MobileErrorCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-
|
|
1
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-3LtreeZM.js";
|
|
2
2
|
export { MOBILE_ERROR_CODES, MobileErrorCode };
|
|
@@ -15,6 +15,16 @@ const MOBILE_ERROR_CODES = {
|
|
|
15
15
|
PROFILE_NOT_FOUND: 6106,
|
|
16
16
|
/** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
|
|
17
17
|
INVALID_PROFILES_REQUEST: 6107,
|
|
18
|
+
/**
|
|
19
|
+
* Profile search query is outside the username alphabet or length, or its limit is out of range. Do not
|
|
20
|
+
* retry unchanged.
|
|
21
|
+
*/
|
|
22
|
+
INVALID_PROFILE_SEARCH_REQUEST: 6108,
|
|
23
|
+
/**
|
|
24
|
+
* Profile search cursor is malformed, oversized, or was issued for a different query. Restart from
|
|
25
|
+
* `cursor: undefined`.
|
|
26
|
+
*/
|
|
27
|
+
INVALID_PROFILE_SEARCH_CURSOR: 6109,
|
|
18
28
|
/** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
|
|
19
29
|
INVALID_FOLLOW_TARGET: 6110,
|
|
20
30
|
/** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
|
|
@@ -29,6 +39,8 @@ const MOBILE_ERROR_CODES = {
|
|
|
29
39
|
INVALID_BIO: 6115,
|
|
30
40
|
/** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */
|
|
31
41
|
INVALID_AVATAR: 6116,
|
|
42
|
+
/** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
|
|
43
|
+
INVALID_FOLLOW_BATCH: 6117,
|
|
32
44
|
INVALID_EXPO_TOKEN: 6200,
|
|
33
45
|
INVALID_DEVICE_METADATA: 6201,
|
|
34
46
|
INVALID_PREFERENCES: 6202,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobileErrorCodes.js","names":[],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,GAAG;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes.js","names":[],"sources":["../../src/types/mobileErrorCodes.ts"],"sourcesContent":["import { NADO_ERROR_CODES } from '@nadohq/shared';\n\n/**\n * Numeric error codes returned by the mobile service API. Identity codes (61xx), notification codes (62xx),\n * and feed codes (63xx) are mobile-specific; the remaining codes are shared cross-service codes from the\n * backend's common error enum, inlined via spread from {@link NADO_ERROR_CODES}.\n */\nexport const MOBILE_ERROR_CODES = {\n ...NADO_ERROR_CODES,\n INVALID_DISPLAY_NAME: 6100,\n USERNAME_UNAVAILABLE: 6101,\n INVALID_IDENTITY_TARGET: 6104,\n /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */\n STALE_IDENTITY_UPDATE: 6105,\n PROFILE_NOT_FOUND: 6106,\n /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_PROFILES_REQUEST: 6107,\n /**\n * Profile search query is outside the username alphabet or length, or its limit is out of range. Do not\n * retry unchanged.\n */\n INVALID_PROFILE_SEARCH_REQUEST: 6108,\n /**\n * Profile search cursor is malformed, oversized, or was issued for a different query. Restart from\n * `cursor: undefined`.\n */\n INVALID_PROFILE_SEARCH_CURSOR: 6109,\n /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */\n INVALID_FOLLOW_TARGET: 6110,\n /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */\n FOLLOWER_NOT_ELIGIBLE: 6111,\n /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */\n FOLLOWING_NOT_FOUND: 6112,\n /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */\n INVALID_FOLLOW_CURSOR: 6113,\n /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */\n INVALID_FOLLOW_LIMIT: 6114,\n /** Biography exceeds the maximum length or contains a null character. */\n INVALID_BIO: 6115,\n /** Invalid preset, upload size, staging key, or image. Correct the selection before retrying. */\n INVALID_AVATAR: 6116,\n /** Follow batch is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */\n INVALID_FOLLOW_BATCH: 6117,\n INVALID_EXPO_TOKEN: 6200,\n INVALID_DEVICE_METADATA: 6201,\n INVALID_PREFERENCES: 6202,\n /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */\n INVALID_FEED_FILTER: 6300,\n /** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */\n INVALID_FEED_CURSOR: 6301,\n /** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */\n INVALID_SOCIAL_FEED_PARAMS: 6310,\n /** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */\n SOCIAL_FEED_SESSION_MISMATCH: 6311,\n /** Reading session or browsing credential is expired, missing, or incompatible; create a new session. */\n SOCIAL_FEED_SESSION_EXPIRED: 6312,\n /** Content does not exist or is not currently accessible. */\n SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Feed reads are only available through public_query. */\n SOCIAL_FEED_QUERY_REMOVED: 6325,\n} as const;\n\n/**\n * Union of all known mobile service API error codes.\n */\nexport type MobileErrorCode =\n (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];\n"],"mappings":";;;;;;;AAOA,MAAa,qBAAqB;CAChC,GAAG;CACH,sBAAsB;CACtB,sBAAsB;CACtB,yBAAyB;;CAEzB,uBAAuB;CACvB,mBAAmB;;CAEnB,0BAA0B;;;;;CAK1B,gCAAgC;;;;;CAKhC,+BAA+B;;CAE/B,uBAAuB;;CAEvB,uBAAuB;;CAEvB,qBAAqB;;CAErB,uBAAuB;;CAEvB,sBAAsB;;CAEtB,aAAa;;CAEb,gBAAgB;;CAEhB,sBAAsB;CACtB,oBAAoB;CACpB,yBAAyB;CACzB,qBAAqB;;CAErB,qBAAqB;;CAErB,qBAAqB;;CAErB,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,8BAA8B;;CAE9B,2BAA2B;AAC7B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
1
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-KREDe2M9.cjs";
|
|
2
2
|
export { MobileServerFailureResponse, MobileServerSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
1
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-DWf3iGWy.js";
|
|
2
2
|
export { MobileServerFailureResponse, MobileServerSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as
|
|
2
|
-
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
|
|
1
|
+
import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DVRa6ifu.cjs";
|
|
2
|
+
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileServerExecuteSuccessResponse, i as MobileServerExecuteResult, n as MobileServerEmptyExecuteResponse, o as
|
|
2
|
-
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
|
|
1
|
+
import { a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse } from "../serverExecuteTypes-DlYZCp1f.js";
|
|
2
|
+
export { MobileServerAvatarUploadResponse, MobileServerEmptyExecuteResponse, MobileServerExecuteResponseByType, MobileServerExecuteResult, MobileServerExecuteSuccessResponse, MobileServerFollowBatchResponse, MobileServerFollowBatchResultItem, MobileServerFollowMutationResponse, MobileServerPublicExecuteRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as
|
|
2
|
-
export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
|
|
1
|
+
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-DNdMpmDr.cjs";
|
|
2
|
+
export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSearchProfilesResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as
|
|
2
|
-
export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
|
|
1
|
+
import { a as MobileServerProfilesResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedItemResponse, f as MobileServerSocialFeedRankedResponse, g as MobileServerUsernameAvailabilityResponse, h as MobileServerSocialFeedUpdatesResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedTopTradersResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse } from "../serverQueryTypes-BFdwq0Z2.js";
|
|
2
|
+
export { MobileServerAvatarPresetsResponse, MobileServerFeedResponse, MobileServerFollowListResponse, MobileServerNotificationPreferencesResponse, MobileServerProfilesResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerSearchProfilesResponse, MobileServerSocialFeedItemResponse, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedResponse, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedUpdatesResponse, MobileServerUsernameAvailabilityResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as
|
|
2
|
-
export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
|
|
1
|
+
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-CxDRFKfv.cjs";
|
|
2
|
+
export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as
|
|
2
|
-
export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
|
|
1
|
+
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, d as MobileServerSocialFeedListParams, f as MobileServerSocialFeedReadParams, i as MobileServerPublicExecuteRequestByType, l as MobileServerSearchProfilesRequest, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType, u as MobileServerSocialFeedCategorizedParams } from "../serverRequestTypes-BNA7FCY6.js";
|
|
2
|
+
export { MobileServerExecuteRequestType, MobileServerFollowListRequest, MobileServerProfilesInclude, MobileServerPublicExecuteRequestByType, MobileServerPublicExecuteRequestType, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedListParams, MobileServerSocialFeedReadParams };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as MobileServerAvatarSelection, l as MobileNotificationPlatform } from "./serverModelTypes-DAqEyYtB.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { W as MobileSignedRequestParams } from "./clientTypes-BWFKo9oE.cjs";
|
|
3
3
|
import { WalletClientWithAccount } from "@nadohq/shared";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
@@ -43,6 +43,10 @@ type MobileSignedInner = {
|
|
|
43
43
|
type: 'set_follow';
|
|
44
44
|
subaccount: Hex; /** `true` follows the target, `false` unfollows it. Both directions are idempotent. */
|
|
45
45
|
is_following: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
type: 'set_follow_batch'; /** Distinct targets in request order; the response keeps this order. */
|
|
48
|
+
subaccounts: Hex[]; /** `true` follows every target, `false` unfollows every target. Both directions are idempotent. */
|
|
49
|
+
is_following: boolean;
|
|
46
50
|
};
|
|
47
51
|
/**
|
|
48
52
|
* The single {@link MobileSignedInner} member carrying the given `type` tag.
|
|
@@ -77,4 +81,4 @@ interface BuildSignedMobileRequestParams extends MobileSignedRequestParams {
|
|
|
77
81
|
}
|
|
78
82
|
//#endregion
|
|
79
83
|
export { MobileSignedRequest as a, MobileSignedInnerParams as i, MobileSignedInner as n, MobileSignedInnerByType as r, BuildSignedMobileRequestParams as t };
|
|
80
|
-
//# sourceMappingURL=types-
|
|
84
|
+
//# sourceMappingURL=types-BCr2G5gS.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-BCr2G5gS.d.cts","names":[],"sources":["../src/signing/src/signing/types.ts"],"mappings":";;;;;;;;AAsBA;;;;;;;;;;;;KAAY,iBAAA;EACN,IAAA;EAAiB,GAAA;AAAA;EACjB,IAAA;EAA8B,cAAA;AAAA;EAE9B,IAAA;EACA,MAAA,EAAQ,2BAAA;AAAA;EAER,IAAA;EAAsB,YAAA;AAAA;EACtB,IAAA;EAA0B,YAAA;AAAA;EAE1B,IAAA;EACA,UAAA;EACA,QAAA,EAAU,0BAAA;EAGV,MAAA;EACA,WAAA;AAAA;EAGA,IAAA;EACA,UAAA,EAAY,GAAA,EAeN;EAbN,YAAA;AAAA;EAGA,IAAA,sBAWI;EATJ,WAAA,EAAa,GAAA,IASjB;EAPI,YAAA;AAAA;;;;KAMM,uBAAA,WAAkC,iBAAA,YAC5C,OAAA,CAAQ,iBAAA;EAAqB,IAAA,EAAM,CAAA;AAAA;;AAAC;AAMtC;;KAAY,uBAAA,WAAkC,iBAAA,YAA6B,IAAA,CACzE,uBAAA,CAAwB,CAAA;;;;;KAQd,mBAAA,WACA,iBAAA,GAAoB,iBAAA,IAC5B,CAAA;EACF,SAAA,EAAW,GAAA;EACX,MAAA,EAAQ,GAAA;EACR,KAAA;AAAA;;;;UAMe,8BAAA,SAAuC,yBAAA;EACtD,YAAA,EAAc,uBAAA;EACd,KAAA,EAAO,iBAAA;EAbsB;;;EAiB7B,KAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as MobileServerAvatarSelection, l as MobileNotificationPlatform } from "./serverModelTypes-DAqEyYtB.js";
|
|
2
|
-
import {
|
|
2
|
+
import { W as MobileSignedRequestParams } from "./clientTypes-DCTiUV0H.js";
|
|
3
3
|
import { WalletClientWithAccount } from "@nadohq/shared";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
@@ -43,6 +43,10 @@ type MobileSignedInner = {
|
|
|
43
43
|
type: 'set_follow';
|
|
44
44
|
subaccount: Hex; /** `true` follows the target, `false` unfollows it. Both directions are idempotent. */
|
|
45
45
|
is_following: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
type: 'set_follow_batch'; /** Distinct targets in request order; the response keeps this order. */
|
|
48
|
+
subaccounts: Hex[]; /** `true` follows every target, `false` unfollows every target. Both directions are idempotent. */
|
|
49
|
+
is_following: boolean;
|
|
46
50
|
};
|
|
47
51
|
/**
|
|
48
52
|
* The single {@link MobileSignedInner} member carrying the given `type` tag.
|
|
@@ -77,4 +81,4 @@ interface BuildSignedMobileRequestParams extends MobileSignedRequestParams {
|
|
|
77
81
|
}
|
|
78
82
|
//#endregion
|
|
79
83
|
export { MobileSignedRequest as a, MobileSignedInnerParams as i, MobileSignedInner as n, MobileSignedInnerByType as r, BuildSignedMobileRequestParams as t };
|
|
80
|
-
//# sourceMappingURL=types-
|
|
84
|
+
//# sourceMappingURL=types-C18k-9Vy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-C18k-9Vy.d.ts","names":[],"sources":["../src/signing/src/signing/types.ts"],"mappings":";;;;;;;;AAsBA;;;;;;;;;;;;KAAY,iBAAA;EACN,IAAA;EAAiB,GAAA;AAAA;EACjB,IAAA;EAA8B,cAAA;AAAA;EAE9B,IAAA;EACA,MAAA,EAAQ,2BAAA;AAAA;EAER,IAAA;EAAsB,YAAA;AAAA;EACtB,IAAA;EAA0B,YAAA;AAAA;EAE1B,IAAA;EACA,UAAA;EACA,QAAA,EAAU,0BAAA;EAGV,MAAA;EACA,WAAA;AAAA;EAGA,IAAA;EACA,UAAA,EAAY,GAAA,EAeN;EAbN,YAAA;AAAA;EAGA,IAAA,sBAWI;EATJ,WAAA,EAAa,GAAA,IASjB;EAPI,YAAA;AAAA;;;;KAMM,uBAAA,WAAkC,iBAAA,YAC5C,OAAA,CAAQ,iBAAA;EAAqB,IAAA,EAAM,CAAA;AAAA;;AAAC;AAMtC;;KAAY,uBAAA,WAAkC,iBAAA,YAA6B,IAAA,CACzE,uBAAA,CAAwB,CAAA;;;;;KAQd,mBAAA,WACA,iBAAA,GAAoB,iBAAA,IAC5B,CAAA;EACF,SAAA,EAAW,GAAA;EACX,MAAA,EAAQ,GAAA;EACR,KAAA;AAAA;;;;UAMe,8BAAA,SAAuC,yBAAA;EACtD,YAAA,EAAc,uBAAA;EACd,KAAA,EAAO,iBAAA;EAbsB;;;EAiB7B,KAAA;AAAA"}
|
package/dist/utils/follow.cjs
CHANGED
|
@@ -19,8 +19,14 @@ const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;
|
|
|
19
19
|
* this many fail with `INVALID_PROFILES_REQUEST`.
|
|
20
20
|
*/
|
|
21
21
|
const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;
|
|
22
|
+
/**
|
|
23
|
+
* Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many
|
|
24
|
+
* fail with `INVALID_FOLLOW_BATCH`.
|
|
25
|
+
*/
|
|
26
|
+
const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;
|
|
22
27
|
//#endregion
|
|
23
28
|
exports.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = MOBILE_FOLLOWED_BY_PREVIEW_LIMIT;
|
|
29
|
+
exports.MOBILE_FOLLOW_BATCH_MAX_SIZE = MOBILE_FOLLOW_BATCH_MAX_SIZE;
|
|
24
30
|
exports.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE;
|
|
25
31
|
exports.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE;
|
|
26
32
|
exports.MOBILE_PROFILES_MAX_BATCH_SIZE = MOBILE_PROFILES_MAX_BATCH_SIZE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"follow.cjs","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n"],"mappings":";;;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC"}
|
|
1
|
+
{"version":3,"file":"follow.cjs","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n\n/**\n * Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many\n * fail with `INVALID_FOLLOW_BATCH`.\n */\nexport const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;\n"],"mappings":";;;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC;;;;;AAM9C,MAAa,+BAA+B"}
|
package/dist/utils/follow.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
|
|
1
|
+
import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.cjs";
|
|
2
|
+
export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
|
package/dist/utils/follow.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
|
|
1
|
+
import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.js";
|
|
2
|
+
export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
|
package/dist/utils/follow.js
CHANGED
|
@@ -18,7 +18,12 @@ const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;
|
|
|
18
18
|
* this many fail with `INVALID_PROFILES_REQUEST`.
|
|
19
19
|
*/
|
|
20
20
|
const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many
|
|
23
|
+
* fail with `INVALID_FOLLOW_BATCH`.
|
|
24
|
+
*/
|
|
25
|
+
const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;
|
|
21
26
|
//#endregion
|
|
22
|
-
export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
|
|
27
|
+
export { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE };
|
|
23
28
|
|
|
24
29
|
//# sourceMappingURL=follow.js.map
|
package/dist/utils/follow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"follow.js","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n"],"mappings":";;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC"}
|
|
1
|
+
{"version":3,"file":"follow.js","names":[],"sources":["../../src/utils/follow.ts"],"sourcesContent":["/**\n * Maximum Followers/Following page size the backend accepts. Requests outside 1–50 fail with\n * `INVALID_FOLLOW_LIMIT`.\n */\nexport const MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = 50;\n\n/**\n * Page size the backend uses when `limit` is omitted from a Followers or Following request.\n */\nexport const MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = 25;\n\n/**\n * Number of Followed By preview identities a follow summary carries. Fixed by the backend rather than\n * requested, so use it to size the preview UI; `followedByCount` still reports the full intersection.\n */\nexport const MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = 2;\n\n/**\n * Maximum number of subaccounts a single profiles lookup accepts. An empty list, a duplicate, or more than\n * this many fail with `INVALID_PROFILES_REQUEST`.\n */\nexport const MOBILE_PROFILES_MAX_BATCH_SIZE = 25;\n\n/**\n * Maximum number of targets a single follow batch accepts. An empty list, a duplicate, or more than this many\n * fail with `INVALID_FOLLOW_BATCH`.\n */\nexport const MOBILE_FOLLOW_BATCH_MAX_SIZE = 25;\n"],"mappings":";;;;;AAIA,MAAa,mCAAmC;;;;AAKhD,MAAa,uCAAuC;;;;;AAMpD,MAAa,mCAAmC;;;;;AAMhD,MAAa,iCAAiC;;;;;AAM9C,MAAa,+BAA+B"}
|
package/dist/utils/index.cjs
CHANGED
|
@@ -4,15 +4,20 @@ const require_utils_feed = require("./feed.cjs");
|
|
|
4
4
|
const require_utils_follow = require("./follow.cjs");
|
|
5
5
|
const require_utils_patterns = require("./patterns.cjs");
|
|
6
6
|
const require_utils_profile = require("./profile.cjs");
|
|
7
|
+
const require_utils_profileSearch = require("./profileSearch.cjs");
|
|
7
8
|
exports.MOBILE_AVATAR_MAX_UPLOAD_BYTES = require_utils_profile.MOBILE_AVATAR_MAX_UPLOAD_BYTES;
|
|
8
9
|
exports.MOBILE_BIO_MAX_LENGTH = require_utils_profile.MOBILE_BIO_MAX_LENGTH;
|
|
9
10
|
exports.MOBILE_DISPLAY_NAME_PATTERN = require_utils_patterns.MOBILE_DISPLAY_NAME_PATTERN;
|
|
10
11
|
exports.MOBILE_FEED_MAX_PAGE_SIZE = require_utils_feed.MOBILE_FEED_MAX_PAGE_SIZE;
|
|
11
12
|
exports.MOBILE_FEED_MIN_NOTIONAL_FLOOR = require_utils_feed.MOBILE_FEED_MIN_NOTIONAL_FLOOR;
|
|
12
13
|
exports.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT = require_utils_follow.MOBILE_FOLLOWED_BY_PREVIEW_LIMIT;
|
|
14
|
+
exports.MOBILE_FOLLOW_BATCH_MAX_SIZE = require_utils_follow.MOBILE_FOLLOW_BATCH_MAX_SIZE;
|
|
13
15
|
exports.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE;
|
|
14
16
|
exports.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE = require_utils_follow.MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE;
|
|
15
17
|
exports.MOBILE_PROFILES_MAX_BATCH_SIZE = require_utils_follow.MOBILE_PROFILES_MAX_BATCH_SIZE;
|
|
18
|
+
exports.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = require_utils_profileSearch.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE;
|
|
19
|
+
exports.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = require_utils_profileSearch.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE;
|
|
20
|
+
exports.MOBILE_PROFILE_SEARCH_QUERY_PATTERN = require_utils_patterns.MOBILE_PROFILE_SEARCH_QUERY_PATTERN;
|
|
16
21
|
exports.isMobileServerFailureResponse = require_utils_serverResponseGuards.isMobileServerFailureResponse;
|
|
17
22
|
exports.isMobileServerSuccessResponse = require_utils_serverResponseGuards.isMobileServerSuccessResponse;
|
|
18
23
|
exports.isValidMobileBio = require_utils_profile.isValidMobileBio;
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "../feed-DTJlsg8W.cjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-
|
|
2
|
+
import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.cjs";
|
|
3
|
+
import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.cjs";
|
|
4
4
|
import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "../profile-BozA3yVP.cjs";
|
|
5
|
-
import { n as
|
|
6
|
-
|
|
5
|
+
import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "../profileSearch-DCuB-IKD.cjs";
|
|
6
|
+
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-Dkdok0Sm.cjs";
|
|
7
|
+
export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "../feed-DTJlsg8W.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-
|
|
2
|
+
import { a as MOBILE_PROFILES_MAX_BATCH_SIZE, i as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, n as MOBILE_FOLLOW_BATCH_MAX_SIZE, r as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "../follow-B3CZ04c0.js";
|
|
3
|
+
import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.js";
|
|
4
4
|
import { n as MOBILE_BIO_MAX_LENGTH, r as isValidMobileBio, t as MOBILE_AVATAR_MAX_UPLOAD_BYTES } from "../profile-BozA3yVP.js";
|
|
5
|
-
import { n as
|
|
6
|
-
|
|
5
|
+
import { n as MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, t as MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE } from "../profileSearch-DCuB-IKD.js";
|
|
6
|
+
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "../serverResponseGuards-BU1Xv_tG.js";
|
|
7
|
+
export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { isMobileServerFailureResponse, isMobileServerSuccessResponse } from "./serverResponseGuards.js";
|
|
2
2
|
import { MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR } from "./feed.js";
|
|
3
|
-
import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./follow.js";
|
|
4
|
-
import { MOBILE_DISPLAY_NAME_PATTERN } from "./patterns.js";
|
|
3
|
+
import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./follow.js";
|
|
4
|
+
import { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN } from "./patterns.js";
|
|
5
5
|
import { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, isValidMobileBio } from "./profile.js";
|
|
6
|
-
|
|
6
|
+
import { MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE } from "./profileSearch.js";
|
|
7
|
+
export { MOBILE_AVATAR_MAX_UPLOAD_BYTES, MOBILE_BIO_MAX_LENGTH, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_BATCH_MAX_SIZE, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE, MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE, MOBILE_PROFILE_SEARCH_QUERY_PATTERN, isMobileServerFailureResponse, isMobileServerSuccessResponse, isValidMobileBio };
|
package/dist/utils/patterns.cjs
CHANGED
|
@@ -4,7 +4,13 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
4
4
|
* Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.
|
|
5
5
|
*/
|
|
6
6
|
const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;
|
|
7
|
+
/**
|
|
8
|
+
* Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`
|
|
9
|
+
* or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.
|
|
10
|
+
*/
|
|
11
|
+
const MOBILE_PROFILE_SEARCH_QUERY_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;
|
|
7
12
|
//#endregion
|
|
8
13
|
exports.MOBILE_DISPLAY_NAME_PATTERN = MOBILE_DISPLAY_NAME_PATTERN;
|
|
14
|
+
exports.MOBILE_PROFILE_SEARCH_QUERY_PATTERN = MOBILE_PROFILE_SEARCH_QUERY_PATTERN;
|
|
9
15
|
|
|
10
16
|
//# sourceMappingURL=patterns.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.cjs","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n"],"mappings":";;;;;AAGA,MAAa,8BAA8B"}
|
|
1
|
+
{"version":3,"file":"patterns.cjs","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n\n/**\n * Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`\n * or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.\n */\nexport const MOBILE_PROFILE_SEARCH_QUERY_PATTERN =\n /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;\n"],"mappings":";;;;;AAGA,MAAa,8BAA8B;;;;;AAM3C,MAAa,sCACX"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-
|
|
2
|
-
export { MOBILE_DISPLAY_NAME_PATTERN };
|
|
1
|
+
import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.cjs";
|
|
2
|
+
export { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN };
|
package/dist/utils/patterns.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-
|
|
2
|
-
export { MOBILE_DISPLAY_NAME_PATTERN };
|
|
1
|
+
import { n as MOBILE_PROFILE_SEARCH_QUERY_PATTERN, t as MOBILE_DISPLAY_NAME_PATTERN } from "../patterns-3UKIG5IS.js";
|
|
2
|
+
export { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN };
|
package/dist/utils/patterns.js
CHANGED
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
* Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.
|
|
4
4
|
*/
|
|
5
5
|
const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;
|
|
6
|
+
/**
|
|
7
|
+
* Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`
|
|
8
|
+
* or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.
|
|
9
|
+
*/
|
|
10
|
+
const MOBILE_PROFILE_SEARCH_QUERY_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;
|
|
6
11
|
//#endregion
|
|
7
|
-
export { MOBILE_DISPLAY_NAME_PATTERN };
|
|
12
|
+
export { MOBILE_DISPLAY_NAME_PATTERN, MOBILE_PROFILE_SEARCH_QUERY_PATTERN };
|
|
8
13
|
|
|
9
14
|
//# sourceMappingURL=patterns.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patterns.js","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n"],"mappings":";;;;AAGA,MAAa,8BAA8B"}
|
|
1
|
+
{"version":3,"file":"patterns.js","names":[],"sources":["../../src/utils/patterns.ts"],"sourcesContent":["/**\n * Validates a display name: 3-20 ASCII characters from `[A-Za-z0-9_.]`, allowed in any position.\n */\nexport const MOBILE_DISPLAY_NAME_PATTERN = /^[A-Za-z0-9_.]{3,20}$/;\n\n/**\n * Validates a profile search query: 1-20 ASCII characters, a letter or digit first, then letters, digits, `_`\n * or `.`. The backend lowercases letters and trims nothing, so a prefix shorter than a full username matches.\n */\nexport const MOBILE_PROFILE_SEARCH_QUERY_PATTERN =\n /^[A-Za-z0-9][A-Za-z0-9_.]{0,19}$/;\n"],"mappings":";;;;AAGA,MAAa,8BAA8B;;;;;AAM3C,MAAa,sCACX"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/utils/profileSearch.ts
|
|
3
|
+
/**
|
|
4
|
+
* Maximum profile search page size without an `include`. Requests outside 1-50 fail with
|
|
5
|
+
* `INVALID_PROFILE_SEARCH_REQUEST`.
|
|
6
|
+
*/
|
|
7
|
+
const MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = 50;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum profile search page size when `include` asks for follow data, matching
|
|
10
|
+
* `MOBILE_PROFILES_MAX_BATCH_SIZE`. Requests outside 1-25 fail with `INVALID_PROFILE_SEARCH_REQUEST`.
|
|
11
|
+
*/
|
|
12
|
+
const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE;
|
|
15
|
+
exports.MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE;
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=profileSearch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profileSearch.cjs","names":[],"sources":["../../src/utils/profileSearch.ts"],"sourcesContent":["/**\n * Maximum profile search page size without an `include`. Requests outside 1-50 fail with\n * `INVALID_PROFILE_SEARCH_REQUEST`.\n */\nexport const MOBILE_PROFILE_SEARCH_MAX_PAGE_SIZE = 50;\n\n/**\n * Maximum profile search page size when `include` asks for follow data, matching\n * `MOBILE_PROFILES_MAX_BATCH_SIZE`. Requests outside 1-25 fail with `INVALID_PROFILE_SEARCH_REQUEST`.\n */\nexport const MOBILE_PROFILE_SEARCH_MAX_ENRICHED_PAGE_SIZE = 25;\n"],"mappings":";;;;;;AAIA,MAAa,sCAAsC;;;;;AAMnD,MAAa,+CAA+C"}
|