mirror of
https://github.com/yyhuni/xingrin.git
synced 2026-01-31 11:46:16 +08:00
28 lines
523 B
TypeScript
28 lines
523 B
TypeScript
/**
|
|
* Scan engine type definitions
|
|
*
|
|
* Backend actual return fields: id, name, configuration, created_at, updated_at
|
|
*/
|
|
|
|
// Scan engine interface
|
|
export interface ScanEngine {
|
|
id: number
|
|
name: string
|
|
configuration?: string // YAML configuration content
|
|
createdAt: string
|
|
updatedAt: string
|
|
}
|
|
|
|
// Create engine request
|
|
export interface CreateEngineRequest {
|
|
name: string
|
|
configuration: string
|
|
}
|
|
|
|
// Update engine request
|
|
export interface UpdateEngineRequest {
|
|
name?: string
|
|
configuration?: string
|
|
}
|
|
|