mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 23:53:13 +09:00
Fix types related to plugins and the web interface
This commit is contained in:
1 parent
8b5c66d900
commit
70d2b319b3
10 files changed
+17
-26
No files matched your search
@@ -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;
|
||||
@@ -139,7 +139,7 @@ export class DownloadRequest {
|
||||
}
|
||||
}
|
||||
|
||||
class DatabaseStatsResponse {
|
||||
export class DatabaseStatsResponse {
|
||||
constructor(
|
||||
public databaseSize: number,
|
||||
public databaseEntries: number,
|
||||
|
||||
Reference in new issue
Block a user