@unito/integration-api 4.2.8 → 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.
|
@@ -299,7 +299,13 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
299
299
|
readonly integer: null;
|
|
300
300
|
readonly number: null;
|
|
301
301
|
readonly object: null;
|
|
302
|
-
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
|
+
};
|
|
303
309
|
readonly html: {
|
|
304
310
|
readonly field: {
|
|
305
311
|
readonly type: "string";
|
|
@@ -278,7 +278,13 @@ export const fieldTypeCompatibilityMatrix = {
|
|
|
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
|
@@ -497,7 +497,13 @@ const fieldTypeCompatibilityMatrix = {
|
|
|
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.
|