@unito/integration-api 8.0.3 → 8.0.4

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.
@@ -76,12 +76,6 @@
76
76
  "nullable": {
77
77
  "type": "boolean",
78
78
  "default": true
79
- },
80
- "supportedRichTextNodes": {
81
- "type": "array",
82
- "items": {
83
- "$ref": "https://unito.io/integration_api/definitions.schema.json#/$defs/richTextNodeType"
84
- }
85
79
  }
86
80
  }
87
81
  },
@@ -404,7 +404,7 @@ export declare const fieldTypeCompatibilityMatrix: {
404
404
  readonly number: null;
405
405
  readonly object: null;
406
406
  readonly reference: null;
407
- readonly richText: null;
407
+ readonly richText: {};
408
408
  readonly html: null;
409
409
  readonly markdown: null;
410
410
  readonly string: null;
@@ -346,7 +346,7 @@ export const fieldTypeCompatibilityMatrix = {
346
346
  [Api.FieldValueTypes.NUMBER]: null,
347
347
  [Api.FieldValueTypes.OBJECT]: null,
348
348
  [Api.FieldValueTypes.REFERENCE]: null,
349
- [Api.FieldValueTypes.RICH_TEXT]: null,
349
+ [Api.FieldValueTypes.RICH_TEXT]: {},
350
350
  [Api.FieldValueTypes.RICH_TEXT_HTML]: null,
351
351
  [Api.FieldValueTypes.RICH_TEXT_MARKDOWN]: null,
352
352
  [Api.FieldValueTypes.STRING]: null,
@@ -623,7 +623,7 @@ const fieldTypeCompatibilityMatrix = {
623
623
  [FieldValueTypes.NUMBER]: null,
624
624
  [FieldValueTypes.OBJECT]: null,
625
625
  [FieldValueTypes.REFERENCE]: null,
626
- [FieldValueTypes.RICH_TEXT]: null,
626
+ [FieldValueTypes.RICH_TEXT]: {},
627
627
  [FieldValueTypes.RICH_TEXT_HTML]: null,
628
628
  [FieldValueTypes.RICH_TEXT_MARKDOWN]: null,
629
629
  [FieldValueTypes.STRING]: null,
@@ -1,5 +1,4 @@
1
1
  import { Readable } from 'node:stream';
2
- import type { RichTextNodeType } from './richText.js';
3
2
  /**
4
3
  * A Collection represents a paginated list of ItemSummary available through a Relation.
5
4
  */
@@ -253,21 +252,10 @@ export interface ObjectFieldSchema extends AbstractFieldSchema {
253
252
  interface DescriptionRichTextFieldSchema extends AbstractFieldSchema {
254
253
  semantic: typeof Semantics.DESCRIPTION;
255
254
  type: typeof FieldValueTypes.RICH_TEXT;
256
- /**
257
- * The published rich text node types this field can round-trip.
258
- * `text` is mandatory. When omitted, a curated baseline applies (defined
259
- * elsewhere in this package).
260
- *
261
- * Syncer keys off the target field's declaration to decide whether to
262
- * pass nodes through or sentinel-encode them. Source-side declarations
263
- * are descriptive and not enforced at runtime.
264
- */
265
- supportedRichTextNodes?: readonly ['text', ...RichTextNodeType[]];
266
255
  }
267
256
  interface UnconstrainedRichTextFieldSchema extends AbstractFieldSchema {
268
257
  semantic?: never;
269
258
  type: typeof FieldValueTypes.RICH_TEXT;
270
- supportedRichTextNodes?: readonly ['text', ...RichTextNodeType[]];
271
259
  }
272
260
  export type RichTextFieldSchema = DescriptionRichTextFieldSchema | UnconstrainedRichTextFieldSchema;
273
261
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "8.0.3",
3
+ "version": "8.0.4",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",