Skip to content

Commit f1820ff

Browse files
authored
Merge pull request #7634 from schrodingersket/hotfix/create-compute-server
Compute Server API: Server configuration field now passes through ext…
2 parents 1f99952 + 2511a7d commit f1820ff

File tree

1 file changed

+2
-2
lines changed
  • src/packages/next/lib/api/schema/compute

1 file changed

+2
-2
lines changed

src/packages/next/lib/api/schema/compute/common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export const ComputeServerImageProxySchema = z.object({
4141
name: z.string().optional(),
4242
});
4343

44-
export const GoogleCloudServerConfigurationSchema = z.object({});
44+
export const GoogleCloudServerConfigurationSchema = z.object({}).passthrough();
4545

46-
export const HyperstackServerConfigurationSchema = z.object({});
46+
export const HyperstackServerConfigurationSchema = z.object({}).passthrough();
4747

4848
export const ServerConfigurationSchema = z.union([
4949
GoogleCloudServerConfigurationSchema,

0 commit comments

Comments
 (0)