@donmahallem/flow-api-types
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -7,3 +7,3 @@ "use strict"; | ||
calorieReportUrl: { type: "string" }, | ||
dailyGoalReportUrl: { type: "number" }, | ||
dailyGoalReportUrl: { type: "string" }, | ||
data: { | ||
@@ -21,5 +21,5 @@ properties: { | ||
}, | ||
distanceReportUrl: { type: "number" }, | ||
distanceReportUrl: { type: "string" }, | ||
sampleDate: { type: "number" }, | ||
sleepAvgReportUrl: { type: "number" }, | ||
sleepAvgReportUrl: { type: "string" }, | ||
}, | ||
@@ -26,0 +26,0 @@ type: "object", |
{ | ||
"name": "@donmahallem/flow-api-types", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Api Types and helper for FlowApi", | ||
@@ -64,2 +64,3 @@ "main": "dist/index.js", | ||
"chai": "^4.2.0", | ||
"highlight.js": "^9.14.2", | ||
"mocha": "^6.0.0", | ||
@@ -66,0 +67,0 @@ "nodemon": "^1.18.0", |
import * as jsonschema from "jsonschema"; | ||
import { IDaySummary, DaySummarySchema } from "./model"; | ||
import { DaySummarySchema, IDaySummary } from "./model"; | ||
@@ -4,0 +4,0 @@ export class FlowApiValidator { |
@@ -24,3 +24,3 @@ import { Schema } from "jsonschema"; | ||
calorieReportUrl: { type: "string" }, | ||
dailyGoalReportUrl: { type: "number" }, | ||
dailyGoalReportUrl: { type: "string" }, | ||
data: { | ||
@@ -38,7 +38,7 @@ properties: { | ||
}, | ||
distanceReportUrl: { type: "number" }, | ||
distanceReportUrl: { type: "string" }, | ||
sampleDate: { type: "number" }, | ||
sleepAvgReportUrl: { type: "number" }, | ||
sleepAvgReportUrl: { type: "string" }, | ||
}, | ||
type: "object", | ||
}; |
64090
14