We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac8cbb commit 018d6b7Copy full SHA for 018d6b7
1 file changed
packages/core/src/v3/schemas/api.ts
@@ -38,8 +38,9 @@ export const GetProjectResponseBody = z.object({
38
slug: z.string(),
39
createdAt: z.coerce.date(),
40
// Worker-group name of the project's default region, or null when unset
41
- // (the project falls back to the global platform default).
42
- defaultRegion: z.string().nullable(),
+ // (the project falls back to the global platform default). Optional so a
+ // newer client still parses responses from an older server that omits it.
43
+ defaultRegion: z.string().nullable().optional(),
44
organization: z.object({
45
id: z.string(),
46
title: z.string(),
0 commit comments