@carlosdiazz/lottodiz-shared 1.3.2 → 1.3.4

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,4 @@
1
1
  import { UserInterface } from "../user";
2
- export interface AuthController {
2
+ export interface AuthControllerInterface {
3
3
  verifyToken(token: string): Promise<UserInterface>;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  import { UserInterface } from "../user";
2
- export interface AuthService {
2
+ export interface AuthServiceInterface {
3
3
  verifyToken(token: string): Promise<UserInterface>;
4
4
  }
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./draw_webscraping_automatic.controller";
2
+ export * from "./draw_webscraping_automatic.service";
@@ -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);
@@ -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 "./queue";
24
+ export * from "./webscraping";
@@ -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("./queue"), exports);
40
+ __exportStar(require("./webscraping"), exports);
@@ -1,7 +1,7 @@
1
1
  import { ResponseInterface } from "../common";
2
2
  import { DrawInterface } from "../draw";
3
3
  import { DrawWebscrapingInterface } from "../draw_webscraping";
4
- export interface QueueController {
4
+ export interface QueueControllerInterface {
5
5
  createJobsDraw(draw: DrawInterface): Promise<ResponseInterface>;
6
6
  createJobsDrawWebScraping(drawWebscraping: DrawWebscrapingInterface): Promise<ResponseInterface>;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { ResponseInterface } from "../common";
2
2
  import { DrawInterface } from "../draw";
3
3
  import { DrawWebscrapingInterface } from "../draw_webscraping";
4
- export interface QueueService {
4
+ export interface QueueServiceInterface {
5
5
  createJobsDraw(draw: DrawInterface): Promise<ResponseInterface>;
6
6
  createJobsDrawWebScraping(drawWebscraping: DrawWebscrapingInterface): Promise<ResponseInterface>;
7
7
  }
@@ -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);
@@ -0,0 +1,4 @@
1
+ import { PageWebscrapingInterface } from "../page_webscraping";
2
+ export interface WebscrapingServiceInterface {
3
+ initPage(page_webscraping: PageWebscrapingInterface, date_verify: Date): Promise<string[]>;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,