spark/ts/spark.classes.config.ts

15 lines
394 B
TypeScript
Raw Normal View History

2024-05-08 18:49:10 +00:00
import * as plugins from './spark.plugins.js';
import { Spark } from './index.js';
export class SparkConfig {
public sparkRef: Spark;
public kvStore: plugins.npmextra.KeyValueStore;
2024-05-08 18:49:10 +00:00
constructor(sparkRefArg: Spark) {
this.sparkRef = sparkRefArg;
this.kvStore = new plugins.npmextra.KeyValueStore({
typeArg: 'userHomeDir',
identityArg: 'servezone_spark',
});
2024-05-08 18:49:10 +00:00
}
}