@griddo/api-types 1.0.20 → 1.0.21
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
|
@@ -64,7 +64,7 @@ export interface BaseLogActivityDTO {
|
|
|
64
64
|
contentTypePublic?: string;
|
|
65
65
|
contentTypeTitle?: string;
|
|
66
66
|
}
|
|
67
|
-
export type LogActivityDTO = Omit<BaseLogActivityDTO, '
|
|
67
|
+
export type LogActivityDTO = Omit<BaseLogActivityDTO, 'contentType' | 'contentTypeId' | 'contentTypePublic' | 'contentTypeTitle' | 'userId' | 'siteId' | 'ip' | 'country'> & {
|
|
68
68
|
user: LogActivityUserDTO;
|
|
69
69
|
site: LogActivityRelation | null;
|
|
70
70
|
eventType: LogActivityRelation | null;
|
|
@@ -83,6 +83,11 @@ export type LogActivityGroupedUserDTO<TLogActivity = LogActivityDTO[]> = Omit<Ba
|
|
|
83
83
|
date: string;
|
|
84
84
|
user: LogActivityUserGrouped<TLogActivity>[];
|
|
85
85
|
};
|
|
86
|
+
export type LogActivityGroupedDayDTO = Omit<BaseLogActivityDTO, 'createdAt' | 'contentType' | 'contentTypeId' | 'contentTypePublic' | 'contentTypeTitle' | 'userId' | 'siteId' | 'ip' | 'country' | 'eventTypeId'> & {
|
|
87
|
+
date: string;
|
|
88
|
+
totalItems: number;
|
|
89
|
+
items: LogActivityDTO[];
|
|
90
|
+
};
|
|
86
91
|
export type LogActivityUserGrouped<TLogActivity> = LogActivityUserDTO & {
|
|
87
92
|
logActivity: TLogActivity;
|
|
88
93
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './select';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./select"), exports);
|