@griddo/api-types 1.0.30 → 1.1.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/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './common';
2
2
  export * from './logs';
3
+ export * from './pages';
package/dist/index.js CHANGED
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./common"), exports);
18
18
  __exportStar(require("./logs"), exports);
19
+ __exportStar(require("./pages"), exports);
@@ -63,6 +63,7 @@ export interface BaseLogActivityDTO {
63
63
  country: string;
64
64
  contentTypePublic?: string;
65
65
  contentTypeTitle?: string;
66
+ contentTypeLanguageId?: number | null;
66
67
  }
67
68
  export type LogContentTypeDTO = {
68
69
  id: BaseLogActivityDTO['contentTypeId'];
@@ -72,11 +73,13 @@ export type LogContentTypeDTO = {
72
73
  title: string;
73
74
  };
74
75
  type: BaseLogActivityDTO['contentType'];
76
+ languageId: BaseLogActivityDTO['contentTypeLanguageId'];
75
77
  };
76
78
  export type LogContentDTO = {
77
79
  id: BaseLogActivityDTO['contentTypeId'];
78
80
  title: BaseLogActivityDTO['contentTypeTitle'];
79
81
  type: BaseLogActivityDTO['contentTypePublic'];
82
+ language: BaseLogActivityDTO['contentTypeLanguageId'];
80
83
  };
81
84
  export type LogActivityDTO = Omit<BaseLogActivityDTO, 'contentType' | 'contentTypeId' | 'contentTypePublic' | 'contentTypeTitle' | 'userId' | 'siteId' | 'ip' | 'country'> & {
82
85
  user: LogActivityUserDTO;
@@ -0,0 +1,7 @@
1
+ export interface CleanCorruptedPagesResponse {
2
+ deletedPages: number;
3
+ deletedStructuredData: number;
4
+ liveStatusStructuredDataUpdate: number;
5
+ unpublishedStructuredDataUpdate: number;
6
+ orphanStructureDataDelete: number;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './clear_corrupted_pages';
@@ -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("./clear_corrupted_pages"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@griddo/api-types",
3
- "version": "1.0.30",
3
+ "version": "1.1.0",
4
4
  "description": "Tipos públicos de la API de Griddo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",