cds-routing-handlers
Version:
Package to route and implement CDS handlers via a class based approach in Typescript.
23 lines (22 loc) • 425 B
TypeScript
/**
* Middleware usage metadata arguments.
*
* @export
* @interface IUseMetadataArgs
*/
export interface IUseMetadataArgs {
/**
* Object class of this "use".
*
* @type {Function}
* @memberof IUseMetadataArgs
*/
target: Function;
/**
* Middleware to be executed for this "use".
*
* @type {Function}
* @memberof IUseMetadataArgs
*/
middleware: Function;
}