@fro.bot/systematic 1.17.3 → 1.18.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.
package/dist/lib/converter.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export interface ConvertOptions {
|
|
|
7
7
|
/** Skip body content transformations (tool names, paths, etc.) */
|
|
8
8
|
skipBodyTransform?: boolean;
|
|
9
9
|
}
|
|
10
|
+
export declare const CONVERTER_VERSION = 2;
|
|
10
11
|
export declare function convertContent(content: string, type: ContentType, options?: ConvertOptions): string;
|
|
11
12
|
export declare function convertFileWithCache(filePath: string, type: ContentType, options?: ConvertOptions): string;
|
|
12
13
|
export declare function clearConverterCache(): void;
|
package/dist/lib/manifest.d.ts
CHANGED
|
@@ -20,12 +20,14 @@ export interface ManifestDefinition {
|
|
|
20
20
|
upstream_commit: string;
|
|
21
21
|
synced_at: string;
|
|
22
22
|
notes: string;
|
|
23
|
+
files?: string[];
|
|
23
24
|
upstream_content_hash?: string;
|
|
24
25
|
rewrites?: ManifestRewrite[];
|
|
25
26
|
manual_overrides?: ManualOverride[];
|
|
26
27
|
}
|
|
27
28
|
export interface SyncManifest {
|
|
28
29
|
$schema?: string;
|
|
30
|
+
converter_version?: number;
|
|
29
31
|
sources: Record<string, ManifestSource>;
|
|
30
32
|
definitions: Record<string, ManifestDefinition>;
|
|
31
33
|
}
|
|
@@ -33,3 +35,5 @@ export declare function validateManifest(data: unknown): data is SyncManifest;
|
|
|
33
35
|
export declare function readManifest(filePath: string): SyncManifest | null;
|
|
34
36
|
export declare function writeManifest(filePath: string, manifest: SyncManifest): void;
|
|
35
37
|
export declare function findStaleEntries(manifest: SyncManifest, existingPaths: string[]): string[];
|
|
38
|
+
export declare function listDefinitionsBySource(manifest: SyncManifest, source: string): string[];
|
|
39
|
+
export declare function getUpstreamHashes(manifest: SyncManifest, source: string): Record<string, string>;
|