Socket
Socket
Sign inDemoInstall

@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.13 to 1.3.14

2

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

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

@@ -6,2 +6,4 @@ 'use strict';

var signatureInfo = {
'id' : Joi.string().guid().optional().description( 'unique id for each signature added' ),
'userId' : Joi.number().integer().required().description( 'personnel id of the one signing' ),
'sign' : Joi.string().required().description( 'string that the user inputs for digital signatures' ),

@@ -29,3 +31,12 @@ 'date' : Joi.date().timestamp().raw().required().description( 'The date of which the user signed the observation' ),

.keys( signatureInfo ) )
.description( 'digital signature info for observee' ),
'reviewers' : Joi
.array()
.optional()
.items( Joi
.object()
.optional()
.keys( signatureInfo ) )
.description( 'digital signature info for observee' )
};

@@ -8,3 +8,3 @@ 'use strict';

'resourceId' : Joi.any().required().description( 'The id for the resource itself (e.g. contentId, groupId, fileId )' ),
'type' : Joi.any().required().valid( [ 1, 2, 3 ] ).description( 'The resource type (e.g. 1 for content, 2 for files, 3 for mc)' ),
'type' : Joi.any().required().valid( [ 1, 2, 3, 4 ] ).description( 'The resource type (e.g. 1 for content, 2 for files, 3 for mc, 4 for digital signature)' ),
'name' : Joi.forbidden(),

@@ -11,0 +11,0 @@ 'description' : Joi.forbidden(),

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