New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-compose-modules

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-compose-modules - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

lib/astToSchema.d.ts

8

lib/index.d.ts
/// <reference types="node" />
import { requireSchemaDirectory, RequireOptions } from './requireSchemaDirectory';
import { requireAstToSchema, AstOptions } from './requireAstToSchema';
export interface BuildOptions extends RequireOptions, AstOptions {
import { directoryToAst, Options } from './directoryToAst';
import { astToSchema, AstOptions } from './astToSchema';
export interface BuildOptions extends Options, AstOptions {
}
export declare function buildSchema(module: NodeModule, opts?: BuildOptions): import("graphql").GraphQLSchema;
export declare function loadSchemaComposer(module: NodeModule, opts: BuildOptions): import("graphql-compose").SchemaComposer<any>;
export { requireSchemaDirectory, requireAstToSchema };
export { directoryToAst, astToSchema };
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var requireSchemaDirectory_1 = require("./requireSchemaDirectory");
exports.requireSchemaDirectory = requireSchemaDirectory_1.requireSchemaDirectory;
var requireAstToSchema_1 = require("./requireAstToSchema");
exports.requireAstToSchema = requireAstToSchema_1.requireAstToSchema;
var directoryToAst_1 = require("./directoryToAst");
exports.directoryToAst = directoryToAst_1.directoryToAst;
var astToSchema_1 = require("./astToSchema");
exports.astToSchema = astToSchema_1.astToSchema;
function buildSchema(module, opts) {

@@ -13,4 +13,4 @@ if (opts === void 0) { opts = {}; }

function loadSchemaComposer(module, opts) {
var ast = requireSchemaDirectory_1.requireSchemaDirectory(module, opts);
var sc = requireAstToSchema_1.requireAstToSchema(ast, opts);
var ast = directoryToAst_1.directoryToAst(module, opts);
var sc = astToSchema_1.astToSchema(ast, opts);
return sc;

@@ -17,0 +17,0 @@ }

{
"name": "graphql-compose-modules",
"license": "MIT",
"version": "1.0.1",
"version": "1.0.2",
"description": "A toolset for construction GraphQL Schema via file structure",

@@ -50,3 +50,3 @@ "repository": "https://github.com/graphql-compose/graphql-compose-modules",

"start-example2": "cd ./examples/simpleNamespaces && yarn install && yarn watch",
"start-example3": "cd ./examples/forTests && yarn install && yarn watch"
"start-example3": "cd ./examples/testSchema && yarn install && yarn watch"
},

@@ -53,0 +53,0 @@ "collective": {

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