@open-social-protocol/osp-api-index-types
Advanced tools
Comparing version 0.0.1 to 0.0.3
# @open-social-protocol/osp-api-index-types | ||
## 0.0.3 | ||
### Patch Changes | ||
- api up | ||
## 0.0.2 | ||
### Patch Changes | ||
- optimize feed api | ||
## 0.0.1 | ||
@@ -4,0 +16,0 @@ |
@@ -35,3 +35,2 @@ var __defProp = Object.defineProperty; | ||
MegaphoneStatusEnum: () => MegaphoneStatusEnum, | ||
OperateTypeEnum: () => OperateTypeEnum, | ||
OwnerStatusEnum: () => OwnerStatusEnum, | ||
@@ -71,7 +70,2 @@ ProfileRankingEnum: () => ProfileRankingEnum, | ||
})(SyncStatus || {}); | ||
var OperateTypeEnum = /* @__PURE__ */ ((OperateTypeEnum2) => { | ||
OperateTypeEnum2["DRAFT"] = "DRAFT"; | ||
OperateTypeEnum2["INDEX"] = "INDEX"; | ||
return OperateTypeEnum2; | ||
})(OperateTypeEnum || {}); | ||
var ThirdAuthSourceEnum = /* @__PURE__ */ ((ThirdAuthSourceEnum2) => { | ||
@@ -91,2 +85,3 @@ ThirdAuthSourceEnum2["EXTERNAL_WALLET"] = "EXTERNAL_WALLET"; | ||
ActivityCategoryEnum2["POLL"] = "POLL"; | ||
ActivityCategoryEnum2["COMMENT"] = "COMMENT"; | ||
return ActivityCategoryEnum2; | ||
@@ -96,2 +91,3 @@ })(ActivityCategoryEnum || {}); | ||
CategoryEnum2["POST"] = "POST"; | ||
CategoryEnum2["COMMENT"] = "COMMENT"; | ||
CategoryEnum2["ANSWER"] = "ANSWER"; | ||
@@ -137,4 +133,2 @@ CategoryEnum2["QUESTION"] = "QUESTION"; | ||
var ReactionKindEnum = /* @__PURE__ */ ((ReactionKindEnum2) => { | ||
ReactionKindEnum2["COMMENT"] = "COMMENT"; | ||
ReactionKindEnum2["REPLY"] = "REPLY"; | ||
ReactionKindEnum2["LIKE"] = "LIKE"; | ||
@@ -475,8 +469,8 @@ ReactionKindEnum2["SHARE"] = "SHARE"; | ||
* @name GetNftByTokenId | ||
* @summary /meta/{type}/{token_id} | ||
* @request GET:/meta/{type}/{token_id} | ||
* @summary /meta/{chain_id}/{type}/{token_id} | ||
* @request GET:/meta/{chain_id}/{type}/{token_id} | ||
* @secure | ||
*/ | ||
getNftByTokenId: (tokenId, type, params = {}) => this.request({ | ||
path: `/meta/${type}/${tokenId}`, | ||
getNftByTokenId: (chainId, tokenId, type, params = {}) => this.request({ | ||
path: `/meta/${chainId}/${type}/${tokenId}`, | ||
method: "GET", | ||
@@ -492,8 +486,8 @@ secure: true, | ||
* @name GetJoinNftByCommunityIdAndTokenId | ||
* @summary /meta/{community_id}/join/{token_id} | ||
* @request GET:/meta/{community_id}/join/{token_id} | ||
* @summary /meta/{chain_id}/{community_id}/join/{token_id} | ||
* @request GET:/meta/{chain_id}/{community_id}/join/{token_id} | ||
* @secure | ||
*/ | ||
getJoinNftByCommunityIdAndTokenId: (communityId, tokenId, params = {}) => this.request({ | ||
path: `/meta/${communityId}/join/${tokenId}`, | ||
getJoinNftByCommunityIdAndTokenId: (chainId, communityId, tokenId, params = {}) => this.request({ | ||
path: `/meta/${chainId}/${communityId}/join/${tokenId}`, | ||
method: "GET", | ||
@@ -509,8 +503,8 @@ secure: true, | ||
* @name GetFollowNftByProfileIdAndTokenId | ||
* @summary /meta/{profile_id}/follow/{token_id} | ||
* @request GET:/meta/{profile_id}/follow/{token_id} | ||
* @summary /meta/{chain_id}/{profile_id}/follow/{token_id} | ||
* @request GET:/meta/{chain_id}/{profile_id}/follow/{token_id} | ||
* @secure | ||
*/ | ||
getFollowNftByProfileIdAndTokenId: (profileId, tokenId, params = {}) => this.request({ | ||
path: `/meta/${profileId}/follow/${tokenId}`, | ||
getFollowNftByProfileIdAndTokenId: (chainId, profileId, tokenId, params = {}) => this.request({ | ||
path: `/meta/${chainId}/${profileId}/follow/${tokenId}`, | ||
method: "GET", | ||
@@ -1595,3 +1589,2 @@ secure: true, | ||
MegaphoneStatusEnum, | ||
OperateTypeEnum, | ||
OwnerStatusEnum, | ||
@@ -1598,0 +1591,0 @@ ProfileRankingEnum, |
{ | ||
"name": "@open-social-protocol/osp-api-index-types", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "open social protocol index server api", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128582
4541