UNPKG

@magnetarjs/core

Version:
9 lines (8 loc) 579 B
import type { DoOnStreamFns, StreamResponse } from '@magnetarjs/types'; export declare function logError(errorMessage: string): undefined; export declare function logErrorAndThrow(errorMessage: string): undefined; export declare function throwOnIncompleteStreamResponses(streamInfoPerStore: { [storeName: string]: StreamResponse; }, doOnStreamFns: DoOnStreamFns): undefined; export declare function throwIfNoFnsToExecute(storesToExecute: string[]): undefined; export declare function throwIfInvalidModulePath(modulePath: string, moduleType: 'collection' | 'doc'): undefined;