package de.fete.domain.port.in;

import de.fete.domain.model.Event;
import de.fete.domain.model.EventToken;
import java.util.Optional;

/** Inbound port for retrieving a public event by its token. */
public interface GetEventUseCase {

  /** Finds an event by its public event token. */
  Optional<Event> getByEventToken(EventToken eventToken);
}
