@nadohq/mobile-client 0.64.0 → 0.65.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 +20 -2
- package/dist/{MobileClient-aDxiM_Kf.cjs → MobileClient-CfVZXTcz.cjs} +298 -1
- package/dist/MobileClient-CfVZXTcz.cjs.map +1 -0
- package/dist/MobileClient.cjs +1 -1
- package/dist/MobileClient.d.cts +173 -7
- package/dist/MobileClient.d.cts.map +1 -1
- package/dist/MobileClient.d.ts +173 -7
- package/dist/MobileClient.d.ts.map +1 -1
- package/dist/MobileClient.js +298 -1
- package/dist/MobileClient.js.map +1 -1
- package/dist/{MobileServerFailureError-Dd3c6P_Z.d.ts → MobileServerFailureError-BZVwlsMg.d.ts} +3 -3
- package/dist/{MobileServerFailureError-Dd3c6P_Z.d.ts.map → MobileServerFailureError-BZVwlsMg.d.ts.map} +1 -1
- package/dist/{MobileServerFailureError-Bpa_WA9f.d.cts → MobileServerFailureError-CbtK8kD4.d.cts} +3 -3
- package/dist/{MobileServerFailureError-Bpa_WA9f.d.cts.map → MobileServerFailureError-CbtK8kD4.d.cts.map} +1 -1
- package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.cts +15 -0
- package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.cts.map +1 -0
- package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.ts +15 -0
- package/dist/MobileUnsupportedFeedItemError-BsZvW8i2.d.ts.map +1 -0
- package/dist/{buildSignedMobileRequest-NHbMAPzd.d.cts → buildSignedMobileRequest-C1v0flCR.d.cts} +2 -2
- package/dist/{buildSignedMobileRequest-NHbMAPzd.d.cts.map → buildSignedMobileRequest-C1v0flCR.d.cts.map} +1 -1
- package/dist/{buildSignedMobileRequest-Cb1T74xV.d.ts → buildSignedMobileRequest-UeeWdYGU.d.ts} +2 -2
- package/dist/{buildSignedMobileRequest-Cb1T74xV.d.ts.map → buildSignedMobileRequest-UeeWdYGU.d.ts.map} +1 -1
- package/dist/{canonicalize-BBYGh17w.d.ts → canonicalize-5eeZrkzQ.d.ts} +2 -2
- package/dist/canonicalize-5eeZrkzQ.d.ts.map +1 -0
- package/dist/{canonicalize-BF_SiNvO.d.cts → canonicalize-CBaZprTo.d.cts} +2 -2
- package/dist/canonicalize-CBaZprTo.d.cts.map +1 -0
- package/dist/{clientTypes-BWFKo9oE.d.cts → clientTypes-C9dJufxk.d.ts} +569 -25
- package/dist/clientTypes-C9dJufxk.d.ts.map +1 -0
- package/dist/{clientTypes-DCTiUV0H.d.ts → clientTypes-_mEgzmNs.d.cts} +569 -25
- package/dist/clientTypes-_mEgzmNs.d.cts.map +1 -0
- package/dist/dataMappers.cjs +488 -9
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +190 -7
- package/dist/dataMappers.d.cts.map +1 -1
- package/dist/dataMappers.d.ts +190 -7
- package/dist/dataMappers.d.ts.map +1 -1
- package/dist/dataMappers.js +460 -10
- package/dist/dataMappers.js.map +1 -1
- package/dist/{eip712MethodByType-BSx11xG-.d.cts → eip712MethodByType-D8jLoxDu.d.cts} +2 -2
- package/dist/eip712MethodByType-D8jLoxDu.d.cts.map +1 -0
- package/dist/{eip712MethodByType-DkiAjCLs.d.ts → eip712MethodByType-DcUh8h-l.d.ts} +2 -2
- package/dist/eip712MethodByType-DcUh8h-l.d.ts.map +1 -0
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +16 -15
- package/dist/index.d.ts +16 -15
- package/dist/index.js +2 -1
- package/dist/{mobileErrorCodes-3LtreeZM.d.ts → mobileErrorCodes-CmjYEIYm.d.cts} +18 -4
- package/dist/mobileErrorCodes-CmjYEIYm.d.cts.map +1 -0
- package/dist/{mobileErrorCodes-3LtreeZM.d.cts → mobileErrorCodes-CmjYEIYm.d.ts} +18 -4
- package/dist/mobileErrorCodes-CmjYEIYm.d.ts.map +1 -0
- package/dist/{payloadHash-BOWGjqdb.d.cts → payloadHash-DhHmgRqL.d.cts} +2 -2
- package/dist/payloadHash-DhHmgRqL.d.cts.map +1 -0
- package/dist/{payloadHash-Bzf4CtjV.d.ts → payloadHash-E1_8fpLW.d.ts} +2 -2
- package/dist/payloadHash-E1_8fpLW.d.ts.map +1 -0
- package/dist/{serverBaseTypes-KREDe2M9.d.cts → serverBaseTypes-B5J1_TyC.d.cts} +2 -2
- package/dist/{serverBaseTypes-KREDe2M9.d.cts.map → serverBaseTypes-B5J1_TyC.d.cts.map} +1 -1
- package/dist/{serverBaseTypes-DWf3iGWy.d.ts → serverBaseTypes-DnLzsdm-.d.ts} +2 -2
- package/dist/{serverBaseTypes-DWf3iGWy.d.ts.map → serverBaseTypes-DnLzsdm-.d.ts.map} +1 -1
- package/dist/serverExecuteTypes-B-OJok19.d.cts +162 -0
- package/dist/serverExecuteTypes-B-OJok19.d.cts.map +1 -0
- package/dist/serverExecuteTypes-BwWGspOg.d.ts +162 -0
- package/dist/serverExecuteTypes-BwWGspOg.d.ts.map +1 -0
- package/dist/{serverModelTypes-DAqEyYtB.d.cts → serverModelTypes-CiA-dy1R.d.cts} +299 -24
- package/dist/serverModelTypes-CiA-dy1R.d.cts.map +1 -0
- package/dist/{serverModelTypes-DAqEyYtB.d.ts → serverModelTypes-CiA-dy1R.d.ts} +299 -24
- package/dist/serverModelTypes-CiA-dy1R.d.ts.map +1 -0
- package/dist/{serverQueryTypes-DNdMpmDr.d.cts → serverQueryTypes-CJcjLB7n.d.ts} +117 -5
- package/dist/serverQueryTypes-CJcjLB7n.d.ts.map +1 -0
- package/dist/{serverQueryTypes-BFdwq0Z2.d.ts → serverQueryTypes-V1f9yE7L.d.cts} +117 -5
- package/dist/serverQueryTypes-V1f9yE7L.d.cts.map +1 -0
- package/dist/{serverRequestTypes-CxDRFKfv.d.cts → serverRequestTypes-CRlkNSu5.d.cts} +77 -7
- package/dist/serverRequestTypes-CRlkNSu5.d.cts.map +1 -0
- package/dist/{serverRequestTypes-BNA7FCY6.d.ts → serverRequestTypes-DZoOhV2o.d.ts} +77 -7
- package/dist/serverRequestTypes-DZoOhV2o.d.ts.map +1 -0
- package/dist/{serverResponseGuards-Dkdok0Sm.d.cts → serverResponseGuards-BW69PS7O.d.cts} +2 -2
- package/dist/{serverResponseGuards-Dkdok0Sm.d.cts.map → serverResponseGuards-BW69PS7O.d.cts.map} +1 -1
- package/dist/{serverResponseGuards-BU1Xv_tG.d.ts → serverResponseGuards-CShiXpHT.d.ts} +2 -2
- package/dist/{serverResponseGuards-BU1Xv_tG.d.ts.map → serverResponseGuards-CShiXpHT.d.ts.map} +1 -1
- package/dist/signing/buildSignedMobileRequest.d.cts +1 -1
- package/dist/signing/buildSignedMobileRequest.d.ts +1 -1
- package/dist/signing/canonicalize.cjs +37 -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 +37 -0
- package/dist/signing/canonicalize.js.map +1 -1
- package/dist/signing/eip712MethodByType.cjs +5 -0
- package/dist/signing/eip712MethodByType.cjs.map +1 -1
- package/dist/signing/eip712MethodByType.d.cts +1 -1
- package/dist/signing/eip712MethodByType.d.ts +1 -1
- package/dist/signing/eip712MethodByType.js +5 -0
- package/dist/signing/eip712MethodByType.js.map +1 -1
- package/dist/signing/index.d.cts +5 -5
- package/dist/signing/index.d.ts +5 -5
- package/dist/signing/payloadHash.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/MobileUnsupportedFeedItemError.cjs +19 -0
- package/dist/types/MobileUnsupportedFeedItemError.cjs.map +1 -0
- package/dist/types/MobileUnsupportedFeedItemError.d.cts +2 -0
- package/dist/types/MobileUnsupportedFeedItemError.d.ts +2 -0
- package/dist/types/MobileUnsupportedFeedItemError.js +18 -0
- package/dist/types/MobileUnsupportedFeedItemError.js.map +1 -0
- package/dist/types/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +10 -9
- package/dist/types/index.d.ts +10 -9
- package/dist/types/index.js +2 -1
- package/dist/types/mobileErrorCodes.cjs +28 -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 +28 -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 +1 -1
- package/dist/types/serverRequestTypes.d.ts +1 -1
- package/dist/{types-BCr2G5gS.d.cts → types-BiRmH5Iv.d.cts} +31 -7
- package/dist/types-BiRmH5Iv.d.cts.map +1 -0
- package/dist/{types-C18k-9Vy.d.ts → types-DoJuq0Ij.d.ts} +31 -7
- package/dist/types-DoJuq0Ij.d.ts.map +1 -0
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.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 +409 -4
- package/src/dataMappers.test.ts +742 -0
- package/src/dataMappers.ts +671 -12
- package/src/signing/canonicalize.ts +53 -0
- package/src/signing/eip712MethodByType.ts +5 -0
- package/src/signing/signing.test.ts +347 -0
- package/src/signing/types.ts +57 -4
- package/src/types/MobileUnsupportedFeedItemError.ts +18 -0
- package/src/types/clientTypes.ts +645 -23
- package/src/types/index.ts +1 -0
- package/src/types/mobileErrorCodes.ts +28 -0
- package/src/types/serverExecuteTypes.ts +92 -3
- package/src/types/serverModelTypes.ts +376 -22
- package/src/types/serverQueryTypes.ts +138 -0
- package/src/types/serverRequestTypes.ts +115 -4
- package/dist/MobileClient-aDxiM_Kf.cjs.map +0 -1
- package/dist/canonicalize-BBYGh17w.d.ts.map +0 -1
- package/dist/canonicalize-BF_SiNvO.d.cts.map +0 -1
- package/dist/clientTypes-BWFKo9oE.d.cts.map +0 -1
- package/dist/clientTypes-DCTiUV0H.d.ts.map +0 -1
- package/dist/eip712MethodByType-BSx11xG-.d.cts.map +0 -1
- package/dist/eip712MethodByType-DkiAjCLs.d.ts.map +0 -1
- package/dist/mobileErrorCodes-3LtreeZM.d.cts.map +0 -1
- package/dist/mobileErrorCodes-3LtreeZM.d.ts.map +0 -1
- package/dist/payloadHash-BOWGjqdb.d.cts.map +0 -1
- package/dist/payloadHash-Bzf4CtjV.d.ts.map +0 -1
- package/dist/serverExecuteTypes-DVRa6ifu.d.cts +0 -89
- package/dist/serverExecuteTypes-DVRa6ifu.d.cts.map +0 -1
- package/dist/serverExecuteTypes-DlYZCp1f.d.ts +0 -89
- package/dist/serverExecuteTypes-DlYZCp1f.d.ts.map +0 -1
- package/dist/serverModelTypes-DAqEyYtB.d.cts.map +0 -1
- package/dist/serverModelTypes-DAqEyYtB.d.ts.map +0 -1
- package/dist/serverQueryTypes-BFdwq0Z2.d.ts.map +0 -1
- package/dist/serverQueryTypes-DNdMpmDr.d.cts.map +0 -1
- package/dist/serverRequestTypes-BNA7FCY6.d.ts.map +0 -1
- package/dist/serverRequestTypes-CxDRFKfv.d.cts.map +0 -1
- package/dist/types-BCr2G5gS.d.cts.map +0 -1
- package/dist/types-C18k-9Vy.d.ts.map +0 -1
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* EIP-712 `method` string for each signed inner payload type.
|
|
4
4
|
*/
|
|
5
5
|
const MOBILE_EIP712_METHOD_BY_TYPE = {
|
|
6
|
+
create_feed_post: "mobile:execute_create_feed_post",
|
|
7
|
+
create_feed_comment: "mobile:execute_create_feed_comment",
|
|
8
|
+
create_feed_chart_drawing: "mobile:execute_create_feed_chart_drawing",
|
|
9
|
+
update_feed_chart_drawing: "mobile:execute_update_feed_chart_drawing",
|
|
10
|
+
set_feed_like: "mobile:execute_set_feed_like",
|
|
6
11
|
set_bio: "mobile:execute_set_bio",
|
|
7
12
|
create_avatar_upload: "mobile:execute_create_avatar_upload",
|
|
8
13
|
set_avatar: "mobile:execute_set_avatar",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n set_bio: 'mobile:execute_set_bio',\n create_avatar_upload: 'mobile:execute_create_avatar_upload',\n set_avatar: 'mobile:execute_set_avatar',\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n set_follow_batch: 'mobile:execute_set_follow_batch',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,SAAS;CACT,sBAAsB;CACtB,YAAY;CACZ,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;CACZ,kBAAkB;AACpB"}
|
|
1
|
+
{"version":3,"file":"eip712MethodByType.js","names":[],"sources":["../../src/signing/eip712MethodByType.ts"],"sourcesContent":["import { MobileSignedInner } from './types';\n\n/**\n * EIP-712 `method` string for each signed inner payload type.\n */\nexport const MOBILE_EIP712_METHOD_BY_TYPE: Record<\n MobileSignedInner['type'],\n string\n> = {\n create_feed_post: 'mobile:execute_create_feed_post',\n create_feed_comment: 'mobile:execute_create_feed_comment',\n create_feed_chart_drawing: 'mobile:execute_create_feed_chart_drawing',\n update_feed_chart_drawing: 'mobile:execute_update_feed_chart_drawing',\n set_feed_like: 'mobile:execute_set_feed_like',\n set_bio: 'mobile:execute_set_bio',\n create_avatar_upload: 'mobile:execute_create_avatar_upload',\n set_avatar: 'mobile:execute_set_avatar',\n set_username: 'mobile:execute_set_username',\n set_private_mode: 'mobile:execute_set_private_mode',\n register_expo_token: 'mobile:execute_register_expo_token',\n set_follow: 'mobile:execute_set_follow',\n set_follow_batch: 'mobile:execute_set_follow_batch',\n};\n"],"mappings":";;;;AAKA,MAAa,+BAGT;CACF,kBAAkB;CAClB,qBAAqB;CACrB,2BAA2B;CAC3B,2BAA2B;CAC3B,eAAe;CACf,SAAS;CACT,sBAAsB;CACtB,YAAY;CACZ,cAAc;CACd,kBAAkB;CAClB,qBAAqB;CACrB,YAAY;CACZ,kBAAkB;AACpB"}
|
package/dist/signing/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
2
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
3
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
4
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-BiRmH5Iv.cjs";
|
|
2
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-C1v0flCR.cjs";
|
|
3
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-CBaZprTo.cjs";
|
|
4
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-D8jLoxDu.cjs";
|
|
5
5
|
import { t as getMobileNonce } from "../nonce-7swNuPgu.cjs";
|
|
6
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
6
|
+
import { t as getMobilePayloadHash } from "../payloadHash-DhHmgRqL.cjs";
|
|
7
7
|
export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
|
package/dist/signing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
2
|
-
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-
|
|
3
|
-
import { t as canonicalizeMobileInner } from "../canonicalize-
|
|
4
|
-
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-DoJuq0Ij.js";
|
|
2
|
+
import { t as buildSignedMobileRequest } from "../buildSignedMobileRequest-UeeWdYGU.js";
|
|
3
|
+
import { t as canonicalizeMobileInner } from "../canonicalize-5eeZrkzQ.js";
|
|
4
|
+
import { t as MOBILE_EIP712_METHOD_BY_TYPE } from "../eip712MethodByType-DcUh8h-l.js";
|
|
5
5
|
import { t as getMobileNonce } from "../nonce-7swNuPgu.js";
|
|
6
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
6
|
+
import { t as getMobilePayloadHash } from "../payloadHash-E1_8fpLW.js";
|
|
7
7
|
export { BuildSignedMobileRequestParams, MOBILE_EIP712_METHOD_BY_TYPE, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest, buildSignedMobileRequest, canonicalizeMobileInner, getMobileNonce, getMobilePayloadHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
1
|
+
import { t as getMobilePayloadHash } from "../payloadHash-DhHmgRqL.cjs";
|
|
2
2
|
export { getMobilePayloadHash };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as getMobilePayloadHash } from "../payloadHash-
|
|
1
|
+
import { t as getMobilePayloadHash } from "../payloadHash-E1_8fpLW.js";
|
|
2
2
|
export { getMobilePayloadHash };
|
package/dist/signing/types.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-BiRmH5Iv.cjs";
|
|
2
2
|
export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
|
package/dist/signing/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-
|
|
1
|
+
import { a as MobileSignedRequest, i as MobileSignedInnerParams, n as MobileSignedInner, r as MobileSignedInnerByType, t as BuildSignedMobileRequestParams } from "../types-DoJuq0Ij.js";
|
|
2
2
|
export { BuildSignedMobileRequestParams, MobileSignedInner, MobileSignedInnerByType, MobileSignedInnerParams, MobileSignedRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
1
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-CbtK8kD4.cjs";
|
|
2
2
|
export { MobileServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MobileServerFailureError } from "../MobileServerFailureError-
|
|
1
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-BZVwlsMg.js";
|
|
2
2
|
export { MobileServerFailureError };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/types/MobileUnsupportedFeedItemError.ts
|
|
3
|
+
/**
|
|
4
|
+
* Error thrown when the mobile service returns a social feed item kind this SDK does not support.
|
|
5
|
+
*/
|
|
6
|
+
var MobileUnsupportedFeedItemError = class extends Error {
|
|
7
|
+
/**
|
|
8
|
+
* @param kind - The unrecognized service item kind.
|
|
9
|
+
*/
|
|
10
|
+
constructor(kind) {
|
|
11
|
+
super(`Unsupported mobile social feed item kind "${kind}". Update the SDK to support this item type.`);
|
|
12
|
+
this.name = "MobileUnsupportedFeedItemError";
|
|
13
|
+
this.kind = kind;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.MobileUnsupportedFeedItemError = MobileUnsupportedFeedItemError;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=MobileUnsupportedFeedItemError.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileUnsupportedFeedItemError.cjs","names":[],"sources":["../../src/types/MobileUnsupportedFeedItemError.ts"],"sourcesContent":["/**\n * Error thrown when the mobile service returns a social feed item kind this SDK does not support.\n */\nexport class MobileUnsupportedFeedItemError extends Error {\n /** Unrecognized item kind returned by the service. */\n readonly kind: string;\n\n /**\n * @param kind - The unrecognized service item kind.\n */\n constructor(kind: string) {\n super(\n `Unsupported mobile social feed item kind \"${kind}\". Update the SDK to support this item type.`,\n );\n this.name = 'MobileUnsupportedFeedItemError';\n this.kind = kind;\n }\n}\n"],"mappings":";;;;;AAGA,IAAa,iCAAb,cAAoD,MAAM;;;;CAOxD,YAAY,MAAc;EACxB,MACE,6CAA6C,KAAK,6CACpD;EACA,KAAK,OAAO;EACZ,KAAK,OAAO;CACd;AACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/types/MobileUnsupportedFeedItemError.ts
|
|
2
|
+
/**
|
|
3
|
+
* Error thrown when the mobile service returns a social feed item kind this SDK does not support.
|
|
4
|
+
*/
|
|
5
|
+
var MobileUnsupportedFeedItemError = class extends Error {
|
|
6
|
+
/**
|
|
7
|
+
* @param kind - The unrecognized service item kind.
|
|
8
|
+
*/
|
|
9
|
+
constructor(kind) {
|
|
10
|
+
super(`Unsupported mobile social feed item kind "${kind}". Update the SDK to support this item type.`);
|
|
11
|
+
this.name = "MobileUnsupportedFeedItemError";
|
|
12
|
+
this.kind = kind;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { MobileUnsupportedFeedItemError };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=MobileUnsupportedFeedItemError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileUnsupportedFeedItemError.js","names":[],"sources":["../../src/types/MobileUnsupportedFeedItemError.ts"],"sourcesContent":["/**\n * Error thrown when the mobile service returns a social feed item kind this SDK does not support.\n */\nexport class MobileUnsupportedFeedItemError extends Error {\n /** Unrecognized item kind returned by the service. */\n readonly kind: string;\n\n /**\n * @param kind - The unrecognized service item kind.\n */\n constructor(kind: string) {\n super(\n `Unsupported mobile social feed item kind \"${kind}\". Update the SDK to support this item type.`,\n );\n this.name = 'MobileUnsupportedFeedItemError';\n this.kind = kind;\n }\n}\n"],"mappings":";;;;AAGA,IAAa,iCAAb,cAAoD,MAAM;;;;CAOxD,YAAY,MAAc;EACxB,MACE,6CAA6C,KAAK,6CACpD;EACA,KAAK,OAAO;EACZ,KAAK,OAAO;CACd;AACF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionCard, MobileSocialFeedPositionPatch, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
|
|
1
|
+
import { $ as MobileSetFollowParams, $t as MobileSocialFeedTradeCard, A as MobileFeedMargin, At as MobileSocialFeedLikeResult, B as MobileNotificationPreferenceScope, Bt as MobileSocialFeedPositionHistoryCard, C as MobileAvatarPreset, Ct as MobileSocialFeedHistorySummary, D as MobileCreateFeedCommentParams, Dt as MobileSocialFeedItemBase, E as MobileCreateAvatarUploadParams, Et as MobileSocialFeedItem, F as MobileFollowListPage, Ft as MobileSocialFeedPnl, G as MobilePublicProfile, Gt as MobileSocialFeedPresence, H as MobilePositionPresenceParams, Ht as MobileSocialFeedPositionResolutionResult, I as MobileFollowMutationResult, It as MobileSocialFeedPositionAction, J as MobileRegisteredWallet, Jt as MobileSocialFeedReadParams, K as MobileRecordFeedViewsParams, Kt as MobileSocialFeedPublishablePosition, L as MobileFollowSummary, Lt as MobileSocialFeedPositionCard, M as MobileFeedTrade, Mt as MobileSocialFeedMarket, N as MobileFollowBatchResultItem, Nt as MobileSocialFeedMentionParams, O as MobileCreateFeedPostParams, Ot as MobileSocialFeedItemPatch, P as MobileFollowListAccount, Pt as MobileSocialFeedPage, Q as MobileSetFollowBatchParams, Qt as MobileSocialFeedTopTradersPage, R as MobileIdentitySummary, Rt as MobileSocialFeedPositionChart, S as GetMobileUsernameAvailabilityParams, St as MobileSocialFeedHistoryMetrics, T as MobileAvatarUpload, Tt as MobileSocialFeedInteraction, U as MobileProfileSearchPage, Ut as MobileSocialFeedPositionsPage, V as MobileNotificationPreferences, Vt as MobileSocialFeedPositionPatch, W as MobileProfilesInclude, Wt as MobileSocialFeedPost, X as MobileSetBioParams, Xt as MobileSocialFeedReply, Y as MobileSetAvatarParams, Yt as MobileSocialFeedReadSession, Z as MobileSetFeedLikeParams, Zt as MobileSocialFeedTimelineEntry, _ as GetMobileProfileFeedParams, _t as MobileSocialFeedContentBase, a as GetMobileFeedUpdatesParams, an as MobileSocialFeedUpdates, at as MobileSocialFeedActionResolutionResult, b as GetMobileSelfFeedPositionsParams, bt as MobileSocialFeedDrawingResult, c as GetMobileFollowingParams, cn as MobileSocialFeedWatchers, ct as MobileSocialFeedCapabilities, d as GetMobileMarketFeedParams, dn as MobileUsernameAvailability, dt as MobileSocialFeedCohort, en as MobileSocialFeedTradeRow, et as MobileSetPrivateModeParams, f as GetMobileNotificationPreferencesParams, fn as MobileWithExpoTokenParams, ft as MobileSocialFeedCohortCoverage, g as GetMobilePositionWatchersParams, gt as MobileSocialFeedCompactCard, h as GetMobilePositionHistoryParams, hn as SearchMobileProfilesParams, ht as MobileSocialFeedCommentsPage, i as GetMobileFeedParams, in as MobileSocialFeedTradingTarget, it as MobileSocialFeedActionMarker, j as MobileFeedPage, jt as MobileSocialFeedListParams, k as MobileFeedChartDrawingParams, kt as MobileSocialFeedItemResponse, l as GetMobileForYouFeedParams, ln as MobileUnregisterExpoTokenParams, lt as MobileSocialFeedCategorizedParams, m as GetMobilePositionFeedParams, mn as ResolveMobileFeedPositionParams, mt as MobileSocialFeedCommentResult, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedTraderBadge, nt as MobileSignedRequestParams, o as GetMobileFollowListParams, on as MobileSocialFeedViewTracking, ot as MobileSocialFeedAuthor, p as GetMobilePositionChartParams, pn as ResolveMobileFeedActionParams, pt as MobileSocialFeedCommentPreview, q as MobileRegisterExpoTokenParams, qt as MobileSocialFeedRankedPage, r as GetMobileFeedItemParams, rn as MobileSocialFeedTradingContext, rt as MobileSocialFeedActionCandidate, s as GetMobileFollowersParams, sn as MobileSocialFeedViewsResult, st as MobileSocialFeedCandle, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedTradeRowBase, tt as MobileSetUsernameParams, u as GetMobileFriendsFeedParams, un as MobileUpdateNotificationPreferencesParams, ut as MobileSocialFeedChartRange, v as GetMobileProfilesParams, vt as MobileSocialFeedDrawing, w as MobileAvatarSelection, wt as MobileSocialFeedHistoryTake, x as GetMobileTopTradersFeedParams, xt as MobileSocialFeedEstimatedLiquidationLine, y as GetMobileRegisteredWalletParams, yt as MobileSocialFeedDrawingMutationResult, z as MobileNotificationCategoryPreference, zt as MobileSocialFeedPositionHistory } from "../clientTypes-_mEgzmNs.cjs";
|
|
2
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionFeedParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAuthor, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionCard, MobileSocialFeedPositionPatch, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, SearchMobileProfilesParams };
|
|
1
|
+
import { $ as MobileSetFollowParams, $t as MobileSocialFeedTradeCard, A as MobileFeedMargin, At as MobileSocialFeedLikeResult, B as MobileNotificationPreferenceScope, Bt as MobileSocialFeedPositionHistoryCard, C as MobileAvatarPreset, Ct as MobileSocialFeedHistorySummary, D as MobileCreateFeedCommentParams, Dt as MobileSocialFeedItemBase, E as MobileCreateAvatarUploadParams, Et as MobileSocialFeedItem, F as MobileFollowListPage, Ft as MobileSocialFeedPnl, G as MobilePublicProfile, Gt as MobileSocialFeedPresence, H as MobilePositionPresenceParams, Ht as MobileSocialFeedPositionResolutionResult, I as MobileFollowMutationResult, It as MobileSocialFeedPositionAction, J as MobileRegisteredWallet, Jt as MobileSocialFeedReadParams, K as MobileRecordFeedViewsParams, Kt as MobileSocialFeedPublishablePosition, L as MobileFollowSummary, Lt as MobileSocialFeedPositionCard, M as MobileFeedTrade, Mt as MobileSocialFeedMarket, N as MobileFollowBatchResultItem, Nt as MobileSocialFeedMentionParams, O as MobileCreateFeedPostParams, Ot as MobileSocialFeedItemPatch, P as MobileFollowListAccount, Pt as MobileSocialFeedPage, Q as MobileSetFollowBatchParams, Qt as MobileSocialFeedTopTradersPage, R as MobileIdentitySummary, Rt as MobileSocialFeedPositionChart, S as GetMobileUsernameAvailabilityParams, St as MobileSocialFeedHistoryMetrics, T as MobileAvatarUpload, Tt as MobileSocialFeedInteraction, U as MobileProfileSearchPage, Ut as MobileSocialFeedPositionsPage, V as MobileNotificationPreferences, Vt as MobileSocialFeedPositionPatch, W as MobileProfilesInclude, Wt as MobileSocialFeedPost, X as MobileSetBioParams, Xt as MobileSocialFeedReply, Y as MobileSetAvatarParams, Yt as MobileSocialFeedReadSession, Z as MobileSetFeedLikeParams, Zt as MobileSocialFeedTimelineEntry, _ as GetMobileProfileFeedParams, _t as MobileSocialFeedContentBase, a as GetMobileFeedUpdatesParams, an as MobileSocialFeedUpdates, at as MobileSocialFeedActionResolutionResult, b as GetMobileSelfFeedPositionsParams, bt as MobileSocialFeedDrawingResult, c as GetMobileFollowingParams, cn as MobileSocialFeedWatchers, ct as MobileSocialFeedCapabilities, d as GetMobileMarketFeedParams, dn as MobileUsernameAvailability, dt as MobileSocialFeedCohort, en as MobileSocialFeedTradeRow, et as MobileSetPrivateModeParams, f as GetMobileNotificationPreferencesParams, fn as MobileWithExpoTokenParams, ft as MobileSocialFeedCohortCoverage, g as GetMobilePositionWatchersParams, gt as MobileSocialFeedCompactCard, h as GetMobilePositionHistoryParams, hn as SearchMobileProfilesParams, ht as MobileSocialFeedCommentsPage, i as GetMobileFeedParams, in as MobileSocialFeedTradingTarget, it as MobileSocialFeedActionMarker, j as MobileFeedPage, jt as MobileSocialFeedListParams, k as MobileFeedChartDrawingParams, kt as MobileSocialFeedItemResponse, l as GetMobileForYouFeedParams, ln as MobileUnregisterExpoTokenParams, lt as MobileSocialFeedCategorizedParams, m as GetMobilePositionFeedParams, mn as ResolveMobileFeedPositionParams, mt as MobileSocialFeedCommentResult, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedTraderBadge, nt as MobileSignedRequestParams, o as GetMobileFollowListParams, on as MobileSocialFeedViewTracking, ot as MobileSocialFeedAuthor, p as GetMobilePositionChartParams, pn as ResolveMobileFeedActionParams, pt as MobileSocialFeedCommentPreview, q as MobileRegisterExpoTokenParams, qt as MobileSocialFeedRankedPage, r as GetMobileFeedItemParams, rn as MobileSocialFeedTradingContext, rt as MobileSocialFeedActionCandidate, s as GetMobileFollowersParams, sn as MobileSocialFeedViewsResult, st as MobileSocialFeedCandle, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedTradeRowBase, tt as MobileSetUsernameParams, u as GetMobileFriendsFeedParams, un as MobileUpdateNotificationPreferencesParams, ut as MobileSocialFeedChartRange, v as GetMobileProfilesParams, vt as MobileSocialFeedDrawing, w as MobileAvatarSelection, wt as MobileSocialFeedHistoryTake, x as GetMobileTopTradersFeedParams, xt as MobileSocialFeedEstimatedLiquidationLine, y as GetMobileRegisteredWalletParams, yt as MobileSocialFeedDrawingMutationResult, z as MobileNotificationCategoryPreference, zt as MobileSocialFeedPositionHistory } from "../clientTypes-C9dJufxk.js";
|
|
2
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedPage, MobileFeedTrade, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategoryPreference, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, MobileRegisterExpoTokenParams, MobileRegisteredWallet, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionResolutionResult, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLikeResult, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReply, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTraderBadge, MobileSocialFeedTradingContext, MobileSocialFeedTradingTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_types_MobileUnsupportedFeedItemError = require("./MobileUnsupportedFeedItemError.cjs");
|
|
2
3
|
const require_types_MobileServerFailureError = require("./MobileServerFailureError.cjs");
|
|
3
4
|
const require_types_mobileErrorCodes = require("./mobileErrorCodes.cjs");
|
|
4
5
|
const require_types_serverModelTypes = require("./serverModelTypes.cjs");
|
|
@@ -7,3 +8,4 @@ exports.MOBILE_FEED_MARGIN_MODES = require_types_serverModelTypes.MOBILE_FEED_MA
|
|
|
7
8
|
exports.MOBILE_FEED_TRADE_POSITION_DIRECTIONS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_DIRECTIONS;
|
|
8
9
|
exports.MOBILE_FEED_TRADE_POSITION_EFFECTS = require_types_serverModelTypes.MOBILE_FEED_TRADE_POSITION_EFFECTS;
|
|
9
10
|
exports.MobileServerFailureError = require_types_MobileServerFailureError.MobileServerFailureError;
|
|
11
|
+
exports.MobileUnsupportedFeedItemError = require_types_MobileUnsupportedFeedItemError.MobileUnsupportedFeedItemError;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
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-
|
|
4
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
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-
|
|
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
|
-
|
|
1
|
+
import { $ as MobileServerSocialFeedTradeRow, A as MobileServerSocialFeedCompactCard, At as MobileSocialFeedTradeSizeChangeAction, B as MobileServerSocialFeedItemPatch, C as MobileServerSocialFeedAuthor, Ct as MobileSocialFeedPositionResolutionReason, D as MobileServerSocialFeedCohort, Dt as MobileSocialFeedSourceCategory, E as MobileServerSocialFeedChartRange, Et as MobileSocialFeedReadSessionMode, F as MobileServerSocialFeedHistorySummary, Ft as MobileSocialFeedUnavailableTarget, G as MobileServerSocialFeedPositionHistoryCard, H as MobileServerSocialFeedPnl, I as MobileServerSocialFeedHistoryTake, J as MobileServerSocialFeedPublishablePosition, K as MobileServerSocialFeedPositionPatch, L as MobileServerSocialFeedInteraction, M as MobileServerSocialFeedDrawing, Mt as MobileSocialFeedTraderDataStatus, N as MobileServerSocialFeedEstimatedLiquidationLine, Nt as MobileSocialFeedTradingResolution, O as MobileServerSocialFeedCohortCoverage, Ot as MobileSocialFeedTargetType, P as MobileServerSocialFeedHistoryMetrics, Pt as MobileSocialFeedType, Q as MobileServerSocialFeedTradeCard, R as MobileServerSocialFeedItem, S as MobileServerSocialFeedActionMarker, St as MobileSocialFeedPositionResolution, T as MobileServerSocialFeedCapabilities, Tt as MobileSocialFeedPresenceState, U as MobileServerSocialFeedPositionAction, V as MobileServerSocialFeedMarket, W as MobileServerSocialFeedPositionCard, X as MobileServerSocialFeedReply, Y as MobileServerSocialFeedReadSession, Z as MobileServerSocialFeedTimelineEntry, _ as MobileServerNotificationCategoryPreference, _t as MobileSocialFeedMention, a as MobileFeedTradePosition, at as MobileSocialFeedAction, b as MobileServerProfile, bt as MobileSocialFeedPnlQuality, c as MobileNotificationCategory, ct as MobileSocialFeedActionUnavailableReason, d as MobileServerAvatarSelection, dt as MobileSocialFeedChartInterval, et as MobileServerSocialFeedTradeRowBase, f as MobileServerFeedMargin, ft as MobileSocialFeedCohortStatus, g as MobileServerIdentitySummary, gt as MobileSocialFeedMarketCategory, h as MobileServerFollowSummary, ht as MobileSocialFeedLiquidationPriceQuality, i as MobileFeedMarginMode, it as MobileServerSocialFeedViewTracking, j as MobileServerSocialFeedContentBase, jt as MobileSocialFeedTraderBadgeCode, k as MobileServerSocialFeedCommentPreview, kt as MobileSocialFeedTradeCardAction, l as MobileNotificationPlatform, lt as MobileSocialFeedAttachmentStatus, m as MobileServerFollowListAccount, mt as MobileSocialFeedLeverage, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedTradingContext, o as MobileFeedTradePositionDirection, ot as MobileSocialFeedActionPriceBasis, p as MobileServerFeedTrade, pt as MobileSocialFeedHistoryQuality, q as MobileServerSocialFeedPost, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedTradingTarget, s as MobileFeedTradePositionEffect, st as MobileSocialFeedActionResolution, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedTraderBadge, u as MobileServerAvatarPreset, ut as MobileSocialFeedChartDataQuality, v as MobileServerNotificationPreferenceScope, vt as MobileSocialFeedPnlBasis, w as MobileServerSocialFeedCandle, wt as MobileSocialFeedPositionState, x as MobileServerSocialFeedActionCandidate, xt as MobileSocialFeedPositionDisplayBasis, y as MobileServerNotificationPreferences, yt as MobileSocialFeedPnlMode, z as MobileServerSocialFeedItemBase } from "../serverModelTypes-CiA-dy1R.cjs";
|
|
2
|
+
import { $ as MobileSetFollowParams, $t as MobileSocialFeedTradeCard, A as MobileFeedMargin, At as MobileSocialFeedLikeResult, B as MobileNotificationPreferenceScope, Bt as MobileSocialFeedPositionHistoryCard, C as MobileAvatarPreset, Ct as MobileSocialFeedHistorySummary, D as MobileCreateFeedCommentParams, Dt as MobileSocialFeedItemBase, E as MobileCreateAvatarUploadParams, Et as MobileSocialFeedItem, F as MobileFollowListPage, Ft as MobileSocialFeedPnl, G as MobilePublicProfile, Gt as MobileSocialFeedPresence, H as MobilePositionPresenceParams, Ht as MobileSocialFeedPositionResolutionResult, I as MobileFollowMutationResult, It as MobileSocialFeedPositionAction, J as MobileRegisteredWallet, Jt as MobileSocialFeedReadParams, K as MobileRecordFeedViewsParams, Kt as MobileSocialFeedPublishablePosition, L as MobileFollowSummary, Lt as MobileSocialFeedPositionCard, M as MobileFeedTrade, Mt as MobileSocialFeedMarket, N as MobileFollowBatchResultItem, Nt as MobileSocialFeedMentionParams, O as MobileCreateFeedPostParams, Ot as MobileSocialFeedItemPatch, P as MobileFollowListAccount, Pt as MobileSocialFeedPage, Q as MobileSetFollowBatchParams, Qt as MobileSocialFeedTopTradersPage, R as MobileIdentitySummary, Rt as MobileSocialFeedPositionChart, S as GetMobileUsernameAvailabilityParams, St as MobileSocialFeedHistoryMetrics, T as MobileAvatarUpload, Tt as MobileSocialFeedInteraction, U as MobileProfileSearchPage, Ut as MobileSocialFeedPositionsPage, V as MobileNotificationPreferences, Vt as MobileSocialFeedPositionPatch, W as MobileProfilesInclude, Wt as MobileSocialFeedPost, X as MobileSetBioParams, Xt as MobileSocialFeedReply, Y as MobileSetAvatarParams, Yt as MobileSocialFeedReadSession, Z as MobileSetFeedLikeParams, Zt as MobileSocialFeedTimelineEntry, _ as GetMobileProfileFeedParams, _t as MobileSocialFeedContentBase, a as GetMobileFeedUpdatesParams, an as MobileSocialFeedUpdates, at as MobileSocialFeedActionResolutionResult, b as GetMobileSelfFeedPositionsParams, bt as MobileSocialFeedDrawingResult, c as GetMobileFollowingParams, cn as MobileSocialFeedWatchers, ct as MobileSocialFeedCapabilities, d as GetMobileMarketFeedParams, dn as MobileUsernameAvailability, dt as MobileSocialFeedCohort, en as MobileSocialFeedTradeRow, et as MobileSetPrivateModeParams, f as GetMobileNotificationPreferencesParams, fn as MobileWithExpoTokenParams, ft as MobileSocialFeedCohortCoverage, g as GetMobilePositionWatchersParams, gt as MobileSocialFeedCompactCard, h as GetMobilePositionHistoryParams, hn as SearchMobileProfilesParams, ht as MobileSocialFeedCommentsPage, i as GetMobileFeedParams, in as MobileSocialFeedTradingTarget, it as MobileSocialFeedActionMarker, j as MobileFeedPage, jt as MobileSocialFeedListParams, k as MobileFeedChartDrawingParams, kt as MobileSocialFeedItemResponse, l as GetMobileForYouFeedParams, ln as MobileUnregisterExpoTokenParams, lt as MobileSocialFeedCategorizedParams, m as GetMobilePositionFeedParams, mn as ResolveMobileFeedPositionParams, mt as MobileSocialFeedCommentResult, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedTraderBadge, nt as MobileSignedRequestParams, o as GetMobileFollowListParams, on as MobileSocialFeedViewTracking, ot as MobileSocialFeedAuthor, p as GetMobilePositionChartParams, pn as ResolveMobileFeedActionParams, pt as MobileSocialFeedCommentPreview, q as MobileRegisterExpoTokenParams, qt as MobileSocialFeedRankedPage, r as GetMobileFeedItemParams, rn as MobileSocialFeedTradingContext, rt as MobileSocialFeedActionCandidate, s as GetMobileFollowersParams, sn as MobileSocialFeedViewsResult, st as MobileSocialFeedCandle, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedTradeRowBase, tt as MobileSetUsernameParams, u as GetMobileFriendsFeedParams, un as MobileUpdateNotificationPreferencesParams, ut as MobileSocialFeedChartRange, v as GetMobileProfilesParams, vt as MobileSocialFeedDrawing, w as MobileAvatarSelection, wt as MobileSocialFeedHistoryTake, x as GetMobileTopTradersFeedParams, xt as MobileSocialFeedEstimatedLiquidationLine, y as GetMobileRegisteredWalletParams, yt as MobileSocialFeedDrawingMutationResult, z as MobileNotificationCategoryPreference, zt as MobileSocialFeedPositionHistory } from "../clientTypes-_mEgzmNs.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-CRlkNSu5.cjs";
|
|
4
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-B5J1_TyC.cjs";
|
|
5
|
+
import { _ as MobileServerSocialFeedViewsResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPresenceResponse, h as MobileServerSocialFeedPostResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedLikeResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "../serverExecuteTypes-B-OJok19.cjs";
|
|
6
|
+
import { C as MobileServerSocialFeedWatchersResponse, S as MobileServerSocialFeedUpdatesResponse, _ as MobileServerSocialFeedPositionResolutionResponse, a as MobileServerProfilesResponse, b as MobileServerSocialFeedResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedActionResolutionResponse, f as MobileServerSocialFeedCommentsResponse, g as MobileServerSocialFeedPositionHistoryResponse, h as MobileServerSocialFeedPositionChartResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedItemResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedDrawingResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse, v as MobileServerSocialFeedPositionsResponse, w as MobileServerUsernameAvailabilityResponse, x as MobileServerSocialFeedTopTradersResponse, y as MobileServerSocialFeedRankedResponse } from "../serverQueryTypes-V1f9yE7L.cjs";
|
|
7
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CmjYEIYm.cjs";
|
|
8
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-CbtK8kD4.cjs";
|
|
9
|
+
import { t as MobileUnsupportedFeedItemError } from "../MobileUnsupportedFeedItemError-BsZvW8i2.cjs";
|
|
10
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, 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, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSocialFeedViewsResponse, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as
|
|
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-
|
|
4
|
-
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-
|
|
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-
|
|
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
|
-
|
|
1
|
+
import { $ as MobileServerSocialFeedTradeRow, A as MobileServerSocialFeedCompactCard, At as MobileSocialFeedTradeSizeChangeAction, B as MobileServerSocialFeedItemPatch, C as MobileServerSocialFeedAuthor, Ct as MobileSocialFeedPositionResolutionReason, D as MobileServerSocialFeedCohort, Dt as MobileSocialFeedSourceCategory, E as MobileServerSocialFeedChartRange, Et as MobileSocialFeedReadSessionMode, F as MobileServerSocialFeedHistorySummary, Ft as MobileSocialFeedUnavailableTarget, G as MobileServerSocialFeedPositionHistoryCard, H as MobileServerSocialFeedPnl, I as MobileServerSocialFeedHistoryTake, J as MobileServerSocialFeedPublishablePosition, K as MobileServerSocialFeedPositionPatch, L as MobileServerSocialFeedInteraction, M as MobileServerSocialFeedDrawing, Mt as MobileSocialFeedTraderDataStatus, N as MobileServerSocialFeedEstimatedLiquidationLine, Nt as MobileSocialFeedTradingResolution, O as MobileServerSocialFeedCohortCoverage, Ot as MobileSocialFeedTargetType, P as MobileServerSocialFeedHistoryMetrics, Pt as MobileSocialFeedType, Q as MobileServerSocialFeedTradeCard, R as MobileServerSocialFeedItem, S as MobileServerSocialFeedActionMarker, St as MobileSocialFeedPositionResolution, T as MobileServerSocialFeedCapabilities, Tt as MobileSocialFeedPresenceState, U as MobileServerSocialFeedPositionAction, V as MobileServerSocialFeedMarket, W as MobileServerSocialFeedPositionCard, X as MobileServerSocialFeedReply, Y as MobileServerSocialFeedReadSession, Z as MobileServerSocialFeedTimelineEntry, _ as MobileServerNotificationCategoryPreference, _t as MobileSocialFeedMention, a as MobileFeedTradePosition, at as MobileSocialFeedAction, b as MobileServerProfile, bt as MobileSocialFeedPnlQuality, c as MobileNotificationCategory, ct as MobileSocialFeedActionUnavailableReason, d as MobileServerAvatarSelection, dt as MobileSocialFeedChartInterval, et as MobileServerSocialFeedTradeRowBase, f as MobileServerFeedMargin, ft as MobileSocialFeedCohortStatus, g as MobileServerIdentitySummary, gt as MobileSocialFeedMarketCategory, h as MobileServerFollowSummary, ht as MobileSocialFeedLiquidationPriceQuality, i as MobileFeedMarginMode, it as MobileServerSocialFeedViewTracking, j as MobileServerSocialFeedContentBase, jt as MobileSocialFeedTraderBadgeCode, k as MobileServerSocialFeedCommentPreview, kt as MobileSocialFeedTradeCardAction, l as MobileNotificationPlatform, lt as MobileSocialFeedAttachmentStatus, m as MobileServerFollowListAccount, mt as MobileSocialFeedLeverage, n as MOBILE_FEED_TRADE_POSITION_DIRECTIONS, nt as MobileServerSocialFeedTradingContext, o as MobileFeedTradePositionDirection, ot as MobileSocialFeedActionPriceBasis, p as MobileServerFeedTrade, pt as MobileSocialFeedHistoryQuality, q as MobileServerSocialFeedPost, r as MOBILE_FEED_TRADE_POSITION_EFFECTS, rt as MobileServerSocialFeedTradingTarget, s as MobileFeedTradePositionEffect, st as MobileSocialFeedActionResolution, t as MOBILE_FEED_MARGIN_MODES, tt as MobileServerSocialFeedTraderBadge, u as MobileServerAvatarPreset, ut as MobileSocialFeedChartDataQuality, v as MobileServerNotificationPreferenceScope, vt as MobileSocialFeedPnlBasis, w as MobileServerSocialFeedCandle, wt as MobileSocialFeedPositionState, x as MobileServerSocialFeedActionCandidate, xt as MobileSocialFeedPositionDisplayBasis, y as MobileServerNotificationPreferences, yt as MobileSocialFeedPnlMode, z as MobileServerSocialFeedItemBase } from "../serverModelTypes-CiA-dy1R.js";
|
|
2
|
+
import { $ as MobileSetFollowParams, $t as MobileSocialFeedTradeCard, A as MobileFeedMargin, At as MobileSocialFeedLikeResult, B as MobileNotificationPreferenceScope, Bt as MobileSocialFeedPositionHistoryCard, C as MobileAvatarPreset, Ct as MobileSocialFeedHistorySummary, D as MobileCreateFeedCommentParams, Dt as MobileSocialFeedItemBase, E as MobileCreateAvatarUploadParams, Et as MobileSocialFeedItem, F as MobileFollowListPage, Ft as MobileSocialFeedPnl, G as MobilePublicProfile, Gt as MobileSocialFeedPresence, H as MobilePositionPresenceParams, Ht as MobileSocialFeedPositionResolutionResult, I as MobileFollowMutationResult, It as MobileSocialFeedPositionAction, J as MobileRegisteredWallet, Jt as MobileSocialFeedReadParams, K as MobileRecordFeedViewsParams, Kt as MobileSocialFeedPublishablePosition, L as MobileFollowSummary, Lt as MobileSocialFeedPositionCard, M as MobileFeedTrade, Mt as MobileSocialFeedMarket, N as MobileFollowBatchResultItem, Nt as MobileSocialFeedMentionParams, O as MobileCreateFeedPostParams, Ot as MobileSocialFeedItemPatch, P as MobileFollowListAccount, Pt as MobileSocialFeedPage, Q as MobileSetFollowBatchParams, Qt as MobileSocialFeedTopTradersPage, R as MobileIdentitySummary, Rt as MobileSocialFeedPositionChart, S as GetMobileUsernameAvailabilityParams, St as MobileSocialFeedHistoryMetrics, T as MobileAvatarUpload, Tt as MobileSocialFeedInteraction, U as MobileProfileSearchPage, Ut as MobileSocialFeedPositionsPage, V as MobileNotificationPreferences, Vt as MobileSocialFeedPositionPatch, W as MobileProfilesInclude, Wt as MobileSocialFeedPost, X as MobileSetBioParams, Xt as MobileSocialFeedReply, Y as MobileSetAvatarParams, Yt as MobileSocialFeedReadSession, Z as MobileSetFeedLikeParams, Zt as MobileSocialFeedTimelineEntry, _ as GetMobileProfileFeedParams, _t as MobileSocialFeedContentBase, a as GetMobileFeedUpdatesParams, an as MobileSocialFeedUpdates, at as MobileSocialFeedActionResolutionResult, b as GetMobileSelfFeedPositionsParams, bt as MobileSocialFeedDrawingResult, c as GetMobileFollowingParams, cn as MobileSocialFeedWatchers, ct as MobileSocialFeedCapabilities, d as GetMobileMarketFeedParams, dn as MobileUsernameAvailability, dt as MobileSocialFeedCohort, en as MobileSocialFeedTradeRow, et as MobileSetPrivateModeParams, f as GetMobileNotificationPreferencesParams, fn as MobileWithExpoTokenParams, ft as MobileSocialFeedCohortCoverage, g as GetMobilePositionWatchersParams, gt as MobileSocialFeedCompactCard, h as GetMobilePositionHistoryParams, hn as SearchMobileProfilesParams, ht as MobileSocialFeedCommentsPage, i as GetMobileFeedParams, in as MobileSocialFeedTradingTarget, it as MobileSocialFeedActionMarker, j as MobileFeedPage, jt as MobileSocialFeedListParams, k as MobileFeedChartDrawingParams, kt as MobileSocialFeedItemResponse, l as GetMobileForYouFeedParams, ln as MobileUnregisterExpoTokenParams, lt as MobileSocialFeedCategorizedParams, m as GetMobilePositionFeedParams, mn as ResolveMobileFeedPositionParams, mt as MobileSocialFeedCommentResult, n as GetMobileFeedCommentsParams, nn as MobileSocialFeedTraderBadge, nt as MobileSignedRequestParams, o as GetMobileFollowListParams, on as MobileSocialFeedViewTracking, ot as MobileSocialFeedAuthor, p as GetMobilePositionChartParams, pn as ResolveMobileFeedActionParams, pt as MobileSocialFeedCommentPreview, q as MobileRegisterExpoTokenParams, qt as MobileSocialFeedRankedPage, r as GetMobileFeedItemParams, rn as MobileSocialFeedTradingContext, rt as MobileSocialFeedActionCandidate, s as GetMobileFollowersParams, sn as MobileSocialFeedViewsResult, st as MobileSocialFeedCandle, t as GetMobileFeedChartDrawingParams, tn as MobileSocialFeedTradeRowBase, tt as MobileSetUsernameParams, u as GetMobileFriendsFeedParams, un as MobileUpdateNotificationPreferencesParams, ut as MobileSocialFeedChartRange, v as GetMobileProfilesParams, vt as MobileSocialFeedDrawing, w as MobileAvatarSelection, wt as MobileSocialFeedHistoryTake, x as GetMobileTopTradersFeedParams, xt as MobileSocialFeedEstimatedLiquidationLine, y as GetMobileRegisteredWalletParams, yt as MobileSocialFeedDrawingMutationResult, z as MobileNotificationCategoryPreference, zt as MobileSocialFeedPositionHistory } from "../clientTypes-C9dJufxk.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-DZoOhV2o.js";
|
|
4
|
+
import { n as MobileServerSuccessResponse, t as MobileServerFailureResponse } from "../serverBaseTypes-DnLzsdm-.js";
|
|
5
|
+
import { _ as MobileServerSocialFeedViewsResponse, a as MobileServerExecuteSuccessResponse, c as MobileServerFollowMutationResponse, d as MobileServerPublicExecuteSuccessResponse, f as MobileServerSocialFeedCommentResponse, g as MobileServerSocialFeedPresenceResponse, h as MobileServerSocialFeedPostResponse, i as MobileServerExecuteResult, l as MobileServerPublicExecuteRequest, m as MobileServerSocialFeedLikeResponse, n as MobileServerEmptyExecuteResponse, o as MobileServerFollowBatchResponse, p as MobileServerSocialFeedDrawingMutationResponse, r as MobileServerExecuteResponseByType, s as MobileServerFollowBatchResultItem, t as MobileServerAvatarUploadResponse, u as MobileServerPublicExecuteResponseByType } from "../serverExecuteTypes-BwWGspOg.js";
|
|
6
|
+
import { C as MobileServerSocialFeedWatchersResponse, S as MobileServerSocialFeedUpdatesResponse, _ as MobileServerSocialFeedPositionResolutionResponse, a as MobileServerProfilesResponse, b as MobileServerSocialFeedResponse, c as MobileServerPublicQuerySuccessResponse, d as MobileServerSocialFeedActionResolutionResponse, f as MobileServerSocialFeedCommentsResponse, g as MobileServerSocialFeedPositionHistoryResponse, h as MobileServerSocialFeedPositionChartResponse, i as MobileServerNotificationPreferencesResponse, l as MobileServerRegisteredWalletResponse, m as MobileServerSocialFeedItemResponse, n as MobileServerFeedResponse, o as MobileServerPublicQueryRequest, p as MobileServerSocialFeedDrawingResponse, r as MobileServerFollowListResponse, s as MobileServerPublicQueryResponseByType, t as MobileServerAvatarPresetsResponse, u as MobileServerSearchProfilesResponse, v as MobileServerSocialFeedPositionsResponse, w as MobileServerUsernameAvailabilityResponse, x as MobileServerSocialFeedTopTradersResponse, y as MobileServerSocialFeedRankedResponse } from "../serverQueryTypes-CJcjLB7n.js";
|
|
7
|
+
import { n as MobileErrorCode, t as MOBILE_ERROR_CODES } from "../mobileErrorCodes-CmjYEIYm.js";
|
|
8
|
+
import { t as MobileServerFailureError } from "../MobileServerFailureError-BZVwlsMg.js";
|
|
9
|
+
import { t as MobileUnsupportedFeedItemError } from "../MobileUnsupportedFeedItemError-BsZvW8i2.js";
|
|
10
|
+
export { GetMobileFeedChartDrawingParams, GetMobileFeedCommentsParams, GetMobileFeedItemParams, GetMobileFeedParams, GetMobileFeedUpdatesParams, GetMobileFollowListParams, GetMobileFollowersParams, GetMobileFollowingParams, GetMobileForYouFeedParams, GetMobileFriendsFeedParams, GetMobileMarketFeedParams, GetMobileNotificationPreferencesParams, GetMobilePositionChartParams, GetMobilePositionFeedParams, GetMobilePositionHistoryParams, GetMobilePositionWatchersParams, GetMobileProfileFeedParams, GetMobileProfilesParams, GetMobileRegisteredWalletParams, GetMobileSelfFeedPositionsParams, GetMobileTopTradersFeedParams, GetMobileUsernameAvailabilityParams, MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileAvatarPreset, MobileAvatarSelection, MobileAvatarUpload, MobileCreateAvatarUploadParams, MobileCreateFeedCommentParams, MobileCreateFeedPostParams, MobileErrorCode, MobileFeedChartDrawingParams, MobileFeedMargin, MobileFeedMarginMode, MobileFeedPage, MobileFeedTrade, MobileFeedTradePosition, MobileFeedTradePositionDirection, MobileFeedTradePositionEffect, MobileFollowBatchResultItem, MobileFollowListAccount, MobileFollowListPage, MobileFollowMutationResult, MobileFollowSummary, MobileIdentitySummary, MobileNotificationCategory, MobileNotificationCategoryPreference, MobileNotificationPlatform, MobileNotificationPreferenceScope, MobileNotificationPreferences, MobilePositionPresenceParams, MobileProfileSearchPage, MobileProfilesInclude, MobilePublicProfile, MobileRecordFeedViewsParams, 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, MobileServerPublicExecuteResponseByType, MobileServerPublicExecuteSuccessResponse, MobileServerPublicQueryRequest, MobileServerPublicQueryRequestByType, MobileServerPublicQueryRequestType, MobileServerPublicQueryResponseByType, MobileServerPublicQuerySuccessResponse, MobileServerRegisteredWalletResponse, MobileServerRequestType, MobileServerSearchProfilesRequest, MobileServerSearchProfilesResponse, MobileServerSocialFeedActionCandidate, MobileServerSocialFeedActionMarker, MobileServerSocialFeedActionResolutionResponse, MobileServerSocialFeedAuthor, MobileServerSocialFeedCandle, MobileServerSocialFeedCapabilities, MobileServerSocialFeedCategorizedParams, MobileServerSocialFeedChartRange, MobileServerSocialFeedCohort, MobileServerSocialFeedCohortCoverage, MobileServerSocialFeedCommentPreview, MobileServerSocialFeedCommentResponse, MobileServerSocialFeedCommentsResponse, MobileServerSocialFeedCompactCard, MobileServerSocialFeedContentBase, MobileServerSocialFeedDrawing, MobileServerSocialFeedDrawingMutationResponse, MobileServerSocialFeedDrawingResponse, MobileServerSocialFeedEstimatedLiquidationLine, MobileServerSocialFeedHistoryMetrics, MobileServerSocialFeedHistorySummary, MobileServerSocialFeedHistoryTake, MobileServerSocialFeedInteraction, MobileServerSocialFeedItem, MobileServerSocialFeedItemBase, MobileServerSocialFeedItemPatch, MobileServerSocialFeedItemResponse, MobileServerSocialFeedLikeResponse, MobileServerSocialFeedListParams, MobileServerSocialFeedMarket, MobileServerSocialFeedPnl, MobileServerSocialFeedPositionAction, MobileServerSocialFeedPositionCard, MobileServerSocialFeedPositionChartResponse, MobileServerSocialFeedPositionHistoryCard, MobileServerSocialFeedPositionHistoryResponse, MobileServerSocialFeedPositionPatch, MobileServerSocialFeedPositionResolutionResponse, MobileServerSocialFeedPositionsResponse, MobileServerSocialFeedPost, MobileServerSocialFeedPostResponse, MobileServerSocialFeedPresenceResponse, MobileServerSocialFeedPublishablePosition, MobileServerSocialFeedRankedResponse, MobileServerSocialFeedReadParams, MobileServerSocialFeedReadSession, MobileServerSocialFeedReply, MobileServerSocialFeedResponse, MobileServerSocialFeedTimelineEntry, MobileServerSocialFeedTopTradersResponse, MobileServerSocialFeedTradeCard, MobileServerSocialFeedTradeRow, MobileServerSocialFeedTradeRowBase, MobileServerSocialFeedTraderBadge, MobileServerSocialFeedTradingContext, MobileServerSocialFeedTradingTarget, MobileServerSocialFeedUpdatesResponse, MobileServerSocialFeedViewTracking, MobileServerSocialFeedViewsResponse, MobileServerSocialFeedWatchersResponse, MobileServerSuccessResponse, MobileServerUsernameAvailabilityResponse, MobileSetAvatarParams, MobileSetBioParams, MobileSetFeedLikeParams, MobileSetFollowBatchParams, MobileSetFollowParams, MobileSetPrivateModeParams, MobileSetUsernameParams, MobileSignedRequestParams, MobileSocialFeedAction, MobileSocialFeedActionCandidate, MobileSocialFeedActionMarker, MobileSocialFeedActionPriceBasis, MobileSocialFeedActionResolution, MobileSocialFeedActionResolutionResult, MobileSocialFeedActionUnavailableReason, MobileSocialFeedAttachmentStatus, MobileSocialFeedAuthor, MobileSocialFeedCandle, MobileSocialFeedCapabilities, MobileSocialFeedCategorizedParams, MobileSocialFeedChartDataQuality, MobileSocialFeedChartInterval, MobileSocialFeedChartRange, MobileSocialFeedCohort, MobileSocialFeedCohortCoverage, MobileSocialFeedCohortStatus, MobileSocialFeedCommentPreview, MobileSocialFeedCommentResult, MobileSocialFeedCommentsPage, MobileSocialFeedCompactCard, MobileSocialFeedContentBase, MobileSocialFeedDrawing, MobileSocialFeedDrawingMutationResult, MobileSocialFeedDrawingResult, MobileSocialFeedEstimatedLiquidationLine, MobileSocialFeedHistoryMetrics, MobileSocialFeedHistoryQuality, MobileSocialFeedHistorySummary, MobileSocialFeedHistoryTake, MobileSocialFeedInteraction, MobileSocialFeedItem, MobileSocialFeedItemBase, MobileSocialFeedItemPatch, MobileSocialFeedItemResponse, MobileSocialFeedLeverage, MobileSocialFeedLikeResult, MobileSocialFeedLiquidationPriceQuality, MobileSocialFeedListParams, MobileSocialFeedMarket, MobileSocialFeedMarketCategory, MobileSocialFeedMention, MobileSocialFeedMentionParams, MobileSocialFeedPage, MobileSocialFeedPnl, MobileSocialFeedPnlBasis, MobileSocialFeedPnlMode, MobileSocialFeedPnlQuality, MobileSocialFeedPositionAction, MobileSocialFeedPositionCard, MobileSocialFeedPositionChart, MobileSocialFeedPositionDisplayBasis, MobileSocialFeedPositionHistory, MobileSocialFeedPositionHistoryCard, MobileSocialFeedPositionPatch, MobileSocialFeedPositionResolution, MobileSocialFeedPositionResolutionReason, MobileSocialFeedPositionResolutionResult, MobileSocialFeedPositionState, MobileSocialFeedPositionsPage, MobileSocialFeedPost, MobileSocialFeedPresence, MobileSocialFeedPresenceState, MobileSocialFeedPublishablePosition, MobileSocialFeedRankedPage, MobileSocialFeedReadParams, MobileSocialFeedReadSession, MobileSocialFeedReadSessionMode, MobileSocialFeedReply, MobileSocialFeedSourceCategory, MobileSocialFeedTargetType, MobileSocialFeedTimelineEntry, MobileSocialFeedTopTradersPage, MobileSocialFeedTradeCard, MobileSocialFeedTradeCardAction, MobileSocialFeedTradeRow, MobileSocialFeedTradeRowBase, MobileSocialFeedTradeSizeChangeAction, MobileSocialFeedTraderBadge, MobileSocialFeedTraderBadgeCode, MobileSocialFeedTraderDataStatus, MobileSocialFeedTradingContext, MobileSocialFeedTradingResolution, MobileSocialFeedTradingTarget, MobileSocialFeedType, MobileSocialFeedUnavailableTarget, MobileSocialFeedUpdates, MobileSocialFeedViewTracking, MobileSocialFeedViewsResult, MobileSocialFeedWatchers, MobileUnregisterExpoTokenParams, MobileUnsupportedFeedItemError, MobileUpdateNotificationPreferencesParams, MobileUsernameAvailability, MobileWithExpoTokenParams, ResolveMobileFeedActionParams, ResolveMobileFeedPositionParams, SearchMobileProfilesParams };
|
package/dist/types/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { MobileUnsupportedFeedItemError } from "./MobileUnsupportedFeedItemError.js";
|
|
1
2
|
import { MobileServerFailureError } from "./MobileServerFailureError.js";
|
|
2
3
|
import { MOBILE_ERROR_CODES } from "./mobileErrorCodes.js";
|
|
3
4
|
import { MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS } from "./serverModelTypes.js";
|
|
4
|
-
export { MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileServerFailureError };
|
|
5
|
+
export { MOBILE_ERROR_CODES, MOBILE_FEED_MARGIN_MODES, MOBILE_FEED_TRADE_POSITION_DIRECTIONS, MOBILE_FEED_TRADE_POSITION_EFFECTS, MobileServerFailureError, MobileUnsupportedFeedItemError };
|
|
@@ -48,6 +48,16 @@ const MOBILE_ERROR_CODES = {
|
|
|
48
48
|
INVALID_FEED_FILTER: 6300,
|
|
49
49
|
/** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
|
|
50
50
|
INVALID_FEED_CURSOR: 6301,
|
|
51
|
+
/** Drawing JSON, outer value, storage representation, or nonce is invalid. */
|
|
52
|
+
INVALID_SOCIAL_FEED_DRAWING: 6302,
|
|
53
|
+
/** Original drawing JSON exceeds 256 KiB UTF-8. */
|
|
54
|
+
SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,
|
|
55
|
+
/** Drawing parent is unavailable, or an update targets a missing drawing. */
|
|
56
|
+
SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,
|
|
57
|
+
/** A different drawing already exists when first attaching one. */
|
|
58
|
+
SOCIAL_FEED_DRAWING_EXISTS: 6305,
|
|
59
|
+
/** Drawing nonce is stale or reused for different content. Re-read before retrying. */
|
|
60
|
+
STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,
|
|
51
61
|
/** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */
|
|
52
62
|
INVALID_SOCIAL_FEED_PARAMS: 6310,
|
|
53
63
|
/** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */
|
|
@@ -56,8 +66,26 @@ const MOBILE_ERROR_CODES = {
|
|
|
56
66
|
SOCIAL_FEED_SESSION_EXPIRED: 6312,
|
|
57
67
|
/** Content does not exist or is not currently accessible. */
|
|
58
68
|
SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,
|
|
69
|
+
/** Position no longer qualifies for publication or a new attachment. */
|
|
70
|
+
SOCIAL_FEED_POSITION_CLOSED: 6314,
|
|
71
|
+
/** Selected position does not belong to the signed author. */
|
|
72
|
+
SOCIAL_FEED_POSITION_NOT_OWNED: 6315,
|
|
73
|
+
/** Item or action does not support the requested operation. */
|
|
74
|
+
INVALID_SOCIAL_FEED_OPERATION: 6316,
|
|
75
|
+
/** Published body cannot be edited; existing drawings may still be updated. */
|
|
76
|
+
SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,
|
|
77
|
+
/** Mention offsets, mentioned identity, or reply relationship is invalid. */
|
|
78
|
+
INVALID_SOCIAL_FEED_MENTION: 6318,
|
|
79
|
+
/** Author-scoped request ID was already used with different content. */
|
|
80
|
+
SOCIAL_FEED_REQUEST_CONFLICT: 6319,
|
|
59
81
|
/** Required authoritative position, action, cohort, or market data is unavailable. */
|
|
60
82
|
SOCIAL_FEED_DATA_UNAVAILABLE: 6320,
|
|
83
|
+
/** Text or mention count exceeds the operation's limit. */
|
|
84
|
+
SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,
|
|
85
|
+
/** Like nonce is stale or reused with a different state. */
|
|
86
|
+
STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,
|
|
87
|
+
/** A post has neither nonblank text nor a drawing, or a comment is blank. */
|
|
88
|
+
EMPTY_SOCIAL_FEED_CONTENT: 6323,
|
|
61
89
|
/** Feed reads are only available through public_query. */
|
|
62
90
|
SOCIAL_FEED_QUERY_REMOVED: 6325
|
|
63
91
|
};
|
|
@@ -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 /**\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
|
+
{"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 /** Drawing JSON, outer value, storage representation, or nonce is invalid. */\n INVALID_SOCIAL_FEED_DRAWING: 6302,\n /** Original drawing JSON exceeds 256 KiB UTF-8. */\n SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,\n /** Drawing parent is unavailable, or an update targets a missing drawing. */\n SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,\n /** A different drawing already exists when first attaching one. */\n SOCIAL_FEED_DRAWING_EXISTS: 6305,\n /** Drawing nonce is stale or reused for different content. Re-read before retrying. */\n STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,\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 /** Position no longer qualifies for publication or a new attachment. */\n SOCIAL_FEED_POSITION_CLOSED: 6314,\n /** Selected position does not belong to the signed author. */\n SOCIAL_FEED_POSITION_NOT_OWNED: 6315,\n /** Item or action does not support the requested operation. */\n INVALID_SOCIAL_FEED_OPERATION: 6316,\n /** Published body cannot be edited; existing drawings may still be updated. */\n SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,\n /** Mention offsets, mentioned identity, or reply relationship is invalid. */\n INVALID_SOCIAL_FEED_MENTION: 6318,\n /** Author-scoped request ID was already used with different content. */\n SOCIAL_FEED_REQUEST_CONFLICT: 6319,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Text or mention count exceeds the operation's limit. */\n SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,\n /** Like nonce is stale or reused with a different state. */\n STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,\n /** A post has neither nonblank text nor a drawing, or a comment is blank. */\n EMPTY_SOCIAL_FEED_CONTENT: 6323,\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,6BAA6B;;CAE7B,+BAA+B;;CAE/B,iCAAiC;;CAEjC,4BAA4B;;CAE5B,kCAAkC;;CAElC,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,6BAA6B;;CAE7B,gCAAgC;;CAEhC,+BAA+B;;CAE/B,uCAAuC;;CAEvC,6BAA6B;;CAE7B,8BAA8B;;CAE9B,8BAA8B;;CAE9B,+BAA+B;;CAE/B,+BAA+B;;CAE/B,2BAA2B;;CAE3B,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-CmjYEIYm.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-CmjYEIYm.js";
|
|
2
2
|
export { MOBILE_ERROR_CODES, MobileErrorCode };
|
|
@@ -48,6 +48,16 @@ const MOBILE_ERROR_CODES = {
|
|
|
48
48
|
INVALID_FEED_FILTER: 6300,
|
|
49
49
|
/** Feed cursor is malformed or bound to a different filter. Discard it and restart from the first page. */
|
|
50
50
|
INVALID_FEED_CURSOR: 6301,
|
|
51
|
+
/** Drawing JSON, outer value, storage representation, or nonce is invalid. */
|
|
52
|
+
INVALID_SOCIAL_FEED_DRAWING: 6302,
|
|
53
|
+
/** Original drawing JSON exceeds 256 KiB UTF-8. */
|
|
54
|
+
SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,
|
|
55
|
+
/** Drawing parent is unavailable, or an update targets a missing drawing. */
|
|
56
|
+
SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,
|
|
57
|
+
/** A different drawing already exists when first attaching one. */
|
|
58
|
+
SOCIAL_FEED_DRAWING_EXISTS: 6305,
|
|
59
|
+
/** Drawing nonce is stale or reused for different content. Re-read before retrying. */
|
|
60
|
+
STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,
|
|
51
61
|
/** Invalid social feed parameters, including missing fields, invalid types/formats, filters, or Content-Type. */
|
|
52
62
|
INVALID_SOCIAL_FEED_PARAMS: 6310,
|
|
53
63
|
/** Session, credential, viewing account, cursor, source, or viewport mismatch; also a request sequence or viewport revision rollback. */
|
|
@@ -56,8 +66,26 @@ const MOBILE_ERROR_CODES = {
|
|
|
56
66
|
SOCIAL_FEED_SESSION_EXPIRED: 6312,
|
|
57
67
|
/** Content does not exist or is not currently accessible. */
|
|
58
68
|
SOCIAL_FEED_CONTENT_UNAVAILABLE: 6313,
|
|
69
|
+
/** Position no longer qualifies for publication or a new attachment. */
|
|
70
|
+
SOCIAL_FEED_POSITION_CLOSED: 6314,
|
|
71
|
+
/** Selected position does not belong to the signed author. */
|
|
72
|
+
SOCIAL_FEED_POSITION_NOT_OWNED: 6315,
|
|
73
|
+
/** Item or action does not support the requested operation. */
|
|
74
|
+
INVALID_SOCIAL_FEED_OPERATION: 6316,
|
|
75
|
+
/** Published body cannot be edited; existing drawings may still be updated. */
|
|
76
|
+
SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,
|
|
77
|
+
/** Mention offsets, mentioned identity, or reply relationship is invalid. */
|
|
78
|
+
INVALID_SOCIAL_FEED_MENTION: 6318,
|
|
79
|
+
/** Author-scoped request ID was already used with different content. */
|
|
80
|
+
SOCIAL_FEED_REQUEST_CONFLICT: 6319,
|
|
59
81
|
/** Required authoritative position, action, cohort, or market data is unavailable. */
|
|
60
82
|
SOCIAL_FEED_DATA_UNAVAILABLE: 6320,
|
|
83
|
+
/** Text or mention count exceeds the operation's limit. */
|
|
84
|
+
SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,
|
|
85
|
+
/** Like nonce is stale or reused with a different state. */
|
|
86
|
+
STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,
|
|
87
|
+
/** A post has neither nonblank text nor a drawing, or a comment is blank. */
|
|
88
|
+
EMPTY_SOCIAL_FEED_CONTENT: 6323,
|
|
61
89
|
/** Feed reads are only available through public_query. */
|
|
62
90
|
SOCIAL_FEED_QUERY_REMOVED: 6325
|
|
63
91
|
};
|
|
@@ -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 /**\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
|
+
{"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 /** Drawing JSON, outer value, storage representation, or nonce is invalid. */\n INVALID_SOCIAL_FEED_DRAWING: 6302,\n /** Original drawing JSON exceeds 256 KiB UTF-8. */\n SOCIAL_FEED_DRAWING_TOO_LARGE: 6303,\n /** Drawing parent is unavailable, or an update targets a missing drawing. */\n SOCIAL_FEED_DRAWING_UNAVAILABLE: 6304,\n /** A different drawing already exists when first attaching one. */\n SOCIAL_FEED_DRAWING_EXISTS: 6305,\n /** Drawing nonce is stale or reused for different content. Re-read before retrying. */\n STALE_SOCIAL_FEED_DRAWING_UPDATE: 6306,\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 /** Position no longer qualifies for publication or a new attachment. */\n SOCIAL_FEED_POSITION_CLOSED: 6314,\n /** Selected position does not belong to the signed author. */\n SOCIAL_FEED_POSITION_NOT_OWNED: 6315,\n /** Item or action does not support the requested operation. */\n INVALID_SOCIAL_FEED_OPERATION: 6316,\n /** Published body cannot be edited; existing drawings may still be updated. */\n SOCIAL_FEED_CONTENT_ALREADY_PUBLISHED: 6317,\n /** Mention offsets, mentioned identity, or reply relationship is invalid. */\n INVALID_SOCIAL_FEED_MENTION: 6318,\n /** Author-scoped request ID was already used with different content. */\n SOCIAL_FEED_REQUEST_CONFLICT: 6319,\n /** Required authoritative position, action, cohort, or market data is unavailable. */\n SOCIAL_FEED_DATA_UNAVAILABLE: 6320,\n /** Text or mention count exceeds the operation's limit. */\n SOCIAL_FEED_CONTENT_TOO_LARGE: 6321,\n /** Like nonce is stale or reused with a different state. */\n STALE_SOCIAL_FEED_LIKE_UPDATE: 6322,\n /** A post has neither nonblank text nor a drawing, or a comment is blank. */\n EMPTY_SOCIAL_FEED_CONTENT: 6323,\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,6BAA6B;;CAE7B,+BAA+B;;CAE/B,iCAAiC;;CAEjC,4BAA4B;;CAE5B,kCAAkC;;CAElC,4BAA4B;;CAE5B,8BAA8B;;CAE9B,6BAA6B;;CAE7B,iCAAiC;;CAEjC,6BAA6B;;CAE7B,gCAAgC;;CAEhC,+BAA+B;;CAE/B,uCAAuC;;CAEvC,6BAA6B;;CAE7B,8BAA8B;;CAE9B,8BAA8B;;CAE9B,+BAA+B;;CAE/B,+BAA+B;;CAE/B,2BAA2B;;CAE3B,2BAA2B;AAC7B"}
|