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.
25 lines (22 loc) • 1.14 kB
JavaScript
;
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TABLE_CREATION_MAX_WAIT = exports.MAX_KEYS_TO_RETRIEVE = exports.MAX_QLDB_DOCUMENT_SIZE = exports.DEFAULT_DOWNLOADS_PATH = exports.VALUE_ATTRIBUTE_NAME = exports.KEY_ATTRIBUTE_NAME = void 0;
exports.KEY_ATTRIBUTE_NAME = "_k";
exports.VALUE_ATTRIBUTE_NAME = "_v";
exports.DEFAULT_DOWNLOADS_PATH = "/tmp/downloads";
exports.MAX_QLDB_DOCUMENT_SIZE = 131072;
exports.MAX_KEYS_TO_RETRIEVE = 32;
exports.TABLE_CREATION_MAX_WAIT = 30000;