Skip to content

Commit

Permalink
Merge pull request #286 from TaloDev/develop
Browse files Browse the repository at this point in the history
Release 0.34.1
  • Loading branch information
tudddorrr authored Sep 16, 2024
2 parents 64bc8c3 + 58e5295 commit c4185be
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 680 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Talo Platform Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
661 changes: 0 additions & 661 deletions LICENSE.md

This file was deleted.

36 changes: 21 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"lint-staged": {
"*.{ts,js,tsx,jsx}": "eslint --fix"
},
"version": "0.34.0",
"version": "0.34.1",
"engines": {
"node": "20.x"
},
Expand Down
3 changes: 2 additions & 1 deletion src/entities/dataExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export enum DataExportAvailableEntities {
LEADERBOARD_ENTRIES = 'leaderboardEntries',
GAME_STATS = 'gameStats',
PLAYER_GAME_STATS = 'playerGameStats',
GAME_ACTIVITIES = 'gameActivities'
GAME_ACTIVITIES = 'gameActivities',
GAME_FEEDBACK = 'gameFeedback'
}

export const dataExportSchema = z.object({
Expand Down
2 changes: 1 addition & 1 deletion src/entities/leaderboardEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { playerAliasSchema } from './playerAlias'

export const leaderboardEntrySchema = z.object({
id: z.number(),
position: z.number(),
position: z.number().optional(),
score: z.number(),
leaderboardName: z.string(),
leaderboardInternalName: z.string(),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/LeaderboardEntries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function LeaderboardEntries() {
>
{(entry) => (
<>
<TableCell><span className='font-semibold'>{entry.position + 1}</span></TableCell>
<TableCell><span className='font-semibold'>{entry.position! + 1}</span></TableCell>
<TableCell>
<div className='flex items-center'>
<span>{entry.playerAlias.identifier}</span>
Expand Down

0 comments on commit c4185be

Please sign in to comment.