hazo_files 2.1.1 → 3.0.0
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/CHANGE_LOG.md +20 -0
- package/config/hazo_files_config.ini.sample +11 -0
- package/dist/background-upload/index.js +4 -2
- package/dist/background-upload/index.mjs +4 -2
- package/dist/background-upload/react/index.js +6 -2
- package/dist/background-upload/react/index.mjs +6 -2
- package/dist/index.d.mts +17 -18
- package/dist/index.d.ts +17 -18
- package/dist/index.js +15016 -489
- package/dist/index.mjs +15030 -489
- package/dist/server/index.d.mts +20 -21
- package/dist/server/index.d.ts +20 -21
- package/dist/server/index.js +15062 -522
- package/dist/server/index.mjs +15081 -526
- package/package.json +21 -12
package/dist/server/index.d.mts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { JobHandler } from 'hazo_jobs';
|
|
2
2
|
import { Readable } from 'node:stream';
|
|
3
|
+
import { HazoAuthError, HazoConfigError, HazoConflictError, HazoNotFoundError, HazoValidationError, HazoExternalError } from 'hazo_core';
|
|
4
|
+
export { HazoError as HazoFilesError } from 'hazo_core';
|
|
3
5
|
import { OAuth2Client } from 'google-auth-library';
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -3348,55 +3350,52 @@ declare function saveConfig(config: HazoFilesConfig, configPath?: string): Promi
|
|
|
3348
3350
|
|
|
3349
3351
|
/**
|
|
3350
3352
|
* Custom error classes for hazo_files
|
|
3353
|
+
* All errors extend the appropriate hazo_core subclass.
|
|
3351
3354
|
*/
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
details?: Record<string, unknown> | undefined;
|
|
3355
|
-
constructor(message: string, code: string, details?: Record<string, unknown> | undefined);
|
|
3356
|
-
}
|
|
3357
|
-
declare class FileNotFoundError extends HazoFilesError {
|
|
3355
|
+
|
|
3356
|
+
declare class FileNotFoundError extends HazoNotFoundError {
|
|
3358
3357
|
constructor(path: string);
|
|
3359
3358
|
}
|
|
3360
|
-
declare class DirectoryNotFoundError extends
|
|
3359
|
+
declare class DirectoryNotFoundError extends HazoNotFoundError {
|
|
3361
3360
|
constructor(path: string);
|
|
3362
3361
|
}
|
|
3363
|
-
declare class FileExistsError extends
|
|
3362
|
+
declare class FileExistsError extends HazoConflictError {
|
|
3364
3363
|
constructor(path: string);
|
|
3365
3364
|
}
|
|
3366
|
-
declare class DirectoryExistsError extends
|
|
3365
|
+
declare class DirectoryExistsError extends HazoConflictError {
|
|
3367
3366
|
constructor(path: string);
|
|
3368
3367
|
}
|
|
3369
|
-
declare class DirectoryNotEmptyError extends
|
|
3368
|
+
declare class DirectoryNotEmptyError extends HazoConflictError {
|
|
3370
3369
|
constructor(path: string);
|
|
3371
3370
|
}
|
|
3372
|
-
declare class PermissionDeniedError extends
|
|
3371
|
+
declare class PermissionDeniedError extends HazoAuthError {
|
|
3373
3372
|
constructor(path: string, operation: string);
|
|
3374
3373
|
}
|
|
3375
|
-
declare class InvalidPathError extends
|
|
3374
|
+
declare class InvalidPathError extends HazoValidationError {
|
|
3376
3375
|
constructor(path: string, reason: string);
|
|
3377
3376
|
}
|
|
3378
|
-
declare class FileTooLargeError extends
|
|
3377
|
+
declare class FileTooLargeError extends HazoValidationError {
|
|
3379
3378
|
constructor(path: string, size: number, maxSize: number);
|
|
3380
3379
|
}
|
|
3381
|
-
declare class InvalidExtensionError extends
|
|
3380
|
+
declare class InvalidExtensionError extends HazoValidationError {
|
|
3382
3381
|
constructor(path: string, extension: string, allowedExtensions: string[]);
|
|
3383
3382
|
}
|
|
3384
|
-
declare class AuthenticationError extends
|
|
3383
|
+
declare class AuthenticationError extends HazoAuthError {
|
|
3385
3384
|
constructor(provider: string, message: string);
|
|
3386
3385
|
}
|
|
3387
|
-
declare class ConfigurationError extends
|
|
3386
|
+
declare class ConfigurationError extends HazoConfigError {
|
|
3388
3387
|
constructor(message: string);
|
|
3389
3388
|
}
|
|
3390
|
-
declare class OperationError extends
|
|
3389
|
+
declare class OperationError extends HazoExternalError {
|
|
3391
3390
|
constructor(operation: string, message: string, details?: Record<string, unknown>);
|
|
3392
3391
|
}
|
|
3393
|
-
declare class QuotaExceededError extends
|
|
3392
|
+
declare class QuotaExceededError extends HazoValidationError {
|
|
3394
3393
|
constructor(scopeId: string, byteUsed: number, byteLimit: number, deltaBytes: number);
|
|
3395
3394
|
}
|
|
3396
|
-
declare class SSRFError extends
|
|
3395
|
+
declare class SSRFError extends HazoValidationError {
|
|
3397
3396
|
constructor(url: string, reason: string);
|
|
3398
3397
|
}
|
|
3399
|
-
declare class ImportSizeCapError extends
|
|
3398
|
+
declare class ImportSizeCapError extends HazoValidationError {
|
|
3400
3399
|
constructor(url: string, capBytes: number);
|
|
3401
3400
|
}
|
|
3402
3401
|
|
|
@@ -3771,4 +3770,4 @@ declare function toV2Record(record: FileMetadataRecord): FileMetadataRecordV2;
|
|
|
3771
3770
|
*/
|
|
3772
3771
|
declare function buildFileWithStatus(record: FileMetadataRecord): FileWithStatus;
|
|
3773
3772
|
|
|
3774
|
-
export { ALL_SYSTEM_VARIABLES, type AddExtractionOptions, type AddRefOptions, type AppFileServerOpts, AppFileServerProvider, type AuthCallbacks, AuthenticationError, type CleanupOrphanedOptions, ConfigurationError, type ContentTagConfig, type CreateFolderOptions, type CrudServiceLike, DEFAULT_DATE_FORMATS, type DatabaseSchemaDefinition, type DatabaseTrackingConfig, DirectoryExistsError, DirectoryNotEmptyError, DirectoryNotFoundError, type DownloadOptions, type DrivePathCache, DropboxAuth, type DropboxAuthCallbacks, type DropboxAuthConfig, type DropboxConfig, DropboxModule, type DropboxTokenData, type ExtractionData, type ExtractionOptions, type ExtractionResult, type FileBrowserState, type FileDataStructure, FileExistsError, type FileInfo, type FileItem, FileManager, type FileManagerOptions, type FileMetadataInput, type FileMetadataRecord, type FileMetadataRecordV2, FileMetadataService, type FileMetadataServiceOptions, type FileMetadataUpdate, FileNotFoundError, type FileRef, type FileRefVisibility, type FileStatus, type FileStorageProvider, type FileSystemItem, FileTooLargeError, type FileWithStatus, type FindOrphanedOptions, type FolderItem, type GeneratedNameResult, type GoogleAuthConfig, GoogleDriveAuth, type GoogleDriveConfig, GoogleDriveModule, type GoogleDriveOpts, GoogleDriveProvider, HAZO_FILES_DEFAULT_TABLE_NAME, HAZO_FILES_JOB_TYPES, HAZO_FILES_MIGRATION_V2, HAZO_FILES_MIGRATION_V3, HAZO_FILES_MIGRATION_V4, HAZO_FILES_NAMING_DEFAULT_TABLE_NAME, HAZO_FILES_NAMING_TABLE_SCHEMA, HAZO_FILES_TABLE_SCHEMA, HAZO_FILE_QUOTAS_DEFAULT_TABLE_NAME, HAZO_FILE_QUOTAS_TABLE_SCHEMA, type HazoFileQuotasColumnDefinitions, type HazoFilesColumnDefinitions, type HazoFilesConfig,
|
|
3773
|
+
export { ALL_SYSTEM_VARIABLES, type AddExtractionOptions, type AddRefOptions, type AppFileServerOpts, AppFileServerProvider, type AuthCallbacks, AuthenticationError, type CleanupOrphanedOptions, ConfigurationError, type ContentTagConfig, type CreateFolderOptions, type CrudServiceLike, DEFAULT_DATE_FORMATS, type DatabaseSchemaDefinition, type DatabaseTrackingConfig, DirectoryExistsError, DirectoryNotEmptyError, DirectoryNotFoundError, type DownloadOptions, type DrivePathCache, DropboxAuth, type DropboxAuthCallbacks, type DropboxAuthConfig, type DropboxConfig, DropboxModule, type DropboxTokenData, type ExtractionData, type ExtractionOptions, type ExtractionResult, type FileBrowserState, type FileDataStructure, FileExistsError, type FileInfo, type FileItem, FileManager, type FileManagerOptions, type FileMetadataInput, type FileMetadataRecord, type FileMetadataRecordV2, FileMetadataService, type FileMetadataServiceOptions, type FileMetadataUpdate, FileNotFoundError, type FileRef, type FileRefVisibility, type FileStatus, type FileStorageProvider, type FileSystemItem, FileTooLargeError, type FileWithStatus, type FindOrphanedOptions, type FolderItem, type GeneratedNameResult, type GoogleAuthConfig, GoogleDriveAuth, type GoogleDriveConfig, GoogleDriveModule, type GoogleDriveOpts, GoogleDriveProvider, HAZO_FILES_DEFAULT_TABLE_NAME, HAZO_FILES_JOB_TYPES, HAZO_FILES_MIGRATION_V2, HAZO_FILES_MIGRATION_V3, HAZO_FILES_MIGRATION_V4, HAZO_FILES_NAMING_DEFAULT_TABLE_NAME, HAZO_FILES_NAMING_TABLE_SCHEMA, HAZO_FILES_TABLE_SCHEMA, HAZO_FILE_QUOTAS_DEFAULT_TABLE_NAME, HAZO_FILE_QUOTAS_TABLE_SCHEMA, type HazoFileQuotasColumnDefinitions, type HazoFilesColumnDefinitions, type HazoFilesConfig, type HazoFilesJobType, type HazoFilesMigrationV2, type HazoFilesMigrationV3, type HazoFilesMigrationV4, type HazoFilesNamingColumnDefinitions, type HazoFilesNamingTableSchema, type HazoFilesServerInstance, type HazoFilesServerOptions, type HazoFilesTableSchema, type HazoLLMInstance, type HazoLogger, ImportSizeCapError, InMemoryProvider, InvalidExtensionError, InvalidPathError, LLMExtractionService, type LLMFactory, type LLMFactoryConfig, type LLMProvider, type ListNamingConventionsOptions, type ListOptions, type LocalStorageConfig, LocalStorageModule, type MetadataLogger, type MigrationExecutor, type MigrationSchemaDefinition, type MoveOptions, type NameGenerationOptions, type NamingConventionInput, type NamingConventionRecord, NamingConventionService, type NamingConventionServiceOptions, type NamingConventionType, type NamingConventionUpdate, type NamingRuleConfiguratorProps, type NamingRuleHistoryEntry, type NamingRuleSchema, type NamingVariable, OperationError, type OperationResult, type ParsedNamingConvention, type PatternSegment, PermissionDeniedError, type ProbeResult, type ProgressCallback, type PurgeJobHandlerOptions, type PurgeOnePayload, type PurgePlanPayload, type PurgePlanResult, type PutOpts, type PutResult, type QuotaCrudServiceLike, QuotaExceededError, QuotaService, type QuotaServiceOptions, type QuotaStatus, type QuotaThresholdEvent, type RemoveExtractionOptions, type RemoveRefsCriteria, type RenameOptions, SSRFError, SYSTEM_COUNTER_VARIABLES, SYSTEM_DATE_VARIABLES, SYSTEM_FILE_VARIABLES, type SignedUrlOpts, StorageCollisionExhausted, type StorageModule, StorageNotConfigured, type StoragePath, type StorageProvider, StorageUnavailable, type TokenData, TrackedFileManager, type TrackedFileManagerFullOptions, type TrackedFileManagerOptions, type TrackedUploadOptions, type TreeNode, type UploadExtractOptions, type UploadExtractResult, UploadExtractService, type UploadOptions, type UploadWithRefOptions, type UseNamingRuleActions, type UseNamingRuleReturn, type UseNamingRuleState, type VariableCategory, addExtractionToFileData, backfillV2Defaults, buildFileWithStatus, clearExtractions, clonePattern, computeFileHash, computeFileHashFromStream, computeFileHashSync, computeFileInfo, createAndInitializeModule, createBasicFileManager, createDropboxAuth, createDropboxModule, createEmptyFileDataStructure, createEmptyNamingRuleSchema, createFileItem, createFileManager, createFileMetadataService, createFileRef, createFolderItem, createGoogleDriveAuth, createGoogleDriveModule, createHazoFilesServer, createInitializedFileManager, createInitializedTrackedFileManager, createLLMExtractionService, createLiteralSegment, createLocalModule, createModule, createNamingConventionService, createPurgeJobHandlers, createQuotaService, createTrackedFileManager, createUploadExtractService, createVariableSegment, deepMerge, errorResult, filterItems, formatBytes, formatCounter, formatDateToken, generateExtractionId, generateId, generatePreviewName, generateRefId, generateSampleConfig, generateSegmentId, getBaseName, getBreadcrumbs, getDirName, getExtension, getExtensionFromMime, getExtractionById, getExtractionCount, getExtractions, getFileCategory, getFileMetadataValues, getMergedData, getMigrationForTable, getMigrationV3ForTable, getMigrationV4ForTable, getMimeType, getNameWithoutExtension, getNamingSchemaForTable, getParentPath, getPathSegments, getRegisteredProviders, getRelativePath, getSchemaForTable, getSystemVariablePreviewValues, hasExtension, hasExtractionStructure, hasFileContentChanged, hashesEqual, hazo_files_generate_file_name, hazo_files_generate_folder_name, isAudio, isChildPath, isCounterVariable, isDateVariable, isDocument, isFile, isFileMetadataVariable, isFolder, isImage, isPreviewable, isProviderRegistered, isText, isVideo, joinPath, loadConfig, loadConfigAsync, migrateToV2, migrateToV3, normalizePath, parseConfig, parseFileData, parseFileRefs, parsePatternString, patternToString, recalculateMergedData, registerModule, removeExtractionById, removeExtractionByIndex, removeRefFromArray, removeRefsByCriteriaFromArray, sanitizeFilename, saveConfig, sortItems, stringifyFileData, stringifyFileRefs, successResult, toV2Record, updateExtractionById, validateExtractionData, validateFileDataStructure, validateNamingRuleSchema, validatePath };
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { JobHandler } from 'hazo_jobs';
|
|
2
2
|
import { Readable } from 'node:stream';
|
|
3
|
+
import { HazoAuthError, HazoConfigError, HazoConflictError, HazoNotFoundError, HazoValidationError, HazoExternalError } from 'hazo_core';
|
|
4
|
+
export { HazoError as HazoFilesError } from 'hazo_core';
|
|
3
5
|
import { OAuth2Client } from 'google-auth-library';
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -3348,55 +3350,52 @@ declare function saveConfig(config: HazoFilesConfig, configPath?: string): Promi
|
|
|
3348
3350
|
|
|
3349
3351
|
/**
|
|
3350
3352
|
* Custom error classes for hazo_files
|
|
3353
|
+
* All errors extend the appropriate hazo_core subclass.
|
|
3351
3354
|
*/
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
details?: Record<string, unknown> | undefined;
|
|
3355
|
-
constructor(message: string, code: string, details?: Record<string, unknown> | undefined);
|
|
3356
|
-
}
|
|
3357
|
-
declare class FileNotFoundError extends HazoFilesError {
|
|
3355
|
+
|
|
3356
|
+
declare class FileNotFoundError extends HazoNotFoundError {
|
|
3358
3357
|
constructor(path: string);
|
|
3359
3358
|
}
|
|
3360
|
-
declare class DirectoryNotFoundError extends
|
|
3359
|
+
declare class DirectoryNotFoundError extends HazoNotFoundError {
|
|
3361
3360
|
constructor(path: string);
|
|
3362
3361
|
}
|
|
3363
|
-
declare class FileExistsError extends
|
|
3362
|
+
declare class FileExistsError extends HazoConflictError {
|
|
3364
3363
|
constructor(path: string);
|
|
3365
3364
|
}
|
|
3366
|
-
declare class DirectoryExistsError extends
|
|
3365
|
+
declare class DirectoryExistsError extends HazoConflictError {
|
|
3367
3366
|
constructor(path: string);
|
|
3368
3367
|
}
|
|
3369
|
-
declare class DirectoryNotEmptyError extends
|
|
3368
|
+
declare class DirectoryNotEmptyError extends HazoConflictError {
|
|
3370
3369
|
constructor(path: string);
|
|
3371
3370
|
}
|
|
3372
|
-
declare class PermissionDeniedError extends
|
|
3371
|
+
declare class PermissionDeniedError extends HazoAuthError {
|
|
3373
3372
|
constructor(path: string, operation: string);
|
|
3374
3373
|
}
|
|
3375
|
-
declare class InvalidPathError extends
|
|
3374
|
+
declare class InvalidPathError extends HazoValidationError {
|
|
3376
3375
|
constructor(path: string, reason: string);
|
|
3377
3376
|
}
|
|
3378
|
-
declare class FileTooLargeError extends
|
|
3377
|
+
declare class FileTooLargeError extends HazoValidationError {
|
|
3379
3378
|
constructor(path: string, size: number, maxSize: number);
|
|
3380
3379
|
}
|
|
3381
|
-
declare class InvalidExtensionError extends
|
|
3380
|
+
declare class InvalidExtensionError extends HazoValidationError {
|
|
3382
3381
|
constructor(path: string, extension: string, allowedExtensions: string[]);
|
|
3383
3382
|
}
|
|
3384
|
-
declare class AuthenticationError extends
|
|
3383
|
+
declare class AuthenticationError extends HazoAuthError {
|
|
3385
3384
|
constructor(provider: string, message: string);
|
|
3386
3385
|
}
|
|
3387
|
-
declare class ConfigurationError extends
|
|
3386
|
+
declare class ConfigurationError extends HazoConfigError {
|
|
3388
3387
|
constructor(message: string);
|
|
3389
3388
|
}
|
|
3390
|
-
declare class OperationError extends
|
|
3389
|
+
declare class OperationError extends HazoExternalError {
|
|
3391
3390
|
constructor(operation: string, message: string, details?: Record<string, unknown>);
|
|
3392
3391
|
}
|
|
3393
|
-
declare class QuotaExceededError extends
|
|
3392
|
+
declare class QuotaExceededError extends HazoValidationError {
|
|
3394
3393
|
constructor(scopeId: string, byteUsed: number, byteLimit: number, deltaBytes: number);
|
|
3395
3394
|
}
|
|
3396
|
-
declare class SSRFError extends
|
|
3395
|
+
declare class SSRFError extends HazoValidationError {
|
|
3397
3396
|
constructor(url: string, reason: string);
|
|
3398
3397
|
}
|
|
3399
|
-
declare class ImportSizeCapError extends
|
|
3398
|
+
declare class ImportSizeCapError extends HazoValidationError {
|
|
3400
3399
|
constructor(url: string, capBytes: number);
|
|
3401
3400
|
}
|
|
3402
3401
|
|
|
@@ -3771,4 +3770,4 @@ declare function toV2Record(record: FileMetadataRecord): FileMetadataRecordV2;
|
|
|
3771
3770
|
*/
|
|
3772
3771
|
declare function buildFileWithStatus(record: FileMetadataRecord): FileWithStatus;
|
|
3773
3772
|
|
|
3774
|
-
export { ALL_SYSTEM_VARIABLES, type AddExtractionOptions, type AddRefOptions, type AppFileServerOpts, AppFileServerProvider, type AuthCallbacks, AuthenticationError, type CleanupOrphanedOptions, ConfigurationError, type ContentTagConfig, type CreateFolderOptions, type CrudServiceLike, DEFAULT_DATE_FORMATS, type DatabaseSchemaDefinition, type DatabaseTrackingConfig, DirectoryExistsError, DirectoryNotEmptyError, DirectoryNotFoundError, type DownloadOptions, type DrivePathCache, DropboxAuth, type DropboxAuthCallbacks, type DropboxAuthConfig, type DropboxConfig, DropboxModule, type DropboxTokenData, type ExtractionData, type ExtractionOptions, type ExtractionResult, type FileBrowserState, type FileDataStructure, FileExistsError, type FileInfo, type FileItem, FileManager, type FileManagerOptions, type FileMetadataInput, type FileMetadataRecord, type FileMetadataRecordV2, FileMetadataService, type FileMetadataServiceOptions, type FileMetadataUpdate, FileNotFoundError, type FileRef, type FileRefVisibility, type FileStatus, type FileStorageProvider, type FileSystemItem, FileTooLargeError, type FileWithStatus, type FindOrphanedOptions, type FolderItem, type GeneratedNameResult, type GoogleAuthConfig, GoogleDriveAuth, type GoogleDriveConfig, GoogleDriveModule, type GoogleDriveOpts, GoogleDriveProvider, HAZO_FILES_DEFAULT_TABLE_NAME, HAZO_FILES_JOB_TYPES, HAZO_FILES_MIGRATION_V2, HAZO_FILES_MIGRATION_V3, HAZO_FILES_MIGRATION_V4, HAZO_FILES_NAMING_DEFAULT_TABLE_NAME, HAZO_FILES_NAMING_TABLE_SCHEMA, HAZO_FILES_TABLE_SCHEMA, HAZO_FILE_QUOTAS_DEFAULT_TABLE_NAME, HAZO_FILE_QUOTAS_TABLE_SCHEMA, type HazoFileQuotasColumnDefinitions, type HazoFilesColumnDefinitions, type HazoFilesConfig,
|
|
3773
|
+
export { ALL_SYSTEM_VARIABLES, type AddExtractionOptions, type AddRefOptions, type AppFileServerOpts, AppFileServerProvider, type AuthCallbacks, AuthenticationError, type CleanupOrphanedOptions, ConfigurationError, type ContentTagConfig, type CreateFolderOptions, type CrudServiceLike, DEFAULT_DATE_FORMATS, type DatabaseSchemaDefinition, type DatabaseTrackingConfig, DirectoryExistsError, DirectoryNotEmptyError, DirectoryNotFoundError, type DownloadOptions, type DrivePathCache, DropboxAuth, type DropboxAuthCallbacks, type DropboxAuthConfig, type DropboxConfig, DropboxModule, type DropboxTokenData, type ExtractionData, type ExtractionOptions, type ExtractionResult, type FileBrowserState, type FileDataStructure, FileExistsError, type FileInfo, type FileItem, FileManager, type FileManagerOptions, type FileMetadataInput, type FileMetadataRecord, type FileMetadataRecordV2, FileMetadataService, type FileMetadataServiceOptions, type FileMetadataUpdate, FileNotFoundError, type FileRef, type FileRefVisibility, type FileStatus, type FileStorageProvider, type FileSystemItem, FileTooLargeError, type FileWithStatus, type FindOrphanedOptions, type FolderItem, type GeneratedNameResult, type GoogleAuthConfig, GoogleDriveAuth, type GoogleDriveConfig, GoogleDriveModule, type GoogleDriveOpts, GoogleDriveProvider, HAZO_FILES_DEFAULT_TABLE_NAME, HAZO_FILES_JOB_TYPES, HAZO_FILES_MIGRATION_V2, HAZO_FILES_MIGRATION_V3, HAZO_FILES_MIGRATION_V4, HAZO_FILES_NAMING_DEFAULT_TABLE_NAME, HAZO_FILES_NAMING_TABLE_SCHEMA, HAZO_FILES_TABLE_SCHEMA, HAZO_FILE_QUOTAS_DEFAULT_TABLE_NAME, HAZO_FILE_QUOTAS_TABLE_SCHEMA, type HazoFileQuotasColumnDefinitions, type HazoFilesColumnDefinitions, type HazoFilesConfig, type HazoFilesJobType, type HazoFilesMigrationV2, type HazoFilesMigrationV3, type HazoFilesMigrationV4, type HazoFilesNamingColumnDefinitions, type HazoFilesNamingTableSchema, type HazoFilesServerInstance, type HazoFilesServerOptions, type HazoFilesTableSchema, type HazoLLMInstance, type HazoLogger, ImportSizeCapError, InMemoryProvider, InvalidExtensionError, InvalidPathError, LLMExtractionService, type LLMFactory, type LLMFactoryConfig, type LLMProvider, type ListNamingConventionsOptions, type ListOptions, type LocalStorageConfig, LocalStorageModule, type MetadataLogger, type MigrationExecutor, type MigrationSchemaDefinition, type MoveOptions, type NameGenerationOptions, type NamingConventionInput, type NamingConventionRecord, NamingConventionService, type NamingConventionServiceOptions, type NamingConventionType, type NamingConventionUpdate, type NamingRuleConfiguratorProps, type NamingRuleHistoryEntry, type NamingRuleSchema, type NamingVariable, OperationError, type OperationResult, type ParsedNamingConvention, type PatternSegment, PermissionDeniedError, type ProbeResult, type ProgressCallback, type PurgeJobHandlerOptions, type PurgeOnePayload, type PurgePlanPayload, type PurgePlanResult, type PutOpts, type PutResult, type QuotaCrudServiceLike, QuotaExceededError, QuotaService, type QuotaServiceOptions, type QuotaStatus, type QuotaThresholdEvent, type RemoveExtractionOptions, type RemoveRefsCriteria, type RenameOptions, SSRFError, SYSTEM_COUNTER_VARIABLES, SYSTEM_DATE_VARIABLES, SYSTEM_FILE_VARIABLES, type SignedUrlOpts, StorageCollisionExhausted, type StorageModule, StorageNotConfigured, type StoragePath, type StorageProvider, StorageUnavailable, type TokenData, TrackedFileManager, type TrackedFileManagerFullOptions, type TrackedFileManagerOptions, type TrackedUploadOptions, type TreeNode, type UploadExtractOptions, type UploadExtractResult, UploadExtractService, type UploadOptions, type UploadWithRefOptions, type UseNamingRuleActions, type UseNamingRuleReturn, type UseNamingRuleState, type VariableCategory, addExtractionToFileData, backfillV2Defaults, buildFileWithStatus, clearExtractions, clonePattern, computeFileHash, computeFileHashFromStream, computeFileHashSync, computeFileInfo, createAndInitializeModule, createBasicFileManager, createDropboxAuth, createDropboxModule, createEmptyFileDataStructure, createEmptyNamingRuleSchema, createFileItem, createFileManager, createFileMetadataService, createFileRef, createFolderItem, createGoogleDriveAuth, createGoogleDriveModule, createHazoFilesServer, createInitializedFileManager, createInitializedTrackedFileManager, createLLMExtractionService, createLiteralSegment, createLocalModule, createModule, createNamingConventionService, createPurgeJobHandlers, createQuotaService, createTrackedFileManager, createUploadExtractService, createVariableSegment, deepMerge, errorResult, filterItems, formatBytes, formatCounter, formatDateToken, generateExtractionId, generateId, generatePreviewName, generateRefId, generateSampleConfig, generateSegmentId, getBaseName, getBreadcrumbs, getDirName, getExtension, getExtensionFromMime, getExtractionById, getExtractionCount, getExtractions, getFileCategory, getFileMetadataValues, getMergedData, getMigrationForTable, getMigrationV3ForTable, getMigrationV4ForTable, getMimeType, getNameWithoutExtension, getNamingSchemaForTable, getParentPath, getPathSegments, getRegisteredProviders, getRelativePath, getSchemaForTable, getSystemVariablePreviewValues, hasExtension, hasExtractionStructure, hasFileContentChanged, hashesEqual, hazo_files_generate_file_name, hazo_files_generate_folder_name, isAudio, isChildPath, isCounterVariable, isDateVariable, isDocument, isFile, isFileMetadataVariable, isFolder, isImage, isPreviewable, isProviderRegistered, isText, isVideo, joinPath, loadConfig, loadConfigAsync, migrateToV2, migrateToV3, normalizePath, parseConfig, parseFileData, parseFileRefs, parsePatternString, patternToString, recalculateMergedData, registerModule, removeExtractionById, removeExtractionByIndex, removeRefFromArray, removeRefsByCriteriaFromArray, sanitizeFilename, saveConfig, sortItems, stringifyFileData, stringifyFileRefs, successResult, toV2Record, updateExtractionById, validateExtractionData, validateFileDataStructure, validateNamingRuleSchema, validatePath };
|