@griddo/api-types 1.3.0 → 1.3.2

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.
@@ -5,7 +5,7 @@ export declare enum PaginationOrder {
5
5
  export type PaginationRequest<TFilter extends unknown = {}> = {
6
6
  page: number;
7
7
  itemsPerPage: number;
8
- order?: PaginationOrder;
8
+ order?: PaginationOrder | `${PaginationOrder}`;
9
9
  filters?: TFilter;
10
10
  search?: string;
11
11
  pagination?: boolean;
@@ -1,4 +1,4 @@
1
- import type { PageIntegration } from "src/pages";
1
+ import type { PageIntegration } from "../pages";
2
2
  export type Integration = Pick<PageIntegration, "name" | "description" | "site" | "contentHead" | "contentBody" | "contentBodyPosition" | "contentPresence" | "active" | "type">;
3
3
  export interface DataPackSiteConfigDataDTO {
4
4
  defaultParent?: null | number;
@@ -1,5 +1,5 @@
1
- import type { PaginationRequest } from "src/common";
2
- import type { ExportFormat } from "src/common/export";
1
+ import type { PaginationRequest } from "../common";
2
+ import type { ExportFormat } from "../common/export";
3
3
  export declare const LogActivityEventEnum: Record<string, string>;
4
4
  export declare enum ContentType {
5
5
  TEMPLATE = "template",// page
@@ -1,4 +1,4 @@
1
- import type { ContentBodyPosition, ContentPresence } from "src/add-ons";
1
+ import type { ContentBodyPosition, ContentPresence } from "../add-ons";
2
2
  export type PageIntegrationType = "addon" | "analytics" | "datalayer";
3
3
  export interface PageIntegration {
4
4
  id: number;
@@ -1,4 +1,4 @@
1
- import type { PaginationRequest, PaginationResponse } from "src/common";
1
+ import type { PaginationRequest, PaginationResponse } from "../common";
2
2
  /**
3
3
  * Represents the possible states of a job in the queue.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { PaginationRequest, PaginationResponse } from "src/common";
1
+ import type { PaginationRequest, PaginationResponse } from "../common";
2
2
  /**
3
3
  * Estados posibles de un `render_runs` (ciclo de render, legacy o K8s).
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { UUID } from "src";
1
+ import type { UUID } from "../common";
2
2
  export type LoginRequest = Readonly<{
3
3
  email: string;
4
4
  password: string;
@@ -1,4 +1,4 @@
1
- import type { UUID } from "src";
1
+ import type { UUID } from "../common";
2
2
  export interface SSOClientParamsDTO {
3
3
  clientId: string;
4
4
  clientSecret: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@griddo/api-types",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Tipos públicos de la API de Griddo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",