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

redux-saga-resources

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-saga-resources - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

2

es6/batch/interfaces.d.ts

@@ -56,3 +56,3 @@ import { Action } from 'redux';

createImmediately?: boolean;
id?: string;
id?: any;
merger?: IBatchMerger<T>;

@@ -59,0 +59,0 @@ }

@@ -52,3 +52,3 @@ import { Action } from 'redux';

createImmediately?: boolean;
id?: string;
id?: any;
}

@@ -55,0 +55,0 @@ export interface IEditorDescriptor<T> {

@@ -63,4 +63,4 @@ import { Action } from 'redux';

key(item: T): string;
id(item: T): string;
tempId(item: T): string;
id(item: T): any;
tempId(item: T): any;
error(item: T): any;

@@ -85,3 +85,3 @@ isModified(item: T): Status;

export interface IResourceOptions {
id?: string;
id?: any;
}

@@ -88,0 +88,0 @@ export interface IResourceDescriptor<T> {

{
"name": "redux-saga-resources",
"version": "0.1.14",
"version": "0.1.15",
"description": "",

@@ -5,0 +5,0 @@ "typings": "es6/index.d.ts",

@@ -44,3 +44,3 @@ import { Action } from 'redux';

createImmediately?: boolean;
id?: string;
id?: any;
merger?: IBatchMerger<T>;

@@ -47,0 +47,0 @@ }

@@ -74,3 +74,3 @@ import { Action } from 'redux';

createImmediately?: boolean;
id?: string;
id?: any;
}

@@ -77,0 +77,0 @@ export interface IEditorDescriptor<T> {

@@ -85,4 +85,4 @@ import { Action } from 'redux';

key(item: T): string;
id(item: T): string;
tempId(item: T): string;
id(item: T): any;
tempId(item: T): any;
error(item: T): any;

@@ -108,3 +108,3 @@ isModified(item: T): Status;

export interface IResourceOptions {
id?: string;
id?: any;
}

@@ -111,0 +111,0 @@

@@ -16,3 +16,3 @@ import 'arrayq';

error: (state: any) => scope(state).error as string,
itemById: (id: string) => (state: any) => scope(state).list.qFirst((item: T) => hasSameId(item, { [options.id]: id } as any)),
itemById: (id: any) => (state: any) => scope(state).list.qFirst((item: T) => hasSameId(item, { [options.id]: id } as any)),
itemByItem: (item: T) => (state: any) => scope(state).list.qFirst((existing: T) => hasSameId(item, existing)),

@@ -19,0 +19,0 @@ items: (state: any) => scope(state).list as T[],

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