@manuscripts/transform 4.5.7 → 4.6.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.
Files changed (63) hide show
  1. package/dist/cjs/jats/__tests__/jats-exporter.test.js +50 -20
  2. package/dist/cjs/jats/__tests__/jats-importer.test.js +26 -0
  3. package/dist/cjs/jats/__tests__/jats-roundtrip.test.js +6 -1
  4. package/dist/cjs/jats/exporter/JATSExporterBase.js +118 -0
  5. package/dist/cjs/jats/exporter/jats-exporter.js +227 -349
  6. package/dist/cjs/jats/exporter/lib.js +62 -0
  7. package/dist/cjs/jats/importer/jats-dom-parser.js +11 -3
  8. package/dist/cjs/schema/index.js +4 -1
  9. package/dist/cjs/schema/migration/migration-scripts/4.5.9.js +30 -0
  10. package/dist/cjs/schema/migration/migration-scripts/index.js +3 -1
  11. package/dist/cjs/schema/nodes/bibliography_element.js +0 -1
  12. package/dist/cjs/schema/nodes/bio.js +24 -0
  13. package/dist/cjs/schema/nodes/contributor.js +1 -2
  14. package/dist/cjs/schema/nodes/keywords_element.js +0 -1
  15. package/dist/cjs/types.js +1 -1
  16. package/dist/cjs/version.js +1 -1
  17. package/dist/es/jats/__tests__/jats-exporter.test.js +47 -20
  18. package/dist/es/jats/__tests__/jats-importer.test.js +26 -0
  19. package/dist/es/jats/__tests__/jats-roundtrip.test.js +3 -1
  20. package/dist/es/jats/exporter/JATSExporterBase.js +114 -0
  21. package/dist/es/jats/exporter/jats-exporter.js +201 -319
  22. package/dist/es/jats/exporter/lib.js +55 -0
  23. package/dist/es/jats/importer/jats-dom-parser.js +11 -3
  24. package/dist/es/schema/index.js +4 -1
  25. package/dist/es/schema/migration/migration-scripts/4.5.9.js +28 -0
  26. package/dist/es/schema/migration/migration-scripts/index.js +3 -1
  27. package/dist/es/schema/nodes/bibliography_element.js +0 -1
  28. package/dist/es/schema/nodes/bio.js +20 -0
  29. package/dist/es/schema/nodes/contributor.js +1 -2
  30. package/dist/es/schema/nodes/keywords_element.js +0 -1
  31. package/dist/es/types.js +1 -1
  32. package/dist/es/version.js +1 -1
  33. package/dist/types/jats/exporter/JATSExporterBase.d.ts +35 -0
  34. package/dist/types/jats/exporter/jats-exporter.d.ts +23 -19
  35. package/dist/types/jats/exporter/lib.d.ts +23 -0
  36. package/dist/types/schema/index.d.ts +2 -1
  37. package/dist/types/schema/migration/migration-scripts/4.5.9.d.ts +8 -0
  38. package/dist/types/schema/migration/migration-scripts/index.d.ts +3 -2
  39. package/dist/types/schema/nodes/bio.d.ts +10 -0
  40. package/dist/types/schema/types.d.ts +1 -1
  41. package/dist/types/types.d.ts +1 -1
  42. package/dist/types/version.d.ts +1 -1
  43. package/package.json +4 -4
  44. package/src/jats/__tests__/__fixtures__/jats-import.xml +7 -0
  45. package/src/jats/__tests__/__snapshots__/jats-importer.test.ts.snap +272 -151
  46. package/src/jats/__tests__/__snapshots__/jats-roundtrip.test.ts.snap +2 -2
  47. package/src/jats/__tests__/jats-exporter.test.ts +60 -20
  48. package/src/jats/__tests__/jats-importer.test.ts +37 -0
  49. package/src/jats/__tests__/jats-roundtrip.test.ts +3 -1
  50. package/src/jats/exporter/JATSExporterBase.ts +164 -0
  51. package/src/jats/exporter/jats-exporter.ts +217 -386
  52. package/src/jats/exporter/lib.ts +69 -0
  53. package/src/jats/importer/jats-dom-parser.ts +15 -5
  54. package/src/schema/index.ts +4 -1
  55. package/src/schema/migration/migration-scripts/4.5.9.ts +62 -0
  56. package/src/schema/migration/migration-scripts/index.ts +3 -1
  57. package/src/schema/nodes/bibliography_element.ts +0 -1
  58. package/src/schema/nodes/bio.ts +48 -0
  59. package/src/schema/nodes/contributor.ts +1 -2
  60. package/src/schema/nodes/keywords_element.ts +0 -1
  61. package/src/schema/types.ts +1 -0
  62. package/src/types.ts +1 -1
  63. package/src/version.ts +1 -1
@@ -232,6 +232,100 @@ Object {
232
232
  }
233
233
  `;
234
234
 
235
+ exports[`JATS importer > bio > should parse bio with graphic and paragraph into the contributor node 1`] = `
236
+ Object {
237
+ "attrs": Object {
238
+ "dataTracked": null,
239
+ "id": "MPBio:test",
240
+ },
241
+ "content": Array [
242
+ Object {
243
+ "attrs": Object {
244
+ "dataTracked": null,
245
+ "extLink": "",
246
+ "id": "MPImageElement:test",
247
+ },
248
+ "content": Array [
249
+ Object {
250
+ "attrs": Object {
251
+ "dataTracked": null,
252
+ "id": "MPFigure:test",
253
+ "src": "agnete-hornnes.png",
254
+ "type": "",
255
+ },
256
+ "type": "figure",
257
+ },
258
+ Object {
259
+ "attrs": Object {
260
+ "dataTracked": null,
261
+ "placeholder": "Caption...",
262
+ },
263
+ "content": Array [
264
+ Object {
265
+ "attrs": Object {
266
+ "dataTracked": null,
267
+ },
268
+ "type": "text_block",
269
+ },
270
+ ],
271
+ "type": "caption",
272
+ },
273
+ Object {
274
+ "attrs": Object {
275
+ "id": "MPAltText:test",
276
+ },
277
+ "content": Array [
278
+ Object {
279
+ "text": "Headshot of Agnete Hviid Hornnes",
280
+ "type": "text",
281
+ },
282
+ ],
283
+ "type": "alt_text",
284
+ },
285
+ Object {
286
+ "attrs": Object {
287
+ "id": "MPLongDesc:test",
288
+ },
289
+ "type": "long_desc",
290
+ },
291
+ ],
292
+ "type": "image_element",
293
+ },
294
+ Object {
295
+ "attrs": Object {
296
+ "dataTracked": null,
297
+ "id": "MPParagraph:test",
298
+ "placeholder": "",
299
+ },
300
+ "content": Array [
301
+ Object {
302
+ "text": "Agnete is a ",
303
+ "type": "text",
304
+ },
305
+ Object {
306
+ "marks": Array [
307
+ Object {
308
+ "attrs": Object {
309
+ "dataTracked": null,
310
+ },
311
+ "type": "italic",
312
+ },
313
+ ],
314
+ "text": "Professor of Neurology",
315
+ "type": "text",
316
+ },
317
+ Object {
318
+ "text": " at Herlev og Gentofte Hospital, specializing in stroke research.",
319
+ "type": "text",
320
+ },
321
+ ],
322
+ "type": "paragraph",
323
+ },
324
+ ],
325
+ "type": "bio",
326
+ }
327
+ `;
328
+
235
329
  exports[`JATS importer > comments > should parse abstract comment 1`] = `
236
330
  Array [
237
331
  Object {
@@ -296,7 +390,6 @@ Array [
296
390
  "affiliationIDs": Array [
297
391
  "MPAffiliation:test",
298
392
  ],
299
- "contents": "",
300
393
  "correspIDs": Array [],
301
394
  "creditRoles": Array [
302
395
  Object {
@@ -324,8 +417,95 @@ Array [
324
417
  },
325
418
  "content": Array [
326
419
  Object {
327
- "text": "_",
328
- "type": "text",
420
+ "attrs": Object {
421
+ "dataTracked": null,
422
+ "id": "MPBio:test",
423
+ },
424
+ "content": Array [
425
+ Object {
426
+ "attrs": Object {
427
+ "dataTracked": null,
428
+ "extLink": "",
429
+ "id": "MPImageElement:test",
430
+ },
431
+ "content": Array [
432
+ Object {
433
+ "attrs": Object {
434
+ "dataTracked": null,
435
+ "id": "MPFigure:test",
436
+ "src": "agnete-hornnes.png",
437
+ "type": "",
438
+ },
439
+ "type": "figure",
440
+ },
441
+ Object {
442
+ "attrs": Object {
443
+ "dataTracked": null,
444
+ "placeholder": "Caption...",
445
+ },
446
+ "content": Array [
447
+ Object {
448
+ "attrs": Object {
449
+ "dataTracked": null,
450
+ },
451
+ "type": "text_block",
452
+ },
453
+ ],
454
+ "type": "caption",
455
+ },
456
+ Object {
457
+ "attrs": Object {
458
+ "id": "MPAltText:test",
459
+ },
460
+ "content": Array [
461
+ Object {
462
+ "text": "Headshot of Agnete Hviid Hornnes",
463
+ "type": "text",
464
+ },
465
+ ],
466
+ "type": "alt_text",
467
+ },
468
+ Object {
469
+ "attrs": Object {
470
+ "id": "MPLongDesc:test",
471
+ },
472
+ "type": "long_desc",
473
+ },
474
+ ],
475
+ "type": "image_element",
476
+ },
477
+ Object {
478
+ "attrs": Object {
479
+ "dataTracked": null,
480
+ "id": "MPParagraph:test",
481
+ "placeholder": "",
482
+ },
483
+ "content": Array [
484
+ Object {
485
+ "text": "Agnete is a ",
486
+ "type": "text",
487
+ },
488
+ Object {
489
+ "marks": Array [
490
+ Object {
491
+ "attrs": Object {
492
+ "dataTracked": null,
493
+ },
494
+ "type": "italic",
495
+ },
496
+ ],
497
+ "text": "Professor of Neurology",
498
+ "type": "text",
499
+ },
500
+ Object {
501
+ "text": " at Herlev og Gentofte Hospital, specializing in stroke research.",
502
+ "type": "text",
503
+ },
504
+ ],
505
+ "type": "paragraph",
506
+ },
507
+ ],
508
+ "type": "bio",
329
509
  },
330
510
  ],
331
511
  "type": "contributor",
@@ -336,7 +516,6 @@ Array [
336
516
  "affiliationIDs": Array [
337
517
  "MPAffiliation:test",
338
518
  ],
339
- "contents": "",
340
519
  "correspIDs": Array [],
341
520
  "creditRoles": Array [],
342
521
  "dataTracked": null,
@@ -359,12 +538,6 @@ Array [
359
538
  "role": "",
360
539
  "suffix": undefined,
361
540
  },
362
- "content": Array [
363
- Object {
364
- "text": "_",
365
- "type": "text",
366
- },
367
- ],
368
541
  "type": "contributor",
369
542
  },
370
543
  ]
@@ -481,7 +654,6 @@ Object {
481
654
  "affiliationIDs": Array [
482
655
  "MPAffiliation:test",
483
656
  ],
484
- "contents": "",
485
657
  "correspIDs": Array [
486
658
  "MPCorresp:test",
487
659
  ],
@@ -501,12 +673,6 @@ Object {
501
673
  "role": "",
502
674
  "suffix": undefined,
503
675
  },
504
- "content": Array [
505
- Object {
506
- "text": "_",
507
- "type": "text",
508
- },
509
- ],
510
676
  "type": "contributor",
511
677
  },
512
678
  Object {
@@ -515,7 +681,6 @@ Object {
515
681
  "affiliationIDs": Array [
516
682
  "MPAffiliation:test",
517
683
  ],
518
- "contents": "",
519
684
  "correspIDs": Array [],
520
685
  "creditRoles": Array [],
521
686
  "dataTracked": null,
@@ -533,12 +698,6 @@ Object {
533
698
  "role": "",
534
699
  "suffix": undefined,
535
700
  },
536
- "content": Array [
537
- Object {
538
- "text": "_",
539
- "type": "text",
540
- },
541
- ],
542
701
  "type": "contributor",
543
702
  },
544
703
  Object {
@@ -547,7 +706,6 @@ Object {
547
706
  "affiliationIDs": Array [
548
707
  "MPAffiliation:test",
549
708
  ],
550
- "contents": "",
551
709
  "correspIDs": Array [],
552
710
  "creditRoles": Array [],
553
711
  "dataTracked": null,
@@ -565,12 +723,6 @@ Object {
565
723
  "role": "",
566
724
  "suffix": undefined,
567
725
  },
568
- "content": Array [
569
- Object {
570
- "text": "_",
571
- "type": "text",
572
- },
573
- ],
574
726
  "type": "contributor",
575
727
  },
576
728
  Object {
@@ -579,7 +731,6 @@ Object {
579
731
  "affiliationIDs": Array [
580
732
  "MPAffiliation:test",
581
733
  ],
582
- "contents": "",
583
734
  "correspIDs": Array [],
584
735
  "creditRoles": Array [],
585
736
  "dataTracked": null,
@@ -597,12 +748,6 @@ Object {
597
748
  "role": "",
598
749
  "suffix": undefined,
599
750
  },
600
- "content": Array [
601
- Object {
602
- "text": "_",
603
- "type": "text",
604
- },
605
- ],
606
751
  "type": "contributor",
607
752
  },
608
753
  ],
@@ -737,7 +882,6 @@ Object {
737
882
  },
738
883
  Object {
739
884
  "attrs": Object {
740
- "contents": "",
741
885
  "dataTracked": null,
742
886
  "id": "MPKeywordsElement:test",
743
887
  },
@@ -2446,7 +2590,6 @@ Object {
2446
2590
  },
2447
2591
  Object {
2448
2592
  "attrs": Object {
2449
- "contents": "",
2450
2593
  "dataTracked": null,
2451
2594
  "id": "MPBibliographyElement:test",
2452
2595
  },
@@ -2710,7 +2853,6 @@ Object {
2710
2853
  "attrs": Object {
2711
2854
  "ORCID": undefined,
2712
2855
  "affiliationIDs": Array [],
2713
- "contents": "",
2714
2856
  "correspIDs": Array [],
2715
2857
  "creditRoles": Array [],
2716
2858
  "dataTracked": null,
@@ -2728,12 +2870,6 @@ Object {
2728
2870
  "role": "",
2729
2871
  "suffix": undefined,
2730
2872
  },
2731
- "content": Array [
2732
- Object {
2733
- "text": "_",
2734
- "type": "text",
2735
- },
2736
- ],
2737
2873
  "type": "contributor",
2738
2874
  },
2739
2875
  ],
@@ -4083,7 +4219,6 @@ Object {
4083
4219
  },
4084
4220
  Object {
4085
4221
  "attrs": Object {
4086
- "contents": "",
4087
4222
  "dataTracked": null,
4088
4223
  "id": "MPBibliographyElement:test",
4089
4224
  },
@@ -4275,7 +4410,6 @@ Object {
4275
4410
  "affiliationIDs": Array [
4276
4411
  "MPAffiliation:test",
4277
4412
  ],
4278
- "contents": "",
4279
4413
  "correspIDs": Array [],
4280
4414
  "creditRoles": Array [],
4281
4415
  "dataTracked": null,
@@ -4293,12 +4427,6 @@ Object {
4293
4427
  "role": "",
4294
4428
  "suffix": undefined,
4295
4429
  },
4296
- "content": Array [
4297
- Object {
4298
- "text": "_",
4299
- "type": "text",
4300
- },
4301
- ],
4302
4430
  "type": "contributor",
4303
4431
  },
4304
4432
  Object {
@@ -4307,7 +4435,6 @@ Object {
4307
4435
  "affiliationIDs": Array [
4308
4436
  "MPAffiliation:test",
4309
4437
  ],
4310
- "contents": "",
4311
4438
  "correspIDs": Array [],
4312
4439
  "creditRoles": Array [],
4313
4440
  "dataTracked": null,
@@ -4325,12 +4452,6 @@ Object {
4325
4452
  "role": "",
4326
4453
  "suffix": undefined,
4327
4454
  },
4328
- "content": Array [
4329
- Object {
4330
- "text": "_",
4331
- "type": "text",
4332
- },
4333
- ],
4334
4455
  "type": "contributor",
4335
4456
  },
4336
4457
  Object {
@@ -4339,7 +4460,6 @@ Object {
4339
4460
  "affiliationIDs": Array [
4340
4461
  "MPAffiliation:test",
4341
4462
  ],
4342
- "contents": "",
4343
4463
  "correspIDs": Array [],
4344
4464
  "creditRoles": Array [],
4345
4465
  "dataTracked": null,
@@ -4357,12 +4477,6 @@ Object {
4357
4477
  "role": "",
4358
4478
  "suffix": undefined,
4359
4479
  },
4360
- "content": Array [
4361
- Object {
4362
- "text": "_",
4363
- "type": "text",
4364
- },
4365
- ],
4366
4480
  "type": "contributor",
4367
4481
  },
4368
4482
  Object {
@@ -4371,7 +4485,6 @@ Object {
4371
4485
  "affiliationIDs": Array [
4372
4486
  "MPAffiliation:test",
4373
4487
  ],
4374
- "contents": "",
4375
4488
  "correspIDs": Array [],
4376
4489
  "creditRoles": Array [],
4377
4490
  "dataTracked": null,
@@ -4389,12 +4502,6 @@ Object {
4389
4502
  "role": "",
4390
4503
  "suffix": undefined,
4391
4504
  },
4392
- "content": Array [
4393
- Object {
4394
- "text": "_",
4395
- "type": "text",
4396
- },
4397
- ],
4398
4505
  "type": "contributor",
4399
4506
  },
4400
4507
  Object {
@@ -4403,7 +4510,6 @@ Object {
4403
4510
  "affiliationIDs": Array [
4404
4511
  "MPAffiliation:test",
4405
4512
  ],
4406
- "contents": "",
4407
4513
  "correspIDs": Array [],
4408
4514
  "creditRoles": Array [],
4409
4515
  "dataTracked": null,
@@ -4421,12 +4527,6 @@ Object {
4421
4527
  "role": "",
4422
4528
  "suffix": undefined,
4423
4529
  },
4424
- "content": Array [
4425
- Object {
4426
- "text": "_",
4427
- "type": "text",
4428
- },
4429
- ],
4430
4530
  "type": "contributor",
4431
4531
  },
4432
4532
  Object {
@@ -4435,7 +4535,6 @@ Object {
4435
4535
  "affiliationIDs": Array [
4436
4536
  "MPAffiliation:test",
4437
4537
  ],
4438
- "contents": "",
4439
4538
  "correspIDs": Array [],
4440
4539
  "creditRoles": Array [],
4441
4540
  "dataTracked": null,
@@ -4453,12 +4552,6 @@ Object {
4453
4552
  "role": "",
4454
4553
  "suffix": undefined,
4455
4554
  },
4456
- "content": Array [
4457
- Object {
4458
- "text": "_",
4459
- "type": "text",
4460
- },
4461
- ],
4462
4555
  "type": "contributor",
4463
4556
  },
4464
4557
  Object {
@@ -4467,7 +4560,6 @@ Object {
4467
4560
  "affiliationIDs": Array [
4468
4561
  "MPAffiliation:test",
4469
4562
  ],
4470
- "contents": "",
4471
4563
  "correspIDs": Array [],
4472
4564
  "creditRoles": Array [],
4473
4565
  "dataTracked": null,
@@ -4485,12 +4577,6 @@ Object {
4485
4577
  "role": "",
4486
4578
  "suffix": undefined,
4487
4579
  },
4488
- "content": Array [
4489
- Object {
4490
- "text": "_",
4491
- "type": "text",
4492
- },
4493
- ],
4494
4580
  "type": "contributor",
4495
4581
  },
4496
4582
  ],
@@ -4627,7 +4713,6 @@ Object {
4627
4713
  },
4628
4714
  Object {
4629
4715
  "attrs": Object {
4630
- "contents": "",
4631
4716
  "dataTracked": null,
4632
4717
  "id": "MPKeywordsElement:test",
4633
4718
  },
@@ -19642,7 +19727,6 @@ Object {
19642
19727
  },
19643
19728
  Object {
19644
19729
  "attrs": Object {
19645
- "contents": "",
19646
19730
  "dataTracked": null,
19647
19731
  "id": "MPBibliographyElement:test",
19648
19732
  },
@@ -22111,7 +22195,6 @@ Object {
22111
22195
  "affiliationIDs": Array [
22112
22196
  "MPAffiliation:test",
22113
22197
  ],
22114
- "contents": "",
22115
22198
  "correspIDs": Array [],
22116
22199
  "creditRoles": Array [],
22117
22200
  "dataTracked": null,
@@ -22133,12 +22216,6 @@ Object {
22133
22216
  "role": "",
22134
22217
  "suffix": undefined,
22135
22218
  },
22136
- "content": Array [
22137
- Object {
22138
- "text": "_",
22139
- "type": "text",
22140
- },
22141
- ],
22142
22219
  "type": "contributor",
22143
22220
  },
22144
22221
  Object {
@@ -22147,7 +22224,6 @@ Object {
22147
22224
  "affiliationIDs": Array [
22148
22225
  "MPAffiliation:test",
22149
22226
  ],
22150
- "contents": "",
22151
22227
  "correspIDs": Array [],
22152
22228
  "creditRoles": Array [],
22153
22229
  "dataTracked": null,
@@ -22170,12 +22246,6 @@ Object {
22170
22246
  "role": "",
22171
22247
  "suffix": undefined,
22172
22248
  },
22173
- "content": Array [
22174
- Object {
22175
- "text": "_",
22176
- "type": "text",
22177
- },
22178
- ],
22179
22249
  "type": "contributor",
22180
22250
  },
22181
22251
  ],
@@ -22318,7 +22388,6 @@ Object {
22318
22388
  },
22319
22389
  Object {
22320
22390
  "attrs": Object {
22321
- "contents": "",
22322
22391
  "dataTracked": null,
22323
22392
  "id": "MPKeywordsElement:test",
22324
22393
  },
@@ -30822,7 +30891,6 @@ Object {
30822
30891
  "affiliationIDs": Array [
30823
30892
  "MPAffiliation:test",
30824
30893
  ],
30825
- "contents": "",
30826
30894
  "correspIDs": Array [
30827
30895
  "MPCorresp:test",
30828
30896
  ],
@@ -30844,12 +30912,6 @@ Object {
30844
30912
  "role": "Member, IEEE",
30845
30913
  "suffix": undefined,
30846
30914
  },
30847
- "content": Array [
30848
- Object {
30849
- "text": "_",
30850
- "type": "text",
30851
- },
30852
- ],
30853
30915
  "type": "contributor",
30854
30916
  },
30855
30917
  ],
@@ -31000,7 +31062,6 @@ Object {
31000
31062
  },
31001
31063
  Object {
31002
31064
  "attrs": Object {
31003
- "contents": "",
31004
31065
  "dataTracked": null,
31005
31066
  "id": "MPKeywordsElement:test",
31006
31067
  },
@@ -32476,7 +32537,6 @@ Object {
32476
32537
  },
32477
32538
  Object {
32478
32539
  "attrs": Object {
32479
- "contents": "",
32480
32540
  "dataTracked": null,
32481
32541
  "id": "MPBibliographyElement:test",
32482
32542
  },
@@ -32626,7 +32686,6 @@ Object {
32626
32686
  "affiliationIDs": Array [
32627
32687
  "MPAffiliation:test",
32628
32688
  ],
32629
- "contents": "",
32630
32689
  "correspIDs": Array [],
32631
32690
  "creditRoles": Array [
32632
32691
  Object {
@@ -32654,8 +32713,95 @@ Object {
32654
32713
  },
32655
32714
  "content": Array [
32656
32715
  Object {
32657
- "text": "_",
32658
- "type": "text",
32716
+ "attrs": Object {
32717
+ "dataTracked": null,
32718
+ "id": "MPBio:test",
32719
+ },
32720
+ "content": Array [
32721
+ Object {
32722
+ "attrs": Object {
32723
+ "dataTracked": null,
32724
+ "extLink": "",
32725
+ "id": "MPImageElement:test",
32726
+ },
32727
+ "content": Array [
32728
+ Object {
32729
+ "attrs": Object {
32730
+ "dataTracked": null,
32731
+ "id": "MPFigure:test",
32732
+ "src": "agnete-hornnes.png",
32733
+ "type": "",
32734
+ },
32735
+ "type": "figure",
32736
+ },
32737
+ Object {
32738
+ "attrs": Object {
32739
+ "dataTracked": null,
32740
+ "placeholder": "Caption...",
32741
+ },
32742
+ "content": Array [
32743
+ Object {
32744
+ "attrs": Object {
32745
+ "dataTracked": null,
32746
+ },
32747
+ "type": "text_block",
32748
+ },
32749
+ ],
32750
+ "type": "caption",
32751
+ },
32752
+ Object {
32753
+ "attrs": Object {
32754
+ "id": "MPAltText:test",
32755
+ },
32756
+ "content": Array [
32757
+ Object {
32758
+ "text": "Headshot of Agnete Hviid Hornnes",
32759
+ "type": "text",
32760
+ },
32761
+ ],
32762
+ "type": "alt_text",
32763
+ },
32764
+ Object {
32765
+ "attrs": Object {
32766
+ "id": "MPLongDesc:test",
32767
+ },
32768
+ "type": "long_desc",
32769
+ },
32770
+ ],
32771
+ "type": "image_element",
32772
+ },
32773
+ Object {
32774
+ "attrs": Object {
32775
+ "dataTracked": null,
32776
+ "id": "MPParagraph:test",
32777
+ "placeholder": "",
32778
+ },
32779
+ "content": Array [
32780
+ Object {
32781
+ "text": "Agnete is a ",
32782
+ "type": "text",
32783
+ },
32784
+ Object {
32785
+ "marks": Array [
32786
+ Object {
32787
+ "attrs": Object {
32788
+ "dataTracked": null,
32789
+ },
32790
+ "type": "italic",
32791
+ },
32792
+ ],
32793
+ "text": "Professor of Neurology",
32794
+ "type": "text",
32795
+ },
32796
+ Object {
32797
+ "text": " at Herlev og Gentofte Hospital, specializing in stroke research.",
32798
+ "type": "text",
32799
+ },
32800
+ ],
32801
+ "type": "paragraph",
32802
+ },
32803
+ ],
32804
+ "type": "bio",
32659
32805
  },
32660
32806
  ],
32661
32807
  "type": "contributor",
@@ -32666,7 +32812,6 @@ Object {
32666
32812
  "affiliationIDs": Array [
32667
32813
  "MPAffiliation:test",
32668
32814
  ],
32669
- "contents": "",
32670
32815
  "correspIDs": Array [],
32671
32816
  "creditRoles": Array [],
32672
32817
  "dataTracked": null,
@@ -32689,12 +32834,6 @@ Object {
32689
32834
  "role": "",
32690
32835
  "suffix": undefined,
32691
32836
  },
32692
- "content": Array [
32693
- Object {
32694
- "text": "_",
32695
- "type": "text",
32696
- },
32697
- ],
32698
32837
  "type": "contributor",
32699
32838
  },
32700
32839
  ],
@@ -32864,7 +33003,6 @@ Object {
32864
33003
  },
32865
33004
  Object {
32866
33005
  "attrs": Object {
32867
- "contents": "",
32868
33006
  "dataTracked": null,
32869
33007
  "id": "MPKeywordsElement:test",
32870
33008
  },
@@ -42439,7 +42577,6 @@ Object {
42439
42577
  },
42440
42578
  Object {
42441
42579
  "attrs": Object {
42442
- "contents": "",
42443
42580
  "dataTracked": null,
42444
42581
  "id": "MPBibliographyElement:test",
42445
42582
  },
@@ -44842,7 +44979,6 @@ Object {
44842
44979
  "affiliationIDs": Array [
44843
44980
  "MPAffiliation:test",
44844
44981
  ],
44845
- "contents": "",
44846
44982
  "correspIDs": Array [],
44847
44983
  "creditRoles": Array [],
44848
44984
  "dataTracked": null,
@@ -44860,12 +44996,6 @@ Object {
44860
44996
  "role": "",
44861
44997
  "suffix": undefined,
44862
44998
  },
44863
- "content": Array [
44864
- Object {
44865
- "text": "_",
44866
- "type": "text",
44867
- },
44868
- ],
44869
44999
  "type": "contributor",
44870
45000
  },
44871
45001
  Object {
@@ -44874,7 +45004,6 @@ Object {
44874
45004
  "affiliationIDs": Array [
44875
45005
  "MPAffiliation:test",
44876
45006
  ],
44877
- "contents": "",
44878
45007
  "correspIDs": Array [],
44879
45008
  "creditRoles": Array [],
44880
45009
  "dataTracked": null,
@@ -44892,12 +45021,6 @@ Object {
44892
45021
  "role": "",
44893
45022
  "suffix": undefined,
44894
45023
  },
44895
- "content": Array [
44896
- Object {
44897
- "text": "_",
44898
- "type": "text",
44899
- },
44900
- ],
44901
45024
  "type": "contributor",
44902
45025
  },
44903
45026
  ],
@@ -44979,7 +45102,6 @@ Object {
44979
45102
  },
44980
45103
  Object {
44981
45104
  "attrs": Object {
44982
- "contents": "",
44983
45105
  "dataTracked": null,
44984
45106
  "id": "MPKeywordsElement:test",
44985
45107
  },
@@ -57771,7 +57893,6 @@ Object {
57771
57893
  },
57772
57894
  Object {
57773
57895
  "attrs": Object {
57774
- "contents": "",
57775
57896
  "dataTracked": null,
57776
57897
  "id": "MPBibliographyElement:test",
57777
57898
  },