Skip to content

Commit fb3dba3

Browse files
committed
Merge branch 'feature/project-instruction' into develop
2 parents 0ffe1ef + bc057fc commit fb3dba3

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

functions/definition/models.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ FbProjectUpdateInput:
270270
isFeatured:
271271
type: boolean
272272
lookFor:
273+
optional: true
274+
type: string
275+
projectInstruction:
276+
optional: true
273277
type: string
274278
name:
275279
type: string

functions/definition/tutorial/common.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ FbBaseTutorial:
8888
optional: true
8989
lookFor:
9090
type: string
91+
optional: true
9192
name:
9293
type: string
9394
progress:

functions/generated/pyfirebase/pyfirebase_mapswipe/models.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ class FbProjectUpdateInput(TypesyncModel):
301301

302302
image: str | TypesyncUndefined | None = UNDEFINED
303303
isFeatured: bool
304-
lookFor: str
304+
lookFor: str | TypesyncUndefined | None = UNDEFINED
305+
projectInstruction: str | TypesyncUndefined | None = UNDEFINED
305306
name: str
306307
projectDetails: str
307308
projectNumber: int
@@ -323,6 +324,10 @@ class Config:
323324
def __setattr__(self, name: str, value: typing.Any) -> None:
324325
if name == "image" and value is None:
325326
raise ValueError("'image' field cannot be set to None")
327+
if name == "lookFor" and value is None:
328+
raise ValueError("'lookFor' field cannot be set to None")
329+
if name == "projectInstruction" and value is None:
330+
raise ValueError("'projectInstruction' field cannot be set to None")
326331
if name == "manualUrl" and value is None:
327332
raise ValueError("'manualUrl' field cannot be set to None")
328333
if name == "teamId" and value is None:
@@ -748,7 +753,7 @@ class FbBaseTutorial(TypesyncModel):
748753
] = UNDEFINED
749754
contributorCount: int
750755
informationPages: list[FbInformationPage] | TypesyncUndefined | None = UNDEFINED
751-
lookFor: str
756+
lookFor: str | TypesyncUndefined | None = UNDEFINED
752757
name: str
753758
progress: int
754759
projectDetails: str
@@ -770,6 +775,8 @@ def __setattr__(self, name: str, value: typing.Any) -> None:
770775
raise ValueError("'exampleImage2' field cannot be set to None")
771776
if name == "informationPages" and value is None:
772777
raise ValueError("'informationPages' field cannot be set to None")
778+
if name == "lookFor" and value is None:
779+
raise ValueError("'lookFor' field cannot be set to None")
773780
if name == "screens" and value is None:
774781
raise ValueError("'screens' field cannot be set to None")
775782
super().__setattr__(name, value)

0 commit comments

Comments
 (0)