web: Update Web API Client version (#1857)

Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
github-actions[bot] 2021-11-29 14:00:21 +01:00 committed by Jens Langhammer
parent a2b38caf64
commit 7d2f622f4b
3 changed files with 18 additions and 11 deletions

View file

@ -5,7 +5,14 @@ from django.conf import settings
from django.db import models
from drf_spectacular.utils import extend_schema
from kubernetes.config.incluster_config import SERVICE_HOST_ENV_NAME
from rest_framework.fields import BooleanField, CharField, ChoiceField, FloatField, IntegerField, ListField
from rest_framework.fields import (
BooleanField,
CharField,
ChoiceField,
FloatField,
IntegerField,
ListField,
)
from rest_framework.permissions import AllowAny
from rest_framework.request import Request
from rest_framework.response import Response
@ -23,14 +30,14 @@ class Capabilities(models.TextChoices):
CAN_GEO_IP = "can_geo_ip"
CAN_BACKUP = "can_backup"
class ErrorReportingConfigSerializer(PassiveSerializer):
"""Config for error reporting"""
enabled = BooleanField(read_only=True)
environment = CharField(read_only=True)
send_pii = BooleanField(read_only=True)
traces_sample_rate=FloatField(read_only=True)
traces_sample_rate = FloatField(read_only=True)
class ConfigSerializer(PassiveSerializer):

14
web/package-lock.json generated
View file

@ -15,7 +15,7 @@
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@fortawesome/fontawesome-free": "^5.15.4",
"@goauthentik/api": "^2021.10.4-1637919181",
"@goauthentik/api": "^2021.10.4-1638190705",
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
"@lingui/cli": "^3.13.0",
"@lingui/core": "^3.13.0",
@ -1708,9 +1708,9 @@
}
},
"node_modules/@goauthentik/api": {
"version": "2021.10.4-1637919181",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1637919181.tgz",
"integrity": "sha512-a+2h++6b2WGXurlTwRTZwRB3QhsT8rL9aiowUjqTJt7reUw5SwItduLe6eDeGThecLHRiklfZ1PF2zqtuUP0oA=="
"version": "2021.10.4-1638190705",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1638190705.tgz",
"integrity": "sha512-fEtKGX8F9BDnYWIF9vTxLEkqGkABRl+0M2sgCOd4XqiflNveDEQYMVZAK5yvNzCK8L4wIcbn7y8s/lCncEKJ2Q=="
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.6.0",
@ -9895,9 +9895,9 @@
"integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg=="
},
"@goauthentik/api": {
"version": "2021.10.4-1637919181",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1637919181.tgz",
"integrity": "sha512-a+2h++6b2WGXurlTwRTZwRB3QhsT8rL9aiowUjqTJt7reUw5SwItduLe6eDeGThecLHRiklfZ1PF2zqtuUP0oA=="
"version": "2021.10.4-1638190705",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1638190705.tgz",
"integrity": "sha512-fEtKGX8F9BDnYWIF9vTxLEkqGkABRl+0M2sgCOd4XqiflNveDEQYMVZAK5yvNzCK8L4wIcbn7y8s/lCncEKJ2Q=="
},
"@humanwhocodes/config-array": {
"version": "0.6.0",

View file

@ -51,7 +51,7 @@
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@fortawesome/fontawesome-free": "^5.15.4",
"@goauthentik/api": "^2021.10.4-1637919181",
"@goauthentik/api": "^2021.10.4-1638190705",
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
"@lingui/cli": "^3.13.0",
"@lingui/core": "^3.13.0",