@sparkdreamnft/sparkdreamjs 0.0.7 → 0.0.9
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/genesis.js +87 -1
- package/esm/sparkdream/blog/v1/params.js +433 -5
- package/esm/sparkdream/blog/v1/post.js +205 -2
- package/esm/sparkdream/blog/v1/query.js +1363 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +105 -2
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +75 -3
- package/esm/sparkdream/blog/v1/tx.amino.js +61 -1
- package/esm/sparkdream/blog/v1/tx.js +1861 -3
- package/esm/sparkdream/blog/v1/tx.registry.js +218 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +77 -4
- package/esm/sparkdream/blog/v1/types.js +809 -0
- package/esm/sparkdream/bundle.js +585 -36
- package/esm/sparkdream/client.js +41 -2
- package/esm/sparkdream/collect/module/v1/module.js +71 -0
- package/esm/sparkdream/collect/v1/genesis.js +271 -0
- package/esm/sparkdream/collect/v1/params.js +763 -0
- package/esm/sparkdream/collect/v1/query.js +3790 -0
- package/esm/sparkdream/collect/v1/query.lcd.js +223 -0
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +252 -0
- package/esm/sparkdream/collect/v1/tx.amino.js +149 -0
- package/esm/sparkdream/collect/v1/tx.js +4767 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +537 -0
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +185 -0
- package/esm/sparkdream/collect/v1/types.js +3434 -0
- package/esm/sparkdream/common/v1/content_type.js +96 -0
- package/esm/sparkdream/common/v1/flag_record.js +119 -0
- package/esm/sparkdream/common/v1/moderation_reason.js +115 -0
- package/esm/sparkdream/commons/module/v1/module.js +71 -0
- package/esm/sparkdream/commons/v1/category.js +121 -0
- package/esm/sparkdream/commons/v1/genesis.js +561 -0
- package/esm/sparkdream/commons/v1/group.js +1116 -0
- package/esm/sparkdream/commons/v1/params.js +78 -0
- package/esm/sparkdream/commons/v1/policy_permissions.js +86 -0
- package/esm/sparkdream/commons/v1/query.js +1629 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +96 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +120 -0
- package/esm/sparkdream/commons/v1/tx.amino.js +99 -0
- package/esm/sparkdream/commons/v1/tx.js +3475 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +357 -0
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +129 -0
- package/esm/sparkdream/ecosystem/module/v1/module.js +71 -0
- package/esm/sparkdream/ecosystem/v1/genesis.js +72 -0
- package/esm/sparkdream/ecosystem/v1/params.js +65 -0
- package/esm/sparkdream/ecosystem/v1/query.js +128 -0
- package/esm/sparkdream/ecosystem/v1/query.lcd.js +11 -0
- package/esm/sparkdream/ecosystem/v1/query.rpc.Query.js +24 -0
- package/esm/sparkdream/ecosystem/v1/tx.amino.js +14 -0
- package/esm/sparkdream/ecosystem/v1/tx.js +308 -0
- package/esm/sparkdream/ecosystem/v1/tx.registry.js +51 -0
- package/esm/sparkdream/ecosystem/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/federation/module/v1/module.js +71 -0
- package/esm/sparkdream/federation/v1/genesis.js +244 -0
- package/esm/sparkdream/federation/v1/packet.js +810 -0
- package/esm/sparkdream/federation/v1/params.js +789 -0
- package/esm/sparkdream/federation/v1/query.js +2629 -0
- package/esm/sparkdream/federation/v1/query.lcd.js +152 -0
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +189 -0
- package/esm/sparkdream/federation/v1/tx.amino.js +139 -0
- package/esm/sparkdream/federation/v1/tx.js +4199 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +501 -0
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +173 -0
- package/esm/sparkdream/federation/v1/types.js +2571 -0
- package/esm/sparkdream/forum/module/v1/module.js +71 -0
- package/esm/sparkdream/forum/v1/archive_metadata.js +119 -0
- package/esm/sparkdream/forum/v1/bounty.js +183 -0
- package/esm/sparkdream/forum/v1/genesis.js +292 -0
- package/esm/sparkdream/forum/v1/hide_record.js +154 -0
- package/esm/sparkdream/forum/v1/params.js +867 -0
- package/esm/sparkdream/forum/v1/post.js +397 -0
- package/esm/sparkdream/forum/v1/post_flag.js +254 -0
- package/esm/sparkdream/forum/v1/query.js +7167 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +420 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +461 -0
- package/esm/sparkdream/forum/v1/sentinel_activity.js +397 -0
- package/esm/sparkdream/forum/v1/thread_follow.js +95 -0
- package/esm/sparkdream/forum/v1/thread_follow_count.js +83 -0
- package/esm/sparkdream/forum/v1/thread_lock_record.js +155 -0
- package/esm/sparkdream/forum/v1/thread_metadata.js +184 -0
- package/esm/sparkdream/forum/v1/thread_move_record.js +179 -0
- package/esm/sparkdream/forum/v1/tx.amino.js +179 -0
- package/esm/sparkdream/forum/v1/tx.js +5169 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +645 -0
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +223 -0
- package/esm/sparkdream/forum/v1/types.js +542 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +119 -0
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +107 -0
- package/esm/sparkdream/futarchy/module/v1/module.js +71 -0
- package/esm/sparkdream/futarchy/v1/genesis.js +88 -0
- package/esm/sparkdream/futarchy/v1/market.js +240 -0
- package/esm/sparkdream/futarchy/v1/params.js +241 -0
- package/esm/sparkdream/futarchy/v1/query.js +596 -0
- package/esm/sparkdream/futarchy/v1/query.lcd.js +45 -0
- package/esm/sparkdream/futarchy/v1/query.rpc.Query.js +53 -0
- package/esm/sparkdream/futarchy/v1/tx.amino.js +39 -0
- package/esm/sparkdream/futarchy/v1/tx.js +1097 -0
- package/esm/sparkdream/futarchy/v1/tx.registry.js +141 -0
- package/esm/sparkdream/futarchy/v1/tx.rpc.msg.js +55 -0
- package/esm/sparkdream/lcd.js +65 -0
- package/esm/sparkdream/name/module/v1/module.js +71 -0
- package/esm/sparkdream/name/v1/dispute.js +341 -0
- package/esm/sparkdream/name/v1/genesis.js +120 -0
- package/esm/sparkdream/name/v1/name_record.js +95 -0
- package/esm/sparkdream/name/v1/owner_info.js +95 -0
- package/esm/sparkdream/name/v1/params.js +306 -0
- package/esm/sparkdream/name/v1/query.js +863 -0
- package/esm/sparkdream/name/v1/query.lcd.js +52 -0
- package/esm/sparkdream/name/v1/query.rpc.Query.js +71 -0
- package/esm/sparkdream/name/v1/tx.amino.js +44 -0
- package/esm/sparkdream/name/v1/tx.js +1222 -0
- package/esm/sparkdream/name/v1/tx.registry.js +159 -0
- package/esm/sparkdream/name/v1/tx.rpc.msg.js +62 -0
- package/esm/sparkdream/rep/module/v1/module.js +71 -0
- package/esm/sparkdream/rep/v1/accountability.js +172 -0
- package/esm/sparkdream/rep/v1/challenge.js +226 -0
- package/esm/sparkdream/rep/v1/content_challenge.js +303 -0
- package/esm/sparkdream/rep/v1/genesis.js +689 -0
- package/esm/sparkdream/rep/v1/gov_action_appeal.js +202 -0
- package/esm/sparkdream/rep/v1/initiative.js +558 -0
- package/esm/sparkdream/rep/v1/interim.js +426 -0
- package/esm/sparkdream/rep/v1/interim_template.js +291 -0
- package/esm/sparkdream/rep/v1/invitation.js +251 -0
- package/esm/sparkdream/rep/v1/jury_participation.js +131 -0
- package/esm/sparkdream/rep/v1/jury_review.js +635 -0
- package/esm/sparkdream/rep/v1/member.js +881 -0
- package/esm/sparkdream/rep/v1/member_report.js +219 -0
- package/esm/sparkdream/rep/v1/member_warning.js +156 -0
- package/esm/sparkdream/rep/v1/params.js +2347 -0
- package/esm/sparkdream/rep/v1/project.js +557 -0
- package/esm/sparkdream/rep/v1/query.js +12156 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +663 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +756 -0
- package/esm/sparkdream/rep/v1/reserved_tag.js +96 -0
- package/esm/sparkdream/rep/v1/sentinel_activity.js +214 -0
- package/esm/sparkdream/rep/v1/stake.js +575 -0
- package/esm/sparkdream/rep/v1/tag.js +120 -0
- package/esm/sparkdream/rep/v1/tag_budget.js +143 -0
- package/esm/sparkdream/rep/v1/tag_budget_award.js +155 -0
- package/esm/sparkdream/rep/v1/tag_report.js +122 -0
- package/esm/sparkdream/rep/v1/tx.amino.js +239 -0
- package/esm/sparkdream/rep/v1/tx.js +7637 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +861 -0
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +300 -0
- package/esm/sparkdream/reveal/module/v1/module.js +71 -0
- package/esm/sparkdream/reveal/v1/genesis.js +142 -0
- package/esm/sparkdream/reveal/v1/params.js +235 -0
- package/esm/sparkdream/reveal/v1/query.js +1700 -0
- package/esm/sparkdream/reveal/v1/query.lcd.js +101 -0
- package/esm/sparkdream/reveal/v1/query.rpc.Query.js +116 -0
- package/esm/sparkdream/reveal/v1/tx.amino.js +54 -0
- package/esm/sparkdream/reveal/v1/tx.js +1699 -0
- package/esm/sparkdream/reveal/v1/tx.registry.js +195 -0
- package/esm/sparkdream/reveal/v1/tx.rpc.msg.js +72 -0
- package/esm/sparkdream/reveal/v1/types.js +1141 -0
- package/esm/sparkdream/rpc.query.js +39 -0
- package/esm/sparkdream/rpc.tx.js +39 -0
- package/esm/sparkdream/season/module/v1/module.js +71 -0
- package/esm/sparkdream/season/v1/achievement.js +142 -0
- package/esm/sparkdream/season/v1/display_name_appeal_stake.js +95 -0
- package/esm/sparkdream/season/v1/display_name_moderation.js +155 -0
- package/esm/sparkdream/season/v1/display_name_report_stake.js +95 -0
- package/esm/sparkdream/season/v1/enums.js +391 -0
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +119 -0
- package/esm/sparkdream/season/v1/forum_xp_cooldown.js +83 -0
- package/esm/sparkdream/season/v1/genesis.js +482 -0
- package/esm/sparkdream/season/v1/guild.js +172 -0
- package/esm/sparkdream/season/v1/guild_invite.js +107 -0
- package/esm/sparkdream/season/v1/guild_membership.js +119 -0
- package/esm/sparkdream/season/v1/member_profile.js +296 -0
- package/esm/sparkdream/season/v1/member_quest_progress.js +132 -0
- package/esm/sparkdream/season/v1/member_registration.js +83 -0
- package/esm/sparkdream/season/v1/member_season_snapshot.js +238 -0
- package/esm/sparkdream/season/v1/next_season_info.js +83 -0
- package/esm/sparkdream/season/v1/nomination.js +428 -0
- package/esm/sparkdream/season/v1/params.js +1645 -0
- package/esm/sparkdream/season/v1/query.js +10569 -0
- package/esm/sparkdream/season/v1/query.lcd.js +598 -0
- package/esm/sparkdream/season/v1/query.rpc.Query.js +673 -0
- package/esm/sparkdream/season/v1/quest.js +334 -0
- package/esm/sparkdream/season/v1/season.js +166 -0
- package/esm/sparkdream/season/v1/season_snapshot.js +83 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +194 -0
- package/esm/sparkdream/season/v1/season_transition_state.js +130 -0
- package/esm/sparkdream/season/v1/title.js +154 -0
- package/esm/sparkdream/season/v1/transition_recovery_state.js +118 -0
- package/esm/sparkdream/season/v1/tx.amino.js +219 -0
- package/esm/sparkdream/season/v1/tx.js +6823 -0
- package/esm/sparkdream/season/v1/tx.registry.js +789 -0
- package/esm/sparkdream/season/v1/tx.rpc.msg.js +272 -0
- package/esm/sparkdream/season/v1/vote_xp_record.js +83 -0
- package/esm/sparkdream/session/module/v1/module.js +71 -0
- package/esm/sparkdream/session/v1/genesis.js +88 -0
- package/esm/sparkdream/session/v1/params.js +275 -0
- package/esm/sparkdream/session/v1/query.js +743 -0
- package/esm/sparkdream/session/v1/query.lcd.js +45 -0
- package/esm/sparkdream/session/v1/query.rpc.Query.js +60 -0
- package/esm/sparkdream/session/v1/session.js +185 -0
- package/esm/sparkdream/session/v1/tx.amino.js +29 -0
- package/esm/sparkdream/session/v1/tx.js +768 -0
- package/esm/sparkdream/session/v1/tx.registry.js +105 -0
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +43 -0
- package/esm/sparkdream/shield/module/v1/module.js +71 -0
- package/esm/sparkdream/shield/v1/genesis.js +301 -0
- package/esm/sparkdream/shield/v1/params.js +282 -0
- package/esm/sparkdream/shield/v1/query.js +2323 -0
- package/esm/sparkdream/shield/v1/query.lcd.js +110 -0
- package/esm/sparkdream/shield/v1/query.rpc.Query.js +170 -0
- package/esm/sparkdream/shield/v1/tx.amino.js +29 -0
- package/esm/sparkdream/shield/v1/tx.js +838 -0
- package/esm/sparkdream/shield/v1/tx.registry.js +105 -0
- package/esm/sparkdream/shield/v1/tx.rpc.msg.js +43 -0
- package/esm/sparkdream/shield/v1/types.js +2427 -0
- package/esm/sparkdream/split/module/v1/module.js +71 -0
- package/esm/sparkdream/split/v1/genesis.js +88 -0
- package/esm/sparkdream/split/v1/params.js +65 -0
- package/esm/sparkdream/split/v1/query.js +421 -0
- package/esm/sparkdream/split/v1/query.lcd.js +31 -0
- package/esm/sparkdream/split/v1/query.rpc.Query.js +44 -0
- package/esm/sparkdream/split/v1/share.js +83 -0
- package/esm/sparkdream/split/v1/tx.amino.js +9 -0
- package/esm/sparkdream/split/v1/tx.js +148 -0
- package/esm/sparkdream/split/v1/tx.registry.js +33 -0
- package/esm/sparkdream/split/v1/tx.rpc.msg.js +18 -0
- 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/genesis.d.ts +50 -0
- package/sparkdream/blog/v1/genesis.js +87 -1
- package/sparkdream/blog/v1/params.d.ts +292 -4
- package/sparkdream/blog/v1/params.js +434 -6
- package/sparkdream/blog/v1/post.d.ts +162 -0
- package/sparkdream/blog/v1/post.js +205 -2
- package/sparkdream/blog/v1/query.d.ts +751 -0
- package/sparkdream/blog/v1/query.js +1364 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +9 -1
- package/sparkdream/blog/v1/query.lcd.js +105 -2
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +35 -3
- package/sparkdream/blog/v1/query.rpc.Query.js +74 -2
- package/sparkdream/blog/v1/tx.amino.d.ts +61 -1
- package/sparkdream/blog/v1/tx.amino.js +60 -0
- package/sparkdream/blog/v1/tx.d.ts +1155 -1
- package/sparkdream/blog/v1/tx.js +1861 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +145 -1
- package/sparkdream/blog/v1/tx.registry.js +217 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +43 -4
- package/sparkdream/blog/v1/tx.rpc.msg.js +76 -3
- package/sparkdream/blog/v1/types.d.ts +463 -0
- package/sparkdream/blog/v1/types.js +818 -0
- package/sparkdream/bundle.d.ts +21937 -226
- package/sparkdream/bundle.js +585 -36
- package/sparkdream/client.d.ts +1250 -0
- package/sparkdream/client.js +41 -2
- package/sparkdream/collect/module/v1/module.d.ts +54 -0
- package/sparkdream/collect/module/v1/module.js +74 -0
- package/sparkdream/collect/v1/genesis.d.ts +82 -0
- package/sparkdream/collect/v1/genesis.js +274 -0
- package/sparkdream/collect/v1/params.d.ts +240 -0
- package/sparkdream/collect/v1/params.js +766 -0
- package/sparkdream/collect/v1/query.d.ts +2157 -0
- package/sparkdream/collect/v1/query.js +3793 -0
- package/sparkdream/collect/v1/query.lcd.d.ts +33 -0
- package/sparkdream/collect/v1/query.lcd.js +227 -0
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +101 -0
- package/sparkdream/collect/v1/query.rpc.Query.js +257 -0
- package/sparkdream/collect/v1/tx.amino.d.ts +148 -0
- package/sparkdream/collect/v1/tx.amino.js +152 -0
- package/sparkdream/collect/v1/tx.d.ts +2581 -0
- package/sparkdream/collect/v1/tx.js +4771 -0
- package/sparkdream/collect/v1/tx.registry.d.ts +361 -0
- package/sparkdream/collect/v1/tx.registry.js +541 -0
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +76 -0
- package/sparkdream/collect/v1/tx.rpc.msg.js +190 -0
- package/sparkdream/collect/v1/types.d.ts +1205 -0
- package/sparkdream/collect/v1/types.js +3453 -0
- package/sparkdream/common/v1/content_type.d.ts +31 -0
- package/sparkdream/common/v1/content_type.js +101 -0
- package/sparkdream/common/v1/flag_record.d.ts +58 -0
- package/sparkdream/common/v1/flag_record.js +122 -0
- package/sparkdream/common/v1/moderation_reason.d.ts +35 -0
- package/sparkdream/common/v1/moderation_reason.js +120 -0
- package/sparkdream/commons/module/v1/module.d.ts +54 -0
- package/sparkdream/commons/module/v1/module.js +74 -0
- package/sparkdream/commons/v1/category.d.ts +60 -0
- package/sparkdream/commons/v1/category.js +124 -0
- package/sparkdream/commons/v1/genesis.d.ts +316 -0
- package/sparkdream/commons/v1/genesis.js +564 -0
- package/sparkdream/commons/v1/group.d.ts +529 -0
- package/sparkdream/commons/v1/group.js +1123 -0
- package/sparkdream/commons/v1/params.d.ts +48 -0
- package/sparkdream/commons/v1/params.js +81 -0
- package/sparkdream/commons/v1/policy_permissions.d.ts +48 -0
- package/sparkdream/commons/v1/policy_permissions.js +89 -0
- package/sparkdream/commons/v1/query.d.ts +1001 -0
- package/sparkdream/commons/v1/query.js +1632 -0
- package/sparkdream/commons/v1/query.lcd.d.ts +19 -0
- package/sparkdream/commons/v1/query.lcd.js +100 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/commons/v1/query.rpc.Query.js +125 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +98 -0
- package/sparkdream/commons/v1/tx.amino.js +102 -0
- package/sparkdream/commons/v1/tx.d.ts +2028 -0
- package/sparkdream/commons/v1/tx.js +3478 -0
- package/sparkdream/commons/v1/tx.registry.d.ts +241 -0
- package/sparkdream/commons/v1/tx.registry.js +361 -0
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +79 -0
- package/sparkdream/commons/v1/tx.rpc.msg.js +134 -0
- package/sparkdream/ecosystem/module/v1/module.d.ts +54 -0
- package/sparkdream/ecosystem/module/v1/module.js +74 -0
- package/sparkdream/ecosystem/v1/genesis.d.ts +53 -0
- package/sparkdream/ecosystem/v1/genesis.js +75 -0
- package/sparkdream/ecosystem/v1/params.d.ts +46 -0
- package/sparkdream/ecosystem/v1/params.js +68 -0
- package/sparkdream/ecosystem/v1/query.d.ts +95 -0
- package/sparkdream/ecosystem/v1/query.js +131 -0
- package/sparkdream/ecosystem/v1/query.lcd.d.ts +9 -0
- package/sparkdream/ecosystem/v1/query.lcd.js +15 -0
- package/sparkdream/ecosystem/v1/query.rpc.Query.d.ts +16 -0
- package/sparkdream/ecosystem/v1/query.rpc.Query.js +29 -0
- package/sparkdream/ecosystem/v1/tx.amino.d.ts +13 -0
- package/sparkdream/ecosystem/v1/tx.amino.js +17 -0
- package/sparkdream/ecosystem/v1/tx.d.ts +201 -0
- package/sparkdream/ecosystem/v1/tx.js +311 -0
- package/sparkdream/ecosystem/v1/tx.registry.d.ts +37 -0
- package/sparkdream/ecosystem/v1/tx.registry.js +55 -0
- package/sparkdream/ecosystem/v1/tx.rpc.msg.d.ts +19 -0
- package/sparkdream/ecosystem/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/federation/module/v1/module.d.ts +54 -0
- package/sparkdream/federation/module/v1/module.js +74 -0
- package/sparkdream/federation/v1/genesis.d.ts +78 -0
- package/sparkdream/federation/v1/genesis.js +247 -0
- package/sparkdream/federation/v1/packet.d.ts +397 -0
- package/sparkdream/federation/v1/packet.js +813 -0
- package/sparkdream/federation/v1/params.d.ts +272 -0
- package/sparkdream/federation/v1/params.js +792 -0
- package/sparkdream/federation/v1/query.d.ts +1541 -0
- package/sparkdream/federation/v1/query.js +2632 -0
- package/sparkdream/federation/v1/query.lcd.d.ts +26 -0
- package/sparkdream/federation/v1/query.lcd.js +156 -0
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +66 -0
- package/sparkdream/federation/v1/query.rpc.Query.js +194 -0
- package/sparkdream/federation/v1/tx.amino.d.ts +138 -0
- package/sparkdream/federation/v1/tx.amino.js +142 -0
- package/sparkdream/federation/v1/tx.d.ts +2311 -0
- package/sparkdream/federation/v1/tx.js +4203 -0
- package/sparkdream/federation/v1/tx.registry.d.ts +337 -0
- package/sparkdream/federation/v1/tx.registry.js +505 -0
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +64 -0
- package/sparkdream/federation/v1/tx.rpc.msg.js +178 -0
- package/sparkdream/federation/v1/types.d.ts +906 -0
- package/sparkdream/federation/v1/types.js +2588 -0
- package/sparkdream/forum/module/v1/module.d.ts +54 -0
- package/sparkdream/forum/module/v1/module.js +74 -0
- package/sparkdream/forum/v1/archive_metadata.d.ts +54 -0
- package/sparkdream/forum/v1/archive_metadata.js +122 -0
- package/sparkdream/forum/v1/bounty.d.ts +65 -0
- package/sparkdream/forum/v1/bounty.js +186 -0
- package/sparkdream/forum/v1/genesis.d.ts +94 -0
- package/sparkdream/forum/v1/genesis.js +295 -0
- package/sparkdream/forum/v1/hide_record.d.ts +61 -0
- package/sparkdream/forum/v1/hide_record.js +157 -0
- package/sparkdream/forum/v1/params.d.ts +450 -0
- package/sparkdream/forum/v1/params.js +870 -0
- package/sparkdream/forum/v1/post.d.ts +102 -0
- package/sparkdream/forum/v1/post.js +400 -0
- package/sparkdream/forum/v1/post_flag.d.ts +106 -0
- package/sparkdream/forum/v1/post_flag.js +257 -0
- package/sparkdream/forum/v1/query.d.ts +4197 -0
- package/sparkdream/forum/v1/query.js +7171 -0
- package/sparkdream/forum/v1/query.lcd.d.ts +54 -0
- package/sparkdream/forum/v1/query.lcd.js +424 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +196 -0
- package/sparkdream/forum/v1/query.rpc.Query.js +466 -0
- package/sparkdream/forum/v1/sentinel_activity.d.ts +106 -0
- package/sparkdream/forum/v1/sentinel_activity.js +400 -0
- package/sparkdream/forum/v1/thread_follow.d.ts +50 -0
- package/sparkdream/forum/v1/thread_follow.js +98 -0
- package/sparkdream/forum/v1/thread_follow_count.d.ts +48 -0
- package/sparkdream/forum/v1/thread_follow_count.js +86 -0
- package/sparkdream/forum/v1/thread_lock_record.d.ts +60 -0
- package/sparkdream/forum/v1/thread_lock_record.js +158 -0
- package/sparkdream/forum/v1/thread_metadata.d.ts +63 -0
- package/sparkdream/forum/v1/thread_metadata.js +187 -0
- package/sparkdream/forum/v1/thread_move_record.d.ts +64 -0
- package/sparkdream/forum/v1/thread_move_record.js +182 -0
- package/sparkdream/forum/v1/tx.amino.d.ts +178 -0
- package/sparkdream/forum/v1/tx.amino.js +182 -0
- package/sparkdream/forum/v1/tx.d.ts +3191 -0
- package/sparkdream/forum/v1/tx.js +5173 -0
- package/sparkdream/forum/v1/tx.registry.d.ts +433 -0
- package/sparkdream/forum/v1/tx.registry.js +649 -0
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +121 -0
- package/sparkdream/forum/v1/tx.rpc.msg.js +228 -0
- package/sparkdream/forum/v1/types.d.ts +171 -0
- package/sparkdream/forum/v1/types.js +553 -0
- package/sparkdream/forum/v1/user_rate_limit.d.ts +54 -0
- package/sparkdream/forum/v1/user_rate_limit.js +122 -0
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +52 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +110 -0
- package/sparkdream/futarchy/module/v1/module.d.ts +54 -0
- package/sparkdream/futarchy/module/v1/module.js +74 -0
- package/sparkdream/futarchy/v1/genesis.d.ts +56 -0
- package/sparkdream/futarchy/v1/genesis.js +91 -0
- package/sparkdream/futarchy/v1/market.d.ts +104 -0
- package/sparkdream/futarchy/v1/market.js +243 -0
- package/sparkdream/futarchy/v1/params.d.ts +171 -0
- package/sparkdream/futarchy/v1/params.js +244 -0
- package/sparkdream/futarchy/v1/query.d.ts +381 -0
- package/sparkdream/futarchy/v1/query.js +599 -0
- package/sparkdream/futarchy/v1/query.lcd.d.ts +12 -0
- package/sparkdream/futarchy/v1/query.lcd.js +49 -0
- package/sparkdream/futarchy/v1/query.rpc.Query.d.ts +28 -0
- package/sparkdream/futarchy/v1/query.rpc.Query.js +58 -0
- package/sparkdream/futarchy/v1/tx.amino.d.ts +38 -0
- package/sparkdream/futarchy/v1/tx.amino.js +42 -0
- package/sparkdream/futarchy/v1/tx.d.ts +688 -0
- package/sparkdream/futarchy/v1/tx.js +1100 -0
- package/sparkdream/futarchy/v1/tx.registry.d.ts +97 -0
- package/sparkdream/futarchy/v1/tx.registry.js +145 -0
- package/sparkdream/futarchy/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/futarchy/v1/tx.rpc.msg.js +60 -0
- package/sparkdream/lcd.d.ts +39 -0
- package/sparkdream/lcd.js +65 -0
- package/sparkdream/name/module/v1/module.d.ts +54 -0
- package/sparkdream/name/module/v1/module.js +74 -0
- package/sparkdream/name/v1/dispute.d.ts +216 -0
- package/sparkdream/name/v1/dispute.js +344 -0
- package/sparkdream/name/v1/genesis.d.ts +62 -0
- package/sparkdream/name/v1/genesis.js +123 -0
- package/sparkdream/name/v1/name_record.d.ts +50 -0
- package/sparkdream/name/v1/name_record.js +98 -0
- package/sparkdream/name/v1/owner_info.d.ts +50 -0
- package/sparkdream/name/v1/owner_info.js +98 -0
- package/sparkdream/name/v1/params.d.ts +165 -0
- package/sparkdream/name/v1/params.js +309 -0
- package/sparkdream/name/v1/query.d.ts +544 -0
- package/sparkdream/name/v1/query.js +866 -0
- package/sparkdream/name/v1/query.lcd.d.ts +14 -0
- package/sparkdream/name/v1/query.lcd.js +56 -0
- package/sparkdream/name/v1/query.rpc.Query.d.ts +36 -0
- package/sparkdream/name/v1/query.rpc.Query.js +76 -0
- package/sparkdream/name/v1/tx.amino.d.ts +43 -0
- package/sparkdream/name/v1/tx.amino.js +47 -0
- package/sparkdream/name/v1/tx.d.ts +804 -0
- package/sparkdream/name/v1/tx.js +1225 -0
- package/sparkdream/name/v1/tx.registry.d.ts +109 -0
- package/sparkdream/name/v1/tx.registry.js +163 -0
- package/sparkdream/name/v1/tx.rpc.msg.d.ts +43 -0
- package/sparkdream/name/v1/tx.rpc.msg.js +67 -0
- package/sparkdream/rep/module/v1/module.d.ts +54 -0
- package/sparkdream/rep/module/v1/module.js +74 -0
- package/sparkdream/rep/v1/accountability.d.ts +39 -0
- package/sparkdream/rep/v1/accountability.js +181 -0
- package/sparkdream/rep/v1/challenge.d.ts +74 -0
- package/sparkdream/rep/v1/challenge.js +231 -0
- package/sparkdream/rep/v1/content_challenge.d.ts +154 -0
- package/sparkdream/rep/v1/content_challenge.js +308 -0
- package/sparkdream/rep/v1/genesis.d.ts +253 -0
- package/sparkdream/rep/v1/genesis.js +692 -0
- package/sparkdream/rep/v1/gov_action_appeal.d.ts +69 -0
- package/sparkdream/rep/v1/gov_action_appeal.js +205 -0
- package/sparkdream/rep/v1/initiative.d.ts +140 -0
- package/sparkdream/rep/v1/initiative.js +567 -0
- package/sparkdream/rep/v1/interim.d.ts +163 -0
- package/sparkdream/rep/v1/interim.js +435 -0
- package/sparkdream/rep/v1/interim_template.d.ts +114 -0
- package/sparkdream/rep/v1/interim_template.js +296 -0
- package/sparkdream/rep/v1/invitation.d.ts +78 -0
- package/sparkdream/rep/v1/invitation.js +256 -0
- package/sparkdream/rep/v1/jury_participation.d.ts +56 -0
- package/sparkdream/rep/v1/jury_participation.js +134 -0
- package/sparkdream/rep/v1/jury_review.d.ts +235 -0
- package/sparkdream/rep/v1/jury_review.js +640 -0
- package/sparkdream/rep/v1/member.d.ts +424 -0
- package/sparkdream/rep/v1/member.js +888 -0
- package/sparkdream/rep/v1/member_report.d.ts +67 -0
- package/sparkdream/rep/v1/member_report.js +222 -0
- package/sparkdream/rep/v1/member_warning.d.ts +58 -0
- package/sparkdream/rep/v1/member_warning.js +159 -0
- package/sparkdream/rep/v1/params.d.ts +1074 -0
- package/sparkdream/rep/v1/params.js +2350 -0
- package/sparkdream/rep/v1/project.d.ts +172 -0
- package/sparkdream/rep/v1/project.js +566 -0
- package/sparkdream/rep/v1/query.d.ts +7098 -0
- package/sparkdream/rep/v1/query.js +12162 -0
- package/sparkdream/rep/v1/query.lcd.d.ts +85 -0
- package/sparkdream/rep/v1/query.lcd.js +667 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +320 -0
- package/sparkdream/rep/v1/query.rpc.Query.js +761 -0
- package/sparkdream/rep/v1/reserved_tag.d.ts +53 -0
- package/sparkdream/rep/v1/reserved_tag.js +99 -0
- package/sparkdream/rep/v1/sentinel_activity.d.ts +79 -0
- package/sparkdream/rep/v1/sentinel_activity.js +219 -0
- package/sparkdream/rep/v1/stake.d.ts +266 -0
- package/sparkdream/rep/v1/stake.js +580 -0
- package/sparkdream/rep/v1/tag.d.ts +57 -0
- package/sparkdream/rep/v1/tag.js +123 -0
- package/sparkdream/rep/v1/tag_budget.d.ts +58 -0
- package/sparkdream/rep/v1/tag_budget.js +146 -0
- package/sparkdream/rep/v1/tag_budget_award.d.ts +60 -0
- package/sparkdream/rep/v1/tag_budget_award.js +158 -0
- package/sparkdream/rep/v1/tag_report.d.ts +54 -0
- package/sparkdream/rep/v1/tag_report.js +125 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +238 -0
- package/sparkdream/rep/v1/tx.amino.js +242 -0
- package/sparkdream/rep/v1/tx.d.ts +4407 -0
- package/sparkdream/rep/v1/tx.js +7643 -0
- package/sparkdream/rep/v1/tx.registry.d.ts +577 -0
- package/sparkdream/rep/v1/tx.registry.js +865 -0
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +170 -0
- package/sparkdream/rep/v1/tx.rpc.msg.js +305 -0
- package/sparkdream/reveal/module/v1/module.d.ts +54 -0
- package/sparkdream/reveal/module/v1/module.js +74 -0
- package/sparkdream/reveal/v1/genesis.d.ts +64 -0
- package/sparkdream/reveal/v1/genesis.js +145 -0
- package/sparkdream/reveal/v1/params.d.ts +140 -0
- package/sparkdream/reveal/v1/params.js +238 -0
- package/sparkdream/reveal/v1/query.d.ts +949 -0
- package/sparkdream/reveal/v1/query.js +1703 -0
- package/sparkdream/reveal/v1/query.lcd.d.ts +19 -0
- package/sparkdream/reveal/v1/query.lcd.js +105 -0
- package/sparkdream/reveal/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/reveal/v1/query.rpc.Query.js +121 -0
- package/sparkdream/reveal/v1/tx.amino.d.ts +53 -0
- package/sparkdream/reveal/v1/tx.amino.js +57 -0
- package/sparkdream/reveal/v1/tx.d.ts +1043 -0
- package/sparkdream/reveal/v1/tx.js +1702 -0
- package/sparkdream/reveal/v1/tx.registry.d.ts +133 -0
- package/sparkdream/reveal/v1/tx.registry.js +199 -0
- package/sparkdream/reveal/v1/tx.rpc.msg.d.ts +43 -0
- package/sparkdream/reveal/v1/tx.rpc.msg.js +77 -0
- package/sparkdream/reveal/v1/types.d.ts +455 -0
- package/sparkdream/reveal/v1/types.js +1150 -0
- package/sparkdream/rpc.query.d.ts +352 -0
- package/sparkdream/rpc.query.js +39 -0
- package/sparkdream/rpc.tx.d.ts +39 -0
- package/sparkdream/rpc.tx.js +39 -0
- package/sparkdream/season/module/v1/module.d.ts +54 -0
- package/sparkdream/season/module/v1/module.js +74 -0
- package/sparkdream/season/v1/achievement.d.ts +101 -0
- package/sparkdream/season/v1/achievement.js +145 -0
- package/sparkdream/season/v1/display_name_appeal_stake.d.ts +68 -0
- package/sparkdream/season/v1/display_name_appeal_stake.js +98 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +60 -0
- package/sparkdream/season/v1/display_name_moderation.js +158 -0
- package/sparkdream/season/v1/display_name_report_stake.d.ts +68 -0
- package/sparkdream/season/v1/display_name_report_stake.js +98 -0
- package/sparkdream/season/v1/enums.d.ts +86 -0
- package/sparkdream/season/v1/enums.js +406 -0
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +54 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +122 -0
- package/sparkdream/season/v1/forum_xp_cooldown.d.ts +48 -0
- package/sparkdream/season/v1/forum_xp_cooldown.js +86 -0
- package/sparkdream/season/v1/genesis.d.ts +136 -0
- package/sparkdream/season/v1/genesis.js +485 -0
- package/sparkdream/season/v1/guild.d.ts +117 -0
- package/sparkdream/season/v1/guild.js +175 -0
- package/sparkdream/season/v1/guild_invite.d.ts +52 -0
- package/sparkdream/season/v1/guild_invite.js +110 -0
- package/sparkdream/season/v1/guild_membership.d.ts +54 -0
- package/sparkdream/season/v1/guild_membership.js +122 -0
- package/sparkdream/season/v1/member_profile.d.ts +196 -0
- package/sparkdream/season/v1/member_profile.js +299 -0
- package/sparkdream/season/v1/member_quest_progress.d.ts +84 -0
- package/sparkdream/season/v1/member_quest_progress.js +135 -0
- package/sparkdream/season/v1/member_registration.d.ts +48 -0
- package/sparkdream/season/v1/member_registration.js +86 -0
- package/sparkdream/season/v1/member_season_snapshot.d.ts +145 -0
- package/sparkdream/season/v1/member_season_snapshot.js +241 -0
- package/sparkdream/season/v1/next_season_info.d.ts +48 -0
- package/sparkdream/season/v1/next_season_info.js +86 -0
- package/sparkdream/season/v1/nomination.d.ts +194 -0
- package/sparkdream/season/v1/nomination.js +431 -0
- package/sparkdream/season/v1/params.d.ts +643 -0
- package/sparkdream/season/v1/params.js +1648 -0
- package/sparkdream/season/v1/query.d.ts +6199 -0
- package/sparkdream/season/v1/query.js +10574 -0
- package/sparkdream/season/v1/query.lcd.d.ts +76 -0
- package/sparkdream/season/v1/query.lcd.js +602 -0
- package/sparkdream/season/v1/query.rpc.Query.d.ts +284 -0
- package/sparkdream/season/v1/query.rpc.Query.js +678 -0
- package/sparkdream/season/v1/quest.d.ts +231 -0
- package/sparkdream/season/v1/quest.js +337 -0
- package/sparkdream/season/v1/season.d.ts +117 -0
- package/sparkdream/season/v1/season.js +169 -0
- package/sparkdream/season/v1/season_snapshot.d.ts +48 -0
- package/sparkdream/season/v1/season_snapshot.js +86 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +134 -0
- package/sparkdream/season/v1/season_title_eligibility.js +197 -0
- package/sparkdream/season/v1/season_transition_state.d.ts +93 -0
- package/sparkdream/season/v1/season_transition_state.js +133 -0
- package/sparkdream/season/v1/title.d.ts +109 -0
- package/sparkdream/season/v1/title.js +157 -0
- package/sparkdream/season/v1/transition_recovery_state.d.ts +85 -0
- package/sparkdream/season/v1/transition_recovery_state.js +121 -0
- package/sparkdream/season/v1/tx.amino.d.ts +218 -0
- package/sparkdream/season/v1/tx.amino.js +222 -0
- package/sparkdream/season/v1/tx.d.ts +4133 -0
- package/sparkdream/season/v1/tx.js +6827 -0
- package/sparkdream/season/v1/tx.registry.d.ts +529 -0
- package/sparkdream/season/v1/tx.registry.js +793 -0
- package/sparkdream/season/v1/tx.rpc.msg.d.ts +144 -0
- package/sparkdream/season/v1/tx.rpc.msg.js +277 -0
- package/sparkdream/season/v1/vote_xp_record.d.ts +48 -0
- package/sparkdream/season/v1/vote_xp_record.js +86 -0
- package/sparkdream/session/module/v1/module.d.ts +54 -0
- package/sparkdream/session/module/v1/module.js +74 -0
- package/sparkdream/session/v1/genesis.d.ts +62 -0
- package/sparkdream/session/v1/genesis.js +91 -0
- package/sparkdream/session/v1/params.d.ts +168 -0
- package/sparkdream/session/v1/params.js +278 -0
- package/sparkdream/session/v1/query.d.ts +423 -0
- package/sparkdream/session/v1/query.js +746 -0
- package/sparkdream/session/v1/query.lcd.d.ts +13 -0
- package/sparkdream/session/v1/query.lcd.js +49 -0
- package/sparkdream/session/v1/query.rpc.Query.d.ts +32 -0
- package/sparkdream/session/v1/query.rpc.Query.js +65 -0
- package/sparkdream/session/v1/session.d.ts +125 -0
- package/sparkdream/session/v1/session.js +188 -0
- package/sparkdream/session/v1/tx.amino.d.ts +28 -0
- package/sparkdream/session/v1/tx.amino.js +32 -0
- package/sparkdream/session/v1/tx.d.ts +481 -0
- package/sparkdream/session/v1/tx.js +771 -0
- package/sparkdream/session/v1/tx.registry.d.ts +73 -0
- package/sparkdream/session/v1/tx.registry.js +109 -0
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +31 -0
- package/sparkdream/session/v1/tx.rpc.msg.js +48 -0
- package/sparkdream/shield/module/v1/module.d.ts +54 -0
- package/sparkdream/shield/module/v1/module.js +74 -0
- package/sparkdream/shield/v1/genesis.d.ts +182 -0
- package/sparkdream/shield/v1/genesis.js +304 -0
- package/sparkdream/shield/v1/params.d.ts +192 -0
- package/sparkdream/shield/v1/params.js +285 -0
- package/sparkdream/shield/v1/query.d.ts +1406 -0
- package/sparkdream/shield/v1/query.js +2326 -0
- package/sparkdream/shield/v1/query.lcd.d.ts +25 -0
- package/sparkdream/shield/v1/query.lcd.js +114 -0
- package/sparkdream/shield/v1/query.rpc.Query.d.ts +80 -0
- package/sparkdream/shield/v1/query.rpc.Query.js +175 -0
- package/sparkdream/shield/v1/tx.amino.d.ts +28 -0
- package/sparkdream/shield/v1/tx.amino.js +32 -0
- package/sparkdream/shield/v1/tx.d.ts +542 -0
- package/sparkdream/shield/v1/tx.js +841 -0
- package/sparkdream/shield/v1/tx.registry.d.ts +73 -0
- package/sparkdream/shield/v1/tx.registry.js +109 -0
- package/sparkdream/shield/v1/tx.rpc.msg.d.ts +29 -0
- package/sparkdream/shield/v1/tx.rpc.msg.js +48 -0
- package/sparkdream/shield/v1/types.d.ts +1440 -0
- package/sparkdream/shield/v1/types.js +2440 -0
- package/sparkdream/split/module/v1/module.d.ts +54 -0
- package/sparkdream/split/module/v1/module.js +74 -0
- package/sparkdream/split/v1/genesis.d.ts +56 -0
- package/sparkdream/split/v1/genesis.js +91 -0
- package/sparkdream/split/v1/params.d.ts +46 -0
- package/sparkdream/split/v1/params.js +68 -0
- package/sparkdream/split/v1/query.d.ts +275 -0
- package/sparkdream/split/v1/query.js +424 -0
- package/sparkdream/split/v1/query.lcd.d.ts +11 -0
- package/sparkdream/split/v1/query.lcd.js +35 -0
- package/sparkdream/split/v1/query.rpc.Query.d.ts +24 -0
- package/sparkdream/split/v1/query.rpc.Query.js +49 -0
- package/sparkdream/split/v1/share.d.ts +48 -0
- package/sparkdream/split/v1/share.js +86 -0
- package/sparkdream/split/v1/tx.amino.d.ts +8 -0
- package/sparkdream/split/v1/tx.amino.js +12 -0
- package/sparkdream/split/v1/tx.d.ts +108 -0
- package/sparkdream/split/v1/tx.js +151 -0
- package/sparkdream/split/v1/tx.registry.d.ts +25 -0
- package/sparkdream/split/v1/tx.registry.js +37 -0
- package/sparkdream/split/v1/tx.rpc.msg.d.ts +16 -0
- package/sparkdream/split/v1/tx.rpc.msg.js +23 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { Decimal } from "@interchainjs/math";
|
|
4
|
+
export var InitiativeTier;
|
|
5
|
+
(function (InitiativeTier) {
|
|
6
|
+
InitiativeTier[InitiativeTier["INITIATIVE_TIER_APPRENTICE"] = 0] = "INITIATIVE_TIER_APPRENTICE";
|
|
7
|
+
InitiativeTier[InitiativeTier["INITIATIVE_TIER_STANDARD"] = 1] = "INITIATIVE_TIER_STANDARD";
|
|
8
|
+
InitiativeTier[InitiativeTier["INITIATIVE_TIER_EXPERT"] = 2] = "INITIATIVE_TIER_EXPERT";
|
|
9
|
+
InitiativeTier[InitiativeTier["INITIATIVE_TIER_EPIC"] = 3] = "INITIATIVE_TIER_EPIC";
|
|
10
|
+
InitiativeTier[InitiativeTier["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
11
|
+
})(InitiativeTier || (InitiativeTier = {}));
|
|
12
|
+
export const InitiativeTierAmino = InitiativeTier;
|
|
13
|
+
export function initiativeTierFromJSON(object) {
|
|
14
|
+
switch (object) {
|
|
15
|
+
case 0:
|
|
16
|
+
case "INITIATIVE_TIER_APPRENTICE":
|
|
17
|
+
return InitiativeTier.INITIATIVE_TIER_APPRENTICE;
|
|
18
|
+
case 1:
|
|
19
|
+
case "INITIATIVE_TIER_STANDARD":
|
|
20
|
+
return InitiativeTier.INITIATIVE_TIER_STANDARD;
|
|
21
|
+
case 2:
|
|
22
|
+
case "INITIATIVE_TIER_EXPERT":
|
|
23
|
+
return InitiativeTier.INITIATIVE_TIER_EXPERT;
|
|
24
|
+
case 3:
|
|
25
|
+
case "INITIATIVE_TIER_EPIC":
|
|
26
|
+
return InitiativeTier.INITIATIVE_TIER_EPIC;
|
|
27
|
+
case -1:
|
|
28
|
+
case "UNRECOGNIZED":
|
|
29
|
+
default:
|
|
30
|
+
return InitiativeTier.UNRECOGNIZED;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export function initiativeTierToJSON(object) {
|
|
34
|
+
switch (object) {
|
|
35
|
+
case InitiativeTier.INITIATIVE_TIER_APPRENTICE:
|
|
36
|
+
return "INITIATIVE_TIER_APPRENTICE";
|
|
37
|
+
case InitiativeTier.INITIATIVE_TIER_STANDARD:
|
|
38
|
+
return "INITIATIVE_TIER_STANDARD";
|
|
39
|
+
case InitiativeTier.INITIATIVE_TIER_EXPERT:
|
|
40
|
+
return "INITIATIVE_TIER_EXPERT";
|
|
41
|
+
case InitiativeTier.INITIATIVE_TIER_EPIC:
|
|
42
|
+
return "INITIATIVE_TIER_EPIC";
|
|
43
|
+
case InitiativeTier.UNRECOGNIZED:
|
|
44
|
+
default:
|
|
45
|
+
return "UNRECOGNIZED";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export var InitiativeCategory;
|
|
49
|
+
(function (InitiativeCategory) {
|
|
50
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_FEATURE"] = 0] = "INITIATIVE_CATEGORY_FEATURE";
|
|
51
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_BUGFIX"] = 1] = "INITIATIVE_CATEGORY_BUGFIX";
|
|
52
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_REFACTOR"] = 2] = "INITIATIVE_CATEGORY_REFACTOR";
|
|
53
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_TESTING"] = 3] = "INITIATIVE_CATEGORY_TESTING";
|
|
54
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_SECURITY"] = 4] = "INITIATIVE_CATEGORY_SECURITY";
|
|
55
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_DOCUMENTATION"] = 5] = "INITIATIVE_CATEGORY_DOCUMENTATION";
|
|
56
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_DESIGN"] = 6] = "INITIATIVE_CATEGORY_DESIGN";
|
|
57
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_RESEARCH"] = 7] = "INITIATIVE_CATEGORY_RESEARCH";
|
|
58
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_REVIEW"] = 8] = "INITIATIVE_CATEGORY_REVIEW";
|
|
59
|
+
InitiativeCategory[InitiativeCategory["INITIATIVE_CATEGORY_OTHER"] = 9] = "INITIATIVE_CATEGORY_OTHER";
|
|
60
|
+
InitiativeCategory[InitiativeCategory["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
61
|
+
})(InitiativeCategory || (InitiativeCategory = {}));
|
|
62
|
+
export const InitiativeCategoryAmino = InitiativeCategory;
|
|
63
|
+
export function initiativeCategoryFromJSON(object) {
|
|
64
|
+
switch (object) {
|
|
65
|
+
case 0:
|
|
66
|
+
case "INITIATIVE_CATEGORY_FEATURE":
|
|
67
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_FEATURE;
|
|
68
|
+
case 1:
|
|
69
|
+
case "INITIATIVE_CATEGORY_BUGFIX":
|
|
70
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_BUGFIX;
|
|
71
|
+
case 2:
|
|
72
|
+
case "INITIATIVE_CATEGORY_REFACTOR":
|
|
73
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_REFACTOR;
|
|
74
|
+
case 3:
|
|
75
|
+
case "INITIATIVE_CATEGORY_TESTING":
|
|
76
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_TESTING;
|
|
77
|
+
case 4:
|
|
78
|
+
case "INITIATIVE_CATEGORY_SECURITY":
|
|
79
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_SECURITY;
|
|
80
|
+
case 5:
|
|
81
|
+
case "INITIATIVE_CATEGORY_DOCUMENTATION":
|
|
82
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_DOCUMENTATION;
|
|
83
|
+
case 6:
|
|
84
|
+
case "INITIATIVE_CATEGORY_DESIGN":
|
|
85
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_DESIGN;
|
|
86
|
+
case 7:
|
|
87
|
+
case "INITIATIVE_CATEGORY_RESEARCH":
|
|
88
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_RESEARCH;
|
|
89
|
+
case 8:
|
|
90
|
+
case "INITIATIVE_CATEGORY_REVIEW":
|
|
91
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_REVIEW;
|
|
92
|
+
case 9:
|
|
93
|
+
case "INITIATIVE_CATEGORY_OTHER":
|
|
94
|
+
return InitiativeCategory.INITIATIVE_CATEGORY_OTHER;
|
|
95
|
+
case -1:
|
|
96
|
+
case "UNRECOGNIZED":
|
|
97
|
+
default:
|
|
98
|
+
return InitiativeCategory.UNRECOGNIZED;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export function initiativeCategoryToJSON(object) {
|
|
102
|
+
switch (object) {
|
|
103
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_FEATURE:
|
|
104
|
+
return "INITIATIVE_CATEGORY_FEATURE";
|
|
105
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_BUGFIX:
|
|
106
|
+
return "INITIATIVE_CATEGORY_BUGFIX";
|
|
107
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_REFACTOR:
|
|
108
|
+
return "INITIATIVE_CATEGORY_REFACTOR";
|
|
109
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_TESTING:
|
|
110
|
+
return "INITIATIVE_CATEGORY_TESTING";
|
|
111
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_SECURITY:
|
|
112
|
+
return "INITIATIVE_CATEGORY_SECURITY";
|
|
113
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_DOCUMENTATION:
|
|
114
|
+
return "INITIATIVE_CATEGORY_DOCUMENTATION";
|
|
115
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_DESIGN:
|
|
116
|
+
return "INITIATIVE_CATEGORY_DESIGN";
|
|
117
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_RESEARCH:
|
|
118
|
+
return "INITIATIVE_CATEGORY_RESEARCH";
|
|
119
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_REVIEW:
|
|
120
|
+
return "INITIATIVE_CATEGORY_REVIEW";
|
|
121
|
+
case InitiativeCategory.INITIATIVE_CATEGORY_OTHER:
|
|
122
|
+
return "INITIATIVE_CATEGORY_OTHER";
|
|
123
|
+
case InitiativeCategory.UNRECOGNIZED:
|
|
124
|
+
default:
|
|
125
|
+
return "UNRECOGNIZED";
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export var InitiativeStatus;
|
|
129
|
+
(function (InitiativeStatus) {
|
|
130
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_OPEN"] = 0] = "INITIATIVE_STATUS_OPEN";
|
|
131
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_ASSIGNED"] = 1] = "INITIATIVE_STATUS_ASSIGNED";
|
|
132
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_SUBMITTED"] = 2] = "INITIATIVE_STATUS_SUBMITTED";
|
|
133
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_IN_REVIEW"] = 3] = "INITIATIVE_STATUS_IN_REVIEW";
|
|
134
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_CHALLENGED"] = 4] = "INITIATIVE_STATUS_CHALLENGED";
|
|
135
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_COMPLETED"] = 5] = "INITIATIVE_STATUS_COMPLETED";
|
|
136
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_REJECTED"] = 6] = "INITIATIVE_STATUS_REJECTED";
|
|
137
|
+
InitiativeStatus[InitiativeStatus["INITIATIVE_STATUS_ABANDONED"] = 7] = "INITIATIVE_STATUS_ABANDONED";
|
|
138
|
+
InitiativeStatus[InitiativeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
139
|
+
})(InitiativeStatus || (InitiativeStatus = {}));
|
|
140
|
+
export const InitiativeStatusAmino = InitiativeStatus;
|
|
141
|
+
export function initiativeStatusFromJSON(object) {
|
|
142
|
+
switch (object) {
|
|
143
|
+
case 0:
|
|
144
|
+
case "INITIATIVE_STATUS_OPEN":
|
|
145
|
+
return InitiativeStatus.INITIATIVE_STATUS_OPEN;
|
|
146
|
+
case 1:
|
|
147
|
+
case "INITIATIVE_STATUS_ASSIGNED":
|
|
148
|
+
return InitiativeStatus.INITIATIVE_STATUS_ASSIGNED;
|
|
149
|
+
case 2:
|
|
150
|
+
case "INITIATIVE_STATUS_SUBMITTED":
|
|
151
|
+
return InitiativeStatus.INITIATIVE_STATUS_SUBMITTED;
|
|
152
|
+
case 3:
|
|
153
|
+
case "INITIATIVE_STATUS_IN_REVIEW":
|
|
154
|
+
return InitiativeStatus.INITIATIVE_STATUS_IN_REVIEW;
|
|
155
|
+
case 4:
|
|
156
|
+
case "INITIATIVE_STATUS_CHALLENGED":
|
|
157
|
+
return InitiativeStatus.INITIATIVE_STATUS_CHALLENGED;
|
|
158
|
+
case 5:
|
|
159
|
+
case "INITIATIVE_STATUS_COMPLETED":
|
|
160
|
+
return InitiativeStatus.INITIATIVE_STATUS_COMPLETED;
|
|
161
|
+
case 6:
|
|
162
|
+
case "INITIATIVE_STATUS_REJECTED":
|
|
163
|
+
return InitiativeStatus.INITIATIVE_STATUS_REJECTED;
|
|
164
|
+
case 7:
|
|
165
|
+
case "INITIATIVE_STATUS_ABANDONED":
|
|
166
|
+
return InitiativeStatus.INITIATIVE_STATUS_ABANDONED;
|
|
167
|
+
case -1:
|
|
168
|
+
case "UNRECOGNIZED":
|
|
169
|
+
default:
|
|
170
|
+
return InitiativeStatus.UNRECOGNIZED;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
export function initiativeStatusToJSON(object) {
|
|
174
|
+
switch (object) {
|
|
175
|
+
case InitiativeStatus.INITIATIVE_STATUS_OPEN:
|
|
176
|
+
return "INITIATIVE_STATUS_OPEN";
|
|
177
|
+
case InitiativeStatus.INITIATIVE_STATUS_ASSIGNED:
|
|
178
|
+
return "INITIATIVE_STATUS_ASSIGNED";
|
|
179
|
+
case InitiativeStatus.INITIATIVE_STATUS_SUBMITTED:
|
|
180
|
+
return "INITIATIVE_STATUS_SUBMITTED";
|
|
181
|
+
case InitiativeStatus.INITIATIVE_STATUS_IN_REVIEW:
|
|
182
|
+
return "INITIATIVE_STATUS_IN_REVIEW";
|
|
183
|
+
case InitiativeStatus.INITIATIVE_STATUS_CHALLENGED:
|
|
184
|
+
return "INITIATIVE_STATUS_CHALLENGED";
|
|
185
|
+
case InitiativeStatus.INITIATIVE_STATUS_COMPLETED:
|
|
186
|
+
return "INITIATIVE_STATUS_COMPLETED";
|
|
187
|
+
case InitiativeStatus.INITIATIVE_STATUS_REJECTED:
|
|
188
|
+
return "INITIATIVE_STATUS_REJECTED";
|
|
189
|
+
case InitiativeStatus.INITIATIVE_STATUS_ABANDONED:
|
|
190
|
+
return "INITIATIVE_STATUS_ABANDONED";
|
|
191
|
+
case InitiativeStatus.UNRECOGNIZED:
|
|
192
|
+
default:
|
|
193
|
+
return "UNRECOGNIZED";
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function createBaseInitiative() {
|
|
197
|
+
return {
|
|
198
|
+
id: BigInt(0),
|
|
199
|
+
projectId: BigInt(0),
|
|
200
|
+
title: "",
|
|
201
|
+
description: "",
|
|
202
|
+
tags: [],
|
|
203
|
+
tier: 0,
|
|
204
|
+
category: 0,
|
|
205
|
+
templateId: "",
|
|
206
|
+
budget: "",
|
|
207
|
+
assignee: "",
|
|
208
|
+
apprentice: "",
|
|
209
|
+
assignedAt: BigInt(0),
|
|
210
|
+
deliverableUri: "",
|
|
211
|
+
submittedAt: BigInt(0),
|
|
212
|
+
requiredConviction: "",
|
|
213
|
+
currentConviction: "",
|
|
214
|
+
externalConviction: "",
|
|
215
|
+
convictionLastUpdated: BigInt(0),
|
|
216
|
+
reviewPeriodEnd: BigInt(0),
|
|
217
|
+
challengePeriodEnd: BigInt(0),
|
|
218
|
+
approvals: [],
|
|
219
|
+
status: 0,
|
|
220
|
+
createdAt: BigInt(0),
|
|
221
|
+
completedAt: BigInt(0),
|
|
222
|
+
propagatedConviction: ""
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Initiative defines the Initiative message.
|
|
227
|
+
* @name Initiative
|
|
228
|
+
* @package sparkdream.rep.v1
|
|
229
|
+
* @see proto type: sparkdream.rep.v1.Initiative
|
|
230
|
+
*/
|
|
231
|
+
export const Initiative = {
|
|
232
|
+
typeUrl: "/sparkdream.rep.v1.Initiative",
|
|
233
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
234
|
+
if (message.id !== BigInt(0)) {
|
|
235
|
+
writer.uint32(8).uint64(message.id);
|
|
236
|
+
}
|
|
237
|
+
if (message.projectId !== BigInt(0)) {
|
|
238
|
+
writer.uint32(16).uint64(message.projectId);
|
|
239
|
+
}
|
|
240
|
+
if (message.title !== "") {
|
|
241
|
+
writer.uint32(26).string(message.title);
|
|
242
|
+
}
|
|
243
|
+
if (message.description !== "") {
|
|
244
|
+
writer.uint32(34).string(message.description);
|
|
245
|
+
}
|
|
246
|
+
for (const v of message.tags) {
|
|
247
|
+
writer.uint32(42).string(v);
|
|
248
|
+
}
|
|
249
|
+
if (message.tier !== 0) {
|
|
250
|
+
writer.uint32(48).int32(message.tier);
|
|
251
|
+
}
|
|
252
|
+
if (message.category !== 0) {
|
|
253
|
+
writer.uint32(56).int32(message.category);
|
|
254
|
+
}
|
|
255
|
+
if (message.templateId !== "") {
|
|
256
|
+
writer.uint32(66).string(message.templateId);
|
|
257
|
+
}
|
|
258
|
+
if (message.budget !== "") {
|
|
259
|
+
writer.uint32(74).string(message.budget);
|
|
260
|
+
}
|
|
261
|
+
if (message.assignee !== "") {
|
|
262
|
+
writer.uint32(82).string(message.assignee);
|
|
263
|
+
}
|
|
264
|
+
if (message.apprentice !== "") {
|
|
265
|
+
writer.uint32(90).string(message.apprentice);
|
|
266
|
+
}
|
|
267
|
+
if (message.assignedAt !== BigInt(0)) {
|
|
268
|
+
writer.uint32(96).int64(message.assignedAt);
|
|
269
|
+
}
|
|
270
|
+
if (message.deliverableUri !== "") {
|
|
271
|
+
writer.uint32(106).string(message.deliverableUri);
|
|
272
|
+
}
|
|
273
|
+
if (message.submittedAt !== BigInt(0)) {
|
|
274
|
+
writer.uint32(112).int64(message.submittedAt);
|
|
275
|
+
}
|
|
276
|
+
if (message.requiredConviction !== "") {
|
|
277
|
+
writer.uint32(122).string(Decimal.fromUserInput(message.requiredConviction, 18).atomics);
|
|
278
|
+
}
|
|
279
|
+
if (message.currentConviction !== "") {
|
|
280
|
+
writer.uint32(130).string(Decimal.fromUserInput(message.currentConviction, 18).atomics);
|
|
281
|
+
}
|
|
282
|
+
if (message.externalConviction !== "") {
|
|
283
|
+
writer.uint32(138).string(Decimal.fromUserInput(message.externalConviction, 18).atomics);
|
|
284
|
+
}
|
|
285
|
+
if (message.convictionLastUpdated !== BigInt(0)) {
|
|
286
|
+
writer.uint32(144).int64(message.convictionLastUpdated);
|
|
287
|
+
}
|
|
288
|
+
if (message.reviewPeriodEnd !== BigInt(0)) {
|
|
289
|
+
writer.uint32(152).int64(message.reviewPeriodEnd);
|
|
290
|
+
}
|
|
291
|
+
if (message.challengePeriodEnd !== BigInt(0)) {
|
|
292
|
+
writer.uint32(160).int64(message.challengePeriodEnd);
|
|
293
|
+
}
|
|
294
|
+
for (const v of message.approvals) {
|
|
295
|
+
writer.uint32(170).string(v);
|
|
296
|
+
}
|
|
297
|
+
if (message.status !== 0) {
|
|
298
|
+
writer.uint32(176).int32(message.status);
|
|
299
|
+
}
|
|
300
|
+
if (message.createdAt !== BigInt(0)) {
|
|
301
|
+
writer.uint32(184).int64(message.createdAt);
|
|
302
|
+
}
|
|
303
|
+
if (message.completedAt !== BigInt(0)) {
|
|
304
|
+
writer.uint32(192).int64(message.completedAt);
|
|
305
|
+
}
|
|
306
|
+
if (message.propagatedConviction !== "") {
|
|
307
|
+
writer.uint32(202).string(Decimal.fromUserInput(message.propagatedConviction, 18).atomics);
|
|
308
|
+
}
|
|
309
|
+
return writer;
|
|
310
|
+
},
|
|
311
|
+
decode(input, length) {
|
|
312
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
313
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
314
|
+
const message = createBaseInitiative();
|
|
315
|
+
while (reader.pos < end) {
|
|
316
|
+
const tag = reader.uint32();
|
|
317
|
+
switch (tag >>> 3) {
|
|
318
|
+
case 1:
|
|
319
|
+
message.id = reader.uint64();
|
|
320
|
+
break;
|
|
321
|
+
case 2:
|
|
322
|
+
message.projectId = reader.uint64();
|
|
323
|
+
break;
|
|
324
|
+
case 3:
|
|
325
|
+
message.title = reader.string();
|
|
326
|
+
break;
|
|
327
|
+
case 4:
|
|
328
|
+
message.description = reader.string();
|
|
329
|
+
break;
|
|
330
|
+
case 5:
|
|
331
|
+
message.tags.push(reader.string());
|
|
332
|
+
break;
|
|
333
|
+
case 6:
|
|
334
|
+
message.tier = reader.int32();
|
|
335
|
+
break;
|
|
336
|
+
case 7:
|
|
337
|
+
message.category = reader.int32();
|
|
338
|
+
break;
|
|
339
|
+
case 8:
|
|
340
|
+
message.templateId = reader.string();
|
|
341
|
+
break;
|
|
342
|
+
case 9:
|
|
343
|
+
message.budget = reader.string();
|
|
344
|
+
break;
|
|
345
|
+
case 10:
|
|
346
|
+
message.assignee = reader.string();
|
|
347
|
+
break;
|
|
348
|
+
case 11:
|
|
349
|
+
message.apprentice = reader.string();
|
|
350
|
+
break;
|
|
351
|
+
case 12:
|
|
352
|
+
message.assignedAt = reader.int64();
|
|
353
|
+
break;
|
|
354
|
+
case 13:
|
|
355
|
+
message.deliverableUri = reader.string();
|
|
356
|
+
break;
|
|
357
|
+
case 14:
|
|
358
|
+
message.submittedAt = reader.int64();
|
|
359
|
+
break;
|
|
360
|
+
case 15:
|
|
361
|
+
message.requiredConviction = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
362
|
+
break;
|
|
363
|
+
case 16:
|
|
364
|
+
message.currentConviction = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
365
|
+
break;
|
|
366
|
+
case 17:
|
|
367
|
+
message.externalConviction = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
368
|
+
break;
|
|
369
|
+
case 18:
|
|
370
|
+
message.convictionLastUpdated = reader.int64();
|
|
371
|
+
break;
|
|
372
|
+
case 19:
|
|
373
|
+
message.reviewPeriodEnd = reader.int64();
|
|
374
|
+
break;
|
|
375
|
+
case 20:
|
|
376
|
+
message.challengePeriodEnd = reader.int64();
|
|
377
|
+
break;
|
|
378
|
+
case 21:
|
|
379
|
+
message.approvals.push(reader.string());
|
|
380
|
+
break;
|
|
381
|
+
case 22:
|
|
382
|
+
message.status = reader.int32();
|
|
383
|
+
break;
|
|
384
|
+
case 23:
|
|
385
|
+
message.createdAt = reader.int64();
|
|
386
|
+
break;
|
|
387
|
+
case 24:
|
|
388
|
+
message.completedAt = reader.int64();
|
|
389
|
+
break;
|
|
390
|
+
case 25:
|
|
391
|
+
message.propagatedConviction = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
392
|
+
break;
|
|
393
|
+
default:
|
|
394
|
+
reader.skipType(tag & 7);
|
|
395
|
+
break;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
return message;
|
|
399
|
+
},
|
|
400
|
+
fromPartial(object) {
|
|
401
|
+
const message = createBaseInitiative();
|
|
402
|
+
message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0);
|
|
403
|
+
message.projectId = object.projectId !== undefined && object.projectId !== null ? BigInt(object.projectId.toString()) : BigInt(0);
|
|
404
|
+
message.title = object.title ?? "";
|
|
405
|
+
message.description = object.description ?? "";
|
|
406
|
+
message.tags = object.tags?.map(e => e) || [];
|
|
407
|
+
message.tier = object.tier ?? 0;
|
|
408
|
+
message.category = object.category ?? 0;
|
|
409
|
+
message.templateId = object.templateId ?? "";
|
|
410
|
+
message.budget = object.budget ?? "";
|
|
411
|
+
message.assignee = object.assignee ?? "";
|
|
412
|
+
message.apprentice = object.apprentice ?? "";
|
|
413
|
+
message.assignedAt = object.assignedAt !== undefined && object.assignedAt !== null ? BigInt(object.assignedAt.toString()) : BigInt(0);
|
|
414
|
+
message.deliverableUri = object.deliverableUri ?? "";
|
|
415
|
+
message.submittedAt = object.submittedAt !== undefined && object.submittedAt !== null ? BigInt(object.submittedAt.toString()) : BigInt(0);
|
|
416
|
+
message.requiredConviction = object.requiredConviction ?? "";
|
|
417
|
+
message.currentConviction = object.currentConviction ?? "";
|
|
418
|
+
message.externalConviction = object.externalConviction ?? "";
|
|
419
|
+
message.convictionLastUpdated = object.convictionLastUpdated !== undefined && object.convictionLastUpdated !== null ? BigInt(object.convictionLastUpdated.toString()) : BigInt(0);
|
|
420
|
+
message.reviewPeriodEnd = object.reviewPeriodEnd !== undefined && object.reviewPeriodEnd !== null ? BigInt(object.reviewPeriodEnd.toString()) : BigInt(0);
|
|
421
|
+
message.challengePeriodEnd = object.challengePeriodEnd !== undefined && object.challengePeriodEnd !== null ? BigInt(object.challengePeriodEnd.toString()) : BigInt(0);
|
|
422
|
+
message.approvals = object.approvals?.map(e => e) || [];
|
|
423
|
+
message.status = object.status ?? 0;
|
|
424
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
425
|
+
message.completedAt = object.completedAt !== undefined && object.completedAt !== null ? BigInt(object.completedAt.toString()) : BigInt(0);
|
|
426
|
+
message.propagatedConviction = object.propagatedConviction ?? "";
|
|
427
|
+
return message;
|
|
428
|
+
},
|
|
429
|
+
fromAmino(object) {
|
|
430
|
+
const message = createBaseInitiative();
|
|
431
|
+
if (object.id !== undefined && object.id !== null) {
|
|
432
|
+
message.id = BigInt(object.id);
|
|
433
|
+
}
|
|
434
|
+
if (object.project_id !== undefined && object.project_id !== null) {
|
|
435
|
+
message.projectId = BigInt(object.project_id);
|
|
436
|
+
}
|
|
437
|
+
if (object.title !== undefined && object.title !== null) {
|
|
438
|
+
message.title = object.title;
|
|
439
|
+
}
|
|
440
|
+
if (object.description !== undefined && object.description !== null) {
|
|
441
|
+
message.description = object.description;
|
|
442
|
+
}
|
|
443
|
+
message.tags = object.tags?.map(e => e) || [];
|
|
444
|
+
if (object.tier !== undefined && object.tier !== null) {
|
|
445
|
+
message.tier = object.tier;
|
|
446
|
+
}
|
|
447
|
+
if (object.category !== undefined && object.category !== null) {
|
|
448
|
+
message.category = object.category;
|
|
449
|
+
}
|
|
450
|
+
if (object.template_id !== undefined && object.template_id !== null) {
|
|
451
|
+
message.templateId = object.template_id;
|
|
452
|
+
}
|
|
453
|
+
if (object.budget !== undefined && object.budget !== null) {
|
|
454
|
+
message.budget = object.budget;
|
|
455
|
+
}
|
|
456
|
+
if (object.assignee !== undefined && object.assignee !== null) {
|
|
457
|
+
message.assignee = object.assignee;
|
|
458
|
+
}
|
|
459
|
+
if (object.apprentice !== undefined && object.apprentice !== null) {
|
|
460
|
+
message.apprentice = object.apprentice;
|
|
461
|
+
}
|
|
462
|
+
if (object.assigned_at !== undefined && object.assigned_at !== null) {
|
|
463
|
+
message.assignedAt = BigInt(object.assigned_at);
|
|
464
|
+
}
|
|
465
|
+
if (object.deliverable_uri !== undefined && object.deliverable_uri !== null) {
|
|
466
|
+
message.deliverableUri = object.deliverable_uri;
|
|
467
|
+
}
|
|
468
|
+
if (object.submitted_at !== undefined && object.submitted_at !== null) {
|
|
469
|
+
message.submittedAt = BigInt(object.submitted_at);
|
|
470
|
+
}
|
|
471
|
+
if (object.required_conviction !== undefined && object.required_conviction !== null) {
|
|
472
|
+
message.requiredConviction = object.required_conviction;
|
|
473
|
+
}
|
|
474
|
+
if (object.current_conviction !== undefined && object.current_conviction !== null) {
|
|
475
|
+
message.currentConviction = object.current_conviction;
|
|
476
|
+
}
|
|
477
|
+
if (object.external_conviction !== undefined && object.external_conviction !== null) {
|
|
478
|
+
message.externalConviction = object.external_conviction;
|
|
479
|
+
}
|
|
480
|
+
if (object.conviction_last_updated !== undefined && object.conviction_last_updated !== null) {
|
|
481
|
+
message.convictionLastUpdated = BigInt(object.conviction_last_updated);
|
|
482
|
+
}
|
|
483
|
+
if (object.review_period_end !== undefined && object.review_period_end !== null) {
|
|
484
|
+
message.reviewPeriodEnd = BigInt(object.review_period_end);
|
|
485
|
+
}
|
|
486
|
+
if (object.challenge_period_end !== undefined && object.challenge_period_end !== null) {
|
|
487
|
+
message.challengePeriodEnd = BigInt(object.challenge_period_end);
|
|
488
|
+
}
|
|
489
|
+
message.approvals = object.approvals?.map(e => e) || [];
|
|
490
|
+
if (object.status !== undefined && object.status !== null) {
|
|
491
|
+
message.status = object.status;
|
|
492
|
+
}
|
|
493
|
+
if (object.created_at !== undefined && object.created_at !== null) {
|
|
494
|
+
message.createdAt = BigInt(object.created_at);
|
|
495
|
+
}
|
|
496
|
+
if (object.completed_at !== undefined && object.completed_at !== null) {
|
|
497
|
+
message.completedAt = BigInt(object.completed_at);
|
|
498
|
+
}
|
|
499
|
+
if (object.propagated_conviction !== undefined && object.propagated_conviction !== null) {
|
|
500
|
+
message.propagatedConviction = object.propagated_conviction;
|
|
501
|
+
}
|
|
502
|
+
return message;
|
|
503
|
+
},
|
|
504
|
+
toAmino(message) {
|
|
505
|
+
const obj = {};
|
|
506
|
+
obj.id = message.id !== BigInt(0) ? message.id?.toString() : undefined;
|
|
507
|
+
obj.project_id = message.projectId !== BigInt(0) ? message.projectId?.toString() : undefined;
|
|
508
|
+
obj.title = message.title === "" ? undefined : message.title;
|
|
509
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
510
|
+
if (message.tags) {
|
|
511
|
+
obj.tags = message.tags.map(e => e);
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
obj.tags = message.tags;
|
|
515
|
+
}
|
|
516
|
+
obj.tier = message.tier === 0 ? undefined : message.tier;
|
|
517
|
+
obj.category = message.category === 0 ? undefined : message.category;
|
|
518
|
+
obj.template_id = message.templateId === "" ? undefined : message.templateId;
|
|
519
|
+
obj.budget = message.budget === "" ? undefined : message.budget;
|
|
520
|
+
obj.assignee = message.assignee === "" ? undefined : message.assignee;
|
|
521
|
+
obj.apprentice = message.apprentice === "" ? undefined : message.apprentice;
|
|
522
|
+
obj.assigned_at = message.assignedAt !== BigInt(0) ? message.assignedAt?.toString() : undefined;
|
|
523
|
+
obj.deliverable_uri = message.deliverableUri === "" ? undefined : message.deliverableUri;
|
|
524
|
+
obj.submitted_at = message.submittedAt !== BigInt(0) ? message.submittedAt?.toString() : undefined;
|
|
525
|
+
obj.required_conviction = message.requiredConviction === "" ? undefined : message.requiredConviction;
|
|
526
|
+
obj.current_conviction = message.currentConviction === "" ? undefined : message.currentConviction;
|
|
527
|
+
obj.external_conviction = message.externalConviction === "" ? undefined : message.externalConviction;
|
|
528
|
+
obj.conviction_last_updated = message.convictionLastUpdated !== BigInt(0) ? message.convictionLastUpdated?.toString() : undefined;
|
|
529
|
+
obj.review_period_end = message.reviewPeriodEnd !== BigInt(0) ? message.reviewPeriodEnd?.toString() : undefined;
|
|
530
|
+
obj.challenge_period_end = message.challengePeriodEnd !== BigInt(0) ? message.challengePeriodEnd?.toString() : undefined;
|
|
531
|
+
if (message.approvals) {
|
|
532
|
+
obj.approvals = message.approvals.map(e => e);
|
|
533
|
+
}
|
|
534
|
+
else {
|
|
535
|
+
obj.approvals = message.approvals;
|
|
536
|
+
}
|
|
537
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
538
|
+
obj.created_at = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
539
|
+
obj.completed_at = message.completedAt !== BigInt(0) ? message.completedAt?.toString() : undefined;
|
|
540
|
+
obj.propagated_conviction = message.propagatedConviction === "" ? undefined : message.propagatedConviction;
|
|
541
|
+
return obj;
|
|
542
|
+
},
|
|
543
|
+
fromAminoMsg(object) {
|
|
544
|
+
return Initiative.fromAmino(object.value);
|
|
545
|
+
},
|
|
546
|
+
fromProtoMsg(message) {
|
|
547
|
+
return Initiative.decode(message.value);
|
|
548
|
+
},
|
|
549
|
+
toProto(message) {
|
|
550
|
+
return Initiative.encode(message).finish();
|
|
551
|
+
},
|
|
552
|
+
toProtoMsg(message) {
|
|
553
|
+
return {
|
|
554
|
+
typeUrl: "/sparkdream.rep.v1.Initiative",
|
|
555
|
+
value: Initiative.encode(message).finish()
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
};
|