including dist files
This commit is contained in:
3
dist/domain/services/BaseService.d.ts
vendored
Normal file
3
dist/domain/services/BaseService.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export declare class BaseService {
|
||||
constructor();
|
||||
}
|
||||
9
dist/domain/services/BaseService.js
vendored
Normal file
9
dist/domain/services/BaseService.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var BaseService = /** @class */ (function () {
|
||||
function BaseService() {
|
||||
}
|
||||
return BaseService;
|
||||
}());
|
||||
exports.BaseService = BaseService;
|
||||
//# sourceMappingURL=BaseService.js.map
|
||||
1
dist/domain/services/BaseService.js.map
vendored
Normal file
1
dist/domain/services/BaseService.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BaseService.js","sourceRoot":"","sources":["../../../src/domain/services/BaseService.ts"],"names":[],"mappings":";;AAEA;IACI;IAEA,CAAC;IACL,kBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,kCAAW"}
|
||||
10
dist/domain/services/MusicCatalogService.d.ts
vendored
Normal file
10
dist/domain/services/MusicCatalogService.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { BaseService } from './BaseService';
|
||||
import { Track } from "../../domain/models/Track";
|
||||
export declare class MusicCatalogService extends BaseService {
|
||||
constructor();
|
||||
get(): Track[];
|
||||
getById(id: number): Track | null;
|
||||
add(track: Track): number;
|
||||
edit(id: number, track: Track): Track;
|
||||
delete(id: number): Track | null;
|
||||
}
|
||||
41
dist/domain/services/MusicCatalogService.js
vendored
Normal file
41
dist/domain/services/MusicCatalogService.js
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var BaseService_1 = require("./BaseService");
|
||||
var dependencies_1 = require("../../domain/dependencies");
|
||||
var MusicCatalogService = /** @class */ (function (_super) {
|
||||
__extends(MusicCatalogService, _super);
|
||||
function MusicCatalogService() {
|
||||
return _super.call(this) || this;
|
||||
}
|
||||
MusicCatalogService.prototype.get = function () {
|
||||
return dependencies_1.default.MusicRepository.get();
|
||||
};
|
||||
MusicCatalogService.prototype.getById = function (id) {
|
||||
return dependencies_1.default.MusicRepository.getById(id);
|
||||
};
|
||||
MusicCatalogService.prototype.add = function (track) {
|
||||
return dependencies_1.default.MusicRepository.add(track);
|
||||
};
|
||||
MusicCatalogService.prototype.edit = function (id, track) {
|
||||
return dependencies_1.default.MusicRepository.edit(id, track);
|
||||
};
|
||||
MusicCatalogService.prototype.delete = function (id) {
|
||||
return dependencies_1.default.MusicRepository.delete(id);
|
||||
};
|
||||
return MusicCatalogService;
|
||||
}(BaseService_1.BaseService));
|
||||
exports.MusicCatalogService = MusicCatalogService;
|
||||
//# sourceMappingURL=MusicCatalogService.js.map
|
||||
1
dist/domain/services/MusicCatalogService.js.map
vendored
Normal file
1
dist/domain/services/MusicCatalogService.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"MusicCatalogService.js","sourceRoot":"","sources":["../../../src/domain/services/MusicCatalogService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA4C;AAE5C,0DAAqD;AAGrD;IAAyC,uCAAW;IAChD;eACI,iBAAO;IACX,CAAC;IACD,iCAAG,GAAH;QACI,OAAO,sBAAY,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC;IAC9C,CAAC;IACD,qCAAO,GAAP,UAAQ,EAAU;QACf,OAAO,sBAAY,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;IACD,iCAAG,GAAH,UAAI,KAAY;QACZ,OAAO,sBAAY,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACnD,CAAC;IACD,kCAAI,GAAJ,UAAK,EAAU,EAAE,KAAY;QAC1B,OAAO,sBAAY,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;IACvD,CAAC;IACD,oCAAM,GAAN,UAAO,EAAU;QACf,OAAO,sBAAY,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;IACL,0BAAC;AAAD,CAAC,AAnBD,CAAyC,yBAAW,GAmBnD;AAnBY,kDAAmB"}
|
||||
Reference in New Issue
Block a user