mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
9 lines
290 B
TypeScript
9 lines
290 B
TypeScript
import { OpenFlareBaseService } from './base.service';
|
|
import type { OpenFlarePublicStatus } from './types';
|
|
|
|
export class StatusService extends OpenFlareBaseService {
|
|
static getPublicStatus(): Promise<OpenFlarePublicStatus> {
|
|
return this.get<OpenFlarePublicStatus>('/status');
|
|
}
|
|
}
|