import { User, AllocatableLicenseInfo } from "../../api/api";
import { AddUser, UpdateUser, LicenseAllocateUser } from "./types";

export interface UsersState {
  domain: Domain;
  apps: Apps;
}

export interface Domain {
  users: User[];
  allocatableLicenses: AllocatableLicenseInfo[];
}

export interface Apps {
  addUser: AddUser;
  selectedUser: UpdateUser;
  updateUser: UpdateUser;
  licenseAllocateUser: LicenseAllocateUser;
  selectedlicenseId: number;
  hasPasswordMask: boolean;
  isLoading: boolean;
}
