Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-server-types

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-server-types - npm Package Compare versions

Comparing version 0.1.1-alpha.0 to 0.1.1-alpha.13

4

dist/index.d.ts
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>> {

7

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc