@wmfs/tymly-pg-plugin
Advanced tools
Comparing version 1.195.0 to 1.195.1
@@ -5,7 +5,5 @@ const _ = require('lodash') | ||
class AuditTrail { | ||
init (resourceConfig, env, callback) { | ||
init (resourceConfig, env) { | ||
this.auditLog = env.bootedServices.storage.models.tymly_rewind | ||
this.models = env.blueprintComponents.models | ||
callback(null) | ||
} // init | ||
@@ -12,0 +10,0 @@ |
const _ = require('lodash') | ||
class GetCurrentValueFromSequence { | ||
init (resourceConfig, env, callback) { | ||
init (resourceConfig, env) { | ||
this.id = `${_.snakeCase(resourceConfig.namespace)}.${_.snakeCase(resourceConfig.id)}` | ||
this.client = env.bootedServices.storage.client | ||
callback(null) | ||
} | ||
@@ -9,0 +8,0 @@ |
const _ = require('lodash') | ||
class GetNextValueFromSequence { | ||
init (resourceConfig, env, callback) { | ||
init (resourceConfig, env) { | ||
this.id = `${_.snakeCase(resourceConfig.namespace)}.${_.snakeCase(resourceConfig.id)}` | ||
this.client = env.bootedServices.storage.client | ||
callback(null) | ||
} | ||
@@ -9,0 +8,0 @@ |
@@ -10,3 +10,3 @@ /** | ||
class ImportingCsvFiles { | ||
init (resourceConfig, env, callback) { | ||
init (resourceConfig, env) { | ||
this.headerColumnNamePkPrefix = resourceConfig.headerColumnNamePkPrefix | ||
@@ -17,3 +17,2 @@ this.topDownTableOrder = resourceConfig.topDownTableOrder | ||
this.multicopy = resourceConfig.multicopy || false | ||
callback(null) | ||
} | ||
@@ -20,0 +19,0 @@ |
@@ -9,3 +9,3 @@ /** | ||
class SynchronizingTable { | ||
init (resourceConfig, env, callback) { | ||
init (resourceConfig, env) { | ||
this.client = env.bootedServices.storage.client | ||
@@ -19,3 +19,2 @@ this.source = resourceConfig.source | ||
) | ||
callback(null) | ||
} | ||
@@ -22,0 +21,0 @@ |
{ | ||
"name": "@wmfs/tymly-pg-plugin", | ||
"version": "1.195.0", | ||
"version": "1.195.1", | ||
"description": "Replace Tymly's out-the-box memory storage with PostgreSQL", | ||
@@ -48,3 +48,3 @@ "author": "West Midlands Fire Service", | ||
"rimraf": "3.0.2", | ||
"semantic-release": "17.0.4", | ||
"semantic-release": "17.0.6", | ||
"standard": "14.3.3", | ||
@@ -54,3 +54,3 @@ "@semantic-release/changelog": "5.0.1", | ||
"@semantic-release/exec": "5.0.0", | ||
"@wmfs/tymly": "1.135.0" | ||
"@wmfs/tymly": "1.135.1" | ||
}, | ||
@@ -57,0 +57,0 @@ "scripts": { |
{ | ||
"name": "pg", | ||
"version": "1.195.0", | ||
"version": "1.195.1", | ||
"label": "PG", | ||
@@ -5,0 +5,0 @@ "author": "Tim Needham", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
211655
3950