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',
|
2024-12-18 09:51:57 +00:00
|
|
|
identityArg: 'servezone_spark',
|
2024-05-08 19:31:31 +00:00
|
|
|
});
|
2024-05-08 18:49:10 +00:00
|
|
|
}
|
|
|
|
}
|