MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / isConfigured

Function isConfigured

utils/upload.ts:615–621  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

613}
614
615export function isConfigured(): boolean {
616 const selected = (settings.store as { serviceType: ServiceType; }).serviceType;
617 if (getServiceConfigError(selected) === null) return true;
618
619 if ((settings.store as { disableFallbacks?: boolean; }).disableFallbacks) return false;
620 return getFallbackServices().some(service => getServiceConfigError(service) === null);
621}
622
623async function uploadToEzHost(fileBlob: Blob, filename: string): Promise<string> {
624 const { ezHostKey } = (settings.store as { ezHostKey?: string; });

Callers 7

interceptUploadAddFilesFunction · 0.90
handlePasteFunction · 0.90
handleFileDropFunction · 0.90
uploadFileFunction · 0.85
uploadProvidedFilesFunction · 0.85

Calls 2

getServiceConfigErrorFunction · 0.85
getFallbackServicesFunction · 0.85

Tested by

no test coverage detected