@carlosdiazz/lottodiz-shared 2.2.5 → 2.2.6

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.
@@ -8,6 +8,7 @@ export interface CountryInterface {
8
8
  imagen?: string;
9
9
  view_screen: boolean;
10
10
  id_platform?: number;
11
+ is_global: boolean;
11
12
  lottery?: LotteryInterface[];
12
13
  create_at: Date;
13
14
  update_at: Date;
@@ -20,5 +21,6 @@ export interface CountryFormInterface {
20
21
  color: string;
21
22
  imagen?: string;
22
23
  view_screen: boolean;
24
+ is_global: boolean;
23
25
  id_platform?: number;
24
26
  }
@@ -1,9 +1,9 @@
1
- import { ResponseInterface } from "../common";
2
1
  import { CountryInterface } from "./country.base";
3
2
  import { CreateCountryInterface } from "./create-country.base";
4
3
  import { ParamsCountryInterface } from "./params-country.base";
5
4
  import { ResponseCountryInterface } from "./response-country.base";
6
5
  import { UpdateCountryInterface } from "./update-country.base";
6
+ import { ResponseInterface } from "../common";
7
7
  export interface CountryControllerInterface {
8
8
  create(dto: CreateCountryInterface): Promise<CountryInterface>;
9
9
  findAll(pagination: ParamsCountryInterface): Promise<ResponseCountryInterface>;
@@ -5,5 +5,6 @@ export interface CreateCountryInterface {
5
5
  color?: string;
6
6
  imagen?: string;
7
7
  view_screen?: boolean;
8
+ is_global?: boolean;
8
9
  id_platform?: number | null;
9
10
  }
@@ -5,4 +5,5 @@ export interface ParamsCountryInterface extends PaginationInterface {
5
5
  active: boolean;
6
6
  id_platform?: number | null;
7
7
  view_screen?: boolean | null;
8
+ is_global?: boolean | null;
8
9
  }
@@ -7,4 +7,5 @@ export interface UpdateCountryInterface {
7
7
  imagen?: string;
8
8
  view_screen?: boolean;
9
9
  id_platform?: number;
10
+ is_global?: boolean;
10
11
  }
@@ -13,4 +13,5 @@ export interface CreateTemplateDrawInterface {
13
13
  id_lottery: number;
14
14
  id_template_result: number;
15
15
  id_number_draw: number;
16
+ is_statistics?: boolean;
16
17
  }
@@ -10,4 +10,5 @@ export interface ParamsTemplateDrawInterface extends PaginationInterface {
10
10
  is_express?: boolean | null;
11
11
  is_traditional?: boolean | null;
12
12
  is_template_draw_webscraping?: boolean | null;
13
+ is_statistics?: boolean | null;
13
14
  }
@@ -19,6 +19,7 @@ export interface TemplateDrawInterface {
19
19
  is_express: boolean;
20
20
  is_traditional: boolean;
21
21
  time_zone: string;
22
+ is_statistics: boolean;
22
23
  lottery?: LotteryInterface;
23
24
  template_result?: TemplateResultInterface;
24
25
  draw_number?: DrawNumberInterface;
@@ -43,6 +44,7 @@ export interface TemplateDrawFormInterface {
43
44
  is_express: boolean;
44
45
  is_traditional: boolean;
45
46
  time_zone: string;
47
+ is_statistics: boolean;
46
48
  id_lottery: number;
47
49
  id_template_result: number;
48
50
  id_number_draw: number;
@@ -1,9 +1,9 @@
1
- import { ResponseInterface } from "../common";
2
1
  import { CreateTemplateDrawInterface } from "./create-template_draw.base";
3
2
  import { ParamsTemplateDrawInterface } from "./params-template_draw.base";
4
3
  import { ResponseTemplateDrawInterface } from "./response-template_draw";
5
4
  import { TemplateDrawInterface } from "./template_draw.base";
6
5
  import { UpdateTemplateDrawInterface } from "./update-template_draw.base";
6
+ import { ResponseInterface } from "../common";
7
7
  export interface TemplateDrawControllerInterface {
8
8
  create(dto: CreateTemplateDrawInterface): Promise<TemplateDrawInterface>;
9
9
  findAll(pagination: ParamsTemplateDrawInterface): Promise<ResponseTemplateDrawInterface>;
@@ -1,9 +1,9 @@
1
- import { ResponseInterface } from "../common";
2
1
  import { CreateTemplateDrawInterface } from "./create-template_draw.base";
3
2
  import { ParamsTemplateDrawInterface } from "./params-template_draw.base";
4
3
  import { ResponseTemplateDrawInterface } from "./response-template_draw";
5
4
  import { TemplateDrawInterface } from "./template_draw.base";
6
5
  import { UpdateTemplateDrawInterface } from "./update-template_draw.base";
6
+ import { ResponseInterface } from "../common";
7
7
  export interface TemplateDrawDatasourceInterface {
8
8
  create(dto: CreateTemplateDrawInterface): Promise<TemplateDrawInterface>;
9
9
  findAll(pagination: ParamsTemplateDrawInterface): Promise<ResponseTemplateDrawInterface>;
@@ -1,10 +1,10 @@
1
- import { ResponseInterface } from "../common";
2
- import { UserInterface } from "../user";
3
1
  import { CreateTemplateDrawInterface } from "./create-template_draw.base";
4
2
  import { ParamsTemplateDrawInterface } from "./params-template_draw.base";
5
3
  import { ResponseTemplateDrawInterface } from "./response-template_draw";
6
4
  import { TemplateDrawInterface } from "./template_draw.base";
7
5
  import { UpdateTemplateDrawInterface } from "./update-template_draw.base";
6
+ import { ResponseInterface } from "../common";
7
+ import { UserInterface } from "../user";
8
8
  export interface TemplateDrawResolverInterface {
9
9
  create(dto: CreateTemplateDrawInterface, user?: UserInterface): Promise<TemplateDrawInterface>;
10
10
  findAll(pagination: ParamsTemplateDrawInterface, user?: UserInterface): Promise<ResponseTemplateDrawInterface>;
@@ -1,9 +1,9 @@
1
- import { ResponseInterface } from "../common";
2
1
  import { CreateTemplateDrawInterface } from "./create-template_draw.base";
3
2
  import { ParamsTemplateDrawInterface } from "./params-template_draw.base";
4
3
  import { ResponseTemplateDrawInterface } from "./response-template_draw";
5
4
  import { TemplateDrawInterface } from "./template_draw.base";
6
5
  import { UpdateTemplateDrawInterface } from "./update-template_draw.base";
6
+ import { ResponseInterface } from "../common";
7
7
  export interface TemplateDrawServiceInterface {
8
8
  create(dto: CreateTemplateDrawInterface): Promise<TemplateDrawInterface>;
9
9
  findAll(pagination: ParamsTemplateDrawInterface): Promise<ResponseTemplateDrawInterface>;
@@ -11,4 +11,5 @@ export interface UpdateTemplateDrawInterface {
11
11
  is_express?: boolean;
12
12
  is_traditional?: boolean;
13
13
  time_zone?: string;
14
+ is_statistics?: boolean;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,