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

@neo4j/relate-api

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

@neo4j/relate-api - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/schema.graphql

14

dist/index.d.ts

@@ -11,10 +11,4 @@ // Generated by dts-bundle v0.7.3

const buildSchema: (options: BuildSchemaOptions) => Promise<GraphQLSchema>;
export { getSchema, buildSchema, createResolver, ResolverAPI };
export { getSchema, buildSchema, };
export function createResolver(api: ResolverAPI): any;
export interface ResolverAPI {
getWorkspace(): Promise<Workspace>;
onWorkspaceChange(updatedWorkspace: Workspace): Promise<Workspace>;
}
class Settings {

@@ -148,1 +142,7 @@ allowSendReports: boolean;

export function createResolver(api: ResolverAPI<any>): any;
export interface ResolverAPI<TContext> {
getWorkspace(context: TContext): Promise<Workspace>;
onWorkspaceChange(context: TContext, updatedWorkspace: Workspace): Promise<Workspace>;
}

@@ -94,3 +94,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1);
/******/ return __webpack_require__(__webpack_require__.s = 2);
/******/ })

@@ -110,23 +110,2 @@ /************************************************************************/

Object.defineProperty(exports, "__esModule", { value: true });
const type_graphql_1 = __webpack_require__(0);
const WorkspaceResolver_1 = __webpack_require__(2);
exports.createResolver = WorkspaceResolver_1.createResolver;
const getSchema = async () => {
const schema = __webpack_require__(5);
return Promise.resolve(schema);
};
exports.getSchema = getSchema;
const buildSchema = async (options) => {
return type_graphql_1.buildSchema(options);
};
exports.buildSchema = buildSchema;
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -141,59 +120,4 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
Object.defineProperty(exports, "__esModule", { value: true });
const type_graphql_1 = __webpack_require__(0);
const types_1 = __webpack_require__(3);
const constants_1 = __webpack_require__(4);
function createResolver(api) {
let WorkspaceResolver = class WorkspaceResolver {
getWorkspace() {
return api.getWorkspace();
}
;
onWorkspaceChange(updatedWorkspace) {
return api.onWorkspaceChange(updatedWorkspace);
}
};
__decorate([
type_graphql_1.Query(_ => types_1.Workspace),
__metadata("design:type", Function),
__metadata("design:paramtypes", []),
__metadata("design:returntype", Promise)
], WorkspaceResolver.prototype, "getWorkspace", null);
__decorate([
type_graphql_1.Subscription(_ => types_1.Workspace, {
topics: constants_1.WorkspaceUpdateTopics
}),
__param(0, type_graphql_1.Root()),
__metadata("design:type", Function),
__metadata("design:paramtypes", [types_1.Workspace]),
__metadata("design:returntype", Promise)
], WorkspaceResolver.prototype, "onWorkspaceChange", null);
WorkspaceResolver = __decorate([
type_graphql_1.Resolver(types_1.Workspace)
], WorkspaceResolver);
return WorkspaceResolver;
}
exports.createResolver = createResolver;
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
const type_graphql_1 = __webpack_require__(0);
let Settings = class Settings {

@@ -583,2 +507,32 @@ };

/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
const type_graphql_1 = __webpack_require__(0);
const getSchema = async () => {
const schema = __webpack_require__(3);
return Promise.resolve(schema);
};
exports.getSchema = getSchema;
const buildSchema = async (options) => {
return type_graphql_1.buildSchema(options);
};
exports.buildSchema = buildSchema;
__export(__webpack_require__(1));
__export(__webpack_require__(4));
/***/ }),
/* 3 */
/***/ (function(module, exports) {
module.exports = "# -----------------------------------------------\n# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!\n# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!\n# -----------------------------------------------\n\ntype ActivationKey {\n featureName: String!\n expirationDate: String!\n activationVersion: String!\n featureVersion: String!\n registrant: String!\n organization: String!\n email: String!\n signature: String!\n}\n\ntype BoltConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n tlsLevel: TLSLevel!\n username: String\n password: String\n url: String!\n}\n\ntype Enabled {\n enabled: Boolean!\n}\n\ntype General {\n online: Boolean!\n settings: Settings!\n}\n\ntype Graph {\n id: String!\n name: String!\n description: String!\n status: GraphStatus!\n connection: GraphConnection!\n}\n\nunion GraphConnection = GraphLocalConnection | GraphRemoteConnection\n\ntype GraphInfo {\n version: String!\n edition: String!\n}\n\ntype GraphLocalConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphLocalConnectionStatus!\n info: GraphInfo!\n configuration: GraphLocalConnectionConfiguration!\n}\n\ntype GraphLocalConnectionConfiguration {\n path: String!\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphLocalConnectionStatus {\n STOPPED\n STOPPING\n STARTING\n RESTARTING\n RUNNING\n UNKNOWN\n NEW\n CREATING\n REMOVING\n UPGRADING\n MISSING\n}\n\ntype GraphProtocolConfiguration {\n bolt: BoltConfiguration!\n http: HTTPConfiguration!\n https: HTTPConfiguration!\n}\n\ntype GraphRemoteConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphRemoteConnectionStatus!\n info: GraphInfo!\n configuration: GraphRemoteConnectionProtocols!\n}\n\ntype GraphRemoteConnectionProtocols {\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphRemoteConnectionStatus {\n UNKNOWN\n NEW\n CREATING\n REMOVING\n ACTIVATING\n AVAILABLE\n UPDATING\n NOT_AVAILABLE\n INVALID_PASSWORD\n DEACTIVATING\n DEACTIVATED\n}\n\nenum GraphStatus {\n ACTIVE\n INACTIVE\n}\n\ntype HTTPConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n url: String!\n}\n\ntype KerberosMethod {\n kerberos: Enabled!\n servicePrincipal: String\n}\n\ntype Project {\n id: String!\n name: String!\n graphs: [Graph!]!\n}\n\ntype Query {\n getWorkspace: Workspace!\n}\n\ntype Settings {\n allowSendReports: Boolean!\n allowSendStats: Boolean!\n allowStoreCredentials: Boolean!\n}\n\ntype Subscription {\n onWorkspaceChange: Workspace!\n}\n\nenum TLSLevel {\n OPTIONAL\n REQUIRED\n DISABLED\n}\n\ntype Workspace {\n activationKeys: [ActivationKey!]!\n general: General!\n projects: [Project!]!\n}\n"
/***/ }),
/* 4 */

@@ -589,3 +543,59 @@ /***/ (function(module, exports, __webpack_require__) {

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
Object.defineProperty(exports, "__esModule", { value: true });
const type_graphql_1 = __webpack_require__(0);
const types_1 = __webpack_require__(1);
const constants_1 = __webpack_require__(5);
function createResolver(api) {
let WorkspaceResolver = class WorkspaceResolver {
getWorkspace(context) {
return api.getWorkspace(context);
}
;
onWorkspaceChange(context, updatedWorkspace) {
return api.onWorkspaceChange(context, updatedWorkspace);
}
};
__decorate([
type_graphql_1.Query(_ => types_1.Workspace),
__param(0, type_graphql_1.Ctx()),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", Promise)
], WorkspaceResolver.prototype, "getWorkspace", null);
__decorate([
type_graphql_1.Subscription(_ => types_1.Workspace, {
topics: constants_1.WorkspaceUpdateTopics
}),
__param(0, type_graphql_1.Ctx()), __param(1, type_graphql_1.Root()),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object, types_1.Workspace]),
__metadata("design:returntype", Promise)
], WorkspaceResolver.prototype, "onWorkspaceChange", null);
WorkspaceResolver = __decorate([
type_graphql_1.Resolver(types_1.Workspace)
], WorkspaceResolver);
return WorkspaceResolver;
}
exports.createResolver = createResolver;
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.APPLICATION_ONLINE = 'APPLICATION_ONLINE';

@@ -639,8 +649,2 @@ exports.APPLICATION_OFFLINE = 'APPLICATION_OFFLINE';

/***/ }),
/* 5 */
/***/ (function(module, exports) {
module.exports = "# -----------------------------------------------\n# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!\n# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!\n# -----------------------------------------------\n\ntype ActivationKey {\n featureName: String!\n expirationDate: String!\n activationVersion: String!\n featureVersion: String!\n registrant: String!\n organization: String!\n email: String!\n signature: String!\n}\n\ntype BoltConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n tlsLevel: TLSLevel!\n username: String\n password: String\n url: String!\n}\n\ntype Enabled {\n enabled: Boolean!\n}\n\ntype General {\n online: Boolean!\n settings: Settings!\n}\n\ntype Graph {\n id: String!\n name: String!\n description: String!\n status: GraphStatus!\n connection: GraphConnection!\n}\n\nunion GraphConnection = GraphLocalConnection | GraphRemoteConnection\n\ntype GraphInfo {\n version: String!\n edition: String!\n}\n\ntype GraphLocalConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphLocalConnectionStatus!\n info: GraphInfo!\n configuration: GraphLocalConnectionConfiguration!\n}\n\ntype GraphLocalConnectionConfiguration {\n path: String!\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphLocalConnectionStatus {\n STOPPED\n STOPPING\n STARTING\n RESTARTING\n RUNNING\n UNKNOWN\n NEW\n CREATING\n REMOVING\n UPGRADING\n MISSING\n}\n\ntype GraphProtocolConfiguration {\n bolt: BoltConfiguration!\n http: HTTPConfiguration!\n https: HTTPConfiguration!\n}\n\ntype GraphRemoteConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphRemoteConnectionStatus!\n info: GraphInfo!\n configuration: GraphRemoteConnectionProtocols!\n}\n\ntype GraphRemoteConnectionProtocols {\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphRemoteConnectionStatus {\n UNKNOWN\n NEW\n CREATING\n REMOVING\n ACTIVATING\n AVAILABLE\n UPDATING\n NOT_AVAILABLE\n INVALID_PASSWORD\n DEACTIVATING\n DEACTIVATED\n}\n\nenum GraphStatus {\n ACTIVE\n INACTIVE\n}\n\ntype HTTPConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n url: String!\n}\n\ntype KerberosMethod {\n kerberos: Enabled!\n servicePrincipal: String\n}\n\ntype Project {\n id: String!\n name: String!\n graphs: [Graph!]!\n}\n\ntype Query {\n getWorkspace: Workspace!\n}\n\ntype Settings {\n allowSendReports: Boolean!\n allowSendStats: Boolean!\n allowStoreCredentials: Boolean!\n}\n\ntype Subscription {\n onWorkspaceChange: Workspace!\n}\n\nenum TLSLevel {\n OPTIONAL\n REQUIRED\n DISABLED\n}\n\ntype Workspace {\n activationKeys: [ActivationKey!]!\n general: General!\n projects: [Project!]!\n}\n"
/***/ })

@@ -647,0 +651,0 @@ /******/ ]);

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("relate-api",[],t):"object"==typeof exports?exports["relate-api"]=t():e["relate-api"]=t()}(global,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=require("type-graphql")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n(0),i=n(2);t.createResolver=i.createResolver;t.getSchema=(async()=>{const e=n(5);return Promise.resolve(e)});t.buildSchema=(async e=>o.buildSchema(e))},function(e,t,n){"use strict";var o=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,p=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(p=(r<3?i(p):r>3?i(t,n,p):i(t,n))||p);return r>3&&p&&Object.defineProperty(t,n,p),p},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,o){t(n,o,e)}};Object.defineProperty(t,"__esModule",{value:!0});const p=n(0),a=n(3),s=n(4);t.createResolver=function(e){let t=class{getWorkspace(){return e.getWorkspace()}onWorkspaceChange(t){return e.onWorkspaceChange(t)}};return o([p.Query(e=>a.Workspace),i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",Promise)],t.prototype,"getWorkspace",null),o([p.Subscription(e=>a.Workspace,{topics:s.WorkspaceUpdateTopics}),r(0,p.Root()),i("design:type",Function),i("design:paramtypes",[a.Workspace]),i("design:returntype",Promise)],t.prototype,"onWorkspaceChange",null),t=o([p.Resolver(a.Workspace)],t)}},function(e,t,n){"use strict";var o=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,p=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(p=(r<3?i(p):r>3?i(t,n,p):i(t,n))||p);return r>3&&p&&Object.defineProperty(t,n,p),p},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);let p=class{};o([r.Field(),i("design:type",Boolean)],p.prototype,"allowSendReports",void 0),o([r.Field(),i("design:type",Boolean)],p.prototype,"allowSendStats",void 0),o([r.Field(),i("design:type",Boolean)],p.prototype,"allowStoreCredentials",void 0),p=o([r.ObjectType()],p);let a=class{};var s,d;o([r.Field(),i("design:type",Boolean)],a.prototype,"online",void 0),o([r.Field(),i("design:type",p)],a.prototype,"settings",void 0),a=o([r.ObjectType()],a),function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"}(s=t.GraphStatus||(t.GraphStatus={})),r.registerEnumType(s,{name:"GraphStatus"}),function(e){e.STOPPED="STOPPED",e.STOPPING="STOPPING",e.STARTING="STARTING",e.RESTARTING="RESTARTING",e.RUNNING="RUNNING",e.UNKNOWN="UNKNOWN",e.NEW="NEW",e.CREATING="CREATING",e.REMOVING="REMOVING",e.UPGRADING="UPGRADING",e.MISSING="MISSING"}(d=t.GraphLocalConnectionStatus||(t.GraphLocalConnectionStatus={})),r.registerEnumType(d,{name:"GraphLocalConnectionStatus"});let l=class{};o([r.Field(),i("design:type",String)],l.prototype,"version",void 0),o([r.Field(),i("design:type",String)],l.prototype,"edition",void 0),l=o([r.ObjectType()],l),t.GraphInfo=l;let E=class{};o([r.Field(),i("design:type",Boolean)],E.prototype,"enabled",void 0),E=o([r.ObjectType()],E),t.Enabled=E;let A=class{};var T;o([r.Field(),i("design:type",E)],A.prototype,"kerberos",void 0),o([r.Field({nullable:!0}),i("design:type",String)],A.prototype,"servicePrincipal",void 0),A=o([r.ObjectType()],A),t.KerberosMethod=A,function(e){e.OPTIONAL="OPTIONAL",e.REQUIRED="REQUIRED",e.DISABLED="DISABLED"}(T=t.TLSLevel||(t.TLSLevel={})),r.registerEnumType(T,{name:"TLSLevel"});let c=class{};o([r.Field(),i("design:type",Boolean)],c.prototype,"enabled",void 0),o([r.Field(),i("design:type",String)],c.prototype,"host",void 0),o([r.Field(),i("design:type",Number)],c.prototype,"port",void 0),o([r.Field(e=>T),i("design:type",String)],c.prototype,"tlsLevel",void 0),o([r.Field({nullable:!0}),i("design:type",String)],c.prototype,"username",void 0),o([r.Field({nullable:!0}),i("design:type",String)],c.prototype,"password",void 0),o([r.Field(),i("design:type",String)],c.prototype,"url",void 0),c=o([r.ObjectType()],c),t.BoltConfiguration=c;let y=class{};o([r.Field(),i("design:type",Boolean)],y.prototype,"enabled",void 0),o([r.Field(),i("design:type",String)],y.prototype,"host",void 0),o([r.Field(),i("design:type",Number)],y.prototype,"port",void 0),o([r.Field(),i("design:type",String)],y.prototype,"url",void 0),y=o([r.ObjectType()],y),t.HTTPConfiguration=y;let S=class{};o([r.Field(),i("design:type",c)],S.prototype,"bolt",void 0),o([r.Field(),i("design:type",y)],S.prototype,"http",void 0),o([r.Field(),i("design:type",y)],S.prototype,"https",void 0),S=o([r.ObjectType()],S),t.GraphProtocolConfiguration=S;let g=class{};o([r.Field(),i("design:type",String)],g.prototype,"path",void 0),o([r.Field(),i("design:type",S)],g.prototype,"protocols",void 0),o([r.Field({nullable:!0}),i("design:type",A)],g.prototype,"authenticationMethods",void 0),g=o([r.ObjectType()],g),t.GraphLocalConnectionConfiguration=g;let N=class{};var u;o([r.Field(),i("design:type",String)],N.prototype,"type",void 0),o([r.Field(),i("design:type",String)],N.prototype,"databaseType",void 0),o([r.Field(e=>d),i("design:type",String)],N.prototype,"databaseStatus",void 0),o([r.Field(),i("design:type",l)],N.prototype,"info",void 0),o([r.Field(),i("design:type",g)],N.prototype,"configuration",void 0),N=o([r.ObjectType()],N),t.GraphLocalConnection=N,function(e){e.UNKNOWN="UNKNOWN",e.NEW="NEW",e.CREATING="CREATING",e.REMOVING="REMOVING",e.ACTIVATING="ACTIVATING",e.AVAILABLE="AVAILABLE",e.UPDATING="UPDATING",e.NOT_AVAILABLE="NOT_AVAILABLE",e.INVALID_PASSWORD="INVALID_PASSWORD",e.DEACTIVATING="DEACTIVATING",e.DEACTIVATED="DEACTIVATED"}(u=t.GraphRemoteConnectionStatus||(t.GraphRemoteConnectionStatus={})),r.registerEnumType(u,{name:"GraphRemoteConnectionStatus"});let I=class{};o([r.Field(),i("design:type",S)],I.prototype,"protocols",void 0),o([r.Field({nullable:!0}),i("design:type",A)],I.prototype,"authenticationMethods",void 0),I=o([r.ObjectType()],I),t.GraphRemoteConnectionProtocols=I;let O=class{};o([r.Field(),i("design:type",String)],O.prototype,"type",void 0),o([r.Field(),i("design:type",String)],O.prototype,"databaseType",void 0),o([r.Field(e=>u),i("design:type",String)],O.prototype,"databaseStatus",void 0),o([r.Field(),i("design:type",l)],O.prototype,"info",void 0),o([r.Field(),i("design:type",I)],O.prototype,"configuration",void 0),O=o([r.ObjectType()],O),t.GraphRemoteConnection=O,t.GraphConnection=r.createUnionType({name:"GraphConnection",types:[N,O]});let C=class{};o([r.Field(),i("design:type",String)],C.prototype,"id",void 0),o([r.Field(),i("design:type",String)],C.prototype,"name",void 0),o([r.Field(),i("design:type",String)],C.prototype,"description",void 0),o([r.Field(e=>s),i("design:type",String)],C.prototype,"status",void 0),o([r.Field(e=>t.GraphConnection),i("design:type",Object)],C.prototype,"connection",void 0),C=o([r.ObjectType()],C),t.Graph=C;let R=class{};o([r.Field(),i("design:type",String)],R.prototype,"id",void 0),o([r.Field(),i("design:type",String)],R.prototype,"name",void 0),o([r.Field(e=>[C]),i("design:type",Array)],R.prototype,"graphs",void 0),R=o([r.ObjectType()],R),t.Project=R;let D=class{};o([r.Field(),i("design:type",String)],D.prototype,"featureName",void 0),o([r.Field(),i("design:type",String)],D.prototype,"expirationDate",void 0),o([r.Field(),i("design:type",String)],D.prototype,"activationVersion",void 0),o([r.Field(),i("design:type",String)],D.prototype,"featureVersion",void 0),o([r.Field(),i("design:type",String)],D.prototype,"registrant",void 0),o([r.Field(),i("design:type",String)],D.prototype,"organization",void 0),o([r.Field(),i("design:type",String)],D.prototype,"email",void 0),o([r.Field(),i("design:type",String)],D.prototype,"signature",void 0),D=o([r.ObjectType()],D),t.ActivationKey=D;let _=class{};o([r.Field(e=>[D]),i("design:type",Array)],_.prototype,"activationKeys",void 0),o([r.Field(),i("design:type",a)],_.prototype,"general",void 0),o([r.Field(e=>[R]),i("design:type",Array)],_.prototype,"projects",void 0),_=o([r.ObjectType()],_),t.Workspace=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APPLICATION_ONLINE="APPLICATION_ONLINE",t.APPLICATION_OFFLINE="APPLICATION_OFFLINE",t.APPLICATION_SETTINGS_SAVED="APPLICATION_SETTINGS_SAVED",t.DATABASE_CREATED="DATABASE_CREATED",t.DATABASE_STARTED="DATABASE_STARTED",t.DATABASE_STOPPED="DATABASE_STOPPED",t.DATABASE_SETTINGS_SAVED="DATABASE_SETTINGS_SAVED",t.DATABASE_RENAMED="DATABASE_RENAMED",t.DATABASE_REMOVED="DATABASE_REMOVED",t.DATABASE_UPDATED="DATABASE_UPDATED",t.DATABASE_UPGRADED="DATABASE_UPGRADED",t.REMOTE_CONNECTION_CREATED="REMOTE_CONNECTION_CREATED",t.REMOTE_CONNECTION_REMOVED="REMOTE_CONNECTION_REMOVED",t.REMOTE_CONNECTION_ACTIVATED="REMOTE_CONNECTION_ACTIVATED",t.REMOTE_CONNECTION_DEACTIVATED="REMOTE_CONNECTION_DEACTIVATED",t.REMOTE_CONNECTION_UPDATED="REMOTE_CONNECTION_UPDATED",t.PROJECT_CREATED="PROJECT_CREATED",t.PROJECT_REMOVED="PROJECT_REMOVED",t.PROJECT_RENAMED="PROJECT_RENAMED",t.GRAPH_ACTIVE="GRAPH_ACTIVE",t.GRAPH_INACTIVE="GRAPH_INACTIVE",t.DATABASE_CHANGING_ACTIONS=[t.DATABASE_CREATED,t.DATABASE_STARTED,t.DATABASE_STOPPED,t.DATABASE_RENAMED,t.DATABASE_REMOVED,t.DATABASE_UPDATED,t.DATABASE_UPGRADED,t.DATABASE_SETTINGS_SAVED,t.REMOTE_CONNECTION_CREATED,t.REMOTE_CONNECTION_REMOVED,t.REMOTE_CONNECTION_UPDATED,t.REMOTE_CONNECTION_ACTIVATED,t.REMOTE_CONNECTION_DEACTIVATED],t.PROJECT_CHANGING_ACTIONS=[t.PROJECT_CREATED,t.PROJECT_REMOVED,t.PROJECT_RENAMED],t.WorkspaceUpdateTopics=[t.APPLICATION_SETTINGS_SAVED,t.GRAPH_ACTIVE,t.GRAPH_INACTIVE,t.APPLICATION_ONLINE,t.APPLICATION_OFFLINE,...t.PROJECT_CHANGING_ACTIONS,...t.DATABASE_CHANGING_ACTIONS]},function(e,t){e.exports="# -----------------------------------------------\n# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!\n# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!\n# -----------------------------------------------\n\ntype ActivationKey {\n featureName: String!\n expirationDate: String!\n activationVersion: String!\n featureVersion: String!\n registrant: String!\n organization: String!\n email: String!\n signature: String!\n}\n\ntype BoltConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n tlsLevel: TLSLevel!\n username: String\n password: String\n url: String!\n}\n\ntype Enabled {\n enabled: Boolean!\n}\n\ntype General {\n online: Boolean!\n settings: Settings!\n}\n\ntype Graph {\n id: String!\n name: String!\n description: String!\n status: GraphStatus!\n connection: GraphConnection!\n}\n\nunion GraphConnection = GraphLocalConnection | GraphRemoteConnection\n\ntype GraphInfo {\n version: String!\n edition: String!\n}\n\ntype GraphLocalConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphLocalConnectionStatus!\n info: GraphInfo!\n configuration: GraphLocalConnectionConfiguration!\n}\n\ntype GraphLocalConnectionConfiguration {\n path: String!\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphLocalConnectionStatus {\n STOPPED\n STOPPING\n STARTING\n RESTARTING\n RUNNING\n UNKNOWN\n NEW\n CREATING\n REMOVING\n UPGRADING\n MISSING\n}\n\ntype GraphProtocolConfiguration {\n bolt: BoltConfiguration!\n http: HTTPConfiguration!\n https: HTTPConfiguration!\n}\n\ntype GraphRemoteConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphRemoteConnectionStatus!\n info: GraphInfo!\n configuration: GraphRemoteConnectionProtocols!\n}\n\ntype GraphRemoteConnectionProtocols {\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphRemoteConnectionStatus {\n UNKNOWN\n NEW\n CREATING\n REMOVING\n ACTIVATING\n AVAILABLE\n UPDATING\n NOT_AVAILABLE\n INVALID_PASSWORD\n DEACTIVATING\n DEACTIVATED\n}\n\nenum GraphStatus {\n ACTIVE\n INACTIVE\n}\n\ntype HTTPConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n url: String!\n}\n\ntype KerberosMethod {\n kerberos: Enabled!\n servicePrincipal: String\n}\n\ntype Project {\n id: String!\n name: String!\n graphs: [Graph!]!\n}\n\ntype Query {\n getWorkspace: Workspace!\n}\n\ntype Settings {\n allowSendReports: Boolean!\n allowSendStats: Boolean!\n allowStoreCredentials: Boolean!\n}\n\ntype Subscription {\n onWorkspaceChange: Workspace!\n}\n\nenum TLSLevel {\n OPTIONAL\n REQUIRED\n DISABLED\n}\n\ntype Workspace {\n activationKeys: [ActivationKey!]!\n general: General!\n projects: [Project!]!\n}\n"}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("relate-api",[],t):"object"==typeof exports?exports["relate-api"]=t():e["relate-api"]=t()}(global,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t){e.exports=require("type-graphql")},function(e,t,n){"use strict";var o=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,p=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(p=(r<3?i(p):r>3?i(t,n,p):i(t,n))||p);return r>3&&p&&Object.defineProperty(t,n,p),p},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});const r=n(0);let p=class{};o([r.Field(),i("design:type",Boolean)],p.prototype,"allowSendReports",void 0),o([r.Field(),i("design:type",Boolean)],p.prototype,"allowSendStats",void 0),o([r.Field(),i("design:type",Boolean)],p.prototype,"allowStoreCredentials",void 0),p=o([r.ObjectType()],p);let a=class{};var s,d;o([r.Field(),i("design:type",Boolean)],a.prototype,"online",void 0),o([r.Field(),i("design:type",p)],a.prototype,"settings",void 0),a=o([r.ObjectType()],a),function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"}(s=t.GraphStatus||(t.GraphStatus={})),r.registerEnumType(s,{name:"GraphStatus"}),function(e){e.STOPPED="STOPPED",e.STOPPING="STOPPING",e.STARTING="STARTING",e.RESTARTING="RESTARTING",e.RUNNING="RUNNING",e.UNKNOWN="UNKNOWN",e.NEW="NEW",e.CREATING="CREATING",e.REMOVING="REMOVING",e.UPGRADING="UPGRADING",e.MISSING="MISSING"}(d=t.GraphLocalConnectionStatus||(t.GraphLocalConnectionStatus={})),r.registerEnumType(d,{name:"GraphLocalConnectionStatus"});let l=class{};o([r.Field(),i("design:type",String)],l.prototype,"version",void 0),o([r.Field(),i("design:type",String)],l.prototype,"edition",void 0),l=o([r.ObjectType()],l),t.GraphInfo=l;let E=class{};o([r.Field(),i("design:type",Boolean)],E.prototype,"enabled",void 0),E=o([r.ObjectType()],E),t.Enabled=E;let A=class{};var T;o([r.Field(),i("design:type",E)],A.prototype,"kerberos",void 0),o([r.Field({nullable:!0}),i("design:type",String)],A.prototype,"servicePrincipal",void 0),A=o([r.ObjectType()],A),t.KerberosMethod=A,function(e){e.OPTIONAL="OPTIONAL",e.REQUIRED="REQUIRED",e.DISABLED="DISABLED"}(T=t.TLSLevel||(t.TLSLevel={})),r.registerEnumType(T,{name:"TLSLevel"});let c=class{};o([r.Field(),i("design:type",Boolean)],c.prototype,"enabled",void 0),o([r.Field(),i("design:type",String)],c.prototype,"host",void 0),o([r.Field(),i("design:type",Number)],c.prototype,"port",void 0),o([r.Field(e=>T),i("design:type",String)],c.prototype,"tlsLevel",void 0),o([r.Field({nullable:!0}),i("design:type",String)],c.prototype,"username",void 0),o([r.Field({nullable:!0}),i("design:type",String)],c.prototype,"password",void 0),o([r.Field(),i("design:type",String)],c.prototype,"url",void 0),c=o([r.ObjectType()],c),t.BoltConfiguration=c;let y=class{};o([r.Field(),i("design:type",Boolean)],y.prototype,"enabled",void 0),o([r.Field(),i("design:type",String)],y.prototype,"host",void 0),o([r.Field(),i("design:type",Number)],y.prototype,"port",void 0),o([r.Field(),i("design:type",String)],y.prototype,"url",void 0),y=o([r.ObjectType()],y),t.HTTPConfiguration=y;let S=class{};o([r.Field(),i("design:type",c)],S.prototype,"bolt",void 0),o([r.Field(),i("design:type",y)],S.prototype,"http",void 0),o([r.Field(),i("design:type",y)],S.prototype,"https",void 0),S=o([r.ObjectType()],S),t.GraphProtocolConfiguration=S;let g=class{};o([r.Field(),i("design:type",String)],g.prototype,"path",void 0),o([r.Field(),i("design:type",S)],g.prototype,"protocols",void 0),o([r.Field({nullable:!0}),i("design:type",A)],g.prototype,"authenticationMethods",void 0),g=o([r.ObjectType()],g),t.GraphLocalConnectionConfiguration=g;let N=class{};var u;o([r.Field(),i("design:type",String)],N.prototype,"type",void 0),o([r.Field(),i("design:type",String)],N.prototype,"databaseType",void 0),o([r.Field(e=>d),i("design:type",String)],N.prototype,"databaseStatus",void 0),o([r.Field(),i("design:type",l)],N.prototype,"info",void 0),o([r.Field(),i("design:type",g)],N.prototype,"configuration",void 0),N=o([r.ObjectType()],N),t.GraphLocalConnection=N,function(e){e.UNKNOWN="UNKNOWN",e.NEW="NEW",e.CREATING="CREATING",e.REMOVING="REMOVING",e.ACTIVATING="ACTIVATING",e.AVAILABLE="AVAILABLE",e.UPDATING="UPDATING",e.NOT_AVAILABLE="NOT_AVAILABLE",e.INVALID_PASSWORD="INVALID_PASSWORD",e.DEACTIVATING="DEACTIVATING",e.DEACTIVATED="DEACTIVATED"}(u=t.GraphRemoteConnectionStatus||(t.GraphRemoteConnectionStatus={})),r.registerEnumType(u,{name:"GraphRemoteConnectionStatus"});let I=class{};o([r.Field(),i("design:type",S)],I.prototype,"protocols",void 0),o([r.Field({nullable:!0}),i("design:type",A)],I.prototype,"authenticationMethods",void 0),I=o([r.ObjectType()],I),t.GraphRemoteConnectionProtocols=I;let O=class{};o([r.Field(),i("design:type",String)],O.prototype,"type",void 0),o([r.Field(),i("design:type",String)],O.prototype,"databaseType",void 0),o([r.Field(e=>u),i("design:type",String)],O.prototype,"databaseStatus",void 0),o([r.Field(),i("design:type",l)],O.prototype,"info",void 0),o([r.Field(),i("design:type",I)],O.prototype,"configuration",void 0),O=o([r.ObjectType()],O),t.GraphRemoteConnection=O,t.GraphConnection=r.createUnionType({name:"GraphConnection",types:[N,O]});let C=class{};o([r.Field(),i("design:type",String)],C.prototype,"id",void 0),o([r.Field(),i("design:type",String)],C.prototype,"name",void 0),o([r.Field(),i("design:type",String)],C.prototype,"description",void 0),o([r.Field(e=>s),i("design:type",String)],C.prototype,"status",void 0),o([r.Field(e=>t.GraphConnection),i("design:type",Object)],C.prototype,"connection",void 0),C=o([r.ObjectType()],C),t.Graph=C;let D=class{};o([r.Field(),i("design:type",String)],D.prototype,"id",void 0),o([r.Field(),i("design:type",String)],D.prototype,"name",void 0),o([r.Field(e=>[C]),i("design:type",Array)],D.prototype,"graphs",void 0),D=o([r.ObjectType()],D),t.Project=D;let R=class{};o([r.Field(),i("design:type",String)],R.prototype,"featureName",void 0),o([r.Field(),i("design:type",String)],R.prototype,"expirationDate",void 0),o([r.Field(),i("design:type",String)],R.prototype,"activationVersion",void 0),o([r.Field(),i("design:type",String)],R.prototype,"featureVersion",void 0),o([r.Field(),i("design:type",String)],R.prototype,"registrant",void 0),o([r.Field(),i("design:type",String)],R.prototype,"organization",void 0),o([r.Field(),i("design:type",String)],R.prototype,"email",void 0),o([r.Field(),i("design:type",String)],R.prototype,"signature",void 0),R=o([r.ObjectType()],R),t.ActivationKey=R;let _=class{};o([r.Field(e=>[R]),i("design:type",Array)],_.prototype,"activationKeys",void 0),o([r.Field(),i("design:type",a)],_.prototype,"general",void 0),o([r.Field(e=>[D]),i("design:type",Array)],_.prototype,"projects",void 0),_=o([r.ObjectType()],_),t.Workspace=_},function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});const i=n(0);t.getSchema=(async()=>{const e=n(3);return Promise.resolve(e)});t.buildSchema=(async e=>i.buildSchema(e)),o(n(1)),o(n(4))},function(e,t){e.exports="# -----------------------------------------------\n# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!\n# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!\n# -----------------------------------------------\n\ntype ActivationKey {\n featureName: String!\n expirationDate: String!\n activationVersion: String!\n featureVersion: String!\n registrant: String!\n organization: String!\n email: String!\n signature: String!\n}\n\ntype BoltConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n tlsLevel: TLSLevel!\n username: String\n password: String\n url: String!\n}\n\ntype Enabled {\n enabled: Boolean!\n}\n\ntype General {\n online: Boolean!\n settings: Settings!\n}\n\ntype Graph {\n id: String!\n name: String!\n description: String!\n status: GraphStatus!\n connection: GraphConnection!\n}\n\nunion GraphConnection = GraphLocalConnection | GraphRemoteConnection\n\ntype GraphInfo {\n version: String!\n edition: String!\n}\n\ntype GraphLocalConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphLocalConnectionStatus!\n info: GraphInfo!\n configuration: GraphLocalConnectionConfiguration!\n}\n\ntype GraphLocalConnectionConfiguration {\n path: String!\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphLocalConnectionStatus {\n STOPPED\n STOPPING\n STARTING\n RESTARTING\n RUNNING\n UNKNOWN\n NEW\n CREATING\n REMOVING\n UPGRADING\n MISSING\n}\n\ntype GraphProtocolConfiguration {\n bolt: BoltConfiguration!\n http: HTTPConfiguration!\n https: HTTPConfiguration!\n}\n\ntype GraphRemoteConnection {\n type: String!\n databaseType: String!\n databaseStatus: GraphRemoteConnectionStatus!\n info: GraphInfo!\n configuration: GraphRemoteConnectionProtocols!\n}\n\ntype GraphRemoteConnectionProtocols {\n protocols: GraphProtocolConfiguration!\n authenticationMethods: KerberosMethod\n}\n\nenum GraphRemoteConnectionStatus {\n UNKNOWN\n NEW\n CREATING\n REMOVING\n ACTIVATING\n AVAILABLE\n UPDATING\n NOT_AVAILABLE\n INVALID_PASSWORD\n DEACTIVATING\n DEACTIVATED\n}\n\nenum GraphStatus {\n ACTIVE\n INACTIVE\n}\n\ntype HTTPConfiguration {\n enabled: Boolean!\n host: String!\n port: Float!\n url: String!\n}\n\ntype KerberosMethod {\n kerberos: Enabled!\n servicePrincipal: String\n}\n\ntype Project {\n id: String!\n name: String!\n graphs: [Graph!]!\n}\n\ntype Query {\n getWorkspace: Workspace!\n}\n\ntype Settings {\n allowSendReports: Boolean!\n allowSendStats: Boolean!\n allowStoreCredentials: Boolean!\n}\n\ntype Subscription {\n onWorkspaceChange: Workspace!\n}\n\nenum TLSLevel {\n OPTIONAL\n REQUIRED\n DISABLED\n}\n\ntype Workspace {\n activationKeys: [ActivationKey!]!\n general: General!\n projects: [Project!]!\n}\n"},function(e,t,n){"use strict";var o=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,p=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(p=(r<3?i(p):r>3?i(t,n,p):i(t,n))||p);return r>3&&p&&Object.defineProperty(t,n,p),p},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(n,o){t(n,o,e)}};Object.defineProperty(t,"__esModule",{value:!0});const p=n(0),a=n(1),s=n(5);t.createResolver=function(e){let t=class{getWorkspace(t){return e.getWorkspace(t)}onWorkspaceChange(t,n){return e.onWorkspaceChange(t,n)}};return o([p.Query(e=>a.Workspace),r(0,p.Ctx()),i("design:type",Function),i("design:paramtypes",[Object]),i("design:returntype",Promise)],t.prototype,"getWorkspace",null),o([p.Subscription(e=>a.Workspace,{topics:s.WorkspaceUpdateTopics}),r(0,p.Ctx()),r(1,p.Root()),i("design:type",Function),i("design:paramtypes",[Object,a.Workspace]),i("design:returntype",Promise)],t.prototype,"onWorkspaceChange",null),t=o([p.Resolver(a.Workspace)],t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APPLICATION_ONLINE="APPLICATION_ONLINE",t.APPLICATION_OFFLINE="APPLICATION_OFFLINE",t.APPLICATION_SETTINGS_SAVED="APPLICATION_SETTINGS_SAVED",t.DATABASE_CREATED="DATABASE_CREATED",t.DATABASE_STARTED="DATABASE_STARTED",t.DATABASE_STOPPED="DATABASE_STOPPED",t.DATABASE_SETTINGS_SAVED="DATABASE_SETTINGS_SAVED",t.DATABASE_RENAMED="DATABASE_RENAMED",t.DATABASE_REMOVED="DATABASE_REMOVED",t.DATABASE_UPDATED="DATABASE_UPDATED",t.DATABASE_UPGRADED="DATABASE_UPGRADED",t.REMOTE_CONNECTION_CREATED="REMOTE_CONNECTION_CREATED",t.REMOTE_CONNECTION_REMOVED="REMOTE_CONNECTION_REMOVED",t.REMOTE_CONNECTION_ACTIVATED="REMOTE_CONNECTION_ACTIVATED",t.REMOTE_CONNECTION_DEACTIVATED="REMOTE_CONNECTION_DEACTIVATED",t.REMOTE_CONNECTION_UPDATED="REMOTE_CONNECTION_UPDATED",t.PROJECT_CREATED="PROJECT_CREATED",t.PROJECT_REMOVED="PROJECT_REMOVED",t.PROJECT_RENAMED="PROJECT_RENAMED",t.GRAPH_ACTIVE="GRAPH_ACTIVE",t.GRAPH_INACTIVE="GRAPH_INACTIVE",t.DATABASE_CHANGING_ACTIONS=[t.DATABASE_CREATED,t.DATABASE_STARTED,t.DATABASE_STOPPED,t.DATABASE_RENAMED,t.DATABASE_REMOVED,t.DATABASE_UPDATED,t.DATABASE_UPGRADED,t.DATABASE_SETTINGS_SAVED,t.REMOTE_CONNECTION_CREATED,t.REMOTE_CONNECTION_REMOVED,t.REMOTE_CONNECTION_UPDATED,t.REMOTE_CONNECTION_ACTIVATED,t.REMOTE_CONNECTION_DEACTIVATED],t.PROJECT_CHANGING_ACTIONS=[t.PROJECT_CREATED,t.PROJECT_REMOVED,t.PROJECT_RENAMED],t.WorkspaceUpdateTopics=[t.APPLICATION_SETTINGS_SAVED,t.GRAPH_ACTIVE,t.GRAPH_INACTIVE,t.APPLICATION_ONLINE,t.APPLICATION_OFFLINE,...t.PROJECT_CHANGING_ACTIONS,...t.DATABASE_CHANGING_ACTIONS]}])});
{
"name": "@neo4j/relate-api",
"version": "0.2.0",
"version": "0.3.0",
"main": "dist/index.js",

@@ -8,5 +8,6 @@ "types": "dist/index.d.ts",

"build-schema": "ts-node --no-cache sample/build.ts",
"build-schema-prod": "ts-node --no-cache sample/build.ts && copyfiles -u 1 sample/schema.gql .",
"build-schema-prod": "ts-node --no-cache sample/build.ts && copyfiles -u 1 sample/schema.graphql .",
"build": "yarn build-schema-prod && cross-env NODE_ENV=production webpack --config webpack.config.js",
"start": "nodemon -x ts-node --no-cache sample/index.ts",
"preparePublish": "echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc",
"prepublishOnly": "yarn build"

@@ -25,3 +26,3 @@ },

"graphql-yoga": "^1.16.7",
"nodemon": "1.18.6",
"nodemon": "1.18.7",
"raw-loader": "^0.5.1",

@@ -28,0 +29,0 @@ "terser-webpack-plugin": "^1.1.0",

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