New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

corede-common

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corede-common - npm Package Compare versions

Comparing version 5.1.33 to 5.1.34

10

dist/graphql/response/base-response.interface.d.ts
import { IBaseGraphqlError } from "../error/base-graphql-error";
import { IBaseGraphqlRequest } from "../request/base-request.interface";
export interface IBaseGraphqlResponse<TInput, TResult> {
export interface IBaseGraphqlResponse<TResult, TInput = any> {
errors?: Array<IGraphQLFormattedError<TInput>>;
data: TResult | null;
}
export interface IGraphQLFormattedError<TInput> {
export interface IGraphQLFormattedError<TInput = any> {
readonly message: string;
readonly locations?: ReadonlyArray<ISourceLocation>;
readonly path?: ReadonlyArray<string | number>;
readonly extensions?: {
locations?: ReadonlyArray<ISourceLocation>;
path?: ReadonlyArray<string | number>;
extensions?: {
[key: string]: unknown;

@@ -13,0 +13,0 @@ custom?: IBaseGraphqlError;

{
"name": "corede-common",
"version": "5.1.33",
"version": "5.1.34",
"description": "The common utility functions, interfaces, types etc.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

import { IBaseGraphqlError } from "../error/base-graphql-error";
import { IBaseGraphqlRequest } from "../request/base-request.interface";
export interface IBaseGraphqlResponse<TInput, TResult> {
export interface IBaseGraphqlResponse<TResult, TInput = any> {
errors?: Array<IGraphQLFormattedError<TInput>>;

@@ -9,7 +9,7 @@ data: TResult | null;

export interface IGraphQLFormattedError<TInput> {
export interface IGraphQLFormattedError<TInput = any> {
readonly message: string;
readonly locations?: ReadonlyArray<ISourceLocation>;
readonly path?: ReadonlyArray<string | number>;
readonly extensions?: {
locations?: ReadonlyArray<ISourceLocation>;
path?: ReadonlyArray<string | number>;
extensions?: {
[key: string]: unknown;

@@ -16,0 +16,0 @@ custom?: IBaseGraphqlError;

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