datatype-expansion
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -451,2 +451,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=buffers.js.map?rel=1471435735821 | ||
//# sourceMappingURL=buffers.js.map?rel=1471443597602 |
@@ -559,2 +559,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=channels.js.map?rel=1471435735906 | ||
//# sourceMappingURL=channels.js.map?rel=1471443597694 |
@@ -64,2 +64,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=dispatch.js.map?rel=1471435735840 | ||
//# sourceMappingURL=dispatch.js.map?rel=1471443597620 |
@@ -502,2 +502,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=ioc_helpers.js.map?rel=1471435736312 | ||
//# sourceMappingURL=ioc_helpers.js.map?rel=1471443598153 |
@@ -325,2 +325,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=protocols.js.map?rel=1471435735764 | ||
//# sourceMappingURL=protocols.js.map?rel=1471443597544 |
@@ -518,2 +518,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=timers.js.map?rel=1471435736386 | ||
//# sourceMappingURL=timers.js.map?rel=1471443598238 |
@@ -56,2 +56,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=nodejs.js.map?rel=1471435735921 | ||
//# sourceMappingURL=nodejs.js.map?rel=1471443597711 |
@@ -1242,2 +1242,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=reader.js.map?rel=1471435735293 | ||
//# sourceMappingURL=reader.js.map?rel=1471443597013 |
@@ -396,2 +396,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=set.js.map?rel=1471435737906 | ||
//# sourceMappingURL=set.js.map?rel=1471443599976 |
@@ -501,2 +501,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=string.js.map?rel=1471435734450 | ||
//# sourceMappingURL=string.js.map?rel=1471443596040 |
@@ -123,2 +123,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=walk.js.map?rel=1471435735961 | ||
//# sourceMappingURL=walk.js.map?rel=1471443597758 |
@@ -514,5 +514,5 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
cljs.core._add_method.call(null,datatype_expansion.canonical_form.lt,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["union","union"], null),(function (super$,sub){ | ||
var of_super = new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(super$); | ||
var of_sub = new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(sub); | ||
var of_merged = cljs.core.flatten.call(null,cljs.core.map.call(null,((function (of_super,of_sub){ | ||
var of_super = new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(super$); | ||
var of_sub = new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(sub); | ||
var of_merged = ((cljs.core.empty_QMARK_.call(null,of_sub))?of_super:((cljs.core.empty_QMARK_.call(null,of_super))?of_sub:cljs.core.flatten.call(null,cljs.core.map.call(null,((function (of_super,of_sub){ | ||
return (function (of_sub_type){ | ||
@@ -523,10 +523,10 @@ return cljs.core.map.call(null,((function (of_super,of_sub){ | ||
});})(of_super,of_sub)) | ||
,of_sub_type); | ||
,of_super); | ||
});})(of_super,of_sub)) | ||
,of_sub)); | ||
var merged = datatype_expansion.canonical_form.lt_restrictions.call(null,cljs.core.dissoc.call(null,super$,new cljs.core.Keyword(null,"of","of",-2075414212)),cljs.core.dissoc.call(null,sub,new cljs.core.Keyword(null,"of","of",-2075414212))); | ||
return cljs.core.assoc.call(null,merged,new cljs.core.Keyword(null,"of","of",-2075414212),of_merged); | ||
,of_sub)))); | ||
var merged = datatype_expansion.canonical_form.lt_restrictions.call(null,cljs.core.dissoc.call(null,super$,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155)),cljs.core.dissoc.call(null,sub,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155))); | ||
return cljs.core.assoc.call(null,merged,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),of_merged); | ||
})); | ||
cljs.core._add_method.call(null,datatype_expansion.canonical_form.lt,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["union",new cljs.core.Keyword(null,"other","other",995793544)], null),(function (super$,sub){ | ||
var of_super = new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(super$); | ||
var of_super = new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(super$); | ||
var of_merged = cljs.core.map.call(null,((function (of_super){ | ||
@@ -537,4 +537,4 @@ return (function (of_super_type){ | ||
,of_super); | ||
var merged = datatype_expansion.canonical_form.lt_restrictions.call(null,cljs.core.dissoc.call(null,super$,new cljs.core.Keyword(null,"of","of",-2075414212)),cljs.core.dissoc.call(null,cljs.core.dissoc.call(null,sub,new cljs.core.Keyword(null,"items","items",1031954938)),new cljs.core.Keyword(null,"properties","properties",685819552))); | ||
return cljs.core.assoc.call(null,merged,new cljs.core.Keyword(null,"of","of",-2075414212),of_merged); | ||
var merged = datatype_expansion.canonical_form.lt_restrictions.call(null,cljs.core.dissoc.call(null,super$,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155)),cljs.core.dissoc.call(null,cljs.core.dissoc.call(null,sub,new cljs.core.Keyword(null,"items","items",1031954938)),new cljs.core.Keyword(null,"properties","properties",685819552))); | ||
return cljs.core.assoc.call(null,merged,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),of_merged); | ||
})); | ||
@@ -584,4 +584,4 @@ datatype_expansion.canonical_form.dispatch_node = (function datatype_expansion$canonical_form$dispatch_node(input){ | ||
});})(canonical_items)) | ||
,new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(canonical_items)); | ||
return cljs.core.assoc.call(null,canonical_items,new cljs.core.Keyword(null,"of","of",-2075414212),of); | ||
,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(canonical_items)); | ||
return cljs.core.assoc.call(null,canonical_items,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),of); | ||
} else { | ||
@@ -601,3 +601,3 @@ return cljs.core.assoc.call(null,node,new cljs.core.Keyword(null,"items","items",1031954938),datatype_expansion.canonical_form.consistency_check.call(null,canonical_items)); | ||
var properties = new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(type); | ||
var union_values = new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(property_value); | ||
var union_values = new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(property_value); | ||
return cljs.core.mapv.call(null,((function (properties,union_values){ | ||
@@ -615,3 +615,3 @@ return (function (p1__20784_SHARP_){ | ||
datatype_expansion.canonical_form.make_union_from_object_expansion = (function datatype_expansion$canonical_form$make_union_from_object_expansion(of_values,node){ | ||
return cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.dissoc.call(null,node,new cljs.core.Keyword(null,"properties","properties",685819552)),new cljs.core.Keyword(null,"type","type",1174270348),"union"),new cljs.core.Keyword(null,"of","of",-2075414212),of_values); | ||
return cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.dissoc.call(null,node,new cljs.core.Keyword(null,"properties","properties",685819552)),new cljs.core.Keyword(null,"type","type",1174270348),"union"),new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),of_values); | ||
}); | ||
@@ -713,3 +713,3 @@ cljs.core._add_method.call(null,datatype_expansion.canonical_form.canonical_form,"object",(function (node){ | ||
if(cljs.core.truth_(pred__20795.call(null,"union",expr__20796))){ | ||
return cljs.core.assoc.call(null,sub_type,new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.get.call(null,sub_type,new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.PersistentVector.EMPTY)); | ||
return cljs.core.assoc.call(null,sub_type,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.get.call(null,sub_type,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.PersistentVector.EMPTY)); | ||
} else { | ||
@@ -736,3 +736,3 @@ return sub_type; | ||
if(cljs.core.truth_(pred__20798.call(null,"union",expr__20799))){ | ||
return cljs.core.assoc.call(null,sub_type,new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.get.call(null,sub_type,new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.PersistentVector.EMPTY)); | ||
return cljs.core.assoc.call(null,sub_type,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.get.call(null,sub_type,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.PersistentVector.EMPTY)); | ||
} else { | ||
@@ -751,11 +751,11 @@ return sub_type; | ||
cljs.core._add_method.call(null,datatype_expansion.canonical_form.canonical_form,"union",(function (node){ | ||
return cljs.core.assoc.call(null,node,new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.flatten.call(null,cljs.core.distinct.call(null,cljs.core.map.call(null,(function (canonical_type){ | ||
return cljs.core.assoc.call(null,node,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.flatten.call(null,cljs.core.distinct.call(null,cljs.core.map.call(null,(function (canonical_type){ | ||
if(cljs.core.truth_(datatype_expansion.canonical_form.union_QMARK_.call(null,canonical_type))){ | ||
return new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(canonical_type); | ||
return new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(canonical_type); | ||
} else { | ||
return canonical_type; | ||
} | ||
}),cljs.core.flatten.call(null,cljs.core.map.call(null,datatype_expansion.canonical_form.canonical_form,new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(node))))))); | ||
}),cljs.core.flatten.call(null,cljs.core.map.call(null,datatype_expansion.canonical_form.canonical_form,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(node))))))); | ||
})); | ||
//# sourceMappingURL=canonical_form.js.map?rel=1471435738067 | ||
//# sourceMappingURL=canonical_form.js.map?rel=1471443600166 |
@@ -28,3 +28,3 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
if(cljs.core.truth_(pred__16853.call(null,new cljs.core.Keyword(null,"UNION_TYPE","UNION_TYPE",-1311432052),expr__16854))){ | ||
return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),"union",new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.mapv.call(null,((function (ast,context,pred__16853,expr__16854,type){ | ||
return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),"union",new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.mapv.call(null,((function (ast,context,pred__16853,expr__16854,type){ | ||
return (function (p1__16847_SHARP_){ | ||
@@ -78,3 +78,3 @@ return datatype_expansion$expanded_form$ast__GT_type.call(null,p1__16847_SHARP_,context); | ||
datatype_expansion.expanded_form.process_constraints = (function datatype_expansion$expanded_form$process_constraints(parsed_type,type_node){ | ||
return cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,parsed_type,new cljs.core.Keyword(null,"required","required",1807647006),new cljs.core.Keyword(null,"required","required",1807647006).cljs$core$IFn$_invoke$arity$2(type_node,true)),new cljs.core.Keyword(null,"minProperties","minProperties",100355152),new cljs.core.Keyword(null,"minProperties","minProperties",100355152).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maxProperties","maxProperties",1289793027),new cljs.core.Keyword(null,"maxProperties","maxProperties",1289793027).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"discriminator","discriminator",-1267549858),new cljs.core.Keyword(null,"discriminator","discriminator",-1267549858).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"discriminatorValue","discriminatorValue",1318459456),new cljs.core.Keyword(null,"discriminatorValue","discriminatorValue",1318459456).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minLength","minLength",-1538722770),new cljs.core.Keyword(null,"minLength","minLength",-1538722770).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maxLength","maxLength",-1633020073),new cljs.core.Keyword(null,"maxLength","maxLength",-1633020073).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minimum","minimum",-1621006059),new cljs.core.Keyword(null,"minimum","minimum",-1621006059).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maximum","maximum",573880714),new cljs.core.Keyword(null,"maximum","maximum",573880714).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"format","format",-1306924766),new cljs.core.Keyword(null,"format","format",-1306924766).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"multipleOf","multipleOf",1127305698),new cljs.core.Keyword(null,"multipleOf","multipleOf",1127305698).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"pattern","pattern",242135423),new cljs.core.Keyword(null,"pattern","pattern",242135423).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"uniqueItems","uniqueItems",-826722268),new cljs.core.Keyword(null,"uniqueItems","uniqueItems",-826722268).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minItems","minItems",1950622069),new cljs.core.Keyword(null,"minItems","minItems",1950622069).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maxItems","maxItems",576652798),new cljs.core.Keyword(null,"maxItems","maxItems",576652798).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"enumValues","enumValues",2079021525),(function (){var enum_values = cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,new cljs.core.Keyword(null,"enumValues","enumValues",2079021525).cljs$core$IFn$_invoke$arity$1(type_node)); | ||
return cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,cljs.core.assoc.call(null,parsed_type,new cljs.core.Keyword(null,"required","required",1807647006),new cljs.core.Keyword(null,"required","required",1807647006).cljs$core$IFn$_invoke$arity$2(type_node,true)),new cljs.core.Keyword(null,"example","example",-1755779144),new cljs.core.Keyword(null,"example","example",-1755779144).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"default","default",-1987822328),new cljs.core.Keyword(null,"default","default",-1987822328).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"examples","examples",-473712556),new cljs.core.Keyword(null,"examples","examples",-473712556).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"title","title",636505583).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minProperties","minProperties",100355152),new cljs.core.Keyword(null,"minProperties","minProperties",100355152).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maxProperties","maxProperties",1289793027),new cljs.core.Keyword(null,"maxProperties","maxProperties",1289793027).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"discriminator","discriminator",-1267549858),new cljs.core.Keyword(null,"discriminator","discriminator",-1267549858).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"discriminatorValue","discriminatorValue",1318459456),new cljs.core.Keyword(null,"discriminatorValue","discriminatorValue",1318459456).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minLength","minLength",-1538722770),new cljs.core.Keyword(null,"minLength","minLength",-1538722770).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maxLength","maxLength",-1633020073),new cljs.core.Keyword(null,"maxLength","maxLength",-1633020073).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minimum","minimum",-1621006059),new cljs.core.Keyword(null,"minimum","minimum",-1621006059).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maximum","maximum",573880714),new cljs.core.Keyword(null,"maximum","maximum",573880714).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"format","format",-1306924766),new cljs.core.Keyword(null,"format","format",-1306924766).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"multipleOf","multipleOf",1127305698),new cljs.core.Keyword(null,"multipleOf","multipleOf",1127305698).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"pattern","pattern",242135423),new cljs.core.Keyword(null,"pattern","pattern",242135423).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"uniqueItems","uniqueItems",-826722268),new cljs.core.Keyword(null,"uniqueItems","uniqueItems",-826722268).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"minItems","minItems",1950622069),new cljs.core.Keyword(null,"minItems","minItems",1950622069).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"maxItems","maxItems",576652798),new cljs.core.Keyword(null,"maxItems","maxItems",576652798).cljs$core$IFn$_invoke$arity$1(type_node)),new cljs.core.Keyword(null,"enumValues","enumValues",2079021525),(function (){var enum_values = cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,new cljs.core.Keyword(null,"enumValues","enumValues",2079021525).cljs$core$IFn$_invoke$arity$1(type_node)); | ||
if(cljs.core.empty_QMARK_.call(null,enum_values)){ | ||
@@ -170,7 +170,7 @@ return null; | ||
if(cljs.core._EQ_.call(null,type,"union")){ | ||
return datatype_expansion.utils.clear_node.call(null,datatype_expansion.expanded_form.process_constraints.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),"union",new cljs.core.Keyword(null,"of","of",-2075414212),cljs.core.mapv.call(null,((function (type_node__$1,type){ | ||
return datatype_expansion.utils.clear_node.call(null,datatype_expansion.expanded_form.process_constraints.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),"union",new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),cljs.core.mapv.call(null,((function (type_node__$1,type){ | ||
return (function (p1__16876_SHARP_){ | ||
return datatype_expansion$expanded_form$expanded_form.call(null,p1__16876_SHARP_,context); | ||
});})(type_node__$1,type)) | ||
,new cljs.core.Keyword(null,"of","of",-2075414212).cljs$core$IFn$_invoke$arity$1(type_node__$1))], null),type_node__$1)); | ||
,new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155).cljs$core$IFn$_invoke$arity$1(type_node__$1))], null),type_node__$1)); | ||
} else { | ||
@@ -218,3 +218,3 @@ if(cljs.core.truth_((function (){var and__6204__auto__ = cljs.core.some_QMARK_.call(null,type); | ||
})())){ | ||
return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),"union",new cljs.core.Keyword(null,"of","of",-2075414212),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),clojure.string.replace.call(null,type,"?","")], null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),"nil"], null)], null)], null); | ||
return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"type","type",1174270348),"union",new cljs.core.Keyword(null,"anyOf","anyOf",-1046092155),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),clojure.string.replace.call(null,type,"?","")], null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),"nil"], null)], null)], null); | ||
} else { | ||
@@ -245,2 +245,2 @@ if(cljs.core.map_QMARK_.call(null,type)){ | ||
//# sourceMappingURL=expanded_form.js.map?rel=1471435736033 | ||
//# sourceMappingURL=expanded_form.js.map?rel=1471443597845 |
@@ -292,2 +292,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=js.js.map?rel=1471435738175 | ||
//# sourceMappingURL=js.js.map?rel=1471443600285 |
@@ -81,2 +81,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=utils_macros.js.map?rel=1471435738128 | ||
//# sourceMappingURL=utils_macros.js.map?rel=1471443600233 |
@@ -67,2 +67,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=utils.js.map?rel=1471435735939 | ||
//# sourceMappingURL=utils.js.map?rel=1471443597732 |
@@ -569,2 +569,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=abnf.js.map?rel=1471435735478 | ||
//# sourceMappingURL=abnf.js.map?rel=1471443597214 |
@@ -780,2 +780,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=auto_flatten_seq.js.map?rel=1471435734116 | ||
//# sourceMappingURL=auto_flatten_seq.js.map?rel=1471443595679 |
@@ -428,2 +428,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=cfg.js.map?rel=1471435735392 | ||
//# sourceMappingURL=cfg.js.map?rel=1471443597118 |
@@ -655,2 +655,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=combinators_source.js.map?rel=1471435734348 | ||
//# sourceMappingURL=combinators_source.js.map?rel=1471443595930 |
@@ -644,2 +644,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=core.js.map?rel=1471435735702 | ||
//# sourceMappingURL=core.js.map?rel=1471443597475 |
@@ -257,2 +257,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=failure.js.map?rel=1471435734579 | ||
//# sourceMappingURL=failure.js.map?rel=1471443596183 |
@@ -358,2 +358,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=line_col.js.map?rel=1471435735104 | ||
//# sourceMappingURL=line_col.js.map?rel=1471443596794 |
@@ -319,2 +319,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=print.js.map?rel=1471435734536 | ||
//# sourceMappingURL=print.js.map?rel=1471443596135 |
@@ -146,2 +146,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=reduction.js.map?rel=1471435734195 | ||
//# sourceMappingURL=reduction.js.map?rel=1471443595766 |
@@ -535,2 +535,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=repeat.js.map?rel=1471435735583 | ||
//# sourceMappingURL=repeat.js.map?rel=1471443597339 |
@@ -80,2 +80,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=transform.js.map?rel=1471435735049 | ||
//# sourceMappingURL=transform.js.map?rel=1471443596728 |
@@ -28,2 +28,2 @@ // Compiled by ClojureScript 1.9.14 {:target :nodejs} | ||
//# sourceMappingURL=viz.js.map?rel=1471435735491 | ||
//# sourceMappingURL=viz.js.map?rel=1471443597231 |
{ | ||
"name":"datatype-expansion", | ||
"version":"0.0.5", | ||
"version":"0.0.6", | ||
"main":"index", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
4968247
62393