@sparkdreamnft/sparkdreamjs 0.0.9 → 0.0.10
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 +25 -1
- package/esm/sparkdream/blog/v1/post.js +16 -1
- package/esm/sparkdream/blog/v1/query.js +165 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/blog/v1/tx.js +32 -2
- package/esm/sparkdream/bundle.js +343 -339
- package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
- package/esm/sparkdream/collect/v1/genesis.js +12 -11
- package/esm/sparkdream/collect/v1/params.js +37 -1
- package/esm/sparkdream/collect/v1/query.js +201 -186
- package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
- package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
- package/esm/sparkdream/collect/v1/tx.js +0 -258
- package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
- package/esm/sparkdream/collect/v1/types.js +50 -143
- package/esm/sparkdream/federation/v1/genesis.js +12 -11
- package/esm/sparkdream/federation/v1/query.js +37 -187
- package/esm/sparkdream/federation/v1/query.lcd.js +6 -16
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +11 -19
- package/esm/sparkdream/federation/v1/tx.amino.js +1 -11
- package/esm/sparkdream/federation/v1/tx.js +0 -270
- package/esm/sparkdream/federation/v1/tx.registry.js +2 -38
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +4 -14
- package/esm/sparkdream/federation/v1/types.js +13 -318
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/params.js +146 -2
- package/esm/sparkdream/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +32 -17
- package/esm/sparkdream/rep/v1/member_report.js +98 -1
- package/esm/sparkdream/rep/v1/query.js +297 -306
- package/esm/sparkdream/rep/v1/query.lcd.js +23 -16
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +36 -35
- package/esm/sparkdream/rep/v1/tx.amino.js +9 -9
- package/esm/sparkdream/rep/v1/tx.js +86 -58
- package/esm/sparkdream/rep/v1/tx.registry.js +18 -18
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -14
- package/esm/sparkdream/season/v1/enums.js +10 -0
- package/esm/tendermint/bundle.js +18 -18
- 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 +16 -0
- package/sparkdream/blog/v1/params.js +25 -1
- package/sparkdream/blog/v1/post.d.ts +8 -0
- package/sparkdream/blog/v1/post.js +16 -1
- package/sparkdream/blog/v1/query.d.ts +92 -0
- package/sparkdream/blog/v1/query.js +166 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
- package/sparkdream/blog/v1/query.lcd.js +11 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
- package/sparkdream/blog/v1/tx.d.ts +16 -0
- package/sparkdream/blog/v1/tx.js +32 -2
- package/sparkdream/bundle.d.ts +14376 -14514
- package/sparkdream/bundle.js +343 -339
- package/sparkdream/client.d.ts +6 -26
- package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
- package/sparkdream/collect/v1/curator_activity.js +161 -0
- package/sparkdream/collect/v1/genesis.d.ts +4 -3
- package/sparkdream/collect/v1/genesis.js +11 -10
- package/sparkdream/collect/v1/params.d.ts +32 -0
- package/sparkdream/collect/v1/params.js +37 -1
- package/sparkdream/collect/v1/query.d.ts +142 -133
- package/sparkdream/collect/v1/query.js +201 -186
- package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
- package/sparkdream/collect/v1/query.lcd.js +16 -16
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
- package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
- package/sparkdream/collect/v1/tx.amino.js +0 -10
- package/sparkdream/collect/v1/tx.d.ts +0 -162
- package/sparkdream/collect/v1/tx.js +2 -260
- package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
- package/sparkdream/collect/v1/tx.registry.js +1 -37
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
- package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
- package/sparkdream/collect/v1/types.d.ts +26 -56
- package/sparkdream/collect/v1/types.js +51 -144
- package/sparkdream/federation/v1/genesis.d.ts +4 -3
- package/sparkdream/federation/v1/genesis.js +11 -10
- package/sparkdream/federation/v1/query.d.ts +53 -136
- package/sparkdream/federation/v1/query.js +37 -187
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -3
- package/sparkdream/federation/v1/query.lcd.js +6 -16
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +10 -18
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -11
- package/sparkdream/federation/v1/tx.amino.js +0 -10
- package/sparkdream/federation/v1/tx.d.ts +0 -164
- package/sparkdream/federation/v1/tx.js +1 -272
- package/sparkdream/federation/v1/tx.registry.d.ts +1 -25
- package/sparkdream/federation/v1/tx.registry.js +1 -37
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +6 -5
- package/sparkdream/federation/v1/tx.rpc.msg.js +3 -13
- package/sparkdream/federation/v1/types.d.ts +10 -106
- package/sparkdream/federation/v1/types.js +14 -321
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- package/sparkdream/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
- package/sparkdream/rep/v1/bonded_role.js +453 -0
- package/sparkdream/rep/v1/genesis.d.ts +11 -9
- package/sparkdream/rep/v1/genesis.js +32 -17
- package/sparkdream/rep/v1/member_report.d.ts +61 -0
- package/sparkdream/rep/v1/member_report.js +99 -2
- package/sparkdream/rep/v1/query.d.ts +259 -261
- package/sparkdream/rep/v1/query.js +299 -308
- package/sparkdream/rep/v1/query.lcd.d.ts +5 -5
- package/sparkdream/rep/v1/query.lcd.js +23 -16
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +20 -17
- package/sparkdream/rep/v1/query.rpc.Query.js +35 -34
- package/sparkdream/rep/v1/tx.amino.d.ts +7 -7
- package/sparkdream/rep/v1/tx.amino.js +9 -9
- package/sparkdream/rep/v1/tx.d.ts +121 -104
- package/sparkdream/rep/v1/tx.js +87 -59
- package/sparkdream/rep/v1/tx.registry.d.ts +11 -11
- package/sparkdream/rep/v1/tx.registry.js +17 -17
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +11 -9
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -13
- package/sparkdream/rpc.query.d.ts +8 -8
- package/sparkdream/season/v1/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
- package/esm/sparkdream/rep/v1/sentinel_activity.js +0 -214
- package/sparkdream/rep/v1/sentinel_activity.d.ts +0 -79
- package/sparkdream/rep/v1/sentinel_activity.js +0 -219
package/ibc/bundle.js
CHANGED
|
@@ -88,59 +88,59 @@ const _171 = __importStar(require("./lightclients/wasm/v1/genesis"));
|
|
|
88
88
|
const _172 = __importStar(require("./lightclients/wasm/v1/query"));
|
|
89
89
|
const _173 = __importStar(require("./lightclients/wasm/v1/tx"));
|
|
90
90
|
const _174 = __importStar(require("./lightclients/wasm/v1/wasm"));
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
const
|
|
97
|
-
const
|
|
98
|
-
const
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
const
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
const
|
|
114
|
-
const
|
|
115
|
-
const
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
const
|
|
119
|
-
const
|
|
120
|
-
const
|
|
121
|
-
const
|
|
122
|
-
const
|
|
123
|
-
const
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
const
|
|
127
|
-
const
|
|
128
|
-
const
|
|
129
|
-
const
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
const
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
-
const
|
|
143
|
-
const
|
|
91
|
+
const _428 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.amino"));
|
|
92
|
+
const _429 = __importStar(require("./applications/interchain_accounts/host/v1/tx.amino"));
|
|
93
|
+
const _430 = __importStar(require("./applications/rate_limiting/v1/tx.amino"));
|
|
94
|
+
const _431 = __importStar(require("./applications/transfer/v1/tx.amino"));
|
|
95
|
+
const _432 = __importStar(require("./core/channel/v1/tx.amino"));
|
|
96
|
+
const _433 = __importStar(require("./core/channel/v2/tx.amino"));
|
|
97
|
+
const _434 = __importStar(require("./core/client/v1/tx.amino"));
|
|
98
|
+
const _435 = __importStar(require("./core/client/v2/tx.amino"));
|
|
99
|
+
const _436 = __importStar(require("./core/connection/v1/tx.amino"));
|
|
100
|
+
const _437 = __importStar(require("./lightclients/wasm/v1/tx.amino"));
|
|
101
|
+
const _438 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.registry"));
|
|
102
|
+
const _439 = __importStar(require("./applications/interchain_accounts/host/v1/tx.registry"));
|
|
103
|
+
const _440 = __importStar(require("./applications/rate_limiting/v1/tx.registry"));
|
|
104
|
+
const _441 = __importStar(require("./applications/transfer/v1/tx.registry"));
|
|
105
|
+
const _442 = __importStar(require("./core/channel/v1/tx.registry"));
|
|
106
|
+
const _443 = __importStar(require("./core/channel/v2/tx.registry"));
|
|
107
|
+
const _444 = __importStar(require("./core/client/v1/tx.registry"));
|
|
108
|
+
const _445 = __importStar(require("./core/client/v2/tx.registry"));
|
|
109
|
+
const _446 = __importStar(require("./core/connection/v1/tx.registry"));
|
|
110
|
+
const _447 = __importStar(require("./lightclients/wasm/v1/tx.registry"));
|
|
111
|
+
const _448 = __importStar(require("./applications/interchain_accounts/controller/v1/query.lcd"));
|
|
112
|
+
const _449 = __importStar(require("./applications/interchain_accounts/host/v1/query.lcd"));
|
|
113
|
+
const _450 = __importStar(require("./applications/rate_limiting/v1/query.lcd"));
|
|
114
|
+
const _451 = __importStar(require("./applications/transfer/v1/query.lcd"));
|
|
115
|
+
const _452 = __importStar(require("./core/channel/v1/query.lcd"));
|
|
116
|
+
const _453 = __importStar(require("./core/channel/v2/query.lcd"));
|
|
117
|
+
const _454 = __importStar(require("./core/client/v1/query.lcd"));
|
|
118
|
+
const _455 = __importStar(require("./core/client/v2/query.lcd"));
|
|
119
|
+
const _456 = __importStar(require("./core/connection/v1/query.lcd"));
|
|
120
|
+
const _457 = __importStar(require("./lightclients/wasm/v1/query.lcd"));
|
|
121
|
+
const _458 = __importStar(require("./applications/interchain_accounts/controller/v1/query.rpc.Query"));
|
|
122
|
+
const _459 = __importStar(require("./applications/interchain_accounts/host/v1/query.rpc.Query"));
|
|
123
|
+
const _460 = __importStar(require("./applications/rate_limiting/v1/query.rpc.Query"));
|
|
124
|
+
const _461 = __importStar(require("./applications/transfer/v1/query.rpc.Query"));
|
|
125
|
+
const _462 = __importStar(require("./core/channel/v1/query.rpc.Query"));
|
|
126
|
+
const _463 = __importStar(require("./core/channel/v2/query.rpc.Query"));
|
|
127
|
+
const _464 = __importStar(require("./core/client/v1/query.rpc.Query"));
|
|
128
|
+
const _465 = __importStar(require("./core/client/v2/query.rpc.Query"));
|
|
129
|
+
const _466 = __importStar(require("./core/connection/v1/query.rpc.Query"));
|
|
130
|
+
const _467 = __importStar(require("./lightclients/wasm/v1/query.rpc.Query"));
|
|
131
|
+
const _468 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.rpc.msg"));
|
|
132
|
+
const _469 = __importStar(require("./applications/interchain_accounts/host/v1/tx.rpc.msg"));
|
|
133
|
+
const _470 = __importStar(require("./applications/rate_limiting/v1/tx.rpc.msg"));
|
|
134
|
+
const _471 = __importStar(require("./applications/transfer/v1/tx.rpc.msg"));
|
|
135
|
+
const _472 = __importStar(require("./core/channel/v1/tx.rpc.msg"));
|
|
136
|
+
const _473 = __importStar(require("./core/channel/v2/tx.rpc.msg"));
|
|
137
|
+
const _474 = __importStar(require("./core/client/v1/tx.rpc.msg"));
|
|
138
|
+
const _475 = __importStar(require("./core/client/v2/tx.rpc.msg"));
|
|
139
|
+
const _476 = __importStar(require("./core/connection/v1/tx.rpc.msg"));
|
|
140
|
+
const _477 = __importStar(require("./lightclients/wasm/v1/tx.rpc.msg"));
|
|
141
|
+
const _556 = __importStar(require("./lcd"));
|
|
142
|
+
const _557 = __importStar(require("./rpc.query"));
|
|
143
|
+
const _558 = __importStar(require("./rpc.tx"));
|
|
144
144
|
var ibc;
|
|
145
145
|
(function (ibc) {
|
|
146
146
|
let applications;
|
|
@@ -153,11 +153,11 @@ var ibc;
|
|
|
153
153
|
..._122,
|
|
154
154
|
..._123,
|
|
155
155
|
..._124,
|
|
156
|
-
...
|
|
157
|
-
...
|
|
158
|
-
...
|
|
159
|
-
...
|
|
160
|
-
...
|
|
156
|
+
..._428,
|
|
157
|
+
..._438,
|
|
158
|
+
..._448,
|
|
159
|
+
..._458,
|
|
160
|
+
..._468
|
|
161
161
|
};
|
|
162
162
|
})(controller = interchain_accounts.controller || (interchain_accounts.controller = {}));
|
|
163
163
|
let genesis;
|
|
@@ -172,11 +172,11 @@ var ibc;
|
|
|
172
172
|
..._126,
|
|
173
173
|
..._127,
|
|
174
174
|
..._128,
|
|
175
|
-
...
|
|
176
|
-
...
|
|
177
|
-
...
|
|
178
|
-
...
|
|
179
|
-
...
|
|
175
|
+
..._429,
|
|
176
|
+
..._439,
|
|
177
|
+
..._449,
|
|
178
|
+
..._459,
|
|
179
|
+
..._469
|
|
180
180
|
};
|
|
181
181
|
})(host = interchain_accounts.host || (interchain_accounts.host = {}));
|
|
182
182
|
interchain_accounts.v1 = {
|
|
@@ -198,11 +198,11 @@ var ibc;
|
|
|
198
198
|
..._134,
|
|
199
199
|
..._135,
|
|
200
200
|
..._136,
|
|
201
|
-
...
|
|
202
|
-
...
|
|
203
|
-
...
|
|
204
|
-
...
|
|
205
|
-
...
|
|
201
|
+
..._430,
|
|
202
|
+
..._440,
|
|
203
|
+
..._450,
|
|
204
|
+
..._460,
|
|
205
|
+
..._470
|
|
206
206
|
};
|
|
207
207
|
})(rate_limiting = applications.rate_limiting || (applications.rate_limiting = {}));
|
|
208
208
|
let transfer;
|
|
@@ -216,11 +216,11 @@ var ibc;
|
|
|
216
216
|
..._142,
|
|
217
217
|
..._143,
|
|
218
218
|
..._144,
|
|
219
|
-
...
|
|
220
|
-
...
|
|
221
|
-
...
|
|
222
|
-
...
|
|
223
|
-
...
|
|
219
|
+
..._431,
|
|
220
|
+
..._441,
|
|
221
|
+
..._451,
|
|
222
|
+
..._461,
|
|
223
|
+
..._471
|
|
224
224
|
};
|
|
225
225
|
})(transfer = applications.transfer || (applications.transfer = {}));
|
|
226
226
|
})(applications = ibc.applications || (ibc.applications = {}));
|
|
@@ -233,22 +233,22 @@ var ibc;
|
|
|
233
233
|
..._146,
|
|
234
234
|
..._147,
|
|
235
235
|
..._148,
|
|
236
|
-
...
|
|
237
|
-
...
|
|
238
|
-
...
|
|
239
|
-
...
|
|
240
|
-
...
|
|
236
|
+
..._432,
|
|
237
|
+
..._442,
|
|
238
|
+
..._452,
|
|
239
|
+
..._462,
|
|
240
|
+
..._472
|
|
241
241
|
};
|
|
242
242
|
channel.v2 = {
|
|
243
243
|
..._149,
|
|
244
244
|
..._150,
|
|
245
245
|
..._151,
|
|
246
246
|
..._152,
|
|
247
|
-
...
|
|
248
|
-
...
|
|
249
|
-
...
|
|
250
|
-
...
|
|
251
|
-
...
|
|
247
|
+
..._433,
|
|
248
|
+
..._443,
|
|
249
|
+
..._453,
|
|
250
|
+
..._463,
|
|
251
|
+
..._473
|
|
252
252
|
};
|
|
253
253
|
})(channel = core.channel || (core.channel = {}));
|
|
254
254
|
let client;
|
|
@@ -258,11 +258,11 @@ var ibc;
|
|
|
258
258
|
..._154,
|
|
259
259
|
..._155,
|
|
260
260
|
..._156,
|
|
261
|
-
...
|
|
262
|
-
...
|
|
263
|
-
...
|
|
264
|
-
...
|
|
265
|
-
...
|
|
261
|
+
..._434,
|
|
262
|
+
..._444,
|
|
263
|
+
..._454,
|
|
264
|
+
..._464,
|
|
265
|
+
..._474
|
|
266
266
|
};
|
|
267
267
|
client.v2 = {
|
|
268
268
|
..._157,
|
|
@@ -270,11 +270,11 @@ var ibc;
|
|
|
270
270
|
..._159,
|
|
271
271
|
..._160,
|
|
272
272
|
..._161,
|
|
273
|
-
...
|
|
274
|
-
...
|
|
275
|
-
...
|
|
276
|
-
...
|
|
277
|
-
...
|
|
273
|
+
..._435,
|
|
274
|
+
..._445,
|
|
275
|
+
..._455,
|
|
276
|
+
..._465,
|
|
277
|
+
..._475
|
|
278
278
|
};
|
|
279
279
|
})(client = core.client || (core.client = {}));
|
|
280
280
|
let commitment;
|
|
@@ -293,11 +293,11 @@ var ibc;
|
|
|
293
293
|
..._165,
|
|
294
294
|
..._166,
|
|
295
295
|
..._167,
|
|
296
|
-
...
|
|
297
|
-
...
|
|
298
|
-
...
|
|
299
|
-
...
|
|
300
|
-
...
|
|
296
|
+
..._436,
|
|
297
|
+
..._446,
|
|
298
|
+
..._456,
|
|
299
|
+
..._466,
|
|
300
|
+
..._476
|
|
301
301
|
};
|
|
302
302
|
})(connection = core.connection || (core.connection = {}));
|
|
303
303
|
})(core = ibc.core || (ibc.core = {}));
|
|
@@ -325,17 +325,17 @@ var ibc;
|
|
|
325
325
|
..._172,
|
|
326
326
|
..._173,
|
|
327
327
|
..._174,
|
|
328
|
-
...
|
|
329
|
-
...
|
|
330
|
-
...
|
|
331
|
-
...
|
|
332
|
-
...
|
|
328
|
+
..._437,
|
|
329
|
+
..._447,
|
|
330
|
+
..._457,
|
|
331
|
+
..._467,
|
|
332
|
+
..._477
|
|
333
333
|
};
|
|
334
334
|
})(wasm = lightclients.wasm || (lightclients.wasm = {}));
|
|
335
335
|
})(lightclients = ibc.lightclients || (ibc.lightclients = {}));
|
|
336
336
|
ibc.ClientFactory = {
|
|
337
|
-
...
|
|
338
|
-
...
|
|
339
|
-
...
|
|
337
|
+
..._556,
|
|
338
|
+
..._557,
|
|
339
|
+
..._558
|
|
340
340
|
};
|
|
341
341
|
})(ibc || (exports.ibc = ibc = {}));
|
package/package.json
CHANGED
|
@@ -84,6 +84,14 @@ export interface Params {
|
|
|
84
84
|
* Duration in seconds to extend TTL by when conviction-renewed (default: 604800 = 7 days)
|
|
85
85
|
*/
|
|
86
86
|
convictionRenewalPeriod: bigint;
|
|
87
|
+
/**
|
|
88
|
+
* Maximum number of tags that may be attached to a post (default: 5)
|
|
89
|
+
*/
|
|
90
|
+
maxTagsPerPost: number;
|
|
91
|
+
/**
|
|
92
|
+
* Maximum length in bytes of any single tag name (default: 32)
|
|
93
|
+
*/
|
|
94
|
+
maxTagLength: number;
|
|
87
95
|
}
|
|
88
96
|
export interface ParamsProtoMsg {
|
|
89
97
|
typeUrl: "/sparkdream.blog.v1.Params";
|
|
@@ -172,6 +180,14 @@ export interface ParamsAmino {
|
|
|
172
180
|
* Duration in seconds to extend TTL by when conviction-renewed (default: 604800 = 7 days)
|
|
173
181
|
*/
|
|
174
182
|
conviction_renewal_period?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Maximum number of tags that may be attached to a post (default: 5)
|
|
185
|
+
*/
|
|
186
|
+
max_tags_per_post?: number;
|
|
187
|
+
/**
|
|
188
|
+
* Maximum length in bytes of any single tag name (default: 32)
|
|
189
|
+
*/
|
|
190
|
+
max_tag_length?: number;
|
|
175
191
|
}
|
|
176
192
|
export interface ParamsAminoMsg {
|
|
177
193
|
type: "sparkdream/x/blog/Params";
|
|
@@ -25,7 +25,9 @@ function createBaseParams() {
|
|
|
25
25
|
maxCostPerByte: coin_1.Coin.fromPartial({}),
|
|
26
26
|
maxReactionFee: coin_1.Coin.fromPartial({}),
|
|
27
27
|
convictionRenewalThreshold: "",
|
|
28
|
-
convictionRenewalPeriod: BigInt(0)
|
|
28
|
+
convictionRenewalPeriod: BigInt(0),
|
|
29
|
+
maxTagsPerPost: 0,
|
|
30
|
+
maxTagLength: 0
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
/**
|
|
@@ -95,6 +97,12 @@ exports.Params = {
|
|
|
95
97
|
if (message.convictionRenewalPeriod !== BigInt(0)) {
|
|
96
98
|
writer.uint32(192).int64(message.convictionRenewalPeriod);
|
|
97
99
|
}
|
|
100
|
+
if (message.maxTagsPerPost !== 0) {
|
|
101
|
+
writer.uint32(200).uint32(message.maxTagsPerPost);
|
|
102
|
+
}
|
|
103
|
+
if (message.maxTagLength !== 0) {
|
|
104
|
+
writer.uint32(208).uint32(message.maxTagLength);
|
|
105
|
+
}
|
|
98
106
|
return writer;
|
|
99
107
|
},
|
|
100
108
|
decode(input, length) {
|
|
@@ -161,6 +169,12 @@ exports.Params = {
|
|
|
161
169
|
case 24:
|
|
162
170
|
message.convictionRenewalPeriod = reader.int64();
|
|
163
171
|
break;
|
|
172
|
+
case 25:
|
|
173
|
+
message.maxTagsPerPost = reader.uint32();
|
|
174
|
+
break;
|
|
175
|
+
case 26:
|
|
176
|
+
message.maxTagLength = reader.uint32();
|
|
177
|
+
break;
|
|
164
178
|
default:
|
|
165
179
|
reader.skipType(tag & 7);
|
|
166
180
|
break;
|
|
@@ -189,6 +203,8 @@ exports.Params = {
|
|
|
189
203
|
message.maxReactionFee = object.maxReactionFee !== undefined && object.maxReactionFee !== null ? coin_1.Coin.fromPartial(object.maxReactionFee) : undefined;
|
|
190
204
|
message.convictionRenewalThreshold = object.convictionRenewalThreshold ?? "";
|
|
191
205
|
message.convictionRenewalPeriod = object.convictionRenewalPeriod !== undefined && object.convictionRenewalPeriod !== null ? BigInt(object.convictionRenewalPeriod.toString()) : BigInt(0);
|
|
206
|
+
message.maxTagsPerPost = object.maxTagsPerPost ?? 0;
|
|
207
|
+
message.maxTagLength = object.maxTagLength ?? 0;
|
|
192
208
|
return message;
|
|
193
209
|
},
|
|
194
210
|
fromAmino(object) {
|
|
@@ -250,6 +266,12 @@ exports.Params = {
|
|
|
250
266
|
if (object.conviction_renewal_period !== undefined && object.conviction_renewal_period !== null) {
|
|
251
267
|
message.convictionRenewalPeriod = BigInt(object.conviction_renewal_period);
|
|
252
268
|
}
|
|
269
|
+
if (object.max_tags_per_post !== undefined && object.max_tags_per_post !== null) {
|
|
270
|
+
message.maxTagsPerPost = object.max_tags_per_post;
|
|
271
|
+
}
|
|
272
|
+
if (object.max_tag_length !== undefined && object.max_tag_length !== null) {
|
|
273
|
+
message.maxTagLength = object.max_tag_length;
|
|
274
|
+
}
|
|
253
275
|
return message;
|
|
254
276
|
},
|
|
255
277
|
toAmino(message) {
|
|
@@ -273,6 +295,8 @@ exports.Params = {
|
|
|
273
295
|
obj.max_reaction_fee = message.maxReactionFee ? coin_1.Coin.toAmino(message.maxReactionFee) : undefined;
|
|
274
296
|
obj.conviction_renewal_threshold = message.convictionRenewalThreshold === "" ? undefined : message.convictionRenewalThreshold;
|
|
275
297
|
obj.conviction_renewal_period = message.convictionRenewalPeriod !== BigInt(0) ? message.convictionRenewalPeriod?.toString() : undefined;
|
|
298
|
+
obj.max_tags_per_post = message.maxTagsPerPost === 0 ? undefined : message.maxTagsPerPost;
|
|
299
|
+
obj.max_tag_length = message.maxTagLength === 0 ? undefined : message.maxTagLength;
|
|
276
300
|
return obj;
|
|
277
301
|
},
|
|
278
302
|
fromAminoMsg(object) {
|
|
@@ -93,6 +93,10 @@ export interface Post {
|
|
|
93
93
|
* True if anonymous content has entered conviction-sustained state (TTL extended by community conviction)
|
|
94
94
|
*/
|
|
95
95
|
convictionSustained: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Tags referenced against the shared x/rep tag registry
|
|
98
|
+
*/
|
|
99
|
+
tags: string[];
|
|
96
100
|
}
|
|
97
101
|
export interface PostProtoMsg {
|
|
98
102
|
typeUrl: "/sparkdream.blog.v1.Post";
|
|
@@ -189,6 +193,10 @@ export interface PostAmino {
|
|
|
189
193
|
* True if anonymous content has entered conviction-sustained state (TTL extended by community conviction)
|
|
190
194
|
*/
|
|
191
195
|
conviction_sustained?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Tags referenced against the shared x/rep tag registry
|
|
198
|
+
*/
|
|
199
|
+
tags?: string[];
|
|
192
200
|
}
|
|
193
201
|
export interface PostAminoMsg {
|
|
194
202
|
type: "/sparkdream.blog.v1.Post";
|
|
@@ -24,7 +24,8 @@ function createBasePost() {
|
|
|
24
24
|
edited: false,
|
|
25
25
|
editedAt: BigInt(0),
|
|
26
26
|
initiativeId: BigInt(0),
|
|
27
|
-
convictionSustained: false
|
|
27
|
+
convictionSustained: false,
|
|
28
|
+
tags: []
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
@@ -99,6 +100,9 @@ exports.Post = {
|
|
|
99
100
|
if (message.convictionSustained === true) {
|
|
100
101
|
writer.uint32(168).bool(message.convictionSustained);
|
|
101
102
|
}
|
|
103
|
+
for (const v of message.tags) {
|
|
104
|
+
writer.uint32(178).string(v);
|
|
105
|
+
}
|
|
102
106
|
return writer;
|
|
103
107
|
},
|
|
104
108
|
decode(input, length) {
|
|
@@ -171,6 +175,9 @@ exports.Post = {
|
|
|
171
175
|
case 21:
|
|
172
176
|
message.convictionSustained = reader.bool();
|
|
173
177
|
break;
|
|
178
|
+
case 22:
|
|
179
|
+
message.tags.push(reader.string());
|
|
180
|
+
break;
|
|
174
181
|
default:
|
|
175
182
|
reader.skipType(tag & 7);
|
|
176
183
|
break;
|
|
@@ -201,6 +208,7 @@ exports.Post = {
|
|
|
201
208
|
message.editedAt = object.editedAt !== undefined && object.editedAt !== null ? BigInt(object.editedAt.toString()) : BigInt(0);
|
|
202
209
|
message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
|
|
203
210
|
message.convictionSustained = object.convictionSustained ?? false;
|
|
211
|
+
message.tags = object.tags?.map(e => e) || [];
|
|
204
212
|
return message;
|
|
205
213
|
},
|
|
206
214
|
fromAmino(object) {
|
|
@@ -268,6 +276,7 @@ exports.Post = {
|
|
|
268
276
|
if (object.conviction_sustained !== undefined && object.conviction_sustained !== null) {
|
|
269
277
|
message.convictionSustained = object.conviction_sustained;
|
|
270
278
|
}
|
|
279
|
+
message.tags = object.tags?.map(e => e) || [];
|
|
271
280
|
return message;
|
|
272
281
|
},
|
|
273
282
|
toAmino(message) {
|
|
@@ -293,6 +302,12 @@ exports.Post = {
|
|
|
293
302
|
obj.edited_at = message.editedAt !== BigInt(0) ? message.editedAt?.toString() : undefined;
|
|
294
303
|
obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
|
|
295
304
|
obj.conviction_sustained = message.convictionSustained === false ? undefined : message.convictionSustained;
|
|
305
|
+
if (message.tags) {
|
|
306
|
+
obj.tags = message.tags.map(e => e);
|
|
307
|
+
}
|
|
308
|
+
else {
|
|
309
|
+
obj.tags = message.tags;
|
|
310
|
+
}
|
|
296
311
|
return obj;
|
|
297
312
|
},
|
|
298
313
|
fromAminoMsg(object) {
|
|
@@ -628,6 +628,62 @@ export interface QueryListExpiringContentResponseAminoMsg {
|
|
|
628
628
|
type: "/sparkdream.blog.v1.QueryListExpiringContentResponse";
|
|
629
629
|
value: QueryListExpiringContentResponseAmino;
|
|
630
630
|
}
|
|
631
|
+
/**
|
|
632
|
+
* QueryListPostsByTagRequest defines the QueryListPostsByTagRequest message.
|
|
633
|
+
* @name QueryListPostsByTagRequest
|
|
634
|
+
* @package sparkdream.blog.v1
|
|
635
|
+
* @see proto type: sparkdream.blog.v1.QueryListPostsByTagRequest
|
|
636
|
+
*/
|
|
637
|
+
export interface QueryListPostsByTagRequest {
|
|
638
|
+
tag: string;
|
|
639
|
+
pagination?: PageRequest;
|
|
640
|
+
}
|
|
641
|
+
export interface QueryListPostsByTagRequestProtoMsg {
|
|
642
|
+
typeUrl: "/sparkdream.blog.v1.QueryListPostsByTagRequest";
|
|
643
|
+
value: Uint8Array;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* QueryListPostsByTagRequest defines the QueryListPostsByTagRequest message.
|
|
647
|
+
* @name QueryListPostsByTagRequestAmino
|
|
648
|
+
* @package sparkdream.blog.v1
|
|
649
|
+
* @see proto type: sparkdream.blog.v1.QueryListPostsByTagRequest
|
|
650
|
+
*/
|
|
651
|
+
export interface QueryListPostsByTagRequestAmino {
|
|
652
|
+
tag?: string;
|
|
653
|
+
pagination?: PageRequestAmino;
|
|
654
|
+
}
|
|
655
|
+
export interface QueryListPostsByTagRequestAminoMsg {
|
|
656
|
+
type: "/sparkdream.blog.v1.QueryListPostsByTagRequest";
|
|
657
|
+
value: QueryListPostsByTagRequestAmino;
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* QueryListPostsByTagResponse defines the QueryListPostsByTagResponse message.
|
|
661
|
+
* @name QueryListPostsByTagResponse
|
|
662
|
+
* @package sparkdream.blog.v1
|
|
663
|
+
* @see proto type: sparkdream.blog.v1.QueryListPostsByTagResponse
|
|
664
|
+
*/
|
|
665
|
+
export interface QueryListPostsByTagResponse {
|
|
666
|
+
posts: Post[];
|
|
667
|
+
pagination?: PageResponse;
|
|
668
|
+
}
|
|
669
|
+
export interface QueryListPostsByTagResponseProtoMsg {
|
|
670
|
+
typeUrl: "/sparkdream.blog.v1.QueryListPostsByTagResponse";
|
|
671
|
+
value: Uint8Array;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* QueryListPostsByTagResponse defines the QueryListPostsByTagResponse message.
|
|
675
|
+
* @name QueryListPostsByTagResponseAmino
|
|
676
|
+
* @package sparkdream.blog.v1
|
|
677
|
+
* @see proto type: sparkdream.blog.v1.QueryListPostsByTagResponse
|
|
678
|
+
*/
|
|
679
|
+
export interface QueryListPostsByTagResponseAmino {
|
|
680
|
+
posts?: PostAmino[];
|
|
681
|
+
pagination?: PageResponseAmino;
|
|
682
|
+
}
|
|
683
|
+
export interface QueryListPostsByTagResponseAminoMsg {
|
|
684
|
+
type: "/sparkdream.blog.v1.QueryListPostsByTagResponse";
|
|
685
|
+
value: QueryListPostsByTagResponseAmino;
|
|
686
|
+
}
|
|
631
687
|
/**
|
|
632
688
|
* QueryParamsRequest is request type for the Query/Params RPC method.
|
|
633
689
|
* @name QueryParamsRequest
|
|
@@ -1024,3 +1080,39 @@ export declare const QueryListExpiringContentResponse: {
|
|
|
1024
1080
|
toProto(message: QueryListExpiringContentResponse): Uint8Array;
|
|
1025
1081
|
toProtoMsg(message: QueryListExpiringContentResponse): QueryListExpiringContentResponseProtoMsg;
|
|
1026
1082
|
};
|
|
1083
|
+
/**
|
|
1084
|
+
* QueryListPostsByTagRequest defines the QueryListPostsByTagRequest message.
|
|
1085
|
+
* @name QueryListPostsByTagRequest
|
|
1086
|
+
* @package sparkdream.blog.v1
|
|
1087
|
+
* @see proto type: sparkdream.blog.v1.QueryListPostsByTagRequest
|
|
1088
|
+
*/
|
|
1089
|
+
export declare const QueryListPostsByTagRequest: {
|
|
1090
|
+
typeUrl: string;
|
|
1091
|
+
encode(message: QueryListPostsByTagRequest, writer?: BinaryWriter): BinaryWriter;
|
|
1092
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryListPostsByTagRequest;
|
|
1093
|
+
fromPartial(object: DeepPartial<QueryListPostsByTagRequest>): QueryListPostsByTagRequest;
|
|
1094
|
+
fromAmino(object: QueryListPostsByTagRequestAmino): QueryListPostsByTagRequest;
|
|
1095
|
+
toAmino(message: QueryListPostsByTagRequest): QueryListPostsByTagRequestAmino;
|
|
1096
|
+
fromAminoMsg(object: QueryListPostsByTagRequestAminoMsg): QueryListPostsByTagRequest;
|
|
1097
|
+
fromProtoMsg(message: QueryListPostsByTagRequestProtoMsg): QueryListPostsByTagRequest;
|
|
1098
|
+
toProto(message: QueryListPostsByTagRequest): Uint8Array;
|
|
1099
|
+
toProtoMsg(message: QueryListPostsByTagRequest): QueryListPostsByTagRequestProtoMsg;
|
|
1100
|
+
};
|
|
1101
|
+
/**
|
|
1102
|
+
* QueryListPostsByTagResponse defines the QueryListPostsByTagResponse message.
|
|
1103
|
+
* @name QueryListPostsByTagResponse
|
|
1104
|
+
* @package sparkdream.blog.v1
|
|
1105
|
+
* @see proto type: sparkdream.blog.v1.QueryListPostsByTagResponse
|
|
1106
|
+
*/
|
|
1107
|
+
export declare const QueryListPostsByTagResponse: {
|
|
1108
|
+
typeUrl: string;
|
|
1109
|
+
encode(message: QueryListPostsByTagResponse, writer?: BinaryWriter): BinaryWriter;
|
|
1110
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryListPostsByTagResponse;
|
|
1111
|
+
fromPartial(object: DeepPartial<QueryListPostsByTagResponse>): QueryListPostsByTagResponse;
|
|
1112
|
+
fromAmino(object: QueryListPostsByTagResponseAmino): QueryListPostsByTagResponse;
|
|
1113
|
+
toAmino(message: QueryListPostsByTagResponse): QueryListPostsByTagResponseAmino;
|
|
1114
|
+
fromAminoMsg(object: QueryListPostsByTagResponseAminoMsg): QueryListPostsByTagResponse;
|
|
1115
|
+
fromProtoMsg(message: QueryListPostsByTagResponseProtoMsg): QueryListPostsByTagResponse;
|
|
1116
|
+
toProto(message: QueryListPostsByTagResponse): Uint8Array;
|
|
1117
|
+
toProtoMsg(message: QueryListPostsByTagResponse): QueryListPostsByTagResponseProtoMsg;
|
|
1118
|
+
};
|