Fix types related to plugins and the web interface

This commit is contained in:
Hornwitser committed 2023-11-28 15:35:40 +01:00
1 parent 8b5c66d900
commit 70d2b319b3
10 files changed
+17 -26

No files matched your search

+2 -4
View File
@@ -40,7 +40,7 @@ lib.definePermission({
grantByDefault: true,
});
const info: lib.PluginDeclaration = {
export default {
name: "inventory_sync",
title: "Inventory sync",
description: "Synchronizes players inventories between instances",
@@ -60,6 +60,4 @@ const info: lib.PluginDeclaration = {
],
webEntrypoint: "./web",
routes: ["/inventory"],
};
export default info;
} satisfies lib.PluginDeclaration;
+1 -1
View File
@@ -139,7 +139,7 @@ export class DownloadRequest {
}
}
class DatabaseStatsResponse {
export class DatabaseStatsResponse {
constructor(
public databaseSize: number,
public databaseEntries: number,