quirons-broker
Advanced tools
Comparing version 0.0.1-alpha.148 to 0.0.1-alpha.149
{ | ||
"name": "quirons-broker", | ||
"version": "0.0.1-alpha.148", | ||
"version": "0.0.1-alpha.149", | ||
"description": "A small library to expose the broker types", | ||
@@ -5,0 +5,0 @@ "typings": "index.d.ts", |
@@ -464,3 +464,2 @@ import * as t from 'io-ts'; | ||
toAge: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>; | ||
reinforcementInterval: t.NumberC; | ||
@@ -470,8 +469,9 @@ }>, t.PartialC<{ | ||
thirdDoseInterval: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
}>]>; | ||
date: t.StringC; | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
dose: t.NumberC; | ||
}>, t.PartialC<{ | ||
batch: t.StringC; | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.NullC]>; | ||
status: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
@@ -918,3 +918,2 @@ }>]>]>; | ||
toAge: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>; | ||
reinforcementInterval: t.NumberC; | ||
@@ -924,8 +923,9 @@ }>, t.PartialC<{ | ||
thirdDoseInterval: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
}>]>; | ||
date: t.StringC; | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
dose: t.NumberC; | ||
}>, t.PartialC<{ | ||
batch: t.StringC; | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.NullC]>; | ||
status: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
@@ -1467,3 +1467,2 @@ }>]>]>>; | ||
toAge: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>; | ||
reinforcementInterval: t.NumberC; | ||
@@ -1473,8 +1472,9 @@ }>, t.PartialC<{ | ||
thirdDoseInterval: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
}>]>; | ||
date: t.StringC; | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
dose: t.NumberC; | ||
}>, t.PartialC<{ | ||
batch: t.StringC; | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.NullC]>; | ||
status: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
@@ -1481,0 +1481,0 @@ }>]>; |
@@ -17,3 +17,2 @@ import * as t from 'io-ts'; | ||
toAge: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>; | ||
reinforcementInterval: t.NumberC; | ||
@@ -23,7 +22,6 @@ }>, t.PartialC<{ | ||
thirdDoseInterval: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
}>]>; | ||
/** Data de Aplicação */ | ||
date: t.StringC; | ||
/** Dose Atual */ | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
/** Dose */ | ||
@@ -34,2 +32,4 @@ dose: t.NumberC; | ||
batch: t.StringC; | ||
/** Dose Atual */ | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.NullC]>; | ||
/** Status */ | ||
@@ -60,3 +60,2 @@ status: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
toAge: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>]>; | ||
reinforcementInterval: t.NumberC; | ||
@@ -66,7 +65,6 @@ }>, t.PartialC<{ | ||
thirdDoseInterval: t.NumberC; | ||
reinforcement: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; | ||
}>]>; | ||
/** Data de Aplicação */ | ||
date: t.StringC; | ||
/** Dose Atual */ | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>]>; | ||
/** Dose */ | ||
@@ -77,2 +75,4 @@ dose: t.NumberC; | ||
batch: t.StringC; | ||
/** Dose Atual */ | ||
currentDose: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.LiteralC<3>, t.NullC]>; | ||
/** Status */ | ||
@@ -79,0 +79,0 @@ status: t.UnionC<[t.LiteralC<0>, t.LiteralC<1>, t.LiteralC<2>, t.NullC]>; |
@@ -32,3 +32,2 @@ "use strict"; | ||
toAge: t.number, | ||
reinforcement: t.union([t.literal(0), t.literal(1), t.literal(2)]), | ||
reinforcementInterval: t.number, | ||
@@ -39,2 +38,3 @@ }), | ||
thirdDoseInterval: t.number, | ||
reinforcement: t.union([t.literal(0), t.literal(1), t.literal(2), t.null]), | ||
}) | ||
@@ -56,4 +56,2 @@ ]); | ||
date: t.string, | ||
/** Dose Atual */ | ||
currentDose: t.union([t.literal(0), t.literal(1), t.literal(2), t.literal(3)]), | ||
/** Dose */ | ||
@@ -65,2 +63,4 @@ dose: t.number | ||
batch: t.string, | ||
/** Dose Atual */ | ||
currentDose: t.union([t.literal(0), t.literal(1), t.literal(2), t.literal(3), t.null]), | ||
/** Status */ | ||
@@ -67,0 +67,0 @@ status: t.union([t.literal(0), t.literal(1), t.literal(2), t.null]), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1194674