@natrave/shared-entities 1.4.60 → 1.4.62
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/backoffice/app-downloads/app-download-daily.entity.d.ts +3 -11
- package/dist/backoffice/app-downloads/app-download-daily.entity.d.ts.map +1 -1
- package/dist/backoffice/app-downloads/app-download-daily.entity.js +5 -19
- package/dist/backoffice/enums/metric.enum.d.ts +4 -0
- package/dist/backoffice/enums/metric.enum.d.ts.map +1 -0
- package/dist/backoffice/enums/metric.enum.js +7 -0
- package/dist/backoffice/enums/platform.enum.d.ts +5 -0
- package/dist/backoffice/enums/platform.enum.d.ts.map +1 -0
- package/dist/backoffice/enums/platform.enum.js +8 -0
- package/dist/backoffice/enums/source.enum.d.ts +5 -0
- package/dist/backoffice/enums/source.enum.d.ts.map +1 -0
- package/dist/backoffice/enums/source.enum.js +8 -0
- package/dist/backoffice/index.d.ts +3 -0
- package/dist/backoffice/index.d.ts.map +1 -1
- package/dist/backoffice/index.js +8 -0
- package/package.json +1 -1
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export declare enum DownloadMetric {
|
|
6
|
-
DOWNLOADS = "downloads"
|
|
7
|
-
}
|
|
8
|
-
export declare enum DownloadSource {
|
|
9
|
-
GA4 = "ga4",
|
|
10
|
-
APPSTORE = "appstore"
|
|
11
|
-
}
|
|
1
|
+
import { DownloadMetric } from '../enums/metric.enum';
|
|
2
|
+
import { DownloadPlatform } from '../enums/platform.enum';
|
|
3
|
+
import { DownloadSource } from '../enums/source.enum';
|
|
12
4
|
export declare class AppDownloadDaily {
|
|
13
5
|
day: string;
|
|
14
6
|
platform: DownloadPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-download-daily.entity.d.ts","sourceRoot":"","sources":["../../../src/backoffice/app-downloads/app-download-daily.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-download-daily.entity.d.ts","sourceRoot":"","sources":["../../../src/backoffice/app-downloads/app-download-daily.entity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAYtD,qBAGa,gBAAgB;IAM3B,GAAG,EAAE,MAAM,CAAC;IAQZ,QAAQ,EAAE,gBAAgB,CAAC;IAS3B,MAAM,EAAE,cAAc,CAAC;IAQvB,KAAK,EAAE,MAAM,CAAC;IAQd,MAAM,EAAE,cAAc,CAAC;IAQvB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -9,20 +9,9 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
9
9
|
return result;
|
|
10
10
|
};
|
|
11
11
|
import { Column, Entity, Index, PrimaryColumn } from "typeorm";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return DownloadPlatform2;
|
|
16
|
-
})(DownloadPlatform || {});
|
|
17
|
-
var DownloadMetric = /* @__PURE__ */ ((DownloadMetric2) => {
|
|
18
|
-
DownloadMetric2["DOWNLOADS"] = "downloads";
|
|
19
|
-
return DownloadMetric2;
|
|
20
|
-
})(DownloadMetric || {});
|
|
21
|
-
var DownloadSource = /* @__PURE__ */ ((DownloadSource2) => {
|
|
22
|
-
DownloadSource2["GA4"] = "ga4";
|
|
23
|
-
DownloadSource2["APPSTORE"] = "appstore";
|
|
24
|
-
return DownloadSource2;
|
|
25
|
-
})(DownloadSource || {});
|
|
12
|
+
import { DownloadMetric } from "../enums/metric.enum.js";
|
|
13
|
+
import { DownloadPlatform } from "../enums/platform.enum.js";
|
|
14
|
+
import { DownloadSource } from "../enums/source.enum.js";
|
|
26
15
|
const BigIntToNumber = {
|
|
27
16
|
to: (value) => value,
|
|
28
17
|
from: (value) => value ? Number(value) : 0
|
|
@@ -49,7 +38,7 @@ __decorateClass([
|
|
|
49
38
|
name: "metric",
|
|
50
39
|
type: "enum",
|
|
51
40
|
enum: DownloadMetric,
|
|
52
|
-
default:
|
|
41
|
+
default: DownloadMetric.DOWNLOADS,
|
|
53
42
|
comment: "Nome da m\xE9trica agregada."
|
|
54
43
|
})
|
|
55
44
|
], AppDownloadDaily.prototype, "metric", 2);
|
|
@@ -83,8 +72,5 @@ AppDownloadDaily = __decorateClass([
|
|
|
83
72
|
Index(["platform", "day"])
|
|
84
73
|
], AppDownloadDaily);
|
|
85
74
|
export {
|
|
86
|
-
AppDownloadDaily
|
|
87
|
-
DownloadMetric,
|
|
88
|
-
DownloadPlatform,
|
|
89
|
-
DownloadSource
|
|
75
|
+
AppDownloadDaily
|
|
90
76
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric.enum.d.ts","sourceRoot":"","sources":["../../../src/backoffice/enums/metric.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,SAAS,cAAc;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.enum.d.ts","sourceRoot":"","sources":["../../../src/backoffice/enums/platform.enum.ts"],"names":[],"mappings":"AAGA,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,GAAG,QAAQ;CACZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source.enum.d.ts","sourceRoot":"","sources":["../../../src/backoffice/enums/source.enum.ts"],"names":[],"mappings":"AAGA,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/backoffice/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/backoffice/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/backoffice/index.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
1
|
export * from "./app-downloads/index.js";
|
|
2
|
+
import { DownloadMetric } from "./enums/metric.enum.js";
|
|
3
|
+
import { DownloadPlatform } from "./enums/platform.enum.js";
|
|
4
|
+
import { DownloadSource } from "./enums/source.enum.js";
|
|
5
|
+
export {
|
|
6
|
+
DownloadMetric,
|
|
7
|
+
DownloadPlatform,
|
|
8
|
+
DownloadSource
|
|
9
|
+
};
|