@rijudev/parseus
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -0,1 +1,2 @@ | ||
import { IParameterlessConstructor } from '../utils'; | ||
export declare function getMetadata(metaKey: string, context: any, propertyName?: string): any; | ||
@@ -5,1 +6,2 @@ export declare function getReflectType(context: any, propertyName?: string): any; | ||
export declare function mergeMetadata(metaKey: string, value: any, context: any, propertyName: string): void; | ||
export declare function getFieldsFromModel<T>(model: IParameterlessConstructor<T>): [keyof T]; |
@@ -40,2 +40,6 @@ "use strict"; | ||
exports.mergeMetadata = mergeMetadata; | ||
function getFieldsFromModel(model) { | ||
return getMetadata(constant_1.PARSEUS_META_KEY, new model()); | ||
} | ||
exports.getFieldsFromModel = getFieldsFromModel; | ||
//# sourceMappingURL=metadata.js.map |
{ | ||
"name": "@rijudev/parseus", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
349636
3254