amazon-qldb-kvs-nodejs
Version:
A helper module, simplifying basic interactions with Amazon Quantum Ledger Database for Node.js through a simple key-value store interface.
27 lines (26 loc) • 702 B
JavaScript
let constants = {
LEDGER_NAME: "vehicle-registration",
TABLE_NAME: "TestKVS",
// File test
IN_FILE_PATH: "./test/testfile.txt",
OUT_FILE_PATH: "./test/testfile.txt",
FILE_KEY: "testfile.txt",
DOC_STRING_KEY: "myKey1",
DOC_STRING_VALUE: "MyValue1",
DOC_OBJECT_KEY: "myKey25",
DOC_OBJECT_VALUE: {
test: "test2",
number: 2,
decimalNumber: 3.3,
boolean: true,
nullValue: null,
JSONObject: {
stringProperty: "stringValue",
numberProperty: 38,
arrayProperty: [2, 4, 5, 2, {
inArrayObjectProp: "stringValue"
}]
}
}
}
module.exports = constants;