@manuscripts/transform 2.3.30 → 2.3.31-LEAN-3960.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.
@@ -120,7 +120,9 @@ __exportStar(require("./nodes/footnotes_section"), exports);
120
120
  __exportStar(require("./nodes/graphical_abstract_section"), exports);
121
121
  __exportStar(require("./nodes/hard_break"), exports);
122
122
  __exportStar(require("./nodes/highlight_marker"), exports);
123
+ __exportStar(require("./nodes/inline_equation"), exports);
123
124
  __exportStar(require("./nodes/inline_footnote"), exports);
125
+ __exportStar(require("./nodes/keyword_group"), exports);
124
126
  __exportStar(require("./nodes/keyword"), exports);
125
127
  __exportStar(require("./nodes/keywords_element"), exports);
126
128
  __exportStar(require("./nodes/keywords"), exports);
@@ -525,10 +525,7 @@ class Decoder {
525
525
  }
526
526
  return schema_1.schema.nodes.author_notes.createAndFill({
527
527
  id: model._id,
528
- }, [
529
- schema_1.schema.nodes.section_title.create({}, schema_1.schema.text('Correspondence')),
530
- ...content,
531
- ]);
528
+ }, [...content]);
532
529
  },
533
530
  [json_schema_1.ObjectTypes.Corresponding]: (data) => {
534
531
  const model = data;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "2.3.30";
4
+ exports.VERSION = "2.3.31-LEAN-3960.1";
@@ -103,7 +103,9 @@ export * from './nodes/footnotes_section';
103
103
  export * from './nodes/graphical_abstract_section';
104
104
  export * from './nodes/hard_break';
105
105
  export * from './nodes/highlight_marker';
106
+ export * from './nodes/inline_equation';
106
107
  export * from './nodes/inline_footnote';
108
+ export * from './nodes/keyword_group';
107
109
  export * from './nodes/keyword';
108
110
  export * from './nodes/keywords_element';
109
111
  export * from './nodes/keywords';
@@ -516,10 +516,7 @@ export class Decoder {
516
516
  }
517
517
  return schema.nodes.author_notes.createAndFill({
518
518
  id: model._id,
519
- }, [
520
- schema.nodes.section_title.create({}, schema.text('Correspondence')),
521
- ...content,
522
- ]);
519
+ }, [...content]);
523
520
  },
524
521
  [ObjectTypes.Corresponding]: (data) => {
525
522
  const model = data;
@@ -1 +1 @@
1
- export const VERSION = "2.3.30";
1
+ export const VERSION = "2.3.31-LEAN-3960.1";
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export declare const TABLE_CELL_STYLES: readonly ["backgroundColor", "border-top", "border-right", "border-bottom", "border-left", "verticalAlign", "textAlign"];
17
- export type TableCellStyleKey = (typeof TABLE_CELL_STYLES)[number];
17
+ export type TableCellStyleKey = typeof TABLE_CELL_STYLES[number];
18
18
  export declare const serializeTableCellStyles: (styles: {
19
19
  backgroundColor?: string | null | undefined;
20
20
  "border-top"?: string | null | undefined;
@@ -41,7 +41,9 @@ export * from './nodes/footnotes_section';
41
41
  export * from './nodes/graphical_abstract_section';
42
42
  export * from './nodes/hard_break';
43
43
  export * from './nodes/highlight_marker';
44
+ export * from './nodes/inline_equation';
44
45
  export * from './nodes/inline_footnote';
46
+ export * from './nodes/keyword_group';
45
47
  export * from './nodes/keyword';
46
48
  export * from './nodes/keywords_element';
47
49
  export * from './nodes/keywords';
@@ -14,4 +14,12 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { NodeSpec } from 'prosemirror-model';
17
+ import { ManuscriptNode } from '../types';
18
+ interface Attrs {
19
+ id: string;
20
+ }
21
+ export interface ContributorsNode extends ManuscriptNode {
22
+ attrs: Attrs;
23
+ }
17
24
  export declare const contributors: NodeSpec;
25
+ export {};
@@ -1 +1 @@
1
- export declare const VERSION = "2.3.30";
1
+ export declare const VERSION = "2.3.31-LEAN-3960.1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/transform",
3
3
  "description": "ProseMirror transformer for Manuscripts applications",
4
- "version": "2.3.30",
4
+ "version": "2.3.31-LEAN-3960.1",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-transform",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",