@pothos/plugin-with-input
Advanced tools
Comparing version 4.0.0-next.3 to 4.0.0-next.4
# @pothos/plugin-with-input | ||
## 4.0.0-next.4 | ||
### Patch Changes | ||
- rebuild with-input plugin | ||
## 4.0.0-next.3 | ||
@@ -4,0 +10,0 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166123