@cboulanger/zotero-sync-couchbase
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@cboulanger/zotero-sync-couchbase", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Couchbase store for @retorquere/zotero-sync", | ||
@@ -31,3 +31,3 @@ "main": "src/index.js", | ||
"@retorquere/zotero-sync": "^1.0.23", | ||
"couchbase": "^3.1.2" | ||
"couchbase": "3.1.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -5,7 +5,6 @@ # Couchbase Store for @retorquere/zotero-sync | ||
This implementation allows to backup Zotero libraries in a | ||
https://www.couchbase.com database. Zotero data is stored as JSON data in | ||
Couchbase 'collections' that are named after the synchronized object types | ||
("items", "collections" only), which are themselves stored in Couchbase 'scopes' | ||
that are named "g\<group id>" or "u\<user id>". | ||
This implementation allows to backup Zotero libraries in a https://www.couchbase.com database (tested with Couchbase | ||
Version 7.0.0 build 4602). Zotero data is stored as JSON data in Couchbase 'collections' that are named after the | ||
synchronized object types ("items", "collections" only), which are themselves stored in Couchbase 'scopes' that are | ||
named `g<group id>` or `u<user id>`. | ||
@@ -12,0 +11,0 @@ ## Testing |
@@ -16,6 +16,7 @@ import { Sync } from '@retorquere/zotero-sync/index' | ||
COUCHBASE_USER, | ||
COUCHBASE_PASSWORD | ||
COUCHBASE_PASSWORD, | ||
COUCHBASE_BUCKET | ||
} = process.env as {[key : string]: string}; | ||
const storeOptions : StoreOptions = { | ||
bucketName : "testZoteroSync" | ||
bucketName : COUCHBASE_BUCKET as string | ||
} | ||
@@ -29,3 +30,3 @@ | ||
const bucketSettings = { | ||
name: storeOptions.bucketName as string, | ||
name: storeOptions.bucketName, | ||
ramQuotaMB: 200, | ||
@@ -32,0 +33,0 @@ bucketType: BucketType.Couchbase, |
Sorry, the diff of this file is not supported yet
25235
543
21
+ Addedansi-regex@2.1.1(transitive)
+ Addedaproba@1.2.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedcall-bind-apply-helpers@1.0.2(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedconsole-control-strings@1.1.0(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcouchbase@3.1.0(transitive)
+ Addeddecompress-response@4.2.1(transitive)
+ Addeddelegates@1.0.0(transitive)
+ Addeddetect-libc@1.0.3(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.1.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgauge@2.7.4(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-unicode@2.0.1(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedmimic-response@2.1.0(transitive)
+ Addednapi-build-utils@1.0.2(transitive)
+ Addednode-abi@2.30.1(transitive)
+ Addednpmlog@4.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedobject-inspect@1.13.4(transitive)
+ Addedparse-duration@0.4.4(transitive)
+ Addedprebuild-install@6.1.4(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedqs@6.14.0(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsimple-get@3.1.1(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedwide-align@1.1.5(transitive)
- Removedcouchbase@3.2.7(transitive)
- Removeddecompress-response@6.0.0(transitive)
- Removeddetect-libc@2.0.3(transitive)
- Removedmimic-response@3.1.0(transitive)
- Removednapi-build-utils@2.0.0(transitive)
- Removednode-abi@3.74.0(transitive)
- Removedparse-duration@1.1.2(transitive)
- Removedprebuild-install@7.1.3(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsemver@7.7.1(transitive)
- Removedsimple-get@4.0.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
Updatedcouchbase@3.1.0