@tsdoctor/snapshot 0.2.4 → 0.2.5
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/index.d.ts +6 -6
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { Context, Effect, Layer, Option } from "effect";
|
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
declare function normalizeContent(content: string): string;
|
|
26
|
+
export declare function normalizeContent(content: string): string;
|
|
27
27
|
/**
|
|
28
28
|
* Generates a SHA-256 hash of normalized markdown content.
|
|
29
29
|
*
|
|
@@ -43,7 +43,7 @@ declare function normalizeContent(content: string): string;
|
|
|
43
43
|
*
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
|
-
declare function hashContent(content: string): string;
|
|
46
|
+
export declare function hashContent(content: string): string;
|
|
47
47
|
/**
|
|
48
48
|
* Generates a SHA-256 hash of frontmatter fields.
|
|
49
49
|
*
|
|
@@ -73,7 +73,7 @@ declare function hashContent(content: string): string;
|
|
|
73
73
|
*
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
|
-
declare function hashFrontmatter(frontmatter: Record<string, unknown>): string;
|
|
76
|
+
export declare function hashFrontmatter(frontmatter: Record<string, unknown>): string;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/SnapshotService.d.ts
|
|
79
79
|
/**
|
|
@@ -106,7 +106,7 @@ declare const SnapshotDbError_base: new <A extends Record<string, any> = {}>(arg
|
|
|
106
106
|
*
|
|
107
107
|
* @public
|
|
108
108
|
*/
|
|
109
|
-
declare class SnapshotDbError extends SnapshotDbError_base<{
|
|
109
|
+
export declare class SnapshotDbError extends SnapshotDbError_base<{
|
|
110
110
|
/** The database operation that failed (e.g. `"query"`). */
|
|
111
111
|
readonly operation: string;
|
|
112
112
|
/** Path or label of the database the operation ran against. */
|
|
@@ -151,7 +151,7 @@ declare const SnapshotService_base: Context.ServiceClass<SnapshotService, "@tsdo
|
|
|
151
151
|
*
|
|
152
152
|
* @public
|
|
153
153
|
*/
|
|
154
|
-
declare class SnapshotService extends SnapshotService_base {
|
|
154
|
+
export declare class SnapshotService extends SnapshotService_base {
|
|
155
155
|
/**
|
|
156
156
|
* Builds the live {@link SnapshotService} layer over a SQLite database file.
|
|
157
157
|
*
|
|
@@ -195,5 +195,5 @@ declare class SnapshotService extends SnapshotService_base {
|
|
|
195
195
|
static readonly layerTest: (overrides?: Partial<SnapshotServiceShape>) => Layer.Layer<SnapshotService>;
|
|
196
196
|
}
|
|
197
197
|
//#endregion
|
|
198
|
-
export {
|
|
198
|
+
export type { FileSnapshot, SnapshotServiceShape };
|
|
199
199
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsdoctor/snapshot",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Incremental-build snapshot tracking for static documentation pipelines: a schema-versioned SQLite store of per-file content hashes and timestamps, built on @effected/store, plus the pure SHA-256 content-hashing helpers that feed it.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@effected/jsonc": "^0.
|
|
41
|
-
"@effected/store": "^0.
|
|
42
|
-
"effect": "4.0.0-rc.
|
|
40
|
+
"@effected/jsonc": "^0.9.0",
|
|
41
|
+
"@effected/store": "^0.7.0",
|
|
42
|
+
"effect": "4.0.0-rc.112"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=24.11.0"
|