Skip to content

Commit

Permalink
fix: add interface
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Jun 26, 2022
1 parent 7b4656b commit 261bf99
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
export interface IGetData {
title: string;
description: string;
avatar: string;
server_count: number;
shard_count: number
monthly_votes: number;
total_votes: number;
}

export interface Data {
data?: IGetData;
stats_daily?: object;
stats_hourly?: object;
average_server_growth_hourly?: number;
average_server_growth_daily?: number;
average_server_growth_monthly?: number;
average_votes_growth_monthly?: number;
approximate_credits_rewards_monthly?: string;
approximate_server_growth_three_months?: number;
approximate_server_growth_annually?: number;

}

0 comments on commit 261bf99

Please sign in to comment.