@builder.io/dev-tools
Version:
Builder.io Visual CMS Devtools
20 lines (19 loc) • 767 B
TypeScript
import { type Express } from "express";
import type { LaunchServerStatus } from "$/ai-utils";
export declare const BUILDER_ENDPOINT_PREFIX = "/_builder.io";
export declare const BUILDER_API_ENDPOINT_PREFIX: string;
/**
* Endpoints that are not authenticated because they are used by the fly.io health check.
*/
export declare const NON_AUTHENTICATED_ENDPOINTS: {
readonly STATUS: "/status";
readonly PROXY_STATUS: "/proxy-status";
readonly STATUS_V2: "/status-v2";
};
export declare const configureServer: ({ app, validBuilderPrivateKey, authenticateProxy, isLocal, sharedState, }: {
app: Express;
validBuilderPrivateKey: string | undefined;
authenticateProxy: boolean;
isLocal: boolean;
sharedState: LaunchServerStatus;
}) => void;