mirror of
https://github.com/Sheldan/gw2-tools.git
synced 2026-01-13 02:28:30 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67ce24e7e3 | ||
|
|
914db3d871 | ||
|
|
02278b9e55 | ||
|
|
ebe2d3c986 |
2
.env
2
.env
@@ -1,2 +1,2 @@
|
||||
REGISTRY_PREFIX=harbor.sheldan.dev/gw2/
|
||||
VERSION=0.0.3
|
||||
VERSION=0.0.4
|
||||
@@ -2,4 +2,4 @@ apiVersion: v2
|
||||
name: gw2-tools
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.0.3
|
||||
version: 0.0.4
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.gw2.tools</groupId>
|
||||
<artifactId>gw2-tools</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>database</artifactId>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.gw2.tools</groupId>
|
||||
<artifactId>gw2-tools</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>executable</artifactId>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.gw2.tools</groupId>
|
||||
<artifactId>gw2-tools</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>gw2-api-client</artifactId>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.gw2.tools</groupId>
|
||||
<artifactId>gw2-tools</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>packaging</artifactId>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</parent>
|
||||
<groupId>dev.sheldan.gw2.tools</groupId>
|
||||
<artifactId>gw2-tools</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>gw2-tools</name>
|
||||
<description>Tools for GW2</description>
|
||||
@@ -25,7 +25,7 @@
|
||||
<connection>scm:git:${project.scm.url}</connection>
|
||||
<developerConnection>scm:git:${project.scm.url}</developerConnection>
|
||||
<url>https://github.com/Sheldan/gw2-tools.git</url>
|
||||
<tag>0.0.4</tag>
|
||||
<tag>0.0.5</tag>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>dev.sheldan.gw2.tools</groupId>
|
||||
<artifactId>gw2-tools</artifactId>
|
||||
<version>0.0.4</version>
|
||||
<version>0.0.5</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>rest-api</artifactId>
|
||||
|
||||
4
gw2-tools-ui/package-lock.json
generated
4
gw2-tools-ui/package-lock.json
generated
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "drr-ui",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "^2.0.1",
|
||||
"@testing-library/jest-dom": "^5.17.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gw2-tools-ui",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "^2.0.1",
|
||||
|
||||
@@ -24,13 +24,13 @@ export function Bank() {
|
||||
|
||||
const removedItems =
|
||||
<>
|
||||
{displayAdded ? <span className={styles.spanNewLine}>Removed items</span> : ''}
|
||||
{displayRemoved ? <span className={styles.spanNewLine}>Removed items</span> : ''}
|
||||
{bank.removedSlots.map((item) => <InventoryItem item={item}/>)}
|
||||
</>
|
||||
|
||||
const addedItems =
|
||||
<>
|
||||
{displayRemoved ? <span className={styles.spanNewLine}>Added Items</span> : ''}
|
||||
{displayAdded ? <span className={styles.spanNewLine}>Added Items</span> : ''}
|
||||
{bank.addedSlots.map((item) => <InventoryItem item={item}/>)}
|
||||
</>
|
||||
|
||||
|
||||
@@ -144,6 +144,7 @@ export function calculateBankDifferences(existingBank, incomingBankSlots, mockin
|
||||
count: 0,
|
||||
changed: -slot.count
|
||||
})
|
||||
slotsToUpdate[slot.id] = -slot.count
|
||||
}
|
||||
})
|
||||
return [slotsToAdd, slotsToRemove, slotsToUpdate];
|
||||
@@ -187,6 +188,7 @@ export function calculateSharedInventoryDifferences(existingSharedInventory, inc
|
||||
count: 0,
|
||||
changed: -slot.count
|
||||
})
|
||||
slotsToUpdate[slot.id] = -slot.count
|
||||
}
|
||||
})
|
||||
return [slotsToAdd, slotsToRemove, slotsToUpdate];
|
||||
@@ -230,6 +232,7 @@ export function calculateMaterialsDifference(materials, materialSlots, mocking)
|
||||
count: 0,
|
||||
changed: -slot.count
|
||||
})
|
||||
slotsToUpdate[slot.id] = -slot.count
|
||||
}
|
||||
})
|
||||
return [slotsToAdd, slotsToRemove, slotsToUpdate];
|
||||
|
||||
Reference in New Issue
Block a user