ldap-ts-client
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -21,6 +21,6 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
modification is just a plain old JS object with the values you want. */ | ||
interface Change { | ||
export interface ModifyChange<T = any> { | ||
operation: "add" | "delete" | "replace"; | ||
modification: { | ||
[key: string]: any; | ||
[key in keyof T]: any; | ||
}; | ||
@@ -30,3 +30,3 @@ } | ||
dn: string; | ||
changes: Change[]; | ||
changes: ModifyChange[]; | ||
controls?: any; | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "ldap-ts-client", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Type-safe LDAP client written in typescript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -24,6 +24,6 @@ import ldap, { SearchOptions, Control, SearchEntryObject } from "ldapjs"; | ||
modification is just a plain old JS object with the values you want. */ | ||
interface Change { | ||
export interface ModifyChange<T = any> { | ||
operation: "add" | "delete" | "replace"; | ||
modification: { | ||
[key: string]: any; | ||
[key in keyof T]: any; | ||
}; | ||
@@ -33,3 +33,3 @@ } | ||
dn: string; | ||
changes: Change[]; | ||
changes: ModifyChange[]; | ||
controls?: any; | ||
@@ -36,0 +36,0 @@ } |
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
55243