@cakemail-org/ui-components-v2 2.2.9 → 2.2.11

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.
@@ -1,5 +1,9 @@
1
- export declare const uiKitConfig: {
1
+ type TUiKitConfig = {
2
2
  GATEWAY_PROXY: string;
3
- ERROR_HANDLER: undefined;
3
+ ERROR_HANDLER: (({ errorResponse }: {
4
+ errorResponse: any;
5
+ }) => void) | undefined;
4
6
  SUPPORTED_LANGUAGES: string[];
5
7
  };
8
+ export declare const uiKitConfig: TUiKitConfig;
9
+ export {};
@@ -2,7 +2,7 @@ import { TDeleteApiResource } from "../../types";
2
2
  import { EPageBranding, TPageContent, TPageModel, TPageSEO, TPageTracking, TPageUser } from "./types";
3
3
  export declare class ListPageModel {
4
4
  id: string;
5
- list_id: string;
5
+ list_id: number;
6
6
  account_id: number;
7
7
  name: string | null;
8
8
  slug: string | null;
@@ -1,6 +1,6 @@
1
1
  export type TPageModel = {
2
2
  id: string;
3
- list_id: string;
3
+ list_id: number;
4
4
  account_id: number;
5
5
  name: string | null;
6
6
  slug: string | null;
@@ -1,5 +1,9 @@
1
- export declare const uiKitConfig: {
1
+ type TUiKitConfig = {
2
2
  GATEWAY_PROXY: string;
3
- ERROR_HANDLER: undefined;
3
+ ERROR_HANDLER: (({ errorResponse }: {
4
+ errorResponse: any;
5
+ }) => void) | undefined;
4
6
  SUPPORTED_LANGUAGES: string[];
5
7
  };
8
+ export declare const uiKitConfig: TUiKitConfig;
9
+ export {};
@@ -2,7 +2,7 @@ import { TDeleteApiResource } from "../../types";
2
2
  import { EPageBranding, TPageContent, TPageModel, TPageSEO, TPageTracking, TPageUser } from "./types";
3
3
  export declare class ListPageModel {
4
4
  id: string;
5
- list_id: string;
5
+ list_id: number;
6
6
  account_id: number;
7
7
  name: string | null;
8
8
  slug: string | null;
@@ -1,6 +1,6 @@
1
1
  export type TPageModel = {
2
2
  id: string;
3
- list_id: string;
3
+ list_id: number;
4
4
  account_id: number;
5
5
  name: string | null;
6
6
  slug: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.9",
3
+ "version": "2.2.11",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",