import * as tslib_1 from "tslib";
import { EntitySchema } from "..";
/**
 * Creates a new Entity Schema.
 */
export function entity(name, options) {
    var entityName = typeof name === "string" ? name : name.name;
    return new EntitySchema(tslib_1.__assign({ name: entityName }, options));
}

//# sourceMappingURL=index.js.map
