@unito/integration-api 4.2.7 → 4.2.9
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.
|
@@ -215,7 +215,13 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
215
215
|
readonly integer: null;
|
|
216
216
|
readonly number: null;
|
|
217
217
|
readonly object: null;
|
|
218
|
-
readonly reference:
|
|
218
|
+
readonly reference: {
|
|
219
|
+
readonly field: {
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly default: "semantic:displayName";
|
|
222
|
+
readonly description: "The field against which to match the string value.";
|
|
223
|
+
};
|
|
224
|
+
};
|
|
219
225
|
readonly html: {};
|
|
220
226
|
readonly markdown: {};
|
|
221
227
|
readonly string: {};
|
|
@@ -283,11 +289,23 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
283
289
|
readonly datetime: null;
|
|
284
290
|
readonly datetimeRange: null;
|
|
285
291
|
readonly duration: null;
|
|
286
|
-
readonly email:
|
|
292
|
+
readonly email: {
|
|
293
|
+
readonly field: {
|
|
294
|
+
readonly type: "string";
|
|
295
|
+
readonly default: "semantic:displayName";
|
|
296
|
+
readonly description: "The field of the referenced entry to use for the string value.";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
287
299
|
readonly integer: null;
|
|
288
300
|
readonly number: null;
|
|
289
301
|
readonly object: null;
|
|
290
|
-
readonly reference: {
|
|
302
|
+
readonly reference: {
|
|
303
|
+
readonly sideIds: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
readonly description: "If specified, only the references kept in sync in the specified link sides will be evaluated.";
|
|
306
|
+
readonly isArray: true;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
291
309
|
readonly html: {
|
|
292
310
|
readonly field: {
|
|
293
311
|
readonly type: "string";
|
|
@@ -206,7 +206,7 @@ export const fieldTypeCompatibilityMatrix = {
|
|
|
206
206
|
[Api.FieldValueTypes.INTEGER]: null,
|
|
207
207
|
[Api.FieldValueTypes.NUMBER]: null,
|
|
208
208
|
[Api.FieldValueTypes.OBJECT]: null,
|
|
209
|
-
[Api.FieldValueTypes.REFERENCE]:
|
|
209
|
+
[Api.FieldValueTypes.REFERENCE]: stringLikeToReferenceConfiguration,
|
|
210
210
|
[Api.FieldValueTypes.RICH_TEXT_HTML]: {},
|
|
211
211
|
[Api.FieldValueTypes.RICH_TEXT_MARKDOWN]: {},
|
|
212
212
|
[Api.FieldValueTypes.STRING]: {},
|
|
@@ -274,11 +274,17 @@ export const fieldTypeCompatibilityMatrix = {
|
|
|
274
274
|
[Api.FieldValueTypes.DATETIME]: null,
|
|
275
275
|
[Api.FieldValueTypes.DATETIME_RANGE]: null,
|
|
276
276
|
[Api.FieldValueTypes.DURATION]: null,
|
|
277
|
-
[Api.FieldValueTypes.EMAIL]:
|
|
277
|
+
[Api.FieldValueTypes.EMAIL]: referenceToStringLikeConfiguration,
|
|
278
278
|
[Api.FieldValueTypes.INTEGER]: null,
|
|
279
279
|
[Api.FieldValueTypes.NUMBER]: null,
|
|
280
280
|
[Api.FieldValueTypes.OBJECT]: null,
|
|
281
|
-
[Api.FieldValueTypes.REFERENCE]: {
|
|
281
|
+
[Api.FieldValueTypes.REFERENCE]: {
|
|
282
|
+
sideIds: {
|
|
283
|
+
type: 'string',
|
|
284
|
+
description: 'If specified, only the references kept in sync in the specified link sides will be evaluated.',
|
|
285
|
+
isArray: true,
|
|
286
|
+
},
|
|
287
|
+
},
|
|
282
288
|
[Api.FieldValueTypes.RICH_TEXT_HTML]: referenceToStringLikeConfiguration,
|
|
283
289
|
[Api.FieldValueTypes.RICH_TEXT_MARKDOWN]: referenceToStringLikeConfiguration,
|
|
284
290
|
[Api.FieldValueTypes.STRING]: referenceToStringLikeConfiguration,
|
package/dist/src/index.cjs
CHANGED
|
@@ -425,7 +425,7 @@ const fieldTypeCompatibilityMatrix = {
|
|
|
425
425
|
[FieldValueTypes.INTEGER]: null,
|
|
426
426
|
[FieldValueTypes.NUMBER]: null,
|
|
427
427
|
[FieldValueTypes.OBJECT]: null,
|
|
428
|
-
[FieldValueTypes.REFERENCE]:
|
|
428
|
+
[FieldValueTypes.REFERENCE]: stringLikeToReferenceConfiguration,
|
|
429
429
|
[FieldValueTypes.RICH_TEXT_HTML]: {},
|
|
430
430
|
[FieldValueTypes.RICH_TEXT_MARKDOWN]: {},
|
|
431
431
|
[FieldValueTypes.STRING]: {},
|
|
@@ -493,11 +493,17 @@ const fieldTypeCompatibilityMatrix = {
|
|
|
493
493
|
[FieldValueTypes.DATETIME]: null,
|
|
494
494
|
[FieldValueTypes.DATETIME_RANGE]: null,
|
|
495
495
|
[FieldValueTypes.DURATION]: null,
|
|
496
|
-
[FieldValueTypes.EMAIL]:
|
|
496
|
+
[FieldValueTypes.EMAIL]: referenceToStringLikeConfiguration,
|
|
497
497
|
[FieldValueTypes.INTEGER]: null,
|
|
498
498
|
[FieldValueTypes.NUMBER]: null,
|
|
499
499
|
[FieldValueTypes.OBJECT]: null,
|
|
500
|
-
[FieldValueTypes.REFERENCE]: {
|
|
500
|
+
[FieldValueTypes.REFERENCE]: {
|
|
501
|
+
sideIds: {
|
|
502
|
+
type: 'string',
|
|
503
|
+
description: 'If specified, only the references kept in sync in the specified link sides will be evaluated.',
|
|
504
|
+
isArray: true,
|
|
505
|
+
},
|
|
506
|
+
},
|
|
501
507
|
[FieldValueTypes.RICH_TEXT_HTML]: referenceToStringLikeConfiguration,
|
|
502
508
|
[FieldValueTypes.RICH_TEXT_MARKDOWN]: referenceToStringLikeConfiguration,
|
|
503
509
|
[FieldValueTypes.STRING]: referenceToStringLikeConfiguration,
|
package/dist/src/types.d.ts
CHANGED
|
@@ -77,8 +77,19 @@ interface AbstractFieldSchema {
|
|
|
77
77
|
info?: string;
|
|
78
78
|
/**
|
|
79
79
|
* Whether the field is read only.
|
|
80
|
+
* @deprecated Use canSetOnCreate/canUpdate instead.
|
|
80
81
|
*/
|
|
81
82
|
readOnly?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the field can be set during creation.
|
|
85
|
+
* Defaults to true.
|
|
86
|
+
*/
|
|
87
|
+
canSetOnCreate?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Whether the field can be updated after creation.
|
|
90
|
+
* Defaults to true.
|
|
91
|
+
*/
|
|
92
|
+
canSetOnUpdate?: boolean;
|
|
82
93
|
/**
|
|
83
94
|
* Whether the field returns an array. Defaults to false.
|
|
84
95
|
* An array is a non-paginated list of same-type values.
|