interface UserResponse {
  objId: number;
  unuaNomo: {
    enhavo: string;
  };
  universoUzanto: { retnomo: string };
  duaNomo: { enhavo: string };
  familinomo: { enhavo: string };
  chefaRetposhto: string;
  avataro: null | {
    bildoE: { url: string } | null;
    bildoF: { url: string } | null;
    id: string | null;
  };
}

interface State {
  user: UserResponse | null;
  jwt: string | null;
  isLoggedIn: boolean | null;
  konfirmita: boolean | null;
  isAdmin: boolean | null;
  authtoken: string | null;
  csrftoken: string | null;
  organizations: null | { edges: [{ node: { uuid: number } }] };
  authData: object | null;
  counter: number;
}
interface Getters {
  getUserId: number;
  getJWTpayload: string[];
}
