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

@pothos/plugin-with-input

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pothos/plugin-with-input - npm Package Compare versions

Comparing version 4.0.0-next.3 to 4.0.0-next.4

6

CHANGELOG.md
# @pothos/plugin-with-input
## 4.0.0-next.4
### Patch Changes
- rebuild with-input plugin
## 4.0.0-next.3

@@ -4,0 +10,0 @@

4

dts/global-types.d.ts

@@ -1,2 +0,2 @@

import { FieldKind, FieldNullability, FieldRef, InputFieldMap, InputFieldRef, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core';
import { FieldKind, FieldNullability, FieldRef, InputFieldMap, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core';
import { FieldWithInputOptions, WithInputArgOptions, WithInputBuilderOptions, WithInputTypeOptions } from './types';

@@ -20,3 +20,3 @@ import type { PothosWithInputPlugin } from '.';

input: InputFieldBuilder<Types, 'InputObject'>;
fieldWithInput: <Fields extends Record<string, InputFieldRef<Types, unknown>>, Type extends TypeParam<Types>, ResolveShape, ResolveReturnShape, ArgRequired extends boolean, Args extends InputFieldMap = {}, Nullable extends FieldNullability<Type> = Types['DefaultFieldNullability'], InputName extends string = 'input'>(options: FieldWithInputOptions<Types, ParentShape, Kind, Args, Fields, Type, Nullable, InputName, ResolveShape, ResolveReturnShape, boolean extends ArgRequired ? Types['WithInputArgRequired'] & boolean : ArgRequired>) => FieldRef<Types, ShapeFromTypeParam<Types, Type, Nullable>>;
fieldWithInput: <Fields extends InputFieldMap, Type extends TypeParam<Types>, ResolveShape, ResolveReturnShape, ArgRequired extends boolean, Args extends InputFieldMap = {}, Nullable extends FieldNullability<Type> = Types['DefaultFieldNullability'], InputName extends string = 'input'>(options: FieldWithInputOptions<Types, ParentShape, Kind, Args, Fields, Type, Nullable, InputName, ResolveShape, ResolveReturnShape, boolean extends ArgRequired ? Types['WithInputArgRequired'] & boolean : ArgRequired>) => FieldRef<Types, ShapeFromTypeParam<Types, Type, Nullable>>;
}

@@ -23,0 +23,0 @@ interface FieldWithInputBaseOptions<Types extends SchemaTypes, Args extends InputFieldMap, Fields extends InputFieldMap, InputName extends string, ArgRequired extends boolean> {

@@ -1,2 +0,2 @@

import { FieldKind, FieldNullability, FieldRef, InputFieldMap, InputFieldRef, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core';
import { FieldKind, FieldNullability, FieldRef, InputFieldMap, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core';
import { FieldWithInputOptions, WithInputArgOptions, WithInputBuilderOptions, WithInputTypeOptions } from './types.js';

@@ -20,3 +20,3 @@ import type { PothosWithInputPlugin } from './index.js';

input: InputFieldBuilder<Types, "InputObject">;
fieldWithInput: <Fields extends Record<string, InputFieldRef<Types, unknown>>, Type extends TypeParam<Types>, ResolveShape, ResolveReturnShape, ArgRequired extends boolean, Args extends InputFieldMap = {}, Nullable extends FieldNullability<Type> = Types["DefaultFieldNullability"], InputName extends string = "input">(options: FieldWithInputOptions<Types, ParentShape, Kind, Args, Fields, Type, Nullable, InputName, ResolveShape, ResolveReturnShape, boolean extends ArgRequired ? Types["WithInputArgRequired"] & boolean : ArgRequired>) => FieldRef<Types, ShapeFromTypeParam<Types, Type, Nullable>>;
fieldWithInput: <Fields extends InputFieldMap, Type extends TypeParam<Types>, ResolveShape, ResolveReturnShape, ArgRequired extends boolean, Args extends InputFieldMap = {}, Nullable extends FieldNullability<Type> = Types["DefaultFieldNullability"], InputName extends string = "input">(options: FieldWithInputOptions<Types, ParentShape, Kind, Args, Fields, Type, Nullable, InputName, ResolveShape, ResolveReturnShape, boolean extends ArgRequired ? Types["WithInputArgRequired"] & boolean : ArgRequired>) => FieldRef<Types, ShapeFromTypeParam<Types, Type, Nullable>>;
}

@@ -23,0 +23,0 @@ interface FieldWithInputBaseOptions<Types extends SchemaTypes, Args extends InputFieldMap, Fields extends InputFieldMap, InputName extends string, ArgRequired extends boolean> {

{
"name": "@pothos/plugin-with-input",
"version": "4.0.0-next.3",
"version": "4.0.0-next.4",
"description": "A Pothos plugin for defining fields with input objects",

@@ -45,6 +45,6 @@ "main": "./lib/index.js",

"prisma": "^5.16.1",
"@pothos/plugin-prisma": "4.0.0-next.3",
"@pothos/plugin-zod": "4.0.0-next.0",
"@pothos/core": "4.0.0-next.0",
"@pothos/test-utils": "2.0.0-next.0",
"@pothos/plugin-prisma": "4.0.0-next.3",
"@pothos/plugin-zod": "4.0.0-next.0"
"@pothos/test-utils": "2.0.0-next.0"
},

@@ -51,0 +51,0 @@ "scripts": {

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