@unito/integration-api 4.2.13 → 4.3.1

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: "string";
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: "string";
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;
@@ -319,7 +319,7 @@ export declare const fieldTypeCompatibilityMatrix: {
319
319
  };
320
320
  readonly html: {
321
321
  readonly field: {
322
- readonly type: "string";
322
+ readonly type: "field";
323
323
  readonly default: "semantic:displayName";
324
324
  readonly description: "The field of the referenced entry to use for the string value.";
325
325
  readonly required: true;
@@ -327,7 +327,7 @@ export declare const fieldTypeCompatibilityMatrix: {
327
327
  };
328
328
  readonly markdown: {
329
329
  readonly field: {
330
- readonly type: "string";
330
+ readonly type: "field";
331
331
  readonly default: "semantic:displayName";
332
332
  readonly description: "The field of the referenced entry to use for the string value.";
333
333
  readonly required: true;
@@ -335,7 +335,7 @@ export declare const fieldTypeCompatibilityMatrix: {
335
335
  };
336
336
  readonly string: {
337
337
  readonly field: {
338
- readonly type: "string";
338
+ readonly type: "field";
339
339
  readonly default: "semantic:displayName";
340
340
  readonly description: "The field of the referenced entry to use for the string value.";
341
341
  readonly required: true;
@@ -357,7 +357,7 @@ export declare const fieldTypeCompatibilityMatrix: {
357
357
  readonly object: null;
358
358
  readonly reference: {
359
359
  readonly field: {
360
- readonly type: "string";
360
+ readonly type: "field";
361
361
  readonly default: "semantic:displayName";
362
362
  readonly description: "The field against which to match the string value.";
363
363
  readonly required: true;
@@ -371,9 +371,9 @@ export declare const fieldTypeCompatibilityMatrix: {
371
371
  readonly hidden: true;
372
372
  };
373
373
  readonly decoratorTemplate: {
374
- readonly type: "string";
374
+ readonly type: "stringWithFields";
375
375
  readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
376
- readonly default: "On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:";
376
+ readonly default: "On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.fields.semantic:displayName}</em> commented:";
377
377
  readonly hidden: true;
378
378
  };
379
379
  readonly decoratorPrefix: {
@@ -391,9 +391,9 @@ export declare const fieldTypeCompatibilityMatrix: {
391
391
  readonly hidden: true;
392
392
  };
393
393
  readonly decoratorTemplate: {
394
- readonly type: "string";
394
+ readonly type: "stringWithFields";
395
395
  readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
396
- readonly default: "On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:";
396
+ readonly default: "On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.fields.semantic:displayName}</em> commented:";
397
397
  readonly hidden: true;
398
398
  };
399
399
  readonly decoratorPrefix: {
@@ -420,7 +420,7 @@ export declare const fieldTypeCompatibilityMatrix: {
420
420
  readonly object: null;
421
421
  readonly reference: {
422
422
  readonly field: {
423
- readonly type: "string";
423
+ readonly type: "field";
424
424
  readonly default: "semantic:displayName";
425
425
  readonly description: "The field against which to match the string value.";
426
426
  readonly required: true;
@@ -434,9 +434,9 @@ export declare const fieldTypeCompatibilityMatrix: {
434
434
  readonly hidden: true;
435
435
  };
436
436
  readonly decoratorTemplate: {
437
- readonly type: "string";
437
+ readonly type: "stringWithFields";
438
438
  readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
439
- readonly default: "On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:";
439
+ readonly default: "On **{semantic:createdAt}**, __{semantic:user.fields.semantic:displayName}__ commented:";
440
440
  readonly hidden: true;
441
441
  };
442
442
  readonly decoratorPrefix: {
@@ -454,9 +454,9 @@ export declare const fieldTypeCompatibilityMatrix: {
454
454
  readonly hidden: true;
455
455
  };
456
456
  readonly decoratorTemplate: {
457
- readonly type: "string";
457
+ readonly type: "stringWithFields";
458
458
  readonly description: "Template for the decorator. Use {author} and {date} placeholders.";
459
- readonly default: "On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:";
459
+ readonly default: "On **{semantic:createdAt}**, __{semantic:user.fields.semantic:displayName}__ commented:";
460
460
  readonly hidden: true;
461
461
  };
462
462
  readonly decoratorPrefix: {
@@ -483,7 +483,7 @@ export declare const fieldTypeCompatibilityMatrix: {
483
483
  readonly object: null;
484
484
  readonly reference: {
485
485
  readonly field: {
486
- readonly type: "string";
486
+ readonly type: "field";
487
487
  readonly default: "semantic:displayName";
488
488
  readonly description: "The field against which to match the string value.";
489
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: 'string',
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: 'string',
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,9 +37,9 @@ const htmlToRichTextConfiguration = {
37
37
  hidden: true,
38
38
  },
39
39
  decoratorTemplate: {
40
- type: 'string',
40
+ type: 'stringWithFields',
41
41
  description: 'Template for the decorator. Use {author} and {date} placeholders.',
42
- default: 'On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:',
42
+ default: 'On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.fields.semantic:displayName}</em> commented:',
43
43
  hidden: true,
44
44
  },
45
45
  decoratorPrefix: {
@@ -57,9 +57,9 @@ const markdownToRichTextConfiguration = {
57
57
  hidden: true,
58
58
  },
59
59
  decoratorTemplate: {
60
- type: 'string',
60
+ type: 'stringWithFields',
61
61
  description: 'Template for the decorator. Use {author} and {date} placeholders.',
62
- default: 'On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:',
62
+ default: 'On **{semantic:createdAt}**, __{semantic:user.fields.semantic:displayName}__ commented:',
63
63
  hidden: true,
64
64
  },
65
65
  decoratorPrefix: {
@@ -220,7 +220,7 @@ function isFieldSchema(potentialFieldSchema) {
220
220
 
221
221
  const referenceToStringLikeConfiguration = {
222
222
  field: {
223
- type: 'string',
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: 'string',
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,9 +256,9 @@ const htmlToRichTextConfiguration = {
256
256
  hidden: true,
257
257
  },
258
258
  decoratorTemplate: {
259
- type: 'string',
259
+ type: 'stringWithFields',
260
260
  description: 'Template for the decorator. Use {author} and {date} placeholders.',
261
- default: 'On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.semantic:displayName}</em> commented:',
261
+ default: 'On <strong>{semantic:createdAt}</strong>, <em>{semantic:user.fields.semantic:displayName}</em> commented:',
262
262
  hidden: true,
263
263
  },
264
264
  decoratorPrefix: {
@@ -276,9 +276,9 @@ const markdownToRichTextConfiguration = {
276
276
  hidden: true,
277
277
  },
278
278
  decoratorTemplate: {
279
- type: 'string',
279
+ type: 'stringWithFields',
280
280
  description: 'Template for the decorator. Use {author} and {date} placeholders.',
281
- default: 'On **{semantic:createdAt}**, __{semantic:user.semantic:displayName}__ commented:',
281
+ default: 'On **{semantic:createdAt}**, __{semantic:user.fields.semantic:displayName}__ commented:',
282
282
  hidden: true,
283
283
  },
284
284
  decoratorPrefix: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "4.2.13",
3
+ "version": "4.3.1",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",