Skip to content

Commit c32fb0e

Browse files
committed
fix: Wrong typings
1 parent 4446eba commit c32fb0e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/cubejs-server-core/core/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ declare module "@cubejs-backend/server-core" {
2121
contextToDataSourceId?: (context: RequestContext) => string;
2222
repositoryFactory?: (context: RequestContext) => SchemaFileRepository;
2323
checkAuthMiddleware?: (
24-
req: Request,
25-
res: Response,
26-
next: NextFunction
24+
req: ExpressRequest,
25+
res: ExpressResponse,
26+
next: ExpressNextFunction
2727
) => void;
2828
queryTransformer?: (query: Query, context: RequestContext) => Query;
2929
preAggregationsSchema?: String | ((context: RequestContext) => string);
3030
schemaVersion?: (context: RequestContext) => string;
31-
extendContext?: (req: Request) => any;
31+
extendContext?: (req: ExpressRequest) => any;
3232
scheduledRefreshTimer?: boolean | number;
3333
compilerCacheSize?: number;
3434
maxCompilerCacheKeepAlive?: number;
@@ -141,7 +141,7 @@ declare module "@cubejs-backend/server-core" {
141141
limit?: number;
142142
offset?: number;
143143
order?: "asc" | "desc";
144-
timezone?: Date;
144+
timezone?: string;
145145
renewQuery?: boolean;
146146
ungrouped?: boolean;
147147
}

0 commit comments

Comments
 (0)