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

nexus

Package Overview
Dependencies
Maintainers
4
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nexus - npm Package Compare versions

Comparing version 0.0.0-pr.938.1.a0e81d1 to 0.0.0-pr.938.2.11866c9

25

dist-esm/definitions/definitionBlocks.d.ts

@@ -614,2 +614,27 @@ import type { GraphQLFieldConfig, GraphQLFieldResolver, GraphQLInputFieldConfig } from 'graphql';

field<FieldName extends string>(name: FieldName, config: FieldOutConfig<TypeName, FieldName>): void;
/**
* [GraphQL 2018 Spec](https://spec.graphql.org/June2018/#sec-Language.Fields)
*
* Define a field on this object.
*
* A field describes one discrete piece of information available to request within a [selection
* set](https://spec.graphql.org/June2018/#sec-Selection-Sets). They are in fact most of what any selection
* set will contain. Fields can be typed as scalars (marking the terminal point of a branch of a selection
* set) or as other object types in your schema thus allowing you to model relationships between things.
*
* @example
* objectType({
* name: 'User',
* definition(t) {
* t.field({
* name: 'id',
* type: id(),
* description: 'The unique identification number for this user',
* })
* },
* })
*
* @param config The configuration for things like the field's type, its description, its arguments, its
* resolver, and more. See jsdoc on each field within for details.
*/
field<FieldName extends string>(config: FieldOutConfigWithName<TypeName, FieldName>): void;

@@ -616,0 +641,0 @@ private _wrapClass;

5

dist-esm/definitions/mutationField.d.ts

@@ -110,7 +110,6 @@ import type { FieldOutConfig, OutputDefinitionBlock } from '../core';

*
* @param name The name of the field on the Mutation type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* @param name The name of the field on the Mutation type. Names are case‐sensitive and must conform to
* pattern: `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)
*/
export declare function mutationField<FieldName extends string>(name: FieldName, config: MutationFieldConfig<FieldName>): NexusExtendTypeDef<'Mutation'>;

3

dist-esm/definitions/queryField.d.ts

@@ -97,6 +97,5 @@ import type { FieldOutConfig, OutputDefinitionBlock } from '../core';

* @param name The name of the field on the Query type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)
*/
export declare function queryField<FieldName extends string>(name: FieldName, config: QueryFieldConfig<FieldName>): NexusExtendTypeDef<'Query'>;

@@ -218,6 +218,5 @@ import { NexusExtendTypeDef } from './extendType';

* @param name The name of the field on the Query type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)
*/
export declare function subscriptionField<FieldName extends string, Event>(name: FieldName, config: SubscriptionFieldConfig<FieldName, Event>): NexusExtendTypeDef<'Subscription'>;

@@ -614,2 +614,27 @@ import type { GraphQLFieldConfig, GraphQLFieldResolver, GraphQLInputFieldConfig } from 'graphql';

field<FieldName extends string>(name: FieldName, config: FieldOutConfig<TypeName, FieldName>): void;
/**
* [GraphQL 2018 Spec](https://spec.graphql.org/June2018/#sec-Language.Fields)
*
* Define a field on this object.
*
* A field describes one discrete piece of information available to request within a [selection
* set](https://spec.graphql.org/June2018/#sec-Selection-Sets). They are in fact most of what any selection
* set will contain. Fields can be typed as scalars (marking the terminal point of a branch of a selection
* set) or as other object types in your schema thus allowing you to model relationships between things.
*
* @example
* objectType({
* name: 'User',
* definition(t) {
* t.field({
* name: 'id',
* type: id(),
* description: 'The unique identification number for this user',
* })
* },
* })
*
* @param config The configuration for things like the field's type, its description, its arguments, its
* resolver, and more. See jsdoc on each field within for details.
*/
field<FieldName extends string>(config: FieldOutConfigWithName<TypeName, FieldName>): void;

@@ -616,0 +641,0 @@ private _wrapClass;

@@ -110,7 +110,6 @@ import type { FieldOutConfig, OutputDefinitionBlock } from '../core';

*
* @param name The name of the field on the Mutation type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* @param name The name of the field on the Mutation type. Names are case‐sensitive and must conform to
* pattern: `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)
*/
export declare function mutationField<FieldName extends string>(name: FieldName, config: MutationFieldConfig<FieldName>): NexusExtendTypeDef<'Mutation'>;

@@ -97,6 +97,5 @@ import type { FieldOutConfig, OutputDefinitionBlock } from '../core';

* @param name The name of the field on the Query type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)
*/
export declare function queryField<FieldName extends string>(name: FieldName, config: QueryFieldConfig<FieldName>): NexusExtendTypeDef<'Query'>;

@@ -218,6 +218,5 @@ import { NexusExtendTypeDef } from './extendType';

* @param name The name of the field on the Query type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)
*/
export declare function subscriptionField<FieldName extends string, Event>(name: FieldName, config: SubscriptionFieldConfig<FieldName, Event>): NexusExtendTypeDef<'Subscription'>;
{
"name": "nexus",
"version": "0.0.0-pr.938.1.a0e81d1",
"version": "0.0.0-pr.938.2.11866c9",
"description": "Scalable, strongly typed GraphQL schema development",

@@ -5,0 +5,0 @@ "keywords": [

@@ -691,2 +691,27 @@ import type { GraphQLFieldConfig, GraphQLFieldResolver, GraphQLInputFieldConfig } from 'graphql'

field<FieldName extends string>(name: FieldName, config: FieldOutConfig<TypeName, FieldName>): void
/**
* [GraphQL 2018 Spec](https://spec.graphql.org/June2018/#sec-Language.Fields)
*
* Define a field on this object.
*
* A field describes one discrete piece of information available to request within a [selection
* set](https://spec.graphql.org/June2018/#sec-Selection-Sets). They are in fact most of what any selection
* set will contain. Fields can be typed as scalars (marking the terminal point of a branch of a selection
* set) or as other object types in your schema thus allowing you to model relationships between things.
*
* @example
* objectType({
* name: 'User',
* definition(t) {
* t.field({
* name: 'id',
* type: id(),
* description: 'The unique identification number for this user',
* })
* },
* })
*
* @param config The configuration for things like the field's type, its description, its arguments, its
* resolver, and more. See jsdoc on each field within for details.
*/
field<FieldName extends string>(config: FieldOutConfigWithName<TypeName, FieldName>): void

@@ -693,0 +718,0 @@ field<FieldName extends string>(

@@ -117,5 +117,4 @@ import type { FieldOutConfig, OutputDefinitionBlock } from '../core'

*
* @param name The name of the field on the Mutation type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* @param name The name of the field on the Mutation type. Names are case‐sensitive and must conform to
* pattern: `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)

@@ -122,0 +121,0 @@ */

@@ -104,4 +104,3 @@ import type { FieldOutConfig, OutputDefinitionBlock } from '../core'

* @param name The name of the field on the Query type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)

@@ -108,0 +107,0 @@ */

@@ -225,4 +225,3 @@ import { extendType, NexusExtendTypeDef } from './extendType'

* @param name The name of the field on the Query type. Names are case‐sensitive and must conform to pattern:
*
* [_A-Za-z][_0-9A-Za-z]*
* `[_A-Za-z][_0-9A-Za-z]*`
* @param config The same type of configuration you would pass to t.field("...", config)

@@ -229,0 +228,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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