@cxbox-ui/core 1.37.2-alpha.1 → 1.37.2-alpha.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.
@@ -33,7 +33,7 @@ export declare function getSorters(sorters: BcSorter[]): Record<string, string>;
33
33
  * @param defaultFilters string representation of filters
34
34
  * @category Utils
35
35
  */
36
- export declare function parseFilters(defaultFilters: string): BcFilter[];
36
+ export declare function parseFilters(defaultFilters?: string): BcFilter[];
37
37
  /**
38
38
  * Parse sorter string into separate sorter objects.
39
39
  * String representation of sorters is url based:
@@ -48,7 +48,7 @@ export declare function parseFilters(defaultFilters: string): BcFilter[];
48
48
  * @param sorters string representation of sorters
49
49
  * @category Utils
50
50
  */
51
- export declare function parseSorters(sorters: string): BcSorter[];
51
+ export declare function parseSorters(sorters?: string): BcSorter[];
52
52
  /**
53
53
  * Returns appropriate filtration type for specified field type.
54
54
  *
@@ -1,4 +1,5 @@
1
1
  export * from './api';
2
+ export * from './apiError';
2
3
  export * from './strings';
3
4
  export * from './history';
4
5
  export * from './filters';
@@ -13,10 +13,10 @@ export declare function getTemplate(literals: TemplateStringsArray, ...placehold
13
13
  *
14
14
  * @param bcName Business component name
15
15
  * @param includeSelf If result hierarchy should include target bc or only ancestors
16
- * @param store
16
+ * @param state
17
17
  * @category Utils
18
18
  */
19
- export declare function buildBcUrl(bcName: string, includeSelf?: boolean, store?: Store): string;
19
+ export declare function buildBcUrl(bcName: string, includeSelf: boolean, state: Store): string;
20
20
  export declare function splitBcUrl(bcUrl: string): string[];
21
21
  /**
22
22
  * If there is a template in the field name then returns the formatted string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cxbox-ui/core",
3
- "version": "1.37.2-alpha.1",
3
+ "version": "1.37.2-alpha.11",
4
4
  "description": "CXBox RTK business logic",
5
5
  "author": "cxbox",
6
6
  "license": "Apache-2.0",
@@ -23,7 +23,7 @@
23
23
  "format:check": "prettier --list-different \"(src|examples)/**/*.{ts,tsx}\" \"docs/*/**.md\"",
24
24
  "lint": "eslint src",
25
25
  "test": "jest --runInBand",
26
- "type-tests": "yarn tsc -p src/tests/tsconfig.typetests.jsonn",
26
+ "type-tests": "yarn tsc -p src/tests/tsconfig.typetests.json",
27
27
  "prepack": "npm run build-prepare",
28
28
  "gen:schema": "node ./node_modules/@cxbox-ui/schema/bin/build-schema"
29
29
  },