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

@smallstack/common

Package Overview
Dependencies
Maintainers
2
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smallstack/common - npm Package Compare versions

Comparing version 0.7.35 to 0.7.36

9

dist/bundle/dts/data/CollectionAccessService.d.ts

@@ -5,6 +5,9 @@ import { PublisherMethodParameters } from "./CollectionsService";

export declare type PublisherMethod = (parameters: PublisherMethodParameters) => Promise<PublisherMethodResult>;
export interface CollectionAccessContext {
[key: string]: any;
userId?: string;
headers?: string;
}
export interface CollectionAccessService {
checkAccess(serviceQuery: TypeServiceQuery, context: {
userId: string;
}, parameters: any): Promise<PublisherMethodResult[]>;
checkAccess(serviceQuery: TypeServiceQuery, context: CollectionAccessContext): Promise<PublisherMethodResult[]>;
addPublisherMethod(name: string, method: PublisherMethod): void;

@@ -11,0 +14,0 @@ executePublisherMethod(publisherMethodName: string, params: PublisherMethodParameters): Promise<PublisherMethodResult>;

{
"name": "@smallstack/common",
"version": "0.7.35",
"version": "0.7.36",
"description": "common functionality for smallstack projects",

@@ -5,0 +5,0 @@ "main": "dist/bundle/smallstack_common.umd.js",

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