This commit is contained in:
2017-08-15 19:29:18 +02:00
commit 2214107cff
15 changed files with 1041 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import * as plugins from './smartupdate.plugins'
interface ICacheStatus {
lastCheck
}
class SmartUpdate {
kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate')
async checkCacheStatus () {
let result: ICacheStatus = await this.kvStore.read(npmname)
if(result && result) {
}
}
async check (npmname: string) {
}
}
let standardInstance = new SmartUpdate()
export let check = standardInstance.check
export let standardExport = 'Hi there! :) This is a exported string'