@trackunit/iris-app-runtime-core-api 0.0.60-alpha-01a8ce128.0 → 0.0.61
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/CustomFieldRuntime.d.ts +24 -10
- package/package.json +2 -2
package/CustomFieldRuntime.d.ts
CHANGED
@@ -31,7 +31,10 @@ export declare type BooleanFieldDefinition = AbstractCustomFieldDefinitionObject
|
|
31
31
|
type: CustomFieldType.BOOLEAN;
|
32
32
|
};
|
33
33
|
export declare type DateFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
34
|
-
|
34
|
+
/**
|
35
|
+
* ISO8601 formatted date
|
36
|
+
*/
|
37
|
+
defaultDateValue?: string | null;
|
35
38
|
type: CustomFieldType.DATE;
|
36
39
|
};
|
37
40
|
export declare type PhoneNumberFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
@@ -113,28 +116,39 @@ export declare type StringFieldDefinition = AbstractCustomFieldDefinitionObject
|
|
113
116
|
export interface AbstractCustomFieldValue {
|
114
117
|
type: CustomFieldType;
|
115
118
|
}
|
116
|
-
export declare type BooleanFieldValue =
|
119
|
+
export declare type BooleanFieldValue = {
|
120
|
+
type: CustomFieldType.BOOLEAN;
|
117
121
|
booleanValue?: boolean | null;
|
118
122
|
};
|
119
|
-
export declare type DateFieldValue =
|
120
|
-
|
123
|
+
export declare type DateFieldValue = {
|
124
|
+
type: CustomFieldType.DATE;
|
125
|
+
/**
|
126
|
+
* ISO8601 formatted date
|
127
|
+
*/
|
128
|
+
dateValue?: string | null;
|
121
129
|
};
|
122
|
-
export declare type DropDownFieldValue =
|
130
|
+
export declare type DropDownFieldValue = {
|
131
|
+
type: CustomFieldType.DROPDOWN;
|
123
132
|
stringArrayValue?: string[];
|
124
133
|
};
|
125
|
-
export declare type EmailFieldValue =
|
134
|
+
export declare type EmailFieldValue = {
|
135
|
+
type: CustomFieldType.EMAIL;
|
126
136
|
stringValue?: string | null;
|
127
137
|
};
|
128
|
-
export declare type NumberFieldValue =
|
138
|
+
export declare type NumberFieldValue = {
|
139
|
+
type: CustomFieldType.NUMBER;
|
129
140
|
numberValue?: number | null;
|
130
141
|
};
|
131
|
-
export declare type PhoneNumberFieldValue =
|
142
|
+
export declare type PhoneNumberFieldValue = {
|
143
|
+
type: CustomFieldType.PHONE_NUMBER;
|
132
144
|
stringValue?: string | null;
|
133
145
|
};
|
134
|
-
export declare type StringFieldValue =
|
146
|
+
export declare type StringFieldValue = {
|
147
|
+
type: CustomFieldType.STRING;
|
135
148
|
stringValue?: string | null;
|
136
149
|
};
|
137
|
-
export declare type WebAddressFieldValue =
|
150
|
+
export declare type WebAddressFieldValue = {
|
151
|
+
type: CustomFieldType.WEB_ADDRESS;
|
138
152
|
stringValue?: string | null;
|
139
153
|
};
|
140
154
|
export declare type CustomFieldDefinition = BooleanFieldDefinition | DateFieldDefinition | DropDownFieldDefinition | EmailFieldDefinition | NumberFieldDefinition | PhoneNumberFieldDefinition | StringFieldDefinition | WebAddressFieldDefinition;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@trackunit/iris-app-runtime-core-api",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.61",
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"module": "./index.js",
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"type": "module",
|
9
9
|
"types": "./index.d.ts",
|
10
10
|
"dependencies": {
|
11
|
-
"@trackunit/react-core-contexts-api": "0.0.55
|
11
|
+
"@trackunit/react-core-contexts-api": "0.0.55"
|
12
12
|
},
|
13
13
|
"peerDependencies": {}
|
14
14
|
}
|