UNPKG

@sourceloop/ctrl-plane-subscription-service

Version:

Subscription management microservice for SaaS control plane.

35 lines 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Service = void 0; const tslib_1 = require("tslib"); const repository_1 = require("@loopback/repository"); const core_1 = require("@sourceloop/core"); let Service = class Service extends core_1.UserModifiableEntity { constructor(data) { super(data); } }; exports.Service = Service; tslib_1.__decorate([ (0, repository_1.property)({ type: 'string', id: true, generated: true, }), tslib_1.__metadata("design:type", String) ], Service.prototype, "id", void 0); tslib_1.__decorate([ (0, repository_1.property)({ type: 'string', required: true, description: 'name of the service', }), tslib_1.__metadata("design:type", String) ], Service.prototype, "name", void 0); exports.Service = Service = tslib_1.__decorate([ (0, repository_1.model)({ name: 'services', }), tslib_1.__metadata("design:paramtypes", [Object]) ], Service); //# sourceMappingURL=service.model.js.map