mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-20 23:33:12 +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.discord_webhook_url": string | null;
|
||||||
"exp_reports.json_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 = {
|
export const plugin: lib.PluginDeclaration = {
|
||||||
|
|||||||
@@ -1,16 +1,6 @@
|
|||||||
import * as lib from "@clusterio/lib";
|
import * as lib from "@clusterio/lib";
|
||||||
import { Type, Static } from "@sinclair/typebox";
|
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
|
Data records
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -41,7 +41,10 @@
|
|||||||
"webpack-merge": "catalog:"
|
"webpack-merge": "catalog:"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sinclair/typebox": "catalog:"
|
"@sinclair/typebox": "catalog:",
|
||||||
|
"@expcluster/lib_commands": "workspace:^",
|
||||||
|
"@expcluster/lib_util": "workspace:^",
|
||||||
|
"@expcluster/roles": "workspace:^"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.browser.json",
|
"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