@sparkdreamnft/sparkdreamjs 0.0.4 → 0.0.6
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/auth/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/auth/v1beta1/tx.registry.js +33 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/authz/v1beta1/tx.registry.js +69 -1
- package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/bank/v1beta1/tx.registry.js +87 -1
- package/cosmos/benchmark/v1/tx.registry.d.ts +23 -0
- package/cosmos/benchmark/v1/tx.registry.js +33 -1
- package/cosmos/bundle.d.ts +1138 -181
- package/cosmos/bundle.js +184 -184
- package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
- package/cosmos/circuit/v1/tx.registry.js +69 -1
- package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
- package/cosmos/consensus/v1/tx.registry.js +33 -1
- package/cosmos/counter/v1/tx.registry.d.ts +23 -0
- package/cosmos/counter/v1/tx.registry.js +33 -1
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +141 -1
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +69 -1
- package/cosmos/gov/v1/tx.registry.d.ts +95 -0
- package/cosmos/gov/v1/tx.registry.js +141 -1
- package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/gov/v1beta1/tx.registry.js +87 -1
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +267 -1
- package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/mint/v1beta1/tx.registry.js +33 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +71 -0
- package/cosmos/protocolpool/v1/tx.registry.js +105 -1
- package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/staking/v1beta1/tx.registry.js +141 -1
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +51 -1
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +69 -1
- package/esm/cosmos/auth/v1beta1/tx.registry.js +31 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +67 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +85 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +31 -0
- package/esm/cosmos/bundle.js +184 -184
- package/esm/cosmos/circuit/v1/tx.registry.js +67 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +31 -0
- package/esm/cosmos/counter/v1/tx.registry.js +31 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +139 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
- package/esm/cosmos/gov/v1/tx.registry.js +139 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +85 -0
- package/esm/cosmos/group/v1/tx.registry.js +265 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +31 -0
- package/esm/cosmos/protocolpool/v1/tx.registry.js +103 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +139 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +49 -0
- package/esm/ibc/bundle.js +96 -96
- package/esm/ibc/core/channel/v1/tx.registry.js +193 -0
- package/esm/ibc/core/channel/v2/tx.registry.js +85 -0
- package/esm/ibc/core/client/v1/tx.registry.js +157 -0
- package/esm/ibc/core/client/v2/tx.registry.js +49 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +103 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
- package/esm/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
- package/esm/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
- package/esm/sparkdream/blog/{params.js → v1/params.js} +3 -3
- package/esm/sparkdream/blog/{post.js → v1/post.js} +3 -3
- package/esm/sparkdream/blog/{query.js → v1/query.js} +14 -14
- package/esm/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
- package/esm/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
- package/esm/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
- package/esm/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
- package/esm/sparkdream/blog/v1/tx.registry.js +87 -0
- package/esm/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
- package/esm/sparkdream/bundle.js +68 -48
- package/esm/sparkdream/client.js +7 -7
- package/esm/sparkdream/lcd.js +10 -6
- package/esm/sparkdream/rpc.query.js +6 -2
- package/esm/sparkdream/rpc.tx.js +6 -2
- package/esm/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
- package/esm/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
- package/esm/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
- package/esm/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
- package/esm/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
- package/esm/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
- package/esm/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
- package/esm/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
- package/esm/sparkdream/sparkdream/v1/tx.registry.js +33 -0
- package/esm/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
- package/esm/tendermint/bundle.js +18 -18
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +69 -1
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +51 -1
- package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/transfer/v1/tx.registry.js +51 -1
- package/ibc/bundle.d.ts +630 -81
- package/ibc/bundle.js +96 -96
- package/ibc/core/channel/v1/tx.registry.d.ts +131 -0
- package/ibc/core/channel/v1/tx.registry.js +195 -1
- package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
- package/ibc/core/channel/v2/tx.registry.js +87 -1
- package/ibc/core/client/v1/tx.registry.d.ts +107 -0
- package/ibc/core/client/v1/tx.registry.js +159 -1
- package/ibc/core/client/v2/tx.registry.d.ts +35 -0
- package/ibc/core/client/v2/tx.registry.js +51 -1
- package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
- package/ibc/core/connection/v1/tx.registry.js +105 -1
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +69 -1
- package/package.json +1 -1
- package/sparkdream/{sparkdream/module → blog/module/v1}/module.d.ts +12 -6
- package/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
- package/sparkdream/blog/{genesis.d.ts → v1/genesis.d.ts} +4 -4
- package/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
- package/sparkdream/blog/{params.d.ts → v1/params.d.ts} +3 -3
- package/sparkdream/blog/{params.js → v1/params.js} +3 -3
- package/sparkdream/blog/{post.d.ts → v1/post.d.ts} +6 -4
- package/sparkdream/blog/{post.js → v1/post.js} +3 -3
- package/sparkdream/blog/{query.d.ts → v1/query.d.ts} +23 -15
- package/sparkdream/blog/{query.js → v1/query.js} +14 -14
- package/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
- package/sparkdream/blog/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +3 -3
- package/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
- package/sparkdream/blog/{tx.amino.d.ts → v1/tx.amino.d.ts} +4 -4
- package/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
- package/sparkdream/blog/{tx.d.ts → v1/tx.d.ts} +29 -17
- package/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
- package/sparkdream/blog/v1/tx.registry.d.ts +61 -0
- package/sparkdream/blog/v1/tx.registry.js +91 -0
- package/sparkdream/blog/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +4 -1
- package/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
- package/sparkdream/bundle.d.ts +476 -348
- package/sparkdream/bundle.js +68 -48
- package/sparkdream/client.d.ts +15 -15
- package/sparkdream/client.js +7 -7
- package/sparkdream/lcd.d.ts +6 -2
- package/sparkdream/lcd.js +10 -6
- package/sparkdream/rpc.query.d.ts +8 -4
- package/sparkdream/rpc.query.js +6 -2
- package/sparkdream/rpc.tx.d.ts +6 -2
- package/sparkdream/rpc.tx.js +6 -2
- package/sparkdream/{blog/module → sparkdream/module/v1}/module.d.ts +12 -6
- package/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
- package/sparkdream/sparkdream/{genesis.d.ts → v1/genesis.d.ts} +4 -4
- package/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
- package/sparkdream/sparkdream/{params.d.ts → v1/params.d.ts} +3 -3
- package/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
- package/sparkdream/sparkdream/{query.d.ts → v1/query.d.ts} +6 -6
- package/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
- package/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
- package/sparkdream/sparkdream/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +1 -1
- package/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
- package/sparkdream/sparkdream/{tx.amino.d.ts → v1/tx.amino.d.ts} +1 -1
- package/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
- package/sparkdream/sparkdream/{tx.d.ts → v1/tx.d.ts} +5 -5
- package/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
- package/sparkdream/sparkdream/v1/tx.registry.d.ts +25 -0
- package/sparkdream/sparkdream/v1/tx.registry.js +37 -0
- package/sparkdream/sparkdream/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +1 -1
- package/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
- package/esm/sparkdream/blog/tx.registry.js +0 -2
- package/esm/sparkdream/sparkdream/tx.registry.js +0 -2
- package/sparkdream/blog/tx.registry.d.ts +0 -2
- package/sparkdream/blog/tx.registry.js +0 -5
- package/sparkdream/sparkdream/tx.registry.d.ts +0 -2
- package/sparkdream/sparkdream/tx.registry.js +0 -5
- /package/sparkdream/blog/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
- /package/sparkdream/sparkdream/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
|
@@ -1,2 +1,87 @@
|
|
|
1
1
|
import { MsgSendPacket, MsgRecvPacket, MsgTimeout, MsgAcknowledgement } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.channel.v2.MsgSendPacket", MsgSendPacket], ["/ibc.core.channel.v2.MsgRecvPacket", MsgRecvPacket], ["/ibc.core.channel.v2.MsgTimeout", MsgTimeout], ["/ibc.core.channel.v2.MsgAcknowledgement", MsgAcknowledgement]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
sendPacket(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
13
|
+
value: MsgSendPacket.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
recvPacket(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
19
|
+
value: MsgRecvPacket.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
timeout(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
25
|
+
value: MsgTimeout.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
acknowledgement(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
31
|
+
value: MsgAcknowledgement.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
withTypeUrl: {
|
|
36
|
+
sendPacket(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
recvPacket(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
timeout(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
51
|
+
value
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
acknowledgement(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
57
|
+
value
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
fromPartial: {
|
|
62
|
+
sendPacket(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/ibc.core.channel.v2.MsgSendPacket",
|
|
65
|
+
value: MsgSendPacket.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
recvPacket(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/ibc.core.channel.v2.MsgRecvPacket",
|
|
71
|
+
value: MsgRecvPacket.fromPartial(value)
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
timeout(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/ibc.core.channel.v2.MsgTimeout",
|
|
77
|
+
value: MsgTimeout.fromPartial(value)
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
acknowledgement(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/ibc.core.channel.v2.MsgAcknowledgement",
|
|
83
|
+
value: MsgAcknowledgement.fromPartial(value)
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
@@ -1,2 +1,159 @@
|
|
|
1
1
|
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour, MsgRecoverClient, MsgIBCSoftwareUpgrade, MsgUpdateParams, MsgDeleteClientCreator } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.client.v1.MsgCreateClient", MsgCreateClient], ["/ibc.core.client.v1.MsgUpdateClient", MsgUpdateClient], ["/ibc.core.client.v1.MsgUpgradeClient", MsgUpgradeClient], ["/ibc.core.client.v1.MsgSubmitMisbehaviour", MsgSubmitMisbehaviour], ["/ibc.core.client.v1.MsgRecoverClient", MsgRecoverClient], ["/ibc.core.client.v1.MsgIBCSoftwareUpgrade", MsgIBCSoftwareUpgrade], ["/ibc.core.client.v1.MsgUpdateParams", MsgUpdateParams], ["/ibc.core.client.v1.MsgDeleteClientCreator", MsgDeleteClientCreator]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
createClient(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
13
|
+
value: MsgCreateClient.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
updateClient(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
19
|
+
value: MsgUpdateClient.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
upgradeClient(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
25
|
+
value: MsgUpgradeClient.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
submitMisbehaviour(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
31
|
+
value: MsgSubmitMisbehaviour.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
recoverClient(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
37
|
+
value: MsgRecoverClient.encode(value).finish()
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
iBCSoftwareUpgrade(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
43
|
+
value: MsgIBCSoftwareUpgrade.encode(value).finish()
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
updateClientParams(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
49
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
deleteClientCreator(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
55
|
+
value: MsgDeleteClientCreator.encode(value).finish()
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
withTypeUrl: {
|
|
60
|
+
createClient(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
63
|
+
value
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
updateClient(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
69
|
+
value
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
upgradeClient(value) {
|
|
73
|
+
return {
|
|
74
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
75
|
+
value
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
submitMisbehaviour(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
81
|
+
value
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
recoverClient(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
87
|
+
value
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
iBCSoftwareUpgrade(value) {
|
|
91
|
+
return {
|
|
92
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
93
|
+
value
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
updateClientParams(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
99
|
+
value
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
deleteClientCreator(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
105
|
+
value
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
fromPartial: {
|
|
110
|
+
createClient(value) {
|
|
111
|
+
return {
|
|
112
|
+
typeUrl: "/ibc.core.client.v1.MsgCreateClient",
|
|
113
|
+
value: MsgCreateClient.fromPartial(value)
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
updateClient(value) {
|
|
117
|
+
return {
|
|
118
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateClient",
|
|
119
|
+
value: MsgUpdateClient.fromPartial(value)
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
upgradeClient(value) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/ibc.core.client.v1.MsgUpgradeClient",
|
|
125
|
+
value: MsgUpgradeClient.fromPartial(value)
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
submitMisbehaviour(value) {
|
|
129
|
+
return {
|
|
130
|
+
typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour",
|
|
131
|
+
value: MsgSubmitMisbehaviour.fromPartial(value)
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
recoverClient(value) {
|
|
135
|
+
return {
|
|
136
|
+
typeUrl: "/ibc.core.client.v1.MsgRecoverClient",
|
|
137
|
+
value: MsgRecoverClient.fromPartial(value)
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
iBCSoftwareUpgrade(value) {
|
|
141
|
+
return {
|
|
142
|
+
typeUrl: "/ibc.core.client.v1.MsgIBCSoftwareUpgrade",
|
|
143
|
+
value: MsgIBCSoftwareUpgrade.fromPartial(value)
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
updateClientParams(value) {
|
|
147
|
+
return {
|
|
148
|
+
typeUrl: "/ibc.core.client.v1.MsgUpdateParams",
|
|
149
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
deleteClientCreator(value) {
|
|
153
|
+
return {
|
|
154
|
+
typeUrl: "/ibc.core.client.v1.MsgDeleteClientCreator",
|
|
155
|
+
value: MsgDeleteClientCreator.fromPartial(value)
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
@@ -1,2 +1,51 @@
|
|
|
1
1
|
import { MsgRegisterCounterparty, MsgUpdateClientConfig } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.client.v2.MsgRegisterCounterparty", MsgRegisterCounterparty], ["/ibc.core.client.v2.MsgUpdateClientConfig", MsgUpdateClientConfig]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
registerCounterparty(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
13
|
+
value: MsgRegisterCounterparty.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
updateClientConfig(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
19
|
+
value: MsgUpdateClientConfig.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
withTypeUrl: {
|
|
24
|
+
registerCounterparty(value) {
|
|
25
|
+
return {
|
|
26
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
27
|
+
value
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
updateClientConfig(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
fromPartial: {
|
|
38
|
+
registerCounterparty(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/ibc.core.client.v2.MsgRegisterCounterparty",
|
|
41
|
+
value: MsgRegisterCounterparty.fromPartial(value)
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
updateClientConfig(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/ibc.core.client.v2.MsgUpdateClientConfig",
|
|
47
|
+
value: MsgUpdateClientConfig.fromPartial(value)
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -1,2 +1,105 @@
|
|
|
1
1
|
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm, MsgUpdateParams } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.core.connection.v1.MsgConnectionOpenInit", MsgConnectionOpenInit], ["/ibc.core.connection.v1.MsgConnectionOpenTry", MsgConnectionOpenTry], ["/ibc.core.connection.v1.MsgConnectionOpenAck", MsgConnectionOpenAck], ["/ibc.core.connection.v1.MsgConnectionOpenConfirm", MsgConnectionOpenConfirm], ["/ibc.core.connection.v1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
connectionOpenInit(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
13
|
+
value: MsgConnectionOpenInit.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
connectionOpenTry(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
19
|
+
value: MsgConnectionOpenTry.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
connectionOpenAck(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
25
|
+
value: MsgConnectionOpenAck.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
connectionOpenConfirm(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
31
|
+
value: MsgConnectionOpenConfirm.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
updateConnectionParams(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
37
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
withTypeUrl: {
|
|
42
|
+
connectionOpenInit(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
connectionOpenTry(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
51
|
+
value
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
connectionOpenAck(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
57
|
+
value
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
connectionOpenConfirm(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
63
|
+
value
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
updateConnectionParams(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
69
|
+
value
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
fromPartial: {
|
|
74
|
+
connectionOpenInit(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit",
|
|
77
|
+
value: MsgConnectionOpenInit.fromPartial(value)
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
connectionOpenTry(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry",
|
|
83
|
+
value: MsgConnectionOpenTry.fromPartial(value)
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
connectionOpenAck(value) {
|
|
87
|
+
return {
|
|
88
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck",
|
|
89
|
+
value: MsgConnectionOpenAck.fromPartial(value)
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
connectionOpenConfirm(value) {
|
|
93
|
+
return {
|
|
94
|
+
typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm",
|
|
95
|
+
value: MsgConnectionOpenConfirm.fromPartial(value)
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
updateConnectionParams(value) {
|
|
99
|
+
return {
|
|
100
|
+
typeUrl: "/ibc.core.connection.v1.MsgUpdateParams",
|
|
101
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
@@ -1,2 +1,69 @@
|
|
|
1
1
|
import { MsgStoreCode, MsgRemoveChecksum, MsgMigrateContract } from "./tx";
|
|
2
2
|
export const registry = [["/ibc.lightclients.wasm.v1.MsgStoreCode", MsgStoreCode], ["/ibc.lightclients.wasm.v1.MsgRemoveChecksum", MsgRemoveChecksum], ["/ibc.lightclients.wasm.v1.MsgMigrateContract", MsgMigrateContract]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
storeCode(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
13
|
+
value: MsgStoreCode.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
removeChecksum(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
19
|
+
value: MsgRemoveChecksum.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
migrateContract(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
25
|
+
value: MsgMigrateContract.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
withTypeUrl: {
|
|
30
|
+
storeCode(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
removeChecksum(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
migrateContract(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
fromPartial: {
|
|
50
|
+
storeCode(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgStoreCode",
|
|
53
|
+
value: MsgStoreCode.fromPartial(value)
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
removeChecksum(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgRemoveChecksum",
|
|
59
|
+
value: MsgRemoveChecksum.fromPartial(value)
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
migrateContract(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/ibc.lightclients.wasm.v1.MsgMigrateContract",
|
|
65
|
+
value: MsgMigrateContract.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
3
3
|
function createBaseModule() {
|
|
4
4
|
return {
|
|
5
5
|
authority: ""
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export const Module = {
|
|
9
|
-
typeUrl: "/sparkdream.blog.module.Module",
|
|
9
|
+
typeUrl: "/sparkdream.blog.module.v1.Module",
|
|
10
10
|
encode(message, writer = BinaryWriter.create()) {
|
|
11
11
|
if (message.authority !== "") {
|
|
12
12
|
writer.uint32(10).string(message.authority);
|
|
@@ -58,7 +58,7 @@ export const Module = {
|
|
|
58
58
|
},
|
|
59
59
|
toProtoMsg(message) {
|
|
60
60
|
return {
|
|
61
|
-
typeUrl: "/sparkdream.blog.module.Module",
|
|
61
|
+
typeUrl: "/sparkdream.blog.module.v1.Module",
|
|
62
62
|
value: Module.encode(message).finish()
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { Params } from "./params";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
function createBaseGenesisState() {
|
|
5
5
|
return {
|
|
6
6
|
params: Params.fromPartial({})
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export const GenesisState = {
|
|
10
|
-
typeUrl: "/sparkdream.blog.GenesisState",
|
|
10
|
+
typeUrl: "/sparkdream.blog.v1.GenesisState",
|
|
11
11
|
encode(message, writer = BinaryWriter.create()) {
|
|
12
12
|
if (message.params !== undefined) {
|
|
13
13
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -59,7 +59,7 @@ export const GenesisState = {
|
|
|
59
59
|
},
|
|
60
60
|
toProtoMsg(message) {
|
|
61
61
|
return {
|
|
62
|
-
typeUrl: "/sparkdream.blog.GenesisState",
|
|
62
|
+
typeUrl: "/sparkdream.blog.v1.GenesisState",
|
|
63
63
|
value: GenesisState.encode(message).finish()
|
|
64
64
|
};
|
|
65
65
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
function createBaseParams() {
|
|
4
4
|
return {};
|
|
5
5
|
}
|
|
6
6
|
export const Params = {
|
|
7
|
-
typeUrl: "/sparkdream.blog.Params",
|
|
7
|
+
typeUrl: "/sparkdream.blog.v1.Params",
|
|
8
8
|
aminoType: "sparkdream/x/blog/Params",
|
|
9
9
|
encode(_, writer = BinaryWriter.create()) {
|
|
10
10
|
return writer;
|
|
@@ -52,7 +52,7 @@ export const Params = {
|
|
|
52
52
|
},
|
|
53
53
|
toProtoMsg(message) {
|
|
54
54
|
return {
|
|
55
|
-
typeUrl: "/sparkdream.blog.Params",
|
|
55
|
+
typeUrl: "/sparkdream.blog.v1.Params",
|
|
56
56
|
value: Params.encode(message).finish()
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
function createBasePost() {
|
|
4
4
|
return {
|
|
5
5
|
title: "",
|
|
@@ -9,7 +9,7 @@ function createBasePost() {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
export const Post = {
|
|
12
|
-
typeUrl: "/sparkdream.blog.Post",
|
|
12
|
+
typeUrl: "/sparkdream.blog.v1.Post",
|
|
13
13
|
encode(message, writer = BinaryWriter.create()) {
|
|
14
14
|
if (message.title !== "") {
|
|
15
15
|
writer.uint32(10).string(message.title);
|
|
@@ -94,7 +94,7 @@ export const Post = {
|
|
|
94
94
|
},
|
|
95
95
|
toProtoMsg(message) {
|
|
96
96
|
return {
|
|
97
|
-
typeUrl: "/sparkdream.blog.Post",
|
|
97
|
+
typeUrl: "/sparkdream.blog.v1.Post",
|
|
98
98
|
value: Post.encode(message).finish()
|
|
99
99
|
};
|
|
100
100
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { PageRequest, PageResponse } from "
|
|
2
|
+
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
3
|
import { Params } from "./params";
|
|
4
4
|
import { Post } from "./post";
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
6
|
function createBaseQueryParamsRequest() {
|
|
7
7
|
return {};
|
|
8
8
|
}
|
|
9
9
|
export const QueryParamsRequest = {
|
|
10
|
-
typeUrl: "/sparkdream.blog.QueryParamsRequest",
|
|
10
|
+
typeUrl: "/sparkdream.blog.v1.QueryParamsRequest",
|
|
11
11
|
encode(_, writer = BinaryWriter.create()) {
|
|
12
12
|
return writer;
|
|
13
13
|
},
|
|
@@ -48,7 +48,7 @@ export const QueryParamsRequest = {
|
|
|
48
48
|
},
|
|
49
49
|
toProtoMsg(message) {
|
|
50
50
|
return {
|
|
51
|
-
typeUrl: "/sparkdream.blog.QueryParamsRequest",
|
|
51
|
+
typeUrl: "/sparkdream.blog.v1.QueryParamsRequest",
|
|
52
52
|
value: QueryParamsRequest.encode(message).finish()
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -59,7 +59,7 @@ function createBaseQueryParamsResponse() {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
export const QueryParamsResponse = {
|
|
62
|
-
typeUrl: "/sparkdream.blog.QueryParamsResponse",
|
|
62
|
+
typeUrl: "/sparkdream.blog.v1.QueryParamsResponse",
|
|
63
63
|
encode(message, writer = BinaryWriter.create()) {
|
|
64
64
|
if (message.params !== undefined) {
|
|
65
65
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
@@ -111,7 +111,7 @@ export const QueryParamsResponse = {
|
|
|
111
111
|
},
|
|
112
112
|
toProtoMsg(message) {
|
|
113
113
|
return {
|
|
114
|
-
typeUrl: "/sparkdream.blog.QueryParamsResponse",
|
|
114
|
+
typeUrl: "/sparkdream.blog.v1.QueryParamsResponse",
|
|
115
115
|
value: QueryParamsResponse.encode(message).finish()
|
|
116
116
|
};
|
|
117
117
|
}
|
|
@@ -122,7 +122,7 @@ function createBaseQueryShowPostRequest() {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
export const QueryShowPostRequest = {
|
|
125
|
-
typeUrl: "/sparkdream.blog.QueryShowPostRequest",
|
|
125
|
+
typeUrl: "/sparkdream.blog.v1.QueryShowPostRequest",
|
|
126
126
|
encode(message, writer = BinaryWriter.create()) {
|
|
127
127
|
if (message.id !== BigInt(0)) {
|
|
128
128
|
writer.uint32(8).uint64(message.id);
|
|
@@ -174,7 +174,7 @@ export const QueryShowPostRequest = {
|
|
|
174
174
|
},
|
|
175
175
|
toProtoMsg(message) {
|
|
176
176
|
return {
|
|
177
|
-
typeUrl: "/sparkdream.blog.QueryShowPostRequest",
|
|
177
|
+
typeUrl: "/sparkdream.blog.v1.QueryShowPostRequest",
|
|
178
178
|
value: QueryShowPostRequest.encode(message).finish()
|
|
179
179
|
};
|
|
180
180
|
}
|
|
@@ -185,7 +185,7 @@ function createBaseQueryShowPostResponse() {
|
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
187
|
export const QueryShowPostResponse = {
|
|
188
|
-
typeUrl: "/sparkdream.blog.QueryShowPostResponse",
|
|
188
|
+
typeUrl: "/sparkdream.blog.v1.QueryShowPostResponse",
|
|
189
189
|
encode(message, writer = BinaryWriter.create()) {
|
|
190
190
|
if (message.post !== undefined) {
|
|
191
191
|
Post.encode(message.post, writer.uint32(10).fork()).ldelim();
|
|
@@ -237,7 +237,7 @@ export const QueryShowPostResponse = {
|
|
|
237
237
|
},
|
|
238
238
|
toProtoMsg(message) {
|
|
239
239
|
return {
|
|
240
|
-
typeUrl: "/sparkdream.blog.QueryShowPostResponse",
|
|
240
|
+
typeUrl: "/sparkdream.blog.v1.QueryShowPostResponse",
|
|
241
241
|
value: QueryShowPostResponse.encode(message).finish()
|
|
242
242
|
};
|
|
243
243
|
}
|
|
@@ -248,7 +248,7 @@ function createBaseQueryListPostRequest() {
|
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
export const QueryListPostRequest = {
|
|
251
|
-
typeUrl: "/sparkdream.blog.QueryListPostRequest",
|
|
251
|
+
typeUrl: "/sparkdream.blog.v1.QueryListPostRequest",
|
|
252
252
|
encode(message, writer = BinaryWriter.create()) {
|
|
253
253
|
if (message.pagination !== undefined) {
|
|
254
254
|
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
@@ -300,7 +300,7 @@ export const QueryListPostRequest = {
|
|
|
300
300
|
},
|
|
301
301
|
toProtoMsg(message) {
|
|
302
302
|
return {
|
|
303
|
-
typeUrl: "/sparkdream.blog.QueryListPostRequest",
|
|
303
|
+
typeUrl: "/sparkdream.blog.v1.QueryListPostRequest",
|
|
304
304
|
value: QueryListPostRequest.encode(message).finish()
|
|
305
305
|
};
|
|
306
306
|
}
|
|
@@ -312,7 +312,7 @@ function createBaseQueryListPostResponse() {
|
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
314
|
export const QueryListPostResponse = {
|
|
315
|
-
typeUrl: "/sparkdream.blog.QueryListPostResponse",
|
|
315
|
+
typeUrl: "/sparkdream.blog.v1.QueryListPostResponse",
|
|
316
316
|
encode(message, writer = BinaryWriter.create()) {
|
|
317
317
|
for (const v of message.post) {
|
|
318
318
|
Post.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -378,7 +378,7 @@ export const QueryListPostResponse = {
|
|
|
378
378
|
},
|
|
379
379
|
toProtoMsg(message) {
|
|
380
380
|
return {
|
|
381
|
-
typeUrl: "/sparkdream.blog.QueryListPostResponse",
|
|
381
|
+
typeUrl: "/sparkdream.blog.v1.QueryListPostResponse",
|
|
382
382
|
value: QueryListPostResponse.encode(message).finish()
|
|
383
383
|
};
|
|
384
384
|
}
|