Skip to content

Commit

Permalink
accept non-square resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Mar 5, 2024
1 parent 29729c8 commit 72b0117
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/v2/interfaces/contributions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { PackID } from "./packs";

export interface ContributionCreationParams {
date: number; // unix timestamp
resolution: 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096; // texture resolution
resolution: number; // usually a square of two
pack: PackID; // resource pack name
authors: Array<string>; // discords users ids
authors: Array<string>; // discord user ids
texture: string; // texture id
}

Expand All @@ -18,7 +18,7 @@ export interface ContributionsAuthor {
id: string; // discord user id
username: string; // display name
uuid: string; // user Minecraft uuid
contributions: number; // number of contributions for that user
contributions: number; // total contribution count
}

export interface DayData {
Expand Down

0 comments on commit 72b0117

Please sign in to comment.