We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c7234c commit a92e11fCopy full SHA for a92e11f
1 file changed
packages/workshop-utils/src/cache.server.ts
@@ -39,6 +39,12 @@ export const dirModifiedTimeCache = makeSingletonCache<number>(
39
'DirModifiedTimeCache',
40
)
41
export const connectionCache = makeSingletonCache<boolean>('ConnectionCache')
42
+export const checkForUpdatesCache = makeSingletonCache<{
43
+ updatesAvailable: boolean
44
+ localCommit: string
45
+ remoteCommit: string
46
+ diffLink: string | null
47
+}>('CheckForUpdatesCache')
48
49
const cacheDir = path.join(os.homedir(), '.epicshop', 'cache')
50
0 commit comments