@trackunit/iris-app-runtime-core-api 0.3.207 → 0.3.208

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-api",
3
- "version": "0.3.207",
3
+ "version": "0.3.208",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -68,6 +68,10 @@ export type DropDownFieldDefinition = AbstractCustomFieldDefinitionObject & {
68
68
  allValues?: string[] | null;
69
69
  type: "DROPDOWN";
70
70
  };
71
+ export type StringListFieldDefinition = AbstractCustomFieldDefinitionObject & {
72
+ type: "STRING_LIST";
73
+ allValues?: string[] | null;
74
+ };
71
75
  export declare const UnitOfMeasurement: {
72
76
  readonly NEWTON: "NEWTON";
73
77
  readonly PASCAL: "PASCAL";
@@ -221,6 +225,10 @@ export type DateFieldValue = {
221
225
  */
222
226
  dateValue?: string | null;
223
227
  };
228
+ export type StringListFieldValue = {
229
+ type: "STRING_LIST";
230
+ stringArrayValue?: string[] | null;
231
+ };
224
232
  export type DropDownFieldValue = {
225
233
  type: "DROPDOWN";
226
234
  stringArrayValue?: string[] | null;
@@ -253,8 +261,8 @@ export type WebAddressFieldValue = {
253
261
  type: "WEB_ADDRESS";
254
262
  stringValue?: string | null;
255
263
  };
256
- export type CustomFieldDefinition = BooleanFieldDefinition | DateFieldDefinition | DropDownFieldDefinition | EmailFieldDefinition | JsonFieldDefinition | MonetaryFieldDefinition | NumberFieldDefinition | PhoneNumberFieldDefinition | StringFieldDefinition | WebAddressFieldDefinition;
257
- export type CustomFieldValue = BooleanFieldValue | DateFieldValue | DropDownFieldValue | EmailFieldValue | JsonFieldValue | MonetaryFieldValue | NumberFieldValue | PhoneNumberFieldValue | StringFieldValue | WebAddressFieldValue;
264
+ export type CustomFieldDefinition = BooleanFieldDefinition | DateFieldDefinition | DropDownFieldDefinition | EmailFieldDefinition | JsonFieldDefinition | MonetaryFieldDefinition | NumberFieldDefinition | PhoneNumberFieldDefinition | StringFieldDefinition | StringListFieldDefinition | WebAddressFieldDefinition;
265
+ export type CustomFieldValue = BooleanFieldValue | DateFieldValue | DropDownFieldValue | EmailFieldValue | JsonFieldValue | MonetaryFieldValue | NumberFieldValue | PhoneNumberFieldValue | StringFieldValue | StringListFieldValue | WebAddressFieldValue;
258
266
  export interface ValueAndDefinition {
259
267
  definition: CustomFieldDefinition;
260
268
  value: CustomFieldValue;