eksplicit mapping af envs
Some checks failed
Backend CI / test (push) Has been cancelled
Flutter CI / analyze-and-test (push) Has been cancelled

This commit is contained in:
Henrik Jess Nielsen
2026-05-12 18:21:25 +02:00
parent b7a435f8b9
commit 99e9b509a0
67 changed files with 8060 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
from datetime import datetime
from pydantic import BaseModel, Field
class SessionCreate(BaseModel):
ble_token: str = Field(..., min_length=1, max_length=128)
interests: list[str] = Field(..., min_length=1, max_length=20)
class SessionResponse(BaseModel):
session_id: str
expires_at: datetime