Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sinet/validation

Package Overview
Dependencies
Maintainers
6
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinet/validation - npm Package Compare versions

Comparing version 1.3.12 to 1.3.13

schemas/observation/digital-signature.js

2

package.json
{
"name": "@sinet/validation",
"version": "1.3.12",
"version": "1.3.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,2 +10,3 @@ 'use strict';

var templateAttachment = require( './template-attachment' );
var digitalSignature = require( './digital-signature' );

@@ -19,5 +20,6 @@ var validations = {

'template' : template,
'template-attachment' : templateAttachment
'template-attachment' : templateAttachment,
'digitalSignature' : digitalSignature
};
module.exports = validations;

@@ -105,3 +105,10 @@ 'use strict';

*/
'manualScore' : Joi.number().optional().description( 'The manually-assigned score of the observation' )
'manualScore' : Joi.number().optional().description( 'The manually-assigned score of the observation' ),
// Digital signature attribute
'digitalSignature' : Joi
.object()
.optional()
.keys( require( './digital-signature' ) )
.description( 'Holds the digital signature data for the current observation' )
};

@@ -108,0 +115,0 @@

@@ -120,3 +120,6 @@ 'use strict';

// Updated Date
'updatedAt' : Joi.date().optional().strip().description( 'The updated date of the template. This will not be saved to the template object.' )
'updatedAt' : Joi.date().optional().strip().description( 'The updated date of the template. This will not be saved to the template object.' ),
// Boolean value to allow digital signatures
'allowSignature' : Joi.boolean().optional().description( 'indicator that the current template will allow digital signatures' )
};

@@ -123,0 +126,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc