mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
19 lines
374 B
TypeScript
19 lines
374 B
TypeScript
import type { ModelBase } from '@/api/curd'
|
|
import Curd from '@/api/curd'
|
|
|
|
export interface Environment extends ModelBase {
|
|
name: string
|
|
url: string
|
|
token: string
|
|
status?: boolean
|
|
}
|
|
|
|
export interface Node {
|
|
id: number
|
|
name: string
|
|
token: string
|
|
response_at?: Date
|
|
}
|
|
const environment: Curd<Environment> = new Curd('/environment')
|
|
|
|
export default environment
|