@koishijs/core
Advanced tools
Comparing version 4.12.0 to 4.12.1
@@ -608,3 +608,5 @@ /// <reference types="node" /> | ||
namespace Context { | ||
interface Config extends Config.Basic, Config.Message, Config.Advanced, Commander.Config { | ||
interface Config extends Config.Basic, Config.Advanced, Commander.Config { | ||
i18n?: Config.I18n; | ||
delay?: Config.Delay; | ||
} | ||
@@ -619,6 +621,7 @@ namespace Config { | ||
} | ||
interface Message { | ||
delay?: DelayConfig; | ||
interface I18n { | ||
output?: 'prefer-user' | 'prefer-channel'; | ||
match?: 'strict' | 'prefer-input' | 'prefer-output'; | ||
} | ||
interface DelayConfig { | ||
interface Delay { | ||
character?: number; | ||
@@ -635,3 +638,4 @@ message?: number; | ||
Basic: Schema<Basic>; | ||
Message: Schema<Message>; | ||
I18n: Schema<I18n>; | ||
Delay: Schema<Delay>; | ||
Advanced: Schema<Advanced>; | ||
@@ -638,0 +642,0 @@ } |
{ | ||
"name": "@koishijs/core", | ||
"description": "Core Features for Koishi", | ||
"version": "4.12.0", | ||
"version": "4.12.1", | ||
"main": "lib/index.cjs", | ||
@@ -35,3 +35,3 @@ "module": "lib/index.mjs", | ||
"@minatojs/core": "^2.3.1", | ||
"@satorijs/core": "^2.2.1", | ||
"@satorijs/core": "^2.2.2", | ||
"cordis": "^2.7.4", | ||
@@ -38,0 +38,0 @@ "cosmokit": "^1.4.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
537379
5282
Updated@satorijs/core@^2.2.2