Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
import type { Project } from '../../../build/swc/types';
|
|
import { type MappingContext } from './source-map';
|
|
import { type ServerLogEntry } from '../../../next-devtools/shared/forward-logs-shared';
|
|
export declare function restoreUndefined(x: any): any;
|
|
export declare function stripFormatSpecifiers(args: any[]): any[];
|
|
type BrowserLogConfig = boolean | 'error' | 'warn';
|
|
export declare function handleLog(entries: ServerLogEntry[], ctx: MappingContext, distDir: string, config: BrowserLogConfig): Promise<void>;
|
|
export declare function receiveBrowserLogsWebpack(opts: {
|
|
entries: ServerLogEntry[];
|
|
router: 'app' | 'pages';
|
|
sourceType?: 'server' | 'edge-server';
|
|
clientStats: () => any;
|
|
serverStats: () => any;
|
|
edgeServerStats: () => any;
|
|
rootDirectory: string;
|
|
distDir: string;
|
|
config: BrowserLogConfig;
|
|
}): Promise<void>;
|
|
export declare function receiveBrowserLogsTurbopack(opts: {
|
|
entries: ServerLogEntry[];
|
|
router: 'app' | 'pages';
|
|
sourceType?: 'server' | 'edge-server';
|
|
project: Project;
|
|
projectPath: string;
|
|
distDir: string;
|
|
config: BrowserLogConfig;
|
|
}): Promise<void>;
|
|
export declare function handleClientFileLogs(logs: Array<{
|
|
timestamp: string;
|
|
level: string;
|
|
message: string;
|
|
}>): Promise<void>;
|
|
export {};
|