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>
25 lines
773 B
TypeScript
25 lines
773 B
TypeScript
import '../build/polyfills/polyfill-module';
|
|
import type Router from '../shared/lib/router/router';
|
|
import type { MittEmitter } from '../shared/lib/mitt';
|
|
import type { NEXT_DATA } from '../shared/lib/utils';
|
|
declare global {
|
|
interface Window {
|
|
__NEXT_HYDRATED?: boolean;
|
|
__NEXT_HYDRATED_AT?: number;
|
|
__NEXT_HYDRATED_CB?: () => void;
|
|
__NEXT_DATA__: NEXT_DATA;
|
|
__NEXT_P: any[];
|
|
}
|
|
}
|
|
export declare const version: string | undefined;
|
|
export declare let router: Router;
|
|
export declare const emitter: MittEmitter<string>;
|
|
export declare function initialize(opts?: {
|
|
devClient?: any;
|
|
}): Promise<{
|
|
assetPrefix: string;
|
|
}>;
|
|
export declare function hydrate(opts?: {
|
|
beforeRender?: () => Promise<void>;
|
|
}): Promise<void>;
|