@pothos/plugin-simple-objects
Advanced tools
Comparing version 3.6.7 to 3.6.8
# Change Log | ||
## 3.6.8 | ||
### Patch Changes | ||
- 4c6bc638: Add provinance to npm releases | ||
## 3.6.7 | ||
@@ -4,0 +10,0 @@ |
import { FieldMap, FieldRef, NullableToOptional, SchemaTypes } from '@pothos/core'; | ||
export declare type SimpleObjectFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, 'SimpleObject'>) => Fields; | ||
export declare type SimpleInterfaceFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, 'SimpleInterface'>) => Fields; | ||
export declare type OutputShapeFromFields<Fields extends FieldMap> = NullableToOptional<{ | ||
export type SimpleObjectFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, 'SimpleObject'>) => Fields; | ||
export type SimpleInterfaceFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, 'SimpleInterface'>) => Fields; | ||
export type OutputShapeFromFields<Fields extends FieldMap> = NullableToOptional<{ | ||
[K in keyof Fields]: Fields[K] extends FieldRef<infer T> ? T : never; | ||
}>; | ||
//# sourceMappingURL=types.d.ts.map |
import { FieldMap, FieldRef, NullableToOptional, SchemaTypes } from '@pothos/core'; | ||
export declare type SimpleObjectFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, "SimpleObject">) => Fields; | ||
export declare type SimpleInterfaceFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, "SimpleInterface">) => Fields; | ||
export declare type OutputShapeFromFields<Fields extends FieldMap> = NullableToOptional<{ | ||
export type SimpleObjectFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, "SimpleObject">) => Fields; | ||
export type SimpleInterfaceFieldsShape<Types extends SchemaTypes, Fields extends FieldMap> = (t: PothosSchemaTypes.RootFieldBuilder<Types, unknown, "SimpleInterface">) => Fields; | ||
export type OutputShapeFromFields<Fields extends FieldMap> = NullableToOptional<{ | ||
[K in keyof Fields]: Fields[K] extends FieldRef<infer T> ? T : never; | ||
}>; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@pothos/plugin-simple-objects", | ||
"version": "3.6.7", | ||
"version": "3.6.8", | ||
"description": "A Pothos plugin for defining objects and interfaces without ts definitions for those types", | ||
@@ -19,3 +19,4 @@ "main": "./lib/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/hayes/pothos.git" | ||
"url": "git+https://github.com/hayes/pothos.git", | ||
"directory": "packages/plugin-simple-objects" | ||
}, | ||
@@ -35,3 +36,4 @@ "author": "Michael Hayes", | ||
"publishConfig": { | ||
"access": "public" | ||
"access": "public", | ||
"provenance": true | ||
}, | ||
@@ -43,6 +45,6 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@pothos/core": "3.22.9", | ||
"@pothos/test-utils": "1.4.7", | ||
"graphql": "16.6.0", | ||
"graphql-tag": "^2.12.6" | ||
"graphql-tag": "^2.12.6", | ||
"@pothos/core": "3.30.0", | ||
"@pothos/test-utils": "1.4.8" | ||
}, | ||
@@ -49,0 +51,0 @@ "gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc", |
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
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
42143