export interface spaceItem {
  id: number;
  name: string;
  size: number;
  type: number;
  accountId: number;
  createdAt: Date;
  updateAt: Date;
  screenCount: number;
}

export interface screensMoveState {
  screen: number;
  toSpace: number;
}

export interface SpaceState {
  list: spaceItem[];
  loading: boolean;
  current: number;
  active: spaceItem | null;
  userList: userListState[];
  spaceAllUserList: userListState[];
}

export interface userListState {
  id: number;
  username: string;
  email: string | null;
  phoneNumber: string;
  type: '协作者' | '主用户' | '子用户' | string;
  relatedAt: Date;
}
