@nadohq/mobile-client 0.36.0 → 0.38.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 +19 -6
- package/dist/{MobileClient-D5TNTnLx.cjs → MobileClient-wjTrqP9z.cjs} +75 -12
- package/dist/MobileClient-wjTrqP9z.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +62 -16
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +62 -16
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +75 -12
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-CPFjwUBx.d.cts → MobileServerFailureError-BvQYrxjx.d.cts} +3 -3
- package/dist/{MobileServerFailureError-CPFjwUBx.d.cts.map → MobileServerFailureError-BvQYrxjx.d.cts.map} +1 -1
- package/dist/{MobileServerFailureError-Terv2Wzy.d.ts → MobileServerFailureError-CrNpL_L4.d.ts} +3 -3
- package/dist/{MobileServerFailureError-Terv2Wzy.d.ts.map → MobileServerFailureError-CrNpL_L4.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-BScnCGPF.d.ts → buildSignedMobileRequest-BqLRFLKV.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-BScnCGPF.d.ts.map → buildSignedMobileRequest-BqLRFLKV.d.ts.map} +1 -1
- package/dist/{buildSignedMobileRequest-CXfnhc-4.d.cts → buildSignedMobileRequest-DkkwEqIu.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-CXfnhc-4.d.cts.map → buildSignedMobileRequest-DkkwEqIu.d.cts.map} +1 -1
- package/dist/{canonicalize-CQ-pMYIt.d.ts → canonicalize-BRhCpYm1.d.ts} +2 -2
- package/dist/canonicalize-BRhCpYm1.d.ts.map +1 -0
- package/dist/{canonicalize-hzhboB-C.d.cts → canonicalize-DtpaaA2B.d.cts} +2 -2
- package/dist/canonicalize-DtpaaA2B.d.cts.map +1 -0
- package/dist/{clientTypes-BwakovWk.d.cts → clientTypes-CB_itU4Z.d.ts} +147 -14
- package/dist/clientTypes-CB_itU4Z.d.ts.map +1 -0
- package/dist/{clientTypes-D-o1_2Yc.d.ts → clientTypes-CceWsQzi.d.cts} +147 -14
- package/dist/clientTypes-CceWsQzi.d.cts.map +1 -0
- package/dist/dataMappers.cjs +79 -6
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +27 -5
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +27 -5
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +75 -7
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-3aiJkrHj.d.cts → eip712MethodByType-1xUkvTIp.d.cts} +2 -2
- package/dist/eip712MethodByType-1xUkvTIp.d.cts.map +1 -0
- package/dist/{eip712MethodByType-zNvZukU7.d.ts → eip712MethodByType-CrqBJIrp.d.ts} +2 -2
- package/dist/eip712MethodByType-CrqBJIrp.d.ts.map +1 -0
- package/dist/follow-Bh3UmXMc.d.cts +23 -0
- package/dist/follow-Bh3UmXMc.d.cts.map +1 -0
- package/dist/follow-DjkQm1vR.d.ts +23 -0
- package/dist/follow-DjkQm1vR.d.ts.map +1 -0
- package/dist/index.cjs +6 -1
- package/dist/index.d.cts +17 -16
- package/dist/index.d.ts +17 -16
- package/dist/index.js +2 -1
- package/dist/{mobileErrorCodes-CuQ5lyBV.d.ts → mobileErrorCodes-B3eR6t4b.d.ts} +8 -2
- package/dist/mobileErrorCodes-B3eR6t4b.d.ts.map +1 -0
- package/dist/{mobileErrorCodes-D_SyBm0k.d.cts → mobileErrorCodes-DkzBW4v3.d.cts} +8 -2
- package/dist/mobileErrorCodes-DkzBW4v3.d.cts.map +1 -0
- package/dist/{patterns-B5gi7OfV.d.ts → patterns-C-aUAnKl.d.ts} +1 -1
- package/dist/patterns-C-aUAnKl.d.ts.map +1 -0
- package/dist/{patterns-Db6fgz8i.d.cts → patterns-DS8P5LH0.d.cts} +1 -1
- package/dist/patterns-DS8P5LH0.d.cts.map +1 -0
- package/dist/{payloadHash-DVkEt-Rg.d.cts → payloadHash-CIo8Hkh6.d.cts} +2 -2
- package/dist/payloadHash-CIo8Hkh6.d.cts.map +1 -0
- package/dist/{payloadHash-BxL26uwq.d.ts → payloadHash-Cv4WwZCZ.d.ts} +2 -2
- package/dist/payloadHash-Cv4WwZCZ.d.ts.map +1 -0
- package/dist/{serverBaseTypes-B_KHFDab.d.ts → serverBaseTypes-C2JGib--.d.ts} +2 -2
- package/dist/{serverBaseTypes-B_KHFDab.d.ts.map → serverBaseTypes-C2JGib--.d.ts.map} +1 -1
- package/dist/{serverBaseTypes-C8KjE9Fm.d.cts → serverBaseTypes-YkCmgmt1.d.cts} +2 -2
- package/dist/{serverBaseTypes-C8KjE9Fm.d.cts.map → serverBaseTypes-YkCmgmt1.d.cts.map} +1 -1
- package/dist/serverExecuteTypes-C2NoNEwu.d.ts +50 -0
- package/dist/serverExecuteTypes-C2NoNEwu.d.ts.map +1 -0
- package/dist/serverExecuteTypes-DPZbs9ym.d.cts +50 -0
- package/dist/serverExecuteTypes-DPZbs9ym.d.cts.map +1 -0
- package/dist/{serverModelTypes-_cX99seo.d.ts → serverModelTypes-CDcRlRtw.d.ts} +57 -10
- package/dist/serverModelTypes-CDcRlRtw.d.ts.map +1 -0
- package/dist/{serverModelTypes-CwgibK-l.d.cts → serverModelTypes-CUzqFA6x.d.cts} +57 -10
- package/dist/serverModelTypes-CUzqFA6x.d.cts.map +1 -0
- package/dist/{serverQueryTypes-DwE1iJ9f.d.cts → serverQueryTypes-B0xI1G39.d.ts} +21 -9
- package/dist/serverQueryTypes-B0xI1G39.d.ts.map +1 -0
- package/dist/{serverQueryTypes-NIrPm2Sl.d.ts → serverQueryTypes-RdcIqRnM.d.cts} +21 -9
- package/dist/serverQueryTypes-RdcIqRnM.d.cts.map +1 -0
- package/dist/serverRequestTypes-Ddws3yXc.d.cts +116 -0
- package/dist/serverRequestTypes-Ddws3yXc.d.cts.map +1 -0
- package/dist/serverRequestTypes-Dv9NR-hQ.d.ts +116 -0
- package/dist/serverRequestTypes-Dv9NR-hQ.d.ts.map +1 -0
- package/dist/{serverResponseGuards-Cep5s7j5.d.ts → serverResponseGuards-BjIzucYt.d.ts} +2 -2
- package/dist/{serverResponseGuards-Cep5s7j5.d.ts.map → serverResponseGuards-BjIzucYt.d.ts.map} +1 -1
- package/dist/{serverResponseGuards-Dxt9_aGh.d.cts → serverResponseGuards-Dg9WbqBA.d.cts} +2 -2
- package/dist/{serverResponseGuards-Dxt9_aGh.d.cts.map → serverResponseGuards-Dg9WbqBA.d.cts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.cjs +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 +6 -6
- package/dist/signing/index.d.ts +6 -6
- package/dist/signing/payloadHash.cjs +1 -1
- package/dist/signing/payloadHash.d.cts +1 -1
- package/dist/signing/payloadHash.d.ts +1 -1
- package/dist/signing/types.d.cts +2 -2
- package/dist/signing/types.d.ts +2 -2
- package/dist/types/MobileServerFailureError.cjs +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 +9 -9
- package/dist/types/index.d.ts +9 -9
- package/dist/types/mobileErrorCodes.cjs +13 -1
- package/dist/types/mobileErrorCodes.cjs.map +1 -1
- package/dist/types/mobileErrorCodes.d.cts +1 -1
- package/dist/types/mobileErrorCodes.d.ts +1 -1
- package/dist/types/mobileErrorCodes.js +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/serverModelTypes.cjs.map +1 -1
- package/dist/types/serverModelTypes.d.cts +2 -2
- package/dist/types/serverModelTypes.d.ts +2 -2
- package/dist/types/serverModelTypes.js.map +1 -1
- package/dist/types/serverQueryTypes.d.cts +2 -2
- package/dist/types/serverQueryTypes.d.ts +2 -2
- package/dist/types/serverRequestTypes.d.cts +2 -2
- package/dist/types/serverRequestTypes.d.ts +2 -2
- package/dist/{types-47IPsDyA.d.cts → types-BIIvIzG2.d.ts} +20 -7
- package/dist/types-BIIvIzG2.d.ts.map +1 -0
- package/dist/{types-D5kFJzEX.d.ts → types-UmYaeq1C.d.cts} +20 -7
- package/dist/types-UmYaeq1C.d.cts.map +1 -0
- package/dist/utils/follow.cjs +28 -0
- package/dist/utils/follow.cjs.map +1 -0
- package/dist/utils/follow.d.cts +2 -0
- package/dist/utils/follow.d.ts +2 -0
- package/dist/utils/follow.js +24 -0
- package/dist/utils/follow.js.map +1 -0
- package/dist/utils/index.cjs +5 -0
- package/dist/utils/index.d.cts +4 -3
- package/dist/utils/index.d.ts +4 -3
- package/dist/utils/index.js +2 -1
- package/dist/utils/patterns.d.cts +1 -1
- package/dist/utils/patterns.d.ts +1 -1
- 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 +117 -21
- package/src/dataMappers.ts +109 -5
- package/src/signing/canonicalize.ts +6 -0
- package/src/signing/eip712MethodByType.ts +1 -0
- package/src/signing/signing.test.ts +32 -4
- package/src/signing/types.ts +18 -1
- package/src/types/clientTypes.ts +152 -11
- package/src/types/mobileErrorCodes.ts +12 -0
- package/src/types/serverExecuteTypes.ts +40 -2
- package/src/types/serverModelTypes.ts +58 -8
- package/src/types/serverQueryTypes.ts +18 -4
- package/src/types/serverRequestTypes.ts +50 -4
- package/src/utils/follow.ts +22 -0
- package/src/utils/index.ts +1 -0
- package/dist/MobileClient-D5TNTnLx.cjs.map +0 -1
- package/dist/canonicalize-CQ-pMYIt.d.ts.map +0 -1
- package/dist/canonicalize-hzhboB-C.d.cts.map +0 -1
- package/dist/clientTypes-BwakovWk.d.cts.map +0 -1
- package/dist/clientTypes-D-o1_2Yc.d.ts.map +0 -1
- package/dist/eip712MethodByType-3aiJkrHj.d.cts.map +0 -1
- package/dist/eip712MethodByType-zNvZukU7.d.ts.map +0 -1
- package/dist/mobileErrorCodes-CuQ5lyBV.d.ts.map +0 -1
- package/dist/mobileErrorCodes-D_SyBm0k.d.cts.map +0 -1
- package/dist/patterns-B5gi7OfV.d.ts.map +0 -1
- package/dist/patterns-Db6fgz8i.d.cts.map +0 -1
- package/dist/payloadHash-BxL26uwq.d.ts.map +0 -1
- package/dist/payloadHash-DVkEt-Rg.d.cts.map +0 -1
- package/dist/serverExecuteTypes-Cb5v7y0A.d.cts +0 -19
- package/dist/serverExecuteTypes-Cb5v7y0A.d.cts.map +0 -1
- package/dist/serverExecuteTypes-GFjZj_DC.d.ts +0 -19
- package/dist/serverExecuteTypes-GFjZj_DC.d.ts.map +0 -1
- package/dist/serverModelTypes-CwgibK-l.d.cts.map +0 -1
- package/dist/serverModelTypes-_cX99seo.d.ts.map +0 -1
- package/dist/serverQueryTypes-DwE1iJ9f.d.cts.map +0 -1
- package/dist/serverQueryTypes-NIrPm2Sl.d.ts.map +0 -1
- package/dist/serverRequestTypes-516zXnQ6.d.ts +0 -72
- package/dist/serverRequestTypes-516zXnQ6.d.ts.map +0 -1
- package/dist/serverRequestTypes-GAtVYIda.d.cts +0 -72
- package/dist/serverRequestTypes-GAtVYIda.d.cts.map +0 -1
- package/dist/types-47IPsDyA.d.cts.map +0 -1
- package/dist/types-D5kFJzEX.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-
|
|
5
|
-
import { t as canonicalizeMobileInner } from "./canonicalize-
|
|
6
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-
|
|
1
|
+
import { _ as MobileServerNotificationPreferences, a as MobileFeedTradePosition, c as MobileNotificationCategory, d as MobileServerFeedTrade, f as MobileServerFollowListAccount, g as MobileServerNotificationPreferenceScope, h as MobileServerNotificationCategoryPreference, i as MobileFeedMarginMode, l as MobileNotificationPlatform, m as MobileServerIdentitySummary, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, o as MobileFeedTradePositionDirection, p as MobileServerFollowSummary, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, s as MobileFeedTradePositionEffect, t as MOBILE_FEED_MARGIN_MODES, u as MobileServerFeedMargin, v as MobileServerProfile } from "./serverModelTypes-CDcRlRtw.js";
|
|
2
|
+
import { A as MobileUsernameAvailability, C as MobileRegisteredWallet, D as MobileSignedRequestParams, E as MobileSetUsernameParams, O as MobileUnregisterExpoTokenParams, S as MobileRegisterExpoTokenParams, T as MobileSetPrivateModeParams, _ as MobileNotificationCategoryPreference, a as GetMobileNotificationPreferencesParams, b as MobileProfilesInclude, c as GetMobileUsernameAvailabilityParams, d as MobileFeedTrade, f as MobileFollowListAccount, g as MobileIdentitySummary, h as MobileFollowSummary, i as GetMobileFollowingParams, j as MobileWithExpoTokenParams, k as MobileUpdateNotificationPreferencesParams, l as MobileFeedMargin, m as MobileFollowMutationResult, n as GetMobileFollowListParams, o as GetMobileProfilesParams, p as MobileFollowListPage, r as GetMobileFollowersParams, s as GetMobileRegisteredWalletParams, t as GetMobileFeedParams, u as MobileFeedPage, v as MobileNotificationPreferenceScope, w as MobileSetFollowParams, x as MobilePublicProfile, y as MobileNotificationPreferences } from "./clientTypes-CB_itU4Z.js";
|
|
3
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "./types-BIIvIzG2.js";
|
|
4
|
+
import { t as buildSignedMobileRequest } from "./buildSignedMobileRequest-BqLRFLKV.js";
|
|
5
|
+
import { t as canonicalizeMobileInner } from "./canonicalize-BRhCpYm1.js";
|
|
6
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "./eip712MethodByType-CrqBJIrp.js";
|
|
7
7
|
import { t as getMobileNonce } from "./nonce-DCOrXXkQ.js";
|
|
8
|
-
import { t as getMobilePayloadHash } from "./payloadHash-
|
|
9
|
-
import { a as
|
|
10
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-
|
|
11
|
-
import { n as MobileServerPublicExecuteRequest,
|
|
12
|
-
import { a as
|
|
8
|
+
import { t as getMobilePayloadHash } from "./payloadHash-Cv4WwZCZ.js";
|
|
9
|
+
import { a as MobileServerPublicExecuteRequestType, c as MobileServerRequestType, i as MobileServerPublicExecuteRequestByType, n as MobileServerFollowListRequest, o as MobileServerPublicQueryRequestByType, r as MobileServerProfilesInclude, s as MobileServerPublicQueryRequestType, t as MobileServerExecuteRequestType } from "./serverRequestTypes-Dv9NR-hQ.js";
|
|
10
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-C2JGib--.js";
|
|
11
|
+
import { a as MobileServerFollowMutationResponse, i as MobileServerExecuteSuccessResponse, n as MobileServerExecuteResponseByType, o as MobileServerPublicExecuteRequest, r as MobileServerExecuteResult, t as MobileServerEmptyExecuteResponse } from "./serverExecuteTypes-C2NoNEwu.js";
|
|
12
|
+
import { a as MobileServerPublicQueryRequest, c as MobileServerRegisteredWalletResponse, i as MobileServerProfilesResponse, l as MobileServerUsernameAvailabilityResponse, n as MobileServerFollowListResponse, o as MobileServerPublicQueryResponseByType, r as MobileServerNotificationPreferencesResponse, s as MobileServerPublicQuerySuccessResponse, t as MobileServerFeedResponse } from "./serverQueryTypes-B0xI1G39.js";
|
|
13
13
|
import { MobileClient, MobileClientOpts } from "./MobileClient.js";
|
|
14
14
|
import { MOBILE_CLIENT_ENDPOINTS } from "./endpoints.js";
|
|
15
|
-
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-
|
|
16
|
-
import { t as MobileServerFailureError } from "./MobileServerFailureError-
|
|
15
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "./mobileErrorCodes-B3eR6t4b.js";
|
|
16
|
+
import { t as MobileServerFailureError } from "./MobileServerFailureError-CrNpL_L4.js";
|
|
17
17
|
import { n as MOBILE_FEED_MIN_NOTIONAL_FLOOR, t as MOBILE_FEED_MAX_PAGE_SIZE } from "./feed-BF5k6Ryu.js";
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
|
|
18
|
+
import { i as MOBILE_PROFILES_MAX_BATCH_SIZE, n as MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, r as MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, t as MOBILE_FOLLOWED_BY_PREVIEW_LIMIT } from "./follow-DjkQm1vR.js";
|
|
19
|
+
import { t as MOBILE_DISPLAY_NAME_PATTERN } from "./patterns-C-aUAnKl.js";
|
|
20
|
+
import { n as isMobileServerSuccessResponse, t as isMobileServerFailureResponse } from "./serverResponseGuards-BjIzucYt.js";
|
|
21
|
+
export { BuildSignedMobileRequestParams, GetMobileFeedParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileNotificationPreferencesParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileUsernameAvailabilityParams, MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MobileClient, MobileClientOpts, MobileErrorCode, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, 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, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, MobileSignedRequestParams, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse };
|
package/dist/index.js
CHANGED
|
@@ -12,6 +12,7 @@ import { MOBILE_ERROR_CODES } from "./types/mobileErrorCodes.js";
|
|
|
12
12
|
import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS } from "./types/serverModelTypes.js";
|
|
13
13
|
import "./types/index.js";
|
|
14
14
|
import { MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR } from "./utils/feed.js";
|
|
15
|
+
import { MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE } from "./utils/follow.js";
|
|
15
16
|
import { MOBILE_DISPLAY_NAME_PATTERN } from "./utils/patterns.js";
|
|
16
17
|
import "./utils/index.js";
|
|
17
|
-
export { MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileClient, MobileServerFailureError, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse };
|
|
18
|
+
export { MOBILE_CLIENT_ENDPOINTS, MOBILE_DISPLAY_NAME_PATTERN, MOBILE_EIP712_METHOD_BY_TYPE, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_MAX_PAGE_SIZE, MOBILE_FEED_MIN_NOTIONAL_FLOOR, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MOBILE_FOLLOWED_BY_PREVIEW_LIMIT, MOBILE_FOLLOW_LIST_DEFAULT_PAGE_SIZE, MOBILE_FOLLOW_LIST_MAX_PAGE_SIZE, MOBILE_PROFILES_MAX_BATCH_SIZE, MobileClient, MobileServerFailureError, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash, isMobileServerFailureResponse, isMobileServerSuccessResponse };
|
|
@@ -9,7 +9,13 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
9
9
|
readonly USERNAME_UNAVAILABLE: 6101;
|
|
10
10
|
readonly INVALID_IDENTITY_TARGET: 6104; /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */
|
|
11
11
|
readonly STALE_IDENTITY_UPDATE: 6105;
|
|
12
|
-
readonly PROFILE_NOT_FOUND: 6106;
|
|
12
|
+
readonly PROFILE_NOT_FOUND: 6106; /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
|
|
13
|
+
readonly INVALID_PROFILES_REQUEST: 6107; /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
|
|
14
|
+
readonly INVALID_FOLLOW_TARGET: 6110; /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
|
|
15
|
+
readonly FOLLOWER_NOT_ELIGIBLE: 6111; /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */
|
|
16
|
+
readonly FOLLOWING_NOT_FOUND: 6112; /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */
|
|
17
|
+
readonly INVALID_FOLLOW_CURSOR: 6113; /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */
|
|
18
|
+
readonly INVALID_FOLLOW_LIMIT: 6114;
|
|
13
19
|
readonly INVALID_EXPO_TOKEN: 6200;
|
|
14
20
|
readonly INVALID_DEVICE_METADATA: 6201;
|
|
15
21
|
readonly INVALID_PREFERENCES: 6202; /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
|
|
@@ -36,4 +42,4 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
36
42
|
type MobileErrorCode = (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];
|
|
37
43
|
//#endregion
|
|
38
44
|
export { MobileErrorCode as n, MOBILE_ERROR_CODES as t };
|
|
39
|
-
//# sourceMappingURL=mobileErrorCodes-
|
|
45
|
+
//# sourceMappingURL=mobileErrorCodes-B3eR6t4b.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes-B3eR6t4b.d.ts","names":[],"sources":["../src/types/src/types/mobileErrorCodes.ts"],"mappings":";;AAOA;;;;cAAa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCD,eAAA,WACF,kBAAA,eAAiC,kBAAkB"}
|
|
@@ -9,7 +9,13 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
9
9
|
readonly USERNAME_UNAVAILABLE: 6101;
|
|
10
10
|
readonly INVALID_IDENTITY_TARGET: 6104; /** Another identity write for the subaccount committed with a later nonce. Re-read before retrying. */
|
|
11
11
|
readonly STALE_IDENTITY_UPDATE: 6105;
|
|
12
|
-
readonly PROFILE_NOT_FOUND: 6106;
|
|
12
|
+
readonly PROFILE_NOT_FOUND: 6106; /** Profiles lookup is empty, holds duplicates, or exceeds the batch maximum. Do not retry unchanged. */
|
|
13
|
+
readonly INVALID_PROFILES_REQUEST: 6107; /** Follow mutation names the same source and target, or an isolated participant. Do not retry unchanged. */
|
|
14
|
+
readonly INVALID_FOLLOW_TARGET: 6110; /** Signed follower is not yet in the canonical Query DB subaccount index. Retry after index catch-up. */
|
|
15
|
+
readonly FOLLOWER_NOT_ELIGIBLE: 6111; /** Follow target is not yet in the canonical Query DB subaccount index. Refresh after a new record. */
|
|
16
|
+
readonly FOLLOWING_NOT_FOUND: 6112; /** Follow list cursor is malformed or bound to a different list request. Restart from `cursor: null`. */
|
|
17
|
+
readonly INVALID_FOLLOW_CURSOR: 6113; /** A follow list or followed-by limit is outside its accepted range. Fix it; do not retry unchanged. */
|
|
18
|
+
readonly INVALID_FOLLOW_LIMIT: 6114;
|
|
13
19
|
readonly INVALID_EXPO_TOKEN: 6200;
|
|
14
20
|
readonly INVALID_DEVICE_METADATA: 6201;
|
|
15
21
|
readonly INVALID_PREFERENCES: 6202; /** Feed `minimumNotional` or `limit` is outside its allowed domain. Fix the request; do not retry unchanged. */
|
|
@@ -36,4 +42,4 @@ declare const MOBILE_ERROR_CODES: {
|
|
|
36
42
|
type MobileErrorCode = (typeof MOBILE_ERROR_CODES)[keyof typeof MOBILE_ERROR_CODES];
|
|
37
43
|
//#endregion
|
|
38
44
|
export { MobileErrorCode as n, MOBILE_ERROR_CODES as t };
|
|
39
|
-
//# sourceMappingURL=mobileErrorCodes-
|
|
45
|
+
//# sourceMappingURL=mobileErrorCodes-DkzBW4v3.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobileErrorCodes-DkzBW4v3.d.cts","names":[],"sources":["../src/types/src/types/mobileErrorCodes.ts"],"mappings":";;AAOA;;;;cAAa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCD,eAAA,WACF,kBAAA,eAAiC,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patterns-C-aUAnKl.d.ts","names":[],"sources":["../src/utils/src/utils/patterns.ts"],"mappings":";;AAGA;;cAAa,2BAAA,EAA2B,MAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patterns-DS8P5LH0.d.cts","names":[],"sources":["../src/utils/src/utils/patterns.ts"],"mappings":";;AAGA;;cAAa,2BAAA,EAA2B,MAA0B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { n as MobileSignedInner } from "./types-UmYaeq1C.cjs";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/signing/payloadHash.d.ts
|
|
@@ -10,4 +10,4 @@ import { Hex } from "viem";
|
|
|
10
10
|
declare function getMobilePayloadHash(inner: MobileSignedInner): Hex;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getMobilePayloadHash as t };
|
|
13
|
-
//# sourceMappingURL=payloadHash-
|
|
13
|
+
//# sourceMappingURL=payloadHash-CIo8Hkh6.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payloadHash-CIo8Hkh6.d.cts","names":[],"sources":["../src/signing/src/signing/payloadHash.ts"],"mappings":";;;;;;AASA;;;iBAAgB,oBAAA,CAAqB,KAAA,EAAO,iBAAA,GAAoB,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as MobileSignedInner } from "./types-
|
|
1
|
+
import { n as MobileSignedInner } from "./types-BIIvIzG2.js";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/signing/payloadHash.d.ts
|
|
@@ -10,4 +10,4 @@ import { Hex } from "viem";
|
|
|
10
10
|
declare function getMobilePayloadHash(inner: MobileSignedInner): Hex;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getMobilePayloadHash as t };
|
|
13
|
-
//# sourceMappingURL=payloadHash-
|
|
13
|
+
//# sourceMappingURL=payloadHash-Cv4WwZCZ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payloadHash-Cv4WwZCZ.d.ts","names":[],"sources":["../src/signing/src/signing/payloadHash.ts"],"mappings":";;;;;;AASA;;;iBAAgB,oBAAA,CAAqB,KAAA,EAAO,iBAAA,GAAoB,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as MobileServerRequestType } from "./serverRequestTypes-Dv9NR-hQ.js";
|
|
2
2
|
|
|
3
3
|
//#region src/types/serverBaseTypes.d.ts
|
|
4
4
|
/**
|
|
@@ -22,4 +22,4 @@ interface MobileServerFailureResponse {
|
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
24
|
export { MobileServerSuccessResponse as n, MobileServerFailureResponse as t };
|
|
25
|
-
//# sourceMappingURL=serverBaseTypes-
|
|
25
|
+
//# sourceMappingURL=serverBaseTypes-C2JGib--.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverBaseTypes-
|
|
1
|
+
{"version":3,"file":"serverBaseTypes-C2JGib--.d.ts","names":[],"sources":["../src/types/src/types/serverBaseTypes.ts"],"mappings":";;;;;AAQA;;;;UAAiB,2BAAA;EACf,MAAM;AAAA;;;;;UAOS,2BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,uBAAuB;AAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as MobileServerRequestType } from "./serverRequestTypes-Ddws3yXc.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/types/serverBaseTypes.d.ts
|
|
4
4
|
/**
|
|
@@ -22,4 +22,4 @@ interface MobileServerFailureResponse {
|
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
24
|
export { MobileServerSuccessResponse as n, MobileServerFailureResponse as t };
|
|
25
|
-
//# sourceMappingURL=serverBaseTypes-
|
|
25
|
+
//# sourceMappingURL=serverBaseTypes-YkCmgmt1.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverBaseTypes-
|
|
1
|
+
{"version":3,"file":"serverBaseTypes-YkCmgmt1.d.cts","names":[],"sources":["../src/types/src/types/serverBaseTypes.ts"],"mappings":";;;;;AAQA;;;;UAAiB,2BAAA;EACf,MAAM;AAAA;;;;;UAOS,2BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,uBAAuB;AAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { a as MobileServerPublicExecuteRequestType, i as MobileServerPublicExecuteRequestByType, t as MobileServerExecuteRequestType } from "./serverRequestTypes-Dv9NR-hQ.js";
|
|
2
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-C2JGib--.js";
|
|
3
|
+
|
|
4
|
+
//#region src/types/serverExecuteTypes.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Unsigned `public_execute` request body: a `type` discriminant flattened with its params, mirroring
|
|
7
|
+
* {@link MobileServerPublicQueryRequest}.
|
|
8
|
+
*/
|
|
9
|
+
type MobileServerPublicExecuteRequest<T extends MobileServerPublicExecuteRequestType = MobileServerPublicExecuteRequestType> = { [K in MobileServerPublicExecuteRequestType]: {
|
|
10
|
+
type: K;
|
|
11
|
+
} & MobileServerPublicExecuteRequestByType[K] }[T];
|
|
12
|
+
/**
|
|
13
|
+
* Payload the `set_follow` execute returns alongside the success envelope. The mutation and the count commit
|
|
14
|
+
* in one database transaction, so these are the authoritative post-mutation values — prefer them over
|
|
15
|
+
* re-reading, and note that overlapping toggles for the same pair can respond out of arrival order.
|
|
16
|
+
*/
|
|
17
|
+
interface MobileServerFollowMutationResponse {
|
|
18
|
+
is_following: boolean;
|
|
19
|
+
/** The *target's* follower count after the mutation, not the sender's. */
|
|
20
|
+
follower_count: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Payload of an execute route that returns nothing beyond the success discriminant. Spelled `Record<never,
|
|
24
|
+
* never>` rather than `Record<string, never>` because the latter's index signature would collapse `status` to
|
|
25
|
+
* `never` when intersected with the success envelope.
|
|
26
|
+
*/
|
|
27
|
+
type MobileServerEmptyExecuteResponse = Record<never, never>;
|
|
28
|
+
/**
|
|
29
|
+
* Success payloads for each signed `execute`, keyed by request `type`. Most execute routes carry no payload
|
|
30
|
+
* beyond the success discriminant and so map to an empty object; `set_follow` returns its post-commit
|
|
31
|
+
* relationship state.
|
|
32
|
+
*/
|
|
33
|
+
interface MobileServerExecuteResponseByType {
|
|
34
|
+
set_username: MobileServerEmptyExecuteResponse;
|
|
35
|
+
set_private_mode: MobileServerEmptyExecuteResponse;
|
|
36
|
+
register_expo_token: MobileServerEmptyExecuteResponse;
|
|
37
|
+
set_follow: MobileServerFollowMutationResponse;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Full success response for a signed `execute`: the {@link MobileServerSuccessResponse} envelope with the
|
|
41
|
+
* route's payload inlined alongside `status`, matching how the query routes inline theirs.
|
|
42
|
+
*/
|
|
43
|
+
type MobileServerExecuteSuccessResponse<T extends MobileServerExecuteRequestType = MobileServerExecuteRequestType> = MobileServerSuccessResponse & MobileServerExecuteResponseByType[T];
|
|
44
|
+
/**
|
|
45
|
+
* Discriminated `execute` result union used at the transport boundary, before the envelope is narrowed.
|
|
46
|
+
*/
|
|
47
|
+
type MobileServerExecuteResult = MobileServerSuccessResponse | MobileServerFailureResponse;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { MobileServerFollowMutationResponse as a, MobileServerExecuteSuccessResponse as i, MobileServerExecuteResponseByType as n, MobileServerPublicExecuteRequest as o, MobileServerExecuteResult as r, MobileServerEmptyExecuteResponse as t };
|
|
50
|
+
//# sourceMappingURL=serverExecuteTypes-C2NoNEwu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverExecuteTypes-C2NoNEwu.d.ts","names":[],"sources":["../src/types/src/types/serverExecuteTypes.ts"],"mappings":";;;;;;AAcA;;KAAY,gCAAA,WACA,oCAAA,GACR,oCAAA,YAEI,oCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,sCAAA,CAAuC,CAAA,IAC3C,CAAA;;;;;;UAOe,kCAAA;EACf,YAAA;EAbE;EAeF,cAAc;AAAA;;;;;;KAQJ,gCAAA,GAAmC,MAAM;AAlBlD;AAOH;;;;AAPG,UAyBc,iCAAA;EACf,YAAA,EAAc,gCAAA;EACd,gBAAA,EAAkB,gCAAA;EAClB,mBAAA,EAAqB,gCAAA;EACrB,UAAA,EAAY,kCAAA;AAAA;AAJd;;;;AAAA,KAWY,kCAAA,WACA,8BAAA,GAAiC,8BAAA,IACzC,2BAAA,GAA8B,iCAAA,CAAkC,CAAA;;;;KAKxD,yBAAA,GACR,2BAAA,GACA,2BAA2B"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { a as MobileServerPublicExecuteRequestType, i as MobileServerPublicExecuteRequestByType, t as MobileServerExecuteRequestType } from "./serverRequestTypes-Ddws3yXc.cjs";
|
|
2
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "./serverBaseTypes-YkCmgmt1.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/types/serverExecuteTypes.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Unsigned `public_execute` request body: a `type` discriminant flattened with its params, mirroring
|
|
7
|
+
* {@link MobileServerPublicQueryRequest}.
|
|
8
|
+
*/
|
|
9
|
+
type MobileServerPublicExecuteRequest<T extends MobileServerPublicExecuteRequestType = MobileServerPublicExecuteRequestType> = { [K in MobileServerPublicExecuteRequestType]: {
|
|
10
|
+
type: K;
|
|
11
|
+
} & MobileServerPublicExecuteRequestByType[K] }[T];
|
|
12
|
+
/**
|
|
13
|
+
* Payload the `set_follow` execute returns alongside the success envelope. The mutation and the count commit
|
|
14
|
+
* in one database transaction, so these are the authoritative post-mutation values — prefer them over
|
|
15
|
+
* re-reading, and note that overlapping toggles for the same pair can respond out of arrival order.
|
|
16
|
+
*/
|
|
17
|
+
interface MobileServerFollowMutationResponse {
|
|
18
|
+
is_following: boolean;
|
|
19
|
+
/** The *target's* follower count after the mutation, not the sender's. */
|
|
20
|
+
follower_count: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Payload of an execute route that returns nothing beyond the success discriminant. Spelled `Record<never,
|
|
24
|
+
* never>` rather than `Record<string, never>` because the latter's index signature would collapse `status` to
|
|
25
|
+
* `never` when intersected with the success envelope.
|
|
26
|
+
*/
|
|
27
|
+
type MobileServerEmptyExecuteResponse = Record<never, never>;
|
|
28
|
+
/**
|
|
29
|
+
* Success payloads for each signed `execute`, keyed by request `type`. Most execute routes carry no payload
|
|
30
|
+
* beyond the success discriminant and so map to an empty object; `set_follow` returns its post-commit
|
|
31
|
+
* relationship state.
|
|
32
|
+
*/
|
|
33
|
+
interface MobileServerExecuteResponseByType {
|
|
34
|
+
set_username: MobileServerEmptyExecuteResponse;
|
|
35
|
+
set_private_mode: MobileServerEmptyExecuteResponse;
|
|
36
|
+
register_expo_token: MobileServerEmptyExecuteResponse;
|
|
37
|
+
set_follow: MobileServerFollowMutationResponse;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Full success response for a signed `execute`: the {@link MobileServerSuccessResponse} envelope with the
|
|
41
|
+
* route's payload inlined alongside `status`, matching how the query routes inline theirs.
|
|
42
|
+
*/
|
|
43
|
+
type MobileServerExecuteSuccessResponse<T extends MobileServerExecuteRequestType = MobileServerExecuteRequestType> = MobileServerSuccessResponse & MobileServerExecuteResponseByType[T];
|
|
44
|
+
/**
|
|
45
|
+
* Discriminated `execute` result union used at the transport boundary, before the envelope is narrowed.
|
|
46
|
+
*/
|
|
47
|
+
type MobileServerExecuteResult = MobileServerSuccessResponse | MobileServerFailureResponse;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { MobileServerFollowMutationResponse as a, MobileServerExecuteSuccessResponse as i, MobileServerExecuteResponseByType as n, MobileServerPublicExecuteRequest as o, MobileServerExecuteResult as r, MobileServerEmptyExecuteResponse as t };
|
|
50
|
+
//# sourceMappingURL=serverExecuteTypes-DPZbs9ym.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverExecuteTypes-DPZbs9ym.d.cts","names":[],"sources":["../src/types/src/types/serverExecuteTypes.ts"],"mappings":";;;;;;AAcA;;KAAY,gCAAA,WACA,oCAAA,GACR,oCAAA,YAEI,oCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,sCAAA,CAAuC,CAAA,IAC3C,CAAA;;;;;;UAOe,kCAAA;EACf,YAAA;EAbE;EAeF,cAAc;AAAA;;;;;;KAQJ,gCAAA,GAAmC,MAAM;AAlBlD;AAOH;;;;AAPG,UAyBc,iCAAA;EACf,YAAA,EAAc,gCAAA;EACd,gBAAA,EAAkB,gCAAA;EAClB,mBAAA,EAAqB,gCAAA;EACrB,UAAA,EAAY,kCAAA;AAAA;AAJd;;;;AAAA,KAWY,kCAAA,WACA,8BAAA,GAAiC,8BAAA,IACzC,2BAAA,GAA8B,iCAAA,CAAkC,CAAA;;;;KAKxD,yBAAA,GACR,2BAAA,GACA,2BAA2B"}
|
|
@@ -11,14 +11,66 @@ type MobileNotificationPlatform = 'ios' | 'android';
|
|
|
11
11
|
*/
|
|
12
12
|
type MobileNotificationCategory = 'order_fill' | 'order_update' | 'liquidation' | 'funding' | 'product_listing' | 'announcement';
|
|
13
13
|
/**
|
|
14
|
-
* Server-side
|
|
15
|
-
*
|
|
14
|
+
* Server-side identity summary (snake_case): the read-time identity fields the backend attaches to a
|
|
15
|
+
* subaccount wherever it surfaces one alongside other data. Name fields are `null` until the subaccount
|
|
16
|
+
* claims a username, and a rename shows up on the next read without any change to the surrounding record.
|
|
17
|
+
*/
|
|
18
|
+
interface MobileServerIdentitySummary {
|
|
19
|
+
subaccount: Hex;
|
|
20
|
+
username: string | null;
|
|
21
|
+
display_name: string | null;
|
|
22
|
+
/** Reserved for a future avatar source; `null` until one is implemented. */
|
|
23
|
+
avatar_url: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Server-side follow summary (snake_case), nested in a `profiles` entry when the `follow_summary` include is
|
|
27
|
+
* requested. `is_following` is the direct `view_as -> this profile` relationship; every `followed_by` entry
|
|
28
|
+
* satisfies both `view_as -> entry` and `entry -> this profile`, so each one is already familiar to the
|
|
29
|
+
* viewer and carries no `is_following` of its own.
|
|
30
|
+
*/
|
|
31
|
+
interface MobileServerFollowSummary {
|
|
32
|
+
is_following: boolean;
|
|
33
|
+
/** Exact size of the two-edge intersection, independent of how many previews came back. */
|
|
34
|
+
followed_by_count: number;
|
|
35
|
+
/** Capped at `MOBILE_FOLLOWED_BY_PREVIEW_LIMIT` (2) by the backend; not client-configurable. */
|
|
36
|
+
followed_by: MobileServerIdentitySummary[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Server-side public profile shape (snake_case), shared by the singular `profile` and batched `profiles`
|
|
40
|
+
* queries. Name fields are `null` until the subaccount claims a username; a subaccount with no identity row
|
|
41
|
+
* still yields an entry, with `null` names and `private_mode: false`.
|
|
42
|
+
*
|
|
43
|
+
* The three optional fields are omitted from the wire entirely unless the matching `profiles` include asked
|
|
44
|
+
* for them, which is why they are optional rather than nullable — absent means "not requested", not "none".
|
|
45
|
+
* The singular `profile` query never returns any of them.
|
|
16
46
|
*/
|
|
17
47
|
interface MobileServerProfile {
|
|
18
48
|
subaccount: Hex;
|
|
19
49
|
username: string | null;
|
|
20
50
|
display_name: string | null;
|
|
21
51
|
private_mode: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Exact count at query time — the backend counts rather than reading a cached counter. Unnamed and private
|
|
54
|
+
* accounts are included: Private Mode hides activity, not relationships. Requires `follow_counts`.
|
|
55
|
+
*/
|
|
56
|
+
follower_count?: number;
|
|
57
|
+
following_count?: number;
|
|
58
|
+
/** Requires the `follow_summary` include, and is relative to that include's `view_as`. */
|
|
59
|
+
follow_summary?: MobileServerFollowSummary;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Server-side row of a Followers or Following page (snake_case).
|
|
63
|
+
*/
|
|
64
|
+
interface MobileServerFollowListAccount {
|
|
65
|
+
identity: MobileServerIdentitySummary;
|
|
66
|
+
/**
|
|
67
|
+
* The `view_as` Viewer's relationship to this account, not the listed relationship that put it in the
|
|
68
|
+
* page, so it is `false` on the Viewer's own row. Omitted entirely when the request named no `view_as`,
|
|
69
|
+
* rather than being sent as a misleading `false`.
|
|
70
|
+
*/
|
|
71
|
+
is_following?: boolean;
|
|
72
|
+
/** The listed account's own follower count, exact at query time. */
|
|
73
|
+
follower_count: number;
|
|
22
74
|
}
|
|
23
75
|
/**
|
|
24
76
|
* Direction of the position a feed trade resulted in — for `closed`, the direction that was closed. This is
|
|
@@ -71,14 +123,9 @@ interface MobileServerFeedMargin {
|
|
|
71
123
|
* trader's current identity. Amounts are display-oriented human-unit JSON numbers — do not use them for
|
|
72
124
|
* accounting, order construction, or exact threshold decisions.
|
|
73
125
|
*/
|
|
74
|
-
interface MobileServerFeedTrade {
|
|
126
|
+
interface MobileServerFeedTrade extends MobileServerIdentitySummary {
|
|
75
127
|
/** Order digest this row is keyed by; the stable id clients use to reconcile live pagination. */
|
|
76
128
|
order_digest: Hex;
|
|
77
|
-
subaccount: Hex;
|
|
78
|
-
username: string | null;
|
|
79
|
-
display_name: string | null;
|
|
80
|
-
/** Reserved for a future avatar source; `null` until one is implemented. */
|
|
81
|
-
avatar_url: string | null;
|
|
82
129
|
product_id: number;
|
|
83
130
|
/** Executed quantity in human units. */
|
|
84
131
|
quantity: number;
|
|
@@ -122,5 +169,5 @@ interface MobileServerNotificationPreferences {
|
|
|
122
169
|
categories: MobileServerNotificationCategoryPreference[];
|
|
123
170
|
}
|
|
124
171
|
//#endregion
|
|
125
|
-
export { MobileFeedTradePosition as a, MobileNotificationCategory as c, MobileServerFeedTrade as d,
|
|
126
|
-
//# sourceMappingURL=serverModelTypes-
|
|
172
|
+
export { MobileServerNotificationPreferences as _, MobileFeedTradePosition as a, MobileNotificationCategory as c, MobileServerFeedTrade as d, MobileServerFollowListAccount as f, MobileServerNotificationPreferenceScope as g, MobileServerNotificationCategoryPreference as h, MobileFeedMarginMode as i, MobileNotificationPlatform as l, MobileServerIdentitySummary as m, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileFeedTradePositionDirection as o, MobileServerFollowSummary as p, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileFeedTradePositionEffect as s, MOBILE_FEED_MARGIN_MODES as t, MobileServerFeedMargin as u, MobileServerProfile as v };
|
|
173
|
+
//# sourceMappingURL=serverModelTypes-CDcRlRtw.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverModelTypes-CDcRlRtw.d.ts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;AAMA;KAAY,0BAAA;;;AAA0B;KAK1B,0BAAA;;;;AAA0B;AAatC;UAAiB,2BAAA;EACf,UAAA,EAAY,GAAG;EACf,QAAA;EACA,YAAA;EAFY;EAIZ,UAAA;AAAA;;;AAAU;AASZ;;;UAAiB,yBAAA;EACf,YAAA;EAEA;EAAA,iBAAA;EAEa;EAAb,WAAA,EAAa,2BAA2B;AAAA;AAY1C;;;;;;;;;AAAA,UAAiB,mBAAA;EACf,UAAA,EAAY,GAAA;EACZ,QAAA;EACA,YAAA;EACA,YAAA;EAQ0C;AAM5C;;;EATE,cAAA;EACA,eAAA;EASU;EAPV,cAAA,GAAiB,yBAAyB;AAAA;;AAe5B;AAQhB;UAjBiB,6BAAA;EACf,QAAA,EAAU,2BAA2B;EAgBmB;AAAA;AAM1D;;;EAhBE,YAAA;EAmB8D;EAjB9D,cAAA;AAAA;;;AA6BQ;AAKV;;KA1BY,gCAAA,GAAmC,WAAW;;AA2Bd;AAM5C;;cA3Ba,qCAAA;;;;;cASA,kCAAA;;AAoB0B;AAOvC;KAhBY,6BAAA,WACF,kCAAkC;;;AAe0B;AAKtE;UAdiB,uBAAA;EACf,SAAA,EAAW,gCAAA;EACX,MAAA,EAAQ,6BAA6B;AAAA;AAmBvC;;;;AAAA,cAZa,wBAAA;;;;KAKD,oBAAA,WAA+B,wBAAwB;AAiBnE;;;;;AAAA,UAViB,sBAAA;EACf,IAAA,EAAM,oBAAoB;EAC1B,kBAAA;AAAA;;;;;;UAQe,qBAAA,SAA8B,2BAAA;EAS7C;EAPA,YAAA,EAAc,GAAA;EACd,UAAA;EAQA;EANA,QAAA;EAQA;EANA,QAAA;EAQY;EANZ,aAAA;EACA,MAAA,EAAQ,sBAAA;EACR,QAAA,EAAU,uBAAA;;EAEV,YAAA;EAUI;EARJ,YAAA;AAAA;;;;AAS+B;KAFrB,uCAAA;EACN,IAAA;EAAoB,UAAA,EAAY,GAAG;AAAA;EACnC,IAAA;EAAiB,UAAA;AAAA;;;;UAKN,0CAAA;EACf,QAAA,EAAU,0BAAA;EACV,OAAA;EACA,MAAA,EAAQ,uCAAuC;AAAA;;;;;UAOhC,mCAAA;;EAEf,cAAA;EACA,UAAA,EAAY,0CAA0C;AAAA"}
|
|
@@ -11,14 +11,66 @@ type MobileNotificationPlatform = 'ios' | 'android';
|
|
|
11
11
|
*/
|
|
12
12
|
type MobileNotificationCategory = 'order_fill' | 'order_update' | 'liquidation' | 'funding' | 'product_listing' | 'announcement';
|
|
13
13
|
/**
|
|
14
|
-
* Server-side
|
|
15
|
-
*
|
|
14
|
+
* Server-side identity summary (snake_case): the read-time identity fields the backend attaches to a
|
|
15
|
+
* subaccount wherever it surfaces one alongside other data. Name fields are `null` until the subaccount
|
|
16
|
+
* claims a username, and a rename shows up on the next read without any change to the surrounding record.
|
|
17
|
+
*/
|
|
18
|
+
interface MobileServerIdentitySummary {
|
|
19
|
+
subaccount: Hex;
|
|
20
|
+
username: string | null;
|
|
21
|
+
display_name: string | null;
|
|
22
|
+
/** Reserved for a future avatar source; `null` until one is implemented. */
|
|
23
|
+
avatar_url: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Server-side follow summary (snake_case), nested in a `profiles` entry when the `follow_summary` include is
|
|
27
|
+
* requested. `is_following` is the direct `view_as -> this profile` relationship; every `followed_by` entry
|
|
28
|
+
* satisfies both `view_as -> entry` and `entry -> this profile`, so each one is already familiar to the
|
|
29
|
+
* viewer and carries no `is_following` of its own.
|
|
30
|
+
*/
|
|
31
|
+
interface MobileServerFollowSummary {
|
|
32
|
+
is_following: boolean;
|
|
33
|
+
/** Exact size of the two-edge intersection, independent of how many previews came back. */
|
|
34
|
+
followed_by_count: number;
|
|
35
|
+
/** Capped at `MOBILE_FOLLOWED_BY_PREVIEW_LIMIT` (2) by the backend; not client-configurable. */
|
|
36
|
+
followed_by: MobileServerIdentitySummary[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Server-side public profile shape (snake_case), shared by the singular `profile` and batched `profiles`
|
|
40
|
+
* queries. Name fields are `null` until the subaccount claims a username; a subaccount with no identity row
|
|
41
|
+
* still yields an entry, with `null` names and `private_mode: false`.
|
|
42
|
+
*
|
|
43
|
+
* The three optional fields are omitted from the wire entirely unless the matching `profiles` include asked
|
|
44
|
+
* for them, which is why they are optional rather than nullable — absent means "not requested", not "none".
|
|
45
|
+
* The singular `profile` query never returns any of them.
|
|
16
46
|
*/
|
|
17
47
|
interface MobileServerProfile {
|
|
18
48
|
subaccount: Hex;
|
|
19
49
|
username: string | null;
|
|
20
50
|
display_name: string | null;
|
|
21
51
|
private_mode: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Exact count at query time — the backend counts rather than reading a cached counter. Unnamed and private
|
|
54
|
+
* accounts are included: Private Mode hides activity, not relationships. Requires `follow_counts`.
|
|
55
|
+
*/
|
|
56
|
+
follower_count?: number;
|
|
57
|
+
following_count?: number;
|
|
58
|
+
/** Requires the `follow_summary` include, and is relative to that include's `view_as`. */
|
|
59
|
+
follow_summary?: MobileServerFollowSummary;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Server-side row of a Followers or Following page (snake_case).
|
|
63
|
+
*/
|
|
64
|
+
interface MobileServerFollowListAccount {
|
|
65
|
+
identity: MobileServerIdentitySummary;
|
|
66
|
+
/**
|
|
67
|
+
* The `view_as` Viewer's relationship to this account, not the listed relationship that put it in the
|
|
68
|
+
* page, so it is `false` on the Viewer's own row. Omitted entirely when the request named no `view_as`,
|
|
69
|
+
* rather than being sent as a misleading `false`.
|
|
70
|
+
*/
|
|
71
|
+
is_following?: boolean;
|
|
72
|
+
/** The listed account's own follower count, exact at query time. */
|
|
73
|
+
follower_count: number;
|
|
22
74
|
}
|
|
23
75
|
/**
|
|
24
76
|
* Direction of the position a feed trade resulted in — for `closed`, the direction that was closed. This is
|
|
@@ -71,14 +123,9 @@ interface MobileServerFeedMargin {
|
|
|
71
123
|
* trader's current identity. Amounts are display-oriented human-unit JSON numbers — do not use them for
|
|
72
124
|
* accounting, order construction, or exact threshold decisions.
|
|
73
125
|
*/
|
|
74
|
-
interface MobileServerFeedTrade {
|
|
126
|
+
interface MobileServerFeedTrade extends MobileServerIdentitySummary {
|
|
75
127
|
/** Order digest this row is keyed by; the stable id clients use to reconcile live pagination. */
|
|
76
128
|
order_digest: Hex;
|
|
77
|
-
subaccount: Hex;
|
|
78
|
-
username: string | null;
|
|
79
|
-
display_name: string | null;
|
|
80
|
-
/** Reserved for a future avatar source; `null` until one is implemented. */
|
|
81
|
-
avatar_url: string | null;
|
|
82
129
|
product_id: number;
|
|
83
130
|
/** Executed quantity in human units. */
|
|
84
131
|
quantity: number;
|
|
@@ -122,5 +169,5 @@ interface MobileServerNotificationPreferences {
|
|
|
122
169
|
categories: MobileServerNotificationCategoryPreference[];
|
|
123
170
|
}
|
|
124
171
|
//#endregion
|
|
125
|
-
export { MobileFeedTradePosition as a, MobileNotificationCategory as c, MobileServerFeedTrade as d,
|
|
126
|
-
//# sourceMappingURL=serverModelTypes-
|
|
172
|
+
export { MobileServerNotificationPreferences as _, MobileFeedTradePosition as a, MobileNotificationCategory as c, MobileServerFeedTrade as d, MobileServerFollowListAccount as f, MobileServerNotificationPreferenceScope as g, MobileServerNotificationCategoryPreference as h, MobileFeedMarginMode as i, MobileNotificationPlatform as l, MobileServerIdentitySummary as m, MOBILE_FEED_TRADE_POSITION_DIRECTIONS as n, MobileFeedTradePositionDirection as o, MobileServerFollowSummary as p, MOBILE_FEED_TRADE_POSITION_EFFECTS as r, MobileFeedTradePositionEffect as s, MOBILE_FEED_MARGIN_MODES as t, MobileServerFeedMargin as u, MobileServerProfile as v };
|
|
173
|
+
//# sourceMappingURL=serverModelTypes-CUzqFA6x.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverModelTypes-CUzqFA6x.d.cts","names":[],"sources":["../src/types/src/types/serverModelTypes.ts"],"mappings":";;;;;;AAMA;KAAY,0BAAA;;;AAA0B;KAK1B,0BAAA;;;;AAA0B;AAatC;UAAiB,2BAAA;EACf,UAAA,EAAY,GAAG;EACf,QAAA;EACA,YAAA;EAFY;EAIZ,UAAA;AAAA;;;AAAU;AASZ;;;UAAiB,yBAAA;EACf,YAAA;EAEA;EAAA,iBAAA;EAEa;EAAb,WAAA,EAAa,2BAA2B;AAAA;AAY1C;;;;;;;;;AAAA,UAAiB,mBAAA;EACf,UAAA,EAAY,GAAA;EACZ,QAAA;EACA,YAAA;EACA,YAAA;EAQ0C;AAM5C;;;EATE,cAAA;EACA,eAAA;EASU;EAPV,cAAA,GAAiB,yBAAyB;AAAA;;AAe5B;AAQhB;UAjBiB,6BAAA;EACf,QAAA,EAAU,2BAA2B;EAgBmB;AAAA;AAM1D;;;EAhBE,YAAA;EAmB8D;EAjB9D,cAAA;AAAA;;;AA6BQ;AAKV;;KA1BY,gCAAA,GAAmC,WAAW;;AA2Bd;AAM5C;;cA3Ba,qCAAA;;;;;cASA,kCAAA;;AAoB0B;AAOvC;KAhBY,6BAAA,WACF,kCAAkC;;;AAe0B;AAKtE;UAdiB,uBAAA;EACf,SAAA,EAAW,gCAAA;EACX,MAAA,EAAQ,6BAA6B;AAAA;AAmBvC;;;;AAAA,cAZa,wBAAA;;;;KAKD,oBAAA,WAA+B,wBAAwB;AAiBnE;;;;;AAAA,UAViB,sBAAA;EACf,IAAA,EAAM,oBAAoB;EAC1B,kBAAA;AAAA;;;;;;UAQe,qBAAA,SAA8B,2BAAA;EAS7C;EAPA,YAAA,EAAc,GAAA;EACd,UAAA;EAQA;EANA,QAAA;EAQA;EANA,QAAA;EAQY;EANZ,aAAA;EACA,MAAA,EAAQ,sBAAA;EACR,QAAA,EAAU,uBAAA;;EAEV,YAAA;EAUI;EARJ,YAAA;AAAA;;;;AAS+B;KAFrB,uCAAA;EACN,IAAA;EAAoB,UAAA,EAAY,GAAG;AAAA;EACnC,IAAA;EAAiB,UAAA;AAAA;;;;UAKN,0CAAA;EACf,QAAA,EAAU,0BAAA;EACV,OAAA;EACA,MAAA,EAAQ,uCAAuC;AAAA;;;;;UAOhC,mCAAA;;EAEf,cAAA;EACA,UAAA,EAAY,0CAA0C;AAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as MobileServerFeedTrade,
|
|
2
|
-
import {
|
|
3
|
-
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-
|
|
1
|
+
import { _ as MobileServerNotificationPreferences, d as MobileServerFeedTrade, f as MobileServerFollowListAccount, l as MobileNotificationPlatform, v as MobileServerProfile } from "./serverModelTypes-CDcRlRtw.js";
|
|
2
|
+
import { o as MobileServerPublicQueryRequestByType, s as MobileServerPublicQueryRequestType } from "./serverRequestTypes-Dv9NR-hQ.js";
|
|
3
|
+
import { n as MobileServerSuccessResponse } from "./serverBaseTypes-C2JGib--.js";
|
|
4
4
|
import { Hex } from "viem";
|
|
5
5
|
|
|
6
6
|
//#region src/types/serverQueryTypes.d.ts
|
|
@@ -18,10 +18,20 @@ interface MobileServerUsernameAvailabilityResponse {
|
|
|
18
18
|
available: boolean;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Payload of the `
|
|
21
|
+
* Payload of the `profiles` public query success response. One entry per requested subaccount, in the exact
|
|
22
|
+
* order they were requested, so callers can correlate positionally as well as by `subaccount`.
|
|
22
23
|
*/
|
|
23
|
-
interface
|
|
24
|
-
|
|
24
|
+
interface MobileServerProfilesResponse {
|
|
25
|
+
profiles: MobileServerProfile[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Payload of the `followers` and `following` public query success responses. Both list directions share one
|
|
29
|
+
* shape; only the relationship that selected the rows differs.
|
|
30
|
+
*/
|
|
31
|
+
interface MobileServerFollowListResponse {
|
|
32
|
+
accounts: MobileServerFollowListAccount[];
|
|
33
|
+
/** `null` means the list is complete. */
|
|
34
|
+
next_cursor: string | null;
|
|
25
35
|
}
|
|
26
36
|
/**
|
|
27
37
|
* Payload of the `feed` public query success response.
|
|
@@ -61,7 +71,9 @@ interface MobileServerRegisteredWalletResponse {
|
|
|
61
71
|
*/
|
|
62
72
|
interface MobileServerPublicQueryResponseByType {
|
|
63
73
|
username_availability: MobileServerUsernameAvailabilityResponse;
|
|
64
|
-
|
|
74
|
+
profiles: MobileServerProfilesResponse;
|
|
75
|
+
followers: MobileServerFollowListResponse;
|
|
76
|
+
following: MobileServerFollowListResponse;
|
|
65
77
|
feed: MobileServerFeedResponse;
|
|
66
78
|
notification_preferences: MobileServerNotificationPreferencesResponse;
|
|
67
79
|
registered_wallet: MobileServerRegisteredWalletResponse;
|
|
@@ -73,5 +85,5 @@ interface MobileServerPublicQueryResponseByType {
|
|
|
73
85
|
*/
|
|
74
86
|
type MobileServerPublicQuerySuccessResponse<T extends MobileServerPublicQueryRequestType = MobileServerPublicQueryRequestType> = MobileServerSuccessResponse & MobileServerPublicQueryResponseByType[T];
|
|
75
87
|
//#endregion
|
|
76
|
-
export {
|
|
77
|
-
//# sourceMappingURL=serverQueryTypes-
|
|
88
|
+
export { MobileServerPublicQueryRequest as a, MobileServerRegisteredWalletResponse as c, MobileServerProfilesResponse as i, MobileServerUsernameAvailabilityResponse as l, MobileServerFollowListResponse as n, MobileServerPublicQueryResponseByType as o, MobileServerNotificationPreferencesResponse as r, MobileServerPublicQuerySuccessResponse as s, MobileServerFeedResponse as t };
|
|
89
|
+
//# sourceMappingURL=serverQueryTypes-B0xI1G39.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverQueryTypes-B0xI1G39.d.ts","names":[],"sources":["../src/types/src/types/serverQueryTypes.ts"],"mappings":";;;;;;;;AAiBA;KAAY,8BAAA,WACA,kCAAA,GACR,kCAAA,YAEI,kCAAA;EACJ,IAAA,EAAM,CAAA;AAAA,IACJ,oCAAA,CAAqC,CAAA,IACzC,CAAA;;;;UAKe,wCAAA;EACf,QAAA;EACA,SAAS;AAAA;;;;;UAOM,4BAAA;EACf,QAAA,EAAU,mBAAmB;AAAA;;;;AAf5B;UAsBc,8BAAA;EACf,QAAA,EAAU,6BAA6B;;EAEvC,WAAA;AAAA;AAXF;;;AAAA,UAiBiB,wBAAA;EACf,MAAA,EAAQ,qBAAqB;EAVd;;;;;EAgBf,WAAA;AAAA;;AAbW;AAMb;UAaiB,2CAAA;EACf,WAAA,EAAa,mCAAmC;AAAA;;;;;UAOjC,oCAAA;EACf,MAAA,EAAQ,GAAA;EACR,QAAA,EAAU,0BAA0B;EACpC,MAAA;EACA,WAAA;EACA,wBAAA;EACA,YAAA;AAAA;;;;;;;UASe,qCAAA;EACf,qBAAA,EAAuB,wCAAA;EACvB,QAAA,EAAU,4BAAA;EACV,SAAA,EAAW,8BAAA;EACX,SAAA,EAAW,8BAAA;EACX,IAAA,EAAM,wBAAA;EACN,wBAAA,EAA0B,2CAAA;EAC1B,iBAAA,EAAmB,oCAAA;AAAA;;;;;;KAQT,sCAAA,WACA,kCAAA,GACR,kCAAA,IACA,2BAAA,GAA8B,qCAAA,CAAsC,CAAA"}
|