@rss/common
Advanced tools
Comparing version 0.0.41 to 0.0.42
@@ -18,2 +18,3 @@ 'use strict'; | ||
this.groupId = null; | ||
this.groupName = null; | ||
this.types = []; | ||
@@ -33,2 +34,3 @@ | ||
this.groupId = opt.groupId || null; | ||
this.groupName = opt.groupName || null; | ||
this.types = opt.types ? opt.types : []; | ||
@@ -54,2 +56,3 @@ } | ||
groupId: { type: ['string', 'null'] }, | ||
groupName: { type: ['string', 'null'] }, | ||
types: { type: 'array', item: { type: 'string' } } | ||
@@ -56,0 +59,0 @@ }, |
{ | ||
"name": "@rss/common", | ||
"version": "0.0.41", | ||
"version": "0.0.42", | ||
"description": "common constant, classes, & helper", | ||
@@ -5,0 +5,0 @@ "author": "Risk & Safety Solution", |
@@ -10,2 +10,3 @@ const tv4 = require('tv4'); | ||
this.groupId = null; | ||
this.groupName = null; | ||
this.types = []; | ||
@@ -23,2 +24,3 @@ | ||
this.groupId = opt.groupId || null; | ||
this.groupName = opt.groupName || null; | ||
this.types = opt.types ? opt.types : []; | ||
@@ -42,2 +44,3 @@ } | ||
groupId: { type: ['string', 'null'] }, | ||
groupName: { type: ['string', 'null'] }, | ||
types: { type: 'array', item: { type: 'string' } }, | ||
@@ -44,0 +47,0 @@ }, |
701803
223
11926