@interactive-inc/docs-client 1.0.0 → 1.0.2

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/build/index.d.ts CHANGED
@@ -55,11 +55,11 @@ declare class DocFileSystem {
55
55
  /**
56
56
  * Read file content at the specified path
57
57
  */
58
- readFile(relativePath: string): Promise<string | null>;
58
+ readFile(relativePath: string): Promise<string | null | Error>;
59
59
  /**
60
60
  * Write content to file at the specified path (creates directory if needed)
61
61
  */
62
- writeFile(relativePath: string, content: string): Promise<void>;
62
+ writeFile(relativePath: string, content: string): Promise<Error | null>;
63
63
  /**
64
64
  * Delete file at the specified path
65
65
  */
@@ -79,8 +79,8 @@ declare class DocFileSystem {
79
79
  /**
80
80
  * Get list of entries in directory
81
81
  */
82
- readDirectoryFileNames(relativePath?: string): Promise<string[]>;
83
- readDirectoryFilePaths(relativePath: string): Promise<string[]>;
82
+ readDirectoryFileNames(relativePath?: string): Promise<string[] | Error>;
83
+ readDirectoryFilePaths(relativePath: string): Promise<string[] | Error>;
84
84
  /**
85
85
  * Check if path is a directory
86
86
  */
@@ -112,31 +112,31 @@ declare class DocFileSystem {
112
112
  /**
113
113
  * Create directory
114
114
  */
115
- createDirectory(relativePath: string): Promise<void>;
115
+ createDirectory(relativePath: string): Promise<Error | null>;
116
116
  /**
117
117
  * Get file size in bytes
118
118
  */
119
- getFileSize(relativePath: string): Promise<number>;
119
+ getFileSize(relativePath: string): Promise<number | Error>;
120
120
  /**
121
121
  * Create directory if it doesn't exist
122
122
  */
123
- ensureDirectoryExists(relativePath: string): Promise<void>;
123
+ ensureDirectoryExists(relativePath: string): Promise<Error | null>;
124
124
  /**
125
125
  * Copy file
126
126
  */
127
- copyFile(sourcePath: string, destinationPath: string): Promise<void>;
127
+ copyFile(sourcePath: string, destinationPath: string): Promise<Error | null>;
128
128
  /**
129
129
  * Move file
130
130
  */
131
- moveFile(sourcePath: string, destinationPath: string): Promise<void>;
131
+ moveFile(sourcePath: string, destinationPath: string): Promise<Error | null>;
132
132
  /**
133
133
  * Get file last modified time
134
134
  */
135
- getFileModifiedTime(relativePath: string): Promise<Date>;
135
+ getFileModifiedTime(relativePath: string): Promise<Date | Error>;
136
136
  /**
137
137
  * Get file creation time
138
138
  */
139
- getFileCreatedTime(relativePath: string): Promise<Date>;
139
+ getFileCreatedTime(relativePath: string): Promise<Date | Error>;
140
140
  }
141
141
 
142
142
  /**
@@ -307,12 +307,12 @@ declare class DocFileMdReference<T extends DocCustomSchema> {
307
307
  /**
308
308
  * Write entity
309
309
  */
310
- write(entity: DocFileMdEntity<T>): Promise<null>;
311
- writeText(text: string): Promise<void>;
310
+ write(entity: DocFileMdEntity<T>): Promise<Error | null>;
311
+ writeText(text: string): Promise<Error | null>;
312
312
  /**
313
313
  * Create new file with default content
314
314
  */
315
- writeDefault(): Promise<void>;
315
+ writeDefault(): Promise<Error | null>;
316
316
  /**
317
317
  * Delete file
318
318
  */
@@ -320,11 +320,11 @@ declare class DocFileMdReference<T extends DocCustomSchema> {
320
320
  /**
321
321
  * Copy file
322
322
  */
323
- copyTo(destinationPath: string): Promise<void>;
323
+ copyTo(destinationPath: string): Promise<Error | null>;
324
324
  /**
325
325
  * Move file
326
326
  */
327
- moveTo(destinationPath: string): Promise<void>;
327
+ moveTo(destinationPath: string): Promise<Error | null>;
328
328
  /**
329
329
  * Move file to archive and return new reference
330
330
  */
@@ -336,15 +336,15 @@ declare class DocFileMdReference<T extends DocCustomSchema> {
336
336
  /**
337
337
  * Get file size in bytes
338
338
  */
339
- size(): Promise<number>;
339
+ size(): Promise<number | Error>;
340
340
  /**
341
341
  * Get file last modified time
342
342
  */
343
- lastModified(): Promise<Date>;
343
+ lastModified(): Promise<Date | Error>;
344
344
  /**
345
345
  * Get file creation time
346
346
  */
347
- createdAt(): Promise<Date>;
347
+ createdAt(): Promise<Date | Error>;
348
348
  directory(): DocDirectoryReference<T>;
349
349
  /**
350
350
  * Get relation based on schema
@@ -422,15 +422,15 @@ declare class DocFileUnknownReference {
422
422
  /**
423
423
  * Write content to file
424
424
  */
425
- writeContent(content: string): Promise<void>;
425
+ writeContent(content: string): Promise<Error | null>;
426
426
  /**
427
427
  * Write entity
428
428
  */
429
- write(entity: DocFileUnknownEntity): Promise<void>;
429
+ write(entity: DocFileUnknownEntity): Promise<Error | null>;
430
430
  /**
431
431
  * Write raw content
432
432
  */
433
- writeRaw(content: string): Promise<void>;
433
+ writeRaw(content: string): Promise<Error | null>;
434
434
  /**
435
435
  * Delete file
436
436
  */
@@ -442,23 +442,23 @@ declare class DocFileUnknownReference {
442
442
  /**
443
443
  * Copy file
444
444
  */
445
- copyTo(destinationPath: string): Promise<void>;
445
+ copyTo(destinationPath: string): Promise<Error | null>;
446
446
  /**
447
447
  * Move file
448
448
  */
449
- moveTo(destinationPath: string): Promise<void>;
449
+ moveTo(destinationPath: string): Promise<Error | null>;
450
450
  /**
451
451
  * Get file size in bytes
452
452
  */
453
- size(): Promise<number>;
453
+ size(): Promise<number | Error>;
454
454
  /**
455
455
  * Get file last modified time
456
456
  */
457
- lastModified(): Promise<Date>;
457
+ lastModified(): Promise<Date | Error>;
458
458
  /**
459
459
  * Get file creation time
460
460
  */
461
- createdAt(): Promise<Date>;
461
+ createdAt(): Promise<Date | Error>;
462
462
  /**
463
463
  * Move file to archive and return new reference
464
464
  */
@@ -1172,15 +1172,15 @@ declare class DocFileRelationReference {
1172
1172
  * Full path
1173
1173
  */
1174
1174
  get fullPath(): string;
1175
- read(): Promise<DocRelationValue | null>;
1175
+ read(): Promise<DocRelationValue | Error | null>;
1176
1176
  /**
1177
1177
  * Read list of relation files
1178
1178
  */
1179
- readFiles(): Promise<DocRelationFileValue[]>;
1179
+ readFiles(): Promise<DocRelationFileValue[] | Error>;
1180
1180
  /**
1181
1181
  * Read single relation file
1182
1182
  */
1183
- readFile(filePath: string): Promise<DocRelationFileValue | null>;
1183
+ readFile(filePath: string): Promise<DocRelationFileValue | Error | null>;
1184
1184
  /**
1185
1185
  * Check if file exists
1186
1186
  */
@@ -1188,15 +1188,15 @@ declare class DocFileRelationReference {
1188
1188
  /**
1189
1189
  * Get list of file names (without extension)
1190
1190
  */
1191
- readSlugs(): Promise<string[]>;
1191
+ readSlugs(): Promise<string[] | Error>;
1192
1192
  /**
1193
1193
  * Get file count
1194
1194
  */
1195
- count(): Promise<number>;
1195
+ count(): Promise<number | Error>;
1196
1196
  /**
1197
1197
  * Check if empty
1198
1198
  */
1199
- isEmpty(): Promise<boolean>;
1199
+ isEmpty(): Promise<boolean | Error>;
1200
1200
  }
1201
1201
 
1202
1202
  /**
@@ -1416,7 +1416,7 @@ declare class DocFileIndexReference<T extends DocCustomSchema> {
1416
1416
  get filePath(): string;
1417
1417
  get fileFullPath(): string;
1418
1418
  get durectoryPath(): string;
1419
- read(): Promise<DocFileIndexEntity<T>>;
1419
+ read(): Promise<DocFileIndexEntity<T> | Error>;
1420
1420
  /**
1421
1421
  * Read file content
1422
1422
  */
@@ -1424,15 +1424,15 @@ declare class DocFileIndexReference<T extends DocCustomSchema> {
1424
1424
  /**
1425
1425
  * Write content to file
1426
1426
  */
1427
- writeContent(content: string): Promise<void>;
1427
+ writeContent(content: string): Promise<Error | null>;
1428
1428
  /**
1429
1429
  * Write entity
1430
1430
  */
1431
- write(entity: DocFileIndexEntity<T>): Promise<void>;
1431
+ write(entity: DocFileIndexEntity<T>): Promise<Error | null>;
1432
1432
  /**
1433
1433
  * Create new file with default content
1434
1434
  */
1435
- writeDefault(): Promise<null>;
1435
+ writeDefault(): Promise<Error | null>;
1436
1436
  /**
1437
1437
  * Delete file
1438
1438
  */
@@ -1441,20 +1441,20 @@ declare class DocFileIndexReference<T extends DocCustomSchema> {
1441
1441
  * Check if file exists
1442
1442
  */
1443
1443
  exists(): Promise<boolean>;
1444
- relations(): Promise<DocFileRelationReference[]>;
1445
- readRelations(): Promise<DocRelationValue[]>;
1444
+ relations(): Promise<DocFileRelationReference[] | Error>;
1445
+ readRelations(): Promise<DocRelationValue[] | Error>;
1446
1446
  /**
1447
1447
  * Get file size in bytes
1448
1448
  */
1449
- size(): Promise<number>;
1449
+ size(): Promise<number | Error>;
1450
1450
  /**
1451
1451
  * Get last modified date
1452
1452
  */
1453
- lastModified(): Promise<Date>;
1453
+ lastModified(): Promise<Date | Error>;
1454
1454
  /**
1455
1455
  * Get file creation date
1456
1456
  */
1457
- createdAt(): Promise<Date>;
1457
+ createdAt(): Promise<Date | Error>;
1458
1458
  /**
1459
1459
  * Move file to archive and return new reference
1460
1460
  */
@@ -1490,25 +1490,25 @@ declare class DocDirectoryReference<T extends DocCustomSchema> {
1490
1490
  get indexFileName(): string;
1491
1491
  get indexFilePath(): string;
1492
1492
  get archiveDirectoryName(): string;
1493
- fileNames(): Promise<string[]>;
1494
- archivedFileNames(): Promise<string[]>;
1495
- filesGenerator(): AsyncGenerator<DocFileMdReference<T> | DocFileUnknownReference, void, unknown>;
1496
- mdFilesGenerator(): AsyncGenerator<DocFileMdReference<T>, void, unknown>;
1497
- files(): Promise<(DocFileMdReference<T> | DocFileUnknownReference)[]>;
1498
- mdFiles(): Promise<DocFileMdReference<T>[]>;
1493
+ fileNames(): Promise<string[] | Error>;
1494
+ archivedFileNames(): Promise<string[] | Error>;
1495
+ filesGenerator(): AsyncGenerator<DocFileMdReference<T> | DocFileUnknownReference | Error, void, unknown>;
1496
+ mdFilesGenerator(): AsyncGenerator<DocFileMdReference<T> | Error, void, unknown>;
1497
+ files(): Promise<(DocFileMdReference<T> | DocFileUnknownReference)[] | Error>;
1498
+ mdFiles(): Promise<DocFileMdReference<T>[] | Error>;
1499
1499
  file<FileName extends string>(fileName: FileName): InferReference<FileName, T>;
1500
1500
  mdFile(fileName: string): DocFileMdReference<T>;
1501
- readFiles(): Promise<(DocFileMdEntity<T> | DocFileUnknownEntity)[]>;
1502
- readMdFiles(): Promise<DocFileMdEntity<T>[]>;
1503
- readUnknownFiles(): Promise<DocFileUnknownEntity[]>;
1501
+ readFiles(): Promise<(DocFileMdEntity<T> | DocFileUnknownEntity)[] | Error>;
1502
+ readMdFiles(): Promise<DocFileMdEntity<T>[] | Error>;
1503
+ readUnknownFiles(): Promise<DocFileUnknownEntity[] | Error>;
1504
1504
  /**
1505
1505
  * Get list of subdirectory names
1506
1506
  */
1507
- directoryNames(): Promise<string[]>;
1507
+ directoryNames(): Promise<string[] | Error>;
1508
1508
  /**
1509
1509
  * Get subdirectory references
1510
1510
  */
1511
- directories(): Promise<DocDirectoryReference<T>[]>;
1511
+ directories(): Promise<DocDirectoryReference<T>[] | Error>;
1512
1512
  /**
1513
1513
  * Get single subdirectory reference
1514
1514
  */
@@ -1611,7 +1611,7 @@ declare class DocFileTreeSystem {
1611
1611
  /**
1612
1612
  * Build file tree recursively
1613
1613
  */
1614
- buildFileTree(directoryPath?: string): Promise<DocTreeNodeValue[]>;
1614
+ buildFileTree(directoryPath?: string): Promise<DocTreeNodeValue[] | Error>;
1615
1615
  /**
1616
1616
  * Create file node
1617
1617
  */
@@ -1631,7 +1631,7 @@ declare class DocFileTreeSystem {
1631
1631
  /**
1632
1632
  * Build directory tree recursively (directories only)
1633
1633
  */
1634
- buildDirectoryTree(directoryPath?: string): Promise<DocTreeDirectoryNodeValue[]>;
1634
+ buildDirectoryTree(directoryPath?: string): Promise<DocTreeDirectoryNodeValue[] | Error>;
1635
1635
  /**
1636
1636
  * Create directory node for directory tree
1637
1637
  */
@@ -1715,7 +1715,7 @@ declare class DocClient {
1715
1715
  /**
1716
1716
  * In-memory file system for testing
1717
1717
  */
1718
- declare class DocFileSystemDebug extends DocFileSystem {
1718
+ declare class DocFileSystemMock extends DocFileSystem {
1719
1719
  private files;
1720
1720
  private readonly _pathSystem;
1721
1721
  constructor(props: {
@@ -1726,33 +1726,37 @@ declare class DocFileSystemDebug extends DocFileSystem {
1726
1726
  * PathSystem accessor (for testing)
1727
1727
  */
1728
1728
  getPathSystem(): DocPathSystem;
1729
+ /**
1730
+ * Create instance (mock data is automatically loaded)
1731
+ */
1732
+ static create(basePath?: string): DocFileSystemMock;
1729
1733
  /**
1730
1734
  * Factory method for testing
1731
1735
  */
1732
1736
  static createWithFiles(props: {
1733
1737
  basePath?: string;
1734
1738
  fileContents?: Record<string, string>;
1735
- }): DocFileSystemDebug;
1736
- readFile(filePath: string): Promise<string | null>;
1737
- writeFile(filePath: string, content: string): Promise<void>;
1739
+ }): DocFileSystemMock;
1740
+ readFile(filePath: string): Promise<string | null | Error>;
1741
+ writeFile(filePath: string, content: string): Promise<Error | null>;
1738
1742
  deleteFile(filePath: string): Promise<Error | null>;
1739
1743
  exists(filePath: string): Promise<boolean>;
1740
- copyFile(source: string, destination: string): Promise<void>;
1741
- moveFile(source: string, destination: string): Promise<void>;
1744
+ copyFile(source: string, destination: string): Promise<Error | null>;
1745
+ moveFile(source: string, destination: string): Promise<Error | null>;
1742
1746
  readDirectory(directoryPath: string): Promise<string[]>;
1743
1747
  readDirectoryRecursive(directoryPath: string): Promise<string[]>;
1744
- readDirectoryFilePaths(directoryPath: string): Promise<string[]>;
1745
- createDirectory(_directoryPath: string): Promise<void>;
1748
+ readDirectoryFilePaths(directoryPath: string): Promise<string[] | Error>;
1749
+ createDirectory(_directoryPath: string): Promise<Error | null>;
1746
1750
  deleteDirectory(directoryPath: string): Promise<void>;
1747
- getFileSize(filePath: string): Promise<number>;
1748
- getFileModifiedTime(filePath: string): Promise<Date>;
1749
- getFileCreatedTime(filePath: string): Promise<Date>;
1751
+ getFileSize(filePath: string): Promise<number | Error>;
1752
+ getFileModifiedTime(filePath: string): Promise<Date | Error>;
1753
+ getFileCreatedTime(filePath: string): Promise<Date | Error>;
1750
1754
  isDirectory(relativePath: string): Promise<boolean>;
1751
1755
  isFile(relativePath: string): Promise<boolean>;
1752
1756
  /**
1753
1757
  * Get list of entries in directory
1754
1758
  */
1755
- readDirectoryFileNames(directoryPath?: string): Promise<string[]>;
1759
+ readDirectoryFileNames(directoryPath?: string): Promise<string[] | Error>;
1756
1760
  /**
1757
1761
  * Check if directory exists
1758
1762
  */
@@ -1764,7 +1768,7 @@ declare class DocFileSystemDebug extends DocFileSystem {
1764
1768
  /**
1765
1769
  * Create directory if it doesn't exist
1766
1770
  */
1767
- ensureDirectoryExists(_relativePath: string): Promise<void>;
1771
+ ensureDirectoryExists(_relativePath: string): Promise<Error | null>;
1768
1772
  /**
1769
1773
  * Clear all files
1770
1774
  */
@@ -1791,6 +1795,27 @@ declare class DocFileSystemDebug extends DocFileSystem {
1791
1795
  setupTestFiles(files: Record<string, string>): void;
1792
1796
  }
1793
1797
 
1798
+ /**
1799
+ * Mock path system for testing
1800
+ */
1801
+ declare class DocPathSystemMock extends DocPathSystem {
1802
+ private readonly _separator;
1803
+ constructor(separator?: string);
1804
+ join(...paths: string[]): string;
1805
+ basename(path: string, ext?: string): string;
1806
+ dirname(path: string): string;
1807
+ extname(path: string): string;
1808
+ relative(from: string, to: string): string;
1809
+ resolve(...paths: string[]): string;
1810
+ normalize(path: string): string;
1811
+ isAbsolute(path: string): boolean;
1812
+ get sep(): string;
1813
+ /**
1814
+ * Set custom separator for testing
1815
+ */
1816
+ static createWithSeparator(separator: string): DocPathSystemMock;
1817
+ }
1818
+
1794
1819
  /**
1795
1820
  * Schema builder
1796
1821
  * Build schemas in a chain style
@@ -1939,4 +1964,4 @@ declare const docCustomSchemaField: {
1939
1964
  };
1940
1965
  };
1941
1966
 
1942
- export { type BaseFieldValueType, type DetectFileType, DocClient, type DocClientConfig, type DocCustomSchema, type DocCustomSchemaField, type DocCustomSchemaFieldBoolean, type DocCustomSchemaFieldMultiNumber, type DocCustomSchemaFieldMultiRelation, type DocCustomSchemaFieldMultiSelectNumber, type DocCustomSchemaFieldMultiSelectText, type DocCustomSchemaFieldMultiText, type DocCustomSchemaFieldNumber, type DocCustomSchemaFieldRelation, type DocCustomSchemaFieldSelectNumber, type DocCustomSchemaFieldSelectText, type DocCustomSchemaFieldText, type DocDirectory, DocDirectoryReference, type DocFieldTypeLiteral, type DocFile, type DocFileEntity, type DocFileIndex, type DocFileIndexContent, DocFileIndexEntity, type DocFileIndexMeta, DocFileIndexReference, type DocFileIndexSchema, type DocFileIndexSchemaField, type DocFileMd, type DocFileMdContent, DocFileMdEntity, type DocFileMdMeta, DocFileMdReference, type DocFilePath, DocFileRelationReference, DocFileSystem, DocFileSystemDebug, DocFileTreeSystem, type DocFileUnknown, DocFileUnknownEntity, DocFileUnknownReference, DocMarkdownSystem, type DocMetaField, type DocMetaFieldBoolean, type DocMetaFieldMultiBoolean, type DocMetaFieldMultiNumber, type DocMetaFieldMultiRelation, type DocMetaFieldMultiSelectNumber, type DocMetaFieldMultiSelectText, type DocMetaFieldMultiText, type DocMetaFieldNumber, type DocMetaFieldRelation, type DocMetaFieldSelectNumber, type DocMetaFieldSelectText, type DocMetaFieldText, type DocMetaFieldType, type DocMetaFieldTypeBoolean, type DocMetaFieldTypeNumber, type DocMetaFieldTypeRelation, type DocMetaFieldTypeSelectNumber, type DocMetaFieldTypeSelectText, type DocMetaFieldTypeText, DocPathSystem, type DocRelation, type DocRelationField, type DocRelationFile, DocSchemaBuilder, type DocSchemaFieldBoolean, type DocSchemaFieldMultiNumber, type DocSchemaFieldMultiRelation, type DocSchemaFieldMultiSelectNumber, type DocSchemaFieldMultiSelectText, type DocSchemaFieldMultiText, type DocSchemaFieldNumber, type DocSchemaFieldRelation, type DocSchemaFieldSelectNumber, type DocSchemaFieldSelectText, type DocSchemaFieldText, type DocSchemaRelationFieldUnion, type DocTreeDirectoryNode, type DocTreeFileNode, type DocTreeNode, type Equals, type ExtractFieldType, type ExtractIndexFieldType, type ExtractRequired, type FieldValueType, type GetIndexFieldType, type GetIndexFieldValueType, type GetValueType, type InferDocFileMd, type InferReference, type MultiRelationKeys, type OptionalKeys, type RecordKey, type RelationKeys, type RequiredKeys, type SchemaToValueType, assertType, defaultTestConfig, defineSchema, docCustomSchemaField, expectType, zDocClientConfig, zDocFileIndexSchemaField, zDocFilePath, zDocFileUnknown, zDocMetaField, zDocMetaFieldBoolean, zDocMetaFieldMultiBoolean, zDocMetaFieldMultiNumber, zDocMetaFieldMultiRelation, zDocMetaFieldMultiSelectNumber, zDocMetaFieldMultiSelectText, zDocMetaFieldMultiText, zDocMetaFieldNumber, zDocMetaFieldRelation, zDocMetaFieldSelectNumber, zDocMetaFieldSelectText, zDocMetaFieldText, zDocMetaFieldType, zDocMetaFieldTypeBoolean, zDocMetaFieldTypeNumber, zDocMetaFieldTypeRelation, zDocMetaFieldTypeSelectNumber, zDocMetaFieldTypeSelectText, zDocMetaFieldTypeText, zDocRelation, zDocRelationField, zDocRelationFile, zDocSchemaFieldBoolean, zDocSchemaFieldMultiNumber, zDocSchemaFieldMultiRelation, zDocSchemaFieldMultiSelectNumber, zDocSchemaFieldMultiSelectText, zDocSchemaFieldMultiText, zDocSchemaFieldNumber, zDocSchemaFieldRelation, zDocSchemaFieldSelectNumber, zDocSchemaFieldSelectText, zDocSchemaFieldText };
1967
+ export { type BaseFieldValueType, type DetectFileType, DocClient, type DocClientConfig, type DocCustomSchema, type DocCustomSchemaField, type DocCustomSchemaFieldBoolean, type DocCustomSchemaFieldMultiNumber, type DocCustomSchemaFieldMultiRelation, type DocCustomSchemaFieldMultiSelectNumber, type DocCustomSchemaFieldMultiSelectText, type DocCustomSchemaFieldMultiText, type DocCustomSchemaFieldNumber, type DocCustomSchemaFieldRelation, type DocCustomSchemaFieldSelectNumber, type DocCustomSchemaFieldSelectText, type DocCustomSchemaFieldText, type DocDirectory, DocDirectoryReference, type DocFieldTypeLiteral, type DocFile, type DocFileEntity, type DocFileIndex, type DocFileIndexContent, DocFileIndexEntity, type DocFileIndexMeta, DocFileIndexReference, type DocFileIndexSchema, type DocFileIndexSchemaField, type DocFileMd, type DocFileMdContent, DocFileMdEntity, type DocFileMdMeta, DocFileMdReference, type DocFilePath, DocFileRelationReference, DocFileSystem, DocFileSystemMock, DocFileTreeSystem, type DocFileUnknown, DocFileUnknownEntity, DocFileUnknownReference, DocMarkdownSystem, type DocMetaField, type DocMetaFieldBoolean, type DocMetaFieldMultiBoolean, type DocMetaFieldMultiNumber, type DocMetaFieldMultiRelation, type DocMetaFieldMultiSelectNumber, type DocMetaFieldMultiSelectText, type DocMetaFieldMultiText, type DocMetaFieldNumber, type DocMetaFieldRelation, type DocMetaFieldSelectNumber, type DocMetaFieldSelectText, type DocMetaFieldText, type DocMetaFieldType, type DocMetaFieldTypeBoolean, type DocMetaFieldTypeNumber, type DocMetaFieldTypeRelation, type DocMetaFieldTypeSelectNumber, type DocMetaFieldTypeSelectText, type DocMetaFieldTypeText, DocPathSystem, DocPathSystemMock, type DocRelation, type DocRelationField, type DocRelationFile, DocSchemaBuilder, type DocSchemaFieldBoolean, type DocSchemaFieldMultiNumber, type DocSchemaFieldMultiRelation, type DocSchemaFieldMultiSelectNumber, type DocSchemaFieldMultiSelectText, type DocSchemaFieldMultiText, type DocSchemaFieldNumber, type DocSchemaFieldRelation, type DocSchemaFieldSelectNumber, type DocSchemaFieldSelectText, type DocSchemaFieldText, type DocSchemaRelationFieldUnion, type DocTreeDirectoryNode, type DocTreeFileNode, type DocTreeNode, type Equals, type ExtractFieldType, type ExtractIndexFieldType, type ExtractRequired, type FieldValueType, type GetIndexFieldType, type GetIndexFieldValueType, type GetValueType, type InferDocFileMd, type InferReference, type MultiRelationKeys, type OptionalKeys, type RecordKey, type RelationKeys, type RequiredKeys, type SchemaToValueType, assertType, defaultTestConfig, defineSchema, docCustomSchemaField, expectType, zDocClientConfig, zDocFileIndexSchemaField, zDocFilePath, zDocFileUnknown, zDocMetaField, zDocMetaFieldBoolean, zDocMetaFieldMultiBoolean, zDocMetaFieldMultiNumber, zDocMetaFieldMultiRelation, zDocMetaFieldMultiSelectNumber, zDocMetaFieldMultiSelectText, zDocMetaFieldMultiText, zDocMetaFieldNumber, zDocMetaFieldRelation, zDocMetaFieldSelectNumber, zDocMetaFieldSelectText, zDocMetaFieldText, zDocMetaFieldType, zDocMetaFieldTypeBoolean, zDocMetaFieldTypeNumber, zDocMetaFieldTypeRelation, zDocMetaFieldTypeSelectNumber, zDocMetaFieldTypeSelectText, zDocMetaFieldTypeText, zDocRelation, zDocRelationField, zDocRelationFile, zDocSchemaFieldBoolean, zDocSchemaFieldMultiNumber, zDocSchemaFieldMultiRelation, zDocSchemaFieldMultiSelectNumber, zDocSchemaFieldMultiSelectText, zDocSchemaFieldMultiText, zDocSchemaFieldNumber, zDocSchemaFieldRelation, zDocSchemaFieldSelectNumber, zDocSchemaFieldSelectText, zDocSchemaFieldText };