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>
26 lines
1.1 KiB
TypeScript
26 lines
1.1 KiB
TypeScript
import type { ReactNode } from 'react';
|
|
export type SegmentBoundaryType = 'not-found' | 'error' | 'loading' | 'global-error';
|
|
export declare const SEGMENT_EXPLORER_SIMULATED_ERROR_MESSAGE = "NEXT_DEVTOOLS_SIMULATED_ERROR";
|
|
export type SegmentNodeState = {
|
|
type: string;
|
|
pagePath: string;
|
|
boundaryType: string | null;
|
|
setBoundaryType: (type: SegmentBoundaryType | null) => void;
|
|
};
|
|
export declare function SegmentViewStateNode({ page }: {
|
|
page: string;
|
|
}): null;
|
|
export declare function SegmentBoundaryTriggerNode(): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
export declare function SegmentViewNode({ type, pagePath, children, }: {
|
|
type: string;
|
|
pagePath: string;
|
|
children?: ReactNode;
|
|
}): React.ReactNode;
|
|
export declare function SegmentStateProvider({ children }: {
|
|
children: ReactNode;
|
|
}): import("react/jsx-runtime").JSX.Element;
|
|
export declare function useSegmentState(): {
|
|
boundaryType: SegmentBoundaryType | null;
|
|
setBoundaryType: (type: SegmentBoundaryType | null) => void;
|
|
};
|