electrodb
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "electrodb", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "A library to more easily create and interact with multiple entities and heretical relationships in dynamodb", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,20 +30,20 @@ | ||
{ | ||
"IndexName": idx2', | ||
TableName: 'electro', | ||
ExpressionAttributeNames: { | ||
'#rent': 'rent', | ||
'#discount': 'discount', | ||
'#pk': 'idx2pk', | ||
'#sk1': 'idx2sk' | ||
"IndexName": "idx2", | ||
"TableName": "electro", | ||
"ExpressionAttributeNames": { | ||
"#rent": "rent", | ||
"#discount": "discount", | ||
"#pk": "idx2pk", | ||
"#sk1": "idx2sk" | ||
}, | ||
ExpressionAttributeValues: { | ||
':rent1': '2000.00', | ||
':rent2': '5000.00', | ||
':discount1': '1000.00', | ||
':pk': '$mallstoredirectory_1#mallid_eastpointe', | ||
':sk1': '$mallstore#leaseenddate_2020-04-01#rent_', | ||
':sk2': '$mallstore#leaseenddate_2020-07-01#rent_' | ||
"ExpressionAttributeValues": { | ||
":rent1": "2000.00", | ||
":rent2": "5000.00", | ||
":discount1": "1000.00", | ||
":pk": "$mallstoredirectory_1#mallid_eastpointe", | ||
":sk1": "$mallstore#leaseenddate_2020-04-01#rent_", | ||
":sk2": "$mallstore#leaseenddate_2020-07-01#rent_" | ||
}, | ||
KeyConditionExpression: '#pk = :pk and #sk1 BETWEEN :sk1 AND :sk2', | ||
FilterExpression: '(#rent between :rent1 and :rent2) AND #discount <= :discount1' | ||
"KeyConditionExpression": "#pk = :pk and #sk1 BETWEEN :sk1 AND :sk2", | ||
"FilterExpression": "(#rent between :rent1 and :rent2) AND #discount <= :discount1" | ||
} | ||
@@ -191,17 +191,23 @@ ``` | ||
type: "string", | ||
required: true, | ||
}, | ||
lastName: { | ||
type: "string", | ||
required: true, | ||
}, | ||
office: { | ||
type: "string", | ||
required: true, | ||
}, | ||
title: { | ||
type: "string", | ||
required: true, | ||
}, | ||
team: { | ||
type: ["development", "marketing", "finance", "product"], | ||
required: true, | ||
}, | ||
salary: { | ||
type: "string", | ||
required: true, | ||
}, | ||
@@ -213,5 +219,7 @@ manager: { | ||
type: "string", | ||
validate: /^\d{4}-\d{2}-\d{2}$/gi | ||
}, | ||
birthday: { | ||
type: "string", | ||
validate: /^\d{4}-\d{2}-\d{2}$/gi | ||
}, | ||
@@ -218,0 +226,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
283915
1845