1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#![cfg_attr(not(feature = "std"), no_std)]

use codec::Codec;
use sp_std::vec::Vec;

sp_api::decl_runtime_apis! {
    pub trait ProfileFollowsApi<AccountId> where
        AccountId: Codec
    {
        fn filter_followed_accounts(account: AccountId, maybe_following: Vec<AccountId>) -> Vec<AccountId>;
    }
}