@open-xamu-co/ui-common-types 3.1.0-next.5 → 3.1.0-next.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xamu-co/ui-common-types",
3
- "version": "3.1.0-next.5",
3
+ "version": "3.1.0-next.6",
4
4
  "description": "Xamu shared types",
5
5
  "author": "@xamu-co",
6
6
  "main": "src/index.ts",
package/src/fetch.ts CHANGED
@@ -16,6 +16,7 @@ export interface iPageEdge<T, C extends string | number = string> {
16
16
  export interface iPageInfo<C extends string | number = string> {
17
17
  nextCursor?: C;
18
18
  previousCursor?: C;
19
+ pageNumber?: number;
19
20
  hasNextPage: boolean;
20
21
  hasPreviousPage: boolean;
21
22
  path?: string;
package/src/locale.ts CHANGED
@@ -299,6 +299,8 @@ export type tLocalePagination = {
299
299
  pagination_items: string;
300
300
  /** @example "No pages | Single page | {count} pages" */
301
301
  pagination_pages: string;
302
+ /** @example "Page {count} of" */
303
+ pagination_page: string;
302
304
  // swal: {};
303
305
  };
304
306