Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
import { WebSocketAuthModes } from "../../../realtime/types.cjs";
|
|
import { RestCommand } from "../../types.cjs";
|
|
|
|
//#region src/rest/commands/server/info.d.ts
|
|
type ServerInfoOutput = {
|
|
project: {
|
|
project_name: string;
|
|
default_language: string;
|
|
public_registration: boolean;
|
|
public_registration_verify_email: boolean;
|
|
};
|
|
mcp_enabled?: boolean;
|
|
ai_enabled?: boolean;
|
|
rateLimit?: {
|
|
points: number;
|
|
duration: number;
|
|
} | false;
|
|
rateLimitGlobal?: {
|
|
points: number;
|
|
duration: number;
|
|
} | false;
|
|
queryLimit?: {
|
|
default: number;
|
|
max: number;
|
|
};
|
|
websocket?: {
|
|
rest: {
|
|
authentication: WebSocketAuthModes;
|
|
path: string;
|
|
} | false;
|
|
graphql: {
|
|
authentication: WebSocketAuthModes;
|
|
path: string;
|
|
} | false;
|
|
heartbeat: number | false;
|
|
} | false;
|
|
};
|
|
/**
|
|
* Get information about the current installation.
|
|
* @returns Information about the current installation.
|
|
*/
|
|
declare const serverInfo: <Schema>() => RestCommand<ServerInfoOutput, Schema>;
|
|
//#endregion
|
|
export { ServerInfoOutput, serverInfo };
|
|
//# sourceMappingURL=info.d.cts.map |