mirror of
https://github.com/hempyhemp/hh-auto-reply.git
synced 2026-06-09 02:15:34 +00:00
🔧 refactor(bot-commands): Убран лишний код, оптимизированы импорты и функции.
This commit is contained in:
22
src/hh/types.ts
Normal file
22
src/hh/types.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
export interface ApplyOptions {
|
||||
query: string
|
||||
area?: number
|
||||
maxApplies?: number
|
||||
}
|
||||
|
||||
export interface VacancyRef {
|
||||
title: string
|
||||
href: string
|
||||
}
|
||||
|
||||
export interface ApplyResult {
|
||||
applied: VacancyRef[]
|
||||
skipped: VacancyRef[]
|
||||
errors: Array<VacancyRef & { message: string }>
|
||||
error?: string
|
||||
}
|
||||
|
||||
export interface ResumeListItem {
|
||||
title: string
|
||||
href: string
|
||||
}
|
||||
Reference in New Issue
Block a user