@trackunit/iris-app-runtime-core-api 0.3.68 → 0.3.70
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 +2 -2
- package/src/CustomFieldRuntime.d.ts +0 -10
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@trackunit/iris-app-runtime-core-api",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.70",
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"engines": {
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"module": "./index.esm.js",
|
10
10
|
"main": "./index.cjs.js",
|
11
11
|
"dependencies": {
|
12
|
-
"@trackunit/react-core-contexts-api": "0.2.
|
12
|
+
"@trackunit/react-core-contexts-api": "0.2.58"
|
13
13
|
},
|
14
14
|
"peerDependencies": {}
|
15
15
|
}
|
@@ -29,41 +29,33 @@ export interface AbstractCustomFieldDefinitionObject {
|
|
29
29
|
type: CustomFieldType;
|
30
30
|
}
|
31
31
|
export type BooleanFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
32
|
-
defaultBooleanValue?: boolean | null;
|
33
32
|
type: CustomFieldType.BOOLEAN;
|
34
33
|
};
|
35
34
|
export type DateFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
36
35
|
/**
|
37
36
|
* ISO8601 formatted date
|
38
37
|
*/
|
39
|
-
defaultDateValue?: string | null;
|
40
38
|
type: CustomFieldType.DATE;
|
41
39
|
};
|
42
40
|
export type PhoneNumberFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
43
|
-
defaultStringValue?: string | null;
|
44
41
|
type: CustomFieldType.PHONE_NUMBER;
|
45
42
|
};
|
46
43
|
export type EmailFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
47
|
-
defaultStringValue?: string | null;
|
48
44
|
type: CustomFieldType.EMAIL;
|
49
45
|
};
|
50
46
|
export type JsonFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
51
|
-
defaultJsonValue?: unknown | null;
|
52
47
|
type: CustomFieldType.JSON;
|
53
48
|
};
|
54
49
|
export type MonetaryFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
55
|
-
defaultNumberValue?: number | null;
|
56
50
|
currency: string;
|
57
51
|
minimumNumber?: number | null;
|
58
52
|
maximumNumber?: number | null;
|
59
53
|
type: CustomFieldType.MONETARY;
|
60
54
|
};
|
61
55
|
export type WebAddressFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
62
|
-
defaultStringValue?: string | null;
|
63
56
|
type: CustomFieldType.WEB_ADDRESS;
|
64
57
|
};
|
65
58
|
export type DropDownFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
66
|
-
defaultStringArrayValue?: string[] | null;
|
67
59
|
multiSelect?: boolean | null;
|
68
60
|
allValues?: string[] | null;
|
69
61
|
type: CustomFieldType.DROPDOWN;
|
@@ -115,7 +107,6 @@ export declare enum UnitSi {
|
|
115
107
|
}
|
116
108
|
export type UnitSiType = `${UnitSi}`;
|
117
109
|
export type NumberFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
118
|
-
defaultNumberValue?: number | null;
|
119
110
|
minimumNumber?: number | null;
|
120
111
|
maximumNumber?: number | null;
|
121
112
|
unitSi?: UnitSi | null;
|
@@ -124,7 +115,6 @@ export type NumberFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
|
124
115
|
type: CustomFieldType.NUMBER;
|
125
116
|
};
|
126
117
|
export type StringFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
127
|
-
defaultStringValue?: string | null;
|
128
118
|
minimumLength?: number | null;
|
129
119
|
maximumLength?: number | null;
|
130
120
|
pattern?: string | null;
|