repo_description: Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿
repo_topics: blockchain crypto dapp graphql hacktoberfest lens-protocol nextjs react social-media tailwindcss turborepo typescript vitest wagmi web3
code: import type { PostActionConfigInput } from "@/indexer/generated";
  import type { CollectActionType } from "@/types/hey";
  
  const collectActionParams = (
    collectAction: CollectActionType
  ): PostActionConfigInput | null => {
    const { payToCollect, collectLimit, endsAt } = collectAction;
  
    return {
      simpleCollect: { collectLimit, endsAt, payToCollect }
    };
  };
  
  export default collectActionParams;
  