16 lines
391 B
TypeScript
16 lines
391 B
TypeScript
import * as plugins from './spark.plugins.js';
|
|
import { Spark } from './index.js';
|
|
|
|
export class SparkLocalConfig {
|
|
public sparkRef: Spark;
|
|
private kvStore: plugins.npmextra.KeyValueStore;
|
|
|
|
constructor(sparkRefArg: Spark) {
|
|
this.sparkRef = sparkRefArg;
|
|
this.kvStore = new plugins.npmextra.KeyValueStore({
|
|
typeArg: 'userHomeDir',
|
|
identityArg: 'spark',
|
|
});
|
|
}
|
|
}
|