{"_id":"@aerogear/data-sync-gql-core","_rev":"8-65094b0a6e273a470cfa1a5495da7acc","name":"@aerogear/data-sync-gql-core","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@aerogear/data-sync-gql-core","version":"0.0.1","description":"A package to perform execution of graphql for sync modules.","main":"index.js","scripts":{"test":"ava '*.test.js' '**/*.test.js' '!integration_test/*'"},"devDependencies":{"ava":"1.0.0-beta.6","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.13.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-standard":"^3.1.0"},"author":{"name":"scoady@redhat.com"},"license":"Apache-2.0","dependencies":{"apollo-server-express":"^2.0.6","axios":"^0.18.0","eslint":"^5.5.0","graphql":"^0.13.2","handlebars":"^4.0.12","joi":"^13.6.0","json-parse-safe":"^1.0.5","lodash":"^4.17.10","nedb":"^1.8.0","pg-pubsub":"^0.4.0","pino":"^5.5.0","prom-client":"^11.1.1","sequelize":"^4.38.0","sqlite3":"^4.0.2"},"gitHead":"c623dbfd8df5f980e32e0e077e1360ba9df3d599","_id":"@aerogear/data-sync-gql-core@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"wtrocki","email":"wtrocki@redhat.com"},"dist":{"integrity":"sha512-y87ucYghCa/48KRzyirnAuTly3rZ2LAN8Th+kc/Ix8GwBe3Ufs0BB/Ch0YVE17DOAUpX2tJroWwPZVWWsEzbvQ==","shasum":"fa44725bff579e98cf48e62cc05ada8a605bc2c4","tarball":"https://registry.npmjs.org/@aerogear/data-sync-gql-core/-/data-sync-gql-core-0.0.1.tgz","fileCount":44,"unpackedSize":64398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0t4rCRA9TVsSAnZWagAA7eIP/RI9Z1a2qI7JfgcHBgTB\nQR1emGQOkqEGKmmA0fVTY3Cx6NngWVgn8MSCe7z04Jbc8tKSHWkoODJKMZby\nztuHBQx2lv3nqE3vo+TIykUhfqDhSBYiXmggJWbeeAOR21jHI1CrmghZLrN1\npzZ8K3N8QbR8ohpn8ZjTawhQiDXYxE0KHnT3XavTakbvWJufOSXWgiYYWL1m\nZLRZDprok05GhcKRQv9JzwnvMpjKAn+wYrHI+a2lSQ0xZhAItb7oLEMBH+Sb\n9SQGwRJDTKoowUkC1DgIFf6pUK2nHhFAw1LW39kghZQNPhbi1EaJBs8uDxtI\nnUylVjX8BSyjiPrC+qABDlUhYaUZEewe1JsboqpnqD2E3CsB0wwkkaB9HcL5\nII72S8tq2mhPQEWokIL0rsz1TlgQQs5Flu8lRKgiyABVcbFmSvKbTwaUvv+z\nJ2jRSZkCBkTcSRKe9pG3OyJK/WAFBl5L0xshIit9HMWoVwnqLQR+zzs4zW8D\nzt7TkTLsbCHl3k7deZoZI1AmfSHXBzhwqxaNZ5+NLBLqTNJzcjTwjJw4ebd5\ngV47VlXljtPUAW0KprHF+fYyaD/j83pL7YDGjJrXl9wzOuA1Zmle1yj7Ku5z\nT0i1WUgz9UWda4EZechriOHqPym8BeYXaH1casPmWHvhzwdnfYLyiQfBd03E\ni1jR\r\n=jheQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtuJqDcIl5iJKCet6Ot403tul0uml4xTVk/0WygX8LUgIgaYNloJq+v7c2lmJK0mUzOHJXoGRlMTTvtVN4/qeSyIk="}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"josemigallas","email":"jgallaso@redhat.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-sync-gql-core_0.0.1_1540546090981_0.6872962632627566"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-26T09:28:10.908Z","0.0.1":"2018-10-26T09:28:11.110Z","modified":"2022-06-15T15:07:21.968Z"},"maintainers":[{"email":"aerogear@redhat.com","name":"aerogears"},{"email":"wtrocki@redhat.com","name":"wtrocki"},{"email":"matzew@apache.org","name":"matzew"},{"email":"mziccard@redhat.com","name":"aerogear-ci"},{"email":"massimiliano.ziccardi@gmail.com","name":"ziccardi"},{"email":"ephelan@redhat.com","name":"ephelan"}],"description":"A package to perform execution of graphql for sync modules.","author":{"name":"scoady@redhat.com"},"license":"Apache-2.0","readme":"# AeroGear Sync Core Execution Framework\n\nThis is the core module for data sync which produces an executable schema from data models.\n\n# Functionality\n\n* Provides access to the models required for Data Sync\n* Provides any module with an executable schema\n* Connect to active datasources\n\n# Usage\n\nCurrently, Data sync uses this module in the following way:\n\nIt requires the module, along with makeExecutableSchema from graphql-tools (required as graphql needs each module to only rely on its own tooling):\n```\nconst { Core } = require('@aerogear/data-sync-gql-core')\nconst { makeExecutableSchema } = require('graphql-tools')\n\n```\nIt initialises the Core class with the config and the makeExecutableSchema object:s\n```\nconst core = new Core(myConfig, makeExecutableSchema)\n```\n\nUses the core to obtain the schema and dataSources:\n```\nconst { schema, dataSources } = core.buildSchema(schemaName, pubsub, schemaDirectives)\n```\n\nIt can then connect to data sources:\n```\ncore.connectActiveDataSources(dataSources)\n```\n\nOr disconnect from data sources:\n```\ncore.disconnectActiveDataSources(dataSources)\n```\n\n# Planned Work\n\n* Convert this module to typescript to improve its usability and reliability as part of the overall sync offering.","readmeFilename":"README.md"}