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

@pothos/plugin-simple-objects

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pothos/plugin-simple-objects - npm Package Compare versions

Comparing version 3.6.7 to 3.6.8

6

CHANGELOG.md
# Change Log
## 3.6.8
### Patch Changes
- 4c6bc638: Add provinance to npm releases
## 3.6.7

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

6

dts/types.d.ts
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

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