mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
feat: qa
This commit is contained in:
@@ -103,7 +103,7 @@ export class ArchonServersV0Module extends AbstractModule {
|
||||
*/
|
||||
public async power(
|
||||
serverId: string,
|
||||
action: 'Start' | 'Stop' | 'Restart' | 'Kill',
|
||||
action: Archon.Servers.v0.PowerAction,
|
||||
): Promise<void> {
|
||||
await this.client.request(`/servers/${serverId}/power`, {
|
||||
api: 'archon',
|
||||
|
||||
@@ -681,6 +681,8 @@ export namespace Archon {
|
||||
token: string // JWT token for filesystem access
|
||||
}
|
||||
|
||||
export type PowerAction = 'Start' | 'Stop' | 'Restart' | 'Kill'
|
||||
|
||||
export type ReinstallLoaderRequest = {
|
||||
loader: string
|
||||
loader_version?: string
|
||||
|
||||
Reference in New Issue
Block a user