@trackunit/iris-app-runtime-core 1.4.149 → 1.4.151

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": "@trackunit/iris-app-runtime-core",
3
- "version": "1.4.149",
3
+ "version": "1.4.151",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,9 +9,9 @@
9
9
  "dependencies": {
10
10
  "penpal": "^6.2.2",
11
11
  "jest-fetch-mock": "^3.0.3",
12
- "@trackunit/react-core-contexts-api": "1.4.146",
13
- "@trackunit/iris-app-runtime-core-api": "1.3.149",
14
- "@trackunit/react-test-setup": "1.0.29"
12
+ "@trackunit/react-core-contexts-api": "1.4.148",
13
+ "@trackunit/iris-app-runtime-core-api": "1.3.151",
14
+ "@trackunit/react-test-setup": "1.0.31"
15
15
  },
16
16
  "module": "./index.esm.js",
17
17
  "main": "./index.cjs.js",
@@ -15,11 +15,11 @@ export interface DropdownSelection {
15
15
  export declare const getCustomFieldValueToSaveFromRawValue: (customFieldDefinition: {
16
16
  __typename: "BooleanFieldDefinition" | "DateFieldDefinition" | "DropDownFieldDefinition" | "EmailFieldDefinition" | "JsonFieldDefinition" | "MonetaryFieldDefinition" | "NumberFieldDefinition" | "PhoneNumberFieldDefinition" | "StringFieldDefinition" | "StringListFieldDefinition" | "WebAddressFieldDefinition";
17
17
  isInteger?: boolean | null;
18
- }, newValue: boolean | string | string[] | DropdownSelection[] | DropdownSelection | number | Date | null) => CustomFieldValue;
18
+ }, newValue: boolean | string | Array<string> | Array<DropdownSelection> | DropdownSelection | number | Date | null) => CustomFieldValue;
19
19
  /**
20
20
  * Convert the received value to a string
21
21
  */
22
- export declare const getStringValue: (value: boolean | string | string[] | DropdownSelection[] | DropdownSelection | number | null | undefined) => string | null;
22
+ export declare const getStringValue: (value: boolean | string | Array<string> | Array<DropdownSelection> | DropdownSelection | number | null | undefined) => string | null;
23
23
  /**
24
24
  * Format the received value to a date string
25
25
  * yyyy-mm-dd
@@ -32,4 +32,4 @@ export declare const getCustomFieldValueForDisplayInUI: (value: number | string
32
32
  /**
33
33
  * type guard to ensure that a value is of a type compatible with custom fields
34
34
  */
35
- export declare const isValidCustomFieldValue: (value: unknown) => value is boolean | string | string[] | DropdownSelection[] | DropdownSelection | number | null;
35
+ export declare const isValidCustomFieldValue: (value: unknown) => value is boolean | string | Array<string> | Array<DropdownSelection> | DropdownSelection | number | null;