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