@mcma/data
Advanced tools
Comparing version 0.13.17 to 0.13.18
@@ -6,2 +6,9 @@ import { Query } from "./query/query"; | ||
import { QueryResults } from "./query/query-results"; | ||
import { Logger } from "@mcma/core"; | ||
export interface MutexProperties { | ||
name: string; | ||
holder: string; | ||
lockTimeout?: number; | ||
logger?: Logger; | ||
} | ||
export interface DocumentDatabaseTable { | ||
@@ -13,3 +20,3 @@ query<TDocument extends Document = Document>(query: Query<TDocument>): Promise<QueryResults<TDocument>>; | ||
delete(id: string): Promise<void>; | ||
createMutex(mutexName: string, mutexHolder: string, lockTimeout?: number): DocumentDatabaseMutex; | ||
createMutex(mutexProperties: MutexProperties): DocumentDatabaseMutex; | ||
} |
{ | ||
"name": "@mcma/data", | ||
"version": "0.13.17", | ||
"version": "0.13.18", | ||
"description": "Node module with helper utils for dealing with data in the EBU MCMA framework", | ||
"engines": { | ||
"node": "~10.16.3" | ||
"node": "^12.19.0" | ||
}, | ||
@@ -32,6 +32,6 @@ "type": "commonjs", | ||
"peerDependencies": { | ||
"@mcma/core": "0.13.17" | ||
"@mcma/core": "0.13.18" | ||
}, | ||
"devDependencies": { | ||
"@mcma/core": "0.13.17", | ||
"@mcma/core": "0.13.18", | ||
"@types/node": "^13.7.4", | ||
@@ -38,0 +38,0 @@ "jasmine": "^3.3.1" |
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
13711
276