@griddo/api-types 1.0.1 → 1.0.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/logs/activity.d.ts
CHANGED
|
@@ -82,4 +82,10 @@ export type LogActivityGroupedUserDTO<TLogActivity = LogActivityDTO[]> = Omit<Ba
|
|
|
82
82
|
export type LogActivityUserGroupedLogDTO = LogActivityUserDTO & {
|
|
83
83
|
LogActivityFormatDTO: Omit<LogActivityDTO, 'user'>[];
|
|
84
84
|
};
|
|
85
|
+
export interface LogActivityExportRequest {
|
|
86
|
+
format: ('csv' | 'json' | 'xml')[];
|
|
87
|
+
dateRange: string;
|
|
88
|
+
startTime?: string | null;
|
|
89
|
+
maxEvents?: number | null;
|
|
90
|
+
}
|
|
85
91
|
export {};
|
package/dist/logs/activity.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ContentType = exports.LogActivityEventEnum = void 0;
|
|
4
|
-
const LogActivityEvents_1 = require("
|
|
4
|
+
const LogActivityEvents_1 = require("./LogActivityEvents");
|
|
5
5
|
exports.LogActivityEventEnum = Object.keys(LogActivityEvents_1.LogActivityEvent).reduce((acc, key) => {
|
|
6
6
|
acc[key] = key;
|
|
7
7
|
return acc;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/api-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Tipos públicos de la API de Griddo",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,10 +13,12 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc -p tsconfig.json",
|
|
15
15
|
"clean": "rm -rf dist",
|
|
16
|
-
"prepare": "npm run build"
|
|
16
|
+
"prepare": "npm run build",
|
|
17
|
+
"publish": "npm build && release-it && npm publish --access public"
|
|
17
18
|
},
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"devDependencies": {
|
|
20
|
-
"@types/minimatch": "^6.0.0"
|
|
21
|
+
"@types/minimatch": "^6.0.0",
|
|
22
|
+
"release-it": "^18.1.2"
|
|
21
23
|
}
|
|
22
24
|
}
|