@moxn/kb-migrate 0.4.11 → 0.4.12

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.
@@ -85,19 +85,19 @@ function sectionsToMarkdown(sections, options) {
85
85
  parts.push('');
86
86
  }
87
87
  else if (block.blockType === 'image' && block.url) {
88
- const token = `__MOXN_MEDIA_${media.length}__`;
88
+ const token = `MOXNMEDIA${media.length}PLACEHOLDER`;
89
89
  media.push({ token, type: 'image', url: block.url, alt: block.alt });
90
90
  parts.push(token);
91
91
  parts.push('');
92
92
  }
93
93
  else if (block.blockType === 'document' && block.url) {
94
- const token = `__MOXN_MEDIA_${media.length}__`;
94
+ const token = `MOXNMEDIA${media.length}PLACEHOLDER`;
95
95
  media.push({ token, type: 'file', url: block.url, filename: block.filename });
96
96
  parts.push(token);
97
97
  parts.push('');
98
98
  }
99
99
  else if (block.blockType === 'csv' && block.url) {
100
- const token = `__MOXN_MEDIA_${media.length}__`;
100
+ const token = `MOXNMEDIA${media.length}PLACEHOLDER`;
101
101
  media.push({ token, type: 'embed', url: block.url, filename: block.filename || 'data.csv' });
102
102
  parts.push(token);
103
103
  parts.push('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moxn/kb-migrate",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "Migration tool for importing documents into Moxn Knowledge Base from local files, Notion, Google Docs, and more",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",