@churchapps/helpers
Version:
Library of helper functions not specific to any one ChurchApps project or framework.
14 lines (12 loc) • 519 B
text/typescript
import { LoginUserChurchInterface, UserInterface } from "./Access";
import { PersonInterface } from "./Membership";
export interface UserContextInterface {
user: UserInterface;
setUser: (user: UserInterface) => void;
person: PersonInterface;
setPerson: (person: PersonInterface) => void;
userChurch: LoginUserChurchInterface;
setUserChurch: (userChurch: LoginUserChurchInterface) => void;
userChurches: LoginUserChurchInterface[];
setUserChurches: (userChurches: LoginUserChurchInterface[]) => void;
}