@izara_project/izara-core-library-dynamodb 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -33
- package/package.json +1 -1
- package/src/DynamoDBSharedLib.js +646 -494
package/index.js
CHANGED
|
@@ -17,36 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
17
17
|
|
|
18
18
|
'use strict';
|
|
19
19
|
|
|
20
|
-
//
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// Export all the functions
|
|
24
|
-
module.exports = {
|
|
25
|
-
// Table name functions
|
|
26
|
-
tableName: dynamodbSharedLib.tableName,
|
|
27
|
-
|
|
28
|
-
// Data conversion helpers
|
|
29
|
-
arrayToStringSet: dynamodbSharedLib.arrayToStringSet,
|
|
30
|
-
stringSetToArray: dynamodbSharedLib.stringSetToArray,
|
|
31
|
-
|
|
32
|
-
// Query building functions
|
|
33
|
-
processLogicalElements: dynamodbSharedLib.processLogicalElements,
|
|
34
|
-
|
|
35
|
-
// CRUD operations
|
|
36
|
-
getItem: dynamodbSharedLib.getItem,
|
|
37
|
-
query: dynamodbSharedLib.query,
|
|
38
|
-
queryResults: dynamodbSharedLib.queryResults,
|
|
39
|
-
putItem: dynamodbSharedLib.putItem,
|
|
40
|
-
updateItem: dynamodbSharedLib.updateItem,
|
|
41
|
-
deleteItem: dynamodbSharedLib.deleteItem,
|
|
42
|
-
|
|
43
|
-
// Batch and transaction operations
|
|
44
|
-
transactWriteItems: dynamodbSharedLib.transactWriteItems,
|
|
45
|
-
batchDeleteItems: dynamodbSharedLib.batchDeleteItems,
|
|
46
|
-
batchPutItems: dynamodbSharedLib.batchPutItems,
|
|
47
|
-
|
|
48
|
-
// Helper functions
|
|
49
|
-
QueryElementConditionalCheckStringSetEquals: dynamodbSharedLib.QueryElementConditionalCheckStringSetEquals,
|
|
50
|
-
generateNotExistLogicalElements: dynamodbSharedLib.generateNotExistLogicalElements,
|
|
51
|
-
refractorAttributesToComplex: dynamodbSharedLib.refractorAttributesToComplex
|
|
52
|
-
};
|
|
20
|
+
// Re-export everything from DynamoDBSharedLib
|
|
21
|
+
module.exports = require('./src/DynamoDBSharedLib');
|