first commit
This commit is contained in:
commit
3c0479faf0
169 files changed
+27617
No files matched your search
+60
@@ -0,0 +1,60 @@
|
||||
/* 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']
|
||||
}
|
||||
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']
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user