Socket
Socket
Sign inDemoInstall

@gql2ts/types

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gql2ts/types - npm Package Compare versions

Comparing version 1.11.0-alpha.905b1daf to 1.11.0-alpha.95b0b3b3

22

dist/index.d.ts

@@ -1,24 +0,6 @@

import { OperationTypeNode, SelectionNode, GraphQLType, NamedTypeNode, GraphQLNamedType, GraphQLOutputType, GraphQLInputType, TypeNode, OperationDefinitionNode, GraphQLEnumValue, FieldNode } from 'graphql';
import { NamedTypeNode, GraphQLNamedType, GraphQLOutputType, GraphQLInputType, TypeNode, OperationDefinitionNode, GraphQLEnumValue, FieldNode } from 'graphql';
import { PossibleSchemaInput, IFieldDocumentation } from '@gql2ts/util';
export declare type GetChildSelectionsType = (operation: OperationTypeNode, selection: SelectionNode, parent?: GraphQLType, isUndefined?: boolean) => IChildSelection;
export interface IProvidedOptions extends Partial<IFromQueryOptions> {
}
export declare type FromQuerySignature = (schema: PossibleSchemaInput, query: string, typeMap?: Partial<ITypeMap>, options?: IProvidedOptions) => IFromQueryReturnValue[];
export interface IComplexTypeSignature {
iface: string;
isPartial: boolean;
name: string;
}
export interface IChildSelection {
isFragment: boolean;
isPartial: boolean;
iface: string;
complexTypes: IComplexTypeSignature[];
}
export interface IFromQueryReturnValue {
variables: string;
interface: string;
additionalTypes: string[];
result: string;
}
export declare type FromQuerySignature = (schema: PossibleSchemaInput, query: string, typeMap?: Partial<ITypeMap>, options?: IProvidedOptions) => string;
export declare type InterfaceFormatters = (operationName: string, fields: string[]) => string;

@@ -25,0 +7,0 @@ export declare type InterfaceNameWithExtensions = (operationName: string, extensions: string[]) => string;

4

package.json
{
"name": "@gql2ts/types",
"private": false,
"version": "1.11.0-alpha.905b1daf",
"version": "1.11.0-alpha.95b0b3b3",
"description": "type definitions",

@@ -31,4 +31,4 @@ "main": "dist/index.js",

"dependencies": {
"@gql2ts/util": "^1.11.0-alpha.905b1daf"
"@gql2ts/util": "^1.11.0-alpha.95b0b3b3"
}
}
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