You've already forked AstralRinth
forked from didirus/AstralRinth
Add notices system to Servers (#3502)
* Servers notices * Refresh on unassign
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// usePyroServer is a composable that interfaces with the REDACTED API to get data and control the users server
|
||||
import { $fetch, FetchError } from "ofetch";
|
||||
import type { ServerNotice } from "@modrinth/utils";
|
||||
|
||||
interface PyroFetchOptions {
|
||||
method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
||||
@@ -289,6 +290,7 @@ interface General {
|
||||
sftp_password: string;
|
||||
sftp_host: string;
|
||||
datacenter?: string;
|
||||
notices?: ServerNotice[];
|
||||
}
|
||||
|
||||
interface Allocation {
|
||||
|
||||
Reference in New Issue
Block a user