Socket
Socket
Sign inDemoInstall

@orion-js/schema

Package Overview
Dependencies
Maintainers
2
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orion-js/schema - npm Package Compare versions

Comparing version 3.0.0-alpha.13 to 3.0.0-alpha.23

14

lib/types/schema.d.ts

@@ -51,5 +51,17 @@ import { FieldType } from '../fieldType';

/**
* Deprecated
* @deprecated
*/
custom?: ValidateFunction;
/**
* Used in GraphQL. If true, the field will be omitted from the schema.
*/
private?: boolean;
/**
* Used in GraphQL. When in GraphQL, this resolver will replace the static field.
*/
graphQLResolver?: (...args: any) => any;
/**
* Used in GraphQL. Sets the key of the field in the GraphQL schema. You must set this value when building your schema.
*/
key?: string;
}

@@ -56,0 +68,0 @@ export interface CurrentNodeInfoOptions {

3

lib/types/types.test.js

@@ -11,3 +11,4 @@ "use strict";

type: 'string',
optional: true
optional: true,
private: true
}

@@ -14,0 +15,0 @@ };

{
"name": "@orion-js/schema",
"version": "3.0.0-alpha.13",
"version": "3.0.0-alpha.23",
"main": "lib/index.js",

@@ -43,3 +43,3 @@ "types": "lib/index.d.ts",

},
"gitHead": "82c882da5213349bbec68e8692e18895aeb56e07"
"gitHead": "3a2082794e3b1a8748a5aace8d68e5c18a92b707"
}
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