Small fixes to exp_reports

This commit is contained in:
Cooldude2606 committed 2026-09-27 00:58:32 +01:00
1 parent 71d14c1f1a
commit ddf8497fa3
4 files changed
+12 -12

No files matched your search

+7
View File
@@ -6,6 +6,13 @@ declare module "@clusterio/lib" {
"exp_reports.discord_webhook_url": string | null;
"exp_reports.json_webhook_url": string | null;
}
export interface Permissions {
"exp_reports.report.get": never;
"exp_reports.report.list": never;
"exp_reports.report.subscribe": never;
"exp_reports.report.create": never;
"exp_reports.report.delete": never;
}
}
export const plugin: lib.PluginDeclaration = {
-10
View File
@@ -1,16 +1,6 @@
import * as lib from "@clusterio/lib";
import { Type, Static } from "@sinclair/typebox";
declare module "@clusterio/lib" {
export interface Permissions {
"exp_reports.report.get": never;
"exp_reports.report.list": never;
"exp_reports.report.subscribe": never;
"exp_reports.report.create": never;
"exp_reports.report.delete": never;
}
}
/*
Data records
*/
+4 -1
View File
@@ -41,7 +41,10 @@
"webpack-merge": "catalog:"
},
"dependencies": {
"@sinclair/typebox": "catalog:"
"@sinclair/typebox": "catalog:",
"@expcluster/lib_commands": "workspace:^",
"@expcluster/lib_util": "workspace:^",
"@expcluster/roles": "workspace:^"
},
"publishConfig": {
"access": "public"
+1 -1
View File
@@ -1,4 +1,4 @@
{
"extends": "../tsconfig.browser.json",
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"include": [ "web/**/*.tsx", "web/**/*.ts", "index.ts", "messages.ts", "package.json" ],
}