File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ import { healthCheckPath as defaultHealthCheckPath } from '../defaults';
66/** @deprecated */
77export 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
Original file line number Diff line number Diff 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 ?: (
You can’t perform that action at this time.
0 commit comments