ingeniuscliq-core 0.2.45 → 0.2.47

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.
@@ -8,7 +8,7 @@ export declare class CorePayFormBuilder implements CoreBuilder {
8
8
  build(): import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<CorePayFormStore<CorePayForm>>, "persist"> & {
9
9
  persist: {
10
10
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<CorePayFormStore<CorePayForm>, {
11
- payForms: import('../../..').BasePagination<CorePayForm> | null;
11
+ payForms: CorePayForm[] | null;
12
12
  }>>) => void;
13
13
  clearStorage: () => void;
14
14
  rehydrate: () => Promise<void> | void;
@@ -16,7 +16,7 @@ export declare class CorePayFormBuilder implements CoreBuilder {
16
16
  onHydrate: (fn: (state: CorePayFormStore<CorePayForm>) => void) => () => void;
17
17
  onFinishHydration: (fn: (state: CorePayFormStore<CorePayForm>) => void) => () => void;
18
18
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<CorePayFormStore<CorePayForm>, {
19
- payForms: import('../../..').BasePagination<CorePayForm> | null;
19
+ payForms: CorePayForm[] | null;
20
20
  }>>;
21
21
  };
22
22
  }>;
@@ -1,7 +1,5 @@
1
1
  import { BaseStore } from '../../../types/BaseStore';
2
2
  import { BaseType } from '../../../types/BaseType';
3
- import { BaseApiResponsePagination } from '../../../types/contracts/BaseApiResponse';
4
- import { BasePagination } from '../../../types/contracts/BasePagination';
5
3
  /**
6
4
  * CorePayForm base type
7
5
  */
@@ -12,8 +10,8 @@ export interface CorePayForm extends BaseType {
12
10
  currencies: string[];
13
11
  }
14
12
  export interface CorePayFormStore<T extends CorePayForm> extends BaseStore {
15
- payForms: BasePagination<T> | null;
16
- setPayForms: (payForms: BasePagination<T> | null) => void;
17
- getPayForms: () => BasePagination<T> | null;
18
- fetchPayForms: (params?: Record<string, any>) => Promise<BaseApiResponsePagination<T>>;
13
+ payForms: T[] | null;
14
+ setPayForms: (payForms: T[] | null) => void;
15
+ getPayForms: () => T[] | null;
16
+ fetchPayForms: (params?: Record<string, any>) => Promise<T[]>;
19
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.2.45",
3
+ "version": "0.2.47",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",