@carlosdiazz/lottodiz-shared 1.3.3 → 1.3.5
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.
- package/dist/models/country/country.controller.d.ts +3 -2
- package/dist/models/country/country.service.d.ts +3 -2
- package/dist/models/draw_webscraping_automatic/draw_webscraping_automatic.controller.d.ts +5 -0
- package/dist/models/draw_webscraping_automatic/draw_webscraping_automatic.controller.js +2 -0
- package/dist/models/draw_webscraping_automatic/draw_webscraping_automatic.service.d.ts +5 -0
- package/dist/models/draw_webscraping_automatic/draw_webscraping_automatic.service.js +2 -0
- package/dist/models/draw_webscraping_automatic/index.d.ts +2 -0
- package/dist/models/draw_webscraping_automatic/index.js +18 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/webscraping/index.d.ts +1 -0
- package/dist/models/webscraping/index.js +17 -0
- package/dist/models/webscraping/websraping.service.d.ts +4 -0
- package/dist/models/webscraping/websraping.service.js +2 -0
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponseInterface } from "../common";
|
|
2
2
|
import { CountryInterface } from "./country.base";
|
|
3
3
|
import { CreateCountryInterface } from "./create-country.base";
|
|
4
|
+
import { ParamsCountryInterface } from "./params-country.base";
|
|
4
5
|
import { ResponseCountryInterface } from "./response-country.base";
|
|
5
6
|
import { UpdateCountryInterface } from "./update-country.base";
|
|
6
7
|
export interface CountryControllerInterface {
|
|
7
8
|
create(dto: CreateCountryInterface): Promise<CountryInterface>;
|
|
8
|
-
findAll(pagination:
|
|
9
|
+
findAll(pagination: ParamsCountryInterface): Promise<ResponseCountryInterface>;
|
|
9
10
|
findOne(id: number): Promise<CountryInterface>;
|
|
10
11
|
update(dto: UpdateCountryInterface): Promise<CountryInterface>;
|
|
11
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponseInterface } from "../common";
|
|
2
2
|
import { CountryInterface } from "./country.base";
|
|
3
3
|
import { CreateCountryInterface } from "./create-country.base";
|
|
4
|
+
import { ParamsCountryInterface } from "./params-country.base";
|
|
4
5
|
import { ResponseCountryInterface } from "./response-country.base";
|
|
5
6
|
import { UpdateCountryInterface } from "./update-country.base";
|
|
6
7
|
export interface CountryServiceInterface {
|
|
7
8
|
create(dto: CreateCountryInterface): Promise<CountryInterface>;
|
|
8
|
-
findAll(pagination:
|
|
9
|
+
findAll(pagination: ParamsCountryInterface): Promise<ResponseCountryInterface>;
|
|
9
10
|
findOne(id: number): Promise<CountryInterface>;
|
|
10
11
|
update(dto: UpdateCountryInterface): Promise<CountryInterface>;
|
|
11
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DrawResultInterface } from "../draw_result";
|
|
2
|
+
import { CreateDrawWebscrapingAutomaticInterface } from "../draw_webscraping/create-draw_webscraping.base";
|
|
3
|
+
export interface DrawWebscrapingAutomaticControllerInterface {
|
|
4
|
+
exectDrawWebscrapingAutomatic(createDrawWebscrapingAutomatic: CreateDrawWebscrapingAutomaticInterface): Promise<DrawResultInterface>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DrawResultInterface } from "../draw_result";
|
|
2
|
+
import { CreateDrawWebscrapingAutomaticInterface } from "../draw_webscraping/create-draw_webscraping.base";
|
|
3
|
+
export interface DrawWebscrapingAutomaticServiceInterface {
|
|
4
|
+
exectDrawWebscrapingAutomatic(createDrawWebscrapingAutomatic: CreateDrawWebscrapingAutomaticInterface): Promise<DrawResultInterface>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./draw_webscraping_automatic.controller"), exports);
|
|
18
|
+
__exportStar(require("./draw_webscraping_automatic.service"), exports);
|
package/dist/models/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./draw_day";
|
|
|
5
5
|
export * from "./draw_number";
|
|
6
6
|
export * from "./draw_result";
|
|
7
7
|
export * from "./draw_statistic";
|
|
8
|
+
export * from "./draw_webscraping_automatic";
|
|
8
9
|
export * from "./draw_webscraping";
|
|
9
10
|
export * from "./draw_youtube";
|
|
10
11
|
export * from "./draw";
|
|
@@ -13,10 +14,11 @@ export * from "./page_webscraping";
|
|
|
13
14
|
export * from "./permission";
|
|
14
15
|
export * from "./platform";
|
|
15
16
|
export * from "./position_result";
|
|
17
|
+
export * from "./queue";
|
|
16
18
|
export * from "./role";
|
|
17
19
|
export * from "./template_draw_webscraping";
|
|
18
20
|
export * from "./template_draw";
|
|
19
21
|
export * from "./template_page_webscraping";
|
|
20
22
|
export * from "./template_result";
|
|
21
23
|
export * from "./user";
|
|
22
|
-
export * from "./
|
|
24
|
+
export * from "./webscraping";
|
package/dist/models/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./draw_day"), exports);
|
|
|
21
21
|
__exportStar(require("./draw_number"), exports);
|
|
22
22
|
__exportStar(require("./draw_result"), exports);
|
|
23
23
|
__exportStar(require("./draw_statistic"), exports);
|
|
24
|
+
__exportStar(require("./draw_webscraping_automatic"), exports);
|
|
24
25
|
__exportStar(require("./draw_webscraping"), exports);
|
|
25
26
|
__exportStar(require("./draw_youtube"), exports);
|
|
26
27
|
__exportStar(require("./draw"), exports);
|
|
@@ -29,10 +30,11 @@ __exportStar(require("./page_webscraping"), exports);
|
|
|
29
30
|
__exportStar(require("./permission"), exports);
|
|
30
31
|
__exportStar(require("./platform"), exports);
|
|
31
32
|
__exportStar(require("./position_result"), exports);
|
|
33
|
+
__exportStar(require("./queue"), exports);
|
|
32
34
|
__exportStar(require("./role"), exports);
|
|
33
35
|
__exportStar(require("./template_draw_webscraping"), exports);
|
|
34
36
|
__exportStar(require("./template_draw"), exports);
|
|
35
37
|
__exportStar(require("./template_page_webscraping"), exports);
|
|
36
38
|
__exportStar(require("./template_result"), exports);
|
|
37
39
|
__exportStar(require("./user"), exports);
|
|
38
|
-
__exportStar(require("./
|
|
40
|
+
__exportStar(require("./webscraping"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./websraping.service";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./websraping.service"), exports);
|