@firestone-hs/reference-data 2.0.30 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { AllCardsService } from '
|
|
1
|
+
import { AllCardsService } from './all-cards.service';
|
|
2
2
|
export declare class AllCardsLocalService extends AllCardsService {
|
|
3
|
+
private readonly cardsStr;
|
|
4
|
+
constructor(cardsStr: string);
|
|
3
5
|
protected getCardsStr(url: string): Promise<string>;
|
|
4
6
|
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AllCardsLocalService = void 0;
|
|
4
|
-
const
|
|
5
|
-
class AllCardsLocalService extends
|
|
4
|
+
const all_cards_service_1 = require("./all-cards.service");
|
|
5
|
+
class AllCardsLocalService extends all_cards_service_1.AllCardsService {
|
|
6
|
+
constructor(cardsStr) {
|
|
7
|
+
super();
|
|
8
|
+
this.cardsStr = cardsStr;
|
|
9
|
+
}
|
|
6
10
|
getCardsStr(url) {
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
return new Promise((resolve, reject) => {
|
|
12
|
+
resolve(this.cardsStr);
|
|
13
|
+
});
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
16
|
exports.AllCardsLocalService = AllCardsLocalService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-cards-local.service.js","sourceRoot":"","sources":["../../src/services/all-cards-local.service.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"all-cards-local.service.js","sourceRoot":"","sources":["../../src/services/all-cards-local.service.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;AAEtD,MAAa,oBAAqB,SAAQ,mCAAe;IACxD,YAA6B,QAAgB;QAC5C,KAAK,EAAE,CAAC;QADoB,aAAQ,GAAR,QAAQ,CAAQ;IAE7C,CAAC;IAES,WAAW,CAAC,GAAW;QAChC,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC9C,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,oDAUC","sourcesContent":["import { AllCardsService } from './all-cards.service';\r\n\r\nexport class AllCardsLocalService extends AllCardsService {\r\n\tconstructor(private readonly cardsStr: string) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tprotected getCardsStr(url: string): Promise<string> {\r\n\t\treturn new Promise<string>((resolve, reject) => {\r\n\t\t\tresolve(this.cardsStr);\r\n\t\t});\r\n\t}\r\n}\r\n"]}
|