npmextra/ts/npmextra.classes.keyValueStore.ts

33 lines
420 B
TypeScript
Raw Normal View History

2016-09-16 20:28:38 +00:00
import * as plugins from './npmextra.plugins'
2016-08-28 12:51:04 +00:00
2016-09-16 20:28:38 +00:00
export type keyValueStoreTypes = 'path' | 'gitProject'
2016-08-28 12:51:04 +00:00
/**
* reads a keyValueFile from disk
*/
let kvRead = () => {
2016-09-16 20:28:38 +00:00
}
2016-08-28 12:51:04 +00:00
/**
* writes a key value file to disk
*/
let kvWrite = () => {
2016-09-16 20:28:38 +00:00
}
2016-08-28 12:51:04 +00:00
/**
* wipes a key value store from disk
*/
let kevWipe = () => {
}
export class KeyValueStore {
2016-09-16 20:28:38 +00:00
constructor(optionsArg: {
2016-08-28 12:51:04 +00:00
type: keyValueStoreTypes
2016-09-16 20:28:38 +00:00
}) {
2016-08-28 12:51:04 +00:00
2016-09-16 20:28:38 +00:00
}
}