templates.ts.ingredient-index.liquid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of recipe-generator Show documentation
Show all versions of recipe-generator Show documentation
Generates ingredients and implementation hooks for the Recipe framework
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
{% for ingredient in ingredients %}
{%- assign ingredientName = ingredient.name | append:options.ingredientPostfix -%}
var {{ingredientName}}_ = require("./{{ingredientName}}");
exports.{{ingredientName}} = {{ingredientName}}_.{{ingredientName}};
{% endfor %}
{% for enum in enums %}
var {{enum.name}}_ = require("./{{enum.name}}");
exports.{{enum.name}} = {{enum.name}}_.{{enum.name}};
{% endfor %}