steem-auth-vue-temp
Version:
A Vue 3 authentication component for Steem blockchain and Echelon sidechain
16 lines (15 loc) • 828 B
TypeScript
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';
type AuthType = 'posting' | 'active' | 'owner';
interface FieldDefinition {
type: 'string' | 'number' | 'boolean' | 'date' | 'array';
value: string | number | boolean | object;
}
export interface OperationDefinition {
type: OperationType;
requiredAuth: AuthType;
fields: {
[key: string]: FieldDefinition;
};
}
export declare const operations: OperationDefinition[];
export {};