Skip to content

Commit

Permalink
export types
Browse files Browse the repository at this point in the history
  • Loading branch information
h3902340 committed Dec 3, 2023
1 parent 01c9e98 commit 140b872
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.d.mts
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ declare function parseReplay(fileArrayBuffer: ArrayBuffer): Replay;

declare function parseTeam(dataView: DataView, uint8Ary: Uint8Array): Team[];

export { parseChat, parseDeck, parseField, parseReplay, parseTeam };
export { type Deck, type GameSetting, type Message, type Player, type Replay, type Team, parseChat, parseDeck, parseField, parseReplay, parseTeam };
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ declare function parseReplay(fileArrayBuffer: ArrayBuffer): Replay;

declare function parseTeam(dataView: DataView, uint8Ary: Uint8Array): Team[];

export { parseChat, parseDeck, parseField, parseReplay, parseTeam };
export { type Deck, type GameSetting, type Message, type Player, type Replay, type Team, parseChat, parseDeck, parseField, parseReplay, parseTeam };
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test": "jest"
},
"name": "@canyougiant/aoe3de-replay-parser",
"version": "1.3.3",
"version": "1.3.4",
"description": "Parsing Age3Yrec file of AOE3DE",
"repository": {
"type": "git",
Expand Down
15 changes: 14 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
import { Deck, GameSetting, Message, Player, Replay, Team } from "./dataStructures";
import { parseChat } from "./parseChat";
import { parseDeck } from "./parseDeck";
import { parseField } from "./parseField";
import { parseReplay } from "./parseReplay";
import { parseTeam } from "./parseTeam";

export { parseChat, parseDeck, parseField, parseReplay, parseTeam }
export {
parseChat,
parseDeck,
parseField,
parseReplay,
parseTeam,
Replay,
GameSetting,
Player,
Team,
Deck,
Message
}

0 comments on commit 140b872

Please sign in to comment.