@neo4j/graphql
Version:
A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations
52 lines • 2.95 kB
JavaScript
/*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultComplexityEstimators = exports.Relationship = exports.Node = exports.Neo4jGraphQL = exports.Neo4jDatabaseInfo = exports.GraphElement = void 0;
const graphql_query_complexity_1 = require("graphql-query-complexity");
__exportStar(require("./Error"), exports);
var GraphElement_1 = require("./GraphElement");
Object.defineProperty(exports, "GraphElement", { enumerable: true, get: function () { return GraphElement_1.GraphElement; } });
var Neo4jDatabaseInfo_1 = require("./Neo4jDatabaseInfo");
Object.defineProperty(exports, "Neo4jDatabaseInfo", { enumerable: true, get: function () { return Neo4jDatabaseInfo_1.Neo4jDatabaseInfo; } });
var Neo4jGraphQL_1 = require("./Neo4jGraphQL");
Object.defineProperty(exports, "Neo4jGraphQL", { enumerable: true, get: function () { return __importDefault(Neo4jGraphQL_1).default; } });
var Node_1 = require("./Node");
Object.defineProperty(exports, "Node", { enumerable: true, get: function () { return __importDefault(Node_1).default; } });
var Relationship_1 = require("./Relationship");
Object.defineProperty(exports, "Relationship", { enumerable: true, get: function () { return __importDefault(Relationship_1).default; } });
exports.DefaultComplexityEstimators = [(0, graphql_query_complexity_1.fieldExtensionsEstimator)(), (0, graphql_query_complexity_1.simpleEstimator)({ defaultComplexity: 1 })];
//# sourceMappingURL=index.js.map
;