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.36 to 0.7.37

10

dist/bundle/dts/data/CollectionsService.d.ts
import { Collection } from "./Collection";
import { CollectionAccessContext } from "./CollectionAccessService";
import { MongoDBCollection } from "./MongoDBCollection";
import { SmallstackModel } from "./SmallstackModel";
import { TypeServiceQueryAccess } from "./Type";
export interface CollectionsService {

@@ -16,8 +18,4 @@ getCollectionByName<ModelClass extends SmallstackModel>(name: string): Collection<ModelClass>;

export interface PublisherMethodParameters {
context: {
userId: string;
headers?: any;
};
parameters: any;
accessObject: any;
context: CollectionAccessContext;
accessObject: TypeServiceQueryAccess;
}

@@ -24,0 +22,0 @@ export interface PublisherMethodResult {

6

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

@@ -11,5 +11,9 @@ import { API } from "../api/API";

}
export interface TypeServiceQueryAccess {
[key: string]: any;
hasRole?: string;
}
export interface TypeServiceQuery {
selector: any;
access: any;
access: TypeServiceQueryAccess;
sorting: any;

@@ -16,0 +20,0 @@ name: string;

{
"name": "@smallstack/common",
"version": "0.7.36",
"version": "0.7.37",
"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