@clearroad/api
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="3.0.2"></a> | ||
## [3.0.2](https://github.com/clearroad/clearroad-api/compare/v3.0.1...v3.0.2) (2019-04-08) | ||
<a name="3.0.1"></a> | ||
@@ -7,0 +12,0 @@ ## [3.0.1](https://github.com/clearroad/clearroad-api/compare/v3.0.0...v3.0.1) (2019-01-23) |
@@ -494,5 +494,3 @@ "use strict"; | ||
var localStorage = this.localSubStorage(refKey); | ||
var mappingStorageWithEnclosure = __assign({}, localStorage, { | ||
attachment_list: [storage_1.defaultAttachmentName], | ||
attachment: (_a = {}, | ||
var mappingStorageWithEnclosure = __assign({}, localStorage, { attachment_list: [storage_1.defaultAttachmentName], attachment: (_a = {}, | ||
_a[storage_1.defaultAttachmentName] = { | ||
@@ -502,4 +500,3 @@ get: { uri_template: 'enclosure' }, | ||
}, | ||
_a) | ||
}); | ||
_a) }); | ||
this.reportStorage = jIO.createJIO({ | ||
@@ -513,7 +510,5 @@ report_level: maxLogLevel, | ||
signature_hash_key: exports.querySourceReference, | ||
signature_sub_storage: this.useLocalStorage ? signatureStorage : __assign({}, mappingStorageWithEnclosure, { | ||
mapping_dict: (_b = {}, | ||
signature_sub_storage: this.useLocalStorage ? signatureStorage : __assign({}, mappingStorageWithEnclosure, { mapping_dict: (_b = {}, | ||
_b[exports.queryPortalType] = ['equalSubProperty', exports.querySourceReference], | ||
_b) | ||
}), | ||
_b) }), | ||
query: { | ||
@@ -536,7 +531,5 @@ query: query, | ||
check_local_attachment_deletion: false, | ||
local_sub_storage: this.useLocalStorage ? localStorage : __assign({}, mappingStorageWithEnclosure, { | ||
mapping_dict: (_c = {}, | ||
local_sub_storage: this.useLocalStorage ? localStorage : __assign({}, mappingStorageWithEnclosure, { mapping_dict: (_c = {}, | ||
_c[exports.queryPortalType] = ['equalSubProperty', refKey], | ||
_c) | ||
}), | ||
_c) }), | ||
remote_sub_storage: { | ||
@@ -543,0 +536,0 @@ type: 'mapping', |
const Rusha = require('rusha'); | ||
const jIO = require('jio').jIO; | ||
const { jIO } = require('jio'); | ||
const { all } = require('rsvp'); | ||
@@ -471,5 +471,3 @@ import { validateDefinition } from './definitions/index'; | ||
const localStorage = this.localSubStorage(refKey); | ||
const mappingStorageWithEnclosure = Object.assign({}, localStorage, { | ||
attachment_list: [defaultAttachmentName], | ||
attachment: { | ||
const mappingStorageWithEnclosure = Object.assign({}, localStorage, { attachment_list: [defaultAttachmentName], attachment: { | ||
[defaultAttachmentName]: { | ||
@@ -479,4 +477,3 @@ get: { uri_template: 'enclosure' }, | ||
} | ||
} | ||
}); | ||
} }); | ||
this.reportStorage = jIO.createJIO({ | ||
@@ -490,7 +487,5 @@ report_level: maxLogLevel, | ||
signature_hash_key: querySourceReference, | ||
signature_sub_storage: this.useLocalStorage ? signatureStorage : Object.assign({}, mappingStorageWithEnclosure, { | ||
mapping_dict: { | ||
signature_sub_storage: this.useLocalStorage ? signatureStorage : Object.assign({}, mappingStorageWithEnclosure, { mapping_dict: { | ||
[queryPortalType]: ['equalSubProperty', querySourceReference] | ||
} | ||
}), | ||
} }), | ||
query: { | ||
@@ -513,7 +508,5 @@ query, | ||
check_local_attachment_deletion: false, | ||
local_sub_storage: this.useLocalStorage ? localStorage : Object.assign({}, mappingStorageWithEnclosure, { | ||
mapping_dict: { | ||
local_sub_storage: this.useLocalStorage ? localStorage : Object.assign({}, mappingStorageWithEnclosure, { mapping_dict: { | ||
[queryPortalType]: ['equalSubProperty', refKey] | ||
} | ||
}), | ||
} }), | ||
remote_sub_storage: { | ||
@@ -520,0 +513,0 @@ type: 'mapping', |
{ | ||
"name": "@clearroad/api", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
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
227023
4346