Skip to content

Commit

Permalink
Add raw account data interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDrone7 committed Jan 5, 2024
1 parent c52b28b commit 2b91d76
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/shieldbow/src/types/api/account.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* The raw account data received from the API.
*/
export interface IAccount {
puuid: string;
gameName: string;
tagLine: string;
}
1 change: 1 addition & 0 deletions packages/shieldbow/src/types/api/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export type { IAccount } from './account';
1 change: 1 addition & 0 deletions packages/shieldbow/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './config';
export type { RequestOptions } from './request';
export type { FetchOptions } from './fetch';
export * from './api';

0 comments on commit 2b91d76

Please sign in to comment.