UNPKG

@dolittle/sdk.common

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

44 lines 2.03 kB
"use strict"; // Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. Object.defineProperty(exports, "__esModule", { value: true }); exports.DecoratorTarget = void 0; /** * Represents the targets of a decorator. */ var DecoratorTarget; (function (DecoratorTarget) { /** * A class (constructor) target. */ DecoratorTarget[DecoratorTarget["Class"] = 1] = "Class"; /** * A constructor parameter target. */ DecoratorTarget[DecoratorTarget["ConstructorParameter"] = 2] = "ConstructorParameter"; /** * A method target. */ DecoratorTarget[DecoratorTarget["Method"] = 4] = "Method"; /** * A method parameter target. */ DecoratorTarget[DecoratorTarget["MethodParameter"] = 8] = "MethodParameter"; /** * A property target. */ DecoratorTarget[DecoratorTarget["Property"] = 16] = "Property"; /** * A setter target. */ DecoratorTarget[DecoratorTarget["Setter"] = 32] = "Setter"; /** * A getter target. */ DecoratorTarget[DecoratorTarget["Getter"] = 64] = "Getter"; /** * All targets. */ DecoratorTarget[DecoratorTarget["All"] = 127] = "All"; })(DecoratorTarget = exports.DecoratorTarget || (exports.DecoratorTarget = {})); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVjb3JhdG9yVGFyZ2V0LmpzIiwic291cmNlUm9vdCI6Ii4uLyIsInNvdXJjZXMiOlsiRGVjb3JhdG9ycy9EZWNvcmF0b3JUYXJnZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtDQUErQztBQUMvQyxxR0FBcUc7OztBQUVyRzs7R0FFRztBQUNILElBQVksZUF3Q1g7QUF4Q0QsV0FBWSxlQUFlO0lBQ3ZCOztPQUVHO0lBQ0gsdURBQVMsQ0FBQTtJQUVUOztPQUVHO0lBQ0gscUZBQXdCLENBQUE7SUFFeEI7O09BRUc7SUFDSCx5REFBVSxDQUFBO0lBRVY7O09BRUc7SUFDSCwyRUFBbUIsQ0FBQTtJQUVuQjs7T0FFRztJQUNILDhEQUFhLENBQUE7SUFFYjs7T0FFRztJQUNILDBEQUFXLENBQUE7SUFFWDs7T0FFRztJQUNILDBEQUFXLENBQUE7SUFFWDs7T0FFRztJQUNILHFEQUFTLENBQUE7QUFDYixDQUFDLEVBeENXLGVBQWUsR0FBZix1QkFBZSxLQUFmLHVCQUFlLFFBd0MxQiJ9