import * as ActionTypes from '../actionTypes'
import { SetMetadataEvent } from './types'
import { Event } from 'nostr-tools'

export const setMetadataEvent = (payload: Event): SetMetadataEvent => ({
  type: ActionTypes.SET_METADATA_EVENT,
  payload
})
