mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
refactor: game
This commit is contained in:
1 parent
2d05149cea
commit
4c421b4cb3
9 files changed
+181
-85
No files matched your search
@@ -3,10 +3,9 @@ import { conditionSchema, ICondition } from './condition.js'
|
||||
import { responseSchema, IResponse } from './response.js'
|
||||
import { hintSchema, IHint } from './hint.js'
|
||||
|
||||
export interface ICommandResponder {
|
||||
export interface ICommandResponder extends IHint {
|
||||
condition?: ICondition
|
||||
responses: IResponse[]
|
||||
hints?: IHint[]
|
||||
}
|
||||
|
||||
export const commandResponderSchema = new Schema<ICommandResponder>({
|
||||
|
||||
Reference in new issue
Block a user