Skip to content

Commit 1be2a76

Browse files
committed
prettier
1 parent 85c20de commit 1be2a76

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

packages/core/src/lib/server/addHealthCheck.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import { healthCheckPath as defaultHealthCheckPath } from '../defaults';
66
/** @deprecated */
77
export async function addHealthCheck({
88
config,
9-
server
9+
server,
1010
}: {
11-
config: KeystoneConfig; server: Application
11+
config: KeystoneConfig;
12+
server: Application;
1213
}) {
1314
if (!config.server?.healthCheck) return;
1415

packages/core/src/types/config/index.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,12 @@ export type ServerConfig<TypeInfo extends BaseKeystoneTypeInfo> = {
197197
maxFileSize?: number;
198198

199199
/** @deprecated */
200-
healthCheck?: true | {
201-
path?: string;
202-
data?: Record<string, any> | (() => Record<string, any>);
203-
};
200+
healthCheck?:
201+
| true
202+
| {
203+
path?: string;
204+
data?: Record<string, any> | (() => Record<string, any>);
205+
};
204206

205207
/** extend the Express application used by Keystone */
206208
extendExpressApp?: (

0 commit comments

Comments
 (0)