UNPKG

@pebula/metap

Version:
14 lines (13 loc) 521 B
import { ModelMetadata, ModelMetadataArgs } from '@pebula/metap/internal'; /** * @propertyDecorator static * @param metaArgs */ export declare function Model(metaArgs?: ModelMetadataArgs): ClassDecorator; /** * Takes a model and process it. * The first step is to extend the target, if it inherits. * The second step is calling the build() method on the metadata class which will * start the event life-cycle. */ export declare function processModel(target: any, metaClass: ModelMetadata, build?: boolean): void;