interface-store
Advanced tools
Comparing version 5.1.1 to 5.1.2
(function (root, factory) {(typeof module === 'object' && module.exports) ? module.exports = factory() : root.InterfaceStore = factory()}(typeof self !== 'undefined' ? self : this, function () { | ||
"use strict";var InterfaceStore=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var y=(n,t,s,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of p(t))!r.call(n,e)&&e!==s&&i(n,e,{get:()=>t[e],enumerable:!(o=a(t,e))||o.enumerable});return n};var l=n=>y(i({},"__esModule",{value:!0}),n);var A={};return l(A);})(); | ||
"use strict";var InterfaceStore=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var y=(e,t,s,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of p(t))!r.call(e,n)&&n!==s&&i(e,n,{get:()=>t[n],enumerable:!(o=a(t,n))||o.enumerable});return e};var l=e=>y(i({},"__esModule",{value:!0}),e);var A={};return l(A);})(); | ||
return InterfaceStore})); |
@@ -15,3 +15,3 @@ /** | ||
} | ||
export interface Store<Key, Value, Pair, HasOptionsExtension = unknown, PutOptionsExtension = unknown, PutManyOptionsExtension = unknown, GetOptionsExtension = unknown, GetManyOptionsExtension = unknown, DeleteOptionsExtension = unknown, DeleteManyOptionsExtension = unknown> { | ||
export interface Store<Key, Value, Pair, HasOptionsExtension = {}, PutOptionsExtension = {}, PutManyOptionsExtension = {}, GetOptionsExtension = {}, GetManyOptionsExtension = {}, DeleteOptionsExtension = {}, DeleteManyOptionsExtension = {}> { | ||
/** | ||
@@ -18,0 +18,0 @@ * Check for the existence of a value for the passed key |
{ | ||
"name": "interface-store", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "A generic interface for storing and retrieving data", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT", |
@@ -0,1 +1,6 @@ | ||
/* eslint-disable @typescript-eslint/ban-types */ | ||
// this ignore is so we can use {} as the default value for the options | ||
// extensions below - it normally means "any non-nullish value" but here | ||
// we are using it as an intersection type - see the aside at the bottom: | ||
// https://github.com/typescript-eslint/typescript-eslint/issues/2063#issuecomment-675156492 | ||
@@ -19,6 +24,6 @@ /** | ||
export interface Store<Key, Value, Pair, HasOptionsExtension = unknown, | ||
PutOptionsExtension = unknown, PutManyOptionsExtension = unknown, | ||
GetOptionsExtension = unknown, GetManyOptionsExtension = unknown, | ||
DeleteOptionsExtension = unknown, DeleteManyOptionsExtension = unknown> { | ||
export interface Store<Key, Value, Pair, HasOptionsExtension = {}, | ||
PutOptionsExtension = {}, PutManyOptionsExtension = {}, | ||
GetOptionsExtension = {}, GetManyOptionsExtension = {}, | ||
DeleteOptionsExtension = {}, DeleteManyOptionsExtension = {}> { | ||
/** | ||
@@ -25,0 +30,0 @@ * Check for the existence of a value for the passed key |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45261
230