Removes obsolete code

This commit is contained in:
Roman Galochkin 2020-02-19 13:07:50 +03:00
parent 3c25e7f889
commit 8f2cb18edc
2 changed files with 1 additions and 16 deletions

View File

@ -221,21 +221,6 @@ module TypeWithMetadata = {
~assumptionType=ASSUMPTION,
(),
);
let nextTenYears =
make(
~id="nextTenYears",
~name="Next Ten Years",
~description=None,
~type_=
DateTime({
default: Some(MomentRe.momentNow()),
min: Some(MomentRe.momentNow()),
max: Some(MomentRe.momentNow()),
}),
~assumptionType=ASSUMPTION,
(),
);
};
module Model = {

View File

@ -35,7 +35,7 @@ module Interface = {
description: "The chances of having at least one catastrophe per year in the future, assuming no other catastrophe until then.",
version: "1.0.0",
author: "Ozzie Gooen",
inputTypes: [|TypeWithMetadata.nextTenYears|],
inputTypes: [|TypeWithMetadata.currentYear|],
outputTypes: [||],
run,
};