Skip to content

Commit

Permalink
Add api to configuration schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Apr 21, 2024
1 parent a96552a commit 2358b01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/core/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ const ConfigurationSchema = z.object({
$schema: z.optional(z.string()),
terminateTimeout: z.number().min(0).default(30),
terminateGracePeriod: z.number().min(0).default(0),
api: z.optional(
z.object({
hostname: z.optional(z.string()),
port: z.optional(z.number().int()),
}),
),
logger: z.optional(
z.object({
console: z.optional(z.boolean()),
Expand Down

0 comments on commit 2358b01

Please sign in to comment.