Skip to content

Commit 2e5c0ed

Browse files
committed
feat(project): Add schema project instruction
1 parent 0ffe1ef commit 2e5c0ed

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
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/generated/pyfirebase/pyfirebase_mapswipe/models.py

Lines changed: 6 additions & 1 deletion
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:

0 commit comments

Comments
 (0)