Skip to content

Commit

Permalink
feat: add FormatType.FT_TWIST
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Jun 27, 2023
1 parent 72c9ca7 commit 56747a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added
- Added support for Twist
*Use `FormatType.FT_TWIST` for Twist decks*

## [3.0.1] - 2023-06-05
### Fixed
Expand Down
1 change: 1 addition & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export const FormatType: { [key: string]: FormatTypeType } = {
FT_WILD: 1,
FT_STANDARD: 2,
FT_CLASSIC: 3,
FT_TWIST: 4,
};
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type FormatType = 1 | 2 | 3;
export type FormatType = 1 | 2 | 3 | 4;

export type DeckCard = [number, number]; // [dbfId, count]
export type DeckList = DeckCard[]; // keep type for backwards compatibility
Expand Down

0 comments on commit 56747a1

Please sign in to comment.