@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/params.js +113 -52
- package/esm/sparkdream/blog/v1/tx.js +583 -2
- package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
- package/esm/sparkdream/bundle.js +448 -346
- package/esm/sparkdream/client.js +7 -1
- package/esm/sparkdream/collect/v1/params.js +121 -1
- package/esm/sparkdream/collect/v1/tx.js +293 -1
- package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
- package/esm/sparkdream/collect/v1/types.js +147 -3
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +317 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
- package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
- package/esm/sparkdream/commons/v1/tx.js +693 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
- package/esm/sparkdream/federation/v1/genesis.js +10 -10
- package/esm/sparkdream/federation/v1/params.js +29 -54
- package/esm/sparkdream/federation/v1/query.js +216 -71
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
- package/esm/sparkdream/federation/v1/tx.js +1146 -1105
- package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
- package/esm/sparkdream/federation/v1/types.js +355 -99
- package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/esm/sparkdream/forum/v1/params.js +389 -148
- package/esm/sparkdream/forum/v1/post.js +25 -1
- package/esm/sparkdream/forum/v1/tx.js +460 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
- package/esm/sparkdream/forum/v1/types.js +355 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/esm/sparkdream/guardian/module/v1/module.js +68 -0
- package/esm/sparkdream/guardian/v1/query.js +128 -0
- package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
- package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
- package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
- package/esm/sparkdream/guardian/v1/tx.js +175 -0
- package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
- package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/identity/module/v1/module.js +71 -0
- package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
- package/esm/sparkdream/identity/v1/genesis.js +84 -0
- package/esm/sparkdream/identity/v1/query.js +372 -0
- package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
- package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
- package/esm/sparkdream/lcd.js +15 -0
- package/esm/sparkdream/name/v1/params.js +19 -18
- package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/tag.js +6 -13
- package/esm/sparkdream/rpc.query.js +9 -0
- package/esm/sparkdream/rpc.tx.js +6 -0
- package/esm/sparkdream/service/module/v1/module.js +71 -0
- package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
- package/esm/sparkdream/service/v1/genesis.js +240 -0
- package/esm/sparkdream/service/v1/operator.js +250 -0
- package/esm/sparkdream/service/v1/params.js +355 -0
- package/esm/sparkdream/service/v1/query.js +1582 -0
- package/esm/sparkdream/service/v1/query.lcd.js +107 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
- package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
- package/esm/sparkdream/service/v1/report.js +212 -0
- package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
- package/esm/sparkdream/service/v1/service_type_config.js +264 -0
- package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
- package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
- package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
- package/esm/sparkdream/service/v1/tx.amino.js +69 -0
- package/esm/sparkdream/service/v1/tx.js +2124 -0
- package/esm/sparkdream/service/v1/tx.registry.js +249 -0
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
- package/esm/sparkdream/service/v1/types.js +353 -0
- package/esm/sparkdream/session/v1/genesis.js +136 -10
- package/esm/sparkdream/session/v1/grant.js +1020 -0
- package/esm/sparkdream/session/v1/params.js +543 -19
- package/esm/sparkdream/session/v1/query.js +487 -0
- package/esm/sparkdream/session/v1/query.lcd.js +41 -3
- package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
- package/esm/sparkdream/session/v1/session.js +6 -0
- package/esm/sparkdream/session/v1/tx.js +1066 -0
- package/esm/sparkdream/session/v1/tx.registry.js +110 -2
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +89 -28
- package/sparkdream/blog/v1/params.js +113 -52
- package/sparkdream/blog/v1/post.d.ts +2 -2
- package/sparkdream/blog/v1/tx.d.ts +385 -10
- package/sparkdream/blog/v1/tx.js +584 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
- package/sparkdream/blog/v1/tx.registry.js +73 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
- package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
- package/sparkdream/bundle.d.ts +15308 -12896
- package/sparkdream/bundle.js +448 -346
- package/sparkdream/client.d.ts +90 -20
- package/sparkdream/client.js +7 -1
- package/sparkdream/collect/v1/params.d.ts +140 -0
- package/sparkdream/collect/v1/params.js +121 -1
- package/sparkdream/collect/v1/tx.d.ts +195 -3
- package/sparkdream/collect/v1/tx.js +294 -2
- package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
- package/sparkdream/collect/v1/tx.registry.js +37 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
- package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
- package/sparkdream/collect/v1/types.d.ts +114 -0
- package/sparkdream/collect/v1/types.js +147 -3
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +186 -0
- package/sparkdream/commons/v1/query.js +318 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +23 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
- package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
- package/sparkdream/commons/v1/recurring_spend.js +301 -0
- package/sparkdream/commons/v1/tx.d.ts +472 -0
- package/sparkdream/commons/v1/tx.js +694 -1
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +29 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
- package/sparkdream/federation/v1/genesis.d.ts +3 -3
- package/sparkdream/federation/v1/genesis.js +9 -9
- package/sparkdream/federation/v1/params.d.ts +64 -13
- package/sparkdream/federation/v1/params.js +29 -54
- package/sparkdream/federation/v1/query.d.ts +209 -100
- package/sparkdream/federation/v1/query.js +216 -71
- package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
- package/sparkdream/federation/v1/query.lcd.js +11 -6
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
- package/sparkdream/federation/v1/tx.amino.js +20 -20
- package/sparkdream/federation/v1/tx.d.ts +479 -352
- package/sparkdream/federation/v1/tx.js +1147 -1106
- package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
- package/sparkdream/federation/v1/tx.registry.js +73 -73
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
- package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
- package/sparkdream/federation/v1/types.d.ts +307 -41
- package/sparkdream/federation/v1/types.js +360 -100
- package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
- package/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/sparkdream/forum/v1/params.d.ts +309 -62
- package/sparkdream/forum/v1/params.js +389 -148
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- package/sparkdream/forum/v1/tx.d.ts +291 -0
- package/sparkdream/forum/v1/tx.js +462 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
- package/sparkdream/forum/v1/tx.registry.js +55 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/v1/types.d.ts +247 -0
- package/sparkdream/forum/v1/types.js +356 -1
- package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
- package/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/sparkdream/guardian/module/v1/module.d.ts +74 -0
- package/sparkdream/guardian/module/v1/module.js +71 -0
- package/sparkdream/guardian/v1/query.d.ts +88 -0
- package/sparkdream/guardian/v1/query.js +131 -0
- package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
- package/sparkdream/guardian/v1/query.lcd.js +17 -0
- package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
- package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
- package/sparkdream/guardian/v1/tx.amino.js +12 -0
- package/sparkdream/guardian/v1/tx.d.ts +138 -0
- package/sparkdream/guardian/v1/tx.js +181 -0
- package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
- package/sparkdream/guardian/v1/tx.registry.js +37 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/identity/module/v1/module.d.ts +54 -0
- package/sparkdream/identity/module/v1/module.js +74 -0
- package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
- package/sparkdream/identity/v1/chain_identity.js +202 -0
- package/sparkdream/identity/v1/genesis.d.ts +65 -0
- package/sparkdream/identity/v1/genesis.js +87 -0
- package/sparkdream/identity/v1/query.d.ts +243 -0
- package/sparkdream/identity/v1/query.js +375 -0
- package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
- package/sparkdream/identity/v1/query.lcd.js +25 -0
- package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
- package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
- package/sparkdream/lcd.d.ts +9 -0
- package/sparkdream/lcd.js +15 -0
- package/sparkdream/name/v1/params.d.ts +25 -8
- package/sparkdream/name/v1/params.js +19 -18
- package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
- package/sparkdream/rep/v1/bonded_role.js +48 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/tag.d.ts +15 -2
- package/sparkdream/rep/v1/tag.js +6 -13
- package/sparkdream/rpc.query.d.ts +34 -2
- package/sparkdream/rpc.query.js +9 -0
- package/sparkdream/rpc.tx.d.ts +6 -0
- package/sparkdream/rpc.tx.js +6 -0
- package/sparkdream/service/module/v1/module.d.ts +54 -0
- package/sparkdream/service/module/v1/module.js +74 -0
- package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
- package/sparkdream/service/v1/controller_transfer_case.js +158 -0
- package/sparkdream/service/v1/genesis.d.ts +172 -0
- package/sparkdream/service/v1/genesis.js +243 -0
- package/sparkdream/service/v1/operator.d.ts +215 -0
- package/sparkdream/service/v1/operator.js +253 -0
- package/sparkdream/service/v1/params.d.ts +346 -0
- package/sparkdream/service/v1/params.js +358 -0
- package/sparkdream/service/v1/query.d.ts +964 -0
- package/sparkdream/service/v1/query.js +1585 -0
- package/sparkdream/service/v1/query.lcd.d.ts +18 -0
- package/sparkdream/service/v1/query.lcd.js +111 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
- package/sparkdream/service/v1/query.rpc.Query.js +114 -0
- package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
- package/sparkdream/service/v1/refile_cooldown.js +124 -0
- package/sparkdream/service/v1/report.d.ts +174 -0
- package/sparkdream/service/v1/report.js +215 -0
- package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
- package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
- package/sparkdream/service/v1/service_type_config.d.ts +222 -0
- package/sparkdream/service/v1/service_type_config.js +269 -0
- package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
- package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
- package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
- package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
- package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
- package/sparkdream/service/v1/tier1_last_slash.js +124 -0
- package/sparkdream/service/v1/tx.amino.d.ts +68 -0
- package/sparkdream/service/v1/tx.amino.js +72 -0
- package/sparkdream/service/v1/tx.d.ts +1264 -0
- package/sparkdream/service/v1/tx.js +2127 -0
- package/sparkdream/service/v1/tx.registry.d.ts +169 -0
- package/sparkdream/service/v1/tx.registry.js +253 -0
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
- package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
- package/sparkdream/service/v1/types.d.ts +94 -0
- package/sparkdream/service/v1/types.js +370 -0
- package/sparkdream/session/v1/genesis.d.ts +93 -9
- package/sparkdream/session/v1/genesis.js +137 -11
- package/sparkdream/session/v1/grant.d.ts +517 -0
- package/sparkdream/session/v1/grant.js +1027 -0
- package/sparkdream/session/v1/params.d.ts +338 -7
- package/sparkdream/session/v1/params.js +543 -19
- package/sparkdream/session/v1/query.d.ts +265 -0
- package/sparkdream/session/v1/query.js +488 -1
- package/sparkdream/session/v1/query.lcd.d.ts +4 -1
- package/sparkdream/session/v1/query.lcd.js +41 -3
- package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
- package/sparkdream/session/v1/query.rpc.Query.js +35 -3
- package/sparkdream/session/v1/session.d.ts +18 -0
- package/sparkdream/session/v1/session.js +6 -0
- package/sparkdream/session/v1/tx.d.ts +660 -0
- package/sparkdream/session/v1/tx.js +1067 -1
- package/sparkdream/session/v1/tx.registry.d.ts +73 -1
- package/sparkdream/session/v1/tx.registry.js +109 -1
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
- package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgCreatePost, MsgUpdatePost, MsgDeletePost, MsgHidePost, MsgUnhidePost, MsgCreateReply, MsgUpdateReply, MsgDeleteReply, MsgHideReply, MsgUnhideReply, MsgReact, MsgRemoveReaction, MsgPinPost, MsgPinReply } from "./tx";
|
|
3
|
+
import { MsgUpdateParams, MsgUpdateOperationalParams, MsgCreatePost, MsgUpdatePost, MsgDeletePost, MsgHidePost, MsgUnhidePost, MsgCreateReply, MsgUpdateReply, MsgDeleteReply, MsgHideReply, MsgUnhideReply, MsgReact, MsgRemoveReaction, MsgMakePostPermanent, MsgMakeReplyPermanent, MsgPinPost, MsgUnpinPost, MsgPinReply, MsgUnpinReply } from "./tx";
|
|
4
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
5
|
export declare const load: (protoRegistry: Registry) => void;
|
|
6
6
|
export declare const MessageComposer: {
|
|
@@ -61,14 +61,30 @@ export declare const MessageComposer: {
|
|
|
61
61
|
typeUrl: string;
|
|
62
62
|
value: Uint8Array<ArrayBufferLike>;
|
|
63
63
|
};
|
|
64
|
+
makePostPermanent(value: MsgMakePostPermanent): {
|
|
65
|
+
typeUrl: string;
|
|
66
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
67
|
+
};
|
|
68
|
+
makeReplyPermanent(value: MsgMakeReplyPermanent): {
|
|
69
|
+
typeUrl: string;
|
|
70
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
71
|
+
};
|
|
64
72
|
pinPost(value: MsgPinPost): {
|
|
65
73
|
typeUrl: string;
|
|
66
74
|
value: Uint8Array<ArrayBufferLike>;
|
|
67
75
|
};
|
|
76
|
+
unpinPost(value: MsgUnpinPost): {
|
|
77
|
+
typeUrl: string;
|
|
78
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
79
|
+
};
|
|
68
80
|
pinReply(value: MsgPinReply): {
|
|
69
81
|
typeUrl: string;
|
|
70
82
|
value: Uint8Array<ArrayBufferLike>;
|
|
71
83
|
};
|
|
84
|
+
unpinReply(value: MsgUnpinReply): {
|
|
85
|
+
typeUrl: string;
|
|
86
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
87
|
+
};
|
|
72
88
|
};
|
|
73
89
|
withTypeUrl: {
|
|
74
90
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -127,14 +143,30 @@ export declare const MessageComposer: {
|
|
|
127
143
|
typeUrl: string;
|
|
128
144
|
value: MsgRemoveReaction;
|
|
129
145
|
};
|
|
146
|
+
makePostPermanent(value: MsgMakePostPermanent): {
|
|
147
|
+
typeUrl: string;
|
|
148
|
+
value: MsgMakePostPermanent;
|
|
149
|
+
};
|
|
150
|
+
makeReplyPermanent(value: MsgMakeReplyPermanent): {
|
|
151
|
+
typeUrl: string;
|
|
152
|
+
value: MsgMakeReplyPermanent;
|
|
153
|
+
};
|
|
130
154
|
pinPost(value: MsgPinPost): {
|
|
131
155
|
typeUrl: string;
|
|
132
156
|
value: MsgPinPost;
|
|
133
157
|
};
|
|
158
|
+
unpinPost(value: MsgUnpinPost): {
|
|
159
|
+
typeUrl: string;
|
|
160
|
+
value: MsgUnpinPost;
|
|
161
|
+
};
|
|
134
162
|
pinReply(value: MsgPinReply): {
|
|
135
163
|
typeUrl: string;
|
|
136
164
|
value: MsgPinReply;
|
|
137
165
|
};
|
|
166
|
+
unpinReply(value: MsgUnpinReply): {
|
|
167
|
+
typeUrl: string;
|
|
168
|
+
value: MsgUnpinReply;
|
|
169
|
+
};
|
|
138
170
|
};
|
|
139
171
|
fromPartial: {
|
|
140
172
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -193,13 +225,29 @@ export declare const MessageComposer: {
|
|
|
193
225
|
typeUrl: string;
|
|
194
226
|
value: MsgRemoveReaction;
|
|
195
227
|
};
|
|
228
|
+
makePostPermanent(value: MsgMakePostPermanent): {
|
|
229
|
+
typeUrl: string;
|
|
230
|
+
value: MsgMakePostPermanent;
|
|
231
|
+
};
|
|
232
|
+
makeReplyPermanent(value: MsgMakeReplyPermanent): {
|
|
233
|
+
typeUrl: string;
|
|
234
|
+
value: MsgMakeReplyPermanent;
|
|
235
|
+
};
|
|
196
236
|
pinPost(value: MsgPinPost): {
|
|
197
237
|
typeUrl: string;
|
|
198
238
|
value: MsgPinPost;
|
|
199
239
|
};
|
|
240
|
+
unpinPost(value: MsgUnpinPost): {
|
|
241
|
+
typeUrl: string;
|
|
242
|
+
value: MsgUnpinPost;
|
|
243
|
+
};
|
|
200
244
|
pinReply(value: MsgPinReply): {
|
|
201
245
|
typeUrl: string;
|
|
202
246
|
value: MsgPinReply;
|
|
203
247
|
};
|
|
248
|
+
unpinReply(value: MsgUnpinReply): {
|
|
249
|
+
typeUrl: string;
|
|
250
|
+
value: MsgUnpinReply;
|
|
251
|
+
};
|
|
204
252
|
};
|
|
205
253
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/sparkdream.blog.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.blog.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.blog.v1.MsgCreatePost", tx_1.MsgCreatePost], ["/sparkdream.blog.v1.MsgUpdatePost", tx_1.MsgUpdatePost], ["/sparkdream.blog.v1.MsgDeletePost", tx_1.MsgDeletePost], ["/sparkdream.blog.v1.MsgHidePost", tx_1.MsgHidePost], ["/sparkdream.blog.v1.MsgUnhidePost", tx_1.MsgUnhidePost], ["/sparkdream.blog.v1.MsgCreateReply", tx_1.MsgCreateReply], ["/sparkdream.blog.v1.MsgUpdateReply", tx_1.MsgUpdateReply], ["/sparkdream.blog.v1.MsgDeleteReply", tx_1.MsgDeleteReply], ["/sparkdream.blog.v1.MsgHideReply", tx_1.MsgHideReply], ["/sparkdream.blog.v1.MsgUnhideReply", tx_1.MsgUnhideReply], ["/sparkdream.blog.v1.MsgReact", tx_1.MsgReact], ["/sparkdream.blog.v1.MsgRemoveReaction", tx_1.MsgRemoveReaction], ["/sparkdream.blog.v1.MsgPinPost", tx_1.MsgPinPost], ["/sparkdream.blog.v1.MsgPinReply", tx_1.MsgPinReply]];
|
|
5
|
+
exports.registry = [["/sparkdream.blog.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.blog.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.blog.v1.MsgCreatePost", tx_1.MsgCreatePost], ["/sparkdream.blog.v1.MsgUpdatePost", tx_1.MsgUpdatePost], ["/sparkdream.blog.v1.MsgDeletePost", tx_1.MsgDeletePost], ["/sparkdream.blog.v1.MsgHidePost", tx_1.MsgHidePost], ["/sparkdream.blog.v1.MsgUnhidePost", tx_1.MsgUnhidePost], ["/sparkdream.blog.v1.MsgCreateReply", tx_1.MsgCreateReply], ["/sparkdream.blog.v1.MsgUpdateReply", tx_1.MsgUpdateReply], ["/sparkdream.blog.v1.MsgDeleteReply", tx_1.MsgDeleteReply], ["/sparkdream.blog.v1.MsgHideReply", tx_1.MsgHideReply], ["/sparkdream.blog.v1.MsgUnhideReply", tx_1.MsgUnhideReply], ["/sparkdream.blog.v1.MsgReact", tx_1.MsgReact], ["/sparkdream.blog.v1.MsgRemoveReaction", tx_1.MsgRemoveReaction], ["/sparkdream.blog.v1.MsgMakePostPermanent", tx_1.MsgMakePostPermanent], ["/sparkdream.blog.v1.MsgMakeReplyPermanent", tx_1.MsgMakeReplyPermanent], ["/sparkdream.blog.v1.MsgPinPost", tx_1.MsgPinPost], ["/sparkdream.blog.v1.MsgUnpinPost", tx_1.MsgUnpinPost], ["/sparkdream.blog.v1.MsgPinReply", tx_1.MsgPinReply], ["/sparkdream.blog.v1.MsgUnpinReply", tx_1.MsgUnpinReply]];
|
|
6
6
|
const load = (protoRegistry) => {
|
|
7
7
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
8
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -95,17 +95,41 @@ exports.MessageComposer = {
|
|
|
95
95
|
value: tx_1.MsgRemoveReaction.encode(value).finish()
|
|
96
96
|
};
|
|
97
97
|
},
|
|
98
|
+
makePostPermanent(value) {
|
|
99
|
+
return {
|
|
100
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakePostPermanent",
|
|
101
|
+
value: tx_1.MsgMakePostPermanent.encode(value).finish()
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
makeReplyPermanent(value) {
|
|
105
|
+
return {
|
|
106
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakeReplyPermanent",
|
|
107
|
+
value: tx_1.MsgMakeReplyPermanent.encode(value).finish()
|
|
108
|
+
};
|
|
109
|
+
},
|
|
98
110
|
pinPost(value) {
|
|
99
111
|
return {
|
|
100
112
|
typeUrl: "/sparkdream.blog.v1.MsgPinPost",
|
|
101
113
|
value: tx_1.MsgPinPost.encode(value).finish()
|
|
102
114
|
};
|
|
103
115
|
},
|
|
116
|
+
unpinPost(value) {
|
|
117
|
+
return {
|
|
118
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinPost",
|
|
119
|
+
value: tx_1.MsgUnpinPost.encode(value).finish()
|
|
120
|
+
};
|
|
121
|
+
},
|
|
104
122
|
pinReply(value) {
|
|
105
123
|
return {
|
|
106
124
|
typeUrl: "/sparkdream.blog.v1.MsgPinReply",
|
|
107
125
|
value: tx_1.MsgPinReply.encode(value).finish()
|
|
108
126
|
};
|
|
127
|
+
},
|
|
128
|
+
unpinReply(value) {
|
|
129
|
+
return {
|
|
130
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinReply",
|
|
131
|
+
value: tx_1.MsgUnpinReply.encode(value).finish()
|
|
132
|
+
};
|
|
109
133
|
}
|
|
110
134
|
},
|
|
111
135
|
withTypeUrl: {
|
|
@@ -193,17 +217,41 @@ exports.MessageComposer = {
|
|
|
193
217
|
value
|
|
194
218
|
};
|
|
195
219
|
},
|
|
220
|
+
makePostPermanent(value) {
|
|
221
|
+
return {
|
|
222
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakePostPermanent",
|
|
223
|
+
value
|
|
224
|
+
};
|
|
225
|
+
},
|
|
226
|
+
makeReplyPermanent(value) {
|
|
227
|
+
return {
|
|
228
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakeReplyPermanent",
|
|
229
|
+
value
|
|
230
|
+
};
|
|
231
|
+
},
|
|
196
232
|
pinPost(value) {
|
|
197
233
|
return {
|
|
198
234
|
typeUrl: "/sparkdream.blog.v1.MsgPinPost",
|
|
199
235
|
value
|
|
200
236
|
};
|
|
201
237
|
},
|
|
238
|
+
unpinPost(value) {
|
|
239
|
+
return {
|
|
240
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinPost",
|
|
241
|
+
value
|
|
242
|
+
};
|
|
243
|
+
},
|
|
202
244
|
pinReply(value) {
|
|
203
245
|
return {
|
|
204
246
|
typeUrl: "/sparkdream.blog.v1.MsgPinReply",
|
|
205
247
|
value
|
|
206
248
|
};
|
|
249
|
+
},
|
|
250
|
+
unpinReply(value) {
|
|
251
|
+
return {
|
|
252
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinReply",
|
|
253
|
+
value
|
|
254
|
+
};
|
|
207
255
|
}
|
|
208
256
|
},
|
|
209
257
|
fromPartial: {
|
|
@@ -291,17 +339,41 @@ exports.MessageComposer = {
|
|
|
291
339
|
value: tx_1.MsgRemoveReaction.fromPartial(value)
|
|
292
340
|
};
|
|
293
341
|
},
|
|
342
|
+
makePostPermanent(value) {
|
|
343
|
+
return {
|
|
344
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakePostPermanent",
|
|
345
|
+
value: tx_1.MsgMakePostPermanent.fromPartial(value)
|
|
346
|
+
};
|
|
347
|
+
},
|
|
348
|
+
makeReplyPermanent(value) {
|
|
349
|
+
return {
|
|
350
|
+
typeUrl: "/sparkdream.blog.v1.MsgMakeReplyPermanent",
|
|
351
|
+
value: tx_1.MsgMakeReplyPermanent.fromPartial(value)
|
|
352
|
+
};
|
|
353
|
+
},
|
|
294
354
|
pinPost(value) {
|
|
295
355
|
return {
|
|
296
356
|
typeUrl: "/sparkdream.blog.v1.MsgPinPost",
|
|
297
357
|
value: tx_1.MsgPinPost.fromPartial(value)
|
|
298
358
|
};
|
|
299
359
|
},
|
|
360
|
+
unpinPost(value) {
|
|
361
|
+
return {
|
|
362
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinPost",
|
|
363
|
+
value: tx_1.MsgUnpinPost.fromPartial(value)
|
|
364
|
+
};
|
|
365
|
+
},
|
|
300
366
|
pinReply(value) {
|
|
301
367
|
return {
|
|
302
368
|
typeUrl: "/sparkdream.blog.v1.MsgPinReply",
|
|
303
369
|
value: tx_1.MsgPinReply.fromPartial(value)
|
|
304
370
|
};
|
|
371
|
+
},
|
|
372
|
+
unpinReply(value) {
|
|
373
|
+
return {
|
|
374
|
+
typeUrl: "/sparkdream.blog.v1.MsgUnpinReply",
|
|
375
|
+
value: tx_1.MsgUnpinReply.fromPartial(value)
|
|
376
|
+
};
|
|
305
377
|
}
|
|
306
378
|
}
|
|
307
379
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgCreatePost, MsgCreatePostResponse, MsgUpdatePost, MsgUpdatePostResponse, MsgDeletePost, MsgDeletePostResponse, MsgHidePost, MsgHidePostResponse, MsgUnhidePost, MsgUnhidePostResponse, MsgCreateReply, MsgCreateReplyResponse, MsgUpdateReply, MsgUpdateReplyResponse, MsgDeleteReply, MsgDeleteReplyResponse, MsgHideReply, MsgHideReplyResponse, MsgUnhideReply, MsgUnhideReplyResponse, MsgReact, MsgReactResponse, MsgRemoveReaction, MsgRemoveReactionResponse, MsgPinPost, MsgPinPostResponse, MsgPinReply, MsgPinReplyResponse } from "./tx";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgUpdateOperationalParams, MsgUpdateOperationalParamsResponse, MsgCreatePost, MsgCreatePostResponse, MsgUpdatePost, MsgUpdatePostResponse, MsgDeletePost, MsgDeletePostResponse, MsgHidePost, MsgHidePostResponse, MsgUnhidePost, MsgUnhidePostResponse, MsgCreateReply, MsgCreateReplyResponse, MsgUpdateReply, MsgUpdateReplyResponse, MsgDeleteReply, MsgDeleteReplyResponse, MsgHideReply, MsgHideReplyResponse, MsgUnhideReply, MsgUnhideReplyResponse, MsgReact, MsgReactResponse, MsgRemoveReaction, MsgRemoveReactionResponse, MsgMakePostPermanent, MsgMakePostPermanentResponse, MsgMakeReplyPermanent, MsgMakeReplyPermanentResponse, MsgPinPost, MsgPinPostResponse, MsgUnpinPost, MsgUnpinPostResponse, MsgPinReply, MsgPinReplyResponse, MsgUnpinReply, MsgUnpinReplyResponse } from "./tx";
|
|
3
3
|
/** Msg defines the Msg service. */
|
|
4
4
|
export interface Msg {
|
|
5
5
|
/**
|
|
@@ -36,10 +36,30 @@ export interface Msg {
|
|
|
36
36
|
react(request: MsgReact): Promise<MsgReactResponse>;
|
|
37
37
|
/** RemoveReaction removes your reaction from a post or reply. */
|
|
38
38
|
removeReaction(request: MsgRemoveReaction): Promise<MsgRemoveReactionResponse>;
|
|
39
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* MakePostPermanent promotes an ephemeral post to permanent by clearing
|
|
41
|
+
* expires_at and removing the expiry-index entry. Idempotent on already-
|
|
42
|
+
* permanent posts. Display markers (pinned_by) are untouched. Gated on
|
|
43
|
+
* params.pin_min_trust_level and shares the per-day pin rate-limit counter.
|
|
44
|
+
*/
|
|
45
|
+
makePostPermanent(request: MsgMakePostPermanent): Promise<MsgMakePostPermanentResponse>;
|
|
46
|
+
/** MakeReplyPermanent mirrors MakePostPermanent for replies. */
|
|
47
|
+
makeReplyPermanent(request: MsgMakeReplyPermanent): Promise<MsgMakeReplyPermanentResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* PinPost sets the pinned marker on a post (curator "feature this"). The
|
|
50
|
+
* post must already be permanent — call MakePostPermanent first to promote
|
|
51
|
+
* ephemeral content. Gated on params.pin_min_trust_level.
|
|
52
|
+
*/
|
|
40
53
|
pinPost(request: MsgPinPost): Promise<MsgPinPostResponse>;
|
|
41
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* UnpinPost clears the pinned marker on a post. The post stays permanent.
|
|
56
|
+
* Gated on the same trust level as Pin.
|
|
57
|
+
*/
|
|
58
|
+
unpinPost(request: MsgUnpinPost): Promise<MsgUnpinPostResponse>;
|
|
59
|
+
/** PinReply mirrors PinPost. Requires the reply to already be permanent. */
|
|
42
60
|
pinReply(request: MsgPinReply): Promise<MsgPinReplyResponse>;
|
|
61
|
+
/** UnpinReply clears the pinned marker on a reply. The reply stays permanent. */
|
|
62
|
+
unpinReply(request: MsgUnpinReply): Promise<MsgUnpinReplyResponse>;
|
|
43
63
|
}
|
|
44
64
|
export declare class MsgClientImpl implements Msg {
|
|
45
65
|
private readonly rpc;
|
|
@@ -58,7 +78,11 @@ export declare class MsgClientImpl implements Msg {
|
|
|
58
78
|
unhideReply: (request: MsgUnhideReply) => Promise<MsgUnhideReplyResponse>;
|
|
59
79
|
react: (request: MsgReact) => Promise<MsgReactResponse>;
|
|
60
80
|
removeReaction: (request: MsgRemoveReaction) => Promise<MsgRemoveReactionResponse>;
|
|
81
|
+
makePostPermanent: (request: MsgMakePostPermanent) => Promise<MsgMakePostPermanentResponse>;
|
|
82
|
+
makeReplyPermanent: (request: MsgMakeReplyPermanent) => Promise<MsgMakeReplyPermanentResponse>;
|
|
61
83
|
pinPost: (request: MsgPinPost) => Promise<MsgPinPostResponse>;
|
|
84
|
+
unpinPost: (request: MsgUnpinPost) => Promise<MsgUnpinPostResponse>;
|
|
62
85
|
pinReply: (request: MsgPinReply) => Promise<MsgPinReplyResponse>;
|
|
86
|
+
unpinReply: (request: MsgUnpinReply) => Promise<MsgUnpinReplyResponse>;
|
|
63
87
|
}
|
|
64
88
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -94,18 +94,48 @@ class MsgClientImpl {
|
|
|
94
94
|
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "RemoveReaction", data);
|
|
95
95
|
return promise.then(data => tx_1.MsgRemoveReactionResponse.decode(new binary_1.BinaryReader(data)));
|
|
96
96
|
};
|
|
97
|
-
/*
|
|
97
|
+
/* MakePostPermanent promotes an ephemeral post to permanent by clearing
|
|
98
|
+
expires_at and removing the expiry-index entry. Idempotent on already-
|
|
99
|
+
permanent posts. Display markers (pinned_by) are untouched. Gated on
|
|
100
|
+
params.pin_min_trust_level and shares the per-day pin rate-limit counter. */
|
|
101
|
+
makePostPermanent = async (request) => {
|
|
102
|
+
const data = tx_1.MsgMakePostPermanent.encode(request).finish();
|
|
103
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "MakePostPermanent", data);
|
|
104
|
+
return promise.then(data => tx_1.MsgMakePostPermanentResponse.decode(new binary_1.BinaryReader(data)));
|
|
105
|
+
};
|
|
106
|
+
/* MakeReplyPermanent mirrors MakePostPermanent for replies. */
|
|
107
|
+
makeReplyPermanent = async (request) => {
|
|
108
|
+
const data = tx_1.MsgMakeReplyPermanent.encode(request).finish();
|
|
109
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "MakeReplyPermanent", data);
|
|
110
|
+
return promise.then(data => tx_1.MsgMakeReplyPermanentResponse.decode(new binary_1.BinaryReader(data)));
|
|
111
|
+
};
|
|
112
|
+
/* PinPost sets the pinned marker on a post (curator "feature this"). The
|
|
113
|
+
post must already be permanent — call MakePostPermanent first to promote
|
|
114
|
+
ephemeral content. Gated on params.pin_min_trust_level. */
|
|
98
115
|
pinPost = async (request) => {
|
|
99
116
|
const data = tx_1.MsgPinPost.encode(request).finish();
|
|
100
117
|
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "PinPost", data);
|
|
101
118
|
return promise.then(data => tx_1.MsgPinPostResponse.decode(new binary_1.BinaryReader(data)));
|
|
102
119
|
};
|
|
103
|
-
/*
|
|
120
|
+
/* UnpinPost clears the pinned marker on a post. The post stays permanent.
|
|
121
|
+
Gated on the same trust level as Pin. */
|
|
122
|
+
unpinPost = async (request) => {
|
|
123
|
+
const data = tx_1.MsgUnpinPost.encode(request).finish();
|
|
124
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "UnpinPost", data);
|
|
125
|
+
return promise.then(data => tx_1.MsgUnpinPostResponse.decode(new binary_1.BinaryReader(data)));
|
|
126
|
+
};
|
|
127
|
+
/* PinReply mirrors PinPost. Requires the reply to already be permanent. */
|
|
104
128
|
pinReply = async (request) => {
|
|
105
129
|
const data = tx_1.MsgPinReply.encode(request).finish();
|
|
106
130
|
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "PinReply", data);
|
|
107
131
|
return promise.then(data => tx_1.MsgPinReplyResponse.decode(new binary_1.BinaryReader(data)));
|
|
108
132
|
};
|
|
133
|
+
/* UnpinReply clears the pinned marker on a reply. The reply stays permanent. */
|
|
134
|
+
unpinReply = async (request) => {
|
|
135
|
+
const data = tx_1.MsgUnpinReply.encode(request).finish();
|
|
136
|
+
const promise = this.rpc.request("sparkdream.blog.v1.Msg", "UnpinReply", data);
|
|
137
|
+
return promise.then(data => tx_1.MsgUnpinReplyResponse.decode(new binary_1.BinaryReader(data)));
|
|
138
|
+
};
|
|
109
139
|
}
|
|
110
140
|
exports.MsgClientImpl = MsgClientImpl;
|
|
111
141
|
const createClientImpl = (rpc) => {
|