@carlosdiazz/lottodiz-shared 2.4.3 → 2.4.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.
- package/dist/enum/method-valid.d.ts +3 -0
- package/dist/enum/method-valid.js +3 -0
- package/dist/models/draw_statistic/draw_statistic.service.d.ts +2 -0
- package/dist/models/queue/index.d.ts +1 -0
- package/dist/models/queue/index.js +1 -0
- package/dist/models/queue/queue-cron.service.d.ts +5 -0
- package/dist/models/queue/queue-cron.service.js +2 -0
- package/dist/models/queue/queue.controller.d.ts +2 -0
- package/dist/models/queue/queue.service.d.ts +2 -0
- package/dist/models/template_draw/create-template_draw.base.d.ts +2 -0
- package/dist/models/template_draw/template_draw.base.d.ts +4 -0
- package/dist/models/template_draw/template_draw.controller.d.ts +2 -0
- package/dist/models/template_draw/template_draw.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -42,11 +42,14 @@ export declare class MethodValid {
|
|
|
42
42
|
static TEMPLATE_DRAW_FIND_ALL: string;
|
|
43
43
|
static TEMPLATE_DRAW_UPDATE: string;
|
|
44
44
|
static TEMPLATE_DRAW_REMOVE: string;
|
|
45
|
+
static TEMPLATE_DRAW_REMOVE_VIDEO_ID: string;
|
|
46
|
+
static TEMPLATE_DRAW_UPDATE_VIDEO_ID: string;
|
|
45
47
|
static DRAW_DAY_CREATE: string;
|
|
46
48
|
static DRAW_DAY_FIND_ONE: string;
|
|
47
49
|
static DRAW_DAY_UPDATE: string;
|
|
48
50
|
static DRAW_DAY_REMOVE: string;
|
|
49
51
|
static DRAW_STATISTIC_CREATE: string;
|
|
52
|
+
static DRAW_STATISTIC_AUTO_CREATE: string;
|
|
50
53
|
static DRAW_STATISTIC_FIND_ONE: string;
|
|
51
54
|
static DRAW_STATISTIC_FIND_ALL: string;
|
|
52
55
|
static DRAW_STATISTIC_UPDATE: string;
|
|
@@ -57,6 +57,8 @@ MethodValid.TEMPLATE_DRAW_FIND_ONE = "TEMPLATE_DRAW_FIND_ONE";
|
|
|
57
57
|
MethodValid.TEMPLATE_DRAW_FIND_ALL = "TEMPLATE_DRAW_FIND_ALL";
|
|
58
58
|
MethodValid.TEMPLATE_DRAW_UPDATE = "TEMPLATE_DRAW_UPDATE";
|
|
59
59
|
MethodValid.TEMPLATE_DRAW_REMOVE = "TEMPLATE_DRAW_REMOVE";
|
|
60
|
+
MethodValid.TEMPLATE_DRAW_REMOVE_VIDEO_ID = "TEMPLATE_DRAW_REMOVE_VIDEO_ID";
|
|
61
|
+
MethodValid.TEMPLATE_DRAW_UPDATE_VIDEO_ID = "TEMPLATE_DRAW_UPDATE_VIDEO_ID";
|
|
60
62
|
//Draw Day
|
|
61
63
|
MethodValid.DRAW_DAY_CREATE = "DRAW_DAY_CREATE";
|
|
62
64
|
MethodValid.DRAW_DAY_FIND_ONE = "DRAW_DAY_FIND_ONE";
|
|
@@ -65,6 +67,7 @@ MethodValid.DRAW_DAY_UPDATE = "DRAW_DAY_UPDATE";
|
|
|
65
67
|
MethodValid.DRAW_DAY_REMOVE = "DRAW_DAY_REMOVE";
|
|
66
68
|
//DRAW STATISTIC
|
|
67
69
|
MethodValid.DRAW_STATISTIC_CREATE = "DRAW_STATISTIC_CREATE";
|
|
70
|
+
MethodValid.DRAW_STATISTIC_AUTO_CREATE = "DRAW_STATISTIC_AUTO_CREATE";
|
|
68
71
|
MethodValid.DRAW_STATISTIC_FIND_ONE = "DRAW_STATISTIC_FIND_ONE";
|
|
69
72
|
MethodValid.DRAW_STATISTIC_FIND_ALL = "DRAW_STATISTIC_FIND_ALL";
|
|
70
73
|
MethodValid.DRAW_STATISTIC_UPDATE = "DRAW_STATISTIC_UPDATE";
|
|
@@ -10,4 +10,6 @@ export interface DrawStatisticServiceInterface {
|
|
|
10
10
|
findOne(id: number): Promise<DrawStatisticInterface>;
|
|
11
11
|
update(dto: UpdateDrawStatisticInterface): Promise<DrawStatisticInterface>;
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
+
removeAll(): Promise<ResponseInterface>;
|
|
14
|
+
autoCreate(): Promise<ResponseInterface>;
|
|
13
15
|
}
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./queue.controller"), exports);
|
|
18
18
|
__exportStar(require("./queue.service"), exports);
|
|
19
|
+
__exportStar(require("./queue-cron.service"), exports);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { DrawInterface } from "../draw";
|
|
3
3
|
import { DrawWebscrapingInterface } from "../draw_webscraping";
|
|
4
|
+
import { TemplateDrawInterface } from "../template_draw";
|
|
4
5
|
export interface QueueControllerInterface {
|
|
5
6
|
createJobsDraw(draw: DrawInterface): Promise<ResponseInterface>;
|
|
6
7
|
createJobsDrawWebScraping(drawWebscraping: DrawWebscrapingInterface): Promise<ResponseInterface>;
|
|
8
|
+
createJobsVideoTemplateDraw(template_draw: TemplateDrawInterface): Promise<ResponseInterface>;
|
|
7
9
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { DrawInterface } from "../draw";
|
|
3
3
|
import { DrawWebscrapingInterface } from "../draw_webscraping";
|
|
4
|
+
import { TemplateDrawInterface } from "../template_draw";
|
|
4
5
|
export interface QueueServiceInterface {
|
|
5
6
|
createJobsDraw(draw: DrawInterface): Promise<ResponseInterface>;
|
|
6
7
|
createJobsDrawWebScraping(drawWebscraping: DrawWebscrapingInterface): Promise<ResponseInterface>;
|
|
8
|
+
createJobsVideoTemplateDraw(template_draw: TemplateDrawInterface): Promise<ResponseInterface>;
|
|
7
9
|
}
|
|
@@ -20,6 +20,8 @@ export interface TemplateDrawInterface {
|
|
|
20
20
|
is_traditional: boolean;
|
|
21
21
|
time_zone: string;
|
|
22
22
|
is_statistics: boolean;
|
|
23
|
+
video_id?: string;
|
|
24
|
+
channel_id?: string;
|
|
23
25
|
lottery?: LotteryInterface;
|
|
24
26
|
template_result?: TemplateResultInterface;
|
|
25
27
|
draw_number?: DrawNumberInterface;
|
|
@@ -45,6 +47,8 @@ export interface TemplateDrawFormInterface {
|
|
|
45
47
|
is_traditional: boolean;
|
|
46
48
|
time_zone: string;
|
|
47
49
|
is_statistics: boolean;
|
|
50
|
+
video_id?: string;
|
|
51
|
+
channel_id?: string;
|
|
48
52
|
id_lottery: number;
|
|
49
53
|
id_template_result: number;
|
|
50
54
|
id_number_draw: number;
|
|
@@ -10,4 +10,6 @@ export interface TemplateDrawControllerInterface {
|
|
|
10
10
|
findOne(id: number): Promise<TemplateDrawInterface>;
|
|
11
11
|
update(dto: UpdateTemplateDrawInterface): Promise<TemplateDrawInterface>;
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
+
removeAllVideoId(): Promise<ResponseInterface>;
|
|
14
|
+
updateVideoId(): Promise<ResponseInterface>;
|
|
13
15
|
}
|
|
@@ -12,4 +12,6 @@ export interface TemplateDrawServiceInterface {
|
|
|
12
12
|
findOneByIdDays(id: number, id_day: number): Promise<TemplateDrawInterface>;
|
|
13
13
|
findTemplateDrawsByDate(date: string): Promise<TemplateDrawInterface[]>;
|
|
14
14
|
remove(id: number): Promise<ResponseInterface>;
|
|
15
|
+
removeAllVideoId(): Promise<ResponseInterface>;
|
|
16
|
+
updateVideoId(): Promise<ResponseInterface>;
|
|
15
17
|
}
|