@griddo/api-types 1.0.16 → 1.0.18

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.
@@ -35,6 +35,7 @@ export type LogActivityUserDTO = LogActivityRelation & {
35
35
  country?: BaseLogActivityDTO['country'];
36
36
  action?: LogActivityEventEnumInterface;
37
37
  company?: string | null;
38
+ image?: string | null;
38
39
  };
39
40
  export interface LogActivityFilterDTO {
40
41
  date?: {
@@ -64,8 +65,8 @@ export type LogActivityUserGrouped<TLogActivity> = LogActivityUserDTO & {
64
65
  };
65
66
  export type LogActivityDTO = Omit<BaseLogActivityDTO, 'createdAt' | 'contentType' | 'contentTypeId' | 'contentTypePublic' | 'contentTypeTitle' | 'userId' | 'siteId' | 'ip' | 'country'> & {
66
67
  user: LogActivityUserDTO;
67
- site: LogActivityRelation;
68
- eventType: LogActivityRelation;
68
+ site: LogActivityRelation | null;
69
+ eventType: LogActivityRelation | null;
69
70
  created: {
70
71
  date: string;
71
72
  hour: string;
@@ -75,7 +76,7 @@ export type LogActivityDTO = Omit<BaseLogActivityDTO, 'createdAt' | 'contentType
75
76
  title: BaseLogActivityDTO['contentTypeTitle'];
76
77
  contentType: BaseLogActivityDTO['contentTypePublic'];
77
78
  type: BaseLogActivityDTO['contentType'];
78
- };
79
+ } | null;
79
80
  };
80
81
  export type LogActivityGroupedUserDTO<TLogActivity = LogActivityDTO[]> = Omit<BaseLogActivityDTO, 'createdAt' | 'contentType' | 'contentTypeId' | 'contentTypePublic' | 'contentTypeTitle' | 'userId' | 'siteId' | 'ip' | 'country' | 'eventTypeId'> & {
81
82
  date: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@griddo/api-types",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Tipos públicos de la API de Griddo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",