import { Raid, Signup, User } from "../../Types/Types"

export type RaidManagerIfc = {
    RaidManager:{
        getRaids: () => Promise<Raid[]>
    }
}

export type RaidManagerFeatureIfc = {
    manageRaid: {
        createRaid: (raid:Raid) => Promise<any>
        addSignup: (signup: Signup) => Promise<any>
        removeSignup: (signup: Signup) => Promise<any>    
    }
    signup: {
        getRaids: () => Promise<Raid[]>
        getSingups: (raid:Raid) => Promise<Signup[]>
        sign: (user:User, raid:Raid, attending:boolean) => Promise<any>
    }
}