@fiado/credit-data
Advanced tools
@@ -22,7 +22,14 @@ "use strict"; | ||
| type: String, | ||
| index: { | ||
| type: 'global', | ||
| name: 'tenant_id-createdAt-index', | ||
| rangeKey: 'createdAt', | ||
| }, | ||
| index: [ | ||
| { | ||
| type: 'global', | ||
| name: 'tenant_id-createdAt-index', | ||
| rangeKey: 'createdAt', | ||
| }, | ||
| { | ||
| type: 'global', | ||
| name: 'tenant_id-transaction_datetime-index', | ||
| rangeKey: 'transaction_datetime', | ||
| }, | ||
| ], | ||
| }, | ||
@@ -29,0 +36,0 @@ transaction_type: { type: String }, |
+1
-1
| { | ||
| "name": "@fiado/credit-data", | ||
| "version": "1.5.6", | ||
| "version": "1.5.7", | ||
| "description": "Modelos Dynamoose compartidos para el dominio Credit (worker, engine, admin, collector)", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
@@ -17,7 +17,14 @@ import dynamoose from 'dynamoose'; | ||
| type: String, | ||
| index: { | ||
| type: 'global', | ||
| name: 'tenant_id-createdAt-index', | ||
| rangeKey: 'createdAt', | ||
| }, | ||
| index: [ | ||
| { | ||
| type: 'global', | ||
| name: 'tenant_id-createdAt-index', | ||
| rangeKey: 'createdAt', | ||
| }, | ||
| { | ||
| type: 'global', | ||
| name: 'tenant_id-transaction_datetime-index', | ||
| rangeKey: 'transaction_datetime', | ||
| }, | ||
| ], | ||
| }, | ||
@@ -24,0 +31,0 @@ transaction_type: { type: String }, |
88043
0.49%2007
0.7%