@unito/integration-api 4.2.10 → 4.2.12

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.
@@ -220,6 +220,7 @@ export declare const fieldTypeCompatibilityMatrix: {
220
220
  readonly type: "string";
221
221
  readonly default: "semantic:displayName";
222
222
  readonly description: "The field against which to match the string value.";
223
+ readonly required: true;
223
224
  };
224
225
  };
225
226
  readonly html: {};
@@ -294,6 +295,7 @@ export declare const fieldTypeCompatibilityMatrix: {
294
295
  readonly type: "string";
295
296
  readonly default: "semantic:displayName";
296
297
  readonly description: "The field of the referenced entry to use for the string value.";
298
+ readonly required: true;
297
299
  };
298
300
  };
299
301
  readonly integer: null;
@@ -302,8 +304,9 @@ export declare const fieldTypeCompatibilityMatrix: {
302
304
  readonly reference: {
303
305
  readonly sideIds: {
304
306
  readonly type: "string";
305
- readonly description: "If specified, only the references kept in sync in the specified link sides will be evaluated.";
307
+ readonly description: "If specified, only the references kept in sync in the specified link sides will be evaluated. An empty array means no side will be evaluated.";
306
308
  readonly isArray: true;
309
+ readonly default: readonly [];
307
310
  };
308
311
  readonly type: {
309
312
  readonly type: "enum";
@@ -318,6 +321,7 @@ export declare const fieldTypeCompatibilityMatrix: {
318
321
  readonly type: "string";
319
322
  readonly default: "semantic:displayName";
320
323
  readonly description: "The field of the referenced entry to use for the string value.";
324
+ readonly required: true;
321
325
  };
322
326
  };
323
327
  readonly markdown: {
@@ -325,6 +329,7 @@ export declare const fieldTypeCompatibilityMatrix: {
325
329
  readonly type: "string";
326
330
  readonly default: "semantic:displayName";
327
331
  readonly description: "The field of the referenced entry to use for the string value.";
332
+ readonly required: true;
328
333
  };
329
334
  };
330
335
  readonly string: {
@@ -332,6 +337,7 @@ export declare const fieldTypeCompatibilityMatrix: {
332
337
  readonly type: "string";
333
338
  readonly default: "semantic:displayName";
334
339
  readonly description: "The field of the referenced entry to use for the string value.";
340
+ readonly required: true;
335
341
  };
336
342
  };
337
343
  readonly url: null;
@@ -353,6 +359,7 @@ export declare const fieldTypeCompatibilityMatrix: {
353
359
  readonly type: "string";
354
360
  readonly default: "semantic:displayName";
355
361
  readonly description: "The field against which to match the string value.";
362
+ readonly required: true;
356
363
  };
357
364
  };
358
365
  readonly html: {
@@ -415,6 +422,7 @@ export declare const fieldTypeCompatibilityMatrix: {
415
422
  readonly type: "string";
416
423
  readonly default: "semantic:displayName";
417
424
  readonly description: "The field against which to match the string value.";
425
+ readonly required: true;
418
426
  };
419
427
  };
420
428
  readonly html: {
@@ -477,6 +485,7 @@ export declare const fieldTypeCompatibilityMatrix: {
477
485
  readonly type: "string";
478
486
  readonly default: "semantic:displayName";
479
487
  readonly description: "The field against which to match the string value.";
488
+ readonly required: true;
480
489
  };
481
490
  };
482
491
  readonly html: {};
@@ -4,6 +4,7 @@ const referenceToStringLikeConfiguration = {
4
4
  type: 'string',
5
5
  default: 'semantic:displayName',
6
6
  description: 'The field of the referenced entry to use for the string value.',
7
+ required: true,
7
8
  },
8
9
  };
9
10
  const stringLikeToReferenceConfiguration = {
@@ -11,6 +12,7 @@ const stringLikeToReferenceConfiguration = {
11
12
  type: 'string',
12
13
  default: 'semantic:displayName',
13
14
  description: 'The field against which to match the string value.',
15
+ required: true,
14
16
  },
15
17
  };
16
18
  const dateToStringlikeConfiguration = {
@@ -281,8 +283,9 @@ export const fieldTypeCompatibilityMatrix = {
281
283
  [Api.FieldValueTypes.REFERENCE]: {
282
284
  sideIds: {
283
285
  type: 'string',
284
- description: 'If specified, only the references kept in sync in the specified link sides will be evaluated.',
286
+ description: 'If specified, only the references kept in sync in the specified link sides will be evaluated. An empty array means no side will be evaluated.',
285
287
  isArray: true,
288
+ default: [],
286
289
  },
287
290
  type: {
288
291
  type: 'enum',
@@ -223,6 +223,7 @@ const referenceToStringLikeConfiguration = {
223
223
  type: 'string',
224
224
  default: 'semantic:displayName',
225
225
  description: 'The field of the referenced entry to use for the string value.',
226
+ required: true,
226
227
  },
227
228
  };
228
229
  const stringLikeToReferenceConfiguration = {
@@ -230,6 +231,7 @@ const stringLikeToReferenceConfiguration = {
230
231
  type: 'string',
231
232
  default: 'semantic:displayName',
232
233
  description: 'The field against which to match the string value.',
234
+ required: true,
233
235
  },
234
236
  };
235
237
  const dateToStringlikeConfiguration = {
@@ -500,8 +502,9 @@ const fieldTypeCompatibilityMatrix = {
500
502
  [FieldValueTypes.REFERENCE]: {
501
503
  sideIds: {
502
504
  type: 'string',
503
- description: 'If specified, only the references kept in sync in the specified link sides will be evaluated.',
505
+ description: 'If specified, only the references kept in sync in the specified link sides will be evaluated. An empty array means no side will be evaluated.',
504
506
  isArray: true,
507
+ default: [],
505
508
  },
506
509
  type: {
507
510
  type: 'enum',
@@ -77,7 +77,7 @@ interface AbstractFieldSchema {
77
77
  info?: string;
78
78
  /**
79
79
  * Whether the field is read only.
80
- * @deprecated Use canSetOnCreate/canUpdate instead.
80
+ * @deprecated Use canSetOnCreate/canSetOnUpdate instead.
81
81
  */
82
82
  readOnly?: boolean;
83
83
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "4.2.10",
3
+ "version": "4.2.12",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",