@unito/integration-api 4.2.12 → 4.3.0
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.
|
@@ -217,7 +217,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
217
217
|
readonly object: null;
|
|
218
218
|
readonly reference: {
|
|
219
219
|
readonly field: {
|
|
220
|
-
readonly type: "
|
|
220
|
+
readonly type: "field";
|
|
221
221
|
readonly default: "semantic:displayName";
|
|
222
222
|
readonly description: "The field against which to match the string value.";
|
|
223
223
|
readonly required: true;
|
|
@@ -292,7 +292,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
292
292
|
readonly duration: null;
|
|
293
293
|
readonly email: {
|
|
294
294
|
readonly field: {
|
|
295
|
-
readonly type: "
|
|
295
|
+
readonly type: "field";
|
|
296
296
|
readonly default: "semantic:displayName";
|
|
297
297
|
readonly description: "The field of the referenced entry to use for the string value.";
|
|
298
298
|
readonly required: true;
|
|
@@ -314,11 +314,12 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
314
314
|
readonly hidden: true;
|
|
315
315
|
readonly isArray: false;
|
|
316
316
|
readonly values: ["manualOnly", "referenceOnly"];
|
|
317
|
+
readonly required: true;
|
|
317
318
|
};
|
|
318
319
|
};
|
|
319
320
|
readonly html: {
|
|
320
321
|
readonly field: {
|
|
321
|
-
readonly type: "
|
|
322
|
+
readonly type: "field";
|
|
322
323
|
readonly default: "semantic:displayName";
|
|
323
324
|
readonly description: "The field of the referenced entry to use for the string value.";
|
|
324
325
|
readonly required: true;
|
|
@@ -326,7 +327,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
326
327
|
};
|
|
327
328
|
readonly markdown: {
|
|
328
329
|
readonly field: {
|
|
329
|
-
readonly type: "
|
|
330
|
+
readonly type: "field";
|
|
330
331
|
readonly default: "semantic:displayName";
|
|
331
332
|
readonly description: "The field of the referenced entry to use for the string value.";
|
|
332
333
|
readonly required: true;
|
|
@@ -334,7 +335,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
334
335
|
};
|
|
335
336
|
readonly string: {
|
|
336
337
|
readonly field: {
|
|
337
|
-
readonly type: "
|
|
338
|
+
readonly type: "field";
|
|
338
339
|
readonly default: "semantic:displayName";
|
|
339
340
|
readonly description: "The field of the referenced entry to use for the string value.";
|
|
340
341
|
readonly required: true;
|
|
@@ -356,7 +357,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
356
357
|
readonly object: null;
|
|
357
358
|
readonly reference: {
|
|
358
359
|
readonly field: {
|
|
359
|
-
readonly type: "
|
|
360
|
+
readonly type: "field";
|
|
360
361
|
readonly default: "semantic:displayName";
|
|
361
362
|
readonly description: "The field against which to match the string value.";
|
|
362
363
|
readonly required: true;
|
|
@@ -370,7 +371,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
370
371
|
readonly hidden: true;
|
|
371
372
|
};
|
|
372
373
|
readonly decoratorTemplate: {
|
|
373
|
-
readonly type: "
|
|
374
|
+
readonly type: "stringWithFields";
|
|
374
375
|
readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
|
|
375
376
|
readonly default: "On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:";
|
|
376
377
|
readonly hidden: true;
|
|
@@ -390,7 +391,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
390
391
|
readonly hidden: true;
|
|
391
392
|
};
|
|
392
393
|
readonly decoratorTemplate: {
|
|
393
|
-
readonly type: "
|
|
394
|
+
readonly type: "stringWithFields";
|
|
394
395
|
readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
|
|
395
396
|
readonly default: "On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:";
|
|
396
397
|
readonly hidden: true;
|
|
@@ -419,7 +420,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
419
420
|
readonly object: null;
|
|
420
421
|
readonly reference: {
|
|
421
422
|
readonly field: {
|
|
422
|
-
readonly type: "
|
|
423
|
+
readonly type: "field";
|
|
423
424
|
readonly default: "semantic:displayName";
|
|
424
425
|
readonly description: "The field against which to match the string value.";
|
|
425
426
|
readonly required: true;
|
|
@@ -433,7 +434,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
433
434
|
readonly hidden: true;
|
|
434
435
|
};
|
|
435
436
|
readonly decoratorTemplate: {
|
|
436
|
-
readonly type: "
|
|
437
|
+
readonly type: "stringWithFields";
|
|
437
438
|
readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
|
|
438
439
|
readonly default: "On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:";
|
|
439
440
|
readonly hidden: true;
|
|
@@ -453,7 +454,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
453
454
|
readonly hidden: true;
|
|
454
455
|
};
|
|
455
456
|
readonly decoratorTemplate: {
|
|
456
|
-
readonly type: "
|
|
457
|
+
readonly type: "stringWithFields";
|
|
457
458
|
readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
|
|
458
459
|
readonly default: "On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:";
|
|
459
460
|
readonly hidden: true;
|
|
@@ -482,7 +483,7 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
482
483
|
readonly object: null;
|
|
483
484
|
readonly reference: {
|
|
484
485
|
readonly field: {
|
|
485
|
-
readonly type: "
|
|
486
|
+
readonly type: "field";
|
|
486
487
|
readonly default: "semantic:displayName";
|
|
487
488
|
readonly description: "The field against which to match the string value.";
|
|
488
489
|
readonly required: true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Api from './types.js';
|
|
2
2
|
const referenceToStringLikeConfiguration = {
|
|
3
3
|
field: {
|
|
4
|
-
type: '
|
|
4
|
+
type: 'field',
|
|
5
5
|
default: 'semantic:displayName',
|
|
6
6
|
description: 'The field of the referenced entry to use for the string value.',
|
|
7
7
|
required: true,
|
|
@@ -9,7 +9,7 @@ const referenceToStringLikeConfiguration = {
|
|
|
9
9
|
};
|
|
10
10
|
const stringLikeToReferenceConfiguration = {
|
|
11
11
|
field: {
|
|
12
|
-
type: '
|
|
12
|
+
type: 'field',
|
|
13
13
|
default: 'semantic:displayName',
|
|
14
14
|
description: 'The field against which to match the string value.',
|
|
15
15
|
required: true,
|
|
@@ -37,7 +37,7 @@ const htmlToRichTextConfiguration = {
|
|
|
37
37
|
hidden: true,
|
|
38
38
|
},
|
|
39
39
|
decoratorTemplate: {
|
|
40
|
-
type: '
|
|
40
|
+
type: 'stringWithFields',
|
|
41
41
|
description: 'Template for the decorator. Use {author} and {date} placeholders.',
|
|
42
42
|
default: 'On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:',
|
|
43
43
|
hidden: true,
|
|
@@ -57,7 +57,7 @@ const markdownToRichTextConfiguration = {
|
|
|
57
57
|
hidden: true,
|
|
58
58
|
},
|
|
59
59
|
decoratorTemplate: {
|
|
60
|
-
type: '
|
|
60
|
+
type: 'stringWithFields',
|
|
61
61
|
description: 'Template for the decorator. Use {author} and {date} placeholders.',
|
|
62
62
|
default: 'On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:',
|
|
63
63
|
hidden: true,
|
|
@@ -293,6 +293,7 @@ export const fieldTypeCompatibilityMatrix = {
|
|
|
293
293
|
hidden: true,
|
|
294
294
|
isArray: false,
|
|
295
295
|
values: ['manualOnly', 'referenceOnly'],
|
|
296
|
+
required: true,
|
|
296
297
|
},
|
|
297
298
|
},
|
|
298
299
|
[Api.FieldValueTypes.RICH_TEXT_HTML]: referenceToStringLikeConfiguration,
|
package/dist/src/index.cjs
CHANGED
|
@@ -220,7 +220,7 @@ function isFieldSchema(potentialFieldSchema) {
|
|
|
220
220
|
|
|
221
221
|
const referenceToStringLikeConfiguration = {
|
|
222
222
|
field: {
|
|
223
|
-
type: '
|
|
223
|
+
type: 'field',
|
|
224
224
|
default: 'semantic:displayName',
|
|
225
225
|
description: 'The field of the referenced entry to use for the string value.',
|
|
226
226
|
required: true,
|
|
@@ -228,7 +228,7 @@ const referenceToStringLikeConfiguration = {
|
|
|
228
228
|
};
|
|
229
229
|
const stringLikeToReferenceConfiguration = {
|
|
230
230
|
field: {
|
|
231
|
-
type: '
|
|
231
|
+
type: 'field',
|
|
232
232
|
default: 'semantic:displayName',
|
|
233
233
|
description: 'The field against which to match the string value.',
|
|
234
234
|
required: true,
|
|
@@ -256,7 +256,7 @@ const htmlToRichTextConfiguration = {
|
|
|
256
256
|
hidden: true,
|
|
257
257
|
},
|
|
258
258
|
decoratorTemplate: {
|
|
259
|
-
type: '
|
|
259
|
+
type: 'stringWithFields',
|
|
260
260
|
description: 'Template for the decorator. Use {author} and {date} placeholders.',
|
|
261
261
|
default: 'On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:',
|
|
262
262
|
hidden: true,
|
|
@@ -276,7 +276,7 @@ const markdownToRichTextConfiguration = {
|
|
|
276
276
|
hidden: true,
|
|
277
277
|
},
|
|
278
278
|
decoratorTemplate: {
|
|
279
|
-
type: '
|
|
279
|
+
type: 'stringWithFields',
|
|
280
280
|
description: 'Template for the decorator. Use {author} and {date} placeholders.',
|
|
281
281
|
default: 'On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:',
|
|
282
282
|
hidden: true,
|
|
@@ -512,6 +512,7 @@ const fieldTypeCompatibilityMatrix = {
|
|
|
512
512
|
hidden: true,
|
|
513
513
|
isArray: false,
|
|
514
514
|
values: ['manualOnly', 'referenceOnly'],
|
|
515
|
+
required: true,
|
|
515
516
|
},
|
|
516
517
|
},
|
|
517
518
|
[FieldValueTypes.RICH_TEXT_HTML]: referenceToStringLikeConfiguration,
|