UNPKG

nx-remotecache-custom

Version:

Build custom caching for @nrwl/nx in a few lines of code

12 lines (11 loc) 768 B
import { RemoteCacheImplementation } from "./types/remote-cache-implementation"; export declare const retrieveSuccess: ({ name }: RemoteCacheImplementation, file: string) => void; export declare const retrieveFailure: ({ name }: RemoteCacheImplementation, file: string, error: any) => void; export declare const setupFailure: (error?: any) => void; export declare const storeSuccess: ({ name }: RemoteCacheImplementation, file: string) => void; export declare const storeFailure: ({ name }: RemoteCacheImplementation, file: string, error: any) => void; export declare const checkFailure: ({ name }: RemoteCacheImplementation, file: string, error: any) => void; export declare const cacheCreated: ({ read, write, }: { read: boolean; write: boolean; }) => void;