@okf/ootils 1.32.1 → 1.32.2

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.
@@ -1461,6 +1461,13 @@ interface BlockDef {
1461
1461
  plainTextString?: string | null;
1462
1462
  /** Path appended to valuePath for ES/listing search (e.g. 'allText'). null = valuePath used directly. */
1463
1463
  searchField?: string | null;
1464
+ /**
1465
+ * Sub-path from valuePath to the Lexical object ({ allText, isLexical, editorState }).
1466
+ * null = the value at valuePath IS the Lexical object (e.g. LexicalTextEditor).
1467
+ * For AudioInput: '0.transcription.result.finalText' (the Lexical object is nested).
1468
+ * Used by annotation services that need to read/write editorState + allText.
1469
+ */
1470
+ lexicalValue?: string | null;
1464
1471
  };
1465
1472
  validation: {
1466
1473
  /** Name of the "is populated" validator fn (resolved by consumer) */
package/dist/browser.d.ts CHANGED
@@ -1461,6 +1461,13 @@ interface BlockDef {
1461
1461
  plainTextString?: string | null;
1462
1462
  /** Path appended to valuePath for ES/listing search (e.g. 'allText'). null = valuePath used directly. */
1463
1463
  searchField?: string | null;
1464
+ /**
1465
+ * Sub-path from valuePath to the Lexical object ({ allText, isLexical, editorState }).
1466
+ * null = the value at valuePath IS the Lexical object (e.g. LexicalTextEditor).
1467
+ * For AudioInput: '0.transcription.result.finalText' (the Lexical object is nested).
1468
+ * Used by annotation services that need to read/write editorState + allText.
1469
+ */
1470
+ lexicalValue?: string | null;
1464
1471
  };
1465
1472
  validation: {
1466
1473
  /** Name of the "is populated" validator fn (resolved by consumer) */
package/dist/browser.js CHANGED
@@ -455,7 +455,8 @@ var LexicalTextEditor = {
455
455
  // Field paths
456
456
  fieldPaths: {
457
457
  plainTextString: "allText",
458
- searchField: "allText"
458
+ searchField: "allText",
459
+ lexicalValue: null
459
460
  },
460
461
  // Validation
461
462
  validation: {
@@ -534,7 +535,8 @@ var AudioInput = {
534
535
  // so no index is needed there.
535
536
  fieldPaths: {
536
537
  plainTextString: "0.transcription.result.finalText.allText",
537
- searchField: "transcription.result.finalText.allText"
538
+ searchField: "transcription.result.finalText.allText",
539
+ lexicalValue: "0.transcription.result.finalText"
538
540
  },
539
541
  // Validation
540
542
  validation: {
package/dist/browser.mjs CHANGED
@@ -387,7 +387,8 @@ var LexicalTextEditor = {
387
387
  // Field paths
388
388
  fieldPaths: {
389
389
  plainTextString: "allText",
390
- searchField: "allText"
390
+ searchField: "allText",
391
+ lexicalValue: null
391
392
  },
392
393
  // Validation
393
394
  validation: {
@@ -466,7 +467,8 @@ var AudioInput = {
466
467
  // so no index is needed there.
467
468
  fieldPaths: {
468
469
  plainTextString: "0.transcription.result.finalText.allText",
469
- searchField: "transcription.result.finalText.allText"
470
+ searchField: "transcription.result.finalText.allText",
471
+ lexicalValue: "0.transcription.result.finalText"
470
472
  },
471
473
  // Validation
472
474
  validation: {
package/dist/node.d.mts CHANGED
@@ -1468,6 +1468,13 @@ interface BlockDef {
1468
1468
  plainTextString?: string | null;
1469
1469
  /** Path appended to valuePath for ES/listing search (e.g. 'allText'). null = valuePath used directly. */
1470
1470
  searchField?: string | null;
1471
+ /**
1472
+ * Sub-path from valuePath to the Lexical object ({ allText, isLexical, editorState }).
1473
+ * null = the value at valuePath IS the Lexical object (e.g. LexicalTextEditor).
1474
+ * For AudioInput: '0.transcription.result.finalText' (the Lexical object is nested).
1475
+ * Used by annotation services that need to read/write editorState + allText.
1476
+ */
1477
+ lexicalValue?: string | null;
1471
1478
  };
1472
1479
  validation: {
1473
1480
  /** Name of the "is populated" validator fn (resolved by consumer) */
package/dist/node.d.ts CHANGED
@@ -1468,6 +1468,13 @@ interface BlockDef {
1468
1468
  plainTextString?: string | null;
1469
1469
  /** Path appended to valuePath for ES/listing search (e.g. 'allText'). null = valuePath used directly. */
1470
1470
  searchField?: string | null;
1471
+ /**
1472
+ * Sub-path from valuePath to the Lexical object ({ allText, isLexical, editorState }).
1473
+ * null = the value at valuePath IS the Lexical object (e.g. LexicalTextEditor).
1474
+ * For AudioInput: '0.transcription.result.finalText' (the Lexical object is nested).
1475
+ * Used by annotation services that need to read/write editorState + allText.
1476
+ */
1477
+ lexicalValue?: string | null;
1471
1478
  };
1472
1479
  validation: {
1473
1480
  /** Name of the "is populated" validator fn (resolved by consumer) */
package/dist/node.js CHANGED
@@ -2433,7 +2433,8 @@ var LexicalTextEditor = {
2433
2433
  // Field paths
2434
2434
  fieldPaths: {
2435
2435
  plainTextString: "allText",
2436
- searchField: "allText"
2436
+ searchField: "allText",
2437
+ lexicalValue: null
2437
2438
  },
2438
2439
  // Validation
2439
2440
  validation: {
@@ -2512,7 +2513,8 @@ var AudioInput = {
2512
2513
  // so no index is needed there.
2513
2514
  fieldPaths: {
2514
2515
  plainTextString: "0.transcription.result.finalText.allText",
2515
- searchField: "transcription.result.finalText.allText"
2516
+ searchField: "transcription.result.finalText.allText",
2517
+ lexicalValue: "0.transcription.result.finalText"
2516
2518
  },
2517
2519
  // Validation
2518
2520
  validation: {
package/dist/node.mjs CHANGED
@@ -2364,7 +2364,8 @@ var LexicalTextEditor = {
2364
2364
  // Field paths
2365
2365
  fieldPaths: {
2366
2366
  plainTextString: "allText",
2367
- searchField: "allText"
2367
+ searchField: "allText",
2368
+ lexicalValue: null
2368
2369
  },
2369
2370
  // Validation
2370
2371
  validation: {
@@ -2443,7 +2444,8 @@ var AudioInput = {
2443
2444
  // so no index is needed there.
2444
2445
  fieldPaths: {
2445
2446
  plainTextString: "0.transcription.result.finalText.allText",
2446
- searchField: "transcription.result.finalText.allText"
2447
+ searchField: "transcription.result.finalText.allText",
2448
+ lexicalValue: "0.transcription.result.finalText"
2447
2449
  },
2448
2450
  // Validation
2449
2451
  validation: {
@@ -1461,6 +1461,13 @@ interface BlockDef {
1461
1461
  plainTextString?: string | null;
1462
1462
  /** Path appended to valuePath for ES/listing search (e.g. 'allText'). null = valuePath used directly. */
1463
1463
  searchField?: string | null;
1464
+ /**
1465
+ * Sub-path from valuePath to the Lexical object ({ allText, isLexical, editorState }).
1466
+ * null = the value at valuePath IS the Lexical object (e.g. LexicalTextEditor).
1467
+ * For AudioInput: '0.transcription.result.finalText' (the Lexical object is nested).
1468
+ * Used by annotation services that need to read/write editorState + allText.
1469
+ */
1470
+ lexicalValue?: string | null;
1464
1471
  };
1465
1472
  validation: {
1466
1473
  /** Name of the "is populated" validator fn (resolved by consumer) */
@@ -1461,6 +1461,13 @@ interface BlockDef {
1461
1461
  plainTextString?: string | null;
1462
1462
  /** Path appended to valuePath for ES/listing search (e.g. 'allText'). null = valuePath used directly. */
1463
1463
  searchField?: string | null;
1464
+ /**
1465
+ * Sub-path from valuePath to the Lexical object ({ allText, isLexical, editorState }).
1466
+ * null = the value at valuePath IS the Lexical object (e.g. LexicalTextEditor).
1467
+ * For AudioInput: '0.transcription.result.finalText' (the Lexical object is nested).
1468
+ * Used by annotation services that need to read/write editorState + allText.
1469
+ */
1470
+ lexicalValue?: string | null;
1464
1471
  };
1465
1472
  validation: {
1466
1473
  /** Name of the "is populated" validator fn (resolved by consumer) */
package/dist/universal.js CHANGED
@@ -455,7 +455,8 @@ var LexicalTextEditor = {
455
455
  // Field paths
456
456
  fieldPaths: {
457
457
  plainTextString: "allText",
458
- searchField: "allText"
458
+ searchField: "allText",
459
+ lexicalValue: null
459
460
  },
460
461
  // Validation
461
462
  validation: {
@@ -534,7 +535,8 @@ var AudioInput = {
534
535
  // so no index is needed there.
535
536
  fieldPaths: {
536
537
  plainTextString: "0.transcription.result.finalText.allText",
537
- searchField: "transcription.result.finalText.allText"
538
+ searchField: "transcription.result.finalText.allText",
539
+ lexicalValue: "0.transcription.result.finalText"
538
540
  },
539
541
  // Validation
540
542
  validation: {
@@ -387,7 +387,8 @@ var LexicalTextEditor = {
387
387
  // Field paths
388
388
  fieldPaths: {
389
389
  plainTextString: "allText",
390
- searchField: "allText"
390
+ searchField: "allText",
391
+ lexicalValue: null
391
392
  },
392
393
  // Validation
393
394
  validation: {
@@ -466,7 +467,8 @@ var AudioInput = {
466
467
  // so no index is needed there.
467
468
  fieldPaths: {
468
469
  plainTextString: "0.transcription.result.finalText.allText",
469
- searchField: "transcription.result.finalText.allText"
470
+ searchField: "transcription.result.finalText.allText",
471
+ lexicalValue: "0.transcription.result.finalText"
470
472
  },
471
473
  // Validation
472
474
  validation: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.32.1",
6
+ "version": "1.32.2",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",