warehouse.ai-status-models
Advanced tools
Comparing version 2.0.0 to 2.0.1
# Changelog | ||
### 2.0.1 | ||
- Fix key for StatusHead, allow null for previousVersion | ||
### 2.0.0 | ||
- BREAKING--Convert datastar models to dynastar models | ||
- Integration tests run against localstack instance | ||
- Integration tests run against localstack instance | ||
- [#4] Update documentation | ||
@@ -6,0 +12,0 @@ - Add badges |
{ | ||
"name": "warehouse.ai-status-models", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "models for warehouse.ai-status-api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ const { AwaitWrap, Dynastar } = require('dynastar'); | ||
const createKey = (data) => { | ||
return `${data.pkg}!${data.env}!${data.version}`; | ||
return `${data.pkg}!${data.env}`; | ||
}; | ||
@@ -27,3 +27,3 @@ const model = dynamo.define('StatusHead', { | ||
version: Joi.string(), | ||
previousVersion: Joi.string(), | ||
previousVersion: Joi.string().allow(null), | ||
total: Joi.number() | ||
@@ -30,0 +30,0 @@ } |
@@ -27,3 +27,3 @@ const { AwaitWrap, Dynastar } = require('dynastar'); | ||
version: Joi.string(), | ||
previousVersion: Joi.string(), | ||
previousVersion: Joi.string().allow(null), | ||
total: Joi.number(), | ||
@@ -30,0 +30,0 @@ error: Joi.boolean(), |
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
33489