diff --git a/functions/definition/models.yaml b/functions/definition/models.yaml index 1d4d832..b4e1a20 100644 --- a/functions/definition/models.yaml +++ b/functions/definition/models.yaml @@ -624,6 +624,9 @@ FbUser: type: type: map valueType: unknown + teamId: + optional: true + type: string FbUserContribution: model: alias diff --git a/functions/generated/pyfirebase/pyfirebase_mapswipe/models.py b/functions/generated/pyfirebase/pyfirebase_mapswipe/models.py index 7786344..3f3ded5 100644 --- a/functions/generated/pyfirebase/pyfirebase_mapswipe/models.py +++ b/functions/generated/pyfirebase/pyfirebase_mapswipe/models.py @@ -16,7 +16,7 @@ class TypesyncUndefined: def __init__(self): if TypesyncUndefined._instance is not None: raise RuntimeError( - "TypesyncUndefined instances cannot be created directly. Import and use the UNDEFINED sentinel instead.", + "TypesyncUndefined instances cannot be created directly. Import and use the UNDEFINED sentinel instead." ) TypesyncUndefined._instance = self @@ -639,6 +639,7 @@ class FbUser(TypesyncModel): usernameKey: str accessibility: TypesyncUndefined | bool = UNDEFINED userGroups: TypesyncUndefined | dict[str, typing.Any] = UNDEFINED + teamId: TypesyncUndefined | str = UNDEFINED class Config: use_enum_values = True @@ -649,6 +650,8 @@ def __setattr__(self, name: str, value: typing.Any) -> None: raise ValueError("'accessibility' field cannot be set to None") if name == "userGroups" and value is None: raise ValueError("'userGroups' field cannot be set to None") + if name == "teamId" and value is None: + raise ValueError("'teamId' field cannot be set to None") super().__setattr__(name, value)