Skip to content

Commit a1dbcf4

Browse files
committed
fix(project): make progress and contributorCount editable
1 parent 23eadc9 commit a1dbcf4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

functions/definition/project/common.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ FbProjectReadonlyType:
4747
type:
4848
type: object
4949
fields:
50-
contributorCount:
51-
type: int
52-
progress:
53-
type: int
5450
resultCount:
5551
type: int
5652

@@ -99,6 +95,10 @@ FbProjectUpdateInput:
9995
type: string
10096
status:
10197
type: FbEnumProjectStatus
98+
contributorCount:
99+
type: int
100+
progress:
101+
type: int
102102

103103
FbProjectCreateOnlyInput:
104104
model: alias

functions/generated/pyfirebase/pyfirebase_mapswipe/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ class FbEnumProjectType(enum.Enum):
127127
class FbProjectReadonlyType(TypesyncModel):
128128
"""Represents project fields that cannot be updated from backend"""
129129

130-
contributorCount: int
131-
progress: int
132130
resultCount: int
133131

134132
class Config:
@@ -159,6 +157,8 @@ class FbProjectUpdateInput(TypesyncModel):
159157
manualUrl: str | TypesyncUndefined | None = UNDEFINED
160158
teamId: str | TypesyncUndefined | None = UNDEFINED
161159
status: FbEnumProjectStatus
160+
contributorCount: int
161+
progress: int
162162

163163
class Config:
164164
use_enum_values = False

0 commit comments

Comments
 (0)