From 30ba81120b252a138c54d7d0acb2eae2f9c65aa2 Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:58:21 -0400 Subject: [PATCH] fix: add necessary schema typing --- packages/types/src/tasks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/tasks.ts b/packages/types/src/tasks.ts index 643c510c..3e29cadc 100644 --- a/packages/types/src/tasks.ts +++ b/packages/types/src/tasks.ts @@ -16,7 +16,7 @@ export interface QueryHandlerOptions extends QueryOptions { provenanceUsesServiceProvider?: boolean; enableIDResolution?: boolean; apiList?: APIList; - schema?: unknown; // might be hard to type -- it's the entire TRAPI schema IIRC + schema?: { info: { version: string } }; // might be hard to type -- it's the entire TRAPI schema IIRC resolveOutputIDs?: boolean; EDGE_ATTRIBUTES_USED_IN_RECORD_HASH?: string[]; }