summaryrefslogtreecommitdiffhomepage
path: root/packages/throughput-store/src/extension.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/throughput-store/src/extension.ts')
-rw-r--r--packages/throughput-store/src/extension.ts30
1 files changed, 15 insertions, 15 deletions
diff --git a/packages/throughput-store/src/extension.ts b/packages/throughput-store/src/extension.ts
index 01d1549..13c4a64 100644
--- a/packages/throughput-store/src/extension.ts
+++ b/packages/throughput-store/src/extension.ts
@@ -3,22 +3,22 @@ import { throughputStoreHandle } from "./service.js";
import { createThroughputStore } from "./store.js";
export const manifest: Manifest = {
- id: "throughput-store",
- name: "Throughput Store",
- version: "0.0.0",
- apiVersion: "^0.1.0",
- trust: "bundled",
- capabilities: { db: true },
- contributes: { services: ["throughput-store/store"] },
- activation: "eager",
+ id: "throughput-store",
+ name: "Throughput Store",
+ version: "0.0.0",
+ apiVersion: "^0.1.0",
+ trust: "bundled",
+ capabilities: { db: true },
+ contributes: { services: ["throughput-store/store"] },
+ activation: "eager",
};
export const extension: Extension = {
- manifest,
- activate: (host: HostAPI) => {
- const storage = host.storage("throughput-store");
- const store = createThroughputStore({ storage, logger: host.logger });
- host.provideService(throughputStoreHandle, store);
- host.logger.info("throughput-store: registered");
- },
+ manifest,
+ activate: (host: HostAPI) => {
+ const storage = host.storage("throughput-store");
+ const store = createThroughputStore({ storage, logger: host.logger });
+ host.provideService(throughputStoreHandle, store);
+ host.logger.info("throughput-store: registered");
+ },
};