@sparkdreamnft/sparkdreamjs 0.0.27 → 0.0.28
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/esm/sparkdream/collect/v1/query.js +165 -0
- package/esm/sparkdream/collect/v1/query.lcd.js +11 -0
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/rep/v1/query.js +13 -34
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +26 -0
- package/sparkdream/collect/v1/query.d.ts +92 -0
- package/sparkdream/collect/v1/query.js +167 -1
- package/sparkdream/collect/v1/query.lcd.d.ts +2 -1
- package/sparkdream/collect/v1/query.lcd.js +11 -0
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/collect/v1/query.rpc.Query.js +9 -0
- package/sparkdream/rep/v1/query.d.ts +2 -6
- package/sparkdream/rep/v1/query.js +13 -34
- package/sparkdream/rpc.query.d.ts +1 -0
|
@@ -2984,6 +2984,171 @@ export const QueryHideRecordsByTargetResponse = {
|
|
|
2984
2984
|
};
|
|
2985
2985
|
}
|
|
2986
2986
|
};
|
|
2987
|
+
function createBaseQueryHideRecordsBySentinelRequest() {
|
|
2988
|
+
return {
|
|
2989
|
+
sentinel: "",
|
|
2990
|
+
pagination: undefined
|
|
2991
|
+
};
|
|
2992
|
+
}
|
|
2993
|
+
/**
|
|
2994
|
+
* QueryHideRecordsBySentinelRequest defines the QueryHideRecordsBySentinelRequest message.
|
|
2995
|
+
* @name QueryHideRecordsBySentinelRequest
|
|
2996
|
+
* @package sparkdream.collect.v1
|
|
2997
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelRequest
|
|
2998
|
+
*/
|
|
2999
|
+
export const QueryHideRecordsBySentinelRequest = {
|
|
3000
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelRequest",
|
|
3001
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
3002
|
+
if (message.sentinel !== "") {
|
|
3003
|
+
writer.uint32(10).string(message.sentinel);
|
|
3004
|
+
}
|
|
3005
|
+
if (message.pagination !== undefined) {
|
|
3006
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3007
|
+
}
|
|
3008
|
+
return writer;
|
|
3009
|
+
},
|
|
3010
|
+
decode(input, length) {
|
|
3011
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3012
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3013
|
+
const message = createBaseQueryHideRecordsBySentinelRequest();
|
|
3014
|
+
while (reader.pos < end) {
|
|
3015
|
+
const tag = reader.uint32();
|
|
3016
|
+
switch (tag >>> 3) {
|
|
3017
|
+
case 1:
|
|
3018
|
+
message.sentinel = reader.string();
|
|
3019
|
+
break;
|
|
3020
|
+
case 2:
|
|
3021
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
3022
|
+
break;
|
|
3023
|
+
default:
|
|
3024
|
+
reader.skipType(tag & 7);
|
|
3025
|
+
break;
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
return message;
|
|
3029
|
+
},
|
|
3030
|
+
fromPartial(object) {
|
|
3031
|
+
const message = createBaseQueryHideRecordsBySentinelRequest();
|
|
3032
|
+
message.sentinel = object.sentinel ?? "";
|
|
3033
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
3034
|
+
return message;
|
|
3035
|
+
},
|
|
3036
|
+
fromAmino(object) {
|
|
3037
|
+
const message = createBaseQueryHideRecordsBySentinelRequest();
|
|
3038
|
+
if (object.sentinel !== undefined && object.sentinel !== null) {
|
|
3039
|
+
message.sentinel = object.sentinel;
|
|
3040
|
+
}
|
|
3041
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3042
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
3043
|
+
}
|
|
3044
|
+
return message;
|
|
3045
|
+
},
|
|
3046
|
+
toAmino(message) {
|
|
3047
|
+
const obj = {};
|
|
3048
|
+
obj.sentinel = message.sentinel === "" ? undefined : message.sentinel;
|
|
3049
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
3050
|
+
return obj;
|
|
3051
|
+
},
|
|
3052
|
+
fromAminoMsg(object) {
|
|
3053
|
+
return QueryHideRecordsBySentinelRequest.fromAmino(object.value);
|
|
3054
|
+
},
|
|
3055
|
+
fromProtoMsg(message) {
|
|
3056
|
+
return QueryHideRecordsBySentinelRequest.decode(message.value);
|
|
3057
|
+
},
|
|
3058
|
+
toProto(message) {
|
|
3059
|
+
return QueryHideRecordsBySentinelRequest.encode(message).finish();
|
|
3060
|
+
},
|
|
3061
|
+
toProtoMsg(message) {
|
|
3062
|
+
return {
|
|
3063
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelRequest",
|
|
3064
|
+
value: QueryHideRecordsBySentinelRequest.encode(message).finish()
|
|
3065
|
+
};
|
|
3066
|
+
}
|
|
3067
|
+
};
|
|
3068
|
+
function createBaseQueryHideRecordsBySentinelResponse() {
|
|
3069
|
+
return {
|
|
3070
|
+
hideRecords: [],
|
|
3071
|
+
pagination: undefined
|
|
3072
|
+
};
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
* QueryHideRecordsBySentinelResponse defines the QueryHideRecordsBySentinelResponse message.
|
|
3076
|
+
* @name QueryHideRecordsBySentinelResponse
|
|
3077
|
+
* @package sparkdream.collect.v1
|
|
3078
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelResponse
|
|
3079
|
+
*/
|
|
3080
|
+
export const QueryHideRecordsBySentinelResponse = {
|
|
3081
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelResponse",
|
|
3082
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
3083
|
+
for (const v of message.hideRecords) {
|
|
3084
|
+
HideRecord.encode(v, writer.uint32(10).fork()).ldelim();
|
|
3085
|
+
}
|
|
3086
|
+
if (message.pagination !== undefined) {
|
|
3087
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3088
|
+
}
|
|
3089
|
+
return writer;
|
|
3090
|
+
},
|
|
3091
|
+
decode(input, length) {
|
|
3092
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3093
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3094
|
+
const message = createBaseQueryHideRecordsBySentinelResponse();
|
|
3095
|
+
while (reader.pos < end) {
|
|
3096
|
+
const tag = reader.uint32();
|
|
3097
|
+
switch (tag >>> 3) {
|
|
3098
|
+
case 1:
|
|
3099
|
+
message.hideRecords.push(HideRecord.decode(reader, reader.uint32()));
|
|
3100
|
+
break;
|
|
3101
|
+
case 2:
|
|
3102
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
3103
|
+
break;
|
|
3104
|
+
default:
|
|
3105
|
+
reader.skipType(tag & 7);
|
|
3106
|
+
break;
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
return message;
|
|
3110
|
+
},
|
|
3111
|
+
fromPartial(object) {
|
|
3112
|
+
const message = createBaseQueryHideRecordsBySentinelResponse();
|
|
3113
|
+
message.hideRecords = object.hideRecords?.map(e => HideRecord.fromPartial(e)) || [];
|
|
3114
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
3115
|
+
return message;
|
|
3116
|
+
},
|
|
3117
|
+
fromAmino(object) {
|
|
3118
|
+
const message = createBaseQueryHideRecordsBySentinelResponse();
|
|
3119
|
+
message.hideRecords = object.hide_records?.map(e => HideRecord.fromAmino(e)) || [];
|
|
3120
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3121
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
3122
|
+
}
|
|
3123
|
+
return message;
|
|
3124
|
+
},
|
|
3125
|
+
toAmino(message) {
|
|
3126
|
+
const obj = {};
|
|
3127
|
+
if (message.hideRecords) {
|
|
3128
|
+
obj.hide_records = message.hideRecords.map(e => e ? HideRecord.toAmino(e) : undefined);
|
|
3129
|
+
}
|
|
3130
|
+
else {
|
|
3131
|
+
obj.hide_records = message.hideRecords;
|
|
3132
|
+
}
|
|
3133
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
3134
|
+
return obj;
|
|
3135
|
+
},
|
|
3136
|
+
fromAminoMsg(object) {
|
|
3137
|
+
return QueryHideRecordsBySentinelResponse.fromAmino(object.value);
|
|
3138
|
+
},
|
|
3139
|
+
fromProtoMsg(message) {
|
|
3140
|
+
return QueryHideRecordsBySentinelResponse.decode(message.value);
|
|
3141
|
+
},
|
|
3142
|
+
toProto(message) {
|
|
3143
|
+
return QueryHideRecordsBySentinelResponse.encode(message).finish();
|
|
3144
|
+
},
|
|
3145
|
+
toProtoMsg(message) {
|
|
3146
|
+
return {
|
|
3147
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelResponse",
|
|
3148
|
+
value: QueryHideRecordsBySentinelResponse.encode(message).finish()
|
|
3149
|
+
};
|
|
3150
|
+
}
|
|
3151
|
+
};
|
|
2987
3152
|
function createBaseQueryPendingCollectionsRequest() {
|
|
2988
3153
|
return {
|
|
2989
3154
|
pagination: undefined
|
|
@@ -173,6 +173,17 @@ export class LCDQueryClient {
|
|
|
173
173
|
const endpoint = `sparkdream/collect/v1/hide_records_by_target/${params.targetId}/${params.targetType}`;
|
|
174
174
|
return await this.req.get(endpoint);
|
|
175
175
|
};
|
|
176
|
+
/* HideRecordsBySentinel Queries hide records created by a given sentinel. */
|
|
177
|
+
hideRecordsBySentinel = async (params) => {
|
|
178
|
+
const options = {
|
|
179
|
+
params: {}
|
|
180
|
+
};
|
|
181
|
+
if (typeof params?.pagination !== "undefined") {
|
|
182
|
+
setPaginationParams(options, params.pagination);
|
|
183
|
+
}
|
|
184
|
+
const endpoint = `sparkdream/collect/v1/hide_records_by_sentinel/${params.sentinel}`;
|
|
185
|
+
return await this.req.get(endpoint, options);
|
|
186
|
+
};
|
|
176
187
|
/* PendingCollections Queries a list of PendingCollections items. */
|
|
177
188
|
pendingCollections = async (params = {
|
|
178
189
|
pagination: undefined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryHideRecordsBySentinelRequest, QueryHideRecordsBySentinelResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -134,6 +134,12 @@ export class QueryClientImpl {
|
|
|
134
134
|
const promise = this.rpc.request("sparkdream.collect.v1.Query", "HideRecordsByTarget", data);
|
|
135
135
|
return promise.then(data => QueryHideRecordsByTargetResponse.decode(new BinaryReader(data)));
|
|
136
136
|
};
|
|
137
|
+
/* HideRecordsBySentinel Queries hide records created by a given sentinel. */
|
|
138
|
+
hideRecordsBySentinel = async (request) => {
|
|
139
|
+
const data = QueryHideRecordsBySentinelRequest.encode(request).finish();
|
|
140
|
+
const promise = this.rpc.request("sparkdream.collect.v1.Query", "HideRecordsBySentinel", data);
|
|
141
|
+
return promise.then(data => QueryHideRecordsBySentinelResponse.decode(new BinaryReader(data)));
|
|
142
|
+
};
|
|
137
143
|
/* PendingCollections Queries a list of PendingCollections items. */
|
|
138
144
|
pendingCollections = async (request = {
|
|
139
145
|
pagination: undefined
|
|
@@ -233,6 +239,9 @@ export const createRpcQueryExtension = (base) => {
|
|
|
233
239
|
hideRecordsByTarget(request) {
|
|
234
240
|
return queryService.hideRecordsByTarget(request);
|
|
235
241
|
},
|
|
242
|
+
hideRecordsBySentinel(request) {
|
|
243
|
+
return queryService.hideRecordsBySentinel(request);
|
|
244
|
+
},
|
|
236
245
|
pendingCollections(request) {
|
|
237
246
|
return queryService.pendingCollections(request);
|
|
238
247
|
},
|
|
@@ -3015,9 +3015,7 @@ export const QueryInvitationsByInviterRequest = {
|
|
|
3015
3015
|
};
|
|
3016
3016
|
function createBaseQueryInvitationsByInviterResponse() {
|
|
3017
3017
|
return {
|
|
3018
|
-
|
|
3019
|
-
inviteeAddress: "",
|
|
3020
|
-
status: BigInt(0),
|
|
3018
|
+
invitation: [],
|
|
3021
3019
|
pagination: undefined
|
|
3022
3020
|
};
|
|
3023
3021
|
}
|
|
@@ -3030,17 +3028,11 @@ function createBaseQueryInvitationsByInviterResponse() {
|
|
|
3030
3028
|
export const QueryInvitationsByInviterResponse = {
|
|
3031
3029
|
typeUrl: "/sparkdream.rep.v1.QueryInvitationsByInviterResponse",
|
|
3032
3030
|
encode(message, writer = BinaryWriter.create()) {
|
|
3033
|
-
|
|
3034
|
-
writer.uint32(
|
|
3035
|
-
}
|
|
3036
|
-
if (message.inviteeAddress !== "") {
|
|
3037
|
-
writer.uint32(18).string(message.inviteeAddress);
|
|
3038
|
-
}
|
|
3039
|
-
if (message.status !== BigInt(0)) {
|
|
3040
|
-
writer.uint32(24).uint64(message.status);
|
|
3031
|
+
for (const v of message.invitation) {
|
|
3032
|
+
Invitation.encode(v, writer.uint32(10).fork()).ldelim();
|
|
3041
3033
|
}
|
|
3042
3034
|
if (message.pagination !== undefined) {
|
|
3043
|
-
PageResponse.encode(message.pagination, writer.uint32(
|
|
3035
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3044
3036
|
}
|
|
3045
3037
|
return writer;
|
|
3046
3038
|
},
|
|
@@ -3052,15 +3044,9 @@ export const QueryInvitationsByInviterResponse = {
|
|
|
3052
3044
|
const tag = reader.uint32();
|
|
3053
3045
|
switch (tag >>> 3) {
|
|
3054
3046
|
case 1:
|
|
3055
|
-
message.
|
|
3047
|
+
message.invitation.push(Invitation.decode(reader, reader.uint32()));
|
|
3056
3048
|
break;
|
|
3057
3049
|
case 2:
|
|
3058
|
-
message.inviteeAddress = reader.string();
|
|
3059
|
-
break;
|
|
3060
|
-
case 3:
|
|
3061
|
-
message.status = reader.uint64();
|
|
3062
|
-
break;
|
|
3063
|
-
case 4:
|
|
3064
3050
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
3065
3051
|
break;
|
|
3066
3052
|
default:
|
|
@@ -3072,23 +3058,13 @@ export const QueryInvitationsByInviterResponse = {
|
|
|
3072
3058
|
},
|
|
3073
3059
|
fromPartial(object) {
|
|
3074
3060
|
const message = createBaseQueryInvitationsByInviterResponse();
|
|
3075
|
-
message.
|
|
3076
|
-
message.inviteeAddress = object.inviteeAddress ?? "";
|
|
3077
|
-
message.status = object.status !== undefined && object.status !== null ? BigInt(object.status.toString()) : BigInt(0);
|
|
3061
|
+
message.invitation = object.invitation?.map(e => Invitation.fromPartial(e)) || [];
|
|
3078
3062
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
3079
3063
|
return message;
|
|
3080
3064
|
},
|
|
3081
3065
|
fromAmino(object) {
|
|
3082
3066
|
const message = createBaseQueryInvitationsByInviterResponse();
|
|
3083
|
-
|
|
3084
|
-
message.invitationId = BigInt(object.invitation_id);
|
|
3085
|
-
}
|
|
3086
|
-
if (object.invitee_address !== undefined && object.invitee_address !== null) {
|
|
3087
|
-
message.inviteeAddress = object.invitee_address;
|
|
3088
|
-
}
|
|
3089
|
-
if (object.status !== undefined && object.status !== null) {
|
|
3090
|
-
message.status = BigInt(object.status);
|
|
3091
|
-
}
|
|
3067
|
+
message.invitation = object.invitation?.map(e => Invitation.fromAmino(e)) || [];
|
|
3092
3068
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3093
3069
|
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
3094
3070
|
}
|
|
@@ -3096,9 +3072,12 @@ export const QueryInvitationsByInviterResponse = {
|
|
|
3096
3072
|
},
|
|
3097
3073
|
toAmino(message) {
|
|
3098
3074
|
const obj = {};
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3075
|
+
if (message.invitation) {
|
|
3076
|
+
obj.invitation = message.invitation.map(e => e ? Invitation.toAmino(e) : undefined);
|
|
3077
|
+
}
|
|
3078
|
+
else {
|
|
3079
|
+
obj.invitation = message.invitation;
|
|
3080
|
+
}
|
|
3102
3081
|
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
3103
3082
|
return obj;
|
|
3104
3083
|
},
|
package/package.json
CHANGED
package/sparkdream/bundle.d.ts
CHANGED
|
@@ -1577,6 +1577,7 @@ export declare namespace sparkdream {
|
|
|
1577
1577
|
flaggedContent(request?: _186.QueryFlaggedContentRequest): Promise<_186.QueryFlaggedContentResponse>;
|
|
1578
1578
|
hideRecord(request: _186.QueryHideRecordRequest): Promise<_186.QueryHideRecordResponse>;
|
|
1579
1579
|
hideRecordsByTarget(request: _186.QueryHideRecordsByTargetRequest): Promise<_186.QueryHideRecordsByTargetResponse>;
|
|
1580
|
+
hideRecordsBySentinel(request: _186.QueryHideRecordsBySentinelRequest): Promise<_186.QueryHideRecordsBySentinelResponse>;
|
|
1580
1581
|
pendingCollections(request?: _186.QueryPendingCollectionsRequest): Promise<_186.QueryPendingCollectionsResponse>;
|
|
1581
1582
|
endorsement(request: _186.QueryEndorsementRequest): Promise<_186.QueryEndorsementResponse>;
|
|
1582
1583
|
collectionsByContent(request: _186.QueryCollectionsByContentRequest): Promise<_186.QueryCollectionsByContentResponse>;
|
|
@@ -3591,6 +3592,30 @@ export declare namespace sparkdream {
|
|
|
3591
3592
|
toProto(message: _186.QueryHideRecordsByTargetResponse): Uint8Array;
|
|
3592
3593
|
toProtoMsg(message: _186.QueryHideRecordsByTargetResponse): _186.QueryHideRecordsByTargetResponseProtoMsg;
|
|
3593
3594
|
};
|
|
3595
|
+
QueryHideRecordsBySentinelRequest: {
|
|
3596
|
+
typeUrl: string;
|
|
3597
|
+
encode(message: _186.QueryHideRecordsBySentinelRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
3598
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _186.QueryHideRecordsBySentinelRequest;
|
|
3599
|
+
fromPartial(object: import("../helpers").DeepPartial<_186.QueryHideRecordsBySentinelRequest>): _186.QueryHideRecordsBySentinelRequest;
|
|
3600
|
+
fromAmino(object: _186.QueryHideRecordsBySentinelRequestAmino): _186.QueryHideRecordsBySentinelRequest;
|
|
3601
|
+
toAmino(message: _186.QueryHideRecordsBySentinelRequest): _186.QueryHideRecordsBySentinelRequestAmino;
|
|
3602
|
+
fromAminoMsg(object: _186.QueryHideRecordsBySentinelRequestAminoMsg): _186.QueryHideRecordsBySentinelRequest;
|
|
3603
|
+
fromProtoMsg(message: _186.QueryHideRecordsBySentinelRequestProtoMsg): _186.QueryHideRecordsBySentinelRequest;
|
|
3604
|
+
toProto(message: _186.QueryHideRecordsBySentinelRequest): Uint8Array;
|
|
3605
|
+
toProtoMsg(message: _186.QueryHideRecordsBySentinelRequest): _186.QueryHideRecordsBySentinelRequestProtoMsg;
|
|
3606
|
+
};
|
|
3607
|
+
QueryHideRecordsBySentinelResponse: {
|
|
3608
|
+
typeUrl: string;
|
|
3609
|
+
encode(message: _186.QueryHideRecordsBySentinelResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
3610
|
+
decode(input: import("..").BinaryReader | Uint8Array, length?: number): _186.QueryHideRecordsBySentinelResponse;
|
|
3611
|
+
fromPartial(object: import("../helpers").DeepPartial<_186.QueryHideRecordsBySentinelResponse>): _186.QueryHideRecordsBySentinelResponse;
|
|
3612
|
+
fromAmino(object: _186.QueryHideRecordsBySentinelResponseAmino): _186.QueryHideRecordsBySentinelResponse;
|
|
3613
|
+
toAmino(message: _186.QueryHideRecordsBySentinelResponse): _186.QueryHideRecordsBySentinelResponseAmino;
|
|
3614
|
+
fromAminoMsg(object: _186.QueryHideRecordsBySentinelResponseAminoMsg): _186.QueryHideRecordsBySentinelResponse;
|
|
3615
|
+
fromProtoMsg(message: _186.QueryHideRecordsBySentinelResponseProtoMsg): _186.QueryHideRecordsBySentinelResponse;
|
|
3616
|
+
toProto(message: _186.QueryHideRecordsBySentinelResponse): Uint8Array;
|
|
3617
|
+
toProtoMsg(message: _186.QueryHideRecordsBySentinelResponse): _186.QueryHideRecordsBySentinelResponseProtoMsg;
|
|
3618
|
+
};
|
|
3594
3619
|
QueryPendingCollectionsRequest: {
|
|
3595
3620
|
typeUrl: string;
|
|
3596
3621
|
encode(message: _186.QueryPendingCollectionsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter;
|
|
@@ -25434,6 +25459,7 @@ export declare namespace sparkdream {
|
|
|
25434
25459
|
flaggedContent(request?: _186.QueryFlaggedContentRequest): Promise<_186.QueryFlaggedContentResponse>;
|
|
25435
25460
|
hideRecord(request: _186.QueryHideRecordRequest): Promise<_186.QueryHideRecordResponse>;
|
|
25436
25461
|
hideRecordsByTarget(request: _186.QueryHideRecordsByTargetRequest): Promise<_186.QueryHideRecordsByTargetResponse>;
|
|
25462
|
+
hideRecordsBySentinel(request: _186.QueryHideRecordsBySentinelRequest): Promise<_186.QueryHideRecordsBySentinelResponse>;
|
|
25437
25463
|
pendingCollections(request?: _186.QueryPendingCollectionsRequest): Promise<_186.QueryPendingCollectionsResponse>;
|
|
25438
25464
|
endorsement(request: _186.QueryEndorsementRequest): Promise<_186.QueryEndorsementResponse>;
|
|
25439
25465
|
collectionsByContent(request: _186.QueryCollectionsByContentRequest): Promise<_186.QueryCollectionsByContentResponse>;
|
|
@@ -1016,6 +1016,62 @@ export interface QueryHideRecordsByTargetResponseAminoMsg {
|
|
|
1016
1016
|
type: "/sparkdream.collect.v1.QueryHideRecordsByTargetResponse";
|
|
1017
1017
|
value: QueryHideRecordsByTargetResponseAmino;
|
|
1018
1018
|
}
|
|
1019
|
+
/**
|
|
1020
|
+
* QueryHideRecordsBySentinelRequest defines the QueryHideRecordsBySentinelRequest message.
|
|
1021
|
+
* @name QueryHideRecordsBySentinelRequest
|
|
1022
|
+
* @package sparkdream.collect.v1
|
|
1023
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelRequest
|
|
1024
|
+
*/
|
|
1025
|
+
export interface QueryHideRecordsBySentinelRequest {
|
|
1026
|
+
sentinel: string;
|
|
1027
|
+
pagination?: PageRequest;
|
|
1028
|
+
}
|
|
1029
|
+
export interface QueryHideRecordsBySentinelRequestProtoMsg {
|
|
1030
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelRequest";
|
|
1031
|
+
value: Uint8Array;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* QueryHideRecordsBySentinelRequest defines the QueryHideRecordsBySentinelRequest message.
|
|
1035
|
+
* @name QueryHideRecordsBySentinelRequestAmino
|
|
1036
|
+
* @package sparkdream.collect.v1
|
|
1037
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelRequest
|
|
1038
|
+
*/
|
|
1039
|
+
export interface QueryHideRecordsBySentinelRequestAmino {
|
|
1040
|
+
sentinel?: string;
|
|
1041
|
+
pagination?: PageRequestAmino;
|
|
1042
|
+
}
|
|
1043
|
+
export interface QueryHideRecordsBySentinelRequestAminoMsg {
|
|
1044
|
+
type: "/sparkdream.collect.v1.QueryHideRecordsBySentinelRequest";
|
|
1045
|
+
value: QueryHideRecordsBySentinelRequestAmino;
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* QueryHideRecordsBySentinelResponse defines the QueryHideRecordsBySentinelResponse message.
|
|
1049
|
+
* @name QueryHideRecordsBySentinelResponse
|
|
1050
|
+
* @package sparkdream.collect.v1
|
|
1051
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelResponse
|
|
1052
|
+
*/
|
|
1053
|
+
export interface QueryHideRecordsBySentinelResponse {
|
|
1054
|
+
hideRecords: HideRecord[];
|
|
1055
|
+
pagination?: PageResponse;
|
|
1056
|
+
}
|
|
1057
|
+
export interface QueryHideRecordsBySentinelResponseProtoMsg {
|
|
1058
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelResponse";
|
|
1059
|
+
value: Uint8Array;
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* QueryHideRecordsBySentinelResponse defines the QueryHideRecordsBySentinelResponse message.
|
|
1063
|
+
* @name QueryHideRecordsBySentinelResponseAmino
|
|
1064
|
+
* @package sparkdream.collect.v1
|
|
1065
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelResponse
|
|
1066
|
+
*/
|
|
1067
|
+
export interface QueryHideRecordsBySentinelResponseAmino {
|
|
1068
|
+
hide_records?: HideRecordAmino[];
|
|
1069
|
+
pagination?: PageResponseAmino;
|
|
1070
|
+
}
|
|
1071
|
+
export interface QueryHideRecordsBySentinelResponseAminoMsg {
|
|
1072
|
+
type: "/sparkdream.collect.v1.QueryHideRecordsBySentinelResponse";
|
|
1073
|
+
value: QueryHideRecordsBySentinelResponseAmino;
|
|
1074
|
+
}
|
|
1019
1075
|
/**
|
|
1020
1076
|
* QueryPendingCollectionsRequest defines the QueryPendingCollectionsRequest message.
|
|
1021
1077
|
* @name QueryPendingCollectionsRequest
|
|
@@ -1984,6 +2040,42 @@ export declare const QueryHideRecordsByTargetResponse: {
|
|
|
1984
2040
|
toProto(message: QueryHideRecordsByTargetResponse): Uint8Array;
|
|
1985
2041
|
toProtoMsg(message: QueryHideRecordsByTargetResponse): QueryHideRecordsByTargetResponseProtoMsg;
|
|
1986
2042
|
};
|
|
2043
|
+
/**
|
|
2044
|
+
* QueryHideRecordsBySentinelRequest defines the QueryHideRecordsBySentinelRequest message.
|
|
2045
|
+
* @name QueryHideRecordsBySentinelRequest
|
|
2046
|
+
* @package sparkdream.collect.v1
|
|
2047
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelRequest
|
|
2048
|
+
*/
|
|
2049
|
+
export declare const QueryHideRecordsBySentinelRequest: {
|
|
2050
|
+
typeUrl: string;
|
|
2051
|
+
encode(message: QueryHideRecordsBySentinelRequest, writer?: BinaryWriter): BinaryWriter;
|
|
2052
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryHideRecordsBySentinelRequest;
|
|
2053
|
+
fromPartial(object: DeepPartial<QueryHideRecordsBySentinelRequest>): QueryHideRecordsBySentinelRequest;
|
|
2054
|
+
fromAmino(object: QueryHideRecordsBySentinelRequestAmino): QueryHideRecordsBySentinelRequest;
|
|
2055
|
+
toAmino(message: QueryHideRecordsBySentinelRequest): QueryHideRecordsBySentinelRequestAmino;
|
|
2056
|
+
fromAminoMsg(object: QueryHideRecordsBySentinelRequestAminoMsg): QueryHideRecordsBySentinelRequest;
|
|
2057
|
+
fromProtoMsg(message: QueryHideRecordsBySentinelRequestProtoMsg): QueryHideRecordsBySentinelRequest;
|
|
2058
|
+
toProto(message: QueryHideRecordsBySentinelRequest): Uint8Array;
|
|
2059
|
+
toProtoMsg(message: QueryHideRecordsBySentinelRequest): QueryHideRecordsBySentinelRequestProtoMsg;
|
|
2060
|
+
};
|
|
2061
|
+
/**
|
|
2062
|
+
* QueryHideRecordsBySentinelResponse defines the QueryHideRecordsBySentinelResponse message.
|
|
2063
|
+
* @name QueryHideRecordsBySentinelResponse
|
|
2064
|
+
* @package sparkdream.collect.v1
|
|
2065
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelResponse
|
|
2066
|
+
*/
|
|
2067
|
+
export declare const QueryHideRecordsBySentinelResponse: {
|
|
2068
|
+
typeUrl: string;
|
|
2069
|
+
encode(message: QueryHideRecordsBySentinelResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2070
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryHideRecordsBySentinelResponse;
|
|
2071
|
+
fromPartial(object: DeepPartial<QueryHideRecordsBySentinelResponse>): QueryHideRecordsBySentinelResponse;
|
|
2072
|
+
fromAmino(object: QueryHideRecordsBySentinelResponseAmino): QueryHideRecordsBySentinelResponse;
|
|
2073
|
+
toAmino(message: QueryHideRecordsBySentinelResponse): QueryHideRecordsBySentinelResponseAmino;
|
|
2074
|
+
fromAminoMsg(object: QueryHideRecordsBySentinelResponseAminoMsg): QueryHideRecordsBySentinelResponse;
|
|
2075
|
+
fromProtoMsg(message: QueryHideRecordsBySentinelResponseProtoMsg): QueryHideRecordsBySentinelResponse;
|
|
2076
|
+
toProto(message: QueryHideRecordsBySentinelResponse): Uint8Array;
|
|
2077
|
+
toProtoMsg(message: QueryHideRecordsBySentinelResponse): QueryHideRecordsBySentinelResponseProtoMsg;
|
|
2078
|
+
};
|
|
1987
2079
|
/**
|
|
1988
2080
|
* QueryPendingCollectionsRequest defines the QueryPendingCollectionsRequest message.
|
|
1989
2081
|
* @name QueryPendingCollectionsRequest
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.QueryCollectionConvictionResponse = exports.QueryCollectionConvictionRequest = exports.QueryCollectionsByContentResponse = exports.QueryCollectionsByContentRequest = exports.QueryEndorsementResponse = exports.QueryEndorsementRequest = exports.QueryPendingCollectionsResponse = exports.QueryPendingCollectionsRequest = exports.QueryHideRecordsBySentinelResponse = exports.QueryHideRecordsBySentinelRequest = exports.QueryHideRecordsByTargetResponse = exports.QueryHideRecordsByTargetRequest = exports.QueryHideRecordResponse = exports.QueryHideRecordRequest = exports.QueryFlaggedContentResponse = exports.QueryFlaggedContentRequest = exports.QueryContentFlagResponse = exports.QueryContentFlagRequest = exports.QuerySponsorshipRequestsResponse = exports.QuerySponsorshipRequestsRequest = exports.QuerySponsorshipRequestResponse = exports.QuerySponsorshipRequestRequest = exports.QueryCurationReviewsByCuratorResponse = exports.QueryCurationReviewsByCuratorRequest = exports.QueryCurationReviewsResponse = exports.QueryCurationReviewsRequest = exports.QueryCurationSummaryResponse = exports.QueryCurationSummaryRequest = exports.QueryCuratorActivityResponse = exports.QueryCuratorActivityRequest = exports.QueryCollaboratorsResponse = exports.QueryCollaboratorsRequest = exports.QueryItemsByOwnerResponse = exports.QueryItemsByOwnerRequest = exports.QueryItemsResponse = exports.QueryItemsRequest = exports.QueryItemResponse = exports.QueryItemRequest = exports.QueryCollectionsByCollaboratorResponse = exports.QueryCollectionsByCollaboratorRequest = exports.QueryPublicCollectionsByTypeResponse = exports.QueryPublicCollectionsByTypeRequest = exports.QueryPublicCollectionsResponse = exports.QueryPublicCollectionsRequest = exports.QueryCollectionsByOwnerResponse = exports.QueryCollectionsByOwnerRequest = exports.QueryCollectionResponse = exports.QueryCollectionRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = void 0;
|
|
4
|
+
exports.QueryListCollectionsByTagResponse = exports.QueryListCollectionsByTagRequest = void 0;
|
|
4
5
|
//@ts-nocheck
|
|
5
6
|
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
6
7
|
const types_1 = require("./types");
|
|
@@ -2987,6 +2988,171 @@ exports.QueryHideRecordsByTargetResponse = {
|
|
|
2987
2988
|
};
|
|
2988
2989
|
}
|
|
2989
2990
|
};
|
|
2991
|
+
function createBaseQueryHideRecordsBySentinelRequest() {
|
|
2992
|
+
return {
|
|
2993
|
+
sentinel: "",
|
|
2994
|
+
pagination: undefined
|
|
2995
|
+
};
|
|
2996
|
+
}
|
|
2997
|
+
/**
|
|
2998
|
+
* QueryHideRecordsBySentinelRequest defines the QueryHideRecordsBySentinelRequest message.
|
|
2999
|
+
* @name QueryHideRecordsBySentinelRequest
|
|
3000
|
+
* @package sparkdream.collect.v1
|
|
3001
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelRequest
|
|
3002
|
+
*/
|
|
3003
|
+
exports.QueryHideRecordsBySentinelRequest = {
|
|
3004
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelRequest",
|
|
3005
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
3006
|
+
if (message.sentinel !== "") {
|
|
3007
|
+
writer.uint32(10).string(message.sentinel);
|
|
3008
|
+
}
|
|
3009
|
+
if (message.pagination !== undefined) {
|
|
3010
|
+
pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3011
|
+
}
|
|
3012
|
+
return writer;
|
|
3013
|
+
},
|
|
3014
|
+
decode(input, length) {
|
|
3015
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
3016
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3017
|
+
const message = createBaseQueryHideRecordsBySentinelRequest();
|
|
3018
|
+
while (reader.pos < end) {
|
|
3019
|
+
const tag = reader.uint32();
|
|
3020
|
+
switch (tag >>> 3) {
|
|
3021
|
+
case 1:
|
|
3022
|
+
message.sentinel = reader.string();
|
|
3023
|
+
break;
|
|
3024
|
+
case 2:
|
|
3025
|
+
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
3026
|
+
break;
|
|
3027
|
+
default:
|
|
3028
|
+
reader.skipType(tag & 7);
|
|
3029
|
+
break;
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
return message;
|
|
3033
|
+
},
|
|
3034
|
+
fromPartial(object) {
|
|
3035
|
+
const message = createBaseQueryHideRecordsBySentinelRequest();
|
|
3036
|
+
message.sentinel = object.sentinel ?? "";
|
|
3037
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageRequest.fromPartial(object.pagination) : undefined;
|
|
3038
|
+
return message;
|
|
3039
|
+
},
|
|
3040
|
+
fromAmino(object) {
|
|
3041
|
+
const message = createBaseQueryHideRecordsBySentinelRequest();
|
|
3042
|
+
if (object.sentinel !== undefined && object.sentinel !== null) {
|
|
3043
|
+
message.sentinel = object.sentinel;
|
|
3044
|
+
}
|
|
3045
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3046
|
+
message.pagination = pagination_1.PageRequest.fromAmino(object.pagination);
|
|
3047
|
+
}
|
|
3048
|
+
return message;
|
|
3049
|
+
},
|
|
3050
|
+
toAmino(message) {
|
|
3051
|
+
const obj = {};
|
|
3052
|
+
obj.sentinel = message.sentinel === "" ? undefined : message.sentinel;
|
|
3053
|
+
obj.pagination = message.pagination ? pagination_1.PageRequest.toAmino(message.pagination) : undefined;
|
|
3054
|
+
return obj;
|
|
3055
|
+
},
|
|
3056
|
+
fromAminoMsg(object) {
|
|
3057
|
+
return exports.QueryHideRecordsBySentinelRequest.fromAmino(object.value);
|
|
3058
|
+
},
|
|
3059
|
+
fromProtoMsg(message) {
|
|
3060
|
+
return exports.QueryHideRecordsBySentinelRequest.decode(message.value);
|
|
3061
|
+
},
|
|
3062
|
+
toProto(message) {
|
|
3063
|
+
return exports.QueryHideRecordsBySentinelRequest.encode(message).finish();
|
|
3064
|
+
},
|
|
3065
|
+
toProtoMsg(message) {
|
|
3066
|
+
return {
|
|
3067
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelRequest",
|
|
3068
|
+
value: exports.QueryHideRecordsBySentinelRequest.encode(message).finish()
|
|
3069
|
+
};
|
|
3070
|
+
}
|
|
3071
|
+
};
|
|
3072
|
+
function createBaseQueryHideRecordsBySentinelResponse() {
|
|
3073
|
+
return {
|
|
3074
|
+
hideRecords: [],
|
|
3075
|
+
pagination: undefined
|
|
3076
|
+
};
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* QueryHideRecordsBySentinelResponse defines the QueryHideRecordsBySentinelResponse message.
|
|
3080
|
+
* @name QueryHideRecordsBySentinelResponse
|
|
3081
|
+
* @package sparkdream.collect.v1
|
|
3082
|
+
* @see proto type: sparkdream.collect.v1.QueryHideRecordsBySentinelResponse
|
|
3083
|
+
*/
|
|
3084
|
+
exports.QueryHideRecordsBySentinelResponse = {
|
|
3085
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelResponse",
|
|
3086
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
3087
|
+
for (const v of message.hideRecords) {
|
|
3088
|
+
types_1.HideRecord.encode(v, writer.uint32(10).fork()).ldelim();
|
|
3089
|
+
}
|
|
3090
|
+
if (message.pagination !== undefined) {
|
|
3091
|
+
pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3092
|
+
}
|
|
3093
|
+
return writer;
|
|
3094
|
+
},
|
|
3095
|
+
decode(input, length) {
|
|
3096
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
3097
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3098
|
+
const message = createBaseQueryHideRecordsBySentinelResponse();
|
|
3099
|
+
while (reader.pos < end) {
|
|
3100
|
+
const tag = reader.uint32();
|
|
3101
|
+
switch (tag >>> 3) {
|
|
3102
|
+
case 1:
|
|
3103
|
+
message.hideRecords.push(types_1.HideRecord.decode(reader, reader.uint32()));
|
|
3104
|
+
break;
|
|
3105
|
+
case 2:
|
|
3106
|
+
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
3107
|
+
break;
|
|
3108
|
+
default:
|
|
3109
|
+
reader.skipType(tag & 7);
|
|
3110
|
+
break;
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
return message;
|
|
3114
|
+
},
|
|
3115
|
+
fromPartial(object) {
|
|
3116
|
+
const message = createBaseQueryHideRecordsBySentinelResponse();
|
|
3117
|
+
message.hideRecords = object.hideRecords?.map(e => types_1.HideRecord.fromPartial(e)) || [];
|
|
3118
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
|
|
3119
|
+
return message;
|
|
3120
|
+
},
|
|
3121
|
+
fromAmino(object) {
|
|
3122
|
+
const message = createBaseQueryHideRecordsBySentinelResponse();
|
|
3123
|
+
message.hideRecords = object.hide_records?.map(e => types_1.HideRecord.fromAmino(e)) || [];
|
|
3124
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3125
|
+
message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
|
|
3126
|
+
}
|
|
3127
|
+
return message;
|
|
3128
|
+
},
|
|
3129
|
+
toAmino(message) {
|
|
3130
|
+
const obj = {};
|
|
3131
|
+
if (message.hideRecords) {
|
|
3132
|
+
obj.hide_records = message.hideRecords.map(e => e ? types_1.HideRecord.toAmino(e) : undefined);
|
|
3133
|
+
}
|
|
3134
|
+
else {
|
|
3135
|
+
obj.hide_records = message.hideRecords;
|
|
3136
|
+
}
|
|
3137
|
+
obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
|
|
3138
|
+
return obj;
|
|
3139
|
+
},
|
|
3140
|
+
fromAminoMsg(object) {
|
|
3141
|
+
return exports.QueryHideRecordsBySentinelResponse.fromAmino(object.value);
|
|
3142
|
+
},
|
|
3143
|
+
fromProtoMsg(message) {
|
|
3144
|
+
return exports.QueryHideRecordsBySentinelResponse.decode(message.value);
|
|
3145
|
+
},
|
|
3146
|
+
toProto(message) {
|
|
3147
|
+
return exports.QueryHideRecordsBySentinelResponse.encode(message).finish();
|
|
3148
|
+
},
|
|
3149
|
+
toProtoMsg(message) {
|
|
3150
|
+
return {
|
|
3151
|
+
typeUrl: "/sparkdream.collect.v1.QueryHideRecordsBySentinelResponse",
|
|
3152
|
+
value: exports.QueryHideRecordsBySentinelResponse.encode(message).finish()
|
|
3153
|
+
};
|
|
3154
|
+
}
|
|
3155
|
+
};
|
|
2990
3156
|
function createBaseQueryPendingCollectionsRequest() {
|
|
2991
3157
|
return {
|
|
2992
3158
|
pagination: undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryHideRecordsBySentinelRequest, QueryHideRecordsBySentinelResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
@@ -25,6 +25,7 @@ export declare class LCDQueryClient {
|
|
|
25
25
|
flaggedContent: (params?: QueryFlaggedContentRequest) => Promise<QueryFlaggedContentResponse>;
|
|
26
26
|
hideRecord: (params: QueryHideRecordRequest) => Promise<QueryHideRecordResponse>;
|
|
27
27
|
hideRecordsByTarget: (params: QueryHideRecordsByTargetRequest) => Promise<QueryHideRecordsByTargetResponse>;
|
|
28
|
+
hideRecordsBySentinel: (params: QueryHideRecordsBySentinelRequest) => Promise<QueryHideRecordsBySentinelResponse>;
|
|
28
29
|
pendingCollections: (params?: QueryPendingCollectionsRequest) => Promise<QueryPendingCollectionsResponse>;
|
|
29
30
|
endorsement: (params: QueryEndorsementRequest) => Promise<QueryEndorsementResponse>;
|
|
30
31
|
collectionsByContent: (params: QueryCollectionsByContentRequest) => Promise<QueryCollectionsByContentResponse>;
|
|
@@ -176,6 +176,17 @@ class LCDQueryClient {
|
|
|
176
176
|
const endpoint = `sparkdream/collect/v1/hide_records_by_target/${params.targetId}/${params.targetType}`;
|
|
177
177
|
return await this.req.get(endpoint);
|
|
178
178
|
};
|
|
179
|
+
/* HideRecordsBySentinel Queries hide records created by a given sentinel. */
|
|
180
|
+
hideRecordsBySentinel = async (params) => {
|
|
181
|
+
const options = {
|
|
182
|
+
params: {}
|
|
183
|
+
};
|
|
184
|
+
if (typeof params?.pagination !== "undefined") {
|
|
185
|
+
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
186
|
+
}
|
|
187
|
+
const endpoint = `sparkdream/collect/v1/hide_records_by_sentinel/${params.sentinel}`;
|
|
188
|
+
return await this.req.get(endpoint, options);
|
|
189
|
+
};
|
|
179
190
|
/* PendingCollections Queries a list of PendingCollections items. */
|
|
180
191
|
pendingCollections = async (params = {
|
|
181
192
|
pagination: undefined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryHideRecordsBySentinelRequest, QueryHideRecordsBySentinelResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
4
4
|
/** Query defines the gRPC querier service. */
|
|
5
5
|
export interface Query {
|
|
6
6
|
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
@@ -32,6 +32,8 @@ export interface Query {
|
|
|
32
32
|
hideRecord(request: QueryHideRecordRequest): Promise<QueryHideRecordResponse>;
|
|
33
33
|
/** HideRecordsByTarget Queries a list of HideRecordsByTarget items. */
|
|
34
34
|
hideRecordsByTarget(request: QueryHideRecordsByTargetRequest): Promise<QueryHideRecordsByTargetResponse>;
|
|
35
|
+
/** HideRecordsBySentinel Queries hide records created by a given sentinel. */
|
|
36
|
+
hideRecordsBySentinel(request: QueryHideRecordsBySentinelRequest): Promise<QueryHideRecordsBySentinelResponse>;
|
|
35
37
|
/** PendingCollections Queries a list of PendingCollections items. */
|
|
36
38
|
pendingCollections(request?: QueryPendingCollectionsRequest): Promise<QueryPendingCollectionsResponse>;
|
|
37
39
|
/** Endorsement Queries a list of Endorsement items. */
|
|
@@ -72,6 +74,7 @@ export declare class QueryClientImpl implements Query {
|
|
|
72
74
|
flaggedContent: (request?: QueryFlaggedContentRequest) => Promise<QueryFlaggedContentResponse>;
|
|
73
75
|
hideRecord: (request: QueryHideRecordRequest) => Promise<QueryHideRecordResponse>;
|
|
74
76
|
hideRecordsByTarget: (request: QueryHideRecordsByTargetRequest) => Promise<QueryHideRecordsByTargetResponse>;
|
|
77
|
+
hideRecordsBySentinel: (request: QueryHideRecordsBySentinelRequest) => Promise<QueryHideRecordsBySentinelResponse>;
|
|
75
78
|
pendingCollections: (request?: QueryPendingCollectionsRequest) => Promise<QueryPendingCollectionsResponse>;
|
|
76
79
|
endorsement: (request: QueryEndorsementRequest) => Promise<QueryEndorsementResponse>;
|
|
77
80
|
collectionsByContent: (request: QueryCollectionsByContentRequest) => Promise<QueryCollectionsByContentResponse>;
|
|
@@ -99,6 +102,7 @@ export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
|
99
102
|
flaggedContent(request?: QueryFlaggedContentRequest): Promise<QueryFlaggedContentResponse>;
|
|
100
103
|
hideRecord(request: QueryHideRecordRequest): Promise<QueryHideRecordResponse>;
|
|
101
104
|
hideRecordsByTarget(request: QueryHideRecordsByTargetRequest): Promise<QueryHideRecordsByTargetResponse>;
|
|
105
|
+
hideRecordsBySentinel(request: QueryHideRecordsBySentinelRequest): Promise<QueryHideRecordsBySentinelResponse>;
|
|
102
106
|
pendingCollections(request?: QueryPendingCollectionsRequest): Promise<QueryPendingCollectionsResponse>;
|
|
103
107
|
endorsement(request: QueryEndorsementRequest): Promise<QueryEndorsementResponse>;
|
|
104
108
|
collectionsByContent(request: QueryCollectionsByContentRequest): Promise<QueryCollectionsByContentResponse>;
|
|
@@ -137,6 +137,12 @@ class QueryClientImpl {
|
|
|
137
137
|
const promise = this.rpc.request("sparkdream.collect.v1.Query", "HideRecordsByTarget", data);
|
|
138
138
|
return promise.then(data => query_1.QueryHideRecordsByTargetResponse.decode(new binary_1.BinaryReader(data)));
|
|
139
139
|
};
|
|
140
|
+
/* HideRecordsBySentinel Queries hide records created by a given sentinel. */
|
|
141
|
+
hideRecordsBySentinel = async (request) => {
|
|
142
|
+
const data = query_1.QueryHideRecordsBySentinelRequest.encode(request).finish();
|
|
143
|
+
const promise = this.rpc.request("sparkdream.collect.v1.Query", "HideRecordsBySentinel", data);
|
|
144
|
+
return promise.then(data => query_1.QueryHideRecordsBySentinelResponse.decode(new binary_1.BinaryReader(data)));
|
|
145
|
+
};
|
|
140
146
|
/* PendingCollections Queries a list of PendingCollections items. */
|
|
141
147
|
pendingCollections = async (request = {
|
|
142
148
|
pagination: undefined
|
|
@@ -237,6 +243,9 @@ const createRpcQueryExtension = (base) => {
|
|
|
237
243
|
hideRecordsByTarget(request) {
|
|
238
244
|
return queryService.hideRecordsByTarget(request);
|
|
239
245
|
},
|
|
246
|
+
hideRecordsBySentinel(request) {
|
|
247
|
+
return queryService.hideRecordsBySentinel(request);
|
|
248
|
+
},
|
|
240
249
|
pendingCollections(request) {
|
|
241
250
|
return queryService.pendingCollections(request);
|
|
242
251
|
},
|
|
@@ -1123,9 +1123,7 @@ export interface QueryInvitationsByInviterRequestAminoMsg {
|
|
|
1123
1123
|
* @see proto type: sparkdream.rep.v1.QueryInvitationsByInviterResponse
|
|
1124
1124
|
*/
|
|
1125
1125
|
export interface QueryInvitationsByInviterResponse {
|
|
1126
|
-
|
|
1127
|
-
inviteeAddress: string;
|
|
1128
|
-
status: bigint;
|
|
1126
|
+
invitation: Invitation[];
|
|
1129
1127
|
pagination?: PageResponse;
|
|
1130
1128
|
}
|
|
1131
1129
|
export interface QueryInvitationsByInviterResponseProtoMsg {
|
|
@@ -1139,9 +1137,7 @@ export interface QueryInvitationsByInviterResponseProtoMsg {
|
|
|
1139
1137
|
* @see proto type: sparkdream.rep.v1.QueryInvitationsByInviterResponse
|
|
1140
1138
|
*/
|
|
1141
1139
|
export interface QueryInvitationsByInviterResponseAmino {
|
|
1142
|
-
|
|
1143
|
-
invitee_address?: string;
|
|
1144
|
-
status?: string;
|
|
1140
|
+
invitation?: InvitationAmino[];
|
|
1145
1141
|
pagination?: PageResponseAmino;
|
|
1146
1142
|
}
|
|
1147
1143
|
export interface QueryInvitationsByInviterResponseAminoMsg {
|
|
@@ -3021,9 +3021,7 @@ exports.QueryInvitationsByInviterRequest = {
|
|
|
3021
3021
|
};
|
|
3022
3022
|
function createBaseQueryInvitationsByInviterResponse() {
|
|
3023
3023
|
return {
|
|
3024
|
-
|
|
3025
|
-
inviteeAddress: "",
|
|
3026
|
-
status: BigInt(0),
|
|
3024
|
+
invitation: [],
|
|
3027
3025
|
pagination: undefined
|
|
3028
3026
|
};
|
|
3029
3027
|
}
|
|
@@ -3036,17 +3034,11 @@ function createBaseQueryInvitationsByInviterResponse() {
|
|
|
3036
3034
|
exports.QueryInvitationsByInviterResponse = {
|
|
3037
3035
|
typeUrl: "/sparkdream.rep.v1.QueryInvitationsByInviterResponse",
|
|
3038
3036
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
3039
|
-
|
|
3040
|
-
writer.uint32(
|
|
3041
|
-
}
|
|
3042
|
-
if (message.inviteeAddress !== "") {
|
|
3043
|
-
writer.uint32(18).string(message.inviteeAddress);
|
|
3044
|
-
}
|
|
3045
|
-
if (message.status !== BigInt(0)) {
|
|
3046
|
-
writer.uint32(24).uint64(message.status);
|
|
3037
|
+
for (const v of message.invitation) {
|
|
3038
|
+
invitation_1.Invitation.encode(v, writer.uint32(10).fork()).ldelim();
|
|
3047
3039
|
}
|
|
3048
3040
|
if (message.pagination !== undefined) {
|
|
3049
|
-
pagination_1.PageResponse.encode(message.pagination, writer.uint32(
|
|
3041
|
+
pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3050
3042
|
}
|
|
3051
3043
|
return writer;
|
|
3052
3044
|
},
|
|
@@ -3058,15 +3050,9 @@ exports.QueryInvitationsByInviterResponse = {
|
|
|
3058
3050
|
const tag = reader.uint32();
|
|
3059
3051
|
switch (tag >>> 3) {
|
|
3060
3052
|
case 1:
|
|
3061
|
-
message.
|
|
3053
|
+
message.invitation.push(invitation_1.Invitation.decode(reader, reader.uint32()));
|
|
3062
3054
|
break;
|
|
3063
3055
|
case 2:
|
|
3064
|
-
message.inviteeAddress = reader.string();
|
|
3065
|
-
break;
|
|
3066
|
-
case 3:
|
|
3067
|
-
message.status = reader.uint64();
|
|
3068
|
-
break;
|
|
3069
|
-
case 4:
|
|
3070
3056
|
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
3071
3057
|
break;
|
|
3072
3058
|
default:
|
|
@@ -3078,23 +3064,13 @@ exports.QueryInvitationsByInviterResponse = {
|
|
|
3078
3064
|
},
|
|
3079
3065
|
fromPartial(object) {
|
|
3080
3066
|
const message = createBaseQueryInvitationsByInviterResponse();
|
|
3081
|
-
message.
|
|
3082
|
-
message.inviteeAddress = object.inviteeAddress ?? "";
|
|
3083
|
-
message.status = object.status !== undefined && object.status !== null ? BigInt(object.status.toString()) : BigInt(0);
|
|
3067
|
+
message.invitation = object.invitation?.map(e => invitation_1.Invitation.fromPartial(e)) || [];
|
|
3084
3068
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
|
|
3085
3069
|
return message;
|
|
3086
3070
|
},
|
|
3087
3071
|
fromAmino(object) {
|
|
3088
3072
|
const message = createBaseQueryInvitationsByInviterResponse();
|
|
3089
|
-
|
|
3090
|
-
message.invitationId = BigInt(object.invitation_id);
|
|
3091
|
-
}
|
|
3092
|
-
if (object.invitee_address !== undefined && object.invitee_address !== null) {
|
|
3093
|
-
message.inviteeAddress = object.invitee_address;
|
|
3094
|
-
}
|
|
3095
|
-
if (object.status !== undefined && object.status !== null) {
|
|
3096
|
-
message.status = BigInt(object.status);
|
|
3097
|
-
}
|
|
3073
|
+
message.invitation = object.invitation?.map(e => invitation_1.Invitation.fromAmino(e)) || [];
|
|
3098
3074
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3099
3075
|
message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
|
|
3100
3076
|
}
|
|
@@ -3102,9 +3078,12 @@ exports.QueryInvitationsByInviterResponse = {
|
|
|
3102
3078
|
},
|
|
3103
3079
|
toAmino(message) {
|
|
3104
3080
|
const obj = {};
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3081
|
+
if (message.invitation) {
|
|
3082
|
+
obj.invitation = message.invitation.map(e => e ? invitation_1.Invitation.toAmino(e) : undefined);
|
|
3083
|
+
}
|
|
3084
|
+
else {
|
|
3085
|
+
obj.invitation = message.invitation;
|
|
3086
|
+
}
|
|
3108
3087
|
obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
|
|
3109
3088
|
return obj;
|
|
3110
3089
|
},
|
|
@@ -235,6 +235,7 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
|
|
|
235
235
|
flaggedContent(request?: import("./collect/v1/query").QueryFlaggedContentRequest): Promise<import("./collect/v1/query").QueryFlaggedContentResponse>;
|
|
236
236
|
hideRecord(request: import("./collect/v1/query").QueryHideRecordRequest): Promise<import("./collect/v1/query").QueryHideRecordResponse>;
|
|
237
237
|
hideRecordsByTarget(request: import("./collect/v1/query").QueryHideRecordsByTargetRequest): Promise<import("./collect/v1/query").QueryHideRecordsByTargetResponse>;
|
|
238
|
+
hideRecordsBySentinel(request: import("./collect/v1/query").QueryHideRecordsBySentinelRequest): Promise<import("./collect/v1/query").QueryHideRecordsBySentinelResponse>;
|
|
238
239
|
pendingCollections(request?: import("./collect/v1/query").QueryPendingCollectionsRequest): Promise<import("./collect/v1/query").QueryPendingCollectionsResponse>;
|
|
239
240
|
endorsement(request: import("./collect/v1/query").QueryEndorsementRequest): Promise<import("./collect/v1/query").QueryEndorsementResponse>;
|
|
240
241
|
collectionsByContent(request: import("./collect/v1/query").QueryCollectionsByContentRequest): Promise<import("./collect/v1/query").QueryCollectionsByContentResponse>;
|