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

@common-stack/server-core

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@common-stack/server-core - npm Package Compare versions

Comparing version 0.5.10 to 0.5.15

22

lib/connector/connector.d.ts

@@ -9,7 +9,7 @@ import { ConfigurationScope, IDirectiveOptions, IMongoMigration, IOverwritePreference, IPreferences, IResolverOptions, IWebsocketConfig, IGraphqlShieldRules, IAddPermissions, IAddPolicies } from '../interfaces';

}
export declare type FederationServiceDeclaration = (options: IFederationServiceOptions) => Promise<void>;
export type FederationServiceDeclaration = (options: IFederationServiceOptions) => Promise<void>;
/**
* Feature Params that can be passed to Feature Module.
*/
export declare type FeatureParams<T = ConfigurationScope> = {
export type FeatureParams<T = ConfigurationScope> = {
schema?: string | string[];

@@ -21,2 +21,3 @@ createRemoteSchemas?: Function | Function[];

postBindContainerFunc?: Function[];
postBindHemraContainerFunc?: Function[];
createServiceFunc?: Function | Function[];

@@ -73,2 +74,3 @@ createDataSourceFunc?: Function | Function[];

postBindContainerFunc: Function[];
postBindHemraContainerFunc: Function[];
federation: FederationServiceDeclaration[];

@@ -214,5 +216,3 @@ createHemeraContainerFunc: Function[];

entries(): IterableIterator<[number, IPreferences<S>]>;
keys(): IterableIterator<number>; /**
* Policies Preferences
*/
keys(): IterableIterator<number>;
values(): IterableIterator<IPreferences<S>>;

@@ -273,5 +273,3 @@ includes(searchElement: IPreferences<S>, fromIndex?: number): boolean;

entries(): IterableIterator<[number, IPreferences<T>]>;
keys(): IterableIterator<number>; /**
* Policies Preferences
*/
keys(): IterableIterator<number>;
values(): IterableIterator<IPreferences<T>>;

@@ -332,5 +330,3 @@ includes(searchElement: IPreferences<T>, fromIndex?: number): boolean;

entries(): IterableIterator<[number, IPreferences<T>]>;
keys(): IterableIterator<number>; /**
* Policies Preferences
*/
keys(): IterableIterator<number>;
values(): IterableIterator<IPreferences<T>>;

@@ -391,5 +387,3 @@ includes(searchElement: IPreferences<T>, fromIndex?: number): boolean;

entries(): IterableIterator<[number, IPreferences<S>]>;
keys(): IterableIterator<number>; /**
* Policies Preferences
*/
keys(): IterableIterator<number>;
values(): IterableIterator<IPreferences<S>>;

@@ -396,0 +390,0 @@ includes(searchElement: IPreferences<S>, fromIndex?: number): boolean;

@@ -28,2 +28,3 @@ /******/ (() => { // webpackBootstrap

this.postBindContainerFunc = combine(args, (arg) => arg.postBindContainerFunc);
this.postBindHemraContainerFunc = combine(args, (arg) => arg.postBindHemraContainerFunc);
this.createServiceFunc = combine(args, (arg) => arg.createServiceFunc);

@@ -193,2 +194,5 @@ this.preCreateServiceFunc = combine(args, (arg) => arg.preCreateServiceFunc);

}));
this.postBindHemraContainerFunc.map((bindModule) => {
this.hemeraContainer.load(bindModule(this.container));
});
return this.hemeraContainer;

@@ -195,0 +199,0 @@ }

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

export declare type IResolverFunc<T> = (source: Record<string, any>, args: Record<string, any>, ctx: Record<string, any>) => Promise<T>;
export type IResolverFunc<T> = (source: Record<string, any>, args: Record<string, any>, ctx: Record<string, any>) => Promise<T>;
export interface IRule {
[key: string]: IResolverFunc<Record<string, any>>;
}
export declare type IGraphqlShieldRules = Record<GraphqlRootType & {
export type IGraphqlShieldRules = Record<GraphqlRootType & {
[key: string]: string;

@@ -7,0 +7,0 @@ }, IRule>;

{
"name": "@common-stack/server-core",
"version": "0.5.10",
"version": "0.5.15",
"description": "common core for higher packages to depend on",

@@ -49,3 +49,3 @@ "license": "ISC",

},
"gitHead": "206628e266f88fc3dee9939a8407bcb6d638305c",
"gitHead": "9511904a1cd9912e3e3e94f0da8f2f21abb14f3e",
"typescript": {

@@ -52,0 +52,0 @@ "definition": "lib/index.d.ts"

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