UNPKG

steem-auth-vue

Version:

A Vue 3 authentication component for Steem blockchain and MeeRay sidechain

21 lines (20 loc) 2.02 kB
export type OperationType = 'transfer' | 'vote' | 'comment' | 'delete_comment' | 'follow' | 'unfollow' | 'custom_json' | 'transfer_to_savings' | 'transfer_from_savings' | 'escrow_transfer' | 'escrow_release' | 'escrow_approve' | 'escrow_cancel' | 'delegate_vesting_shares' | 'set_withdraw_vesting_route' | 'witness_update' | 'create_claimed_account' | 'create_proposal' | 'update_proposal' | 'remove_proposal' | 'limit_order_create' | 'limit_order_cancel' | 'feed_publish' | 'market_order_create' | 'market_order_cancel' | 'claim_reward_balance' | 'transfer_to_vesting' | 'withdraw_vesting' | 'price' | 'convert' | 'account_create' | 'account_update' | 'account_witness_vote' | 'account_witness_proxy' | 'pow' | 'custom' | 'comment_options' | 'limit_order_create2' | 'claim_account' | 'request_account_recovery' | 'recover_account' | 'change_recovery_account' | 'escrow_dispute' | 'pow2' | 'cancel_transfer_from_savings' | 'custom_binary' | 'decline_voting_rights' | 'reset_account' | 'set_reset_account' | 'claim_reward_balance2' | 'vote2' | 'smt_create' | 'smt_setup' | 'smt_setup_emissions' | 'smt_setup_ico_tier' | 'smt_set_setup_parameters' | 'smt_set_runtime_parameters' | 'smt_contribute' | 'fill_convert_request' | 'comment_reward' | 'liquidity_reward' | 'interest' | 'fill_vesting_withdraw' | 'fill_order' | 'fill_transfer_from_savings' | 'account_create_with_delegation' | 'witness_set_properties' | 'account_update2' | 'update_proposal_votes'; export type AuthType = 'posting' | 'active' | 'owner'; export interface FieldDefinition { type: 'string' | 'number' | 'boolean' | 'json' | 'array' | 'date'; value: any; label: string; required?: boolean; options?: string[]; min?: number; max?: number; step?: number; } export interface OperationDefinition { type: OperationType; requiredAuth: AuthType; fields: Record<string, FieldDefinition>; label: string; description?: string; } export declare const operations: OperationDefinition[];