@interactive-inc/docs-client 0.0.4 → 0.0.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/README.md +228 -0
- package/build/doc-client.d.ts +59 -0
- package/build/doc-client.d.ts.map +1 -0
- package/build/doc-client.js +95 -0
- package/build/doc-client.test.d.ts +2 -0
- package/build/doc-client.test.d.ts.map +1 -0
- package/build/doc-client.test.js +38 -0
- package/build/doc-directory-reference.d.ts +65 -0
- package/build/doc-directory-reference.d.ts.map +1 -0
- package/build/doc-directory-reference.js +292 -0
- package/build/doc-directory-reference.test.d.ts +2 -0
- package/build/doc-directory-reference.test.d.ts.map +1 -0
- package/build/doc-directory-reference.test.js +100 -0
- package/build/doc-file-index-reference.d.ts +72 -0
- package/build/doc-file-index-reference.d.ts.map +1 -0
- package/build/doc-file-index-reference.js +191 -0
- package/build/doc-file-index-reference.test.d.ts +2 -0
- package/build/doc-file-index-reference.test.d.ts.map +1 -0
- package/build/doc-file-index-reference.test.js +77 -0
- package/build/doc-file-md-reference.d.ts +97 -0
- package/build/doc-file-md-reference.d.ts.map +1 -0
- package/build/doc-file-md-reference.js +297 -0
- package/build/doc-file-md-reference.test.d.ts +2 -0
- package/build/doc-file-md-reference.test.d.ts.map +1 -0
- package/build/doc-file-md-reference.test.js +465 -0
- package/build/doc-file-relation-reference.d.ts +54 -0
- package/build/doc-file-relation-reference.d.ts.map +1 -0
- package/build/doc-file-relation-reference.js +109 -0
- package/build/doc-file-system-debug.d.ts +81 -0
- package/build/doc-file-system-debug.d.ts.map +1 -0
- package/build/doc-file-system-debug.js +317 -0
- package/build/doc-file-system.d.ts +100 -0
- package/build/doc-file-system.d.ts.map +1 -0
- package/build/doc-file-system.js +210 -0
- package/build/doc-file-tree-system.d.ts +38 -0
- package/build/doc-file-tree-system.d.ts.map +1 -0
- package/build/doc-file-tree-system.js +153 -0
- package/build/doc-file-tree-system.test.d.ts +2 -0
- package/build/doc-file-tree-system.test.d.ts.map +1 -0
- package/build/doc-file-tree-system.test.js +105 -0
- package/build/doc-file-unknown-reference.d.ts +80 -0
- package/build/doc-file-unknown-reference.d.ts.map +1 -0
- package/build/doc-file-unknown-reference.js +181 -0
- package/build/doc-file-unknown-reference.test.d.ts +2 -0
- package/build/doc-file-unknown-reference.test.d.ts.map +1 -0
- package/build/doc-file-unknown-reference.test.js +73 -0
- package/build/doc-markdown-system.d.ts +44 -0
- package/build/doc-markdown-system.d.ts.map +1 -0
- package/build/doc-markdown-system.js +153 -0
- package/build/doc-markdown-system.test.d.ts +2 -0
- package/build/doc-markdown-system.test.d.ts.map +1 -0
- package/build/doc-markdown-system.test.js +124 -0
- package/build/doc-path-system.d.ts +43 -0
- package/build/doc-path-system.d.ts.map +1 -0
- package/build/doc-path-system.js +148 -0
- package/build/doc-path-system.test.d.ts +2 -0
- package/build/doc-path-system.test.d.ts.map +1 -0
- package/build/doc-path-system.test.js +67 -0
- package/build/entities/doc-file-entity.d.ts +5 -0
- package/build/entities/doc-file-entity.d.ts.map +1 -0
- package/build/entities/doc-file-entity.js +1 -0
- package/build/entities/doc-file-index-entity.d.ts +30 -0
- package/build/entities/doc-file-index-entity.d.ts.map +1 -0
- package/build/entities/doc-file-index-entity.js +49 -0
- package/build/entities/doc-file-index-entity.test.d.ts +2 -0
- package/build/entities/doc-file-index-entity.test.d.ts.map +1 -0
- package/build/entities/doc-file-index-entity.test.js +195 -0
- package/build/entities/doc-file-md-entity.d.ts +30 -0
- package/build/entities/doc-file-md-entity.d.ts.map +1 -0
- package/build/entities/doc-file-md-entity.js +49 -0
- package/build/entities/doc-file-md-entity.test.d.ts +2 -0
- package/build/entities/doc-file-md-entity.test.d.ts.map +1 -0
- package/build/entities/doc-file-md-entity.test.js +178 -0
- package/build/entities/doc-file-unknown-entity.d.ts +26 -0
- package/build/entities/doc-file-unknown-entity.d.ts.map +1 -0
- package/build/entities/doc-file-unknown-entity.js +45 -0
- package/build/entities/doc-file-unknown-entity.test.d.ts +2 -0
- package/build/entities/doc-file-unknown-entity.test.d.ts.map +1 -0
- package/build/entities/doc-file-unknown-entity.test.js +131 -0
- package/build/index.d.ts +42 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +39 -24064
- package/build/models.d.ts +818 -0
- package/build/models.d.ts.map +1 -0
- package/build/models.js +312 -0
- package/build/types.d.ts +154 -0
- package/build/types.d.ts.map +1 -0
- package/build/types.js +1 -0
- package/build/values/doc-content-md-front-matter-value.d.ts +49 -0
- package/build/values/doc-content-md-front-matter-value.d.ts.map +1 -0
- package/build/values/doc-content-md-front-matter-value.js +94 -0
- package/build/values/doc-content-md-front-matter-value.test.d.ts +2 -0
- package/build/values/doc-content-md-front-matter-value.test.d.ts.map +1 -0
- package/build/values/doc-content-md-front-matter-value.test.js +73 -0
- package/build/values/doc-content-md-value.d.ts +66 -0
- package/build/values/doc-content-md-value.d.ts.map +1 -0
- package/build/values/doc-content-md-value.js +218 -0
- package/build/values/doc-content-md-value.test.d.ts +2 -0
- package/build/values/doc-content-md-value.test.d.ts.map +1 -0
- package/build/values/doc-content-md-value.test.js +179 -0
- package/build/values/doc-directory-path-value.d.ts +89 -0
- package/build/values/doc-directory-path-value.d.ts.map +1 -0
- package/build/values/doc-directory-path-value.js +145 -0
- package/build/values/doc-directory-path-value.test.d.ts +2 -0
- package/build/values/doc-directory-path-value.test.d.ts.map +1 -0
- package/build/values/doc-directory-path-value.test.js +68 -0
- package/build/values/doc-file-content-index-value.d.ts +62 -0
- package/build/values/doc-file-content-index-value.d.ts.map +1 -0
- package/build/values/doc-file-content-index-value.js +134 -0
- package/build/values/doc-file-content-index-value.test.d.ts +2 -0
- package/build/values/doc-file-content-index-value.test.d.ts.map +1 -0
- package/build/values/doc-file-content-index-value.test.js +203 -0
- package/build/values/doc-file-content-md-value.d.ts +62 -0
- package/build/values/doc-file-content-md-value.d.ts.map +1 -0
- package/build/values/doc-file-content-md-value.js +139 -0
- package/build/values/doc-file-content-md-value.test.d.ts +2 -0
- package/build/values/doc-file-content-md-value.test.d.ts.map +1 -0
- package/build/values/doc-file-content-md-value.test.js +160 -0
- package/build/values/doc-file-path-value.d.ts +47 -0
- package/build/values/doc-file-path-value.d.ts.map +1 -0
- package/build/values/doc-file-path-value.js +83 -0
- package/build/values/doc-file-path-value.test.d.ts +2 -0
- package/build/values/doc-file-path-value.test.d.ts.map +1 -0
- package/build/values/doc-file-path-value.test.js +84 -0
- package/build/values/doc-front-matter-index-value.d.ts +66 -0
- package/build/values/doc-front-matter-index-value.d.ts.map +1 -0
- package/build/values/doc-front-matter-index-value.js +185 -0
- package/build/values/doc-front-matter-index-value.test.d.ts +2 -0
- package/build/values/doc-front-matter-index-value.test.d.ts.map +1 -0
- package/build/values/doc-front-matter-index-value.test.js +98 -0
- package/build/values/doc-front-matter-md-value-accessor.test.d.ts +2 -0
- package/build/values/doc-front-matter-md-value-accessor.test.d.ts.map +1 -0
- package/build/values/doc-front-matter-md-value-accessor.test.js +226 -0
- package/build/values/doc-front-matter-md-value.d.ts +80 -0
- package/build/values/doc-front-matter-md-value.d.ts.map +1 -0
- package/build/values/doc-front-matter-md-value.js +257 -0
- package/build/values/doc-front-matter-md-value.test.d.ts +2 -0
- package/build/values/doc-front-matter-md-value.test.d.ts.map +1 -0
- package/build/values/doc-front-matter-md-value.test.js +198 -0
- package/build/values/doc-relation-field-value.d.ts +57 -0
- package/build/values/doc-relation-field-value.d.ts.map +1 -0
- package/build/values/doc-relation-field-value.js +85 -0
- package/build/values/doc-relation-field-value.test.d.ts +2 -0
- package/build/values/doc-relation-field-value.test.d.ts.map +1 -0
- package/build/values/doc-relation-field-value.test.js +115 -0
- package/build/values/doc-relation-file-value.d.ts +33 -0
- package/build/values/doc-relation-file-value.d.ts.map +1 -0
- package/build/values/doc-relation-file-value.js +55 -0
- package/build/values/doc-relation-file-value.test.d.ts +2 -0
- package/build/values/doc-relation-file-value.test.d.ts.map +1 -0
- package/build/values/doc-relation-file-value.test.js +77 -0
- package/build/values/doc-relation-value.d.ts +34 -0
- package/build/values/doc-relation-value.d.ts.map +1 -0
- package/build/values/doc-relation-value.js +56 -0
- package/build/values/doc-relation-value.test.d.ts +2 -0
- package/build/values/doc-relation-value.test.d.ts.map +1 -0
- package/build/values/doc-relation-value.test.js +89 -0
- package/build/values/doc-schema-field-boolean-multiple-value.d.ts +23 -0
- package/build/values/doc-schema-field-boolean-multiple-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-boolean-multiple-value.js +43 -0
- package/build/values/doc-schema-field-boolean-multiple-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-boolean-multiple-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-boolean-multiple-value.test.js +76 -0
- package/build/values/doc-schema-field-boolean-single-value.d.ts +23 -0
- package/build/values/doc-schema-field-boolean-single-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-boolean-single-value.js +39 -0
- package/build/values/doc-schema-field-boolean-single-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-boolean-single-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-boolean-single-value.test.js +73 -0
- package/build/values/doc-schema-field-factory.d.ts +37 -0
- package/build/values/doc-schema-field-factory.d.ts.map +1 -0
- package/build/values/doc-schema-field-factory.js +151 -0
- package/build/values/doc-schema-field-factory.test.d.ts +2 -0
- package/build/values/doc-schema-field-factory.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-factory.test.js +215 -0
- package/build/values/doc-schema-field-number-multiple-value.d.ts +23 -0
- package/build/values/doc-schema-field-number-multiple-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-number-multiple-value.js +43 -0
- package/build/values/doc-schema-field-number-multiple-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-number-multiple-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-number-multiple-value.test.js +79 -0
- package/build/values/doc-schema-field-number-single-value.d.ts +23 -0
- package/build/values/doc-schema-field-number-single-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-number-single-value.js +39 -0
- package/build/values/doc-schema-field-number-single-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-number-single-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-number-single-value.test.js +77 -0
- package/build/values/doc-schema-field-relation-multiple-value.d.ts +24 -0
- package/build/values/doc-schema-field-relation-multiple-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-relation-multiple-value.js +46 -0
- package/build/values/doc-schema-field-relation-multiple-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-relation-multiple-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-relation-multiple-value.test.js +83 -0
- package/build/values/doc-schema-field-relation-single-value.d.ts +24 -0
- package/build/values/doc-schema-field-relation-single-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-relation-single-value.js +42 -0
- package/build/values/doc-schema-field-relation-single-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-relation-single-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-relation-single-value.test.js +83 -0
- package/build/values/doc-schema-field-select-number-multiple-value.d.ts +25 -0
- package/build/values/doc-schema-field-select-number-multiple-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-number-multiple-value.js +48 -0
- package/build/values/doc-schema-field-select-number-multiple-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-select-number-multiple-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-number-multiple-value.test.js +84 -0
- package/build/values/doc-schema-field-select-number-single-value.d.ts +25 -0
- package/build/values/doc-schema-field-select-number-single-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-number-single-value.js +45 -0
- package/build/values/doc-schema-field-select-number-single-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-select-number-single-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-number-single-value.test.js +96 -0
- package/build/values/doc-schema-field-select-text-multiple-value.d.ts +25 -0
- package/build/values/doc-schema-field-select-text-multiple-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-text-multiple-value.js +48 -0
- package/build/values/doc-schema-field-select-text-multiple-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-select-text-multiple-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-text-multiple-value.test.js +84 -0
- package/build/values/doc-schema-field-select-text-single-value.d.ts +25 -0
- package/build/values/doc-schema-field-select-text-single-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-text-single-value.js +47 -0
- package/build/values/doc-schema-field-select-text-single-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-select-text-single-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-select-text-single-value.test.js +96 -0
- package/build/values/doc-schema-field-text-multiple-value.d.ts +23 -0
- package/build/values/doc-schema-field-text-multiple-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-text-multiple-value.js +43 -0
- package/build/values/doc-schema-field-text-multiple-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-text-multiple-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-text-multiple-value.test.js +78 -0
- package/build/values/doc-schema-field-text-single-value.d.ts +23 -0
- package/build/values/doc-schema-field-text-single-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-text-single-value.js +39 -0
- package/build/values/doc-schema-field-text-single-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-text-single-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-text-single-value.test.js +76 -0
- package/build/values/doc-schema-field-type-value.d.ts +61 -0
- package/build/values/doc-schema-field-type-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-type-value.js +134 -0
- package/build/values/doc-schema-field-type-value.test.d.ts +2 -0
- package/build/values/doc-schema-field-type-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-field-type-value.test.js +101 -0
- package/build/values/doc-schema-field-value.d.ts +45 -0
- package/build/values/doc-schema-field-value.d.ts.map +1 -0
- package/build/values/doc-schema-field-value.js +1 -0
- package/build/values/doc-schema-value.d.ts +99 -0
- package/build/values/doc-schema-value.d.ts.map +1 -0
- package/build/values/doc-schema-value.js +269 -0
- package/build/values/doc-schema-value.test.d.ts +2 -0
- package/build/values/doc-schema-value.test.d.ts.map +1 -0
- package/build/values/doc-schema-value.test.js +301 -0
- package/build/values/doc-tree-directory-node-value.d.ts +36 -0
- package/build/values/doc-tree-directory-node-value.d.ts.map +1 -0
- package/build/values/doc-tree-directory-node-value.js +71 -0
- package/build/values/doc-tree-directory-node-value.test.d.ts +2 -0
- package/build/values/doc-tree-directory-node-value.test.d.ts.map +1 -0
- package/build/values/doc-tree-directory-node-value.test.js +162 -0
- package/build/values/doc-tree-file-node-value.d.ts +33 -0
- package/build/values/doc-tree-file-node-value.d.ts.map +1 -0
- package/build/values/doc-tree-file-node-value.js +56 -0
- package/build/values/doc-tree-file-node-value.test.d.ts +2 -0
- package/build/values/doc-tree-file-node-value.test.d.ts.map +1 -0
- package/build/values/doc-tree-file-node-value.test.js +113 -0
- package/debug/debug.ts +108 -0
- package/package.json +7 -45
- package/bin/docs.js +0 -3
- package/build/assets/index.css +0 -1
- package/build/assets/index.js +0 -298
- package/build/index.html +0 -13
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { DocFileSystem } from "./doc-file-system";
|
|
2
|
+
import { DocPathSystem } from "./doc-path-system";
|
|
3
|
+
/**
|
|
4
|
+
* テスト用のインメモリファイルシステム
|
|
5
|
+
*/
|
|
6
|
+
export declare class DocFileSystemDebug extends DocFileSystem {
|
|
7
|
+
private files;
|
|
8
|
+
private readonly _pathSystem;
|
|
9
|
+
constructor(props: {
|
|
10
|
+
basePath: string;
|
|
11
|
+
pathSystem: DocPathSystem;
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* PathSystemへのアクセサ(テスト用)
|
|
15
|
+
*/
|
|
16
|
+
getPathSystem(): DocPathSystem;
|
|
17
|
+
/**
|
|
18
|
+
* テスト用のファクトリメソッド
|
|
19
|
+
*/
|
|
20
|
+
static createWithFiles(props: {
|
|
21
|
+
basePath?: string;
|
|
22
|
+
fileContents?: Record<string, string>;
|
|
23
|
+
}): DocFileSystemDebug;
|
|
24
|
+
readFile(filePath: string): Promise<string | null>;
|
|
25
|
+
writeFile(filePath: string, content: string): Promise<void>;
|
|
26
|
+
deleteFile(filePath: string): Promise<Error | null>;
|
|
27
|
+
exists(filePath: string): Promise<boolean>;
|
|
28
|
+
copyFile(source: string, destination: string): Promise<void>;
|
|
29
|
+
moveFile(source: string, destination: string): Promise<void>;
|
|
30
|
+
readDirectory(directoryPath: string): Promise<string[]>;
|
|
31
|
+
readDirectoryRecursive(directoryPath: string): Promise<string[]>;
|
|
32
|
+
readDirectoryFilePaths(directoryPath: string): Promise<string[]>;
|
|
33
|
+
createDirectory(_directoryPath: string): Promise<void>;
|
|
34
|
+
deleteDirectory(directoryPath: string): Promise<void>;
|
|
35
|
+
getFileSize(filePath: string): Promise<number>;
|
|
36
|
+
getFileModifiedTime(filePath: string): Promise<Date>;
|
|
37
|
+
getFileCreatedTime(filePath: string): Promise<Date>;
|
|
38
|
+
isDirectory(relativePath: string): Promise<boolean>;
|
|
39
|
+
isFile(relativePath: string): Promise<boolean>;
|
|
40
|
+
/**
|
|
41
|
+
* ディレクトリ内のエントリ一覧を取得
|
|
42
|
+
*/
|
|
43
|
+
readDirectoryFileNames(directoryPath?: string): Promise<string[]>;
|
|
44
|
+
/**
|
|
45
|
+
* ディレクトリが存在するかチェック
|
|
46
|
+
*/
|
|
47
|
+
directoryExists(relativePath: string): Promise<boolean>;
|
|
48
|
+
/**
|
|
49
|
+
* ファイルが存在するかチェック
|
|
50
|
+
*/
|
|
51
|
+
fileExists(relativePath: string): Promise<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* ディレクトリが存在しない場合は作成する
|
|
54
|
+
*/
|
|
55
|
+
ensureDirectoryExists(_relativePath: string): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* すべてのファイルをクリア
|
|
58
|
+
*/
|
|
59
|
+
clear(): void;
|
|
60
|
+
/**
|
|
61
|
+
* ファイルの存在を確認(テスト用)
|
|
62
|
+
*/
|
|
63
|
+
hasFile(filePath: string): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* ファイルの内容を取得(同期版、テスト用)
|
|
66
|
+
*/
|
|
67
|
+
getFileContent(filePath: string): string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* すべてのファイルパスを取得(テスト用)
|
|
70
|
+
*/
|
|
71
|
+
getAllFilePaths(): string[];
|
|
72
|
+
/**
|
|
73
|
+
* ファイル数を取得(テスト用)
|
|
74
|
+
*/
|
|
75
|
+
getFileCount(): number;
|
|
76
|
+
/**
|
|
77
|
+
* テストデータをセットアップ
|
|
78
|
+
*/
|
|
79
|
+
setupTestFiles(files: Record<string, string>): void;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=doc-file-system-debug.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doc-file-system-debug.d.ts","sourceRoot":"","sources":["../lib/doc-file-system-debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AASjD;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,aAAa;IACnD,OAAO,CAAC,KAAK,CAAmC;IAChD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAe;IAE3C,YAAY,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,aAAa,CAAA;KAAE,EAIjE;IAED;;OAEG;IACH,aAAa,kBAEZ;IAED;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE;QAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KACtC,GAAG,kBAAkB,CAkBrB;IAEc,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAOhE;IAEc,SAAS,CA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,EAAE,CAAC,CAwB3E;IAED;;OAEG;IACY,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAErE;IAED;;OAEG;IACY,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAEhE;IAED;;OAEG;IACY,qBAAqB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzE;IAED;;OAEG;IACH,KAAK,IAAI,IAAI,CAEZ;IAED;;OAEG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEjC;IAED;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEnD;IAED;;OAEG;IACH,eAAe,IAAI,MAAM,EAAE,CAE1B;IAED;;OAEG;IACH,YAAY,IAAI,MAAM,CAErB;IAED;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAUlD;CACF"}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { DocFileSystem } from "./doc-file-system";
|
|
2
|
+
import { DocPathSystem } from "./doc-path-system";
|
|
3
|
+
/**
|
|
4
|
+
* テスト用のインメモリファイルシステム
|
|
5
|
+
*/
|
|
6
|
+
export class DocFileSystemDebug extends DocFileSystem {
|
|
7
|
+
files = new Map();
|
|
8
|
+
_pathSystem;
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
this._pathSystem = props.pathSystem;
|
|
12
|
+
Object.freeze(this);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* PathSystemへのアクセサ(テスト用)
|
|
16
|
+
*/
|
|
17
|
+
getPathSystem() {
|
|
18
|
+
return this._pathSystem;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* テスト用のファクトリメソッド
|
|
22
|
+
*/
|
|
23
|
+
static createWithFiles(props) {
|
|
24
|
+
const pathSystem = new DocPathSystem();
|
|
25
|
+
const basePath = props.basePath ?? "/test";
|
|
26
|
+
const fileSystem = new DocFileSystemDebug({ basePath, pathSystem });
|
|
27
|
+
if (props.fileContents) {
|
|
28
|
+
const now = new Date();
|
|
29
|
+
for (const [path, content] of Object.entries(props.fileContents)) {
|
|
30
|
+
fileSystem.files.set(path, {
|
|
31
|
+
content,
|
|
32
|
+
modifiedTime: now,
|
|
33
|
+
createdTime: now,
|
|
34
|
+
size: new TextEncoder().encode(content).length,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return fileSystem;
|
|
39
|
+
}
|
|
40
|
+
async readFile(filePath) {
|
|
41
|
+
// Remove 'docs/' prefix if present
|
|
42
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
43
|
+
? filePath
|
|
44
|
+
: `docs/${filePath}`;
|
|
45
|
+
const file = this.files.get(normalizedPath);
|
|
46
|
+
return file ? file.content : null;
|
|
47
|
+
}
|
|
48
|
+
async writeFile(filePath, content) {
|
|
49
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
50
|
+
? filePath
|
|
51
|
+
: `docs/${filePath}`;
|
|
52
|
+
const now = new Date();
|
|
53
|
+
const existing = this.files.get(normalizedPath);
|
|
54
|
+
this.files.set(normalizedPath, {
|
|
55
|
+
content,
|
|
56
|
+
modifiedTime: now,
|
|
57
|
+
createdTime: existing?.createdTime ?? now,
|
|
58
|
+
size: new TextEncoder().encode(content).length,
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
async deleteFile(filePath) {
|
|
62
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
63
|
+
? filePath
|
|
64
|
+
: `docs/${filePath}`;
|
|
65
|
+
try {
|
|
66
|
+
this.files.delete(normalizedPath);
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
catch (error) {
|
|
70
|
+
return new Error(`Failed to delete file at ${filePath}: ${error}`);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async exists(filePath) {
|
|
74
|
+
// Normalize path
|
|
75
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
76
|
+
? filePath
|
|
77
|
+
: `docs/${filePath}`;
|
|
78
|
+
// ファイルが存在するか確認
|
|
79
|
+
if (this.files.has(normalizedPath)) {
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
// ディレクトリとして存在するか確認
|
|
83
|
+
const dirPath = normalizedPath.endsWith("/")
|
|
84
|
+
? normalizedPath
|
|
85
|
+
: `${normalizedPath}/`;
|
|
86
|
+
for (const path of this.files.keys()) {
|
|
87
|
+
if (path.startsWith(dirPath)) {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
async copyFile(source, destination) {
|
|
94
|
+
const normalizedSource = source.startsWith("docs/")
|
|
95
|
+
? source
|
|
96
|
+
: `docs/${source}`;
|
|
97
|
+
const normalizedDest = destination.startsWith("docs/")
|
|
98
|
+
? destination
|
|
99
|
+
: `docs/${destination}`;
|
|
100
|
+
const file = this.files.get(normalizedSource);
|
|
101
|
+
if (!file) {
|
|
102
|
+
throw new Error(`Source file not found: ${normalizedSource}`);
|
|
103
|
+
}
|
|
104
|
+
this.files.set(normalizedDest, {
|
|
105
|
+
...file,
|
|
106
|
+
createdTime: new Date(),
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
async moveFile(source, destination) {
|
|
110
|
+
const normalizedSource = source.startsWith("docs/")
|
|
111
|
+
? source
|
|
112
|
+
: `docs/${source}`;
|
|
113
|
+
const normalizedDest = destination.startsWith("docs/")
|
|
114
|
+
? destination
|
|
115
|
+
: `docs/${destination}`;
|
|
116
|
+
const file = this.files.get(normalizedSource);
|
|
117
|
+
if (!file) {
|
|
118
|
+
throw new Error(`Source file not found: ${normalizedSource}`);
|
|
119
|
+
}
|
|
120
|
+
this.files.set(normalizedDest, file);
|
|
121
|
+
this.files.delete(normalizedSource);
|
|
122
|
+
}
|
|
123
|
+
async readDirectory(directoryPath) {
|
|
124
|
+
const dirPath = directoryPath.endsWith("/")
|
|
125
|
+
? directoryPath
|
|
126
|
+
: `${directoryPath}/`;
|
|
127
|
+
const entries = new Set();
|
|
128
|
+
for (const path of this.files.keys()) {
|
|
129
|
+
if (path.startsWith(dirPath)) {
|
|
130
|
+
const relativePath = path.slice(dirPath.length);
|
|
131
|
+
const firstSegment = relativePath.split("/")[0];
|
|
132
|
+
if (firstSegment) {
|
|
133
|
+
entries.add(firstSegment);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return Array.from(entries).sort();
|
|
138
|
+
}
|
|
139
|
+
async readDirectoryRecursive(directoryPath) {
|
|
140
|
+
const dirPath = directoryPath.endsWith("/")
|
|
141
|
+
? directoryPath
|
|
142
|
+
: `${directoryPath}/`;
|
|
143
|
+
const files = [];
|
|
144
|
+
for (const path of this.files.keys()) {
|
|
145
|
+
if (path.startsWith(dirPath)) {
|
|
146
|
+
files.push(path);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return files.sort();
|
|
150
|
+
}
|
|
151
|
+
async readDirectoryFilePaths(directoryPath) {
|
|
152
|
+
const dirPath = directoryPath.endsWith("/")
|
|
153
|
+
? directoryPath
|
|
154
|
+
: `${directoryPath}/`;
|
|
155
|
+
const files = [];
|
|
156
|
+
for (const path of this.files.keys()) {
|
|
157
|
+
if (path.startsWith(dirPath) &&
|
|
158
|
+
!path.slice(dirPath.length).includes("/")) {
|
|
159
|
+
files.push(path);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return files.sort();
|
|
163
|
+
}
|
|
164
|
+
async createDirectory(_directoryPath) {
|
|
165
|
+
// インメモリファイルシステムではディレクトリの作成は不要
|
|
166
|
+
// ファイルを作成する際に暗黙的にディレクトリが作成される
|
|
167
|
+
}
|
|
168
|
+
async deleteDirectory(directoryPath) {
|
|
169
|
+
const dirPath = directoryPath.endsWith("/")
|
|
170
|
+
? directoryPath
|
|
171
|
+
: `${directoryPath}/`;
|
|
172
|
+
for (const path of this.files.keys()) {
|
|
173
|
+
if (path.startsWith(dirPath)) {
|
|
174
|
+
this.files.delete(path);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
async getFileSize(filePath) {
|
|
179
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
180
|
+
? filePath
|
|
181
|
+
: `docs/${filePath}`;
|
|
182
|
+
const file = this.files.get(normalizedPath);
|
|
183
|
+
if (!file) {
|
|
184
|
+
throw new Error(`File not found: ${normalizedPath}`);
|
|
185
|
+
}
|
|
186
|
+
return file.size;
|
|
187
|
+
}
|
|
188
|
+
async getFileModifiedTime(filePath) {
|
|
189
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
190
|
+
? filePath
|
|
191
|
+
: `docs/${filePath}`;
|
|
192
|
+
const file = this.files.get(normalizedPath);
|
|
193
|
+
if (!file) {
|
|
194
|
+
throw new Error(`File not found: ${normalizedPath}`);
|
|
195
|
+
}
|
|
196
|
+
return file.modifiedTime;
|
|
197
|
+
}
|
|
198
|
+
async getFileCreatedTime(filePath) {
|
|
199
|
+
const normalizedPath = filePath.startsWith("docs/")
|
|
200
|
+
? filePath
|
|
201
|
+
: `docs/${filePath}`;
|
|
202
|
+
const file = this.files.get(normalizedPath);
|
|
203
|
+
if (!file) {
|
|
204
|
+
throw new Error(`File not found: ${normalizedPath}`);
|
|
205
|
+
}
|
|
206
|
+
return file.createdTime;
|
|
207
|
+
}
|
|
208
|
+
async isDirectory(relativePath) {
|
|
209
|
+
// In memory system doesn't track directories explicitly
|
|
210
|
+
// Check if any files exist with this prefix
|
|
211
|
+
const normalizedPath = relativePath.startsWith("docs/")
|
|
212
|
+
? relativePath
|
|
213
|
+
: `docs/${relativePath}`;
|
|
214
|
+
const dirPath = normalizedPath.endsWith("/")
|
|
215
|
+
? normalizedPath
|
|
216
|
+
: `${normalizedPath}/`;
|
|
217
|
+
for (const path of this.files.keys()) {
|
|
218
|
+
if (path.startsWith(dirPath)) {
|
|
219
|
+
return true;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
return false;
|
|
223
|
+
}
|
|
224
|
+
async isFile(relativePath) {
|
|
225
|
+
const normalizedPath = relativePath.startsWith("docs/")
|
|
226
|
+
? relativePath
|
|
227
|
+
: `docs/${relativePath}`;
|
|
228
|
+
return this.files.has(normalizedPath);
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* ディレクトリ内のエントリ一覧を取得
|
|
232
|
+
*/
|
|
233
|
+
async readDirectoryFileNames(directoryPath = "") {
|
|
234
|
+
// Normalize path
|
|
235
|
+
const normalizedDir = directoryPath === ""
|
|
236
|
+
? "docs"
|
|
237
|
+
: directoryPath.startsWith("docs/")
|
|
238
|
+
? directoryPath
|
|
239
|
+
: `docs/${directoryPath}`;
|
|
240
|
+
const dirPath = normalizedDir.endsWith("/")
|
|
241
|
+
? normalizedDir
|
|
242
|
+
: `${normalizedDir}/`;
|
|
243
|
+
const entries = new Set();
|
|
244
|
+
for (const path of this.files.keys()) {
|
|
245
|
+
if (path.startsWith(dirPath)) {
|
|
246
|
+
const relativePath = path.slice(dirPath.length);
|
|
247
|
+
const firstSegment = relativePath.split("/")[0];
|
|
248
|
+
if (firstSegment) {
|
|
249
|
+
entries.add(firstSegment);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return Array.from(entries).sort();
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* ディレクトリが存在するかチェック
|
|
257
|
+
*/
|
|
258
|
+
async directoryExists(relativePath) {
|
|
259
|
+
return this.isDirectory(relativePath);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* ファイルが存在するかチェック
|
|
263
|
+
*/
|
|
264
|
+
async fileExists(relativePath) {
|
|
265
|
+
return this.isFile(relativePath);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* ディレクトリが存在しない場合は作成する
|
|
269
|
+
*/
|
|
270
|
+
async ensureDirectoryExists(_relativePath) {
|
|
271
|
+
// インメモリファイルシステムではディレクトリの作成は不要
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* すべてのファイルをクリア
|
|
275
|
+
*/
|
|
276
|
+
clear() {
|
|
277
|
+
this.files.clear();
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* ファイルの存在を確認(テスト用)
|
|
281
|
+
*/
|
|
282
|
+
hasFile(filePath) {
|
|
283
|
+
return this.files.has(filePath);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* ファイルの内容を取得(同期版、テスト用)
|
|
287
|
+
*/
|
|
288
|
+
getFileContent(filePath) {
|
|
289
|
+
return this.files.get(filePath)?.content;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* すべてのファイルパスを取得(テスト用)
|
|
293
|
+
*/
|
|
294
|
+
getAllFilePaths() {
|
|
295
|
+
return Array.from(this.files.keys()).sort();
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* ファイル数を取得(テスト用)
|
|
299
|
+
*/
|
|
300
|
+
getFileCount() {
|
|
301
|
+
return this.files.size;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* テストデータをセットアップ
|
|
305
|
+
*/
|
|
306
|
+
setupTestFiles(files) {
|
|
307
|
+
const now = new Date();
|
|
308
|
+
for (const [path, content] of Object.entries(files)) {
|
|
309
|
+
this.files.set(path, {
|
|
310
|
+
content,
|
|
311
|
+
modifiedTime: now,
|
|
312
|
+
createdTime: now,
|
|
313
|
+
size: new TextEncoder().encode(content).length,
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { DocPathSystem } from "./doc-path-system";
|
|
2
|
+
type Props = {
|
|
3
|
+
basePath: string;
|
|
4
|
+
pathSystem: DocPathSystem;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* ファイルシステム
|
|
8
|
+
*/
|
|
9
|
+
export declare class DocFileSystem {
|
|
10
|
+
private readonly basePath;
|
|
11
|
+
private readonly pathSystem;
|
|
12
|
+
constructor(props: Props);
|
|
13
|
+
/**
|
|
14
|
+
* 指定されたパスのファイルの内容を読み込む
|
|
15
|
+
*/
|
|
16
|
+
readFile(relativePath: string): Promise<string | null>;
|
|
17
|
+
/**
|
|
18
|
+
* 指定されたパスのファイルに内容を書き込む(必要に応じてディレクトリも作成)
|
|
19
|
+
*/
|
|
20
|
+
writeFile(relativePath: string, content: string): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* 指定されたパスのファイルを削除
|
|
23
|
+
*/
|
|
24
|
+
deleteFile(relativePath: string): Promise<Error | null>;
|
|
25
|
+
/**
|
|
26
|
+
* 指定されたパスのファイル名を取得
|
|
27
|
+
*/
|
|
28
|
+
readFileName(relativePath: string): string;
|
|
29
|
+
/**
|
|
30
|
+
* 指定されたパスのファイル拡張子を取得
|
|
31
|
+
*/
|
|
32
|
+
readFileExtension(relativePath: string): string;
|
|
33
|
+
/**
|
|
34
|
+
* 指定されたパスのファイルが存在するディレクトリパスを取得
|
|
35
|
+
*/
|
|
36
|
+
readFileDirectory(relativePath: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* ディレクトリ内のエントリ一覧を取得
|
|
39
|
+
*/
|
|
40
|
+
readDirectoryFileNames(relativePath?: string): Promise<string[]>;
|
|
41
|
+
readDirectoryFilePaths(relativePath: string): Promise<string[]>;
|
|
42
|
+
/**
|
|
43
|
+
* 指定パスがディレクトリかチェック
|
|
44
|
+
*/
|
|
45
|
+
isDirectory(relativePath: string): Promise<boolean>;
|
|
46
|
+
/**
|
|
47
|
+
* 指定パスがファイルかチェック
|
|
48
|
+
*/
|
|
49
|
+
isFile(relativePath: string): Promise<boolean>;
|
|
50
|
+
/**
|
|
51
|
+
* ファイルまたはディレクトリが存在するかチェック
|
|
52
|
+
*/
|
|
53
|
+
exists(relativePath: string): Promise<boolean>;
|
|
54
|
+
/**
|
|
55
|
+
* ディレクトリが存在するかチェック
|
|
56
|
+
*/
|
|
57
|
+
directoryExists(relativePath: string): Promise<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* ファイルが存在するかチェック
|
|
60
|
+
*/
|
|
61
|
+
fileExists(relativePath: string): Promise<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* ベースパスを取得
|
|
64
|
+
*/
|
|
65
|
+
getBasePath(): string;
|
|
66
|
+
/**
|
|
67
|
+
* 相対パスを絶対パスに変換
|
|
68
|
+
*/
|
|
69
|
+
resolve(relativePath: string): string;
|
|
70
|
+
/**
|
|
71
|
+
* ディレクトリを作成する
|
|
72
|
+
*/
|
|
73
|
+
createDirectory(relativePath: string): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* ファイルのサイズを取得(バイト単位)
|
|
76
|
+
*/
|
|
77
|
+
getFileSize(relativePath: string): Promise<number>;
|
|
78
|
+
/**
|
|
79
|
+
* ディレクトリが存在しない場合は作成する
|
|
80
|
+
*/
|
|
81
|
+
ensureDirectoryExists(relativePath: string): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* ファイルをコピー
|
|
84
|
+
*/
|
|
85
|
+
copyFile(sourcePath: string, destinationPath: string): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* ファイルを移動
|
|
88
|
+
*/
|
|
89
|
+
moveFile(sourcePath: string, destinationPath: string): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* ファイルの最終更新日時を取得
|
|
92
|
+
*/
|
|
93
|
+
getFileModifiedTime(relativePath: string): Promise<Date>;
|
|
94
|
+
/**
|
|
95
|
+
* ファイルの作成日時を取得
|
|
96
|
+
*/
|
|
97
|
+
getFileCreatedTime(relativePath: string): Promise<Date>;
|
|
98
|
+
}
|
|
99
|
+
export {};
|
|
100
|
+
//# sourceMappingURL=doc-file-system.d.ts.map
|
|
@@ -0,0 +1 @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