@teselagen/ui 0.8.6-beta.2 → 0.8.6-beta.21

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,2 +1 @@
1
1
  export function initializeHasuraWhereAndFilter(additionalFilter: any, where: {} | undefined, currentParams: any): void;
2
- export function addCustomColumnFilters(where: any, fields: any, currentParams: any): void;
@@ -19,8 +19,9 @@ export function makeDataTableHandlers({ setNewParams, defaults, onlyOneFilter }:
19
19
  setOrder: (order: any, isRemove: any, shiftHeld: any) => any;
20
20
  setNewParams: any;
21
21
  };
22
- export function getQueryParams({ currentParams, defaults, schema, isInfinite, entities, isLocalCall, additionalFilter, doNotCoercePageSize, noOrderError, ownProps }: {
22
+ export function getQueryParams({ currentParams, urlConnected, defaults, schema, isInfinite, entities, isLocalCall, additionalFilter, doNotCoercePageSize, noOrderError, isCodeModel, ownProps }: {
23
23
  currentParams: any;
24
+ urlConnected: any;
24
25
  defaults: any;
25
26
  schema: any;
26
27
  isInfinite: any;
@@ -29,6 +30,7 @@ export function getQueryParams({ currentParams, defaults, schema, isInfinite, en
29
30
  additionalFilter: any;
30
31
  doNotCoercePageSize: any;
31
32
  noOrderError: any;
33
+ isCodeModel: any;
32
34
  ownProps: any;
33
35
  }): {
34
36
  page: any;
@@ -39,7 +41,7 @@ export function getQueryParams({ currentParams, defaults, schema, isInfinite, en
39
41
  } | {
40
42
  variables: {
41
43
  where: {};
42
- order_by: {};
44
+ order_by: any[];
43
45
  limit: any;
44
46
  offset: number;
45
47
  };
@@ -48,5 +50,14 @@ export function getQueryParams({ currentParams, defaults, schema, isInfinite, en
48
50
  order: any[];
49
51
  filters: any;
50
52
  searchTerm: any;
53
+ errorParsingUrlString?: undefined;
54
+ } | {
55
+ errorParsingUrlString: unknown;
56
+ variables: {
57
+ where: {};
58
+ order_by: never[];
59
+ limit: number;
60
+ offset: number;
61
+ };
51
62
  };
52
63
  export const defaultPageSizes: number[];
@@ -8,7 +8,7 @@ export function tableQueryParamsToHasuraClauses({ page, pageSize, searchTerm, fi
8
8
  additionalFilter: any;
9
9
  }): {
10
10
  where: {};
11
- order_by: {};
11
+ order_by: any[];
12
12
  limit: any;
13
13
  offset: number;
14
14
  };
package/README.md CHANGED
@@ -4,7 +4,7 @@ This library was generated with [Nx](https://nx.dev).
4
4
 
5
5
  ## Running unit tests
6
6
 
7
- Run `nx test ui` to execute the unit tests via [Vitest](https://vitest.dev/).
7
+ Run `nx test ui` to execute the unit tests via bun test
8
8
 
9
9
  ## Installation (react)
10
10