Skip to content

Commit

Permalink
Added missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKyle committed Aug 28, 2024
1 parent adcd96b commit 09e9fa0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import CharactersOnlineContainer from "../characters-online-container.js";
import LoginDurationChart from "../components/login-duration-chart.js";
import { AllowedFilters } from "../deffinitions/allowed-filter-types.js";



@injectable()
export default class UserLoginDuration {
constructor(@inject(Ajax) private ajax: AjaxInterface) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import { AllowedFilters } from "../deffinitions/allowed-filter-types";
import { CharactersOnlineListProps } from "../types/character-online-list-props";
import { CharactersOnlineListState } from "../types/character-online-list-state";

export default class CharactersOnlineList extends React.Component<CharactersOnlineListProps, CharactersOnlineListState> {
export default class CharactersOnlineList extends React.Component<
CharactersOnlineListProps,
CharactersOnlineListState
> {
private userLoginAjax: UserLoginDuration;

constructor(props: CharactersOnlineListProps) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ import { Series } from "../deffinitions/chart-series";
import { primaryAxis, secondaryAxes } from "../deffinitions/chart-axis";
import { Chart } from "react-charts";

export default class LoginDurationChart extends React.Component<LoginDurationChartProps, LoginDurationChartState> {
export default class LoginDurationChart extends React.Component<
LoginDurationChartProps,
LoginDurationChartState
> {
private userLoginDuration: UserLoginDuration;

constructor(props: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export interface CharacterOnlineData {
name: string;
duration: number;
currently_exploring: boolean;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export interface CharactersOnlineListState {
loading: boolean;
filter_type: AllowedFilters;
error_message: string;
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default interface CharactersOnlineProps {};
export default interface CharactersOnlineProps {}

0 comments on commit 09e9fa0

Please sign in to comment.