@internetarchive/search-service
Advanced tools
Comparing version 0.0.1-alpha.20 to 0.0.1-alpha.21
@@ -124,2 +124,9 @@ import { BooleanField } from './metadata-fields/field-types/boolean'; | ||
notes?: StringField; | ||
/** | ||
* The number of users that have favorited the item | ||
* | ||
* @type {NumberField} | ||
* @memberof Metadata | ||
*/ | ||
num_favorites?: NumberField; | ||
num_reviews?: NumberField; | ||
@@ -126,0 +133,0 @@ page_progression?: PageProgressionField; |
@@ -76,2 +76,5 @@ /* eslint-disable @typescript-eslint/camelcase */ | ||
this.notes = json.notes ? new StringField(json.notes) : undefined; | ||
this.num_favorites = json.num_favorites | ||
? new NumberField(json.num_favorites) | ||
: undefined; | ||
this.num_reviews = json.num_reviews | ||
@@ -78,0 +81,0 @@ ? new NumberField(json.num_reviews) |
{ | ||
"name": "@internetarchive/search-service", | ||
"version": "0.0.1-alpha.20", | ||
"version": "0.0.1-alpha.21", | ||
"description": "A search service for the Internet Archive", | ||
@@ -15,3 +15,3 @@ "license": "AGPL-3.0-only", | ||
"tsc:watch": "tsc --watch", | ||
"prepublish": "tsc", | ||
"prepare": "tsc", | ||
"lint:eslint": "eslint --ext .ts,.html . --ignore-path .gitignore", | ||
@@ -18,0 +18,0 @@ "format:eslint": "eslint --ext .ts,.html . --fix --ignore-path .gitignore", |
Sorry, the diff of this file is not supported yet
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
346948
4586