@dogsbay/types 0.2.0-beta.130 → 0.2.0-beta.132
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.
- package/dist/format.d.ts +17 -0
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/format.d.ts
CHANGED
|
@@ -293,6 +293,23 @@ export interface ImportResult {
|
|
|
293
293
|
* user's own `--attribute` values (user wins).
|
|
294
294
|
*/
|
|
295
295
|
corpusAttributes?: Record<string, unknown>;
|
|
296
|
+
/**
|
|
297
|
+
* What the import could not convert cleanly, by source file and line (the file is relative
|
|
298
|
+
* to the corpus root). A host lists these (the playground under Problems, the CLI in its
|
|
299
|
+
* summary); `MIGRATION.md` carries them too. Known loss, never silent loss.
|
|
300
|
+
*/
|
|
301
|
+
ledger?: ImportLedgerEntry[];
|
|
302
|
+
}
|
|
303
|
+
/** One note from an import: what was not converted cleanly, and where. */
|
|
304
|
+
export interface ImportLedgerEntry {
|
|
305
|
+
/** Source file, relative to the corpus root. */
|
|
306
|
+
file?: string;
|
|
307
|
+
/** 1-based line in that file, front matter included. */
|
|
308
|
+
line?: number;
|
|
309
|
+
severity: "info" | "warning";
|
|
310
|
+
/** Stable kebab-case kind, e.g. `unmapped-construct`, `slug-collision`. */
|
|
311
|
+
code: string;
|
|
312
|
+
message: string;
|
|
296
313
|
}
|
|
297
314
|
export interface FormatOption {
|
|
298
315
|
flags: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export type { ConditionalNode, IncludeNode, VarDefNode, DirectiveRawNode, Direct
|
|
|
3
3
|
export { isConditional, isInclude, isVarDef, isDirectiveRaw, isDirectiveBlock, isInlineDirective, PROFILING_ATTRS, profilingOf, } from "./directives.js";
|
|
4
4
|
export { treeToJson, chunkByHeadings, extractText } from "./json.js";
|
|
5
5
|
export type { RagChunk } from "./json.js";
|
|
6
|
-
export type { ExportPage, Heading, NavItem, NavMark, NavMarkKind, FormatPlugin, FormatCapability, FormatOption, ImportResult, SiteConfig, PlausibleConfig, TagPrefixDisplay, TagPaletteName, TaxonomyDisplay, LlmActionsConfig, LlmActionsPlacement, LlmProviderName, LinkIconsConfig } from "./format.js";
|
|
6
|
+
export type { ExportPage, Heading, NavItem, NavMark, NavMarkKind, FormatPlugin, FormatCapability, FormatOption, ImportResult, ImportLedgerEntry, SiteConfig, PlausibleConfig, TagPrefixDisplay, TagPaletteName, TaxonomyDisplay, LlmActionsConfig, LlmActionsPlacement, LlmProviderName, LinkIconsConfig } from "./format.js";
|
|
7
7
|
export type { PageMeta, PageStatus, ParseMetaOptions } from "./meta.js";
|
|
8
8
|
export { STATUS_VALUES, parseMeta } from "./meta.js";
|
|
9
9
|
export type { DogsbayPlugin, DogsbayPluginContext, DogsbayPluginFactory, PluginVisibleConfig, PluginLogger, PluginRule, PluginIssue, PluginConfigEntry, EmitFilesHelpers, AstroIntegrationRef, } from "./plugin.js";
|