Files
big-brother/api/.adonisjs/client/registry/tree.d.ts
T
RutraandClaude Opus 5.5 c106fcfc62 Édition du docker-compose.yml depuis la page d'un conteneur
Vérification par docker compose config avant écriture, application avec
docker compose up -d et retour à la version précédente en cas d'échec.
Historique des versions par fichier. Le Caddyfile et le compose gardent
un retour à la ligne final.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 18:31:33 +02:00

66 lines
1.8 KiB
TypeScript

/* eslint-disable prettier/prettier */
import type { routes } from './index.ts'
export interface ApiDefinition {
auth: {
login: typeof routes['auth.login']
logout: typeof routes['auth.logout']
me: typeof routes['auth.me']
}
overview: {
index: typeof routes['overview.index']
}
metrics: {
live: typeof routes['metrics.live']
history: typeof routes['metrics.history']
}
containers: {
index: typeof routes['containers.index']
show: typeof routes['containers.show']
logs: typeof routes['containers.logs']
action: typeof routes['containers.action']
}
compose: {
show: typeof routes['compose.show']
update: typeof routes['compose.update']
version: typeof routes['compose.version']
}
sites: {
index: typeof routes['sites.index']
check: typeof routes['sites.check']
show: typeof routes['sites.show']
}
projects: {
index: typeof routes['projects.index']
store: typeof routes['projects.store']
options: typeof routes['projects.options']
show: typeof routes['projects.show']
fetch: typeof routes['projects.fetch']
action: typeof routes['projects.action']
}
caddy: {
show: typeof routes['caddy.show']
update: typeof routes['caddy.update']
reload: typeof routes['caddy.reload']
versions: typeof routes['caddy.versions']
version: typeof routes['caddy.version']
restore: typeof routes['caddy.restore']
}
backups: {
index: typeof routes['backups.index']
store: typeof routes['backups.store']
download: typeof routes['backups.download']
destroy: typeof routes['backups.destroy']
}
jobs: {
stream: typeof routes['jobs.stream']
}
audit: {
index: typeof routes['audit.index']
show: typeof routes['audit.show']
}
spa: {
index: typeof routes['spa.index']
}
}