2024-05-08 18:49:10 +00:00
|
|
|
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;
|
2024-05-08 19:31:31 +00:00
|
|
|
this.kvStore = new plugins.npmextra.KeyValueStore({
|
|
|
|
typeArg: 'userHomeDir',
|
|
|
|
identityArg: 'spark',
|
|
|
|
});
|
2024-05-08 18:49:10 +00:00
|
|
|
}
|
|
|
|
}
|