apollo-server-types
Advanced tools
Comparing version 0.1.1-alpha.0 to 0.1.1-alpha.13
import { Request, Response } from 'apollo-server-env'; | ||
import { GraphQLSchema, ValidationContext, ASTVisitor, GraphQLFormattedError, OperationDefinitionNode, DocumentNode, GraphQLError } from 'graphql'; | ||
import { KeyValueCache } from 'apollo-server-caching'; | ||
import { Trace } from 'apollo-engine-reporting-protobuf'; | ||
export declare type ValueOrPromise<T> = T | Promise<T>; | ||
@@ -37,2 +38,3 @@ export declare type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>; | ||
export interface GraphQLRequestMetrics { | ||
captureTraces?: boolean; | ||
persistedQueryHit?: boolean; | ||
@@ -43,2 +45,4 @@ persistedQueryRegister?: boolean; | ||
registeredOperation?: boolean; | ||
startHrTime?: [number, number]; | ||
queryPlanTrace?: Trace.QueryPlanNode; | ||
} | ||
@@ -45,0 +49,0 @@ export interface GraphQLRequestContext<TContext = Record<string, any>> { |
{ | ||
"name": "apollo-server-types", | ||
"version": "0.1.1-alpha.0", | ||
"version": "0.1.1-alpha.13", | ||
"description": "Apollo Server shared types", | ||
@@ -14,3 +14,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"apollo-server-caching": "0.4.1-alpha.1", | ||
"apollo-engine-reporting-protobuf": "0.3.2-alpha.13", | ||
"apollo-server-caching": "0.4.1-alpha.13", | ||
"apollo-server-env": "2.4.0" | ||
@@ -21,3 +22,3 @@ }, | ||
}, | ||
"gitHead": "0b502808ff0151acc5ea0115f60cd080421500e4" | ||
"gitHead": "b76ca731c7de2ebb4cd1cecff7e4d6c23f1f3b9f" | ||
} |
@@ -14,2 +14,3 @@ import { Request, Response } from 'apollo-server-env'; | ||
import { KeyValueCache } from 'apollo-server-caching'; | ||
import { Trace } from 'apollo-engine-reporting-protobuf'; | ||
@@ -51,2 +52,3 @@ export type ValueOrPromise<T> = T | Promise<T>; | ||
export interface GraphQLRequestMetrics { | ||
captureTraces?: boolean; | ||
persistedQueryHit?: boolean; | ||
@@ -57,2 +59,4 @@ persistedQueryRegister?: boolean; | ||
registeredOperation?: boolean; | ||
startHrTime?: [number, number]; | ||
queryPlanTrace?: Trace.QueryPlanNode; | ||
} | ||
@@ -59,0 +63,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11068
164
4
+ Added@protobufjs/aspromise@1.1.2(transitive)
+ Added@protobufjs/base64@1.1.2(transitive)
+ Added@protobufjs/codegen@2.0.4(transitive)
+ Added@protobufjs/eventemitter@1.1.0(transitive)
+ Added@protobufjs/fetch@1.1.0(transitive)
+ Added@protobufjs/float@1.0.2(transitive)
+ Added@protobufjs/inquire@1.1.0(transitive)
+ Added@protobufjs/path@1.1.2(transitive)
+ Added@protobufjs/pool@1.1.0(transitive)
+ Added@protobufjs/utf8@1.1.0(transitive)
+ Added@types/long@4.0.2(transitive)
+ Added@types/node@22.9.0(transitive)
+ Addedapollo-engine-reporting-protobuf@0.3.2-alpha.13(transitive)
+ Addedapollo-server-caching@0.4.1-alpha.13(transitive)
+ Addedlong@4.0.0(transitive)
+ Addedprotobufjs@6.11.4(transitive)
+ Addedundici-types@6.19.8(transitive)
- Removedapollo-server-caching@0.4.1-alpha.1(transitive)