mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 07:54:52 +09:00
Small fixes to exp_reports
This commit is contained in:
4 files changed
+12
-12
No files matched your search
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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,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" ],
|
||||
}
|
||||
Reference in new issue
Block a user