@open-xamu-co/ui-common-types 3.0.0-next.6 → 3.0.0-next.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/fetch.ts +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xamu-co/ui-common-types",
3
- "version": "3.0.0-next.6",
3
+ "version": "3.0.0-next.7",
4
4
  "description": "Xamu shared types",
5
5
  "author": "@xamu-co",
6
6
  "main": "src/index.ts",
package/src/fetch.ts CHANGED
@@ -31,8 +31,7 @@ export interface iPagination<O = tOrderBy> {
31
31
  */
32
32
  first?: number;
33
33
  /**
34
- * JSON string
35
- * aplica a cualquiera columna
34
+ * Ordenar segun columna o propiedad
36
35
  * ej: ["id", "asc" ], order ascendente de id
37
36
  * ej: ["id", "desc" ], order descendente de id
38
37
  */
@@ -45,6 +44,5 @@ export interface iPagination<O = tOrderBy> {
45
44
  export type tHydrate<T> = (c: T, e?: unknown) => void;
46
45
 
47
46
  export type iGetPage<T, C extends string | number = string> = (
48
- hydrate: tHydrate<iPage<T, C> | null>,
49
47
  params?: iPagination
50
48
  ) => Promise<iPage<T, C>>;