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

remult

Package Overview
Dependencies
Maintainers
2
Versions
631
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remult - npm Package Compare versions

Comparing version 0.7.7 to 0.8.1

2

package.json
{
"name": "remult",
"version": "0.7.7",
"version": "0.8.1",
"description": "remult core lib",

@@ -5,0 +5,0 @@ "homepage": "https://remult.github.io/",

@@ -57,5 +57,4 @@ import { DataProvider } from "./data-interfaces";

}
export declare type AllowedItem = string | ((c: Remult) => boolean) | boolean;
export declare type Allowed = AllowedItem | AllowedItem[];
export declare type AllowedForInstance<T> = string | ((c: Remult, entity: T) => boolean) | boolean | Allowed;
export declare type Allowed = boolean | string | string[] | ((c: Remult) => boolean);
export declare type AllowedForInstance<T> = boolean | string | string[] | ((c: Remult, entity?: T) => boolean);
export declare class Allow {

@@ -62,0 +61,0 @@ static everyone: () => boolean;

@@ -9,4 +9,4 @@ import { FieldMetadata } from "../column-interfaces";

static resolve<entityType>(filter: EntityFilter<entityType> | (() => EntityFilter<entityType> | Promise<EntityFilter<entityType>>)): Promise<EntityFilter<entityType>>;
static createCustom<entityType>(customFilterTranslator: (e: EntityMetadata<entityType>, r: Remult) => EntityFilter<entityType> | Promise<EntityFilter<entityType>>): (() => EntityFilter<entityType>) & customFilterInfo<entityType>;
static createCustom<entityType, argsType>(customFilterTranslator: (e: EntityMetadata<entityType>, r: Remult, args: argsType) => EntityFilter<entityType> | Promise<EntityFilter<entityType>>): ((y: argsType) => EntityFilter<entityType>) & customFilterInfo<entityType>;
static createCustom<entityType>(customFilterTranslator: (r: Remult) => EntityFilter<entityType> | Promise<EntityFilter<entityType>>): (() => EntityFilter<entityType>) & customFilterInfo<entityType>;
static createCustom<entityType, argsType>(customFilterTranslator: (r: Remult, args: argsType) => EntityFilter<entityType> | Promise<EntityFilter<entityType>>): ((y: argsType) => EntityFilter<entityType>) & customFilterInfo<entityType>;
static fromEntityFilter<T>(entity: EntityMetadata<T>, whereItem: EntityFilter<T>): Filter;

@@ -84,4 +84,4 @@ toJson(): any;

key: string;
customFilterTranslator: (e: EntityMetadata<entityType>, r: Remult, args: any) => (EntityFilter<entityType> | Promise<EntityFilter<entityType>>);
customFilterTranslator: (r: Remult, args: any) => (EntityFilter<entityType> | Promise<EntityFilter<entityType>>);
};
}

@@ -160,3 +160,3 @@ "use strict";

_g = [filterFactories];
return [4 /*yield*/, element.customFilterInfo.customFilterTranslator(entity, remult, custom)];
return [4 /*yield*/, element.customFilterInfo.customFilterTranslator(remult, custom)];
case 2: return [4 /*yield*/, _f.apply(_e, _g.concat([_h.sent()]))];

@@ -163,0 +163,0 @@ case 3:

@@ -123,3 +123,3 @@ import { ClassType } from "../../classType";

[Properties in keyof PartialEB<entityType>]?: (PartialEB<entityType>[Properties] extends number | Date ? ComparisonValueFilter<PartialEB<entityType>[Properties]> : PartialEB<entityType>[Properties] extends string ? ContainsStringValueFilter & ComparisonValueFilter<string> : PartialEB<entityType>[Properties] extends boolean ? ValueFilter<boolean> : ValueFilter<PartialEB<entityType>[Properties]>) & ContainsStringValueFilter;
} | {
} & {
$or?: EntityFilter<entityType>[];

@@ -126,0 +126,0 @@ $and?: EntityFilter<entityType>[];

@@ -189,5 +189,4 @@ import { FieldMetadata, FieldOptions, ValueListItem } from "../column-interfaces";

isNew(): boolean;
wasChanged(): boolean;
get $(): Fields<this>;
}
export {};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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