@carlosdiazz/lottodiz-shared 2.6.0 → 2.6.2
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 +1 -0
- package/dist/enum/method-valid.js +1 -0
- package/dist/models/draw/create-draw.base.d.ts +4 -0
- package/dist/models/draw/draw.base.d.ts +1 -0
- package/dist/models/draw/draw.controller.d.ts +2 -1
- package/dist/models/draw/draw.service.d.ts +2 -1
- package/dist/models/draw/update-draw.base.d.ts +2 -0
- package/dist/models/template_draw/create-template_draw.base.d.ts +1 -0
- package/dist/models/template_draw/template_draw.base.d.ts +2 -0
- package/dist/models/template_draw/update-template_draw.base.d.ts +1 -0
- package/package.json +1 -1
|
@@ -65,6 +65,7 @@ export declare class MethodValid {
|
|
|
65
65
|
static DRAW_FIND_ALL: string;
|
|
66
66
|
static DRAW_UPDATE: string;
|
|
67
67
|
static DRAW_REMOVE: string;
|
|
68
|
+
static DRAW_FIND_BY_API_AND_DATE: string;
|
|
68
69
|
static DRAW_RESULT_CREATE: string;
|
|
69
70
|
static DRAW_RESULT_FIND_ONE: string;
|
|
70
71
|
static DRAW_RESULT_UPDATE: string;
|
|
@@ -84,6 +84,7 @@ MethodValid.DRAW_FIND_ONE = "DRAW_FIND_ONE";
|
|
|
84
84
|
MethodValid.DRAW_FIND_ALL = "DRAW_FIND_ALL";
|
|
85
85
|
MethodValid.DRAW_UPDATE = "DRAW_UPDATE";
|
|
86
86
|
MethodValid.DRAW_REMOVE = "DRAW_REMOVE";
|
|
87
|
+
MethodValid.DRAW_FIND_BY_API_AND_DATE = "DRAW_FIND_BY_API_AND_DATE";
|
|
87
88
|
//DRAW RESULT
|
|
88
89
|
MethodValid.DRAW_RESULT_CREATE = "DRAW_RESULT_CREATE";
|
|
89
90
|
MethodValid.DRAW_RESULT_FIND_ONE = "DRAW_RESULT_FIND_ONE";
|
|
@@ -19,6 +19,7 @@ export interface DrawInterface {
|
|
|
19
19
|
is_completed: boolean;
|
|
20
20
|
view_screen: boolean;
|
|
21
21
|
time_result: number;
|
|
22
|
+
api_name?: string | null;
|
|
22
23
|
template_draw?: TemplateDrawInterface;
|
|
23
24
|
draw_result?: DrawResultInterface;
|
|
24
25
|
draw_webscraping?: DrawWebscrapingInterface;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
|
-
import { CreateDrawByDateInterface, CreateDrawsByDateInterface } from "./create-draw.base";
|
|
2
|
+
import { CreateDrawByDateInterface, CreateDrawsByDateInterface, FindByApiAndDateInterface } from "./create-draw.base";
|
|
3
3
|
import { DrawInterface } from "./draw.base";
|
|
4
4
|
import { ParamsDrawByDateInterface, ParamsDrawInterface } from "./params.draw";
|
|
5
5
|
import { ResponseDrawInterface } from "./response-draw";
|
|
@@ -13,4 +13,5 @@ export interface DrawControllerInterface {
|
|
|
13
13
|
update(dto: UpdateDrawInterface): Promise<DrawInterface>;
|
|
14
14
|
remove(id: number): Promise<ResponseInterface>;
|
|
15
15
|
findAllDrawsByDate(paramsDrawByDate: ParamsDrawByDateInterface): Promise<DrawInterface[]>;
|
|
16
|
+
findByApiAndDate(findByApiAndDate: FindByApiAndDateInterface): Promise<DrawInterface>;
|
|
16
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
|
-
import { CreateTimeDrawInternalInterface, CreateDrawInternalInterface } from "./create-draw.base";
|
|
2
|
+
import { CreateTimeDrawInternalInterface, CreateDrawInternalInterface, FindByApiAndDateInterface } from "./create-draw.base";
|
|
3
3
|
import { DrawInterface } from "./draw.base";
|
|
4
4
|
import { ParamsDrawByDateInterface, ParamsDrawInterface } from "./params.draw";
|
|
5
5
|
import { ResponseDrawInterface } from "./response-draw";
|
|
@@ -11,4 +11,5 @@ export interface DrawServiceInterface {
|
|
|
11
11
|
update(dto: UpdateDrawInterface): Promise<DrawInterface>;
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
13
|
findAllDrawsByDate(paramsDrawByDate: ParamsDrawByDateInterface): Promise<DrawInterface[]>;
|
|
14
|
+
findByApiAndDate(findByApiAndDate: FindByApiAndDateInterface): Promise<DrawInterface>;
|
|
14
15
|
}
|
|
@@ -11,6 +11,7 @@ export interface UpdateDrawInterface {
|
|
|
11
11
|
view_screen?: boolean;
|
|
12
12
|
time_start?: string;
|
|
13
13
|
time_end?: string;
|
|
14
|
+
api_name?: string | null;
|
|
14
15
|
}
|
|
15
16
|
export interface DrawFormInterface {
|
|
16
17
|
id: number;
|
|
@@ -25,4 +26,5 @@ export interface DrawFormInterface {
|
|
|
25
26
|
time_start?: string;
|
|
26
27
|
time_end?: string;
|
|
27
28
|
time_result?: number;
|
|
29
|
+
api_name?: string | null;
|
|
28
30
|
}
|
|
@@ -22,6 +22,7 @@ export interface TemplateDrawInterface {
|
|
|
22
22
|
is_statistics: boolean;
|
|
23
23
|
video_id?: string | null;
|
|
24
24
|
channel_id?: string;
|
|
25
|
+
api_name?: string | null;
|
|
25
26
|
lottery?: LotteryInterface;
|
|
26
27
|
template_result?: TemplateResultInterface;
|
|
27
28
|
draw_number?: DrawNumberInterface;
|
|
@@ -48,6 +49,7 @@ export interface TemplateDrawFormInterface {
|
|
|
48
49
|
time_zone: string;
|
|
49
50
|
is_statistics: boolean;
|
|
50
51
|
video_id?: string | null;
|
|
52
|
+
api_name?: string | null;
|
|
51
53
|
channel_id?: string;
|
|
52
54
|
id_lottery: number;
|
|
53
55
|
id_template_result: number;
|