@carlosdiazz/lottodiz-shared 1.9.8 → 2.0.0
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/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/lottery/create-lottery.base.d.ts +1 -0
- package/dist/models/lottery/lottery.base.d.ts +2 -0
- package/dist/models/lottery/update-lottery.base.d.ts +1 -0
- package/dist/models/platform_ads/create-platform-ads.base.d.ts +10 -0
- package/dist/models/platform_ads/create-platform-ads.base.js +2 -0
- package/dist/models/platform_ads/index.d.ts +9 -0
- package/dist/models/platform_ads/index.js +25 -0
- package/dist/models/platform_ads/params-platform-ads.base.d.ts +7 -0
- package/dist/models/platform_ads/params-platform-ads.base.js +2 -0
- package/dist/models/platform_ads/platform-ads.base.d.ts +24 -0
- package/dist/models/platform_ads/platform-ads.base.js +2 -0
- package/dist/models/platform_ads/platform-ads.controller.d.ts +13 -0
- package/dist/models/platform_ads/platform-ads.controller.js +2 -0
- package/dist/models/platform_ads/platform-ads.datasource.d.ts +13 -0
- package/dist/models/platform_ads/platform-ads.datasource.js +2 -0
- package/dist/models/platform_ads/platform-ads.resolver.d.ts +14 -0
- package/dist/models/platform_ads/platform-ads.resolver.js +2 -0
- package/dist/models/platform_ads/platform-ads.service.d.ts +13 -0
- package/dist/models/platform_ads/platform-ads.service.js +2 -0
- package/dist/models/platform_ads/response-platform-ads.base.d.ts +5 -0
- package/dist/models/platform_ads/response-platform-ads.base.js +2 -0
- package/dist/models/platform_ads/update-platform-ads.base.d.ts +11 -0
- package/dist/models/platform_ads/update-platform-ads.base.js +2 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __exportStar(require("./draw"), exports);
|
|
|
28
28
|
__exportStar(require("./lottery"), exports);
|
|
29
29
|
__exportStar(require("./page_webscraping"), exports);
|
|
30
30
|
__exportStar(require("./permission"), exports);
|
|
31
|
+
__exportStar(require("./platform_ads"), exports);
|
|
31
32
|
__exportStar(require("./platform"), exports);
|
|
32
33
|
__exportStar(require("./position_result"), exports);
|
|
33
34
|
__exportStar(require("./queue"), exports);
|
|
@@ -8,6 +8,7 @@ export interface LotteryInterface {
|
|
|
8
8
|
topic: string;
|
|
9
9
|
imagen?: string;
|
|
10
10
|
view_screen: boolean;
|
|
11
|
+
view_result: number;
|
|
11
12
|
preference: number;
|
|
12
13
|
color: string;
|
|
13
14
|
is_express: boolean;
|
|
@@ -24,6 +25,7 @@ export interface LotteryFormInterface {
|
|
|
24
25
|
topic: string;
|
|
25
26
|
imagen?: string;
|
|
26
27
|
view_screen: boolean;
|
|
28
|
+
view_result: number;
|
|
27
29
|
preference: number;
|
|
28
30
|
color: string;
|
|
29
31
|
is_express: boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./create-platform-ads.base";
|
|
2
|
+
export * from "./platform-ads.base";
|
|
3
|
+
export * from "./platform-ads.controller";
|
|
4
|
+
export * from "./platform-ads.datasource";
|
|
5
|
+
export * from "./platform-ads.resolver";
|
|
6
|
+
export * from "./platform-ads.service";
|
|
7
|
+
export * from "./response-platform-ads.base";
|
|
8
|
+
export * from "./update-platform-ads.base";
|
|
9
|
+
export * from "./params-platform-ads.base";
|
|
@@ -0,0 +1,25 @@
|
|
|
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("./create-platform-ads.base"), exports);
|
|
18
|
+
__exportStar(require("./platform-ads.base"), exports);
|
|
19
|
+
__exportStar(require("./platform-ads.controller"), exports);
|
|
20
|
+
__exportStar(require("./platform-ads.datasource"), exports);
|
|
21
|
+
__exportStar(require("./platform-ads.resolver"), exports);
|
|
22
|
+
__exportStar(require("./platform-ads.service"), exports);
|
|
23
|
+
__exportStar(require("./response-platform-ads.base"), exports);
|
|
24
|
+
__exportStar(require("./update-platform-ads.base"), exports);
|
|
25
|
+
__exportStar(require("./params-platform-ads.base"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface PlatformAdsInterface {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
body: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
preference?: number;
|
|
7
|
+
image: string;
|
|
8
|
+
days_active?: number;
|
|
9
|
+
url_link?: string;
|
|
10
|
+
id_platform: number;
|
|
11
|
+
create_at: Date;
|
|
12
|
+
update_at: Date;
|
|
13
|
+
}
|
|
14
|
+
export interface PlatformAdsFormInterface {
|
|
15
|
+
id: number;
|
|
16
|
+
title: string;
|
|
17
|
+
body: string;
|
|
18
|
+
active?: boolean;
|
|
19
|
+
preference?: number;
|
|
20
|
+
image: string;
|
|
21
|
+
days_active?: number;
|
|
22
|
+
url_link?: string;
|
|
23
|
+
id_platform: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreatePlatformAdsInterface } from "./create-platform-ads.base";
|
|
2
|
+
import { ParamsPlatformAdsInterface } from "./params-platform-ads.base";
|
|
3
|
+
import { PlatformAdsInterface } from "./platform-ads.base";
|
|
4
|
+
import { ResponsePlatformAdsInterface } from "./response-platform-ads.base";
|
|
5
|
+
import { UpdatePlatformAdsInterface } from "./update-platform-ads.base";
|
|
6
|
+
import { ResponseInterface } from "../common";
|
|
7
|
+
export interface PlatformAdsControllerInterface {
|
|
8
|
+
create(dto: CreatePlatformAdsInterface): Promise<PlatformAdsInterface>;
|
|
9
|
+
findAll(pagination: ParamsPlatformAdsInterface): Promise<ResponsePlatformAdsInterface>;
|
|
10
|
+
findOne(id: number): Promise<PlatformAdsInterface>;
|
|
11
|
+
update(dto: UpdatePlatformAdsInterface): Promise<PlatformAdsInterface>;
|
|
12
|
+
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreatePlatformAdsInterface } from "./create-platform-ads.base";
|
|
2
|
+
import { ParamsPlatformAdsInterface } from "./params-platform-ads.base";
|
|
3
|
+
import { PlatformAdsInterface } from "./platform-ads.base";
|
|
4
|
+
import { ResponsePlatformAdsInterface } from "./response-platform-ads.base";
|
|
5
|
+
import { UpdatePlatformAdsInterface } from "./update-platform-ads.base";
|
|
6
|
+
import { ResponseInterface } from "../common";
|
|
7
|
+
export interface PlatformAdsDatasourceInterface {
|
|
8
|
+
create(dto: CreatePlatformAdsInterface): Promise<PlatformAdsInterface>;
|
|
9
|
+
findAll(pagination: ParamsPlatformAdsInterface): Promise<ResponsePlatformAdsInterface>;
|
|
10
|
+
findOne(id: number): Promise<PlatformAdsInterface>;
|
|
11
|
+
update(dto: UpdatePlatformAdsInterface): Promise<PlatformAdsInterface>;
|
|
12
|
+
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CreatePlatformAdsInterface } from "./create-platform-ads.base";
|
|
2
|
+
import { ParamsPlatformAdsInterface } from "./params-platform-ads.base";
|
|
3
|
+
import { PlatformAdsInterface } from "./platform-ads.base";
|
|
4
|
+
import { ResponsePlatformAdsInterface } from "./response-platform-ads.base";
|
|
5
|
+
import { UpdatePlatformAdsInterface } from "./update-platform-ads.base";
|
|
6
|
+
import { ResponseInterface } from "../common";
|
|
7
|
+
import { UserInterface } from "../user";
|
|
8
|
+
export interface PlatformAdsResolverInterface {
|
|
9
|
+
create(dto: CreatePlatformAdsInterface, user?: UserInterface): Promise<PlatformAdsInterface>;
|
|
10
|
+
findAll(pagination: ParamsPlatformAdsInterface, user?: UserInterface): Promise<ResponsePlatformAdsInterface>;
|
|
11
|
+
findOne(id: number, user?: UserInterface): Promise<PlatformAdsInterface>;
|
|
12
|
+
update(dto: UpdatePlatformAdsInterface, user?: UserInterface): Promise<PlatformAdsInterface>;
|
|
13
|
+
remove(id: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreatePlatformAdsInterface } from "./create-platform-ads.base";
|
|
2
|
+
import { ParamsPlatformAdsInterface } from "./params-platform-ads.base";
|
|
3
|
+
import { PlatformAdsInterface } from "./platform-ads.base";
|
|
4
|
+
import { ResponsePlatformAdsInterface } from "./response-platform-ads.base";
|
|
5
|
+
import { UpdatePlatformAdsInterface } from "./update-platform-ads.base";
|
|
6
|
+
import { ResponseInterface } from "../common";
|
|
7
|
+
export interface PlatformAdsServiceInterface {
|
|
8
|
+
create(dto: CreatePlatformAdsInterface): Promise<PlatformAdsInterface>;
|
|
9
|
+
findAll(pagination: ParamsPlatformAdsInterface): Promise<ResponsePlatformAdsInterface>;
|
|
10
|
+
findOne(id: number): Promise<PlatformAdsInterface>;
|
|
11
|
+
update(dto: UpdatePlatformAdsInterface): Promise<PlatformAdsInterface>;
|
|
12
|
+
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
+
}
|