@unito/integration-api 4.2.5 → 4.2.6
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.
- package/dist/src/compatibilities.d.ts +3 -21
- package/dist/src/compatibilities.js +3 -10
- package/dist/src/index.cjs +3 -10
- package/package.json +1 -1
|
@@ -288,27 +288,9 @@ export declare const fieldTypeCompatibilityMatrix: {
|
|
|
288
288
|
readonly number: null;
|
|
289
289
|
readonly object: null;
|
|
290
290
|
readonly reference: {};
|
|
291
|
-
readonly html:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
readonly default: "semantic:displayName";
|
|
295
|
-
readonly description: "The field of the referenced entry to use for the string value.";
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
readonly markdown: {
|
|
299
|
-
readonly field: {
|
|
300
|
-
readonly type: "string";
|
|
301
|
-
readonly default: "semantic:displayName";
|
|
302
|
-
readonly description: "The field of the referenced entry to use for the string value.";
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
readonly string: {
|
|
306
|
-
readonly field: {
|
|
307
|
-
readonly type: "string";
|
|
308
|
-
readonly default: "semantic:displayName";
|
|
309
|
-
readonly description: "The field of the referenced entry to use for the string value.";
|
|
310
|
-
};
|
|
311
|
-
};
|
|
291
|
+
readonly html: null;
|
|
292
|
+
readonly markdown: null;
|
|
293
|
+
readonly string: null;
|
|
312
294
|
readonly url: null;
|
|
313
295
|
};
|
|
314
296
|
readonly html: {
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import * as Api from './types.js';
|
|
2
|
-
const referenceToStringLikeConfiguration = {
|
|
3
|
-
field: {
|
|
4
|
-
type: 'string',
|
|
5
|
-
default: 'semantic:displayName',
|
|
6
|
-
description: 'The field of the referenced entry to use for the string value.',
|
|
7
|
-
},
|
|
8
|
-
};
|
|
9
2
|
const stringLikeToReferenceConfiguration = {
|
|
10
3
|
field: {
|
|
11
4
|
type: 'string',
|
|
@@ -279,9 +272,9 @@ export const fieldTypeCompatibilityMatrix = {
|
|
|
279
272
|
[Api.FieldValueTypes.NUMBER]: null,
|
|
280
273
|
[Api.FieldValueTypes.OBJECT]: null,
|
|
281
274
|
[Api.FieldValueTypes.REFERENCE]: {},
|
|
282
|
-
[Api.FieldValueTypes.RICH_TEXT_HTML]:
|
|
283
|
-
[Api.FieldValueTypes.RICH_TEXT_MARKDOWN]:
|
|
284
|
-
[Api.FieldValueTypes.STRING]:
|
|
275
|
+
[Api.FieldValueTypes.RICH_TEXT_HTML]: null,
|
|
276
|
+
[Api.FieldValueTypes.RICH_TEXT_MARKDOWN]: null,
|
|
277
|
+
[Api.FieldValueTypes.STRING]: null,
|
|
285
278
|
[Api.FieldValueTypes.URL]: null,
|
|
286
279
|
},
|
|
287
280
|
[Api.FieldValueTypes.RICH_TEXT_HTML]: {
|
package/dist/src/index.cjs
CHANGED
|
@@ -218,13 +218,6 @@ function isFieldSchema(potentialFieldSchema) {
|
|
|
218
218
|
(isUndefined(potentialFieldSchema['semantic']) || isSemantic(potentialFieldSchema['semantic'])));
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
const referenceToStringLikeConfiguration = {
|
|
222
|
-
field: {
|
|
223
|
-
type: 'string',
|
|
224
|
-
default: 'semantic:displayName',
|
|
225
|
-
description: 'The field of the referenced entry to use for the string value.',
|
|
226
|
-
},
|
|
227
|
-
};
|
|
228
221
|
const stringLikeToReferenceConfiguration = {
|
|
229
222
|
field: {
|
|
230
223
|
type: 'string',
|
|
@@ -498,9 +491,9 @@ const fieldTypeCompatibilityMatrix = {
|
|
|
498
491
|
[FieldValueTypes.NUMBER]: null,
|
|
499
492
|
[FieldValueTypes.OBJECT]: null,
|
|
500
493
|
[FieldValueTypes.REFERENCE]: {},
|
|
501
|
-
[FieldValueTypes.RICH_TEXT_HTML]:
|
|
502
|
-
[FieldValueTypes.RICH_TEXT_MARKDOWN]:
|
|
503
|
-
[FieldValueTypes.STRING]:
|
|
494
|
+
[FieldValueTypes.RICH_TEXT_HTML]: null,
|
|
495
|
+
[FieldValueTypes.RICH_TEXT_MARKDOWN]: null,
|
|
496
|
+
[FieldValueTypes.STRING]: null,
|
|
504
497
|
[FieldValueTypes.URL]: null,
|
|
505
498
|
},
|
|
506
499
|
[FieldValueTypes.RICH_TEXT_HTML]: {
|