feat: add get responses

This commit is contained in:
Justin Lin committed 2025-04-18 15:17:25 +08:00
1 parent dae9e841ca
commit f7780c3d98
9 files changed
+94 -54

No files matched your search

+29
View File
@@ -3,3 +3,32 @@ export { stageSchema, IStage } from './stage.js'
export { requirementsSchema, IRequirements } from './requirements.js'
export { responseSchema, IResponse } from './response.js'
export { questSchema, IQuest } from './quest.js'
export interface ICommand {
command?: string
output?: string
error?: string
pwd?: string
}
export enum FileType {
FILE = 'file',
FOLDER = 'folder',
}
export interface FileInput {
path: string
type: FileType
}
export interface FileExistenceInput extends FileInput {
exists: boolean
}
export interface IFileExistenceChecker {
exists(file: FileInput): Promise<boolean>
}
export interface ISession {
completedStages: string[]
}