fix(api): filter empty values when using sum and average, added min and max

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-06-04 12:45:26 +02:00
parent 5c5154ee86
commit 5b1e94e9ad
8 changed files with 142 additions and 135 deletions

61
pnpm-lock.yaml generated
View File

@@ -413,8 +413,8 @@ importers:
specifier: ^2.4.0
version: 2.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
lucide-react:
specifier: ^0.451.0
version: 0.451.0(react@18.2.0)
specifier: ^0.513.0
version: 0.513.0(react@18.2.0)
mathjs:
specifier: ^12.3.2
version: 12.3.2
@@ -1072,40 +1072,6 @@ importers:
specifier: ^5.2.2
version: 5.6.3
packages/fire:
dependencies:
'@faker-js/faker':
specifier: ^9.0.1
version: 9.0.1
'@openpanel/common':
specifier: workspace:*
version: link:../common
'@openpanel/db':
specifier: workspace:*
version: link:../db
csv-parse:
specifier: ^5.6.0
version: 5.6.0
date-fns:
specifier: ^3.3.1
version: 3.3.1
devDependencies:
'@openpanel/tsconfig':
specifier: workspace:*
version: link:../../tooling/typescript
'@openpanel/validation':
specifier: workspace:*
version: link:../validation
'@types/node':
specifier: 20.14.8
version: 20.14.8
tsup:
specifier: ^7.2.0
version: 7.3.0(postcss@8.5.3)(typescript@5.6.3)
typescript:
specifier: ^5.2.2
version: 5.6.3
packages/integrations:
dependencies:
'@slack/bolt':
@@ -7526,9 +7492,6 @@ packages:
csstype@3.1.3:
resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
csv-parse@5.6.0:
resolution: {integrity: sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q==}
d3-array@2.12.1:
resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==}
@@ -9630,16 +9593,16 @@ packages:
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
engines: {node: '>=10'}
lucide-react@0.451.0:
resolution: {integrity: sha512-OwQ3uljZLp2cerj8sboy5rnhtGTCl9UCJIhT1J85/yOuGVlEH+xaUPR7tvNdddPvmV5M5VLdr7cQuWE3hzA4jw==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc
lucide-react@0.454.0:
resolution: {integrity: sha512-hw7zMDwykCLnEzgncEEjHeA6+45aeEzRYuKHuyRSOPkhko+J3ySGjGIzu+mmMfDFG1vazHepMaYFYHbTFAZAAQ==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc
lucide-react@0.513.0:
resolution: {integrity: sha512-CJZKq2g8Y8yN4Aq002GahSXbG2JpFv9kXwyiOAMvUBv7pxeOFHUWKB0mO7MiY4ZVFCV4aNjv2BJFq/z3DgKPQg==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
luxon@3.4.4:
resolution: {integrity: sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA==}
engines: {node: '>=12'}
@@ -19949,8 +19912,6 @@ snapshots:
csstype@3.1.3: {}
csv-parse@5.6.0: {}
d3-array@2.12.1:
dependencies:
internmap: 1.0.1
@@ -22559,14 +22520,14 @@ snapshots:
dependencies:
yallist: 4.0.0
lucide-react@0.451.0(react@18.2.0):
dependencies:
react: 18.2.0
lucide-react@0.454.0(react@18.3.1):
dependencies:
react: 18.3.1
lucide-react@0.513.0(react@18.2.0):
dependencies:
react: 18.2.0
luxon@3.4.4: {}
luxon@3.6.1: {}