Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions functions/definition/project/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ FbProjectReadonlyType:
resultCount:
type: int

FbProjectUpdateStatsInput:
model: alias
docs: Represents project fields that are valid while updating a project stats
type:
type: object
fields:
contributorCount:
type: int
progress:
type: int

FbProjectUpdateInput:
model: alias
docs: Represents project fields that are valid while updating a project
Expand Down
15 changes: 15 additions & 0 deletions functions/generated/pyfirebase/pyfirebase_mapswipe/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,21 @@ def __setattr__(self, name: str, value: typing.Any) -> None:
super().__setattr__(name, value)


class FbProjectUpdateStatsInput(TypesyncModel):
"""Represents project fields that are valid while updating a project stats"""

contributorCount: int
progress: int

class Config:
use_enum_values = False
extra = "forbid"

@typing.override
def __setattr__(self, name: str, value: typing.Any) -> None:
super().__setattr__(name, value)


class FbProjectUpdateInput(TypesyncModel):
"""Represents project fields that are valid while updating a project"""

Expand Down
Loading