@dogsbay/types 0.2.0-beta.133 → 0.2.0-beta.135

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 (2) hide show
  1. package/dist/format.d.ts +12 -0
  2. package/package.json +1 -1
package/dist/format.d.ts CHANGED
@@ -306,6 +306,18 @@ export interface ImportLedgerEntry {
306
306
  file?: string;
307
307
  /** 1-based line in that file, front matter included. */
308
308
  line?: number;
309
+ /**
310
+ * The converted page the note is about, as a path in the migrated project
311
+ * (`content/guide/x.md`); set by the browser imports' `migrate` (and GitBook's project
312
+ * writer, which the CLI shares). Absent when the file
313
+ * became no page of its own (a config, a sidebar, a partial spliced into other pages).
314
+ */
315
+ page?: string;
316
+ /**
317
+ * 1-based line in `page`, front matter included, where the construct is. Given only
318
+ * when that line holds it: no line rather than a wrong one.
319
+ */
320
+ pageLine?: number;
309
321
  severity: "info" | "warning";
310
322
  /** Stable kebab-case kind, e.g. `unmapped-construct`, `slug-collision`. */
311
323
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dogsbay/types",
3
- "version": "0.2.0-beta.133",
3
+ "version": "0.2.0-beta.135",
4
4
  "description": "Universal document tree model for Dogsbay format loaders and renderers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",