import {Schema} from "@tsed/mongoose";

/**
 * Do not apply this property to schema (create virtual property)
 *
 * ### Example
 *
 * ```typescript
 * @Model()
 * @SchemaIgnore()
 * @Property()
 * kind: string;
 *
 * ```
 *
 * @returns {Function}
 * @decorator
 * @mongoose
 * @class
 */

export function SchemaIgnore(): Function {
  return Schema({schemaIgnore: true});
}

import {Schema} from "./schema";

/**
 * Do not apply this property to schema (create virtual property)
 *
 * ### Example
 *
 * ```typescript
 * @Model()
 * @SchemaIgnore()
 * @Property()
 * kind: string;
 *
 * ```
 *
 * @returns {Function}
 * @decorator
 * @mongoose
 * @class
 */

export function SchemaIgnore(): Function {
  return Schema({schemaIgnore: true});
}

Fix automatic import to lib style
Fix automatic import to lib style
